Renamed the zh_rCN locale to zh_CN

This commit is contained in:
Leon Styhre 2024-07-12 21:25:43 +02:00
parent bb9b09ef89
commit 59507ecc0c
3 changed files with 7 additions and 4 deletions

View file

@ -27,8 +27,11 @@ namespace Utils
{ {
namespace Localization namespace Localization
{ {
const std::vector<std::pair<std::string, std::string>> sSupportedLocales { // clang-format off
{{"en"}, {"US"}}, {{"sv"}, {"SE"}}, {{"zh"}, {"rCN"}}}; const std::vector<std::pair<std::string, std::string>> sSupportedLocales {{{"en"}, {"US"}},
{{"sv"}, {"SE"}},
{{"zh"}, {"CN"}}};
// clang-format on
float sMenuTitleScaleFactor {1.0f}; float sMenuTitleScaleFactor {1.0f};
std::pair<std::string, std::string> getLocale() std::pair<std::string, std::string> getLocale()

View file

@ -1,3 +1,3 @@
en_US en_US
sv_SE sv_SE
zh_rCN zh_CN

View file

@ -11,7 +11,7 @@ msgstr ""
"PO-Revision-Date: 2024-07-04 17:14+0200\n" "PO-Revision-Date: 2024-07-04 17:14+0200\n"
"Last-Translator: Northwestern Software <info@es-de.org>\n" "Last-Translator: Northwestern Software <info@es-de.org>\n"
"Language-Team: 简体中文 <info@es-de.org>\n" "Language-Team: 简体中文 <info@es-de.org>\n"
"Language: zh_rCN\n" "Language: zh_CN\n"
"MIME-Version: 1.0\n" "MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n" "Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n" "Content-Transfer-Encoding: 8bit\n"