aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/wpa_gui-qt4/userdatarequest.cpp
diff options
context:
space:
mode:
authorStefan Oswald <stefan@homeunix.de>2010-04-11 19:35:02 (GMT)
committerJouni Malinen <j@w1.fi>2010-04-11 19:35:02 (GMT)
commit9086fe44667007b68197dcf9c2310cdb8d075fdd (patch)
tree8170789b679a1e0e98a0b117ec54e1f325376869 /wpa_supplicant/wpa_gui-qt4/userdatarequest.cpp
parentc56ce48a6f33f4c283e6aeb02c7e816c1c9a0ac8 (diff)
downloadhostap-9086fe44667007b68197dcf9c2310cdb8d075fdd.zip
hostap-9086fe44667007b68197dcf9c2310cdb8d075fdd.tar.gz
hostap-9086fe44667007b68197dcf9c2310cdb8d075fdd.tar.bz2
wpa_gui: Convert strings to use tr() in user-visible text
This is in preparation for allowing wpa_gui to be translated.
Diffstat (limited to 'wpa_supplicant/wpa_gui-qt4/userdatarequest.cpp')
-rw-r--r--wpa_supplicant/wpa_gui-qt4/userdatarequest.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/wpa_supplicant/wpa_gui-qt4/userdatarequest.cpp b/wpa_supplicant/wpa_gui-qt4/userdatarequest.cpp
index d8feb6c..345f965 100644
--- a/wpa_supplicant/wpa_gui-qt4/userdatarequest.cpp
+++ b/wpa_supplicant/wpa_gui-qt4/userdatarequest.cpp
@@ -64,15 +64,15 @@ int UserDataRequest::setParams(WpaGui *_wpagui, const char *reqMsg)
networkid = atoi(pos);
queryInfo->setText(pos2);
if (strcmp(tmp, "PASSWORD") == 0) {
- queryField->setText("Password: ");
+ queryField->setText(tr("Password: "));
queryEdit->setEchoMode(QLineEdit::Password);
} else if (strcmp(tmp, "NEW_PASSWORD") == 0) {
- queryField->setText("New password: ");
+ queryField->setText(tr("New password: "));
queryEdit->setEchoMode(QLineEdit::Password);
} else if (strcmp(tmp, "IDENTITY") == 0)
- queryField->setText("Identity: ");
+ queryField->setText(tr("Identity: "));
else if (strcmp(tmp, "PASSPHRASE") == 0) {
- queryField->setText("Private key passphrase: ");
+ queryField->setText(tr("Private key passphrase: "));
queryEdit->setEchoMode(QLineEdit::Password);
} else
queryField->setText(field + ":");