From 5f7233c402f8b67dff79ba60cc13ef20d593b28e Mon Sep 17 00:00:00 2001 From: yjdyamv Date: Tue, 10 Mar 2026 20:46:13 +0800 Subject: [PATCH] Rename Chinese language items to "Simplified/Traditional Chinese" The previous labels "Chinese (China)" and "Chinese (Taiwan)" could be misinterpreted as political divisions, while the actual difference is the writing script. Changing to "Simplified Chinese" and "Traditional Chinese" is more accurate and inclusive. --- src/core/Translator.cpp | 9 ++++++--- src/gui/AboutDialog.cpp | 4 ++-- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/src/core/Translator.cpp b/src/core/Translator.cpp index 2101e8dc1..8e0d9ed9a 100644 --- a/src/core/Translator.cpp +++ b/src/core/Translator.cpp @@ -118,11 +118,14 @@ QList> Translator::availableLanguages() QLocale locale(langcode); QString languageStr = QLocale::languageToString(locale.language()); - if (langcode == "la") { + if (langcode == "zh_CN") { + languageStr = "Simplified Chinese"; + } else if (langcode == "zh_TW") { + languageStr = "Traditional Chinese"; + } else if (langcode == "la") { // langcode "la" (Latin) is translated into "C" by QLocale::languageToString() languageStr = "Latin"; - } - if (langcode.contains("_")) { + } else if (langcode.contains("_")) { languageStr += QString(" (%1)").arg(QLocale::countryToString(locale.country())); } diff --git a/src/gui/AboutDialog.cpp b/src/gui/AboutDialog.cpp index 1fa50043d..73149ed7d 100644 --- a/src/gui/AboutDialog.cpp +++ b/src/gui/AboutDialog.cpp @@ -285,8 +285,8 @@ static const QString aboutContributors = R"(

Translations: