From e6740678f64776c0a1e391ad47a6641ea214324e Mon Sep 17 00:00:00 2001 From: codexp Date: Fri, 13 Jul 2018 23:57:28 +0200 Subject: [PATCH] Remove parentheses from "owned by" translation --- circular_saw.lua | 6 +++--- locale/de.po | 4 ++-- locale/es.po | 2 +- locale/fr.po | 4 ++-- locale/it.po | 2 +- locale/ru.po | 4 ++-- locale/template.pot | 2 +- 7 files changed, 12 insertions(+), 12 deletions(-) diff --git a/circular_saw.lua b/circular_saw.lua index d75eea9..02ecf90 100644 --- a/circular_saw.lua +++ b/circular_saw.lua @@ -130,7 +130,7 @@ function circular_saw:reset(pos) local owned_by = meta:get_string("owner") 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 owned_by = "" end @@ -178,7 +178,7 @@ function circular_saw:update_inventory(pos, amount) local owned_by = meta:get_string("owner") 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 owned_by = "" end @@ -445,7 +445,7 @@ minetest.register_node("moreblocks:circular_saw", { local owned_by = owner if owner ~= "" then - owned_by = " " .. S("(owned by @1)", owner) + owned_by = (" (%s)"):format(S("owned by @1", owner)) end meta:set_string("owner", owner) diff --git a/locale/de.po b/locale/de.po index 33b237f..4de81bf 100644 --- a/locale/de.po +++ b/locale/de.po @@ -49,8 +49,8 @@ msgid "Set" msgstr "Ok" #: circular_saw.lua -msgid "(owned by @1)" -msgstr "(gehört @1)" +msgid "owned by @1" +msgstr "gehört @1" #: circular_saw.lua msgid "Circular Saw is empty" diff --git a/locale/es.po b/locale/es.po index f7cabee..0c3fd0e 100644 --- a/locale/es.po +++ b/locale/es.po @@ -45,7 +45,7 @@ msgid "Set" msgstr "" #: circular_saw.lua -msgid "(owned by @1)" +msgid "owned by @1" msgstr "" #: circular_saw.lua diff --git a/locale/fr.po b/locale/fr.po index 4d3261b..3752604 100644 --- a/locale/fr.po +++ b/locale/fr.po @@ -50,8 +50,8 @@ msgid "Set" msgstr "Définir" #: circular_saw.lua -msgid "(owned by @1)" -msgstr "(propriété de @1)" +msgid "owned by @1" +msgstr "propriété de @1" #: circular_saw.lua msgid "Circular Saw is empty" diff --git a/locale/it.po b/locale/it.po index c27c316..04e3c0b 100644 --- a/locale/it.po +++ b/locale/it.po @@ -49,7 +49,7 @@ msgid "Set" msgstr "Imp." #: circular_saw.lua -msgid "(owned by @1)" +msgid "owned by @1" msgstr "" #: circular_saw.lua diff --git a/locale/ru.po b/locale/ru.po index 750fe62..9b3b93e 100644 --- a/locale/ru.po +++ b/locale/ru.po @@ -50,8 +50,8 @@ msgid "Set" msgstr "ОК" #: circular_saw.lua -msgid "(owned by @1)" -msgstr "(принадлежит @1)" +msgid "owned by @1" +msgstr "принадлежит @1" #: circular_saw.lua msgid "Circular Saw is empty" diff --git a/locale/template.pot b/locale/template.pot index 5a3e416..929569a 100644 --- a/locale/template.pot +++ b/locale/template.pot @@ -44,7 +44,7 @@ msgid "Set" msgstr "" #: circular_saw.lua -msgid "(owned by @1)" +msgid "owned by @1" msgstr "" #: circular_saw.lua