Add localizable strings for --check headless validation#14578
Open
kuchungmsft wants to merge 1 commit into
Open
Add localizable strings for --check headless validation#14578kuchungmsft wants to merge 1 commit into
kuchungmsft wants to merge 1 commit into
Conversation
Adds 13 native strings backing the mscppls --check mode (the clangd-style headless validation of a compile_commands.json file): the two --help entries and the setup/usage error messages.
Contributor
There was a problem hiding this comment.
Pull request overview
This PR adds new localizable strings in nativeStrings.json to support headless --check validation messaging and help text for related CLI options.
Changes:
- Adds localized help text for
--checkand--check-compile-commandsusage. - Adds localized error/status strings for common
--checkvalidation failure cases (missing source, missing/discovery failures forcompile_commands.json, read/open/timeouts, etc.).
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
sean-mcmanus
requested changes
Jul 11, 2026
| }, | ||
| "check_requires_source": { | ||
| "text": "--check requires a source file: --check=<file>", | ||
| "hint": "{Locked=\"--check\"} {Locked=\"--check=<file>\"}" |
Contributor
There was a problem hiding this comment.
@kuchungmsft File should not be locked. It is a placeholder and not a literal, so it should be translated.
| }, | ||
| "check_compile_commands_not_discovered": { | ||
| "text": "could not find compile_commands.json in any parent directory of {0}; pass --check-compile-commands=<path> to specify it explicitly", | ||
| "hint": "{0} is the starting directory path. {Locked=\"compile_commands.json\"} {Locked=\"{0}\"} {Locked=\"--check-compile-commands=<path>\"}" |
Contributor
There was a problem hiding this comment.
Feel free to use Copilot to check for any other cases were we might be incorrectly locking a placeholder string which should be translated.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add localizable strings for --check headless validation