summaryrefslogtreecommitdiff
path: root/src/gui/changepassworddialog.cpp
diff options
context:
space:
mode:
authorYohann Ferreira <bertram@cegetel.net>2008-04-25 23:15:03 +0000
committerYohann Ferreira <bertram@cegetel.net>2008-04-25 23:15:03 +0000
commit536f18bdaae32831aa92702535586f26d0628a42 (patch)
treef438efa69af7a6588bd00df126cd1f7c07bb8641 /src/gui/changepassworddialog.cpp
parent23e6d031b6c9f20dea6ba48dd1826d3286e18233 (diff)
downloadmana-client-536f18bdaae32831aa92702535586f26d0628a42.tar.gz
mana-client-536f18bdaae32831aa92702535586f26d0628a42.tar.bz2
mana-client-536f18bdaae32831aa92702535586f26d0628a42.tar.xz
mana-client-536f18bdaae32831aa92702535586f26d0628a42.zip
Added client-side email address change ability.
Diffstat (limited to 'src/gui/changepassworddialog.cpp')
-rw-r--r--src/gui/changepassworddialog.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/gui/changepassworddialog.cpp b/src/gui/changepassworddialog.cpp
index 6f30d296..e3bb0511 100644
--- a/src/gui/changepassworddialog.cpp
+++ b/src/gui/changepassworddialog.cpp
@@ -33,7 +33,6 @@
#include "../logindata.h"
#include "button.h"
-#include "checkbox.h"
#include "register.h"
#include "passwordfield.h"
#include "textfield.h"
@@ -43,7 +42,7 @@
#include "../utils/strprintf.h"
ChangePasswordDialog::ChangePasswordDialog(Window *parent, LoginData *loginData):
- Window("Change Password", true, parent),
+ Window(_("Change Password"), true, parent),
mWrongDataNoticeListener(new WrongDataNoticeListener()),
mLoginData(loginData)
{
@@ -54,8 +53,8 @@ ChangePasswordDialog::ChangePasswordDialog(Window *parent, LoginData *loginData)
gcn::Label *newPassLabel = new gcn::Label(_("Type New Password twice:"));
mFirstPassField = new PasswordField();
mSecondPassField = new PasswordField();
- mChangePassButton = new Button("Change Password", "change_password", this);
- mCancelButton = new Button("Cancel", "cancel", this);
+ mChangePassButton = new Button(_("Change Password"), "change_password", this);
+ mCancelButton = new Button(_("Cancel"), "cancel", this);
const int width = 200;
const int height = 170;