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
|
@ -393,7 +393,7 @@ mcl_inventory.set_creative_formspec = function(player, start_i, pagenum, inv_siz
|
|||
end
|
||||
local caption = ""
|
||||
if name ~= "inv" and filtername[name] then
|
||||
caption = "label[0,1.1;"..F(minetest.colorize("#313131", filtername[name])).."]"
|
||||
caption = "label[0,1.2;"..F(minetest.colorize("#313131", filtername[name])).."]"
|
||||
end
|
||||
|
||||
formspec = "size[10,9.3]"..
|
||||
|
|
|
@ -99,8 +99,10 @@ local function set_inventory(player, armor_change_only)
|
|||
"list[detached:"..player_name.."_armor;armor;0,3;1,1;4]"..
|
||||
armor_slot_imgs..
|
||||
-- craft and inventory
|
||||
"label[0,4;"..F(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[4,0.5;"..F(minetest.colorize("#313131", S("Crafting"))).."]"..
|
||||
"list[current_player;craft;4,1;2,2]"..
|
||||
"list[current_player;craftpreview;7,1.5;1,1;]"..
|
||||
-- crafting guide button
|
||||
|
|
|
@ -15,3 +15,5 @@ Combat=Kampf
|
|||
Mobs=Mobs
|
||||
Materials=Materialien
|
||||
Survival Inventory=Überlebensinventar
|
||||
Crafting=Fertigen
|
||||
Inventory=Inventar
|
||||
|
|
|
@ -15,3 +15,5 @@ Combat=
|
|||
Mobs=
|
||||
Materials=
|
||||
Survival Inventory=
|
||||
Crafting=
|
||||
Inventory=
|
||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 2 KiB After Width: | Height: | Size: 1.8 KiB |
Binary file not shown.
Before Width: | Height: | Size: 1.6 KiB After Width: | Height: | Size: 1.4 KiB |
Binary file not shown.
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 1.6 KiB |
Loading…
Add table
Add a link
Reference in a new issue