diff options
author | Ted Gould <ted@gould.cx> | 2011-08-19 20:59:21 -0500 |
---|---|---|
committer | Ted Gould <ted@gould.cx> | 2011-08-19 20:59:21 -0500 |
commit | 4638f4f0e4ee3860f8f66ed9421e22043eb8b5d2 (patch) | |
tree | 7d59382e5ec22708e3e5ce8b97a111a5d823bf5b | |
parent | fb32494de9b55663cec088ade6967da349c0cac7 (diff) | |
download | ayatana-indicator-session-4638f4f0e4ee3860f8f66ed9421e22043eb8b5d2.tar.gz ayatana-indicator-session-4638f4f0e4ee3860f8f66ed9421e22043eb8b5d2.tar.bz2 ayatana-indicator-session-4638f4f0e4ee3860f8f66ed9421e22043eb8b5d2.zip |
Making a check to see if there is ellipsis in the user visible strings
-rw-r--r-- | Makefile.am | 11 |
1 files changed, 11 insertions, 0 deletions
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) |