Skip to content

Localize example messages.#925

Merged
BillyONeal merged 7 commits intomicrosoft:mainfrom
BillyONeal:localize-examples
Feb 27, 2023
Merged

Localize example messages.#925
BillyONeal merged 7 commits intomicrosoft:mainfrom
BillyONeal:localize-examples

Conversation

@BillyONeal
Copy link
Copy Markdown
Member

No description provided.

DECLARE_MESSAGE(SearchHelp,
(),
"",
"The argument should be a substring to search for, or no argument to display all libraries.");
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.

Suggested change
"The argument should be a substring to search for, or no argument to display all libraries.");
"The argument should be a substring to search for or no argument to display all libraries.");

DECLARE_MESSAGE(AddVersionOldShaIs, (msg::commit_sha), "", "old SHA: {commit_sha}");
DECLARE_MESSAGE(AddVersionOverwriteOptionSuggestion,
(msg::option),
"The -- before {option} must be preserved as they're part of the help message for the user.",
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.

Suggested change
"The -- before {option} must be preserved as they're part of the help message for the user.",
"The -- before {option} must be preserved as their part of the help message for the user.",

I know it's not your edit, but I think this should be a possessive pronoun instead. Please ignore if I am wrong :)

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

The contraction form is intended here. The --s don't own the help message, they are a part of the help message. I'll add the missing 'a'

@@ -1295,6 +1304,7 @@ namespace vcpkg
"while fetching baseline `\"{value}\"` from repo {package_name}:");
DECLARE_MESSAGE(ErrorWhileParsing, (msg::path), "", "Errors occurred while parsing {path}.");
DECLARE_MESSAGE(ErrorWhileWriting, (msg::path), "", "Error occured while writing {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.

Suggested change
DECLARE_MESSAGE(ErrorWhileWriting, (msg::path), "", "Error occured while writing {path}");
DECLARE_MESSAGE(ErrorWhileWriting, (msg::path), "", "Error occurred while writing {path}");

@BillyONeal BillyONeal merged commit 29d554e into microsoft:main Feb 27, 2023
@BillyONeal BillyONeal deleted the localize-examples branch February 27, 2023 19:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants