diff options
author | codexp <codexp@gmx.net> | 2018-04-02 13:33:36 +0200 |
---|---|---|
committer | codexp <codexp@gmx.net> | 2018-04-02 13:33:36 +0200 |
commit | c1ab7277ab7a6111b03b5f734c633140eafdacb2 (patch) | |
tree | 58db2d3606aef879e19475cad8ebc37a0ae4b207 /api.lua | |
parent | 2ab5a7c90a59db14c60bdb07d306eac89987e9f5 (diff) |
refactor code to use with intllib tool
Diffstat (limited to 'api.lua')
-rw-r--r-- | api.lua | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -1,5 +1,5 @@ local S = unified_inventory.gettext -local F = unified_inventory.fgettext +local F = minetest.formspec_escape -- Create detached creative inventory after loading all mods minetest.after(0.01, function() @@ -233,7 +233,7 @@ end unified_inventory.register_craft_type("normal", { - description = F("Crafting"), + description = F(S("Crafting")), icon = "ui_craftgrid_icon.png", width = 3, height = 3, @@ -249,7 +249,7 @@ unified_inventory.register_craft_type("normal", { unified_inventory.register_craft_type("shapeless", { - description = F("Mixing"), + description = F(S("Mixing")), icon = "ui_craftgrid_icon.png", width = 3, height = 3, @@ -264,7 +264,7 @@ unified_inventory.register_craft_type("shapeless", { unified_inventory.register_craft_type("cooking", { - description = F("Cooking"), + description = F(S("Cooking")), icon = "default_furnace_front.png", width = 1, height = 1, @@ -272,7 +272,7 @@ unified_inventory.register_craft_type("cooking", { unified_inventory.register_craft_type("digging", { - description = F("Digging"), + description = F(S("Digging")), icon = "default_tool_steelpick.png", width = 1, height = 1, |