po/it/Makefile: check 'autospec.po' for untranslated strings
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
This commit is contained in:
parent
2b2f777819
commit
b5a9663cf5
@ -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>
|
||||
|
||||
|
@ -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";\
|
||||
|
Loading…
Reference in New Issue
Block a user