From 418368fbc532e455b5ed74cf491f10bd338768bb Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Mon, 25 Mar 2019 12:15:37 +0100 Subject: [PATCH] Squash daylight sensor help pages to 1 page --- mods/ITEMS/REDSTONE/mesecons_solarpanel/init.lua | 12 +++++++----- .../locale/mesecons_solarpanel.de.tr | 7 +++---- .../REDSTONE/mesecons_solarpanel/locale/template.txt | 5 ++--- 3 files changed, 12 insertions(+), 12 deletions(-) diff --git a/mods/ITEMS/REDSTONE/mesecons_solarpanel/init.lua b/mods/ITEMS/REDSTONE/mesecons_solarpanel/init.lua index fa29e05c5..0ea8ba63d 100644 --- a/mods/ITEMS/REDSTONE/mesecons_solarpanel/init.lua +++ b/mods/ITEMS/REDSTONE/mesecons_solarpanel/init.lua @@ -59,8 +59,9 @@ minetest.register_node("mesecons_solarpanel:solar_panel_off", { }, groups = {handy=1,axey=1, material_wood=1}, description=S("Daylight Sensor"), - _doc_items_longdesc = S("Daylight sensors are redstone components which provide redstone power when they are in sunlight and no power otherwise. They can also be inverted."), - _doc_items_usagehelp = S("Use the daylight sensor to turn it into an inverted daylight sensor, which supplies redstone energy when it is in moonlight."), + _doc_items_longdesc = S("Daylight sensors are redstone components which provide redstone power when they are in sunlight and no power otherwise. They can also be inverted.").."\n".. + S("In inverted state, they provide redstone power when they are not in sunlight and no power otherwise."), + _doc_items_usagehelp = S("Use the daylight sensor to toggle its state."), sounds = mcl_sounds.node_sound_glass_defaults(), mesecons = {receptor = { state = mesecon.state.off, @@ -177,8 +178,7 @@ minetest.register_node("mesecons_solarpanel:solar_panel_inverted_off", { drop = "mesecons_solarpanel:solar_panel_off", groups = {handy=1,axey=1, not_in_creative_inventory=1, material_wood=1}, description=S("Inverted Daylight Sensor"), - _doc_items_longdesc = S("An inverted daylight sensor is a variant of the daylight sensor. It is a redstone component which provides redstone power when it in moonlight and no power otherwise. It can turned back into an ordinary daylight sensor."), - _doc_items_usagehelp = S("Use the inverted daylight sensor to turn it into a daylight sensor."), + _doc_items_create_entry = false, sounds = mcl_sounds.node_sound_glass_defaults(), mesecons = {receptor = { state = mesecon.state.off, @@ -235,5 +235,7 @@ minetest.register_craft({ if minetest.get_modpath("doc") then doc.add_entry_alias("nodes", "mesecons_solarpanel:solar_panel_off", "nodes", "mesecons_solarpanel:solar_panel_on") - doc.add_entry_alias("nodes", "mesecons_solarpanel:solar_panel_inverted_off", "nodes", "mesecons_solarpanel:solar_panel_inverted_on") + doc.add_entry_alias("nodes", "mesecons_solarpanel:solar_panel_off", "nodes", "mesecons_solarpanel:solar_panel_inverted_off") + doc.add_entry_alias("nodes", "mesecons_solarpanel:solar_panel_off", "nodes", "mesecons_solarpanel:solar_panel_inverted_off") + doc.add_entry_alias("nodes", "mesecons_solarpanel:solar_panel_off", "nodes", "mesecons_solarpanel:solar_panel_inverted_on") end diff --git a/mods/ITEMS/REDSTONE/mesecons_solarpanel/locale/mesecons_solarpanel.de.tr b/mods/ITEMS/REDSTONE/mesecons_solarpanel/locale/mesecons_solarpanel.de.tr index 8b1a342c7..b9272882a 100644 --- a/mods/ITEMS/REDSTONE/mesecons_solarpanel/locale/mesecons_solarpanel.de.tr +++ b/mods/ITEMS/REDSTONE/mesecons_solarpanel/locale/mesecons_solarpanel.de.tr @@ -1,7 +1,6 @@ # textdomain: mesecons_solarpanel Daylight Sensor=Tageslichtsensor -Daylight sensors are redstone components which provide redstone power when they are in sunlight and no power otherwise. They can also be inverted.=Tageslichtsensoren sind Redstonekomponenten, die Redstoneenergie liefern, wenn sie im Sonnenlicht stehen, sonst nicht. -Use the daylight sensor to turn it into an inverted daylight sensor, which supplies redstone energy when it is in moonlight.=Benutzen Sie den Tageslichtsensor, um ihn zu einen invertierten Tageslichtsensor umzuwandeln, der Redstoneenergie liefert, wenn er sich im Mondlicht befindet. +Daylight sensors are redstone components which provide redstone power when they are in sunlight and no power otherwise. They can also be inverted.=Tageslichtsensoren sind Redstonekomponenten, die Redstoneenergie liefern, wenn sie im Sonnenlicht stehen, sonst nicht. Sie können auch invertiert werden. Inverted Daylight Sensor=Invertierter Tageslichtsensor -An inverted daylight sensor is a variant of the daylight sensor. It is a redstone component which provides redstone power when it in moonlight and no power otherwise. It can turned back into an ordinary daylight sensor.=Ein invertierter Tageslichtsensor ist eine Variante des Tageslichtsensors. Er ist eine Redstonekomponente, die Redstoneenergie liefert, wenn er sich im Mondlicht befindet, sonst nicht. Er kann zurück zu einem gewöhnlichen Tageslichtsensor umgewandelt werden. -Use the inverted daylight sensor to turn it into a daylight sensor.=Benutzen Sie den Tageslichtsensor, um ihn zu einem Tageslichtsensor umzuwandeln. +Use the daylight sensor to toggle its state.=Benutzen Sie den Tageslichtsensor, um seinen Zustand umzuschalten. +In inverted state, they provide redstone power when they are not in sunlight and no power otherwise.=Im invertierten Zustand erzeugen sie Redstoneenergie, wenn sie sich nicht im Tageslicht befinden, ansonsten nicht. diff --git a/mods/ITEMS/REDSTONE/mesecons_solarpanel/locale/template.txt b/mods/ITEMS/REDSTONE/mesecons_solarpanel/locale/template.txt index 4ad3b24c4..b776f5074 100644 --- a/mods/ITEMS/REDSTONE/mesecons_solarpanel/locale/template.txt +++ b/mods/ITEMS/REDSTONE/mesecons_solarpanel/locale/template.txt @@ -1,7 +1,6 @@ # textdomain: mesecons_solarpanel Daylight Sensor= Daylight sensors are redstone components which provide redstone power when they are in sunlight and no power otherwise. They can also be inverted.= -Use the daylight sensor to turn it into an inverted daylight sensor, which supplies redstone energy when it is in moonlight.= +Use the daylight sensor to toggle its state.= Inverted Daylight Sensor= -An inverted daylight sensor is a variant of the daylight sensor. It is a redstone component which provides redstone power when it in moonlight and no power otherwise. It can turned back into an ordinary daylight sensor.= -Use the inverted daylight sensor to turn it into a daylight sensor.= +In inverted state, they provide redstone power when they are not in sunlight and no power otherwise.=