From b323d7c91beb1e7fe41a7c52c42226bedac67205 Mon Sep 17 00:00:00 2001 From: Jacob Gustafson <7557867+poikilos@users.noreply.github.com> Date: Mon, 1 Nov 2021 19:44:51 -0400 Subject: [PATCH] Leave substitution strings in recipe_text items or they'll start as "... nil of nil". --- register.lua | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/register.lua b/register.lua index 33b39cc..b6cc772 100644 --- a/register.lua +++ b/register.lua @@ -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"),