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>2008-08-14 21:46:19 +0200
commit2ede4f2f62cd369d749b6455d91a4767d4f920e2 (patch)
treea660409da42f2dee20ff1b2ae0fa2e5f805d816d /functions
parentc316f6cdbdb8415494ccc92e265c442bf2cee1a4 (diff)
downloadvyos-live-build-2ede4f2f62cd369d749b6455d91a4767d4f920e2.tar.gz
vyos-live-build-2ede4f2f62cd369d749b6455d91a4767d4f920e2.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
}