Replace GUI image texts with translatable labels
This commit is contained in:
parent
9d7f4f6544
commit
9cef74c03b
39 changed files with 53 additions and 6 deletions
|
@ -18,11 +18,13 @@ local function get_anvil_formspec(set_name)
|
|||
return "size[9,8.75]"..
|
||||
"background[-0.19,-0.25;9.41,9.49;mcl_anvils_inventory.png]"..
|
||||
mcl_vars.inventory_header..
|
||||
"label[0,4.0;"..minetest.formspec_escape(minetest.colorize("#313131", S("Inventory"))).."]"..
|
||||
"list[current_player;main;0,4.5;9,3;9]"..
|
||||
"list[current_player;main;0,7.74;9,1;]"..
|
||||
"list[context;input;1,2.5;1,1;]"..
|
||||
"list[context;input;4,2.5;1,1;1]"..
|
||||
"list[context;output;8,2.5;1,1;]"..
|
||||
"label[3,0.1;"..minetest.formspec_escape(minetest.colorize("#313131", S("Repair and Name"))).."]"..
|
||||
"field[3.25,1;4,1;name;;"..minetest.formspec_escape(set_name).."]"..
|
||||
"field_close_on_enter[name;false]"..
|
||||
"button[7,0.7;2,1;name_button;"..minetest.formspec_escape(S("Set Name")).."]"..
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
# textdomain: mcl_anvils
|
||||
Set Name=Name setzen
|
||||
Repair and Name=Reparieren und benennen
|
||||
Inventory=Inventar
|
||||
Anvil=Amboss
|
||||
The anvil allows you to repair tools and armor, and to give names to items. It has a limited durability, however. Don't let it fall on your head, it could be quite painful!=Der Amboss ermöglicht es, Werkzeuge und Rüstung zu reparieren und Gegenstände zu benennen. Er hat jedoch eine begrenzte Lebensdauer. Lassen Sie ihn nicht auf Ihren Kopf fallen, das könnte ziemlich schmerzhaft sein!
|
||||
To use an anvil, rightclick it. An anvil has 2 input slots (on the left) and one output slot.=Um einen Amboss zu benutzen, rechtsklicken Sie auf ihn. Ein Amboss hat 2 Eingabeplätze (links) und einen Ausgabeplatz (rechts).
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
# textdomain: mcl_anvils
|
||||
Set Name=
|
||||
Repair and Name=
|
||||
Inventory=
|
||||
Anvil=
|
||||
The anvil allows you to repair tools and armor, and to give names to items. It has a limited durability, however. Don't let it fall on your head, it could be quite painful!=
|
||||
To use an anvil, rightclick it. An anvil has 2 input slots (on the left) and one output slot.=
|
||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 1.9 KiB After Width: | Height: | Size: 1.5 KiB |
Loading…
Add table
Add a link
Reference in a new issue