Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Localization] Corvus #711

Merged
merged 7 commits into from
Oct 6, 2022
Merged

Conversation

JavierMatosD
Copy link
Contributor

Localizes messages in the following files:

  • xmlserializer.cpp
  • unicode.cpp
  • strings.cpp

@JavierMatosD JavierMatosD marked this pull request as ready for review September 26, 2022 17:15
JavierMatosD and others added 3 commits September 26, 2022 11:03
# Conflicts:
#	include/vcpkg/base/messages.h
#	locales/messages.en.json
#	locales/messages.json
#	src/vcpkg/base/messages.cpp
#	src/vcpkg/base/unicode.cpp
Copy link
Member

@BillyONeal BillyONeal left a comment

Choose a reason for hiding this comment

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

LGTM once these couple of nitpicks are fixed.

src/vcpkg/base/unicode.cpp Show resolved Hide resolved
case utf8_errc::UnexpectedContinue: return msg::format(msgContinueCodeUnitInStart).extract_data();
case utf8_errc::UnexpectedStart: return msg::format(msgStartCodeUnitInContinue).extract_data();
case utf8_errc::UnexpectedEof: return msg::format(msgEndOfStringInCodeUnit).extract_data();
default: return msg::format(msgErrorCodeOutOfRange).extract_data();
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
default: return msg::format(msgErrorCodeOutOfRange).extract_data();
default: Checks::unreachable(VCPKG_LINE_INFO);

and delete ErrorCodeOutOfRange

@JavierMatosD JavierMatosD merged commit 5edfc06 into microsoft:main Oct 6, 2022
@JavierMatosD JavierMatosD deleted the Localization_Corvus branch April 20, 2023 19:38
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