From bb8faf961e77cead1aa3e83f123302ec9d8e86ed Mon Sep 17 00:00:00 2001 From: Tiago Bortoletto Vaz Date: Thu, 14 Aug 2008 21:46:19 +0200 Subject: Making usage.sh messages translatable. --- functions/usage.sh | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/functions/usage.sh b/functions/usage.sh index 95586ad..f228dd7 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 } -- cgit v1.0