Skip to content

Commit 04da37c

Browse files
committed
Localize command title
1 parent 66e6014 commit 04da37c

File tree

2 files changed

+50
-26
lines changed

2 files changed

+50
-26
lines changed

package.json

Lines changed: 25 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1765,135 +1765,135 @@
17651765
"commands": [
17661766
{
17671767
"command": "o.restart",
1768-
"title": "Restart OmniSharp",
1768+
"title": "%command.o.restart%",
17691769
"category": "OmniSharp",
17701770
"enablement": "config.dotnet.server.useOmnisharp"
17711771
},
17721772
{
17731773
"command": "o.pickProjectAndStart",
1774-
"title": "Select Project",
1774+
"title": "%command.o.pickProjectAndStart%",
17751775
"category": "OmniSharp",
17761776
"enablement": "config.dotnet.server.useOmnisharp"
17771777
},
17781778
{
17791779
"command": "dotnet.openSolution",
1780-
"title": "Open Solution",
1780+
"title": "%command.dotnet.openSolution%",
17811781
"category": ".NET",
17821782
"enablement": "!config.dotnet.server.useOmnisharp && dotnet.server.activatedStandalone"
17831783
},
17841784
{
17851785
"command": "o.fixAll.solution",
1786-
"title": "Fix all occurrences of a code issue within solution",
1786+
"title": "%command.o.fixAll.solution%",
17871787
"category": "OmniSharp",
17881788
"enablement": "config.dotnet.server.useOmnisharp"
17891789
},
17901790
{
17911791
"command": "o.fixAll.project",
1792-
"title": "Fix all occurrences of a code issue within project",
1792+
"title": "%command.o.fixAll.project%",
17931793
"category": "OmniSharp",
17941794
"enablement": "config.dotnet.server.useOmnisharp"
17951795
},
17961796
{
17971797
"command": "o.fixAll.document",
1798-
"title": "Fix all occurrences of a code issue within document",
1798+
"title": "%command.o.fixAll.document%",
17991799
"category": "OmniSharp",
18001800
"enablement": "config.dotnet.server.useOmnisharp"
18011801
},
18021802
{
18031803
"command": "o.reanalyze.allProjects",
1804-
"title": "Analyze all projects",
1804+
"title": "%command.o.reanalyze.allProjects%",
18051805
"category": "OmniSharp",
18061806
"enablement": "config.dotnet.server.useOmnisharp"
18071807
},
18081808
{
18091809
"command": "o.reanalyze.currentProject",
1810-
"title": "Analyze current project",
1810+
"title": "%command.o.reanalyze.currentProject%",
18111811
"category": "OmniSharp",
18121812
"enablement": "config.dotnet.server.useOmnisharp"
18131813
},
18141814
{
18151815
"command": "dotnet.generateAssets",
1816-
"title": "Generate Assets for Build and Debug",
1816+
"title": "%command.dotnet.generateAssets.currentProject%",
18171817
"category": ".NET"
18181818
},
18191819
{
18201820
"command": "dotnet.restore.project",
1821-
"title": "Restore Project",
1821+
"title": "%command.dotnet.restore.project%",
18221822
"category": ".NET",
18231823
"enablement": "config.dotnet.server.useOmnisharp"
18241824
},
18251825
{
18261826
"command": "dotnet.restore.all",
1827-
"title": "Restore All Projects",
1827+
"title": "%command.dotnet.restore.all%",
18281828
"category": ".NET",
18291829
"enablement": "config.dotnet.server.useOmnisharp"
18301830
},
18311831
{
18321832
"command": "csharp.downloadDebugger",
1833-
"title": "Download .NET Core Debugger",
1833+
"title": "%command.csharp.downloadDebugger%",
18341834
"category": "Debug"
18351835
},
18361836
{
18371837
"command": "csharp.listProcess",
1838-
"title": "List process for attach",
1838+
"title": "%command.csharp.listProcess%",
18391839
"category": "CSharp"
18401840
},
18411841
{
18421842
"command": "csharp.listRemoteProcess",
1843-
"title": "List processes on remote connection for attach",
1843+
"title": "%command.csharp.listRemoteProcess%",
18441844
"category": "CSharp"
18451845
},
18461846
{
18471847
"command": "csharp.listRemoteDockerProcess",
1848-
"title": "List processes on Docker connection",
1848+
"title": "%command.csharp.listRemoteDockerProcess%",
18491849
"category": "CSharp"
18501850
},
18511851
{
18521852
"command": "csharp.attachToProcess",
1853-
"title": "Attach to a .NET 5+ or .NET Core process",
1853+
"title": "%command.csharp.attachToProcess%",
18541854
"category": "Debug"
18551855
},
18561856
{
18571857
"command": "csharp.reportIssue",
1858-
"title": "Report an issue",
1858+
"title": "%command.csharp.reportIssue%",
18591859
"category": "CSharp"
18601860
},
18611861
{
18621862
"command": "csharp.showDecompilationTerms",
1863-
"title": "Show the decompiler terms agreement",
1863+
"title": "%command.csharp.showDecompilationTerms%",
18641864
"category": "CSharp",
18651865
"enablement": "config.dotnet.server.useOmnisharp"
18661866
},
18671867
{
18681868
"command": "extension.showRazorCSharpWindow",
1869-
"title": "Show Razor CSharp",
1869+
"title": "%command.extension.showRazorCSharpWindow%",
18701870
"category": "Razor"
18711871
},
18721872
{
18731873
"command": "extension.showRazorHtmlWindow",
1874-
"title": "Show Razor Html",
1874+
"title": "%command.extension.showRazorHtmlWindow%",
18751875
"category": "Razor"
18761876
},
18771877
{
18781878
"command": "razor.reportIssue",
1879-
"title": "Report a Razor issue",
1879+
"title": "%command.razor.reportIssue%",
18801880
"category": "Razor"
18811881
},
18821882
{
18831883
"command": "dotnet.test.runTestsInContext",
1884-
"title": "Run Tests in Context",
1884+
"title": "%command.dotnet.test.runTestsInContext%",
18851885
"category": ".NET",
18861886
"enablement": "dotnet.server.activatedStandalone"
18871887
},
18881888
{
18891889
"command": "dotnet.test.debugTestsInContext",
1890-
"title": "Debug Tests in Context",
1890+
"title": "%command.dotnet.test.debugTestsInContext%",
18911891
"category": ".NET",
18921892
"enablement": "dotnet.server.activatedStandalone"
18931893
},
18941894
{
18951895
"command": "dotnet.restartServer",
1896-
"title": "Restart Language Server",
1896+
"title": "%command.dotnet.restartServer%",
18971897
"category": ".NET",
18981898
"enablement": "!config.dotnet.server.useOmnisharp"
18991899
}
@@ -4989,4 +4989,4 @@
49894989
}
49904990
]
49914991
}
4992-
}
4992+
}

package.nls.json

Lines changed: 25 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,28 @@
11
{
2+
"command.o.restart": "Restart OmniSharp",
3+
"command.o.pickProjectAndStart": "Select Project",
4+
"command.dotnet.openSolution": "Open Solution",
5+
"command.o.fixAll.solution": "Fix all occurrences of a code issue within solution",
6+
"command.o.fixAll.project": "Fix all occurrences of a code issue within project",
7+
"command.o.fixAll.document": "Fix all occurrences of a code issue within document",
8+
"command.o.reanalyze.allProjects": "Analyze all projects",
9+
"command.o.reanalyze.currentProject": "Analyze current project",
10+
"command.dotnet.generateAssets.currentProject": "Generate Assets for Build and Debug",
11+
"command.dotnet.restore.project": "Restore Project",
12+
"command.dotnet.restore.all": "Restore All Projects",
13+
"command.csharp.downloadDebugger": "Download .NET Core Debugger",
14+
"command.csharp.listProcess": "List process for attach",
15+
"command.csharp.listRemoteProcess": "List processes on remote connection for attach",
16+
"command.csharp.listRemoteDockerProcess": "List processes on Docker connection",
17+
"command.csharp.attachToProcess": "Attach to a .NET 5+ or .NET Core process",
18+
"command.csharp.reportIssue": "Report an issue",
19+
"command.csharp.showDecompilationTerms": "Show the decompiler terms agreement",
20+
"command.extension.showRazorCSharpWindow": "Show Razor CSharp",
21+
"command.extension.showRazorHtmlWindow": "Show Razor Html",
22+
"command.razor.reportIssue": "Report a Razor issue",
23+
"command.dotnet.test.runTestsInContext": "Run Tests in Context",
24+
"command.dotnet.test.debugTestsInContext": "Debug Tests in Context",
25+
"command.dotnet.restartServer": "Restart Language Server",
226
"configuration.dotnet.defaultSolution.description": "The path of the default solution to be opened in the workspace, or set to 'disable' to skip it.",
327
"configuration.dotnet.dotnetPath": "Specified the path to a dotnet installation to use instead of the default system one. This only influences the dotnet installation to use for hosting the language server itself. Example: \"/home/username/mycustomdotnetdirectory\".",
428
"configuration.dotnet.server.path": "Specifies the absolute path to the server (LSP or O#) executable. When left empty the version pinned to the C# Extension is used.",
@@ -296,4 +320,4 @@
296320
"Markdown text between `` should not be translated or localized (they represent literal text) and the capitalization, spacing, and punctuation (including the ``) should not be altered."
297321
]
298322
}
299-
}
323+
}

0 commit comments

Comments
 (0)