summaryrefslogtreecommitdiff
path: root/api.lua
diff options
context:
space:
mode:
Diffstat (limited to 'api.lua')
-rw-r--r--api.lua9
1 files changed, 5 insertions, 4 deletions
diff --git a/api.lua b/api.lua
index a8d6369..936ee72 100644
--- a/api.lua
+++ b/api.lua
@@ -1,4 +1,5 @@
local S = unified_inventory.gettext
+local F = unified_inventory.fgettext
-- Create detached creative inventory after loading all mods
minetest.after(0.01, function()
@@ -230,7 +231,7 @@ end
unified_inventory.register_craft_type("normal", {
- description = "Crafting",
+ description = F("Crafting"),
icon = "ui_craftgrid_icon.png",
width = 3,
height = 3,
@@ -246,7 +247,7 @@ unified_inventory.register_craft_type("normal", {
unified_inventory.register_craft_type("shapeless", {
- description = "Mixing",
+ description = F("Mixing"),
icon = "ui_craftgrid_icon.png",
width = 3,
height = 3,
@@ -261,7 +262,7 @@ unified_inventory.register_craft_type("shapeless", {
unified_inventory.register_craft_type("cooking", {
- description = "Cooking",
+ description = F("Cooking"),
icon = "default_furnace_front.png",
width = 1,
height = 1,
@@ -269,7 +270,7 @@ unified_inventory.register_craft_type("cooking", {
unified_inventory.register_craft_type("digging", {
- description = "Digging",
+ description = F("Digging"),
icon = "default_tool_steelpick.png",
width = 1,
height = 1,