diff options
author | Stiepen22 <stiepen22@gmx.de> | 2013-09-08 18:13:09 +0200 |
---|---|---|
committer | Stiepen22 <stiepen22@gmx.de> | 2013-09-08 18:13:09 +0200 |
commit | 31e5a0fe6d75e124bc772faafcef2618e16c3dbf (patch) | |
tree | a49f2cd2669423fb185baaa6fed78370c3ae3e45 /gui/LegacyModEditDialog.cpp | |
parent | cbf3238f0e4d761ff34c9469f1ec88bd937152a5 (diff) | |
download | MultiMC-31e5a0fe6d75e124bc772faafcef2618e16c3dbf.tar MultiMC-31e5a0fe6d75e124bc772faafcef2618e16c3dbf.tar.gz MultiMC-31e5a0fe6d75e124bc772faafcef2618e16c3dbf.tar.lz MultiMC-31e5a0fe6d75e124bc772faafcef2618e16c3dbf.tar.xz MultiMC-31e5a0fe6d75e124bc772faafcef2618e16c3dbf.zip |
Changed all strings displayed to end user to use qts localization system
Diffstat (limited to 'gui/LegacyModEditDialog.cpp')
-rw-r--r-- | gui/LegacyModEditDialog.cpp | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/gui/LegacyModEditDialog.cpp b/gui/LegacyModEditDialog.cpp index 616fc050..c336f837 100644 --- a/gui/LegacyModEditDialog.cpp +++ b/gui/LegacyModEditDialog.cpp @@ -183,7 +183,8 @@ bool LegacyModEditDialog::eventFilter ( QObject* obj, QEvent* ev ) void LegacyModEditDialog::on_addCoreBtn_clicked() { - QStringList fileNames = QFileDialog::getOpenFileNames(this, "Select Core Mods"); + //: Title of core mod selection dialog + QStringList fileNames = QFileDialog::getOpenFileNames(this, tr("Select Core Mods")); for(auto filename:fileNames) { m_coremods->stopWatching(); @@ -197,7 +198,8 @@ void LegacyModEditDialog::on_addForgeBtn_clicked() } void LegacyModEditDialog::on_addJarBtn_clicked() { - QStringList fileNames = QFileDialog::getOpenFileNames(this, "Select Jar Mods"); + //: Title of jar mod selection dialog + QStringList fileNames = QFileDialog::getOpenFileNames(this, tr("Select Jar Mods")); for(auto filename:fileNames) { m_jarmods->stopWatching(); @@ -207,7 +209,8 @@ void LegacyModEditDialog::on_addJarBtn_clicked() } void LegacyModEditDialog::on_addModBtn_clicked() { - QStringList fileNames = QFileDialog::getOpenFileNames(this, "Select Loader Mods"); + //: Title of regular mod selection dialog + QStringList fileNames = QFileDialog::getOpenFileNames(this, tr("Select Loader Mods")); for(auto filename:fileNames) { m_mods->stopWatching(); @@ -217,7 +220,8 @@ void LegacyModEditDialog::on_addModBtn_clicked() } void LegacyModEditDialog::on_addTexPackBtn_clicked() { - QStringList fileNames = QFileDialog::getOpenFileNames(this, "Select Texture Packs"); + //: Title of texture pack selection dialog + QStringList fileNames = QFileDialog::getOpenFileNames(this, tr("Select Texture Packs")); for(auto filename:fileNames) { m_texturepacks->stopWatching(); |