diff options
author | Petr Mrázek <peterix@gmail.com> | 2017-01-17 21:17:36 +0100 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2017-01-17 21:17:36 +0100 |
commit | ba38991c131d51709a7dd11e29444f3136af0e72 (patch) | |
tree | 37dbfec7ba19078d7b21729f5e29a4f18867b03b /application/setupwizard/JavaWizardPage.cpp | |
parent | 98e17998fe4dd541143de3e1bbc4b267aadb383b (diff) | |
download | MultiMC-ba38991c131d51709a7dd11e29444f3136af0e72.tar MultiMC-ba38991c131d51709a7dd11e29444f3136af0e72.tar.gz MultiMC-ba38991c131d51709a7dd11e29444f3136af0e72.tar.lz MultiMC-ba38991c131d51709a7dd11e29444f3136af0e72.tar.xz MultiMC-ba38991c131d51709a7dd11e29444f3136af0e72.zip |
GH-1788 fix missing translation strings
Diffstat (limited to 'application/setupwizard/JavaWizardPage.cpp')
-rw-r--r-- | application/setupwizard/JavaWizardPage.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/application/setupwizard/JavaWizardPage.cpp b/application/setupwizard/JavaWizardPage.cpp index f2b5dd92..d0357504 100644 --- a/application/setupwizard/JavaWizardPage.cpp +++ b/application/setupwizard/JavaWizardPage.cpp @@ -440,14 +440,14 @@ void JavaWizardPage::checkFinished(JavaCheckResult result) void JavaWizardPage::retranslate() { - setTitle(QApplication::translate("JavaWizardPage", "Java", Q_NULLPTR)); - setSubTitle(QApplication::translate("JavaWizardPage", "You do not have a working Java set up yet or it went missing.\n" - "Please select one of the following or browse for a java executable.", Q_NULLPTR)); - m_memoryGroupBox->setTitle(QApplication::translate("JavaPage", "Memory", Q_NULLPTR)); - m_maxMemSpinBox->setToolTip(QApplication::translate("JavaPage", "The maximum amount of memory Minecraft is allowed to use.", Q_NULLPTR)); - m_labelMinMem->setText(QApplication::translate("JavaPage", "Minimum memory allocation:", Q_NULLPTR)); - m_labelMaxMem->setText(QApplication::translate("JavaPage", "Maximum memory allocation:", Q_NULLPTR)); - m_minMemSpinBox->setToolTip(QApplication::translate("JavaPage", "The amount of memory Minecraft is started with.", Q_NULLPTR)); - m_permGenSpinBox->setToolTip(QApplication::translate("JavaPage", "The amount of memory available to store loaded Java classes.", Q_NULLPTR)); - m_javaBrowseBtn->setText(QApplication::translate("JavaPage", "Browse", Q_NULLPTR)); + setTitle(tr("Java")); + setSubTitle(tr("You do not have a working Java set up yet or it went missing.\n" + "Please select one of the following or browse for a java executable.")); + m_memoryGroupBox->setTitle(tr("Memory")); + m_maxMemSpinBox->setToolTip(tr("The maximum amount of memory Minecraft is allowed to use.")); + m_labelMinMem->setText(tr("Minimum memory allocation:")); + m_labelMaxMem->setText(tr("Maximum memory allocation:")); + m_minMemSpinBox->setToolTip(tr("The amount of memory Minecraft is started with.")); + m_permGenSpinBox->setToolTip(tr("The amount of memory available to store loaded Java classes.")); + m_javaBrowseBtn->setText(tr("Browse")); } |