From 1e77f48251f8881cdcdcc3734d4d7ec0b2f40e6b Mon Sep 17 00:00:00 2001 From: Eike Ziller Date: Wed, 10 Jan 2018 15:31:20 +0100 Subject: Fix that translations did not work after setting IDE_ID We currently do not actually rename any resources. Change-Id: I4ebaa4924d6358af63dca7611e64fe53835252d6 Reviewed-by: Tim Jenssen --- src/app/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/app') diff --git a/src/app/main.cpp b/src/app/main.cpp index 90eae94f2bf..e9a863946a3 100644 --- a/src/app/main.cpp +++ b/src/app/main.cpp @@ -414,7 +414,7 @@ int main(int argc, char **argv) const QString &creatorTrPath = resourcePath() + "/translations"; foreach (QString locale, uiLanguages) { locale = QLocale(locale).name(); - if (translator.load(QString::fromLatin1(Core::Constants::IDE_ID) + "_" + locale, creatorTrPath)) { + if (translator.load("qtcreator_" + locale, creatorTrPath)) { const QString &qtTrPath = QLibraryInfo::location(QLibraryInfo::TranslationsPath); const QString &qtTrFile = QLatin1String("qt_") + locale; // Binary installer puts Qt tr files into creatorTrPath -- cgit v1.2.3