po/it/Makefile: better output messages
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
This commit is contained in:
parent
8749270267
commit
0c66ce02ca
@ -2,13 +2,17 @@ Changes in version 1.16.1
|
|||||||
--- --- -- 2012 Davide Madrisan <davide.madrisan(a)gmail.com>
|
--- --- -- 2012 Davide Madrisan <davide.madrisan(a)gmail.com>
|
||||||
|
|
||||||
+ improvement
|
+ improvement
|
||||||
* Makefile - Davide Madrisan:
|
* po/it/Makefile - Davide Madrisan:
|
||||||
Target 'locales': check 'autospec.po' for untranslated strings.
|
Target 'locales': check 'autospec.po' for untranslated strings.
|
||||||
|
|
||||||
+ bugfix
|
+ bugfix
|
||||||
* po/it/autospec.po - Davide Madrisan:
|
* po/it/autospec.po - Davide Madrisan:
|
||||||
Add a missing translation.
|
Add a missing translation.
|
||||||
|
|
||||||
|
+ update
|
||||||
|
* po/it/Makefile - Davide Madrisan:
|
||||||
|
Better output messages.
|
||||||
|
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
|
|
||||||
Changes in version 1.16.0
|
Changes in version 1.16.0
|
||||||
|
@ -48,24 +48,24 @@ all: locales
|
|||||||
pck_manpages :=
|
pck_manpages :=
|
||||||
|
|
||||||
merge-pot-files: $(patsubst %,$(srcdir)/po/%,$(pck_catalogs_tmpl))
|
merge-pot-files: $(patsubst %,$(srcdir)/po/%,$(pck_catalogs_tmpl))
|
||||||
@echo "Creating global pot file...";\
|
@echo -n "Creating global pot file: $(pck_catalog_tmpl)... "
|
||||||
/bin/cat $(patsubst %,$(srcdir)/po/%,$(pck_catalogs_tmpl)) \
|
@/bin/cat $(patsubst %,$(srcdir)/po/%,$(pck_catalogs_tmpl)) \
|
||||||
> $(srcdir)/po/$(PACKAGE)-all.pot;\
|
> $(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 \
|
$(srcdir)/po/$(PACKAGE)-all.pot \
|
||||||
-o $(srcdir)/po/$(pck_catalog_tmpl) && \
|
-o $(srcdir)/po/$(pck_catalog_tmpl) && \
|
||||||
echo "... $(PACKAGE)-all.pot [DONE]" || \
|
echo "[DONE]" || { echo "[FAILED]"; exit 1; }
|
||||||
{ echo ".. $(PACKAGE)-all.pot [FAILED]"; exit 1; }
|
|
||||||
|
|
||||||
locales: merge-pot-files
|
locales: merge-pot-files
|
||||||
@echo "Generating global locale...";\
|
@echo -n "Generating global locale: $(pck_catalog)... "
|
||||||
/usr/bin/msgmerge --update --no-fuzzy-matching --indent \
|
@/usr/bin/msgmerge --quiet \
|
||||||
|
--update --no-fuzzy-matching --indent \
|
||||||
$(pck_catalog) \
|
$(pck_catalog) \
|
||||||
$(srcdir)/po/$(pck_catalog_tmpl) && \
|
$(srcdir)/po/$(pck_catalog_tmpl) && \
|
||||||
echo "... $(pck_catalog) [DONE]" || \
|
echo "[DONE]" || { echo "[FAILED]"; exit 1; }
|
||||||
{ echo "... $(pck_catalog) [FAILED]"; exit 1; }
|
@echo -n "Checking $(pck_catalog) for untranslated strings... "
|
||||||
@echo -n "Checking $(pck_catalog) for untranslated strings... ";\
|
@/bin/grep -q 'msgstr[ \t]*\"\"' $(pck_catalog) && \
|
||||||
/bin/grep -q 'msgstr[ \t]*\"\"' $(pck_catalog) && \
|
|
||||||
{ echo "[UNTRASLATED STRING]"; exit 1; } || \
|
{ echo "[UNTRASLATED STRING]"; exit 1; } || \
|
||||||
echo "[NONE]"
|
echo "[NONE]"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user