aboutsummaryrefslogtreecommitdiff
path: root/src/guiPasswordChange.cpp
diff options
context:
space:
mode:
authorNils Dagsson Moskopp <nils@dieweltistgarnichtso.net>2011-07-22 10:30:55 -0700
committerNils Dagsson Moskopp <nils@dieweltistgarnichtso.net>2011-07-22 10:30:55 -0700
commita45f287ae1b96742dfd03a01e0b558385e7b1384 (patch)
treea8cc536df3d78b67a11a98ba672cfc4d80f9e32f /src/guiPasswordChange.cpp
parent21b7a272c4558795f5e8b7d8af859d51dd616d31 (diff)
parent7d9dd352cfd680ef31bb309138939d37e4cbf90a (diff)
downloadminetest-a45f287ae1b96742dfd03a01e0b558385e7b1384.tar.gz
minetest-a45f287ae1b96742dfd03a01e0b558385e7b1384.tar.bz2
minetest-a45f287ae1b96742dfd03a01e0b558385e7b1384.zip
Merge pull request #32 from Oblomov/master
Gettext + misc fixes
Diffstat (limited to 'src/guiPasswordChange.cpp')
-rw-r--r--src/guiPasswordChange.cpp13
1 files changed, 9 insertions, 4 deletions
diff --git a/src/guiPasswordChange.cpp b/src/guiPasswordChange.cpp
index 79601a99f..fabe75110 100644
--- a/src/guiPasswordChange.cpp
+++ b/src/guiPasswordChange.cpp
@@ -99,7 +99,8 @@ void GUIPasswordChange::regenerateGui(v2u32 screensize)
{
core::rect<s32> rect(0, 0, 110, 20);
rect += topleft_client + v2s32(35, ypos+6);
- Environment->addStaticText(chartowchar_t(gettext("Old Password")), rect, false, true, this, -1);
+ Environment->addStaticText(chartowchar_t(gettext("Old Password")),
+ rect, false, true, this, -1);
}
{
core::rect<s32> rect(0, 0, 230, 30);
@@ -113,7 +114,8 @@ void GUIPasswordChange::regenerateGui(v2u32 screensize)
{
core::rect<s32> rect(0, 0, 110, 20);
rect += topleft_client + v2s32(35, ypos+6);
- Environment->addStaticText(chartowchar_t(gettext("New Password")), rect, false, true, this, -1);
+ Environment->addStaticText(chartowchar_t(gettext("New Password")),
+ rect, false, true, this, -1);
}
{
core::rect<s32> rect(0, 0, 230, 30);
@@ -126,7 +128,8 @@ void GUIPasswordChange::regenerateGui(v2u32 screensize)
{
core::rect<s32> rect(0, 0, 110, 20);
rect += topleft_client + v2s32(35, ypos+6);
- Environment->addStaticText(chartowchar_t(gettext("Confirm Password")), rect, false, true, this, -1);
+ Environment->addStaticText(chartowchar_t(gettext("Confirm Password")),
+ rect, false, true, this, -1);
}
{
core::rect<s32> rect(0, 0, 230, 30);
@@ -148,7 +151,9 @@ void GUIPasswordChange::regenerateGui(v2u32 screensize)
core::rect<s32> rect(0, 0, 300, 20);
rect += topleft_client + v2s32(35, ypos);
IGUIElement *e =
- Environment->addStaticText(chartowchar_t(gettext("Passwords do not match!")), rect, false, true, this, ID_message);
+ Environment->addStaticText(
+ chartowchar_t(gettext("Passwords do not match!")),
+ rect, false, true, this, ID_message);
e->setVisible(false);
}