diff packaging/linux-installer.inc.in @ 799:933860224d1e

l10n for usage text.
author Sascha Wilde <wilde@intevation.de>
date Tue, 15 Jul 2014 15:40:58 +0200
parents 3a9b0c75f5a6
children adf7481291a4
line wrap: on
line diff
--- a/packaging/linux-installer.inc.in	Tue Jul 15 14:46:33 2014 +0200
+++ b/packaging/linux-installer.inc.in	Tue Jul 15 15:40:58 2014 +0200
@@ -82,19 +82,16 @@
 
 usage()
 {
-  cat <<EOF
-Usage: $ME [OPTION]...
-Install TrustBridge.
-
-Options:
-  -p, --prefix=PATH  install files in PATH
-  -f, --force        install to given prefix, even when a current
-                     installation with different prefix exists.
-  -d, --deinstall    deinstall files from current installation
-  -s, --system=PATH  create a system wide (de)installation
-      --help         display this help and exit
-      --version      output version information and exit
-EOF
+  getxt "Usage: %s [OPTION]...\n" "$ME"
+  getxt "Install TrustBridge.\n\n"
+  getxt "Options:\n"
+  getxt "  -p, --prefix=PATH  install files in PATH\n"
+  getxt "  -f, --force        install to given prefix, even when a current\n"
+  getxt "                     installation with different prefix exists.\n"
+  getxt "  -d, --deinstall    deinstall files from current installation\n"
+  getxt "  -s, --system       create a system wide (de)installation\n"
+  getxt "      --help         display this help and exit\n"
+  getxt "      --version      output version information and exit\n"
   exit $1
 }
 

http://wald.intevation.org/projects/trustbridge/