( \
    LANG=C; export LANG; \
    for l in be ca cs da de el es fi fr gl it ja lt ml nb nl pl pt pt_BR ro ru 
sk sv tr vi zh_CN zh_TW; do \
        echo -n "$l: "; \
        msgcat --use-first source/locales/$l/LC_MESSAGES/*.po | msgfmt 
--statistics - 2>&1 ; \
    done; \
) > statistics.txt
source/locales/pt/LC_MESSAGES/whats-new.po:965: duplicate message definition...
source/locales/pt/LC_MESSAGES/whats-new.po:527: ...this is the location of the 
first definition
msgcat: found 1 fatal error
./statspage statistics.txt > statistics.html
Traceback (most recent call last):
  File "/srv/www.debian.org/release-notes/release-notes/./statspage", line 62, 
in <module>
    value = float(translated + fuzzy/2.)/(total/100.)
            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^~~~~~~~~~~~
ZeroDivisionError: float division by zero
make: *** [Makefile:281: statistics.html] Error 1

Reply via email to