From 8ee1521f14bd85c65274f5a3340d835be66ed245 Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Sat, 16 Mar 2019 02:44:52 +0100 Subject: [PATCH] Translation: Add support for horse armor --- mods/ENTITIES/mobs_mc/1_items_default.lua | 12 ++++++------ mods/ENTITIES/mobs_mc/locale/mobs_mc.de.tr | 6 ++++++ mods/ENTITIES/mobs_mc/locale/template.txt | 6 ++++++ 3 files changed, 18 insertions(+), 6 deletions(-) diff --git a/mods/ENTITIES/mobs_mc/1_items_default.lua b/mods/ENTITIES/mobs_mc/1_items_default.lua index 3a58bd493..9a36256ac 100644 --- a/mods/ENTITIES/mobs_mc/1_items_default.lua +++ b/mods/ENTITIES/mobs_mc/1_items_default.lua @@ -278,8 +278,8 @@ local horse_armor_use = "Rightclick a horse to put on the horse armor. Donkeys a -- TODO: Balance the horse armor strength, compare with MC armor strength if c("iron_horse_armor") then minetest.register_craftitem("mobs_mc:iron_horse_armor", { - description = "Iron Horse Armor", - _doc_items_longdesc = "Iron horse armor can be worn by horses to increase their protection from harm a bit.", + description = S("Iron Horse Armor"), + _doc_items_longdesc = S("Iron horse armor can be worn by horses to increase their protection from harm a bit."), _doc_items_usagehelp = horse_armor_use, inventory_image = "mobs_mc_iron_horse_armor.png", _horse_overlay_image = "mobs_mc_horse_armor_iron.png", @@ -289,8 +289,8 @@ if c("iron_horse_armor") then end if c("gold_horse_armor") then minetest.register_craftitem("mobs_mc:gold_horse_armor", { - description = "Golden Horse Armor", - _doc_items_longdesc = "Golden horse armor can be worn by horses to increase their protection from harm.", + description = S("Golden Horse Armor"), + _doc_items_longdesc = S("Golden horse armor can be worn by horses to increase their protection from harm."), _doc_items_usagehelp = horse_armor_use, inventory_image = "mobs_mc_gold_horse_armor.png", _horse_overlay_image = "mobs_mc_horse_armor_gold.png", @@ -300,8 +300,8 @@ if c("gold_horse_armor") then end if c("diamond_horse_armor") then minetest.register_craftitem("mobs_mc:diamond_horse_armor", { - description = "Diamond Horse Armor", - _doc_items_longdesc = "Diamond horse armor can be worn by horses to greatly increase their protection from harm.", + description = S("Diamond Horse Armor"), + _doc_items_longdesc = S("Diamond horse armor can be worn by horses to greatly increase their protection from harm."), _doc_items_usagehelp = horse_armor_use, inventory_image = "mobs_mc_diamond_horse_armor.png", _horse_overlay_image = "mobs_mc_horse_armor_diamond.png", diff --git a/mods/ENTITIES/mobs_mc/locale/mobs_mc.de.tr b/mods/ENTITIES/mobs_mc/locale/mobs_mc.de.tr index c5b6e73c9..ce21cf817 100644 --- a/mods/ENTITIES/mobs_mc/locale/mobs_mc.de.tr +++ b/mods/ENTITIES/mobs_mc/locale/mobs_mc.de.tr @@ -52,3 +52,9 @@ Wolf=Wolf Husk=Wüstenzombie Zombie=Zombie Zombie Pigman=Schweinezombie +Iron Horse Armor=Eisenpferderüstung +Iron horse armor can be worn by horses to increase their protection from harm a bit.=Eine Eisenpferderüstung kann von Pferden getragen werden, um ihren Schutz vor Schaden etwas zu erhöhen. +Golden Horse Armor=Goldpferderüstung +Golden horse armor can be worn by horses to increase their protection from harm.=Eine Goldpferderüstung kann von Pferden getragen werden, um ihren Schutz vor Schaden zu erhöhen. +Diamond Horse Armor=Diamantpferderüstung +Diamond horse armor can be worn by horses to greatly increase their protection from harm.=Eine Diamantpferderüstung kann von Pferden getragen werden, um ihren Schutz vor Schaden beträchtlich zu erhöhen. diff --git a/mods/ENTITIES/mobs_mc/locale/template.txt b/mods/ENTITIES/mobs_mc/locale/template.txt index 0b80aef62..6b36cc8fd 100644 --- a/mods/ENTITIES/mobs_mc/locale/template.txt +++ b/mods/ENTITIES/mobs_mc/locale/template.txt @@ -52,3 +52,9 @@ Wolf= Husk= Zombie= Zombie Pigman= +Iron Horse Armor= +Iron horse armor can be worn by horses to increase their protection from harm a bit.= +Golden Horse Armor= +Golden horse armor can be worn by horses to increase their protection from harm.= +Diamond Horse Armor= +Diamond horse armor can be worn by horses to greatly increase their protection from harm.=