diff options
author | Tiago Bortoletto Vaz <tiagovaz@safernet.org.br> | 2008-08-14 15:24:11 -0300 |
---|---|---|
committer | Daniel Baumann <daniel@debian.org> | 2011-03-09 19:03:39 +0100 |
commit | 24ddf76181b69e1905b4b94b6739c8c31ce8acfb (patch) | |
tree | 54e2b9fbaa328034b0dd623bb85cd31b97b9c1cf /functions/help.sh | |
parent | 5b882c2b343952900b52ac204eef7b8e8269ea8f (diff) | |
download | vyos-live-build-24ddf76181b69e1905b4b94b6739c8c31ce8acfb.tar.gz vyos-live-build-24ddf76181b69e1905b4b94b6739c8c31ce8acfb.zip |
Making help.sh and version.sh messages translatable.
Diffstat (limited to 'functions/help.sh')
-rwxr-xr-x | functions/help.sh | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/functions/help.sh b/functions/help.sh index 57a115868..5bad826fd 100755 --- a/functions/help.sh +++ b/functions/help.sh @@ -9,31 +9,29 @@ set -e -#FIXME: put this in l10n standard Help () { - echo "${PROGRAM} - ${DESCRIPTION}" + Echo "%s - %s" "${PROGRAM}" "${DESCRIPTION}" echo - echo "Usage:" + Echo "Usage:" echo if [ -n "${USAGE}" ] then - /bin/echo -e "${USAGE}" + Echo "%s" "${USAGE}" echo fi - - echo " ${PROGRAM} [-h|--help]" - echo " ${PROGRAM} [-u|--usage]" - echo " ${PROGRAM} [-v|--version]" + Echo " %s [-h|--help]" "${PROGRAM}" + Echo " %s [-u|--usage]" "${PROGRAM}" + Echo " %s [-v|--version]" "${PROGRAM}" echo if [ -n "${HELP}" ] then - echo "${HELP}" + Echo "%s" "${HELP}" echo fi - echo "Report bugs to Debian Live project <http://debian-live.alioth.debian.org/>." + Echo "Report bugs to Debian Live project <http://debian-live.alioth.debian.org/>." exit 0 } |