[nautilus-actions] tools/check-po.sh: do not match binary files



commit 97384a280042953d1d600cf186036d987566c3b4
Author: Pierre Wieser <pwieser trychlos org>
Date:   Mon Jan 16 05:18:41 2012 +0100

    tools/check-po.sh: do not match binary files

 ChangeLog         |    2 ++
 tools/check-po.sh |    2 +-
 2 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index d497907..7df13f5 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -3,6 +3,8 @@
 	* docs/nact/C/nact-conditions.xml: Embeds literal values between
 	<literal>..</literal> tags.
 
+	* tools/check-po.sh: Do not match binary files.
+
 	* src/io-desktop/nadp-writer.c (nadp_writer_iexporter_export_to_buffer):
 	* src/io-xml/naxml-writer.c (naxml_writer_export_to_buffer):
 	Fix find_export_format_fn_from_quark() calls.
diff --git a/tools/check-po.sh b/tools/check-po.sh
index 9d54ca5..4054d88 100755
--- a/tools/check-po.sh
+++ b/tools/check-po.sh
@@ -343,7 +343,7 @@ nbfiles=0
 nberrs=0
 let nbpass+=1
 msg "pass ${nbpass}/${totpass}: checking that all translatable files are in ${opt_potfile}..."
-for f in $(git grep '_(' src | cut -d: -f1 | sort -u); do
+for f in $(git grep -I '_(' src | cut -d: -f1 | sort -u); do
 	if [ "$(grep -x ${f} ${opt_potfile})" != "${f}" ]; then
 		msg "	${f} should be added to ${opt_potfile}"
 		let nberrs+=1



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]