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

@ -17,8 +17,10 @@ minetest.register_node("mcl_crafting_table:crafting_table", {
local form = "size[9,8.75]"..
"background[-0.19,-0.25;9.41,9.49;crafting_formspec_bg.png^crafting_inventory_workbench.png]"..
mcl_vars.inventory_header..
"label[0,4;"..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[1.75,0;"..minetest.formspec_escape(minetest.colorize("#313131", S("Crafting"))).."]"..
"list[current_player;craft;1.75,0.5;3,3;]"..
"list[current_player;craftpreview;6.1,1.5;1,1;]"..
"image_button[0.75,1.5;1,1;craftguide_book.png;__mcl_craftguide;]"..

View file

@ -3,3 +3,5 @@ Crafting Table=Werkbank
A crafting table is a block which grants you access to a 3×3 crafting grid which allows you to perform advanced crafts.=Die Werkbank ist ein Block, mit dem Sie Zugriff auf ein 3×3-Fertigungsgitter erhalten, wodurch sie fortgeschrittene Dinge herstellen können.
Rightclick the crafting table to access the 3×3 crafting grid.=Rechtsklicken Sie auf die Werkbank, um auf das 3×3-Fertigungsgitter zuzugreifen.
Recipe book=Fertigungsbuch
Inventory=Inventar
Crafting=Fertigen

View file

@ -3,3 +3,5 @@ Crafting Table=
A crafting table is a block which grants you access to a 3×3 crafting grid which allows you to perform advanced crafts.=
Rightclick the crafting table to access the 3×3 crafting grid.=
Recipe book=
Crafting=
Inventory=

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.2 KiB

After

Width:  |  Height:  |  Size: 1.6 KiB

Before After
Before After