Commit 65ca488c authored by Christian Kandeler's avatar Christian Kandeler
Browse files

RemoteLinux: Make strings translateable.

We erroneously used QLatin1String() instead of tr() in a few places.

Change-Id: I728585d0a0c754322b0df29a062e215951f48165
Reviewed-on: http://codereview.qt-project.org/5689

Reviewed-by: default avatarChristian Kandeler <christian.kandeler@nokia.com>
parent a4b186cc
...@@ -118,7 +118,7 @@ public: ...@@ -118,7 +118,7 @@ public:
connect(buttonGroup, SIGNAL(buttonClicked(int)), connect(buttonGroup, SIGNAL(buttonClicked(int)),
SLOT(handleDeviceTypeChanged())); SLOT(handleDeviceTypeChanged()));
m_ui->nameLineEdit->setText(QLatin1String("MeeGo Device")); m_ui->nameLineEdit->setText(tr("MeeGo Device"));
m_ui->osTypeComboBox->setCurrentIndex(m_ui->osTypeComboBox->findData(QLatin1String(HarmattanOsType))); m_ui->osTypeComboBox->setCurrentIndex(m_ui->osTypeComboBox->findData(QLatin1String(HarmattanOsType)));
m_ui->hwButton->setChecked(true); m_ui->hwButton->setChecked(true);
handleDeviceTypeChanged(); handleDeviceTypeChanged();
......
...@@ -123,7 +123,7 @@ QString GenericLinuxDeviceConfigurationWizardSetupPage::privateKeyFilePath() con ...@@ -123,7 +123,7 @@ QString GenericLinuxDeviceConfigurationWizardSetupPage::privateKeyFilePath() con
QString GenericLinuxDeviceConfigurationWizardSetupPage::defaultConfigurationName() const QString GenericLinuxDeviceConfigurationWizardSetupPage::defaultConfigurationName() const
{ {
return QLatin1String("Generic Linux Device"); return tr("Generic Linux Device");
} }
QString GenericLinuxDeviceConfigurationWizardSetupPage::defaultHostName() const QString GenericLinuxDeviceConfigurationWizardSetupPage::defaultHostName() const
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment