mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2026-03-11 08:54:48 +00:00
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.
This commit is contained in:
parent
36a26308d0
commit
5f7233c402
2 changed files with 8 additions and 5 deletions
|
|
@ -118,11 +118,14 @@ QList<QPair<QString, QString>> 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()));
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -285,8 +285,8 @@ static const QString aboutContributors = R"(
|
|||
<h3>Translations:</h3>
|
||||
<ul>
|
||||
<li><strong>Arabic:</strong> kmutahar</li>
|
||||
<li><strong>Chinese (China):</strong> Biggulu, Brandon_c, hoilc, ligyxy, Small_Ku, umi_neko, vc5</li>
|
||||
<li><strong>Chinese (Taiwan):</strong> BestSteve, flachesis, MiauLightouch, Small_Ku, yan12125, ymhuang0808</li>
|
||||
<li><strong>Simplified Chinese:</strong> Biggulu, Brandon_c, hoilc, ligyxy, Small_Ku, umi_neko, vc5</li>
|
||||
<li><strong>Traditional Chinese:</strong> BestSteve, flachesis, MiauLightouch, Small_Ku, yan12125, ymhuang0808</li>
|
||||
<li><strong>Czech:</strong> DanielMilde, pavelb, tpavelek</li>
|
||||
<li><strong>English (United Kingdom):</strong> YCMHARHZ</li>
|
||||
<li><strong>English (United States):</strong> alexandercrice, DarkHolme, nguyenlekhtn</li>
|
||||
|
|
|
|||
Loading…
Reference in a new issue