diff --git a/init.lua b/init.lua index 55de07f..1117a12 100644 --- a/init.lua +++ b/init.lua @@ -883,15 +883,15 @@ local function craft_stack(player, pname, data, _f) if inv:room_for_item("main", stack) then inv:add_item("main", stack) - msg(pname, sprintf("%s added to your inventory!", message)) + msg(pname, sprintf(S"%s added to your inventory", message)) else - local dir = player:get_look_dir() - local ppos = player:get_pos() - ppos.y = ppos.y + 1.625 + local dir = player:get_look_dir() + local ppos = player:get_pos() + ppos.y = ppos.y + 1.625 local look_at = vec_add(ppos, vec_mul(dir, 1)) core.add_item(look_at, stack) - msg(pname, sprintf("%s crafted!", message)) + msg(pname, sprintf(S"%s crafted", message)) end end @@ -1365,7 +1365,7 @@ local function get_export_fs(fs, data, panel, is_recipe, is_usage, max_stacks_rc "craftguide_export.png", "craftguide_export.png"), fmt("image_button", _ROWS + 7.35, _H + 0.2, 0.45, 0.45, "", sprintf("export_%s", name), ""), - sprintf("tooltip[export_%s;%s]", name, ES"Craft this item")) + sprintf("tooltip[export_%s;%s]", name, ES"Craft this stack")) if not show_export then return end diff --git a/locale/craftguide.fr.tr b/locale/craftguide.fr.tr index 5fb26ad..105a7e2 100644 --- a/locale/craftguide.fr.tr +++ b/locale/craftguide.fr.tr @@ -62,3 +62,6 @@ Unmark this item=Enlever des favoris. Cannot mark this item. Limit of bookmarks reached.=Impossible de mettre cet item en favori. Limite des favoris atteinte. Only drop if using one of these tools: @1=Tombe seulement si détruit avec un de ces outils : @1 Only drop if using this tool: @1=Tombe seulement si détruit avec cet outil : @1 +Craft this stack=Fabriquer cet objet +@1 added to your inventory=@1 ajouté(s) à votre inventaire +@1 crafted=@1 fabriqué(s) diff --git a/locale/template b/locale/template index 9700521..d51aa59 100644 --- a/locale/template +++ b/locale/template @@ -62,3 +62,6 @@ Unmark this item= Cannot mark this item. Limit of bookmarks reached.= Only drop if using one of these tools: @1= Only drop if using this tool: @1= +Craft this stack= +@1 added to your inventory= +@1 crafted=