bug-lilypond
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: make translation-status fails


From: Francisco Vila
Subject: Re: make translation-status fails
Date: Wed, 16 Feb 2011 12:04:30 +0100

2011/2/12 Jean-Charles Malahieude <address@hidden>:
>>> make translation-status
>>
>> ...
>>>
>>> Traceback (most recent call last):
>>>  File
>>> "/home/jcharles/GIT/Traduc/scripts/auxiliar/translations-status.py",
>>> line 727, in<module>
>>>    updated = markup.paragraph (markup.emph (translation[l]
>>> (last_updated_string) % date_time))
>>> TypeError: not all arguments converted during string formatting
>>
>> It fails for l = cs

This diff can temporarily make 'make translation-status' to succeed,
without the last-updated string whose generation fails.

diff --git a/scripts/auxiliar/translations-status.py
b/scripts/auxiliar/translations-status.py
index 2217463..5bef12b 100755
--- a/scripts/auxiliar/translations-status.py
+++ b/scripts/auxiliar/translations-status.py
@@ -724,7 +724,7 @@ open ('translations.itexi', 'w').write (main_status_page)

 for l in enabled_languages:
     date_time = buildlib.read_pipe ('LANG=%s date -u' % l)[0]
-    updated = markup.paragraph (markup.emph (translation[l]
(last_updated_string) % date_time))
+    updated = "" # markup.paragraph (markup.emph (translation[l]
(last_updated_string) % date_time))
     texi_status = '\n'.join ([doc.translations[l].texi_status (markup)
                               for doc in master_docs
                               if l in doc.translations])



-- 
Francisco Vila. Badajoz (Spain)
www.paconet.org , www.csmbadajoz.com



reply via email to

[Prev in Thread] Current Thread [Next in Thread]