diff options
author | Daniel Silverstone <dsilvers@digital-scurf.org> | 2016-08-28 13:05:21 +0100 |
---|---|---|
committer | Daniel Silverstone <dsilvers@digital-scurf.org> | 2016-08-28 13:05:21 +0100 |
commit | 6e01e8ad9889db2a7a650be9eb6cfd76dce46cba (patch) | |
tree | 459ec0b2e23c782c059a394b47b39a5b80f57566 /bin/gitano-auth.in | |
parent | 7210d1a2cfb33e870901629b2423a2f183c08954 (diff) | |
download | gitano-6e01e8ad9889db2a7a650be9eb6cfd76dce46cba.tar.gz |
Performed i18n on all bin/*.in
Diffstat (limited to 'bin/gitano-auth.in')
-rw-r--r-- | bin/gitano-auth.in | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/gitano-auth.in b/bin/gitano-auth.in index 00f2f39..dea7328 100644 --- a/bin/gitano-auth.in +++ b/bin/gitano-auth.in @@ -32,7 +32,7 @@ gitano.config.repo_path(repo_root) local cmdline = luxio.getenv "SSH_ORIGINAL_COMMAND" or "" if cmdline:match("^[ \t\n]*$") then - gitano.log.fatal("No command provided, cannot continue") + gitano.log.fatal(gitano.i18n.expand("ERROR_NO_COMMAND")) end local authorized, cmd, parsed_cmdline, config, env, repo = @@ -44,10 +44,10 @@ if authorized then user, config, env, repo) if exit ~= 0 then - gitano.log.fatal("Error running command, exiting") + gitano.log.fatal(gitano.i18n.expand("ERROR_COMMAND_FAILED")) end else - gitano.log.fatal("Not authorized") + gitano.log.fatal(gitano.i18n.expand("ERROR_NOT_AUTHORISED")) end gitano.log.syslog.close() |