mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-12-23 00:19:32 +01:00
fix translation string extraction for shields
This commit is contained in:
parent
2c58e5c898
commit
0e4bd9028d
10 changed files with 37 additions and 33 deletions
|
@ -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
|
for _, colortab in pairs(mcl_banners.colors) do
|
||||||
local color = colortab[1]
|
local color = colortab[1]
|
||||||
minetest.register_tool("mcl_shields:shield_" .. color, {
|
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."),
|
_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] ..")",
|
inventory_image = "mcl_shield.png^(mcl_shield_item_overlay.png^[colorize:" .. colortab[4] ..")",
|
||||||
stack_max = 1,
|
stack_max = 1,
|
||||||
|
|
|
@ -1,10 +1,6 @@
|
||||||
# textdomain: mcl_shields
|
# textdomain: mcl_shields
|
||||||
Shield=Schild
|
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.
|
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
|
White Shield=Weißer Schild
|
||||||
Grey Shield=Grauer Schild
|
Grey Shield=Grauer Schild
|
||||||
Light Grey Shield=Hellgrauer Schild
|
Light Grey Shield=Hellgrauer Schild
|
||||||
|
|
|
@ -1,10 +1,6 @@
|
||||||
# textdomain: mcl_shields
|
# textdomain: mcl_shields
|
||||||
Shield=Escudo
|
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.
|
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
|
White Shield=Escudo blanco
|
||||||
Grey Shield=Escudo gris
|
Grey Shield=Escudo gris
|
||||||
Light Grey Shield=Escudo gris claro
|
Light Grey Shield=Escudo gris claro
|
||||||
|
|
|
@ -1,10 +1,6 @@
|
||||||
# textdomain: mcl_shields
|
# textdomain: mcl_shields
|
||||||
Shield=Bouclier
|
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.
|
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
|
White Shield=Bouclier Blanc
|
||||||
Grey Shield=Bouclier Gris
|
Grey Shield=Bouclier Gris
|
||||||
Light Grey Shield=Bouclier Gris Clair
|
Light Grey Shield=Bouclier Gris Clair
|
||||||
|
|
|
@ -1,10 +1,6 @@
|
||||||
# textdomain: mcl_shields
|
# textdomain: mcl_shields
|
||||||
Shield=盾
|
Shield=盾
|
||||||
A shield is a tool used for protecting the player against attacks.=盾は、攻撃からプレイヤーを守るために使う道具です。
|
A shield is a tool used for protecting the player against attacks.=盾は、攻撃からプレイヤーを守るために使う道具です。
|
||||||
|
|
||||||
|
|
||||||
##### not used anymore #####
|
|
||||||
|
|
||||||
White Shield=盾(白色)
|
White Shield=盾(白色)
|
||||||
Grey Shield=盾(灰色)
|
Grey Shield=盾(灰色)
|
||||||
Light Grey Shield=盾(薄灰色)
|
Light Grey Shield=盾(薄灰色)
|
||||||
|
|
|
@ -1,10 +1,6 @@
|
||||||
# textdomain: mcl_shields
|
# textdomain: mcl_shields
|
||||||
Shield=Skjold
|
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.
|
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
|
White Shield=Hvitt skjold
|
||||||
Grey Shield=Grått skjold
|
Grey Shield=Grått skjold
|
||||||
Light Grey Shield=Lysegrått skjold
|
Light Grey Shield=Lysegrått skjold
|
||||||
|
|
|
@ -1,10 +1,6 @@
|
||||||
# textdomain: mcl_shields
|
# textdomain: mcl_shields
|
||||||
Shield=Escudo
|
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.
|
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
|
White Shield=Escudo Branco
|
||||||
Grey Shield=Escudo Cinza
|
Grey Shield=Escudo Cinza
|
||||||
Light Grey Shield=Escudo Cinza Claro
|
Light Grey Shield=Escudo Cinza Claro
|
||||||
|
|
|
@ -1,10 +1,6 @@
|
||||||
# textdomain: mcl_shields
|
# textdomain: mcl_shields
|
||||||
Shield=Щит
|
Shield=Щит
|
||||||
A shield is a tool used for protecting the player against attacks.=Щит это инструмент, используемый для защиты игрока от атак.
|
A shield is a tool used for protecting the player against attacks.=Щит это инструмент, используемый для защиты игрока от атак.
|
||||||
|
|
||||||
|
|
||||||
##### not used anymore #####
|
|
||||||
|
|
||||||
White Shield=Белый щит
|
White Shield=Белый щит
|
||||||
Grey Shield=Серый щит
|
Grey Shield=Серый щит
|
||||||
Light Grey Shield=Светло-серый щит
|
Light Grey Shield=Светло-серый щит
|
||||||
|
|
|
@ -1,10 +1,6 @@
|
||||||
# textdomain: mcl_shields
|
# textdomain: mcl_shields
|
||||||
Shield=盾牌
|
Shield=盾牌
|
||||||
A shield is a tool used for protecting the player against attacks.=盾牌是一种用于保护玩家免受攻击的工具。
|
A shield is a tool used for protecting the player against attacks.=盾牌是一种用于保护玩家免受攻击的工具。
|
||||||
|
|
||||||
|
|
||||||
##### not used anymore #####
|
|
||||||
|
|
||||||
White Shield=白色盾牌
|
White Shield=白色盾牌
|
||||||
Grey Shield=灰色盾牌
|
Grey Shield=灰色盾牌
|
||||||
Light Grey Shield=浅灰色盾牌
|
Light Grey Shield=浅灰色盾牌
|
||||||
|
|
|
@ -1,3 +1,19 @@
|
||||||
# textdomain: mcl_shields
|
# textdomain: mcl_shields
|
||||||
Shield=
|
Shield=
|
||||||
A shield is a tool used for protecting the player against attacks.=
|
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=
|
||||||
|
|
Loading…
Reference in a new issue