Updated the CREDITS.TXT file for 2019.01
authorTobias Diekershoff <tobias.diekershoff@gmx.net>
Mon, 14 Jan 2019 05:57:37 +0000 (06:57 +0100)
committerTobias Diekershoff <tobias.diekershoff@gmx.net>
Mon, 14 Jan 2019 05:57:37 +0000 (06:57 +0100)
Additionally Transifex started to add lines to the header that confused the detection of "Translatorname, year" detection so the make_credits script had to be updated.

CREDITS.txt
bin/dev/make_credits.py

index ff430c9..a2bf7d3 100644 (file)
@@ -1,3 +1,5 @@
+
+
 23n
 Abinoam P. Marques Jr.
 Abrax
@@ -21,6 +23,7 @@ Andreas Neustifter
 Andrej Stieben
 André Alves
 André Lohan
+Andy
 Andy H3
 Andy Hee
 AndyHee
@@ -49,6 +52,7 @@ Christian M. Grube
 Christian Vogeley
 Cohan Robinson
 Copiis Praeesse
+CrystalStiletto
 Cyboulette
 Cyryl Sochacki
 czarnystokrotek
@@ -78,6 +82,7 @@ Fabian Dost
 Fabio Comuni
 felixgilles
 Filip Bugaj
+Filip H.F. "FiXato" Slagter
 FlxAlbroscheit
 foss
 Francesco Apruzzese
@@ -111,6 +116,7 @@ jeroenpraat
 Johannes Schwab
 John Brazil
 Jonatan Nyberg
+Jonny Tischbein
 Josef Moravek
 juanman
 julia.domagalska
@@ -131,7 +137,9 @@ Magdalena Gazda
 Mai Anh Nguyen
 Manuel Pérez Monís
 Marcin Klessa
+Marcin Mikołajczak
 Marcus Müller
+Marie Olive
 Mariusz Pisz
 marmor
 Marquis_de_Carabas
@@ -173,6 +181,7 @@ Rabuzarus
 Radek
 Rafael Garau
 Rainulf Pineda
+Ralf Thees
 Ralph
 Ratten
 rcmaniac
@@ -212,6 +221,7 @@ Thecross
 Thomas
 Thomas Willingham
 thorsten23
+Tim Stahel
 Tino
 Tobias Diekershoff
 Tobias Hößl
@@ -229,10 +239,13 @@ ufic
 Unknown
 Vasudev Kamath
 Vasya Novikov
+Vinzenz Vietzke
 vislav
+vladimir N
 VVelox
 Vít Šesták 'v6ak'
 Waldemar Stoczkowski
+Wouter Broers
 Yasen Pramatarov
 ylms
 Zach Prezkuta
index e373fa8..c749911 100755 (executable)
@@ -23,7 +23,9 @@ import os, glob, subprocess
 #  not work in some cases.
 dontinclude = ['root', 'friendica', 'bavatar', 'tony baldwin', 'Taek', 'silke m',
                'leberwurscht', 'abinoam', 'fabrixxm', 'FULL NAME', 'Hauke Zuehl',
-               'Michal Supler', 'michal_s', 'Manuel Pérez', 'rabuzarus', 'Alberto Díaz']
+               'Michal Supler', 'michal_s', 'Manuel Pérez', 'rabuzarus',
+              'Alberto Díaz', 'hoergen oostende', 'Friendica', 'vinzv',
+               'Vincent Vindarel']
 
 
 #  this script is in the /bin/dev directory of the friendica installation
@@ -88,10 +90,14 @@ for f in glob.glob(path+'/addon/*/lang/*/messages.po'):
     for ll in l:
         if intrans and ll.strip()=='':
             intrans = False;
-        if intrans and ll[0]=='#':
-            name = ll.split('# ')[1].split(',')[0].split(' <')[0]
-            if not name in contributors and name not in dontinclude:
-                contributors.append(name)
+        # at this point Transifex sometimes includes a "#, fuzzy" we eill
+        # ignore all lines starting with "#," as they do not contains any
+        # "Name email, year" information.
+        if not "#," in ll:
+            if intrans and ll[0]=='#':
+                name = ll.split('# ')[1].split(',')[0].split(' <')[0]
+                if not name in contributors and name not in dontinclude:
+                    contributors.append(name)
         if "# Translators:" in ll:
             intrans = True
 #  done with the translators