po/it/Makefile: check 'autospec.po' for untranslated strings

Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
This commit is contained in:
Davide Madrisan 2012-11-27 19:21:10 +01:00
parent 2b2f777819
commit b5a9663cf5
2 changed files with 14 additions and 1 deletions

View File

@ -1,3 +1,12 @@
Changes in version 1.16.1
--- --- -- 2012 Davide Madrisan <davide.madrisan(a)gmail.com>
+ improvement
* Makefile - Davide Madrisan:
Target 'locales': check 'autospec.po' for untranslated strings.
-------------------------------------------------------------------------------
Changes in version 1.16.0
Mon Nov 26 2012 Davide Madrisan <davide.madrisan(a)gmail.com>

View File

@ -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";\