Skip to content

Commit f3e20f1

Browse files
authored
Merge pull request #6151 from Cosifne/dev/shech/localization4
Localize command title
2 parents fb2e221 + c3f5904 commit f3e20f1

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
@@ -1837,135 +1837,135 @@
18371837
"commands": [
18381838
{
18391839
"command": "o.restart",
1840-
"title": "Restart OmniSharp",
1840+
"title": "%command.o.restart%",
18411841
"category": "OmniSharp",
18421842
"enablement": "config.dotnet.server.useOmnisharp"
18431843
},
18441844
{
18451845
"command": "o.pickProjectAndStart",
1846-
"title": "Select Project",
1846+
"title": "%command.o.pickProjectAndStart%",
18471847
"category": "OmniSharp",
18481848
"enablement": "config.dotnet.server.useOmnisharp"
18491849
},
18501850
{
18511851
"command": "dotnet.openSolution",
1852-
"title": "Open Solution",
1852+
"title": "%command.dotnet.openSolution%",
18531853
"category": ".NET",
18541854
"enablement": "!config.dotnet.server.useOmnisharp && dotnet.server.activatedStandalone"
18551855
},
18561856
{
18571857
"command": "o.fixAll.solution",
1858-
"title": "Fix all occurrences of a code issue within solution",
1858+
"title": "%command.o.fixAll.solution%",
18591859
"category": "OmniSharp",
18601860
"enablement": "config.dotnet.server.useOmnisharp"
18611861
},
18621862
{
18631863
"command": "o.fixAll.project",
1864-
"title": "Fix all occurrences of a code issue within project",
1864+
"title": "%command.o.fixAll.project%",
18651865
"category": "OmniSharp",
18661866
"enablement": "config.dotnet.server.useOmnisharp"
18671867
},
18681868
{
18691869
"command": "o.fixAll.document",
1870-
"title": "Fix all occurrences of a code issue within document",
1870+
"title": "%command.o.fixAll.document%",
18711871
"category": "OmniSharp",
18721872
"enablement": "config.dotnet.server.useOmnisharp"
18731873
},
18741874
{
18751875
"command": "o.reanalyze.allProjects",
1876-
"title": "Analyze all projects",
1876+
"title": "%command.o.reanalyze.allProjects%",
18771877
"category": "OmniSharp",
18781878
"enablement": "config.dotnet.server.useOmnisharp"
18791879
},
18801880
{
18811881
"command": "o.reanalyze.currentProject",
1882-
"title": "Analyze current project",
1882+
"title": "%command.o.reanalyze.currentProject%",
18831883
"category": "OmniSharp",
18841884
"enablement": "config.dotnet.server.useOmnisharp"
18851885
},
18861886
{
18871887
"command": "dotnet.generateAssets",
1888-
"title": "Generate Assets for Build and Debug",
1888+
"title": "%command.dotnet.generateAssets.currentProject%",
18891889
"category": ".NET"
18901890
},
18911891
{
18921892
"command": "dotnet.restore.project",
1893-
"title": "Restore Project",
1893+
"title": "%command.dotnet.restore.project%",
18941894
"category": ".NET",
18951895
"enablement": "config.dotnet.server.useOmnisharp"
18961896
},
18971897
{
18981898
"command": "dotnet.restore.all",
1899-
"title": "Restore All Projects",
1899+
"title": "%command.dotnet.restore.all%",
19001900
"category": ".NET",
19011901
"enablement": "config.dotnet.server.useOmnisharp"
19021902
},
19031903
{
19041904
"command": "csharp.downloadDebugger",
1905-
"title": "Download .NET Core Debugger",
1905+
"title": "%command.csharp.downloadDebugger%",
19061906
"category": "Debug"
19071907
},
19081908
{
19091909
"command": "csharp.listProcess",
1910-
"title": "List process for attach",
1910+
"title": "%command.csharp.listProcess%",
19111911
"category": "CSharp"
19121912
},
19131913
{
19141914
"command": "csharp.listRemoteProcess",
1915-
"title": "List processes on remote connection for attach",
1915+
"title": "%command.csharp.listRemoteProcess%",
19161916
"category": "CSharp"
19171917
},
19181918
{
19191919
"command": "csharp.listRemoteDockerProcess",
1920-
"title": "List processes on Docker connection",
1920+
"title": "%command.csharp.listRemoteDockerProcess%",
19211921
"category": "CSharp"
19221922
},
19231923
{
19241924
"command": "csharp.attachToProcess",
1925-
"title": "Attach to a .NET 5+ or .NET Core process",
1925+
"title": "%command.csharp.attachToProcess%",
19261926
"category": "Debug"
19271927
},
19281928
{
19291929
"command": "csharp.reportIssue",
1930-
"title": "Report an issue",
1930+
"title": "%command.csharp.reportIssue%",
19311931
"category": "CSharp"
19321932
},
19331933
{
19341934
"command": "csharp.showDecompilationTerms",
1935-
"title": "Show the decompiler terms agreement",
1935+
"title": "%command.csharp.showDecompilationTerms%",
19361936
"category": "CSharp",
19371937
"enablement": "config.dotnet.server.useOmnisharp"
19381938
},
19391939
{
19401940
"command": "extension.showRazorCSharpWindow",
1941-
"title": "Show Razor CSharp",
1941+
"title": "%command.extension.showRazorCSharpWindow%",
19421942
"category": "Razor"
19431943
},
19441944
{
19451945
"command": "extension.showRazorHtmlWindow",
1946-
"title": "Show Razor Html",
1946+
"title": "%command.extension.showRazorHtmlWindow%",
19471947
"category": "Razor"
19481948
},
19491949
{
19501950
"command": "razor.reportIssue",
1951-
"title": "Report a Razor issue",
1951+
"title": "%command.razor.reportIssue%",
19521952
"category": "Razor"
19531953
},
19541954
{
19551955
"command": "dotnet.test.runTestsInContext",
1956-
"title": "Run Tests in Context",
1956+
"title": "%command.dotnet.test.runTestsInContext%",
19571957
"category": ".NET",
19581958
"enablement": "dotnet.server.activatedStandalone"
19591959
},
19601960
{
19611961
"command": "dotnet.test.debugTestsInContext",
1962-
"title": "Debug Tests in Context",
1962+
"title": "%command.dotnet.test.debugTestsInContext%",
19631963
"category": ".NET",
19641964
"enablement": "dotnet.server.activatedStandalone"
19651965
},
19661966
{
19671967
"command": "dotnet.restartServer",
1968-
"title": "Restart Language Server",
1968+
"title": "%command.dotnet.restartServer%",
19691969
"category": ".NET",
19701970
"enablement": "!config.dotnet.server.useOmnisharp"
19711971
}
@@ -5305,4 +5305,4 @@
53055305
}
53065306
]
53075307
}
5308-
}
5308+
}

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. (Previously `omnisharp.defaultLaunchSolution`)",
327
"configuration.dotnet.dotnetPath": "Specifies the path to a dotnet installation directory 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. (Previously `omnisharp.path`)",
@@ -347,4 +371,4 @@
347371
"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."
348372
]
349373
}
350-
}
374+
}

0 commit comments

Comments
 (0)