GH-1313 tweak the window title to be easier to translate

This commit is contained in:
Petr Mrázek 2016-01-03 16:03:49 +01:00
parent 15aaded80b
commit dcb4e0fa6f

View File

@ -385,7 +385,7 @@ MainWindow::MainWindow(QWidget *parent) : QMainWindow(parent), ui(new MainWindow
QString winTitle = tr("MultiMC 5 - Version %1").arg(BuildConfig.printableVersionString()); QString winTitle = tr("MultiMC 5 - Version %1").arg(BuildConfig.printableVersionString());
if (!BuildConfig.BUILD_PLATFORM.isEmpty()) if (!BuildConfig.BUILD_PLATFORM.isEmpty())
{ {
winTitle += tr(" on ") + BuildConfig.BUILD_PLATFORM; winTitle += tr(" on %1", "on platform, as in operating system").arg(BuildConfig.BUILD_PLATFORM);
} }
setWindowTitle(winTitle); setWindowTitle(winTitle);