Add licensing headers to all files, fix intllib global variable warnings.

This commit is contained in:
Calinou
2015-01-11 22:21:33 +01:00
parent 41bb46fb36
commit b5d62de9d8
18 changed files with 153 additions and 44 deletions

View File

@ -1,9 +1,13 @@
local S -- Load translation library if intllib is installed:
if intllib then
S = intllib.Getter(minetest.get_current_modname())
else
S = function(s) return s end
end
--[[
======================================================================
This file is part of More Blocks.
Copyright (c) 2011-2015 Calinou and contributors.
Licensed under the zlib license. See LICENSE.md for more information.
======================================================================
--]]
local S = moreblocks.intllib
-- Node will be called <modname>:micro_<subname>