Skip to content
Snippets Groups Projects
Commit 6ced1c3e authored by Daniel Molkentin's avatar Daniel Molkentin
Browse files

Language switcher: Add English as explicit translation.

Complements f093025f

Reviewed-By: Oswald Buddenhagen
parent 97eabc29
No related merge requests found
...@@ -88,6 +88,8 @@ static bool hasQmFilesForLocale(const QString &locale, const QString &creatorTrP ...@@ -88,6 +88,8 @@ static bool hasQmFilesForLocale(const QString &locale, const QString &creatorTrP
void GeneralSettings::fillLanguageBox() const void GeneralSettings::fillLanguageBox() const
{ {
m_page->languageBox->addItem(tr("<System Language>"), QString()); m_page->languageBox->addItem(tr("<System Language>"), QString());
// need to add this explicitly, since there is no qm file for English
m_page->languageBox->addItem(QLatin1String("English"), QLatin1String("C"));
const QString creatorTrPath = const QString creatorTrPath =
Core::ICore::instance()->resourcePath() + QLatin1String("/translations"); Core::ICore::instance()->resourcePath() + QLatin1String("/translations");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment