]> git.lyx.org Git - lyx.git/blobdiff - lib/generate_contributions.py
German UserGuide.lyx: remove wrong example hyperlink
[lyx.git] / lib / generate_contributions.py
index 05a3dc9398e1f032ca499692460bd5ee0114a69e..ca77b37ff72df681b6af8d11e3e4f1225f0c69dc 100755 (executable)
@@ -55,10 +55,7 @@ class contributer:
                if self.contact.find("http") != -1:
                     result.append('@i%s\n' % self.contact)
                else:
-                    ename, address = self.contact.split(" () ", 1)
-                    address = address.replace(" ! ", ".")
-                    contact = "%s@%s" % (ename, address)
-                    result.append('@iE-mail: %s\n' % contact)
+                    result.append('@iE-mail: %s\n' % self.contact)
           result.append('   %s\n' % self.credit.replace('\n', '\n   '))
           return "".join(result)
 
@@ -94,7 +91,7 @@ def error(message):
 
 
 def usage(prog_name):
-     return "Usage: %s <CREDITS> <credits.php> <blanket-permission.php>" % prog_name
+     return "Usage: %s <CREDITS> <credits.inc> <blanket-permission.inc>" % prog_name
 
 
 def collate_incomplete(contributers):
@@ -154,14 +151,13 @@ def as_php_credits(contributers, file):
 
 function credits_contrib($name, $email, $msg) {
 
-$output=$output. "
-
- <dt>
-  <b>${name}</b>
-";
+$email = str_replace(' () ', '@', $email);
+$email = str_replace(' ! ', '.', $email);
 
 if (isset($email) && $email != "")
-        $output=$output. "  <i>&lt;${email}&gt;</i>";
+        $output=$output. "<dt><b>[[mailto:${email} | ${name}]]</b>";
+else
+        $output=$output. "<dt><b>${name}</b>";
 
 $msg = ereg_replace("\\n *", "\\n  ", ltrim($msg));
 
@@ -213,11 +209,13 @@ def as_php_blanket(contributers, file):
 
 function blanket_contrib($name, $email, $msg_title, $msg_ref, $date) {
 
+$email = str_replace(' () ', '@', $email);
+$email = str_replace(' ! ', '.', $email);
+
 $output=$output. "
 
  <dt>
-  <b>${name}</b>
-  <i>&lt;${email}&gt;</i>
+  <b>[[mailto:${email} | ${name}]]</b>
  </dt>
  <dd>
   See the lyx-devel mailing list message
@@ -314,6 +312,14 @@ contributers = [
                  "27 February 2005",
                  u"Dutch translation team member"),
 
+     contributer(u"Hatim Alahmadi",
+                 "dr.hatim () hotmail ! com",
+                 "GPL",
+                 "license issue",
+                 "m=121727417724431",
+                 "28 July 2008",
+                 u"Arabic translation"),
+
      contributer(u"Asger Alstrup",
                  "aalstrup () laerdal ! dk",
                  "GPL",
@@ -330,6 +336,14 @@ contributers = [
                  "1 April 2005",
                  u"External style definition files, linuxdoc sgml support and more ftp-site ftp.lyx.org"),
 
+     contributer(u"Liviu Andronic",
+                 "landronimirc () gmail ! com",
+                 "GPL",
+                 "contributions GPLed",
+                 "m=121869084720708",
+                 "14 August 2008",
+                 u"Romanian localization"),
+
      contributer(u"João Luis Meloni Assirati",
                  "assirati () nonada ! if ! usp ! br",
                  "GPL",
@@ -400,7 +414,7 @@ contributers = [
                  "Re: Licensing of tex2lyx (and perhaps LyX itself?)",
                  "m=110907078027047",
                  "22 February 2005",
-                 u"Improvements to user interface (menus and keyhandling) including a configurable toolbar and a few other (not so) minor things, like rewriting most of the LyX kernel. Also current source maintainer"),
+                 u"Improvements to user interface (menus and keyhandling) including a configurable toolbar and a few other (not so) minor things, like rewriting most of the LyX kernel. Also previous source maintainer."),
 
      contributer(u"Alfredo Braunstein",
                  "abraunst () lyx ! org",
@@ -464,7 +478,7 @@ contributers = [
                  "Re: The LyX licence",
                  "m=111842518713710",
                  "10 June 2005",
-                 u"French translation of the Windows installer"),
+                 u"French translations"),
 
      contributer(u"Claudio Coco",
                  "lacocio () libero ! it",
@@ -474,6 +488,14 @@ contributers = [
                  "17 January 2006",
                  u"Italian translation"),
 
+     contributer(u"Yuri Chornoivan",
+                 "yurchor () ukr ! net",
+                 "GPL",
+                 "Permission grant",
+                 "m=121681339315810",
+                 "23 July 2008",
+                 u"Ukranian translation"),
+
      contributer(u"Matthias Kalle Dalheimer",
                  "kalle () kdab ! net",
                  "GPL",
@@ -514,6 +536,14 @@ contributers = [
                  "31 May 2007",
                  u"RTL/BiDi-related fixes"),
 
+     contributer(u"Michał Fita",
+                 "michal ! fita () gmail ! com",
+                 "GPL",
+                 "Statement for Polish translation",
+                 "m=121615623122376",
+                 "15 July 2008",
+                 u"Polish translation"),
+
      contributer(u"Ronald Florence",
                  "ron () 18james ! com",
                  "GPL",
@@ -538,13 +568,21 @@ contributers = [
                  "",
                  u"Bug fix to the spellchecker"),
 
+     contributer(u"Nicola Focci",
+                 "nicola.focci () gmail ! com",
+                 "GPL",
+                 "Permission",
+                 "m=120946605432341",
+                 "29 April 2008",
+                 u"Italian translation of documentations"),
+
      contributer(u"Enrico Forestieri",
                  "forenr () tlc ! unipr ! it",
                  "GPL",
                  "Re: lyxpreview2ppm.py",
                  "m=111894292115287",
                  "16 June 2005",
-                 u"Italian translation of the Windows installer"),
+                 u"Italian translations, many bug fixes and features"),
 
      contributer(u"Eitan Frachtenberg",
                  "sky8an () gmail ! com",
@@ -617,7 +655,7 @@ contributers = [
                  "m=110916171925288",
                  "23 February 2005",
                  u"Norwegian documentation and localization"),
-                
+
      contributer(u"Richard Heck",
                  "rgheck () brown ! edu",
                  "GPL",
@@ -808,7 +846,7 @@ contributers = [
                  "Re: Licensing of tex2lyx (and perhaps LyX itself?)",
                  "m=110899928510452",
                  "21 February 2005",
-                 u"configure and Makefile-stuff and more"),
+                 u"configure and Makefile-stuff, many bugfixes and more. Previous stable branch maintainer."),
 
      contributer(u"Victor Lavrenko",
                  "lyx () lavrenko ! pp ! ru",
@@ -866,13 +904,21 @@ contributers = [
                  "1 July 2007",
                  u"Bugfixes"),
 
+     contributer(u"Tetsuya Makimura",
+                 "makimura () ims ! tsukuba.ac ! jp",
+                 "GPL",
+                 "Re: Support request for Japanese without CJK, again (Re: [Fwd: About Japanese edition ...)",
+                 "m=121905769227884",
+                 "18 August 2008",
+                 u"Improvements to the Japanese language support."),
+
      contributer(u"José Matos",
                  "jamatos () fc ! up ! pt",
                  "GPL",
                  "Re: The LyX licence",
                  "m=110907762926766",
                  "22 February 2005",
-                 u"linuxdoc sgml support"),
+                 u"linuxdoc sgml support. Current release manager."),
 
      contributer(u"Roman Maurer",
                  "roman.maurer () amis ! net",
@@ -1216,7 +1262,7 @@ contributers = [
                  "Re: The LyX licence",
                  "m=110907530127164",
                  "22 February 2005",
-                 u"Qt frontend, bugfixes"),
+                 u"Qt frontend, bugfixes. Current stable branch maintainer."),
 
      contributer(u"John Spray",
                  "jcs116 () york ! ac ! uk",
@@ -1240,7 +1286,7 @@ contributers = [
                  "Re: The LyX licence",
                  "m=111833345825278",
                  "9 June 2005",
-                 u"documentation updates, Windows installer, small fixes"),
+                 u"Current documentation maintainer, Windows installer, bug fixes"),
 
      contributer(u"David Suárez de Lis",
                  "excalibor () iname ! com",
@@ -1442,6 +1488,14 @@ contributers = [
                  "12 January 2008",
                  u"small fixes"),
 
+     contributer(u"Vincent van Ravesteijn",
+                 "V.F.vanRavesteijn () tudelft ! nl",
+                 "GPL",
+                 "RE: crash lyx-1.6rc1",
+                 "m=121786603726114",
+                 "4 August 2008",
+                 u"small fixes"),
+
      contributer(u"Xiaokun Zhu",
                  "xiaokun () aero ! gla ! ac ! uk",
                  "",
@@ -1450,5 +1504,7 @@ contributers = [
                  "",
                  u"bug reports and small fixes") ]
 
+
 if __name__ == "__main__":
      main(sys.argv, contributers)
+