summaryrefslogtreecommitdiffstats
path: root/scripts/pacman-optimize.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/pacman-optimize.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/pacman-optimize.sh.in')
-rw-r--r--scripts/pacman-optimize.sh.in35
1 files changed, 16 insertions, 19 deletions
diff --git a/scripts/pacman-optimize.sh.in b/scripts/pacman-optimize.sh.in
index d4c926d8..fe59e661 100644
--- a/scripts/pacman-optimize.sh.in
+++ b/scripts/pacman-optimize.sh.in
@@ -40,29 +40,26 @@ error () {
}
usage() {
- printf "pacman-optimize (pacman) %s\n" "$myver"
- echo
- printf "$(gettext "Usage: %s[pacman_db_root]")\n" "$0"
- echo
- echo "$(gettext "pacman-optimize is a little hack that should improve the performance")"
- echo "$(gettext "of pacman when reading/writing to its filesystem-based database.")"
- echo
- echo "$(gettext "Because pacman uses many small files to keep track of packages,")"
- echo "$(gettext "there is a tendency for these files to become fragmented over time.")"
- echo "$(gettext "This script attempts to relocate these small files into one")"
- echo "$(gettext "continuous location on your hard drive. The result is that the hard")"
- echo "$(gettext "drive should be able to read them faster, since the hard drive head")"
- echo "$(gettext "does not have to move around the disk as much.")"
- echo
+ printf "pacman-optimize (pacman) %s\n\n" "$myver"
+ printf "$(gettext "Usage: %s [pacman_db_root]")\n\n" "$0"
+ printf "$(gettext "\
+pacman-optimize is a little hack that should improve the performance\n\
+of pacman when reading/writing to its filesystem-based database.\n\n")"
+ printf "$(gettext "\
+Because pacman uses many small files to keep track of packages,\n\
+there is a tendency for these files to become fragmented over time.\n\
+This script attempts to relocate these small files into one\n\
+continuous location on your hard drive. The result is that the hard\n\
+drive should be able to read them faster, since the hard drive head\n\
+does not have to move around the disk as much.\n")"
}
version() {
printf "pacman-optimize (pacman) %s\n" "$myver"
- printf "Copyright (C) 2002-2007 Judd Vinet <jvinet@zeroflux.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) 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")"
}
die() {