Language switcher: Add English as explicit translation.

Complements f093025ff3

Reviewed-By: Oswald Buddenhagen
This commit is contained in:
Daniel Molkentin
2010-01-06 14:55:14 +01:00
parent 97eabc2916
commit 6ced1c3e75

View File

@@ -88,6 +88,8 @@ static bool hasQmFilesForLocale(const QString &locale, const QString &creatorTrP
void GeneralSettings::fillLanguageBox() const
{
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 =
Core::ICore::instance()->resourcePath() + QLatin1String("/translations");