From 26abe8f6004777ba49777eaaec3bc0a47f50fcb2 Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Sun, 20 May 2012 11:27:36 -0500 Subject: Fix gettext usage in pkgdelta help instructions Signed-off-by: Dan McGee --- scripts/pkgdelta.sh.in | 6 +++--- scripts/po/en_GB.po | 21 ++++++++++----------- scripts/po/pacman-scripts.pot | 15 ++++++++------- 3 files changed, 21 insertions(+), 21 deletions(-) (limited to 'scripts') diff --git a/scripts/pkgdelta.sh.in b/scripts/pkgdelta.sh.in index 41d399b0..ae0bfc38 100644 --- a/scripts/pkgdelta.sh.in +++ b/scripts/pkgdelta.sh.in @@ -52,9 +52,9 @@ This delta file can then be added to a database using repo-add.\n\n")" printf -- "$(gettext "Example: pkgdelta pacman-3.0.0.pkg.tar.gz pacman-3.0.1.pkg.tar.gz")\n" echo printf -- "$(gettext "Options:\n")" - printf -- " -q ""$(gettext "quiet\n")" - printf -- " --min-pkg-size ""$(gettext "minimal of package before deltas are generated (bytes)\n")" - printf -- " --max-delta-size ""$(gettext "percent of new package above which the delta will be discarded\n")" + printf -- "$(gettext " -q, --quiet minimize output\n")" + printf -- "$(gettext " --min-pkg-size minimum package size before deltas are generated (bytes)\n")" + printf -- "$(gettext " --max-delta-size percent of package size above which deltas will be discarded\n")" } version() { diff --git a/scripts/po/en_GB.po b/scripts/po/en_GB.po index ebe6c0f3..afe8cc75 100644 --- a/scripts/po/en_GB.po +++ b/scripts/po/en_GB.po @@ -8,8 +8,8 @@ msgid "" msgstr "" "Project-Id-Version: Arch Linux Pacman package manager\n" "Report-Msgid-Bugs-To: http://bugs.archlinux.org/index.php?project=3\n" -"POT-Creation-Date: 2012-05-20 11:17-0500\n" -"PO-Revision-Date: 2012-05-20 11:21-0600\n" +"POT-Creation-Date: 2012-05-20 11:26-0500\n" +"PO-Revision-Date: 2012-05-20 11:27-0600\n" "Last-Translator: Dan McGee \n" "Language-Team: LANGUAGE \n" "Language: en_GB\n" @@ -896,14 +896,14 @@ msgstr "Example: pkgdelta pacman-3.0.0.pkg.tar.gz pacman-3.0.1.pkg.tar.gz" msgid "Options:\\n" msgstr "Options:\\n" -msgid "quiet\\n" -msgstr "quiet\\n" +msgid " -q, --quiet minimize output\\n" +msgstr " -q, --quiet minimise output\\n" -msgid "minimal of package before deltas are generated (bytes)\\n" -msgstr "minimal of package before deltas are generated (bytes)\\n" +msgid " --min-pkg-size minimum package size before deltas are generated (bytes)\\n" +msgstr " --min-pkg-size minimum package size before deltas are generated (bytes)\\n" -msgid "percent of new package above which the delta will be discarded\\n" -msgstr "percent of new package above which the delta will be discarded\\n" +msgid " --max-delta-size percent of package size above which deltas will be discarded\\n" +msgstr " --max-delta-size percent of package size above which deltas will be discarded\\n" msgid "" "Copyright (c) 2009 Xavier Chantry .\\n" @@ -980,9 +980,6 @@ msgstr "" msgid "Please move along, there is nothing to see here.\\n" msgstr "Please move along, there is nothing to see here.\\n" -msgid " -q, --quiet minimize output\\n" -msgstr " -q, --quiet minimise output\\n" - msgid " -s, --sign sign database with GnuPG after update\\n" msgstr " -s, --sign sign database with GnuPG after update\\n" @@ -1130,3 +1127,5 @@ msgstr "option %s requires an argument\\n" msgid "unrecognized option" msgstr "unrecognised option" +#~ msgid "quiet\\n" +#~ msgstr "quiet\\n" diff --git a/scripts/po/pacman-scripts.pot b/scripts/po/pacman-scripts.pot index 3f28deef..2abdbeea 100644 --- a/scripts/po/pacman-scripts.pot +++ b/scripts/po/pacman-scripts.pot @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: pacman 4.0.3\n" "Report-Msgid-Bugs-To: http://bugs.archlinux.org/index.php?project=3\n" -"POT-Creation-Date: 2012-05-20 11:17-0500\n" +"POT-Creation-Date: 2012-05-20 11:26-0500\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -872,13 +872,17 @@ msgstr "" msgid "Options:\\n" msgstr "" -msgid "quiet\\n" +msgid " -q, --quiet minimize output\\n" msgstr "" -msgid "minimal of package before deltas are generated (bytes)\\n" +msgid "" +" --min-pkg-size minimum package size before deltas are generated " +"(bytes)\\n" msgstr "" -msgid "percent of new package above which the delta will be discarded\\n" +msgid "" +" --max-delta-size percent of package size above which deltas will be " +"discarded\\n" msgstr "" msgid "" @@ -946,9 +950,6 @@ msgstr "" msgid "Please move along, there is nothing to see here.\\n" msgstr "" -msgid " -q, --quiet minimize output\\n" -msgstr "" - msgid " -s, --sign sign database with GnuPG after update\\n" msgstr "" -- cgit v1.2.3