diff options
author | Diego MartÃnez <kaeza@users.noreply.github.com> | 2017-02-21 04:45:45 -0300 |
---|---|---|
committer | rubenwardy <rubenwardy@gmail.com> | 2017-02-23 22:48:13 +0000 |
commit | 1049280eeba4d78fed1fdc15a89a5e3d2ecd7357 (patch) | |
tree | b2a95f5ad8ef98c81cd48faa7dfaa5610d910a7c /api.lua | |
parent | 7fd56ac3d0730482ea9af086c0e8630ac3426af7 (diff) |
Update to new intllib API.
Diffstat (limited to 'api.lua')
-rw-r--r-- | api.lua | 11 |
1 files changed, 2 insertions, 9 deletions
@@ -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 = {} |