summaryrefslogtreecommitdiffstats
path: root/gui/logindialog.cpp
diff options
context:
space:
mode:
authorStiepen22 <stiepen22@gmx.de>2013-09-08 18:13:09 +0200
committerStiepen22 <stiepen22@gmx.de>2013-09-08 18:13:09 +0200
commit31e5a0fe6d75e124bc772faafcef2618e16c3dbf (patch)
treea49f2cd2669423fb185baaa6fed78370c3ae3e45 /gui/logindialog.cpp
parentcbf3238f0e4d761ff34c9469f1ec88bd937152a5 (diff)
downloadMultiMC-31e5a0fe6d75e124bc772faafcef2618e16c3dbf.tar
MultiMC-31e5a0fe6d75e124bc772faafcef2618e16c3dbf.tar.gz
MultiMC-31e5a0fe6d75e124bc772faafcef2618e16c3dbf.tar.lz
MultiMC-31e5a0fe6d75e124bc772faafcef2618e16c3dbf.tar.xz
MultiMC-31e5a0fe6d75e124bc772faafcef2618e16c3dbf.zip
Changed all strings displayed to end user to use qts localization system
Diffstat (limited to 'gui/logindialog.cpp')
-rw-r--r--gui/logindialog.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/gui/logindialog.cpp b/gui/logindialog.cpp
index a4dad1c1..37e30c85 100644
--- a/gui/logindialog.cpp
+++ b/gui/logindialog.cpp
@@ -24,8 +24,8 @@ LoginDialog::LoginDialog(QWidget *parent, const QString& loginErrMsg) :
{
ui->setupUi(this);
- //TODO: make translateable
- offlineButton = new QPushButton("Offline Once");
+ //: Use offline mode one time
+ offlineButton = new QPushButton(tr("Offline Once"));
ui->loginButtonBox->addButton(offlineButton, QDialogButtonBox::ActionRole);
@@ -33,8 +33,8 @@ LoginDialog::LoginDialog(QWidget *parent, const QString& loginErrMsg) :
isOnline_ = true;
onlineForced = false;
- //FIXME: translateable?
- ui->usernameTextBox->lineEdit()->setPlaceholderText(QApplication::translate("LoginDialog", "Name", 0));
+ //: The username during login (placeholder)
+ ui->usernameTextBox->lineEdit()->setPlaceholderText(tr("Name"));
connect(ui->usernameTextBox, SIGNAL(currentTextChanged(QString)), this, SLOT(userTextChanged(QString)));
connect(ui->forgetButton, SIGNAL(clicked(bool)), this, SLOT(forgetCurrentUser()));