diff options
author | 2017-09-03 15:08:08 -0500 | |
---|---|---|
committer | 2017-09-04 10:12:21 +1000 | |
commit | 7e75ba4bfa0c7bd69fd3793fc920919d5cd8c381 (patch) | |
tree | bdede2f2606dfd81fd0c647e6503188f8bdd4e25 /plugins/boot.lua | |
parent | 53809fca955b17df36c7f737ded0a554f5c7a7a5 (diff) |
luaengine: translation support [Carl]
Diffstat (limited to 'plugins/boot.lua')
-rw-r--r-- | plugins/boot.lua | 2 |
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" |