~ubuntu-branches/ubuntu/precise/wpasupplicant/precise-security

« back to all changes in this revision

Viewing changes to wpa_supplicant/wpa_gui-qt4/userdatarequest.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Mathieu Trudel-Lapierre
  • Date: 2010-11-22 09:43:43 UTC
  • mfrom: (1.1.16 upstream)
  • Revision ID: james.westby@ubuntu.com-20101122094343-qgsxaojvmswfri77
Tags: 0.7.3-0ubuntu1
* Get wpasupplicant 0.7.3 from Debian's SVN. Leaving 0.7.3-1 as unreleased
  for now.
* Build-Depend on debhelper 8, since the packaging from Debian uses compat 8.

Show diffs side-by-side

added added

removed removed

Lines of Context:
14
14
 
15
15
#include "userdatarequest.h"
16
16
#include "wpagui.h"
17
 
#include "wpa_ctrl.h"
 
17
#include "common/wpa_ctrl.h"
18
18
 
19
19
 
20
20
UserDataRequest::UserDataRequest(QWidget *parent, const char *, bool,
64
64
        networkid = atoi(pos);
65
65
        queryInfo->setText(pos2);
66
66
        if (strcmp(tmp, "PASSWORD") == 0) {
67
 
                queryField->setText("Password: ");
 
67
                queryField->setText(tr("Password: "));
68
68
                queryEdit->setEchoMode(QLineEdit::Password);
69
69
        } else if (strcmp(tmp, "NEW_PASSWORD") == 0) {
70
 
                queryField->setText("New password: ");
 
70
                queryField->setText(tr("New password: "));
71
71
                queryEdit->setEchoMode(QLineEdit::Password);
72
72
        } else if (strcmp(tmp, "IDENTITY") == 0)
73
 
                queryField->setText("Identity: ");
 
73
                queryField->setText(tr("Identity: "));
74
74
        else if (strcmp(tmp, "PASSPHRASE") == 0) {
75
 
                queryField->setText("Private key passphrase: ");
 
75
                queryField->setText(tr("Private key passphrase: "));
76
76
                queryEdit->setEchoMode(QLineEdit::Password);
77
77
        } else
78
78
                queryField->setText(field + ":");