Leave substitution strings in recipe_text items or they'll start as "... nil of nil".

This commit is contained in:
Jacob Gustafson 2021-11-01 19:44:51 -04:00 committed by GitHub
parent 31cf5e4dbe
commit b323d7c91b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 2 deletions

View File

@ -240,8 +240,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 translate with S(...) yet:
-- * Later use S(...) to translate & do numbered substitutions.
}
local no_recipe_text = {
recipe = S("No recipes"),