summaryrefslogtreecommitdiffstats
path: root/scripts/repo-add.sh.in
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2011-02-28 17:50:23 -0600
committerDan McGee <dan@archlinux.org>2011-02-28 17:50:23 -0600
commit09ce8b446c01e59a0eb0523846ce6f339ef25fa5 (patch)
tree9b1105babb144af1aa5129b12c75ce0f3c738eea /scripts/repo-add.sh.in
parent07538b948a0198808dcbe68bf838e520eb341fb3 (diff)
downloadpacman-09ce8b446c01e59a0eb0523846ce6f339ef25fa5.tar.xz
Fix some easy to find double translations
A lot of these were places that should have used the same message but didn't, or were very easy to convert to using the same message and letting some of the burden off of the translators. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'scripts/repo-add.sh.in')
-rw-r--r--scripts/repo-add.sh.in6
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/repo-add.sh.in b/scripts/repo-add.sh.in
index 9b79022a..dfc93974 100644
--- a/scripts/repo-add.sh.in
+++ b/scripts/repo-add.sh.in
@@ -254,7 +254,7 @@ db_write_entry()
[[ -f ../$pkgname.deltas ]] && mv "../$pkgname.deltas" deltas
# create desc entry
- msg2 "$(gettext "Creating 'desc' db entry...")"
+ msg2 "$(gettext "Creating '%s' db entry...")" 'desc'
echo -e "%FILENAME%\n$(basename "$1")\n" >>desc
echo -e "%NAME%\n$pkgname\n" >>desc
[[ -n $pkgbase ]] && echo -e "%BASE%\n$pkgbase\n" >>desc
@@ -276,7 +276,7 @@ db_write_entry()
write_list_entry "REPLACES" "$_replaces" "desc"
# create depends entry
- msg2 "$(gettext "Creating 'depends' db entry...")"
+ msg2 "$(gettext "Creating '%s' db entry...")" 'depends'
# create the file even if it will remain empty
touch "depends"
write_list_entry "DEPENDS" "$_depends" "depends"
@@ -289,7 +289,7 @@ db_write_entry()
# create files file if wanted
if (( WITHFILES )); then
- msg2 "$(gettext "Creating 'files' db entry...")"
+ msg2 "$(gettext "Creating '%s' db entry...")" 'files'
local files_path="$tmpdir/$pkgname-$pkgver/files"
echo "%FILES%" >$files_path
bsdtar --exclude='.*' -tf "$pkgfile" >>$files_path