summaryrefslogtreecommitdiff
path: root/sfinv.lua
diff options
context:
space:
mode:
authorDiego Martínez <kaeza@users.noreply.github.com>2017-02-21 04:45:45 -0300
committerrubenwardy <rubenwardy@gmail.com>2017-02-23 22:48:13 +0000
commit1049280eeba4d78fed1fdc15a89a5e3d2ecd7357 (patch)
treeb2a95f5ad8ef98c81cd48faa7dfaa5610d910a7c /sfinv.lua
parent7fd56ac3d0730482ea9af086c0e8630ac3426af7 (diff)
Update to new intllib API.
Diffstat (limited to 'sfinv.lua')
-rw-r--r--sfinv.lua7
1 files changed, 1 insertions, 6 deletions
diff --git a/sfinv.lua b/sfinv.lua
index de85998..e2b6eb4 100644
--- a/sfinv.lua
+++ b/sfinv.lua
@@ -1,10 +1,5 @@
if minetest.get_modpath("sfinv") then
- local S
- if minetest.get_modpath("intllib") then
- S = intllib.Getter()
- else
- S = function ( s ) return s end
- end
+ local S = awards.gettext
sfinv.register_page("awards:awards", {
title = S("Awards"),