summaryrefslogtreecommitdiffstatshomepage
path: root/plugins/boot.lua
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/boot.lua')
-rw-r--r--plugins/boot.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/boot.lua b/plugins/boot.lua
index ea753139aef..5ed1ac803ad 100644
--- a/plugins/boot.lua
+++ b/plugins/boot.lua
@@ -20,6 +20,8 @@ function lfs.env_replace(str)
end
return str
end
+
+_G._ = emu.lang_translate
local dir = lfs.env_replace(manager:options().entries.pluginspath:value())
package.path = dir .. "/?.lua;" .. dir .. "/?/init.lua"