From 271cdbcf03b2080b9218d56ec38d97f6d7d8c430 Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Thu, 12 Nov 2020 12:23:38 +0100 Subject: [PATCH] Fix untranslated nether lava death msgs --- mods/ITEMS/mcl_nether/lava.lua | 8 ++++++++ mods/ITEMS/mcl_nether/locale/mcl_nether.de.tr | 2 ++ mods/ITEMS/mcl_nether/locale/template.txt | 2 ++ 3 files changed, 12 insertions(+) diff --git a/mods/ITEMS/mcl_nether/lava.lua b/mods/ITEMS/mcl_nether/lava.lua index ba76b749e..da85b8e3c 100644 --- a/mods/ITEMS/mcl_nether/lava.lua +++ b/mods/ITEMS/mcl_nether/lava.lua @@ -1,6 +1,12 @@ -- Lava in the Nether local S = minetest.get_translator("mcl_nether") +local N = function(s) return s end + +local msg = { + N("@1 has become one with the lava."), + N("@1 has been consumed by the lava."), +} -- TODO: Increase flow speed. This could be done by reducing viscosity, -- but this would also allow players to swim faster in lava. @@ -14,6 +20,7 @@ lava_src_def._doc_items_usagehelp = nil lava_src_def.liquid_range = 7 lava_src_def.liquid_alternative_source = "mcl_nether:nether_lava_source" lava_src_def.liquid_alternative_flowing = "mcl_nether:nether_lava_flowing" +lava_src_def._mcl_node_death_message = msg, minetest.register_node("mcl_nether:nether_lava_source", lava_src_def) local lava_flow_def = table.copy(minetest.registered_nodes["mcl_core:lava_flowing"]) @@ -22,6 +29,7 @@ lava_flow_def._doc_items_create_entry = false lava_flow_def.liquid_range = 7 lava_flow_def.liquid_alternative_flowing = "mcl_nether:nether_lava_flowing" lava_flow_def.liquid_alternative_source = "mcl_nether:nether_lava_source" +lava_flow_def._mcl_node_death_message = msg, minetest.register_node("mcl_nether:nether_lava_flowing", lava_flow_def) -- Add entry aliases for the Help diff --git a/mods/ITEMS/mcl_nether/locale/mcl_nether.de.tr b/mods/ITEMS/mcl_nether/locale/mcl_nether.de.tr index f81f381e2..bfa62488c 100644 --- a/mods/ITEMS/mcl_nether/locale/mcl_nether.de.tr +++ b/mods/ITEMS/mcl_nether/locale/mcl_nether.de.tr @@ -38,3 +38,5 @@ Place this item on soul sand to plant it and watch it grow.=Platzieren Sie den G Burns your feet=Verbrennt Ihre Füße Grows on soul sand=Wächst auf Seelensand Reduces walking speed=Reduziert das Schritttempo +@1 has become one with the lava.=@1 wurde eins mit der Lava. +@1 has been consumed by the lava.=@1 wurde von der Lava verzehrt. diff --git a/mods/ITEMS/mcl_nether/locale/template.txt b/mods/ITEMS/mcl_nether/locale/template.txt index 0d578faf1..7b5052166 100644 --- a/mods/ITEMS/mcl_nether/locale/template.txt +++ b/mods/ITEMS/mcl_nether/locale/template.txt @@ -38,3 +38,5 @@ Place this item on soul sand to plant it and watch it grow.= Burns your feet= Grows on soul sand= Reduces walking speed= +@1 has become one with the lava.= +@1 has been consumed by the lava.=