]> git.donarmstrong.com Git - lilypond.git/commitdiff
Translation status: skip @c TRANSLATORS message. Fixes funny message.
authorJan Nieuwenhuizen <janneke@gnu.org>
Mon, 12 Apr 2010 08:29:52 +0000 (10:29 +0200)
committerJan Nieuwenhuizen <janneke@gnu.org>
Mon, 12 Apr 2010 08:29:52 +0000 (10:29 +0200)
Documentation/de/translations.itexi
Documentation/es/translations.itexi
Documentation/fr/translations.itexi
Documentation/hu/translations.itexi
Documentation/it/translations.itexi
Documentation/ja/translations.itexi
Documentation/nl/translations.itexi
Documentation/translations.itexi
scripts/auxiliar/translations-status.py

index 7638a9913988643b632baba0f29334a602bfe188..b43b891ef8fbb5f2ce433d2244f491ebd8723b48 100644 (file)
@@ -9,7 +9,7 @@ Translation status currently only available in HTML.
 @end ifnothtml
 @ifhtml
 @html
-·<p><i>Zuletzt aktualisiert am·Mon Apr 12 08:13:11 UTC 2010
+·<p><i>Zuletzt aktualisiert am·Mon Apr 12 08:27:40 UTC 2010
 </i></p>
 <table align="center" border="2">
  <tr align="center">
index 1760f2d37c4f75d7f44c0a81bfa1a9835f1a5b3c..5c342655bf6d51b0e73bfc08775d0885b1bd8186 100644 (file)
@@ -9,7 +9,7 @@ Translation status currently only available in HTML.
 @end ifnothtml
 @ifhtml
 @html
- <p><i>Actualizado en Mon Apr 12 08:13:11 UTC 2010
+ <p><i>Actualizado en Mon Apr 12 08:27:40 UTC 2010
 </i></p>
 <table align="center" border="2">
  <tr align="center">
index 678622b9cea71c49436c224656a69b2c4886b9aa..1dc4a2750a1a5f0648947ed4e720103ba9079740 100644 (file)
@@ -9,7 +9,7 @@ Translation status currently only available in HTML.
 @end ifnothtml
 @ifhtml
 @html
- <p><i>Dernière mise à jour Mon Apr 12 08:13:11 UTC 2010
+ <p><i>Dernière mise à jour Mon Apr 12 08:27:40 UTC 2010
 </i></p>
 <table align="center" border="2">
  <tr align="center">
index 4765d53535ddbeca8b5b7896c13a9bc207435ce9..24946fdafad8c22c49481f175f5ea396c19c9115 100644 (file)
@@ -9,7 +9,7 @@ Translation status currently only available in HTML.
 @end ifnothtml
 @ifhtml
 @html
- <p><i>Last updated Mon Apr 12 08:13:11 UTC 2010
+ <p><i>Last updated Mon Apr 12 08:27:40 UTC 2010
 </i></p>
 <table align="center" border="2">
  <tr align="center">
@@ -147,7 +147,7 @@ Translation status currently only available in HTML.
  </tr>
  <tr align="left">
   <td title="hu/web/introduction.itexi">Bevezetés<br>(3755)</td>
-  <td>so far it's mostly from</td>
+  <td>Dénes Harmath</td>
   <td></td>
   <td><span style="background-color: #1fff1f">yes</span></td>
   <td><span style="background-color: #c0ff34">partially</span></td>
@@ -163,7 +163,7 @@ Translation status currently only available in HTML.
  </tr>
  <tr align="left">
   <td title="hu/web/manuals.itexi">Dokumentáció<br>(1198)</td>
-  <td>most of the text in this file came from</td>
+  <td>Dénes Harmath</td>
   <td></td>
   <td><span style="background-color: #1fff1f">yes</span></td>
   <td><span style="background-color: #ffd743">partially</span></td>
index dc0be892c4aa91131d923b582776f617e6ebb6d2..919a664beaced4e81e88dfc0782c9d6e9b42e448 100644 (file)
@@ -9,7 +9,7 @@ Translation status currently only available in HTML.
 @end ifnothtml
 @ifhtml
 @html
- <p><i>Last updated Mon Apr 12 08:13:11 UTC 2010
+ <p><i>Last updated Mon Apr 12 08:27:40 UTC 2010
 </i></p>
 <table align="center" border="2">
  <tr align="center">
index 9c55cbf3477473f2745e88624c27db09709c7d08..70fa34af9198629d20e0e444da3f1cf847af7c7b 100644 (file)
@@ -9,7 +9,7 @@ Translation status currently only available in HTML.
 @end ifnothtml
 @ifhtml
 @html
- <p><i>最終更新日 Mon Apr 12 08:13:11 UTC 2010
+ <p><i>最終更新日 Mon Apr 12 08:27:40 UTC 2010
 </i></p>
 <table align="center" border="2">
  <tr align="center">
@@ -166,8 +166,7 @@ Translation status currently only available in HTML.
  <tr align="left">
   <td title="ja/web/introduction.itexi">導入部<br>(3755)</td>
   <td>Yoshiki Sawada<br>
-   Yoshinobu Ishizaki<br>
-   so far it's mostly from</td>
+   Yoshinobu Ishizaki</td>
   <td></td>
   <td><span style="background-color: #1fff1f">はい</span></td>
   <td><span style="background-color: #ff6b58">partially</span></td>
@@ -184,8 +183,7 @@ Translation status currently only available in HTML.
  </tr>
  <tr align="left">
   <td title="ja/web/manuals.itexi">マニュアル<br>(1198)</td>
-  <td>Yoshiki Sawada<br>
-   most of the text in this file came from</td>
+  <td>Yoshiki Sawada</td>
   <td></td>
   <td><span style="background-color: #1fff1f">はい</span></td>
   <td><span style="background-color: #ff6f57">partially</span></td>
index 82c179e5e27b145530ea4c5336607eb1574292bc..302ea0b553d34bc49429e60d27aab31b6c26aa94 100644 (file)
@@ -9,7 +9,7 @@ Translation status currently only available in HTML.
 @end ifnothtml
 @ifhtml
 @html
- <p><i>Meest recente update Mon Apr 12 08:13:11 UTC 2010
+ <p><i>Meest recente update Mon Apr 12 08:27:40 UTC 2010
 </i></p>
 <table align="center" border="2">
  <tr align="center">
index f13864817967fb8ed1cfc2cfcf308e68da47a07a..ab98ffeaa5df6a37c1723fa1ff7d4dd74778aa1d 100644 (file)
@@ -9,7 +9,7 @@ Translation status currently only available in HTML.
 @end ifnothtml
 @ifhtml
 @html
- <p><i>Last updated Mon Apr 12 08:13:11 UTC 2010
+ <p><i>Last updated Mon Apr 12 08:27:40 UTC 2010
 </i></p>
 <table align="center" border="2">
  <tr align="center">
@@ -1250,13 +1250,12 @@ Translation status currently only available in HTML.
    <span style="background-color: #1fff1f">translated</span><br>
    <span style="background-color: #1fff1f">up to date</span><br>
   </td>
-  <td title="hu/web/introduction.itexi">so far it's mostly from<br>
+  <td title="hu/web/introduction.itexi">Dénes Harmath<br>
    <span style="background-color: #1fff1f">translated</span><br>
    <span style="background-color: #c0ff34">partially up to date</span><br>
   </td>
   <td title="ja/web/introduction.itexi">Yoshiki Sawada<br>
    Yoshinobu Ishizaki<br>
-   so far it's mostly from<br>
    <span style="background-color: #1fff1f">translated</span><br>
    <span style="background-color: #ff6b58">partially up to date</span><br>
   </td>
@@ -1312,12 +1311,11 @@ Translation status currently only available in HTML.
    <span style="background-color: #dfef77">partially translated (97 %)</span><br>
    <span style="background-color: #33ff21">partially up to date</span><br>
   </td>
-  <td title="hu/web/manuals.itexi">most of the text in this file came from<br>
+  <td title="hu/web/manuals.itexi">Dénes Harmath<br>
    <span style="background-color: #1fff1f">translated</span><br>
    <span style="background-color: #ffd743">partially up to date</span><br>
   </td>
   <td title="ja/web/manuals.itexi">Yoshiki Sawada<br>
-   most of the text in this file came from<br>
    <span style="background-color: #1fff1f">translated</span><br>
    <span style="background-color: #ff6f57">partially up to date</span><br>
   </td>
@@ -1342,12 +1340,11 @@ Translation status currently only available in HTML.
    <span style="background-color: #d0f0f8">not translated</span><br>
    <span style="background-color: #1fff1f">up to date</span><br>
   </td>
-  <td title="hu/fdl.itexi">most of the text in this file came from<br>
+  <td title="hu/fdl.itexi">Dénes Harmath<br>
    <span style="background-color: #d0f0f8">not translated</span><br>
    <span style="background-color: #1fff1f">up to date</span><br>
   </td>
   <td title="ja/fdl.itexi">Yoshiki Sawada<br>
-   most of the text in this file came from<br>
    <span style="background-color: #d0f0f8">not translated</span><br>
    <span style="background-color: #1fff1f">up to date</span><br>
   </td>
index 793e66a3676717e0852d3ddb567a0de9df947ec2..4cf7d9ddbd582b0cc231153a87852fc4dc800443 100755 (executable)
@@ -49,10 +49,9 @@ title_re = re.compile ('^@(settitle|chapter|top|(?:sub){0,2}section|'
 include_re = re.compile ('^@include (.*?)$', re.M)
 
 # allow multiple lines
-translators_re = re.compile (r'^@c[ ]+[tT]ranslators?[ ]*:[ ]*(.*?)$', re.M | re.I)
-checkers_re = re.compile (r'^@c[ ]+Translation[ ]*checkers?[ ]*:[ ]*(.*?)$',
-                          re.M | re.I)
-status_re = re.compile (r'^@c[ ]+Translation[ ]*status[ ]*:[ ]*(.*?)$', re.M | re.I)
+translators_re = re.compile (r'^@c[ ]+[Tt]ranslators?[ ]*:[ ]*(.*?)$', re.M)
+checkers_re = re.compile (r'^@c[ ]+[Tt]ranslation[ ]*[Cc]heckers?[ ]*:[ ]*(.*?)$', re.M)
+status_re = re.compile (r'^@c[ ]+[Tt]ranslation[ ]*[Ss]tatus[ ]*:[ ]*(.*?)$', re.M)
 post_gdp_re = re.compile ('post.GDP', re.I)
 untranslated_node_str = '@untranslated'
 skeleton_str = '-- SKELETON FILE --'
@@ -254,9 +253,9 @@ class TranslatedTelyDocument (TelyDocument):
         if (not isinstance (self, UntranslatedTelyDocument)
             and (not self.translators or not self.translators[0])
             and not 'macros.itexi' in self.filename):
-            error ('%s: error: no translator name found, \nplease \
-specify at least one in the master file as a line containing\n\
-@c Translators: FirstName1 LastName1, FirstName2 LastName2' % self.filename)
+            error (self.filename + ''': error: no translator name found
+please specify one ore more lines in the master file
+@c Translator: FirstName LastName[, FirstName LastName]..''')
         self.checkers = []
         m = checkers_re.findall (self.contents)
         if m: