From 26cc48a1b2ceece8759c9c7af03d23dff16b2648 Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Mon, 12 Dec 2016 12:42:18 +0100 Subject: =?UTF-8?q?Rename=20modpack=20to=20=E2=80=9CHelp=E2=80=9D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- init.lua | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'init.lua') diff --git a/init.lua b/init.lua index 4c0351d..f8c7976 100644 --- a/init.lua +++ b/init.lua @@ -37,7 +37,7 @@ doc.FORMSPEC.ENTRY_HEIGHT = doc.FORMSPEC.ENTRY_END_Y - doc.FORMSPEC.ENTRY_START_ --TODO: Use container formspec element later -- Internal helper variables -local DOC_INTRO = string.format(S("This is the Documentation System, Version %s."), doc.VERSION.STRING) +local DOC_INTRO = S("This is the help.") local CATEGORYFIELDSIZE = { WIDTH = 4, @@ -746,7 +746,7 @@ function doc.formspec_error_no_categories() minetest.formspec_escape( DOC_INTRO .. "\n\n" .. S("Error: No help available.") .. "\n\n" .. -S("No categories have been registered, but the Documentation System is useless without them.\nThe main Documentation System mod (doc) does not come with help contents on its own, it needs additional mods to add help content. Please make sure such mods are enabled on for this world, and try again.")) .. "\n\n" .. +S("No categories have been registered, but they are required to provide help.\nThe Documentation System [doc] does not come with help contents on its own, it needs additional mods to add help content. Please make sure such mods are enabled on for this world, and try again.")) .. "\n\n" .. S("Recommended mods: doc_basics, doc_items, doc_identifier.") formstring = formstring .. ";]button_exit[3,5;2,1;okay;"..F("OK").."]" return formstring @@ -1135,7 +1135,7 @@ minetest.register_on_player_receive_fields(doc.process_form) minetest.register_chatcommand("doc", { params = "", - description = S("Open documentation system"), + description = S("Open help"), privs = {}, func = function(playername, param) doc.show_doc(playername) @@ -1206,7 +1206,7 @@ if minetest.get_modpath("unified_inventory") ~= nil then unified_inventory.register_button("doc", { type = "image", image = "doc_button_icon_hires.png", - tooltip = S("Documentation System"), + tooltip = S("Help"), action = button_action, }) end @@ -1216,7 +1216,7 @@ if minetest.get_modpath("sfinv_buttons") ~= nil then sfinv_buttons.register_button("doc", { image = "doc_button_icon_lores.png", tooltip = S("Collection of help texts"), - title = S("Documentation System"), + title = S("Help"), action = button_action, }) end -- cgit v1.2.3