mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-25 20:11:06 +01:00
Allow translating trim names, add some German translations of trims
This commit is contained in:
parent
2b44abbceb
commit
adf64e81cd
4 changed files with 65 additions and 5 deletions
|
@ -58,10 +58,24 @@ mcl_armor = {
|
|||
},
|
||||
player_view_range_factors = {},
|
||||
trims = {
|
||||
core_textures = {},
|
||||
blacklisted = {["mcl_armor:elytra"]=true, ["mcl_armor:elytra_enchanted"]=true},
|
||||
core_textures = {},
|
||||
blacklisted = {["mcl_armor:elytra"]=true, ["mcl_armor:elytra_enchanted"]=true},
|
||||
overlays = {"sentry","dune","coast","wild","tide","ward","vex","rib","snout","eye","spire","silence","wayfinder"},
|
||||
colors = {["amethyst"]="#8246a5",["gold"]="#ce9627",["emerald"]="#1b9958",["copper"]="#c36447",["diamond"]="#5faed8",["iron"]="#938e88",["lapis"]="#1c306b",["netherite"]="#302a26",["quartz"]="#c9bcb9",["redstone"]="#af2c23"},
|
||||
translations = {
|
||||
sentry = S("sentry"),
|
||||
dune = S("dune"),
|
||||
coast = S("coast"),
|
||||
wild = S("wild"),
|
||||
ward = S("ward"),
|
||||
vex = S("vex"),
|
||||
rib = S("rib"),
|
||||
snout = S("snout"),
|
||||
eye = S("eye"),
|
||||
spire = S("spire"),
|
||||
silence = S("silence"),
|
||||
wayfinder = S("wayfinder"),
|
||||
},
|
||||
colors = {["amethyst"]="#8246a5",["gold"]="#ce9627",["emerald"]="#1b9958",["copper"]="#c36447",["diamond"]="#5faed8",["iron"]="#938e88",["lapis"]="#1c306b",["netherite"]="#302a26",["quartz"]="#c9bcb9",["redstone"]="#af2c23"},
|
||||
},
|
||||
}
|
||||
|
||||
|
|
|
@ -2,4 +2,38 @@
|
|||
Blast Protection=Explosionsschutz
|
||||
Projectile Protection=Projektilschutz
|
||||
Thorns=Dornen
|
||||
This is a piece of equippable armor which reduces the amount of damage you receive.=Dies ist ein Teil einer tragbaren Rüstung, die die Menge an Schaden, den Sie erleiden, reduziert.
|
||||
To equip it, put it on the corresponding armor slot in your inventory menu.=Um es zu tragen, legen Sie es in den passenden Rüstungsplatz in Ihrem Inventarmenü.
|
||||
sentry=
|
||||
dune=
|
||||
coast=Küste
|
||||
wild=
|
||||
ward=Bezirk
|
||||
vex=
|
||||
rib=
|
||||
snout=
|
||||
eye=Auge
|
||||
spire=
|
||||
silence=
|
||||
wayfinder=Pfadfinder
|
||||
Leather Cap=Lederkappe
|
||||
Iron Helmet=Eisenhelm
|
||||
Golden Helmet=Goldhelm
|
||||
Diamond Helmet=Diamanthelm
|
||||
Chain Helmet=Kettenhelm
|
||||
Leather Tunic=Ledertunika
|
||||
Iron Chestplate=Eisenbrustpanzer
|
||||
Golden Chestplate=Goldbrustpanzer
|
||||
Diamond Chestplate=Diamantbrustpanzer
|
||||
Chain Chestplate=Kettenbrustpanzer
|
||||
Leather Pants=Lederhose
|
||||
Iron Leggings=Eisenbeinlinge
|
||||
Golden Leggings=Goldbeinlinge
|
||||
Diamond Leggings=Diamantbeinlinge
|
||||
Chain Leggings=Kettenbeinlinge
|
||||
Leather Boots=Lederstiefel
|
||||
Iron Boots=Eisenstiefel
|
||||
Golden Boots=Goldstiefel
|
||||
Diamond Boots=Diamantstiefel
|
||||
Chain Boots=Kettenstiefel
|
||||
Smithing Template '@1'=Schmiedevorlage '@1'
|
||||
|
|
|
@ -1,6 +1,18 @@
|
|||
# textdomain: mcl_armor
|
||||
This is a piece of equippable armor which reduces the amount of damage you receive.=
|
||||
To equip it, put it on the corresponding armor slot in your inventory menu.=
|
||||
sentry=
|
||||
dune=
|
||||
coast=
|
||||
wild=
|
||||
ward=
|
||||
vex=
|
||||
rib=
|
||||
snout=
|
||||
eye=
|
||||
spire=
|
||||
silence=
|
||||
wayfinder=
|
||||
Leather Cap=
|
||||
Iron Helmet=
|
||||
Golden Helmet=
|
||||
|
|
|
@ -3,7 +3,7 @@ local S = minetest.get_translator(minetest.get_current_modna
|
|||
|
||||
for _, template_name in pairs(mcl_armor.trims.overlays) do
|
||||
minetest.register_craftitem(mod_registername .. template_name, {
|
||||
description = S("Smithing Template '@1'", template_name),
|
||||
description = S("Smithing Template '@1'", mcl_armor.trims.translations[template_name]),
|
||||
inventory_image = template_name .. "_armor_trim_smithing_template.png",
|
||||
})
|
||||
|
||||
|
|
Loading…
Reference in a new issue