Skip to content

Commit c7a7803

Browse files
ngosangnerzhul
authored andcommittedFeb 12, 2015
Minor fixes in translations
1 parent d302629 commit c7a7803

File tree

6 files changed

+19
-19
lines changed

6 files changed

+19
-19
lines changed
 

Diff for: ‎builtin/mainmenu/tab_mods.lua

+1-1
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ local function get_formspec(tabview, name, tabdata)
9696
else
9797
--show dependencies
9898

99-
retval = retval .. ",Depends:,"
99+
retval = retval .. "," .. fgettext("Depends:") .. ","
100100

101101
local toadd = modmgr.get_dependencies(selected_mod.path)
102102

Diff for: ‎builtin/mainmenu/tab_multiplayer.lua

+3-3
Original file line numberDiff line numberDiff line change
@@ -59,9 +59,9 @@ local function get_formspec(tabview, name, tabdata)
5959
"text,align=right;" .. -- clients
6060
"text,align=center,padding=0.25;" .. -- "/"
6161
"text,align=right,padding=0.25;" .. -- clients_max
62-
image_column("Creative mode", "creative") .. ",padding=1;" ..
63-
image_column("Damage enabled", "damage") .. ",padding=0.25;" ..
64-
image_column("PvP enabled", "pvp") .. ",padding=0.25;" ..
62+
image_column(fgettext("Creative mode"), "creative") .. ",padding=1;" ..
63+
image_column(fgettext("Damage enabled"), "damage") .. ",padding=0.25;" ..
64+
image_column(fgettext("PvP enabled"), "pvp") .. ",padding=0.25;" ..
6565
"text,padding=1]" -- name
6666
else
6767
retval = retval .. "tablecolumns[text]"

Diff for: ‎builtin/mainmenu/tab_simple_main.lua

+3-3
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,9 @@ local function get_formspec(tabview, name, tabdata)
4242
"text,align=right;" .. -- clients
4343
"text,align=center,padding=0.25;" .. -- "/"
4444
"text,align=right,padding=0.25;" .. -- clients_max
45-
image_column("Creative mode", "creative") .. ",padding=1;" ..
46-
image_column("Damage enabled", "damage") .. ",padding=0.25;" ..
47-
image_column("PvP enabled", "pvp") .. ",padding=0.25;" ..
45+
image_column(fgettext("Creative mode"), "creative") .. ",padding=1;" ..
46+
image_column(fgettext("Damage enabled"), "damage") .. ",padding=0.25;" ..
47+
image_column(fgettext("PvP enabled"), "pvp") .. ",padding=0.25;" ..
4848
"text,padding=1]" -- name
4949
else
5050
retval = retval .. "tablecolumns[text]"

Diff for: ‎src/game.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1074,7 +1074,7 @@ static void show_deathscreen(GUIFormSpecMenu **cur_formspec,
10741074
std::string(FORMSPEC_VERSION_STRING) +
10751075
SIZE_TAG
10761076
"bgcolor[#320000b4;true]"
1077-
"label[4.85,1.35;You died.]"
1077+
"label[4.85,1.35;" + gettext("You died.") + "]"
10781078
"button_exit[4,3;3,0.5;btn_respawn;" + gettext("Respawn") + "]"
10791079
;
10801080

Diff for: ‎src/guiKeyChangeMenu.cpp

+5-5
Original file line numberDiff line numberDiff line change
@@ -156,8 +156,8 @@ void GUIKeyChangeMenu::regenerateGui(v2u32 screensize)
156156
}
157157

158158
{
159-
s32 option_x = offset.X + 10;
160-
s32 option_y = offset.Y;
159+
s32 option_x = offset.X;
160+
s32 option_y = offset.Y + 5;
161161
u32 option_w = 180;
162162
{
163163
core::rect<s32> rect(0, 0, option_w, 30);
@@ -171,9 +171,9 @@ void GUIKeyChangeMenu::regenerateGui(v2u32 screensize)
171171
}
172172

173173
{
174-
s32 option_x = offset.X + 10;
175-
s32 option_y = offset.Y;
176-
u32 option_w = 220;
174+
s32 option_x = offset.X;
175+
s32 option_y = offset.Y + 5;
176+
u32 option_w = 280;
177177
{
178178
core::rect<s32> rect(0, 0, option_w, 30);
179179
rect += topleft + v2s32(option_x, option_y);

Diff for: ‎src/guiPasswordChange.cpp

+6-6
Original file line numberDiff line numberDiff line change
@@ -103,8 +103,8 @@ void GUIPasswordChange::regenerateGui(v2u32 screensize)
103103
*/
104104
s32 ypos = 50;
105105
{
106-
core::rect<s32> rect(0, 0, 110, 20);
107-
rect += topleft_client + v2s32(35, ypos+6);
106+
core::rect<s32> rect(0, 0, 150, 20);
107+
rect += topleft_client + v2s32(25, ypos+6);
108108
text = wgettext("Old Password");
109109
Environment->addStaticText(text, rect, false, true, this, -1);
110110
delete[] text;
@@ -119,8 +119,8 @@ void GUIPasswordChange::regenerateGui(v2u32 screensize)
119119
}
120120
ypos += 50;
121121
{
122-
core::rect<s32> rect(0, 0, 110, 20);
123-
rect += topleft_client + v2s32(35, ypos+6);
122+
core::rect<s32> rect(0, 0, 150, 20);
123+
rect += topleft_client + v2s32(25, ypos+6);
124124
text = wgettext("New Password");
125125
Environment->addStaticText(text, rect, false, true, this, -1);
126126
delete[] text;
@@ -134,8 +134,8 @@ void GUIPasswordChange::regenerateGui(v2u32 screensize)
134134
}
135135
ypos += 50;
136136
{
137-
core::rect<s32> rect(0, 0, 110, 20);
138-
rect += topleft_client + v2s32(35, ypos+6);
137+
core::rect<s32> rect(0, 0, 150, 20);
138+
rect += topleft_client + v2s32(25, ypos+6);
139139
text = wgettext("Confirm Password");
140140
Environment->addStaticText(text, rect, false, true, this, -1);
141141
delete[] text;

0 commit comments

Comments
 (0)
Please sign in to comment.