summaryrefslogtreecommitdiff
path: root/api.lua
diff options
context:
space:
mode:
authorVanessa Ezekowitz <vanessaezekowitz@gmail.com>2016-08-07 12:56:53 -0400
committerGitHub <noreply@github.com>2016-08-07 12:56:53 -0400
commit6ec72eba74ab832da3cd79cdf37d1dd9a4603720 (patch)
tree4d78acae78e081f30b8aa8d1076a1ecf5a27175f /api.lua
parent7d039147e71bcc4e947be0f3bfb38707790263fb (diff)
parentc81666694587dc49936eb2122607de1efd1589fd (diff)
Merge pull request #59 from Wuzzy2/trans
Update translation strings, update German, more formspec escaping
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 872ce32..0b25701 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()
@@ -158,7 +159,7 @@ end
unified_inventory.register_craft_type("normal", {
- description = "Crafting",
+ description = F("Crafting"),
icon = "ui_craftgrid_icon.png",
width = 3,
height = 3,
@@ -174,7 +175,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,
@@ -189,7 +190,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,
@@ -197,7 +198,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,