mirror of
https://github.com/minetest-mods/craftguide.git
synced 2024-11-22 19:03:43 +01:00
Add strings to locale
This commit is contained in:
parent
f5928abb02
commit
211c02abce
6
init.lua
6
init.lua
@ -883,7 +883,7 @@ 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()
|
||||
@ -891,7 +891,7 @@ local function craft_stack(player, pname, data, _f)
|
||||
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
|
||||
|
||||
|
@ -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)
|
||||
|
@ -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=
|
||||
|
Loading…
Reference in New Issue
Block a user