diff options
author | Dan McGee <dan@archlinux.org> | 2007-07-06 19:35:32 -0400 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2007-07-06 19:35:32 -0400 |
commit | a501b72e40062c9e606a787657582d1859c35d35 (patch) | |
tree | bea93688780e947a7531c1e8bbb979b1ba917448 /scripts/abs.sh.in | |
parent | b5f8a44bebc906bf6a29d30c159802b0c1a7dbb1 (diff) | |
download | 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/abs.sh.in')
-rw-r--r-- | scripts/abs.sh.in | 26 |
1 files changed, 12 insertions, 14 deletions
diff --git a/scripts/abs.sh.in b/scripts/abs.sh.in index 491b965a..5ceb433e 100644 --- a/scripts/abs.sh.in +++ b/scripts/abs.sh.in @@ -62,31 +62,29 @@ error() { usage() { - printf "$(gettext "abs (pacman) %s - download a PKGBUILD tree from a CVS repository")\n" "$myver" - echo - printf "$(gettext "Usage %s [options] [repository...]")\n" "$0" - echo + printf "$(gettext "abs (pacman) %s - download a PKGBUILD tree from a CVS repository")\n\n" "$myver" + printf "$(gettext "Usage %s [options] [repository...]")\n\n" "$0" printf "$(gettext "Options:")\n" printf "$(gettext " -p, --passive The connection is opened in passive mode.")\n" echo printf "$(gettext " -h, --help Display this help message then exit.")\n" printf "$(gettext " -V, --version Display version information then exit.")\n" echo - printf "$(gettext "abs will synchronize build scripts from the CVS repository")\n" - printf "$(gettext "into %s. You can follow different package trees by")\n" "$ABSROOT" - printf "$(gettext "editing %s files. If no argument is given, abs")\n" "$CONFDIR/supfile.*" - printf "$(gettext "will synchronize from supfiles specified in %s.")\n" "$CONFDIR/abs.conf" - echo + printf "$(gettext "\ +abs will synchronize build scripts from the CVS repository\n\ +into %s. You can follow different package trees by\n\ +editing %s files. If no argument is given, abs\n\ +will synchronize from supfiles specified in %s.\n\n")" \ + "$ABSROOT" "$CONFDIR/supfile.*" "$CONFDIR/abs.conf" printf "$(gettext "Report bugs to <%s>.")\n" "$BUG_REPORT_EMAIL" } version() { printf "abs (pacman) %s\n" "$myver" - printf "$(gettext "Copyright (C) 2002-2007 Judd Vinet <jvinet@zeroflux.org>").\n" - echo - printf "$(gettext "This is free software; see the source for copying conditions.")\n" - printf "$(gettext "There is NO WARRANTY, to the extent permitted by law.")\n" - echo + printf "$(gettext "\ +Copyright (C) 2002-2007 Judd Vinet <jvinet@zeroflux.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")" } |