forked from minetest-mods/unified_inventory
Elaborate the use of NS()
This commit is contained in:
parent
574de91971
commit
8e9ea34ae8
|
@ -243,6 +243,9 @@ local function stack_image_button(x, y, w, h, buttonname_prefix, item)
|
||||||
return button
|
return button
|
||||||
end
|
end
|
||||||
|
|
||||||
|
-- The recipe text contains parameters, hence they can yet not be translated.
|
||||||
|
-- Instead, use a dummy translation call so that it can be picked up by the
|
||||||
|
-- static parsing of the translation string update script
|
||||||
local recipe_text = {
|
local recipe_text = {
|
||||||
recipe = NS("Recipe @1 of @2"),
|
recipe = NS("Recipe @1 of @2"),
|
||||||
usage = NS("Usage @1 of @2"),
|
usage = NS("Usage @1 of @2"),
|
||||||
|
|
Loading…
Reference in New Issue
Block a user