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/AnalyticsWizardPage.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/AnalyticsWizardPage.cpp')
-rw-r--r-- | application/setupwizard/AnalyticsWizardPage.cpp | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/application/setupwizard/AnalyticsWizardPage.cpp b/application/setupwizard/AnalyticsWizardPage.cpp index ce0f5280..ee834db9 100644 --- a/application/setupwizard/AnalyticsWizardPage.cpp +++ b/application/setupwizard/AnalyticsWizardPage.cpp @@ -62,10 +62,9 @@ bool AnalyticsWizardPage::isRequired() void AnalyticsWizardPage::retranslate() { - setTitle(QApplication::translate("AnalyticsWizardPage", "Analytics", Q_NULLPTR)); - setSubTitle(QApplication::translate("AnalyticsWizardPage", "We track some anonymous statistics about users.", Q_NULLPTR)); - textBrowser->setHtml(QApplication::translate( - "AnalyticsWizardPage", + setTitle(tr("Analytics")); + setSubTitle(tr("We track some anonymous statistics about users.")); + textBrowser->setHtml(tr( "<html><body>" "<p>MultiMC sends anonymous usage statistics on every start of the application. This helps us decide what platforms and issues to focus on.</p>" "<p>The data is processed by Google Analytics, see their <a href=\"https://support.google.com/analytics/answer/6004245?hl=en\">article on the " @@ -78,7 +77,6 @@ void AnalyticsWizardPage::retranslate() "<li>CPU architecture (kernel architecture on linux).</li>" "<li>Size of system memory.</li>" "<li>Java version, architecture and memory settings.</li></ul>" - "<p>If we change the tracked information, you will see this page again.</p></body></html>", - Q_NULLPTR)); - checkBox->setText(QApplication::translate("AnalyticsWizardPage", "Enable Analytics", Q_NULLPTR)); + "<p>If we change the tracked information, you will see this page again.</p></body></html>")); + checkBox->setText(tr("Enable Analytics")); } |