Browse Source

Finish fixing substitutions.

master
poikilos 3 years ago
parent
commit
ace11e6500
  1. 6
      Bucket_Game-branches/unified_inventory_recipe_fix-vs-211031/mods/codercore/unified_inventory/register.lua
  2. 3
      Bucket_Game-branches/unified_inventory_recipe_fix-vs-211031/mods/codercore/unified_inventory/waypoints.lua

6
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"),

3
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 = {

Loading…
Cancel
Save