diff --git a/app/main.cpp b/app/main.cpp index e1b38d0..5fcd4dd 100644 --- a/app/main.cpp +++ b/app/main.cpp @@ -34,7 +34,7 @@ int main(int argc, char *argv[]) #else qmDir = QT_STRINGIFY(QM_FILE_INSTALL_DIR); #endif - if (translator.load(QString("PineapplePictures_%1").arg(QLocale::system().name()), qmDir)) { + if (translator.load(QLocale(), QLatin1String("PineapplePictures"), QLatin1String("_"), qmDir)) { a.installTranslator(&translator); } a.setApplicationName("Pineapple Pictures");