From 4638f4f0e4ee3860f8f66ed9421e22043eb8b5d2 Mon Sep 17 00:00:00 2001 From: Ted Gould Date: Fri, 19 Aug 2011 20:59:21 -0500 Subject: Making a check to see if there is ellipsis in the user visible strings --- Makefile.am | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/Makefile.am b/Makefile.am index 391ff49..45bb764 100644 --- a/Makefile.am +++ b/Makefile.am @@ -33,3 +33,14 @@ dist-hook: else \ echo Failed to generate AUTHORS: not a branch >&2; \ fi + +TESTS = \ + test-ellipsis + +test-ellipsis: po + @echo "#!/bin/bash" > $@ + @echo "(cd po && make indicator-session.pot)" >> $@ + @echo "grep -c -e \"^msgid.*\.\.\.\\\"\" po/indicator-session.pot > /dev/null && echo \"Ellipsis found in user visible strings\" >&2 && exit 1" >> $@ + @chmod +x $@ + +CLEANFILES = $(TESTS) -- cgit v1.2.3