summaryrefslogtreecommitdiffstats
path: root/perl-install/share/po/Makefile
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2001-08-21 16:22:55 +0000
committerPascal Rigaux <pixel@mandriva.com>2001-08-21 16:22:55 +0000
commit24f319fa4f05ad37ee82f24011cacab700b80c68 (patch)
tree01e6522a29fd6064978f62a169ade143089ca197 /perl-install/share/po/Makefile
parent7cb30878fc6639711bdb054ce71b503447045e8c (diff)
downloaddrakx-backup-do-not-use-24f319fa4f05ad37ee82f24011cacab700b80c68.tar
drakx-backup-do-not-use-24f319fa4f05ad37ee82f24011cacab700b80c68.tar.gz
drakx-backup-do-not-use-24f319fa4f05ad37ee82f24011cacab700b80c68.tar.bz2
drakx-backup-do-not-use-24f319fa4f05ad37ee82f24011cacab700b80c68.tar.xz
drakx-backup-do-not-use-24f319fa4f05ad37ee82f24011cacab700b80c68.zip
check presence of '$' in DrakX.pot
Diffstat (limited to 'perl-install/share/po/Makefile')
-rw-r--r--perl-install/share/po/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/perl-install/share/po/Makefile b/perl-install/share/po/Makefile
index 43b32542a..753d3c309 100644
--- a/perl-install/share/po/Makefile
+++ b/perl-install/share/po/Makefile
@@ -38,6 +38,9 @@ install:
clean:
rm -f empty.po tmp.* messages tmp.pot *.mo $(POFILES:%=%t) $(PMSCFILES)
+check:
+ @grep -F '$$' DrakX.pot && { echo "bad translation strings (contains \$$) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^"; exit 1; } ||:
+
verif:
perl -ne '/^\s*#/ or $$i += my @l = /\b__?\(/g; END { print "$$i\n" }' $(PMSFILES)
perl -ne '$$i += my @l = /\.c:/g; END { print "$$i\n" }' DrakX.pot