[SCM] debian-live branch, master, updated. 1.0_a48-1-84-gb069a50

Daniel Baumann daniel at debian.org
Thu Aug 14 20:02:56 UTC 2008


The following commit has been merged in the master branch:
commit 2ede4f2f62cd369d749b6455d91a4767d4f920e2
Author: Tiago Bortoletto Vaz <tiagovaz at safernet.org.br>
Date:   Thu Aug 14 21:46:19 2008 +0200

    Making usage.sh messages translatable.

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
 }

-- 
debian-live



More information about the debian-live-changes mailing list