diff --git a/mods/ENTITIES/mcl_falling_nodes/init.lua b/mods/ENTITIES/mcl_falling_nodes/init.lua index 35355c790..540745673 100644 --- a/mods/ENTITIES/mcl_falling_nodes/init.lua +++ b/mods/ENTITIES/mcl_falling_nodes/init.lua @@ -49,12 +49,12 @@ local deal_falling_damage = function(self, dtime) -- TODO: Reduce damage if wearing a helmet local msg if minetest.get_item_group(self.node.name, "anvil") ~= 0 then - msg = S("%s was smashed by a falling anvil.") + msg = S("@1 was smashed by a falling anvil.", v:get_player_name()) else - msg = S("%s was smashed by a falling block.") + msg = S("@1 was smashed by a falling block.", v:get_player_name()) end if dmes then - mcl_death_messages.player_damage(v, string.format(msg, v:get_player_name())) + mcl_death_messages.player_damage(v, msg) end end v:set_hp(hp) diff --git a/mods/ENTITIES/mcl_falling_nodes/locale/mcl_falling_nodes.de.tr b/mods/ENTITIES/mcl_falling_nodes/locale/mcl_falling_nodes.de.tr index 66cf8a2ae..71dfa4be9 100644 --- a/mods/ENTITIES/mcl_falling_nodes/locale/mcl_falling_nodes.de.tr +++ b/mods/ENTITIES/mcl_falling_nodes/locale/mcl_falling_nodes.de.tr @@ -1,3 +1,3 @@ # textdomain: mcl_falling_nodes -%s was smashed by a falling anvil.=%s wurde von einem fallenden Amboss zerschmettert. -%s was smashed by a falling block.=%s wurde von einem fallenden Block zerschmettert. +@1 was smashed by a falling anvil.=@1 wurde von einem fallenden Amboss zerschmettert. +@1 was smashed by a falling block.=@1 wurde von einem fallenden Block zerschmettert. diff --git a/mods/ENTITIES/mcl_falling_nodes/locale/template.txt b/mods/ENTITIES/mcl_falling_nodes/locale/template.txt index 040742c69..4adabaf01 100644 --- a/mods/ENTITIES/mcl_falling_nodes/locale/template.txt +++ b/mods/ENTITIES/mcl_falling_nodes/locale/template.txt @@ -1,3 +1,3 @@ # textdomain: mcl_falling_nodes -%s was smashed by a falling anvil.= -%s was smashed by a falling block.= +@1 was smashed by a falling anvil.= +@1 was smashed by a falling block.=