]> git.lyx.org Git - lyx.git/blobdiff - lib/generate_contributions.py
Update it.po
[lyx.git] / lib / generate_contributions.py
index 5aa79f9bfdd7788c6489a3fa818962462aca93c9..2bb442cd88691b45a3f5ef46ab235f70f6eb23c4 100755 (executable)
@@ -53,7 +53,7 @@ class contributor:
      def as_txt_credits(self):
           result = [ '@b%s\n' % self.name ]
           if len(self.contact) != 0:
      def as_txt_credits(self):
           result = [ '@b%s\n' % self.name ]
           if len(self.contact) != 0:
-               if self.contact.find("http") != -1:
+               if self.contact.find("https") != -1:
                     result.append('@i%s\n' % self.contact)
                else:
                     result.append('@iE-mail: %s\n' % self.contact)
                     result.append('@i%s\n' % self.contact)
                else:
                     result.append('@iE-mail: %s\n' % self.contact)
@@ -163,7 +163,7 @@ $email = str_replace(' () ', '@', $email);
 $email = str_replace(' ! ', '.', $email);
 
 if (isset($email) && $email != "") {
 $email = str_replace(' ! ', '.', $email);
 
 if (isset($email) && $email != "") {
-        if (strncasecmp($email,"http",4) == 0)
+        if (strncasecmp($email,"https",4) == 0)
             $output =$output. "<dt><b>[[${email} | ${name}]]</b>";
          else
             $output=$output. "<dt><b>[[mailto:${email} | ${name}]]</b>";
             $output =$output. "<dt><b>[[${email} | ${name}]]</b>";
          else
             $output=$output. "<dt><b>[[mailto:${email} | ${name}]]</b>";
@@ -234,7 +234,7 @@ $output=$output. "
 
 if (isset($msg_ref) && $msg_ref != "") {
         $msg_ref = htmlspecialchars("$msg_ref");
 
 if (isset($msg_ref) && $msg_ref != "") {
         $msg_ref = htmlspecialchars("$msg_ref");
-        $output=$output. "[[http://marc.info/?l=lyx-devel&amp;" . ${msg_ref} . "|" . ${msg_title} . "]]";
+        $output=$output. "[[https://marc.info/?l=lyx-devel&amp;" . ${msg_ref} . "|" . ${msg_title} . "]]";
 } else {
         $output=$output. "${msg_title}";
 }
 } else {
         $output=$output. "${msg_title}";
 }
@@ -251,7 +251,7 @@ function blanket_output() {
 $output=$output."<p>
      The following people hereby grant permission to license their
      contributions to LyX under the
 $output=$output."<p>
      The following people hereby grant permission to license their
      contributions to LyX under the
-     [[http://www.opensource.org/licenses/gpl-license.php |
+     [[https://opensource.org/licenses/gpl-license |
      Gnu General Public License]], version 2 or later.
 </p>
 
      Gnu General Public License]], version 2 or later.
 </p>
 
@@ -269,7 +269,7 @@ $output=$output."
 <p>
      The following people hereby grant permission to license their
      contributions to LyX under the
 <p>
      The following people hereby grant permission to license their
      contributions to LyX under the
-     [[http://www.opensource.org/licenses/artistic-license-2.0.php |
+     [[https://opensource.org/licenses/Artistic-2.0 |
      Artistic License 2]].
 </p>
 
      Artistic License 2]].
 </p>
 
@@ -296,20 +296,32 @@ def main(argv, contributors):
      if len(argv) != 4:
           error(usage(argv[0]))
 
      if len(argv) != 4:
           error(usage(argv[0]))
 
-     txt_credits_data = unicode(as_txt_credits(contributors)).encode("utf-8")
-     txt_credits = open(argv[1], "w")
+     if sys.version_info[0] < 3:
+         txt_credits_data = unicode(as_txt_credits(contributors)).encode("utf-8")
+     else:
+         txt_credits_data = str(as_txt_credits(contributors)).encode("utf-8")
+     txt_credits = open(argv[1], "wb")
      txt_credits.write(txt_credits_data)
 
      txt_credits.write(txt_credits_data)
 
-     php_credits_data = unicode(as_php_credits(contributors, argv[2])).encode("utf-8")
-     php_credits = open(argv[2], "w")
+     if sys.version_info[0] < 3:
+         php_credits_data = unicode(as_php_credits(contributors, argv[2])).encode("utf-8")
+     else:
+         php_credits_data = str(as_php_credits(contributors, argv[2])).encode("utf-8")
+     php_credits = open(argv[2], "wb")
      php_credits.write(php_credits_data)
 
      php_credits.write(php_credits_data)
 
-     php_blanket_data = unicode(as_php_blanket(contributors, argv[3])).encode("utf-8")
-     php_blanket = open(argv[3], "w")
+     if sys.version_info[0] < 3:
+         php_blanket_data = unicode(as_php_blanket(contributors, argv[3])).encode("utf-8")
+     else:
+         php_blanket_data = str(as_php_blanket(contributors, argv[3])).encode("utf-8")
+     php_blanket = open(argv[3], "wb")
      php_blanket.write(php_blanket_data)
 
      php_blanket.write(php_blanket_data)
 
-     warning_data =  unicode(collate_incomplete(contributors) + '\n').encode("utf-8")
-     sys.stderr.write(warning_data)
+     if sys.version_info[0] < 3:
+         warning_data =  unicode(collate_incomplete(contributors) + '\n').encode("utf-8")
+     else:
+         warning_data =  str(collate_incomplete(contributors) + '\n').encode("utf-8")
+     sys.stderr.write(warning_data.decode('utf-8'))
 
 
 # Store the raw data.
 
 
 # Store the raw data.
@@ -371,6 +383,14 @@ contributors = [
                  "14 August 2008",
                  u"Romanian localization and support for the frletter document class"),
 
                  "14 August 2008",
                  u"Romanian localization and support for the frletter document class"),
 
+     contributor(u"Georger Araujo",
+                 "georger_br () yahoo ! com ! br",
+                 "GPL",
+                 "pt_BR.po translation for LyX 2.1.3",
+                 "m=143058265303480",
+                 "2 May 2015",
+                 u"Brazilian Portuguese translation"),
+
      contributor(u"João Luis Meloni Assirati",
                  "assirati () nonada ! if ! usp ! br",
                  "GPL",
      contributor(u"João Luis Meloni Assirati",
                  "assirati () nonada ! if ! usp ! br",
                  "GPL",
@@ -491,6 +511,14 @@ contributors = [
                  "24 February 2005",
                  u"A (pseudo) threaded graphics loader queue, lots of fixes, etc."),
 
                  "24 February 2005",
                  u"A (pseudo) threaded graphics loader queue, lots of fixes, etc."),
 
+     contributor(u"Martin A. Brown",
+                 "martin () linux-ip ! net",
+                 "GPL",
+                 "Re: public identifier for DocBook XML export",
+                 "m=148391461928571",
+                 "8 January 2017",
+                 u"Docbook fixes"),
+
      contributor(u"Christian Buescher",
                  "christian.buescher () uni-bielefeld ! de",
                  "",
      contributor(u"Christian Buescher",
                  "christian.buescher () uni-bielefeld ! de",
                  "",
@@ -763,6 +791,22 @@ contributors = [
                  "28 February 2005",
                  u"Improvements to lyxserver"),
 
                  "28 February 2005",
                  u"Improvements to lyxserver"),
 
+     contributor(u"Shankar Giri Venkita Giri",
+                 "girivs () gmx ! com",
+                 "GPL",
+                 "Blanket permission",
+                 "m=146162343015182",
+                 "25 April 2016",
+                 u"Mingw-w64 build fixes"),
+
+     contributor(u"D. Gloger",
+                 "2wochenurlaub () gloger ! biz",
+                 "GPL",
+                 "Re: external material template: SVG -> PDF/PS with LaTeX",
+                 "m=151298047124676",
+                 "11 December 2017",
+                 u"Inkscape External Template"),
+
      contributor(u"Hartmut Goebel",
                  "h.goebel () crazy-compilers ! com",
                  "GPL",
      contributor(u"Hartmut Goebel",
                  "h.goebel () crazy-compilers ! com",
                  "GPL",
@@ -811,6 +855,22 @@ contributors = [
                  "23 February 2005",
                  u"Norwegian documentation and localization"),
 
                  "23 February 2005",
                  u"Norwegian documentation and localization"),
 
+     contributor(u"Jessica Hamilton",
+                 "jessica.l.hamilton () gmail ! com",
+                 "GPL",
+                 "Contributor License",
+                 "m=143381137411598",
+                 "9 June 2015",
+                 u"Haiku OS support"),
+
+     contributor(u"Jan Niklas Hasse",
+                 "jhasse () bixense ! com",
+                 "GPL",
+                 "Re: Patch to make it possible to open empty files",
+                 "m=148163124122780",
+                 "23 December 2016",
+                 u"File opening enhancement"),
+
      contributor(u"Richard Heck",
                  "rgheck () comcast ! net",
                  "GPL",
      contributor(u"Richard Heck",
                  "rgheck () comcast ! net",
                  "GPL",
@@ -867,6 +927,14 @@ contributors = [
                  "6 October 2013",
                  u"Dialog usability fix"),
 
                  "6 October 2013",
                  u"Dialog usability fix"),
 
+     contributor(u"John Hudson",
+                 "j.r.hudson () virginmedia ! com",
+                 "GPL",
+                 "Contributions",
+                 "m=146722333213915",
+                 "29 June 2016",
+                 u"Documentation updates"),
+
      contributor(u"Bernard Hurley",
                  "bernard () fong-hurley ! org ! uk",
                  "GPL",
      contributor(u"Bernard Hurley",
                  "bernard () fong-hurley ! org ! uk",
                  "GPL",
@@ -956,7 +1024,7 @@ contributors = [
                  u"Original name that is now two characters shorter"),
 
      contributor(u"KDE Artists",
                  u"Original name that is now two characters shorter"),
 
      contributor(u"KDE Artists",
-                 "http://artist.kde.org/",
+                 "",
                  "",
                  "",
                  "",
                  "",
                  "",
                  "",
@@ -988,7 +1056,7 @@ contributors = [
                  u"Italian localization of the interface"),
 
      contributor(u"Scott Kostyshak",
                  u"Italian localization of the interface"),
 
      contributor(u"Scott Kostyshak",
-                 "skostysh@princeton.edu",
+                 "skostysh () princeton ! edu",
                  "GPL",
                  "GPL Statement",
                  "m=133076234031944",
                  "GPL",
                  "GPL Statement",
                  "m=133076234031944",
@@ -1043,6 +1111,14 @@ contributors = [
                  "25 February 2005",
                  u"Initial version of the koma-script textclasses"),
 
                  "25 February 2005",
                  u"Initial version of the koma-script textclasses"),
 
+     contributor(u"Joel Kulesza",
+                 "jkulesza () gmail ! com>",
+                 "GPL",
+                 "License to Publish Work",
+                 "m=147735429207382",
+                 "25 October 2016",
+                 u"User interface improvements"),
+
      contributor(u"Felix Kurth",
                  "felix () fkurth ! de",
                  "GPL",
      contributor(u"Felix Kurth",
                  "felix () fkurth ! de",
                  "GPL",
@@ -1108,7 +1184,7 @@ contributors = [
                  u"Added native support for \makebox to mathed. Several bug fixes, both to the source code and to the llncs layout file"),
 
      contributor(u"LibreOffice Team",
                  u"Added native support for \makebox to mathed. Several bug fixes, both to the source code and to the llncs layout file"),
 
      contributor(u"LibreOffice Team",
-                 "http://www.libreoffice.org/",
+                 "https://www.libreoffice.org/",
                  "LGPL",
                  "",
                  "",
                  "LGPL",
                  "",
                  "",
@@ -1139,6 +1215,14 @@ contributors = [
                  "16 March 2010",
                  u"Arabic translation"),
 
                  "16 March 2010",
                  u"Arabic translation"),
 
+     contributor(u"Jari-Matti Mäkelä",
+                 "jmjmak () utu ! fi",
+                 "GPL",
+                 "Re: lyx fi translation update",
+                 "m=142987910907596",
+                 "24 April 2015",
+                 u"Contribution to the Finnish Localization."),
+
      contributor(u"Tetsuya Makimura",
                  "makimura () ims ! tsukuba.ac ! jp",
                  "GPL",
      contributor(u"Tetsuya Makimura",
                  "makimura () ims ! tsukuba.ac ! jp",
                  "GPL",
@@ -1227,6 +1311,14 @@ contributors = [
                  "20 October 2014",
                  u"New lfun server-get-statistics"),
 
                  "20 October 2014",
                  u"New lfun server-get-statistics"),
 
+     contributor(u"Guillaume Munch",
+                 "gm () lyx ! org",
+                 "GPL",
+                 "Re: -std=c++11 and [PATCH] Improve the display of the source (bugs #6501,#7359)",
+                 "m=143890980923229",
+                 "07 August 2015",
+                 u"Several bug fixes, mainly mathed"),
+
      contributor(u"Iñaki Larrañaga Murgoitio",
                  "dooteo () euskalgnu ! org",
                  "GPL",
      contributor(u"Iñaki Larrañaga Murgoitio",
                  "dooteo () euskalgnu ! org",
                  "GPL",
@@ -1276,7 +1368,7 @@ contributors = [
                  u"Improvements to the outliner."),
 
      contributor(u"Oxygen Team",
                  u"Improvements to the outliner."),
 
      contributor(u"Oxygen Team",
-                 "http://www.oxygen-icons.org/",
+                 "https://techbase.kde.org/Projects/Oxygen",
                  "LGPL",
                  "",
                  "",
                  "LGPL",
                  "",
                  "",
@@ -1323,6 +1415,14 @@ contributors = [
                  "9 March 2014",
                  u"Korean translation"),
 
                  "9 March 2014",
                  u"Korean translation"),
 
+     contributor(u'Andrew Parsloe',
+                 "aparsloe () clear ! net ! nz",
+                 "GPL",
+                 "GPL declaration",
+                 "m=147941540519608",
+                 "17 November 2016",
+                 u"Module updates"),
+
      contributor(u'Bo Peng',
                  "ben.bob () gmail ! com",
                  "GPL",
      contributor(u'Bo Peng',
                  "ben.bob () gmail ! com",
                  "GPL",
@@ -1419,6 +1519,14 @@ contributors = [
                  "6 April 2005",
                  u"initial configure script"),
 
                  "6 April 2005",
                  u"initial configure script"),
 
+     contributor(u"Zheru Qiu",
+                 "qzr () mail ! ustc ! edu ! cn",
+                 "GPL",
+                 "Fwd: Permission of using my translation under GPL",
+                 "m=148702600212546",
+                 "5 February 2017",
+                 u"Chinese localisation"),
+
      contributor(u"Allan Rae",
                  "rae () itee ! uq ! edu ! au",
                  "GPL",
      contributor(u"Allan Rae",
                  "rae () itee ! uq ! edu ! au",
                  "GPL",
@@ -1426,7 +1534,7 @@ contributors = [
                  "m=110905169512662",
                  "21 February 2005",
                  u"GUI-I architect, LyX PR head, LDN, bug reports/fixes, Itemize Bullet Selection, xforms-0.81 + gcc-2.6.3 compatibility"),
                  "m=110905169512662",
                  "21 February 2005",
                  u"GUI-I architect, LyX PR head, LDN, bug reports/fixes, Itemize Bullet Selection, xforms-0.81 + gcc-2.6.3 compatibility"),
-     
+
      contributor(u"Manoj Rajagopalan",
                  "rmanoj () umich ! edu", 
                  "GPL", 
      contributor(u"Manoj Rajagopalan",
                  "rmanoj () umich ! edu", 
                  "GPL", 
@@ -1434,7 +1542,15 @@ contributors = [
                  "m=123506398801004", 
                  "Feb 19 2009", 
                  u"reference dialog tweaks"),
                  "m=123506398801004", 
                  "Feb 19 2009", 
                  u"reference dialog tweaks"),
-     
+
+     contributor(u"Daniel Ramöller",
+                 "d.lyx () web ! de", 
+                 "GPL", 
+                 "Permission", 
+                 "m=147578627921242", 
+                 "Oct 6 2016", 
+                 u"UI improvements"),
+
      contributor(u"Vincent van Ravesteijn",
                  "V.F.vanRavesteijn () tudelft ! nl",
                  "GPL",
      contributor(u"Vincent van Ravesteijn",
                  "V.F.vanRavesteijn () tudelft ! nl",
                  "GPL",
@@ -1539,6 +1655,14 @@ contributors = [
                  "25 September 2007",
                  u"Major rework of the AMS classes"),
 
                  "25 September 2007",
                  u"Major rework of the AMS classes"),
 
+     contributor(u"Dima Ruinskiy",
+                 "dima.ruinskiy () outlook ! com",
+                 "GPL",
+                 "Joining LyX development team",
+                 "m=146687842921797",
+                 "24 June 2016",
+                 u"Reintroduction of Windows Vista support (bug 10186)"),
+
      contributor(u"Guy Rutenberg",
                  "guyrutenberg () gmail ! com",
                  "GPL",
      contributor(u"Guy Rutenberg",
                  "guyrutenberg () gmail ! com",
                  "GPL",
@@ -1659,6 +1783,14 @@ contributors = [
                  "Mar 2 2009",
                  u"Indonesian translation"),
 
                  "Mar 2 2009",
                  u"Indonesian translation"),
 
+     contributor(u"Yuriy Skalko",
+                 "yuriy.skalko () gmail ! com",
+                 "GPL",
+                 "Re: Updated Russian translation",
+                 "m=151306079714476",
+                 "12 December 2017",
+                 u"Russian translation of the user interface"),
+     
      contributor(u"Giovanni Sora",
                  "g.sora () tiscali ! it",
                  "GPL",
      contributor(u"Giovanni Sora",
                  "g.sora () tiscali ! it",
                  "GPL",