From 15880db54810c4df1f1734c8b43d3db238a69474 Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Sun, 24 Mar 2019 10:40:07 +0100 Subject: [PATCH] Add new help text for stained glass panes --- mods/ITEMS/xpanes/init.lua | 4 ++-- mods/ITEMS/xpanes/locale/template.txt | 1 + mods/ITEMS/xpanes/locale/xpanes.de.tr | 1 + 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/mods/ITEMS/xpanes/init.lua b/mods/ITEMS/xpanes/init.lua index d4c7370f3..dd8eae756 100644 --- a/mods/ITEMS/xpanes/init.lua +++ b/mods/ITEMS/xpanes/init.lua @@ -172,17 +172,17 @@ local canonical_color = "blue" -- Register glass pane (stained and unstained) local pane = function(description, node, append) local texture1, longdesc, entry_name, create_entry - longdesc = S("Glass panes are thin layers of glass which neatly connect to their neighbors as you build them.") local is_canonical = true -- Special case: Default (unstained) glass texture if append == "_natural" then texture1 = "default_glass.png" + longdesc = S("Glass panes are thin layers of glass which neatly connect to their neighbors as you build them.") else if append ~= "_"..canonical_color then is_canonical = false - longdesc = nil create_entry = false else + longdesc = S("Stained glass panes are thin layers of stained glass which neatly connect to their neighbors as you build them. They come in many different colors.") entry_name = S("Stained Glass Pane") end texture1 = "mcl_core_glass"..append..".png" diff --git a/mods/ITEMS/xpanes/locale/template.txt b/mods/ITEMS/xpanes/locale/template.txt index 1c227e1c6..cae83797b 100644 --- a/mods/ITEMS/xpanes/locale/template.txt +++ b/mods/ITEMS/xpanes/locale/template.txt @@ -1,5 +1,6 @@ # textdomain: xpanes Glass panes are thin layers of glass which neatly connect to their neighbors as you build them.= +Stained glass panes are thin layers of stained glass which neatly connect to their neighbors as you build them. They come in many different colors.= Iron Bars= Iron bars neatly connect to their neighbors as you build them.= Glass Pane= diff --git a/mods/ITEMS/xpanes/locale/xpanes.de.tr b/mods/ITEMS/xpanes/locale/xpanes.de.tr index c6e8bbfa8..3c840b08c 100644 --- a/mods/ITEMS/xpanes/locale/xpanes.de.tr +++ b/mods/ITEMS/xpanes/locale/xpanes.de.tr @@ -1,5 +1,6 @@ # textdomain: xpanes Glass panes are thin layers of glass which neatly connect to their neighbors as you build them.=Glasscheiben sind dünne Glasschichten, die sich mit ihren Nachbarn automatisch verbinden. +Stained glass panes are thin layers of stained glass which neatly connect to their neighbors as you build them. They come in many different colors.=Farbglasscheiben sind dünne Schichten aus Farbglas, die sich mit ihren Nachbarn automatisch verbinden. Es gibt sie in vielen verschiedenen Farben. Iron Bars=Eisenstangen Iron bars neatly connect to their neighbors as you build them.=Eisenstangen verbinden sich mit den Nachbarn, wenn sie gebaut werden. Glass Pane=Glasscheibe