Update to new intllib API.

This commit is contained in:
Diego Martínez
2017-02-21 04:45:45 -03:00
committed by rubenwardy
parent 7fd56ac3d0
commit 1049280eeb
7 changed files with 89 additions and 87 deletions

View File

@ -14,12 +14,7 @@
-- 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
--
local S
if minetest.get_modpath("intllib") then
S = intllib.Getter()
else
S = function ( s ) return s end
end
local S = awards.gettext
minetest.register_chatcommand("awards", {
params = S("[c|clear|disable|enable]"),