Skip to content

Commit 2b1c562

Browse files
authored
Add localizable help for workspace config arguments (#14812)
Add localizable mscppls help strings for the workspace-neutral configuration option and its deprecated LSP-named aliases.
1 parent 5fcf277 commit 2b1c562

1 file changed

Lines changed: 20 additions & 0 deletions

File tree

‎Extension/src/nativeStrings.json‎

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -797,5 +797,25 @@
797797
"quick_info_alignment": {
798798
"text": "**Alignment:** %s B",
799799
"hint": "Alignment of a C or C++ type in bytes. %s is the numeric alignment. Translate B to a count-invariant byte unit symbol or abbreviation. {Locked=\"**\"} {Locked=\"%s\"}"
800+
},
801+
"help_allow_missing_workspace_config": {
802+
"text": "Allow the server to start even when the specified workspace config file does not exist.",
803+
"hint": "Describes the --allow-missing-workspace-config command-line option."
804+
},
805+
"help_deprecated_lsp_config": {
806+
"text": "Deprecated alias for --workspace-config.",
807+
"hint": "{Locked=\"--workspace-config\"}"
808+
},
809+
"help_deprecated_allow_missing_lsp_config": {
810+
"text": "Deprecated alias for --allow-missing-workspace-config.",
811+
"hint": "{Locked=\"--allow-missing-workspace-config\"}"
812+
},
813+
"error_conflicting_config_args": {
814+
"text": "--workspace-config cannot be combined with --lsp-config.",
815+
"hint": "Error shown when both configuration arguments are supplied. {Locked=\"--workspace-config\"} {Locked=\"--lsp-config\"}"
816+
},
817+
"error_config_arg_requires_path": {
818+
"text": "{0} requires a path.",
819+
"hint": "Error shown when a configuration argument is not followed by a path. {0} is the command-line option name. {Locked=\"{0}\"}"
800820
}
801821
}

0 commit comments

Comments
 (0)