summaryrefslogtreecommitdiff
path: root/functions
diff options
context:
space:
mode:
authorTiago Bortoletto Vaz <tiagovaz@safernet.org.br>2008-08-14 21:46:19 +0200
committerDaniel Baumann <daniel@debian.org>2011-03-09 19:03:39 +0100
commitbb8faf961e77cead1aa3e83f123302ec9d8e86ed (patch)
treecc2e41b64e9c64008bb8ece87dc8c4baca276bd3 /functions
parent3e3bb4260766082847fb162baf1a99aa4fbf7c49 (diff)
downloadvyos-live-build-bb8faf961e77cead1aa3e83f123302ec9d8e86ed.tar.gz
vyos-live-build-bb8faf961e77cead1aa3e83f123302ec9d8e86ed.zip
Making usage.sh messages translatable.
Diffstat (limited to 'functions')
-rwxr-xr-xfunctions/usage.sh15
1 files changed, 7 insertions, 8 deletions
diff --git a/functions/usage.sh b/functions/usage.sh
index 95586ad38..f228dd761 100755
--- a/functions/usage.sh
+++ b/functions/usage.sh
@@ -9,25 +9,24 @@
set -e
-#FIXME: put this in l10n standard
Usage ()
{
- echo "${PROGRAM} - ${DESCRIPTION}"
+ Echo "%s - %s" "${PROGRAM}" "${DESCRIPTION}"
echo
- echo "Usage:"
+ Echo "Usage:"
echo
if [ -n "${USAGE}" ]
then
- echo " ${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
- echo "Try \"${PROGRAM} --help\" for more information."
+ Echo "Try \" %s--help\" for more information." "${PROGRAM}"
exit 1
}