Skip to content

Commit 33ba55d

Browse files
authored
Merge pull request #6144 from Cosifne/dev/shech/localization2
Localize razor configurations
2 parents 70908b4 + ef28341 commit 33ba55d

File tree

2 files changed

+14
-8
lines changed

2 files changed

+14
-8
lines changed

package.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1558,14 +1558,14 @@
15581558
"razor.languageServer.directory": {
15591559
"type": "string",
15601560
"scope": "machine-overridable",
1561-
"description": "Overrides the path to the Razor Language Server directory.",
1561+
"description": "%configuration.razor.languageServer.directory%",
15621562
"order": 90
15631563
},
15641564
"razor.languageServer.debug": {
15651565
"type": "boolean",
15661566
"scope": "machine-overridable",
15671567
"default": false,
1568-
"description": "Specifies whether to wait for debug attach when launching the language server.",
1568+
"description": "%configuration.razor.languageServer.debug%",
15691569
"order": 90
15701570
},
15711571
"razor.trace": {
@@ -1577,11 +1577,11 @@
15771577
"Verbose"
15781578
],
15791579
"enumDescriptions": [
1580-
"Does not log messages from the Razor extension",
1581-
"Logs only some messages from the Razor extension",
1582-
"Logs all messages from the Razor extension"
1580+
"%configuration.razor.trace.off%",
1581+
"%configuration.razor.trace.messages%",
1582+
"%configuration.razor.trace.verbose%"
15831583
],
1584-
"description": "Specifies whether to output all messages [Verbose], some messages [Messages] or not at all [Off].",
1584+
"description": "%configuration.razor.trace%",
15851585
"order": 90
15861586
},
15871587
"csharp.debug.stopAtEntry": {
@@ -4989,4 +4989,4 @@
49894989
}
49904990
]
49914991
}
4992-
}
4992+
}

package.nls.json

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,12 @@
4242
"configuration.dotnet.quickInfo.showRemarksInQuickInfo": "Show remarks information when display symbol.",
4343
"configuration.dotnet.symbolSearch.searchReferenceAssemblies": "Search symbols in reference assemblies. It affects features requires symbol searching, such as add imports.",
4444
"configuration.dotnet.unitTestDebuggingOptions": "Options to use with the debugger when launching for unit test debugging.",
45+
"configuration.razor.languageServer.directory": "Overrides the path to the Razor Language Server directory.",
46+
"configuration.razor.languageServer.debug": "Specifies whether to wait for debug attach when launching the language server.",
47+
"configuration.razor.trace": "Specifies whether to output all messages [Verbose], some messages [Messages] or not at all [Off].",
48+
"configuration.razor.trace.off": "Does not log messages from the Razor extension",
49+
"configuration.razor.trace.messages": "Logs only some messages from the Razor extension",
50+
"configuration.razor.trace.verbose": "Logs all messages from the Razor extension",
4551
"debuggers.dotnet.launch.projectPath.description": "Path to the .csproj file.",
4652
"debuggers.dotnet.launch.launchConfigurationId.description": "The launch configuration id to use. Empty string will use the current active configuration.",
4753
"viewsWelcome.debug.contents": {
@@ -296,4 +302,4 @@
296302
"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."
297303
]
298304
}
299-
}
305+
}

0 commit comments

Comments
 (0)