mirror of https://github.com/mgba-emu/mgba.git
Qt: Add dummy English translation file (fixes #1469)
This commit is contained in:
parent
67f14eee9e
commit
65e66feb59
1
CHANGES
1
CHANGES
|
@ -1,5 +1,6 @@
|
|||
0.8.4: (Future)
|
||||
Other fixes:
|
||||
- Qt: Add dummy English translation file (fixes mgba.io/i/1469)
|
||||
- VFS: Fix directory node listing on some filesystems
|
||||
|
||||
0.8.3: (2020-08-03)
|
||||
|
|
|
@ -303,6 +303,9 @@ SettingsView::SettingsView(ConfigController* controller, InputController* inputC
|
|||
continue;
|
||||
}
|
||||
QLocale locale(name.remove(QString("%0-").arg(binaryName)).remove(".qm"));
|
||||
if (locale.language() == QLocale::English) {
|
||||
continue;
|
||||
}
|
||||
m_ui.languages->addItem(locale.nativeLanguageName(), locale);
|
||||
if (locale.bcp47Name() == QLocale().bcp47Name()) {
|
||||
m_ui.languages->setCurrentIndex(m_ui.languages->count() - 1);
|
||||
|
|
|
@ -0,0 +1,4 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE TS>
|
||||
<TS version="2.1" language="en" sourcelanguage="en_US">
|
||||
</TS>
|
Loading…
Reference in New Issue