mirror of
https://github.com/PabloMK7/citra.git
synced 2024-11-23 05:59:52 +00:00
Small improvements to Citra translations (#7379)
* dist: Remove duplicated Finnish translation For some reason, we had Finnish listed twice on Transifex, causing it be shown twice in Citra. It has already been deleted again from Transifex, now we only need to remove it from the repo as well. * citra_qt/configure_ui: Show country of language in the combobox This prevents an issue where we had seperate versions of the same language for different regions and they were not distinguishable (e.g. "Chinese (China)" and "Chinese (Taiwan)").
This commit is contained in:
parent
bea863efff
commit
1744537d85
6235
dist/languages/fi_FI.ts
vendored
6235
dist/languages/fi_FI.ts
vendored
File diff suppressed because it is too large
Load Diff
@ -31,7 +31,8 @@ void ConfigureUi::InitializeLanguageComboBox() {
|
||||
locale.truncate(locale.lastIndexOf(QLatin1Char{'.'}));
|
||||
locale.remove(0, locale.lastIndexOf(QLatin1Char{'/'}) + 1);
|
||||
const QString lang = QLocale::languageToString(QLocale(locale).language());
|
||||
ui->language_combobox->addItem(lang, locale);
|
||||
const QString country = QLocale::territoryToString(QLocale(locale).territory());
|
||||
ui->language_combobox->addItem(QStringLiteral("%1 (%2)").arg(lang, country), locale);
|
||||
}
|
||||
|
||||
// Unlike other configuration changes, interface language changes need to be reflected on the
|
||||
|
Loading…
Reference in New Issue
Block a user