update translations (thx skybuilder1717)

This commit is contained in:
tenplus1 2025-01-27 15:41:50 +00:00
commit c85ed64b37
9 changed files with 147 additions and 70 deletions

View file

@ -110,8 +110,9 @@ minetest.register_craftitem("protector:tool", {
local inv = minetest.get_inventory({type = "node", pos = pos})
if inv then
minetest.chat_send_player(name, S("Cannot place protector, container at") ..
" " .. minetest.pos_to_string(pos))
minetest.chat_send_player(name,
S("Cannot place protector, container at @1",
minetest.pos_to_string(pos)))
return
end
@ -119,8 +120,8 @@ minetest.register_craftitem("protector:tool", {
if minetest.is_protected(pos, name) then
minetest.chat_send_player(name,
S("Cannot place protector, already protected at")
.. " " .. minetest.pos_to_string(pos))
S("Cannot place protector, already protected at @1",
minetest.pos_to_string(pos)))
return
end
@ -141,7 +142,7 @@ minetest.register_craftitem("protector:tool", {
end
minetest.chat_send_player(name,
S("Protector placed at") .. " " .. minetest.pos_to_string(pos))
S("Protector placed at @1", minetest.pos_to_string(pos)))
end
})