mirror of
https://github.com/minetest-mods/unified_inventory.git
synced 2024-11-19 22:03:43 +01:00
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
|
||||
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 = {
|
||||
recipe = NS("Recipe @1 of @2"),
|
||||
usage = NS("Usage @1 of @2"),
|
||||
|
Loading…
Reference in New Issue
Block a user