Fix a few things related to the translations
This commit is contained in:
parent
c35012f1a5
commit
3b97e3c363
@ -235,7 +235,6 @@ gui/dialogs/SettingsDialog.h
|
|||||||
gui/dialogs/SettingsDialog.cpp
|
gui/dialogs/SettingsDialog.cpp
|
||||||
gui/dialogs/CopyInstanceDialog.h
|
gui/dialogs/CopyInstanceDialog.h
|
||||||
gui/dialogs/CopyInstanceDialog.cpp
|
gui/dialogs/CopyInstanceDialog.cpp
|
||||||
gui/dialogs/dialogs/
|
|
||||||
gui/dialogs/NewInstanceDialog.cpp
|
gui/dialogs/NewInstanceDialog.cpp
|
||||||
gui/dialogs/ProgressDialog.h
|
gui/dialogs/ProgressDialog.h
|
||||||
gui/dialogs/ProgressDialog.cpp
|
gui/dialogs/ProgressDialog.cpp
|
||||||
|
@ -50,8 +50,8 @@ void showWebsiteForMod(QWidget *parentDlg, Mod &m)
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
CustomMessageBox::selectable(
|
CustomMessageBox::selectable(
|
||||||
parentDlg, parentDlg->tr("How sad!"),
|
parentDlg, QObject::tr("How sad!"),
|
||||||
parentDlg->tr("The mod author didn't provide a website link for this mod."),
|
QObject::tr("The mod author didn't provide a website link for this mod."),
|
||||||
QMessageBox::Warning);
|
QMessageBox::Warning);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -23,15 +23,15 @@ void checkJVMArgs(QString jvmargs, QWidget *parent)
|
|||||||
if (jvmargs.contains("-XX:PermSize=") || jvmargs.contains(QRegExp("-Xm[sx]")))
|
if (jvmargs.contains("-XX:PermSize=") || jvmargs.contains(QRegExp("-Xm[sx]")))
|
||||||
{
|
{
|
||||||
CustomMessageBox::selectable(
|
CustomMessageBox::selectable(
|
||||||
parent, parent->tr("JVM arguments warning"),
|
parent, QObject::tr("JVM arguments warning"),
|
||||||
parent->tr("You tried to manually set a JVM memory option (using "
|
QObject::tr("You tried to manually set a JVM memory option (using "
|
||||||
" \"-XX:PermSize\", \"-Xmx\" or \"-Xms\") - there"
|
" \"-XX:PermSize\", \"-Xmx\" or \"-Xms\") - there"
|
||||||
" are dedicated boxes for these in the settings (Java"
|
" are dedicated boxes for these in the settings (Java"
|
||||||
" tab, in the Memory group at the top).\n"
|
" tab, in the Memory group at the top).\n"
|
||||||
"Your manual settings will be overridden by the"
|
"Your manual settings will be overridden by the"
|
||||||
" dedicated options.\n"
|
" dedicated options.\n"
|
||||||
"This message will be displayed until you remove them"
|
"This message will be displayed until you remove them"
|
||||||
" from the JVM arguments."),
|
" from the JVM arguments."),
|
||||||
QMessageBox::Warning)->exec();
|
QMessageBox::Warning)->exec();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user