forked from minetest-mods/moreblocks
Remove parentheses from "owned by" translation
This commit is contained in:
parent
fa43215cd6
commit
e6740678f6
@ -130,7 +130,7 @@ function circular_saw:reset(pos)
|
|||||||
local owned_by = meta:get_string("owner")
|
local owned_by = meta:get_string("owner")
|
||||||
|
|
||||||
if owned_by and owned_by ~= "" then
|
if owned_by and owned_by ~= "" then
|
||||||
owned_by = " " .. S("(owned by @1)", meta:get_string("owner"))
|
owned_by = (" (%s)"):format(S("owned by @1", meta:get_string("owner")))
|
||||||
else
|
else
|
||||||
owned_by = ""
|
owned_by = ""
|
||||||
end
|
end
|
||||||
@ -178,7 +178,7 @@ function circular_saw:update_inventory(pos, amount)
|
|||||||
local owned_by = meta:get_string("owner")
|
local owned_by = meta:get_string("owner")
|
||||||
|
|
||||||
if owned_by and owned_by ~= "" then
|
if owned_by and owned_by ~= "" then
|
||||||
owned_by = " " .. S("(owned by @1)", meta:get_string("owner"))
|
owned_by = (" (%s)"):format(S("owned by @1", meta:get_string("owner")))
|
||||||
else
|
else
|
||||||
owned_by = ""
|
owned_by = ""
|
||||||
end
|
end
|
||||||
@ -445,7 +445,7 @@ minetest.register_node("moreblocks:circular_saw", {
|
|||||||
local owned_by = owner
|
local owned_by = owner
|
||||||
|
|
||||||
if owner ~= "" then
|
if owner ~= "" then
|
||||||
owned_by = " " .. S("(owned by @1)", owner)
|
owned_by = (" (%s)"):format(S("owned by @1", owner))
|
||||||
end
|
end
|
||||||
|
|
||||||
meta:set_string("owner", owner)
|
meta:set_string("owner", owner)
|
||||||
|
@ -49,8 +49,8 @@ msgid "Set"
|
|||||||
msgstr "Ok"
|
msgstr "Ok"
|
||||||
|
|
||||||
#: circular_saw.lua
|
#: circular_saw.lua
|
||||||
msgid "(owned by @1)"
|
msgid "owned by @1"
|
||||||
msgstr "(gehört @1)"
|
msgstr "gehört @1"
|
||||||
|
|
||||||
#: circular_saw.lua
|
#: circular_saw.lua
|
||||||
msgid "Circular Saw is empty"
|
msgid "Circular Saw is empty"
|
||||||
|
@ -45,7 +45,7 @@ msgid "Set"
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: circular_saw.lua
|
#: circular_saw.lua
|
||||||
msgid "(owned by @1)"
|
msgid "owned by @1"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: circular_saw.lua
|
#: circular_saw.lua
|
||||||
|
@ -50,8 +50,8 @@ msgid "Set"
|
|||||||
msgstr "Définir"
|
msgstr "Définir"
|
||||||
|
|
||||||
#: circular_saw.lua
|
#: circular_saw.lua
|
||||||
msgid "(owned by @1)"
|
msgid "owned by @1"
|
||||||
msgstr "(propriété de @1)"
|
msgstr "propriété de @1"
|
||||||
|
|
||||||
#: circular_saw.lua
|
#: circular_saw.lua
|
||||||
msgid "Circular Saw is empty"
|
msgid "Circular Saw is empty"
|
||||||
|
@ -49,7 +49,7 @@ msgid "Set"
|
|||||||
msgstr "Imp."
|
msgstr "Imp."
|
||||||
|
|
||||||
#: circular_saw.lua
|
#: circular_saw.lua
|
||||||
msgid "(owned by @1)"
|
msgid "owned by @1"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: circular_saw.lua
|
#: circular_saw.lua
|
||||||
|
@ -50,8 +50,8 @@ msgid "Set"
|
|||||||
msgstr "ОК"
|
msgstr "ОК"
|
||||||
|
|
||||||
#: circular_saw.lua
|
#: circular_saw.lua
|
||||||
msgid "(owned by @1)"
|
msgid "owned by @1"
|
||||||
msgstr "(принадлежит @1)"
|
msgstr "принадлежит @1"
|
||||||
|
|
||||||
#: circular_saw.lua
|
#: circular_saw.lua
|
||||||
msgid "Circular Saw is empty"
|
msgid "Circular Saw is empty"
|
||||||
|
@ -44,7 +44,7 @@ msgid "Set"
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: circular_saw.lua
|
#: circular_saw.lua
|
||||||
msgid "(owned by @1)"
|
msgid "owned by @1"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: circular_saw.lua
|
#: circular_saw.lua
|
||||||
|
Loading…
Reference in New Issue
Block a user