Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
53 changes: 51 additions & 2 deletions Extension/src/nativeStrings.json
Original file line number Diff line number Diff line change
Expand Up @@ -698,5 +698,54 @@
"status_indexing_files_with_text": "Indexing files {0}",
"help_allow_missing_lsp_config": "Allow the server to start even if the specified --lsp-config file does not exist.",
"initialize_failed_during_engine_setup": "Initialization failed during engine setup.",
"important_label": "Important:"
}
"important_label": "Important:",
"help_check": {
"text": "Validate a source file against compile_commands.json by fully parsing and analyzing it, reporting any diagnostics. Exits non-zero if errors are found.",
"hint": "{Locked=\"compile_commands.json\"}"
},
"help_check_compile_commands": {
"text": "Path to a specific compile_commands.json (or its directory) to use with --check. Defaults to auto-discovery.",
"hint": "{Locked=\"compile_commands.json\"} {Locked=\"--check\"}"
},
"check_not_authorized": {
"text": "not authorized; sign in is required to run --check",
"hint": "{Locked=\"--check\"}"
},
"check_requires_source": {
"text": "--check requires a source file: --check=<file>",
"hint": "{Locked=\"--check\"} {Locked=\"--check=<file>\"}"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@kuchungmsft File should not be locked. It is a placeholder and not a literal, so it should be translated.

},
"check_source_not_found": {
"text": "source file not found: {0}",
"hint": "{0} is the source file path. {Locked=\"{0}\"}"
},
"check_compile_commands_not_found": {
"text": "compile_commands.json not found: {0}",
"hint": "{0} is the file path. {Locked=\"compile_commands.json\"} {Locked=\"{0}\"}"
},
"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>\"}"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same here

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Feel free to use Copilot to check for any other cases were we might be incorrectly locking a placeholder string which should be translated.

},
"check_engine_init_failed": "failed to initialize the language engine",
"check_no_workspace_folder": {
"text": "no workspace folder resolved for {0}",
"hint": "{0} is the source file path. {Locked=\"{0}\"}"
},
"check_not_in_compile_commands": {
"text": "{0} is not present in {1}",
"hint": "{0} is the source file path. {1} is the compile_commands.json path. {Locked=\"{0}\"} {Locked=\"{1}\"}"
},
"check_read_failed": {
"text": "failed to read {0}",
"hint": "{0} is the file path. {Locked=\"{0}\"}"
},
"check_open_failed": {
"text": "failed to open {0} for analysis",
"hint": "{0} is the source file path. {Locked=\"{0}\"}"
},
"check_timed_out": {
"text": "timed out waiting for analysis of {0} to finish",
"hint": "{0} is the source file path. {Locked=\"{0}\"}"
}
}
Loading