From ba38991c131d51709a7dd11e29444f3136af0e72 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Mr=C3=A1zek?= Date: Tue, 17 Jan 2017 21:17:36 +0100 Subject: GH-1788 fix missing translation strings --- application/setupwizard/AnalyticsWizardPage.cpp | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) (limited to 'application/setupwizard/AnalyticsWizardPage.cpp') 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( "" "

MultiMC sends anonymous usage statistics on every start of the application. This helps us decide what platforms and issues to focus on.

" "

The data is processed by Google Analytics, see their article on the " @@ -78,7 +77,6 @@ void AnalyticsWizardPage::retranslate() "

  • CPU architecture (kernel architecture on linux).
  • " "
  • Size of system memory.
  • " "
  • Java version, architecture and memory settings.
  • " - "

    If we change the tracked information, you will see this page again.

    ", - Q_NULLPTR)); - checkBox->setText(QApplication::translate("AnalyticsWizardPage", "Enable Analytics", Q_NULLPTR)); + "

    If we change the tracked information, you will see this page again.

    ")); + checkBox->setText(tr("Enable Analytics")); } -- cgit v1.2.3