summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorDaniel Silverstone <dsilvers@digital-scurf.org>2016-08-27 14:00:59 +0100
committerDaniel Silverstone <dsilvers@digital-scurf.org>2016-08-27 14:00:59 +0100
commite3e7951c1c1c6f465ffa8150ce395a98f4d3afd5 (patch)
treec84e5f2d69fe79c5b78fd30faa012f8284b36997 /utils
parentbcdfd57bae9497aea494eb0fad4c858d63df1642 (diff)
downloadgitano-e3e7951c1c1c6f465ffa8150ce395a98f4d3afd5.tar.gz
Basic i18n module
Diffstat (limited to 'utils')
-rw-r--r--utils/install-lua-bin2
1 files changed, 2 insertions, 0 deletions
diff --git a/utils/install-lua-bin b/utils/install-lua-bin
index 5036ae9..4c1feae 100644
--- a/utils/install-lua-bin
+++ b/utils/install-lua-bin
@@ -50,6 +50,8 @@ while line do
output_fh:write(("gitano.config.share_path(%q)\n"):format(inst_share_path))
elseif token == "GITANO_PLUGIN_PATH" then
output_fh:write(("gitano.plugins.load_plugins %s\n"):format(inst_plugin_path))
+ elseif token == "GITANO_I18N_PATH" then
+ output_fh:write(("gitano.i18n.set_langpack_path(%q)\n"):format(inst_share_path .. "/lang"))
else
output_fh:write("-- Unknown token: " .. token .. "\n")
end