From 1049280eeba4d78fed1fdc15a89a5e3d2ecd7357 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Diego=20Mart=C3=ADnez?= Date: Tue, 21 Feb 2017 04:45:45 -0300 Subject: Update to new intllib API. --- api.lua | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) (limited to 'api.lua') diff --git a/api.lua b/api.lua index 4043f79..af5e405 100644 --- a/api.lua +++ b/api.lua @@ -14,10 +14,8 @@ -- 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. -- --- The global award namespace -awards = { - show_mode = "hud" -} +local S = awards.gettext + dofile(minetest.get_modpath("awards").."/api_helpers.lua") -- Table Save Load Functions @@ -29,11 +27,6 @@ function awards.save() end end -local S = function(s) return s end -function awards.set_intllib(locale) - S = locale -end - function awards.init() awards.players = awards.load() awards.def = {} -- cgit v1.2.3