summaryrefslogtreecommitdiff
path: root/internal.lua
diff options
context:
space:
mode:
Diffstat (limited to 'internal.lua')
-rw-r--r--internal.lua7
1 files changed, 1 insertions, 6 deletions
diff --git a/internal.lua b/internal.lua
index 50150b7..47a9171 100644
--- a/internal.lua
+++ b/internal.lua
@@ -1,9 +1,4 @@
-local S
-if rawget(_G, "intllib") then
- S = intllib.Getter()
-else
- S = function(s) return s end
-end
+local S = unified_inventory.gettext
-- This pair of encoding functions is used where variable text must go in
-- button names, where the text might contain formspec metacharacters.