[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: check-translation not working
From: |
John Mandereau |
Subject: |
Re: check-translation not working |
Date: |
Sat, 18 Aug 2007 22:04:55 +0200 |
Le samedi 11 août 2007 à 13:21 +0300, Till Rettig a écrit :
> Hi,
>
> another problem is that check-translation script is not working for me.
> It throws following message:
>
> address@hidden:~/Documents/Lilypond/compile/Documentation$ make ISOLANG=de
> check-translation
> find de/user/ -maxdepth 1 -name '*.*te??' | xargs /usr/bin/python
> ../buildscripts/check_translation.py ../buildscripts de/index.html.in
> ../buildscripts/check_translation.py:26: DeprecationWarning: raising a
> string exception is deprecated
> raise translated + ': no GIT committish: <hash> found'
> Traceback (most recent call last):
> File "../buildscripts/check_translation.py", line 88, in <module>
> main ()
> File "../buildscripts/check_translation.py", line 85, in main
> do_file (i, langdefs)
> File "../buildscripts/check_translation.py", line 47, in do_file
> check_file (original, translated)
> File "../buildscripts/check_translation.py", line 26, in check_file
> raise translated + ': no GIT committish: <hash> found'
> de/index.html.in: no GIT committish: <hash> found
> make: *** [check-translation] Fehler 123
>
> I guess this is about python version 2.5,
No, the line saying
de/index.html.in: no GIT committish: <hash> found
is the meaningful error message (I admit it's a bit hidden by other less
meaningful lines, I'm going to fix this). The first lines of
de/index.html.in are
<html>
<!--
Translation of GIT committish: FILL-IN-HEAD-COMMITTISH
so you have the answer ;-) Update de/index.html.in manually by checking
it entirely against the original in English, then fill in HEAD
committish.
Cheers,
John