summaryrefslogtreecommitdiff
path: root/computer/miscitems.lua
diff options
context:
space:
mode:
Diffstat (limited to 'computer/miscitems.lua')
-rw-r--r--computer/miscitems.lua3
1 files changed, 1 insertions, 2 deletions
diff --git a/computer/miscitems.lua b/computer/miscitems.lua
index c5017a7..5f63c7d 100644
--- a/computer/miscitems.lua
+++ b/computer/miscitems.lua
@@ -4,8 +4,7 @@
-- This file defines some items in order to not have to depend on other mods.
--- Boilerplate to support localized strings if intllib mod is installed.
-local S = rawget(_G, "intllib") and intllib.Getter() or function(s) return s end
+local S = homedecor_i18n.gettext
if (not minetest.get_modpath("homedecor")) then