Add locale rename for the "C" locale

This commit is contained in:
Aaron Franke 2021-09-29 12:02:20 -05:00
parent 69b2f1dcc6
commit c1734dacf6
No known key found for this signature in database
GPG key ID: 40A1750B977E56BF

View file

@ -805,9 +805,12 @@ static const char *locale_names[] = {
// - https://msdn.microsoft.com/en-us/library/windows/desktop/ms693062(v=vs.85).aspx
static const char *locale_renames[][2] = {
{ "in", "id" }, // Indonesian
{ "iw", "he" }, // Hebrew
{ "no", "nb" }, // Norwegian Bokmål
{ "in", "id" }, // Indonesian
{ "iw", "he" }, // Hebrew
{ "no", "nb" }, // Norwegian Bokmål
{ "C", "en" }, // "C" is the simple/default/untranslated Computer locale.
// ASCII-only, English, no currency symbols. Godot treats this as "en".
// See https://unix.stackexchange.com/a/87763/164141 "The C locale is"...
{ nullptr, nullptr }
};