summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorAllan McRae <allan@archlinux.org>2011-06-15 13:59:06 +0200
committerDan McGee <dan@archlinux.org>2011-06-22 17:46:38 +0200
commit3497eb4e2c1bf3869176f944ba97c289bebf2e30 (patch)
tree77a1da9e216b62df1cf89763bd98b5aafa25116c /scripts
parent508b360c24ddfdb79f66cc14b197988a829b0ecd (diff)
downloadpacman-3497eb4e2c1bf3869176f944ba97c289bebf2e30.tar.gz
pacman-3497eb4e2c1bf3869176f944ba97c289bebf2e30.tar.xz
makepkg: adjust libprovides/depends messages
Contractions are less clear for non-native speakers so should be avoided (and cause syntax highlighting issues). Also, the 'provides' and 'depends' strings are not to be translated. Signed-off-by: Allan McRae <allan@archlinux.org> Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'scripts')
-rw-r--r--scripts/makepkg.sh.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/makepkg.sh.in b/scripts/makepkg.sh.in
index 09eacbb1..53fa1a0c 100644
--- a/scripts/makepkg.sh.in
+++ b/scripts/makepkg.sh.in
@@ -1048,7 +1048,7 @@ write_pkginfo() {
# check if the entry has been found by find_libdepends
# if not, it's unneeded; tell the user so he can remove it
if [[ ! $libdepends =~ (^|\s)${it}=.* ]]; then
- error "$(gettext "Can't find library listed in \$depends: %s")" "$it"
+ error "$(gettext "Cannot find library listed in %s: %s")" "'depends'" "$it"
return 1
fi
else
@@ -1062,7 +1062,7 @@ write_pkginfo() {
# check if the entry has been found by find_libprovides
# if not, it's unneeded; tell the user so he can remove it
if [[ ! $libprovides =~ (^|\s)${it}=.* ]]; then
- error "$(gettext "Can't find library listed in \$provides: %s")" "$it"
+ error "$(gettext "Cannot find library listed in %s: %s")" "'provides'" "$it"
return 1
fi
else