Skip to content

Commit b811724

Browse files
authored
Fix more Setting editor links in localized text (microsoft#158217)
1 parent 01797ab commit b811724

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/vs/editor/common/config/editorConfigurationSchema.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ const editorConfiguration: IConfigurationNode = {
2424
type: 'number',
2525
default: EDITOR_MODEL_DEFAULTS.tabSize,
2626
minimum: 1,
27-
markdownDescription: nls.localize('tabSize', "The number of spaces a tab is equal to. This setting is overridden based on the file contents when `#editor.detectIndentation#` is on.")
27+
markdownDescription: nls.localize('tabSize', "The number of spaces a tab is equal to. This setting is overridden based on the file contents when {0} is on.", '`#editor.detectIndentation#`')
2828
},
2929
// 'editor.indentSize': {
3030
// 'anyOf': [
@@ -43,12 +43,12 @@ const editorConfiguration: IConfigurationNode = {
4343
'editor.insertSpaces': {
4444
type: 'boolean',
4545
default: EDITOR_MODEL_DEFAULTS.insertSpaces,
46-
markdownDescription: nls.localize('insertSpaces', "Insert spaces when pressing `Tab`. This setting is overridden based on the file contents when `#editor.detectIndentation#` is on.")
46+
markdownDescription: nls.localize('insertSpaces', "Insert spaces when pressing `Tab`. This setting is overridden based on the file contents when {0} is on.", '`#editor.detectIndentation#`')
4747
},
4848
'editor.detectIndentation': {
4949
type: 'boolean',
5050
default: EDITOR_MODEL_DEFAULTS.detectIndentation,
51-
markdownDescription: nls.localize('detectIndentation', "Controls whether `#editor.tabSize#` and `#editor.insertSpaces#` will be automatically detected when a file is opened based on the file contents.")
51+
markdownDescription: nls.localize('detectIndentation', "Controls whether {0} and {1} will be automatically detected when a file is opened based on the file contents.", '`#editor.tabSize#`', '`#editor.insertSpaces#`')
5252
},
5353
'editor.trimAutoWhitespace': {
5454
type: 'boolean',
@@ -173,7 +173,7 @@ const editorConfiguration: IConfigurationNode = {
173173
markdownEnumDescriptions: [
174174
nls.localize('wordWrap.off', "Lines will never wrap."),
175175
nls.localize('wordWrap.on', "Lines will wrap at the viewport width."),
176-
nls.localize('wordWrap.inherit', "Lines will wrap according to the `#editor.wordWrap#` setting."),
176+
nls.localize('wordWrap.inherit', "Lines will wrap according to the {0} setting.", '`#editor.wordWrap#`'),
177177
]
178178
},
179179
'diffEditor.diffAlgorithm': {

0 commit comments

Comments
 (0)