diff --git a/Bucket_Game-branches/unified_inventory_recipe_fix-vs-211031/mods/codercore/unified_inventory/register.lua b/Bucket_Game-branches/unified_inventory_recipe_fix-vs-211031/mods/codercore/unified_inventory/register.lua index 2c34606..6838146 100644 --- a/Bucket_Game-branches/unified_inventory_recipe_fix-vs-211031/mods/codercore/unified_inventory/register.lua +++ b/Bucket_Game-branches/unified_inventory_recipe_fix-vs-211031/mods/codercore/unified_inventory/register.lua @@ -234,8 +234,10 @@ local function stack_image_button(x, y, w, h, buttonname_prefix, item) end local recipe_text = { - recipe = S("Recipe @1 of @2"), - usage = S("Usage @1 of @2"), + recipe = "Recipe @1 of @2", + usage = "Usage @1 of @2", + -- Don't use the "S" function yet: + -- * Use "S" later to fill numbered substitutions. } local no_recipe_text = { recipe = S("No recipes"), diff --git a/Bucket_Game-branches/unified_inventory_recipe_fix-vs-211031/mods/codercore/unified_inventory/waypoints.lua b/Bucket_Game-branches/unified_inventory_recipe_fix-vs-211031/mods/codercore/unified_inventory/waypoints.lua index a448f88..84c8cf8 100644 --- a/Bucket_Game-branches/unified_inventory_recipe_fix-vs-211031/mods/codercore/unified_inventory/waypoints.lua +++ b/Bucket_Game-branches/unified_inventory_recipe_fix-vs-211031/mods/codercore/unified_inventory/waypoints.lua @@ -1,4 +1,5 @@ -local S = function (str) return str end +local modpath = minetest.get_modpath("unified_inventory") +local S, NS = dofile(modpath .. "/intllib.lua") local F = minetest.formspec_escape local hud_colors = {