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>
This commit is contained in:
Allan McRae 2011-06-15 21:59:06 +10:00 committed by Dan McGee
parent 508b360c24
commit 3497eb4e2c
1 changed files with 2 additions and 2 deletions

View File

@ -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