forked from VoxeLibre/VoxeLibre
update formspec with translatable label
This commit is contained in:
parent
fe648a9287
commit
90b902a228
|
@ -5,6 +5,7 @@ local function active_brewing_formspec(fuel_percent, brew_percent)
|
||||||
return "size[9,8.75]"..
|
return "size[9,8.75]"..
|
||||||
"background[-0.19,-0.25;9.5,9.5;mcl_brewing_inventory.png]"..
|
"background[-0.19,-0.25;9.5,9.5;mcl_brewing_inventory.png]"..
|
||||||
-- "background[-0.19,-0.25;9.5,9.5;mcl_brewing_inventory_active.png]"..
|
-- "background[-0.19,-0.25;9.5,9.5;mcl_brewing_inventory_active.png]"..
|
||||||
|
"label[4,0;"..minetest.formspec_escape(minetest.colorize("#313131", S("Brewing Stand"))).."]"..
|
||||||
"label[0,4.0;"..minetest.formspec_escape(minetest.colorize("#313131", S("Inventory"))).."]"..
|
"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,4.5;9,3;9]"..
|
||||||
mcl_formspec.get_itemslot_bg(0,4.5,9,3)..
|
mcl_formspec.get_itemslot_bg(0,4.5,9,3)..
|
||||||
|
@ -35,6 +36,7 @@ end
|
||||||
|
|
||||||
local brewing_formspec = "size[9,8.75]"..
|
local brewing_formspec = "size[9,8.75]"..
|
||||||
"background[-0.19,-0.25;9.5,9.5;mcl_brewing_inventory.png]"..
|
"background[-0.19,-0.25;9.5,9.5;mcl_brewing_inventory.png]"..
|
||||||
|
"label[4,0;"..minetest.formspec_escape(minetest.colorize("#313131", S("Brewing Stand"))).."]"..
|
||||||
"label[0,4.0;"..minetest.formspec_escape(minetest.colorize("#313131", S("Inventory"))).."]"..
|
"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,4.5;9,3;9]"..
|
||||||
mcl_formspec.get_itemslot_bg(0,4.5,9,3)..
|
mcl_formspec.get_itemslot_bg(0,4.5,9,3)..
|
||||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 1.0 KiB After Width: | Height: | Size: 1.6 KiB |
Loading…
Reference in New Issue