mirror of https://github.com/mgba-emu/mgba.git
Fix "English" language name (#2342)
This commit is contained in:
parent
a997e2b6dc
commit
59cb5c189a
|
@ -337,7 +337,8 @@ SettingsView::SettingsView(ConfigController* controller, InputController* inputC
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
m_ui.languages->setItemData(0, QLocale("en"));
|
QLocale englishLocale("en");
|
||||||
|
m_ui.languages->addItem(englishLocale.nativeLanguageName(), englishLocale);
|
||||||
QDir ts(":/translations/");
|
QDir ts(":/translations/");
|
||||||
for (auto name : ts.entryList()) {
|
for (auto name : ts.entryList()) {
|
||||||
if (!name.endsWith(".qm") || !name.startsWith(binaryName)) {
|
if (!name.endsWith(".qm") || !name.startsWith(binaryName)) {
|
||||||
|
|
|
@ -523,13 +523,7 @@
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item row="0" column="1">
|
<item row="0" column="1">
|
||||||
<widget class="QComboBox" name="languages">
|
<widget class="QComboBox" name="languages"/>
|
||||||
<item>
|
|
||||||
<property name="text">
|
|
||||||
<string>English</string>
|
|
||||||
</property>
|
|
||||||
</item>
|
|
||||||
</widget>
|
|
||||||
</item>
|
</item>
|
||||||
<item row="1" column="0" colspan="2">
|
<item row="1" column="0" colspan="2">
|
||||||
<widget class="Line" name="line_10">
|
<widget class="Line" name="line_10">
|
||||||
|
|
|
@ -5471,11 +5471,6 @@ Download-Größe: %3</translation>
|
||||||
<source>Language</source>
|
<source>Language</source>
|
||||||
<translation>Sprache</translation>
|
<translation>Sprache</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
|
||||||
<location filename="../SettingsView.ui" line="529"/>
|
|
||||||
<source>English</source>
|
|
||||||
<translation>Englisch</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
<message>
|
||||||
<location filename="../SettingsView.ui" line="552"/>
|
<location filename="../SettingsView.ui" line="552"/>
|
||||||
<source>List view</source>
|
<source>List view</source>
|
||||||
|
|
|
@ -5475,11 +5475,6 @@ Download size: %3</source>
|
||||||
<source>Language</source>
|
<source>Language</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
|
||||||
<location filename="../SettingsView.ui" line="529"/>
|
|
||||||
<source>English</source>
|
|
||||||
<translation type="unfinished"></translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
<message>
|
||||||
<location filename="../SettingsView.ui" line="544"/>
|
<location filename="../SettingsView.ui" line="544"/>
|
||||||
<source>Library:</source>
|
<source>Library:</source>
|
||||||
|
|
|
@ -5544,11 +5544,6 @@ Download size: %3</source>
|
||||||
<source>Language</source>
|
<source>Language</source>
|
||||||
<translation>Idioma</translation>
|
<translation>Idioma</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
|
||||||
<location filename="../SettingsView.ui" line="529"/>
|
|
||||||
<source>English</source>
|
|
||||||
<translation>English</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
<message>
|
||||||
<location filename="../SettingsView.ui" line="544"/>
|
<location filename="../SettingsView.ui" line="544"/>
|
||||||
<source>Library:</source>
|
<source>Library:</source>
|
||||||
|
|
|
@ -5476,11 +5476,6 @@ Download size: %3</source>
|
||||||
<source>Language</source>
|
<source>Language</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
|
||||||
<location filename="../SettingsView.ui" line="529"/>
|
|
||||||
<source>English</source>
|
|
||||||
<translation type="unfinished"></translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
<message>
|
||||||
<location filename="../SettingsView.ui" line="544"/>
|
<location filename="../SettingsView.ui" line="544"/>
|
||||||
<source>Library:</source>
|
<source>Library:</source>
|
||||||
|
|
|
@ -5569,11 +5569,6 @@ Download size: %3</source>
|
||||||
<source>Language</source>
|
<source>Language</source>
|
||||||
<translation>Langue</translation>
|
<translation>Langue</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
|
||||||
<location filename="../SettingsView.ui" line="529"/>
|
|
||||||
<source>English</source>
|
|
||||||
<translation>anglais</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
<message>
|
||||||
<location filename="../SettingsView.ui" line="544"/>
|
<location filename="../SettingsView.ui" line="544"/>
|
||||||
<source>Library:</source>
|
<source>Library:</source>
|
||||||
|
|
|
@ -5418,11 +5418,6 @@ Download size: %3</source>
|
||||||
<source>Language</source>
|
<source>Language</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
|
||||||
<location filename="../SettingsView.ui" line="529"/>
|
|
||||||
<source>English</source>
|
|
||||||
<translation type="unfinished"></translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
<message>
|
||||||
<location filename="../SettingsView.ui" line="544"/>
|
<location filename="../SettingsView.ui" line="544"/>
|
||||||
<source>Library:</source>
|
<source>Library:</source>
|
||||||
|
|
|
@ -5735,11 +5735,6 @@ Download size: %3</source>
|
||||||
<source>Language</source>
|
<source>Language</source>
|
||||||
<translation>Lingua</translation>
|
<translation>Lingua</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
|
||||||
<location filename="../SettingsView.ui" line="529"/>
|
|
||||||
<source>English</source>
|
|
||||||
<translation>inglese</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
<message>
|
||||||
<location filename="../SettingsView.ui" line="552"/>
|
<location filename="../SettingsView.ui" line="552"/>
|
||||||
<source>List view</source>
|
<source>List view</source>
|
||||||
|
|
|
@ -5572,11 +5572,6 @@ Download size: %3</source>
|
||||||
<source>Language</source>
|
<source>Language</source>
|
||||||
<translation>言語</translation>
|
<translation>言語</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
|
||||||
<location filename="../SettingsView.ui" line="529"/>
|
|
||||||
<source>English</source>
|
|
||||||
<translation>English</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
<message>
|
||||||
<location filename="../SettingsView.ui" line="544"/>
|
<location filename="../SettingsView.ui" line="544"/>
|
||||||
<source>Library:</source>
|
<source>Library:</source>
|
||||||
|
|
|
@ -5733,11 +5733,6 @@ Download size: %3</source>
|
||||||
<source>Language</source>
|
<source>Language</source>
|
||||||
<translation>언어</translation>
|
<translation>언어</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
|
||||||
<location filename="../SettingsView.ui" line="529"/>
|
|
||||||
<source>English</source>
|
|
||||||
<translation>영어</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
<message>
|
||||||
<location filename="../SettingsView.ui" line="552"/>
|
<location filename="../SettingsView.ui" line="552"/>
|
||||||
<source>List view</source>
|
<source>List view</source>
|
||||||
|
|
|
@ -5475,11 +5475,6 @@ Download size: %3</source>
|
||||||
<source>Language</source>
|
<source>Language</source>
|
||||||
<translation>Bahasa</translation>
|
<translation>Bahasa</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
|
||||||
<location filename="../SettingsView.ui" line="529"/>
|
|
||||||
<source>English</source>
|
|
||||||
<translation>Inggeris</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
<message>
|
||||||
<location filename="../SettingsView.ui" line="544"/>
|
<location filename="../SettingsView.ui" line="544"/>
|
||||||
<source>Library:</source>
|
<source>Library:</source>
|
||||||
|
|
|
@ -5476,11 +5476,6 @@ Download size: %3</source>
|
||||||
<source>Language</source>
|
<source>Language</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
|
||||||
<location filename="../SettingsView.ui" line="529"/>
|
|
||||||
<source>English</source>
|
|
||||||
<translation type="unfinished"></translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
<message>
|
||||||
<location filename="../SettingsView.ui" line="544"/>
|
<location filename="../SettingsView.ui" line="544"/>
|
||||||
<source>Library:</source>
|
<source>Library:</source>
|
||||||
|
|
|
@ -5510,11 +5510,6 @@ Download size: %3</source>
|
||||||
<source>Language</source>
|
<source>Language</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
|
||||||
<location filename="../SettingsView.ui" line="529"/>
|
|
||||||
<source>English</source>
|
|
||||||
<translation type="unfinished"></translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
<message>
|
||||||
<location filename="../SettingsView.ui" line="544"/>
|
<location filename="../SettingsView.ui" line="544"/>
|
||||||
<source>Library:</source>
|
<source>Library:</source>
|
||||||
|
|
|
@ -5477,11 +5477,6 @@ Download size: %3</source>
|
||||||
<source>Language</source>
|
<source>Language</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
|
||||||
<location filename="../SettingsView.ui" line="529"/>
|
|
||||||
<source>English</source>
|
|
||||||
<translation type="unfinished"></translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
<message>
|
||||||
<location filename="../SettingsView.ui" line="544"/>
|
<location filename="../SettingsView.ui" line="544"/>
|
||||||
<source>Library:</source>
|
<source>Library:</source>
|
||||||
|
|
|
@ -5544,11 +5544,6 @@ Download size: %3</source>
|
||||||
<source>Language</source>
|
<source>Language</source>
|
||||||
<translation>Idioma</translation>
|
<translation>Idioma</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
|
||||||
<location filename="../SettingsView.ui" line="529"/>
|
|
||||||
<source>English</source>
|
|
||||||
<translation>Inglês</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
<message>
|
||||||
<location filename="../SettingsView.ui" line="544"/>
|
<location filename="../SettingsView.ui" line="544"/>
|
||||||
<source>Library:</source>
|
<source>Library:</source>
|
||||||
|
|
|
@ -5518,11 +5518,6 @@ Download size: %3</source>
|
||||||
<source>Language</source>
|
<source>Language</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
|
||||||
<location filename="../SettingsView.ui" line="529"/>
|
|
||||||
<source>English</source>
|
|
||||||
<translation type="unfinished"></translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
<message>
|
||||||
<location filename="../SettingsView.ui" line="544"/>
|
<location filename="../SettingsView.ui" line="544"/>
|
||||||
<source>Library:</source>
|
<source>Library:</source>
|
||||||
|
|
|
@ -5473,11 +5473,6 @@ Download size: %3</source>
|
||||||
<source>Language</source>
|
<source>Language</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
|
||||||
<location filename="../SettingsView.ui" line="529"/>
|
|
||||||
<source>English</source>
|
|
||||||
<translation type="unfinished"></translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
<message>
|
||||||
<location filename="../SettingsView.ui" line="544"/>
|
<location filename="../SettingsView.ui" line="544"/>
|
||||||
<source>Library:</source>
|
<source>Library:</source>
|
||||||
|
|
|
@ -5511,11 +5511,6 @@ Download size: %3</source>
|
||||||
<source>Language</source>
|
<source>Language</source>
|
||||||
<translation>Dil</translation>
|
<translation>Dil</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
|
||||||
<location filename="../SettingsView.ui" line="529"/>
|
|
||||||
<source>English</source>
|
|
||||||
<translation>İngilizce</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
<message>
|
||||||
<location filename="../SettingsView.ui" line="544"/>
|
<location filename="../SettingsView.ui" line="544"/>
|
||||||
<source>Library:</source>
|
<source>Library:</source>
|
||||||
|
|
|
@ -5479,11 +5479,6 @@ Download size: %3</source>
|
||||||
<source>Language</source>
|
<source>Language</source>
|
||||||
<translation>语言</translation>
|
<translation>语言</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
|
||||||
<location filename="../SettingsView.ui" line="529"/>
|
|
||||||
<source>English</source>
|
|
||||||
<translation>英语</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
<message>
|
||||||
<location filename="../SettingsView.ui" line="544"/>
|
<location filename="../SettingsView.ui" line="544"/>
|
||||||
<source>Library:</source>
|
<source>Library:</source>
|
||||||
|
|
Loading…
Reference in New Issue