po/it/Makefile: better output messages

Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
This commit is contained in:
Davide Madrisan 2012-11-27 23:42:25 +01:00
parent 8749270267
commit 0c66ce02ca
2 changed files with 16 additions and 12 deletions

View File

@ -2,13 +2,17 @@ Changes in version 1.16.1
--- --- -- 2012 Davide Madrisan <davide.madrisan(a)gmail.com>
+ improvement
* Makefile - Davide Madrisan:
* po/it/Makefile - Davide Madrisan:
Target 'locales': check 'autospec.po' for untranslated strings.
+ bugfix
* po/it/autospec.po - Davide Madrisan:
Add a missing translation.
+ update
* po/it/Makefile - Davide Madrisan:
Better output messages.
-------------------------------------------------------------------------------
Changes in version 1.16.0

View File

@ -48,24 +48,24 @@ all: locales
pck_manpages :=
merge-pot-files: $(patsubst %,$(srcdir)/po/%,$(pck_catalogs_tmpl))
@echo "Creating global pot file...";\
/bin/cat $(patsubst %,$(srcdir)/po/%,$(pck_catalogs_tmpl)) \
@echo -n "Creating global pot file: $(pck_catalog_tmpl)... "
@/bin/cat $(patsubst %,$(srcdir)/po/%,$(pck_catalogs_tmpl)) \
> $(srcdir)/po/$(PACKAGE)-all.pot;\
/usr/bin/msguniq --use-first --no-location --no-wrap \
/usr/bin/msguniq \
--use-first --no-location --no-wrap --to-code=UTF-8 \
$(srcdir)/po/$(PACKAGE)-all.pot \
-o $(srcdir)/po/$(pck_catalog_tmpl) && \
echo "... $(PACKAGE)-all.pot [DONE]" || \
{ echo ".. $(PACKAGE)-all.pot [FAILED]"; exit 1; }
echo "[DONE]" || { echo "[FAILED]"; exit 1; }
locales: merge-pot-files
@echo "Generating global locale...";\
/usr/bin/msgmerge --update --no-fuzzy-matching --indent \
@echo -n "Generating global locale: $(pck_catalog)... "
@/usr/bin/msgmerge --quiet \
--update --no-fuzzy-matching --indent \
$(pck_catalog) \
$(srcdir)/po/$(pck_catalog_tmpl) && \
echo "... $(pck_catalog) [DONE]" || \
{ echo "... $(pck_catalog) [FAILED]"; exit 1; }
@echo -n "Checking $(pck_catalog) for untranslated strings... ";\
/bin/grep -q 'msgstr[ \t]*\"\"' $(pck_catalog) && \
echo "[DONE]" || { echo "[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]"