else
--show dependencies
- retval = retval .. ",Depends:,"
+ retval = retval .. "," .. fgettext("Depends:") .. ","
local toadd = modmgr.get_dependencies(selected_mod.path)
"text,align=right;" .. -- clients
"text,align=center,padding=0.25;" .. -- "/"
"text,align=right,padding=0.25;" .. -- clients_max
- image_column("Creative mode", "creative") .. ",padding=1;" ..
- image_column("Damage enabled", "damage") .. ",padding=0.25;" ..
- image_column("PvP enabled", "pvp") .. ",padding=0.25;" ..
+ image_column(fgettext("Creative mode"), "creative") .. ",padding=1;" ..
+ image_column(fgettext("Damage enabled"), "damage") .. ",padding=0.25;" ..
+ image_column(fgettext("PvP enabled"), "pvp") .. ",padding=0.25;" ..
"text,padding=1]" -- name
else
retval = retval .. "tablecolumns[text]"
"text,align=right;" .. -- clients
"text,align=center,padding=0.25;" .. -- "/"
"text,align=right,padding=0.25;" .. -- clients_max
- image_column("Creative mode", "creative") .. ",padding=1;" ..
- image_column("Damage enabled", "damage") .. ",padding=0.25;" ..
- image_column("PvP enabled", "pvp") .. ",padding=0.25;" ..
+ image_column(fgettext("Creative mode"), "creative") .. ",padding=1;" ..
+ image_column(fgettext("Damage enabled"), "damage") .. ",padding=0.25;" ..
+ image_column(fgettext("PvP enabled"), "pvp") .. ",padding=0.25;" ..
"text,padding=1]" -- name
else
retval = retval .. "tablecolumns[text]"
std::string(FORMSPEC_VERSION_STRING) +
SIZE_TAG
"bgcolor[#320000b4;true]"
- "label[4.85,1.35;You died.]"
+ "label[4.85,1.35;" + gettext("You died.") + "]"
"button_exit[4,3;3,0.5;btn_respawn;" + gettext("Respawn") + "]"
;
}
{
- s32 option_x = offset.X + 10;
- s32 option_y = offset.Y;
+ s32 option_x = offset.X;
+ s32 option_y = offset.Y + 5;
u32 option_w = 180;
{
core::rect<s32> rect(0, 0, option_w, 30);
}
{
- s32 option_x = offset.X + 10;
- s32 option_y = offset.Y;
- u32 option_w = 220;
+ s32 option_x = offset.X;
+ s32 option_y = offset.Y + 5;
+ u32 option_w = 280;
{
core::rect<s32> rect(0, 0, option_w, 30);
rect += topleft + v2s32(option_x, option_y);
*/
s32 ypos = 50;
{
- core::rect<s32> rect(0, 0, 110, 20);
- rect += topleft_client + v2s32(35, ypos+6);
+ core::rect<s32> rect(0, 0, 150, 20);
+ rect += topleft_client + v2s32(25, ypos+6);
text = wgettext("Old Password");
Environment->addStaticText(text, rect, false, true, this, -1);
delete[] text;
}
ypos += 50;
{
- core::rect<s32> rect(0, 0, 110, 20);
- rect += topleft_client + v2s32(35, ypos+6);
+ core::rect<s32> rect(0, 0, 150, 20);
+ rect += topleft_client + v2s32(25, ypos+6);
text = wgettext("New Password");
Environment->addStaticText(text, rect, false, true, this, -1);
delete[] text;
}
ypos += 50;
{
- core::rect<s32> rect(0, 0, 110, 20);
- rect += topleft_client + v2s32(35, ypos+6);
+ core::rect<s32> rect(0, 0, 150, 20);
+ rect += topleft_client + v2s32(25, ypos+6);
text = wgettext("Confirm Password");
Environment->addStaticText(text, rect, false, true, this, -1);
delete[] text;