Replace GUI image texts with translatable labels

This commit is contained in:
Wuzzy 2019-03-16 05:21:27 +01:00
parent 9d7f4f6544
commit 9cef74c03b
39 changed files with 53 additions and 6 deletions

View file

@ -15,9 +15,10 @@ local setup_dispenser = function(pos)
local form = "size[9,8.75]"..
"background[-0.19,-0.25;9.41,9.49;crafting_inventory_9_slots.png]"..
mcl_vars.inventory_header..
"image[3,-0.2;5,0.75;mcl_dispensers_fnt_dispenser.png]"..
"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;]"..
"label[3,0;"..minetest.formspec_escape(minetest.colorize("#313131", S("Dispenser"))).."]"..
"list[current_name;main;3,0.5;3,3;]"..
"listring[current_name;main]"..
"listring[current_player;main]"

View file

@ -20,3 +20,4 @@ The dispenser will do different things, depending on the dispensed item:=Der Wer
• Other items: Are simply dropped=• Andere Gegenstände: Werden fallen gelassen
Downwards-Facing Dispenser=Nach unten zeigender Werfer
Upwards-Facing Dispenser=Nach oben zeigender Werfer
Inventory=Inventar

View file

@ -20,3 +20,4 @@ The dispenser will do different things, depending on the dispensed item:=
• Other items: Are simply dropped=
Downwards-Facing Dispenser=
Upwards-Facing Dispenser=
Inventory=

Binary file not shown.

Before

Width:  |  Height:  |  Size: 513 B

View file

@ -16,9 +16,10 @@ local setup_dropper = function(pos)
local form = "size[9,8.75]"..
"background[-0.19,-0.25;9.41,9.49;crafting_inventory_9_slots.png]"..
mcl_vars.inventory_header..
"image[3,-0.2;5,0.75;mcl_droppers_fnt_dropper.png]"..
"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;]"..
"label[3,0;"..minetest.formspec_escape(minetest.colorize("#313131", S("Dropper"))).."]"..
"list[current_name;main;3,0.5;3,3;]"..
"listring[current_name;main]"..
"listring[current_player;main]"

View file

@ -4,3 +4,4 @@ A dropper is a redstone component and a container with 9 inventory slots which,
Droppers can be placed in 6 possible directions, items will be dropped out of the hole. Use the dropper to access its inventory. Supply it with redstone energy once to make the dropper drop or transfer a random item.=Spender können in 6 mögliche Richtungen platziert werden, Gegenstände fallen aus dem Loch hinaus. Benutzen Sie den Spender, um auf sein Inventar zuzugreifen. Versorgen Sie ihn mit Redstoneenergie, um den Spender einen Gegenstand abwerfen oder in einen Behälter ablegen zu lassen.
Downwards-Facing Dropper=Nach unten zeigender Spender
Upwards-Facing Dropper=Nach oben zeigender Spender
Inventory=Inventar

View file

@ -4,3 +4,4 @@ A dropper is a redstone component and a container with 9 inventory slots which,
Droppers can be placed in 6 possible directions, items will be dropped out of the hole. Use the dropper to access its inventory. Supply it with redstone energy once to make the dropper drop or transfer a random item.=
Downwards-Facing Dropper=
Upwards-Facing Dropper=
Inventory=

Binary file not shown.

Before

Width:  |  Height:  |  Size: 491 B