summaryrefslogtreecommitdiffstats
path: root/scripts/updatesync.sh.in
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2007-07-07 01:35:32 +0200
committerDan McGee <dan@archlinux.org>2007-07-07 01:35:32 +0200
commita501b72e40062c9e606a787657582d1859c35d35 (patch)
treebea93688780e947a7531c1e8bbb979b1ba917448 /scripts/updatesync.sh.in
parentb5f8a44bebc906bf6a29d30c159802b0c1a7dbb1 (diff)
downloadpacman-a501b72e40062c9e606a787657582d1859c35d35.tar.gz
pacman-a501b72e40062c9e606a787657582d1859c35d35.tar.xz
Make paragraph text in scripts single strings
It is much easier for translators to deal with paragraphs as strings rather than by lines. Take all usage and version information and convert it to this format. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'scripts/updatesync.sh.in')
-rw-r--r--scripts/updatesync.sh.in41
1 files changed, 17 insertions, 24 deletions
diff --git a/scripts/updatesync.sh.in b/scripts/updatesync.sh.in
index 1526e285..7f6636cc 100644
--- a/scripts/updatesync.sh.in
+++ b/scripts/updatesync.sh.in
@@ -31,36 +31,29 @@ myver='@PACKAGE_VERSION@'
# functions
usage() {
- printf "updatesync (pacman) %s\n" "$myver"
- echo
- printf "$(gettext "Usage: %s <action> <destfile> <option> [package_directory]")\n" "$0"
- echo
- echo "$(gettext "updatesync will update a sync database by reading a PKGBUILD and")"
- echo "$(gettext "modifying the destfile. updatesync updates the database in a temporary")"
- echo "$(gettext "directory and then compresses it to <destfile>.")"
- echo
- echo "$(gettext "There are two types of actions:")"
- echo
- echo "$(gettext "upd - Will update a package's entry or create it if it doesn't exist.")"
- echo "$(gettext " It takes the package's PKGBUILD as an option.")"
- echo "$(gettext "del - Will remove a package's entry from the db.")"
- echo "$(gettext " It takes the package's name as an option.")"
- echo
- echo "$(gettext "updatesync will calculate md5sums of packages in the same directory as")"
- echo "$(gettext "<destfile>, unless an alternate [package_directory] is specified.")"
- echo
- echo "$(gettext "example: updatesync upd /home/mypkgs/custom.db.tar.gz PKGBUILD")"
+ printf "updatesync (pacman) %s\n\n" "$myver"
+ printf "$(gettext "Usage: %s <action> <destfile> <option> [package_directory]")\n\n" "$0"
+ printf "$(gettext "\
+updatesync will update a sync database by reading a PKGBUILD and\n\
+modifying the destfile. updatesync updates the database in a temporary\n\
+directory and then compresses it to <destfile>.\n\n")"
+ printf "$(gettext "There are two types of actions:\n\n")"
+ printf "$(gettext "upd - Will update a package's entry or create it if it doesn't exist.\n It takes the package's PKGBUILD as an option.\n")"
+ printf "$(gettext "del - Will remove a package's entry from the db. It takes the package's\n name as an option.\n")"
echo
+ printf "$(gettext "\
+updatesync will calculate md5sums of packages in the same directory as\n\
+<destfile>, unless an alternate [package_directory] is specified.\n\n")"
+ echo "$(gettext "Example: updatesync upd /home/mypkgs/custom.db.tar.gz PKGBUILD")"
exit 0
}
version() {
printf "updatesync (pacman) %s\n" "$myver"
- printf "Copyright (C) 2004 Jason Chu <jason@archlinux.org>.\n"
- echo
- printf "This is free software; see the source for copying conditions.\n"
- printf "There is NO WARRANTY, to the extent permitted by law.\n"
- echo
+ printf "$(gettext "\
+Copyright (C) 2004 Jason Chu <jason@archlinux.org>.\n\n\
+This is free software; see the source for copying conditions.\n\
+There is NO WARRANTY, to the extent permitted by law.\n")"
}
error () {