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:
parent
508b360c24
commit
3497eb4e2c
1 changed files with 2 additions and 2 deletions
|
@ -1048,7 +1048,7 @@ write_pkginfo() {
|
||||||
# check if the entry has been found by find_libdepends
|
# check if the entry has been found by find_libdepends
|
||||||
# if not, it's unneeded; tell the user so he can remove it
|
# if not, it's unneeded; tell the user so he can remove it
|
||||||
if [[ ! $libdepends =~ (^|\s)${it}=.* ]]; then
|
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
|
return 1
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
|
@ -1062,7 +1062,7 @@ write_pkginfo() {
|
||||||
# check if the entry has been found by find_libprovides
|
# check if the entry has been found by find_libprovides
|
||||||
# if not, it's unneeded; tell the user so he can remove it
|
# if not, it's unneeded; tell the user so he can remove it
|
||||||
if [[ ! $libprovides =~ (^|\s)${it}=.* ]]; then
|
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
|
return 1
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
|
|
Loading…
Add table
Reference in a new issue