diff --git a/mods/ITEMS/mcl_shields/init.lua b/mods/ITEMS/mcl_shields/init.lua index e1b790049..7f6cd44b1 100644 --- a/mods/ITEMS/mcl_shields/init.lua +++ b/mods/ITEMS/mcl_shields/init.lua @@ -456,10 +456,30 @@ minetest.register_craft({ } }) +local color_names = { + ["white"] = S("White Shield"), + ["grey"] = S("Grey Shield"), + ["silver"] = S("Light Grey Shield"), + ["black"] = S("Black Shield"), + ["red"] = S("Red Shield"), + ["yellow"] = S("Yellow Shield"), + ["green"] = S("Green Shield"), + ["cyan"] = S("Cyan Shield"), + ["blue"] = S("Blue Shield"), + ["magenta"] = S("Magenta Shield"), + ["orange"] = S("Orange Shield"), + ["purple"] = S("Purple Shield"), + ["brown"] = S("Brown Shield"), + ["pink"] = S("Pink Shield"), + ["lime"] = S("Lime Shield"), + ["light_blue"] = S("Light Blue Shield"), +} + + for _, colortab in pairs(mcl_banners.colors) do local color = colortab[1] minetest.register_tool("mcl_shields:shield_" .. color, { - description = S(colortab[6] .. " Shield"), + description = color_names[color], _doc_items_longdesc = S("A shield is a tool used for protecting the player against attacks."), inventory_image = "mcl_shield.png^(mcl_shield_item_overlay.png^[colorize:" .. colortab[4] ..")", stack_max = 1, diff --git a/mods/ITEMS/mcl_shields/locale/mcl_shields.de.tr b/mods/ITEMS/mcl_shields/locale/mcl_shields.de.tr index 06d633418..2a4deccc0 100644 --- a/mods/ITEMS/mcl_shields/locale/mcl_shields.de.tr +++ b/mods/ITEMS/mcl_shields/locale/mcl_shields.de.tr @@ -1,10 +1,6 @@ # textdomain: mcl_shields Shield=Schild A shield is a tool used for protecting the player against attacks.=Der Schild ist eine Schutzwaffe, die den Spieler vor Angriffen schützt. - - -##### not used anymore ##### - White Shield=Weißer Schild Grey Shield=Grauer Schild Light Grey Shield=Hellgrauer Schild diff --git a/mods/ITEMS/mcl_shields/locale/mcl_shields.es.tr b/mods/ITEMS/mcl_shields/locale/mcl_shields.es.tr index 050086534..be941b20a 100644 --- a/mods/ITEMS/mcl_shields/locale/mcl_shields.es.tr +++ b/mods/ITEMS/mcl_shields/locale/mcl_shields.es.tr @@ -1,10 +1,6 @@ # textdomain: mcl_shields Shield=Escudo A shield is a tool used for protecting the player against attacks.=Un escudo es una herramienta usada para proteger al jugador de ataques. - - -##### not used anymore ##### - White Shield=Escudo blanco Grey Shield=Escudo gris Light Grey Shield=Escudo gris claro diff --git a/mods/ITEMS/mcl_shields/locale/mcl_shields.fr.tr b/mods/ITEMS/mcl_shields/locale/mcl_shields.fr.tr index 28aef8f5a..a512b94b7 100644 --- a/mods/ITEMS/mcl_shields/locale/mcl_shields.fr.tr +++ b/mods/ITEMS/mcl_shields/locale/mcl_shields.fr.tr @@ -1,10 +1,6 @@ # textdomain: mcl_shields Shield=Bouclier A shield is a tool used for protecting the player against attacks.=Un bouclier est un outil utilisé pour protéger le joueur contre les attaques. - - -##### not used anymore ##### - White Shield=Bouclier Blanc Grey Shield=Bouclier Gris Light Grey Shield=Bouclier Gris Clair diff --git a/mods/ITEMS/mcl_shields/locale/mcl_shields.ja.tr b/mods/ITEMS/mcl_shields/locale/mcl_shields.ja.tr index 6c609fc97..794139e38 100644 --- a/mods/ITEMS/mcl_shields/locale/mcl_shields.ja.tr +++ b/mods/ITEMS/mcl_shields/locale/mcl_shields.ja.tr @@ -1,10 +1,6 @@ # textdomain: mcl_shields Shield=盾 A shield is a tool used for protecting the player against attacks.=盾は、攻撃からプレイヤーを守るために使う道具です。 - - -##### not used anymore ##### - White Shield=盾(白色) Grey Shield=盾(灰色) Light Grey Shield=盾(薄灰色) diff --git a/mods/ITEMS/mcl_shields/locale/mcl_shields.nb.tr b/mods/ITEMS/mcl_shields/locale/mcl_shields.nb.tr index c15c66ae1..6661f3f01 100644 --- a/mods/ITEMS/mcl_shields/locale/mcl_shields.nb.tr +++ b/mods/ITEMS/mcl_shields/locale/mcl_shields.nb.tr @@ -1,10 +1,6 @@ # textdomain: mcl_shields Shield=Skjold A shield is a tool used for protecting the player against attacks.=Et skjold er et verktøy som brukes for å beskytte spilleren mot angrep. - - -##### not used anymore ##### - White Shield=Hvitt skjold Grey Shield=Grått skjold Light Grey Shield=Lysegrått skjold diff --git a/mods/ITEMS/mcl_shields/locale/mcl_shields.pt_BR.tr b/mods/ITEMS/mcl_shields/locale/mcl_shields.pt_BR.tr index 339370225..1f3c3f09e 100644 --- a/mods/ITEMS/mcl_shields/locale/mcl_shields.pt_BR.tr +++ b/mods/ITEMS/mcl_shields/locale/mcl_shields.pt_BR.tr @@ -1,10 +1,6 @@ # textdomain: mcl_shields Shield=Escudo A shield is a tool used for protecting the player against attacks.=Um escudo é uma ferramenta usada para a proteção do jogador contra ataques. - - -##### not used anymore ##### - White Shield=Escudo Branco Grey Shield=Escudo Cinza Light Grey Shield=Escudo Cinza Claro diff --git a/mods/ITEMS/mcl_shields/locale/mcl_shields.ru.tr b/mods/ITEMS/mcl_shields/locale/mcl_shields.ru.tr index 60333f05a..bd99547d0 100644 --- a/mods/ITEMS/mcl_shields/locale/mcl_shields.ru.tr +++ b/mods/ITEMS/mcl_shields/locale/mcl_shields.ru.tr @@ -1,10 +1,6 @@ # textdomain: mcl_shields Shield=Щит A shield is a tool used for protecting the player against attacks.=Щит это инструмент, используемый для защиты игрока от атак. - - -##### not used anymore ##### - White Shield=Белый щит Grey Shield=Серый щит Light Grey Shield=Светло-серый щит diff --git a/mods/ITEMS/mcl_shields/locale/mcl_shields.zh_CN.tr b/mods/ITEMS/mcl_shields/locale/mcl_shields.zh_CN.tr index f8217f0e5..f1b8b0008 100644 --- a/mods/ITEMS/mcl_shields/locale/mcl_shields.zh_CN.tr +++ b/mods/ITEMS/mcl_shields/locale/mcl_shields.zh_CN.tr @@ -1,10 +1,6 @@ # textdomain: mcl_shields Shield=盾牌 A shield is a tool used for protecting the player against attacks.=盾牌是一种用于保护玩家免受攻击的工具。 - - -##### not used anymore ##### - White Shield=白色盾牌 Grey Shield=灰色盾牌 Light Grey Shield=浅灰色盾牌 diff --git a/mods/ITEMS/mcl_shields/locale/template.txt b/mods/ITEMS/mcl_shields/locale/template.txt index 9a9b508c5..bcf7b1b54 100644 --- a/mods/ITEMS/mcl_shields/locale/template.txt +++ b/mods/ITEMS/mcl_shields/locale/template.txt @@ -1,3 +1,19 @@ # textdomain: mcl_shields Shield= A shield is a tool used for protecting the player against attacks.= +White Shield= +Grey Shield= +Light Grey Shield= +Black Shield= +Red Shield= +Yellow Shield= +Green Shield= +Cyan Shield= +Blue Shield= +Magenta Shield= +Orange Shield= +Purple Shield= +Brown Shield= +Pink Shield= +Lime Shield= +Light Blue Shield=