From b5a9663cf52b4d11fff94459f01a3cf3787ecdaa Mon Sep 17 00:00:00 2001 From: Davide Madrisan Date: Tue, 27 Nov 2012 19:21:10 +0100 Subject: [PATCH] po/it/Makefile: check 'autospec.po' for untranslated strings Signed-off-by: Davide Madrisan --- ChangeLog | 9 +++++++++ po/it/Makefile | 6 +++++- 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index a671c94..342e707 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,12 @@ +Changes in version 1.16.1 +--- --- -- 2012 Davide Madrisan + ++ improvement + * Makefile - Davide Madrisan: + Target 'locales': check 'autospec.po' for untranslated strings. + +------------------------------------------------------------------------------- + Changes in version 1.16.0 Mon Nov 26 2012 Davide Madrisan diff --git a/po/it/Makefile b/po/it/Makefile index 246f207..d8bc9af 100644 --- a/po/it/Makefile +++ b/po/it/Makefile @@ -63,7 +63,11 @@ locales: merge-pot-files $(pck_catalog) \ $(srcdir)/po/$(pck_catalog_tmpl) && \ echo "... $(pck_catalog) [DONE]" || \ - { echo ".. $(pck_catalog) [FAILED]"; exit 1; } + { echo "... $(pck_catalog) [FAILED]"; exit 1; } + @echo -n "Checking $(pck_catalog) for untranslated strings... ";\ + /bin/grep -q 'msgstr[ \t]*\"\"' $(pck_catalog) && \ + { echo "[UNTRASLATED STRING]"; exit 1; } || \ + echo "[NONE]" install: $(pck_catalog:.po=.mo) @destdir="$(DESTDIR)$(localedir)/$(LANG)/LC_MESSAGES";\