diff --git a/ChangeLog b/ChangeLog index 20fa7ee..0e03b93 100644 --- a/ChangeLog +++ b/ChangeLog @@ -2,13 +2,17 @@ Changes in version 1.16.1 --- --- -- 2012 Davide Madrisan + 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 diff --git a/po/it/Makefile b/po/it/Makefile index d8bc9af..2dff834 100644 --- a/po/it/Makefile +++ b/po/it/Makefile @@ -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]"