From 3497eb4e2c1bf3869176f944ba97c289bebf2e30 Mon Sep 17 00:00:00 2001
From: Allan McRae <allan@archlinux.org>
Date: Wed, 15 Jun 2011 21:59:06 +1000
Subject: 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>
---
 scripts/makepkg.sh.in | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'scripts')

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
-- 
cgit v1.2.3-54-g00ecf