New translation system, part 2: Environment, help

This commit is contained in:
Wuzzy 2019-03-07 20:55:56 +01:00
parent 1217d9fa88
commit d691490016
6 changed files with 62 additions and 62 deletions

View file

@ -1,2 +1 @@
doc
intllib?

View file

@ -1,10 +1,4 @@
-- Boilerplate to support localized strings if intllib mod is installed.
local S
if minetest.get_modpath("intllib") then
S = intllib.Getter()
else
S = function(s) return s end
end
local S = minetest.get_translator("mcl_doc_basics")
doc.add_category("basics",
{