[SCM] debian-live branch, master, updated. 1.0_a48-1-98-gea96223

Daniel Baumann daniel at debian.org
Sat Aug 23 22:49:30 UTC 2008


The following commit has been merged in the master branch:
commit bd000a34f6a9a0fb8ae2c20825282ec65ebb83cd
Author: Tiago Bortoletto Vaz <tiagovaz at safernet.org.br>
Date:   Thu Aug 14 15:24:11 2008 -0300

    Making help.sh and version.sh messages translatable.

diff --git a/functions/help.sh b/functions/help.sh
index 57a1158..5bad826 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
 }
diff --git a/functions/version.sh b/functions/version.sh
index f5b66d6..7ae1efb 100755
--- a/functions/version.sh
+++ b/functions/version.sh
@@ -9,31 +9,30 @@
 
 set -e
 
-#FIXME: put this in l10n standard
 Version ()
 {
-	echo "${PROGRAM}, version ${VERSION}"
-	echo "This program is a part of live-helper."
+	Echo "%s, version %s" "${PROGRAM}" "${VERSION}"
+	Echo "This program is a part of live-helper."
 	echo
-	echo "Copyright (C) 2006-2008 Daniel Baumann <daniel at debian.org>"
+	Echo "Copyright (C) 2006-2008 Daniel Baumann <daniel at debian.org>"
 	echo
-	echo "This program is free software: you can redistribute it and/or modify"
-	echo "it under the terms of the GNU General Public License as published by"
-	echo "the Free Software Foundation, either version 3 of the License, or"
-	echo "(at your option) any later version."
+	Echo "This program is free software: you can redistribute it and/or modify"
+	Echo "it under the terms of the GNU General Public License as published by"
+	Echo "the Free Software Foundation, either version 3 of the License, or"
+	Echo "(at your option) any later version."
 	echo
-	echo "This program is distributed in the hope that it will be useful,"
-	echo "but WITHOUT ANY WARRANTY; without even the implied warranty of"
-	echo "MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the"
-	echo "GNU General Public License for more details."
+	Echo "This program is distributed in the hope that it will be useful,"
+	Echo "but WITHOUT ANY WARRANTY; without even the implied warranty of"
+	Echo "MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the"
+	Echo "GNU General Public License for more details."
 	echo
-	echo "You should have received a copy of the GNU General Public License"
-	echo "along with this program. If not, see <http://www.gnu.org/licenses/>."
+	Echo "You should have received a copy of the GNU General Public License"
+	Echo "along with this program. If not, see <http://www.gnu.org/licenses/>."
 	echo
-	echo "On Debian systems, the complete text of the GNU General Public License"
-	echo "can be found in /usr/share/common-licenses/GPL-3 file."
+	Echo "On Debian systems, the complete text of the GNU General Public License"
+	Echo "can be found in /usr/share/common-licenses/GPL-3 file."
 	echo
-	echo "Homepage: <http://debian-live.alioth.debian.org/>"
+	Echo "Homepage: <http://debian-live.alioth.debian.org/>"
 
 	exit 0
 }

-- 
debian-live



More information about the debian-live-changes mailing list