Updated the CREDITS.TXT file for 2019.01

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.
This commit is contained in:
Tobias Diekershoff 2019-01-14 06:57:37 +01:00
parent 2b198264c1
commit 8b586e9d6c
2 changed files with 24 additions and 5 deletions

View file

@ -1,3 +1,5 @@
23n 23n
Abinoam P. Marques Jr. Abinoam P. Marques Jr.
Abrax Abrax
@ -21,6 +23,7 @@ Andreas Neustifter
Andrej Stieben Andrej Stieben
André Alves André Alves
André Lohan André Lohan
Andy
Andy H3 Andy H3
Andy Hee Andy Hee
AndyHee AndyHee
@ -49,6 +52,7 @@ Christian M. Grube
Christian Vogeley Christian Vogeley
Cohan Robinson Cohan Robinson
Copiis Praeesse Copiis Praeesse
CrystalStiletto
Cyboulette Cyboulette
Cyryl Sochacki Cyryl Sochacki
czarnystokrotek czarnystokrotek
@ -78,6 +82,7 @@ Fabian Dost
Fabio Comuni Fabio Comuni
felixgilles felixgilles
Filip Bugaj Filip Bugaj
Filip H.F. "FiXato" Slagter
FlxAlbroscheit FlxAlbroscheit
foss foss
Francesco Apruzzese Francesco Apruzzese
@ -111,6 +116,7 @@ jeroenpraat
Johannes Schwab Johannes Schwab
John Brazil John Brazil
Jonatan Nyberg Jonatan Nyberg
Jonny Tischbein
Josef Moravek Josef Moravek
juanman juanman
julia.domagalska julia.domagalska
@ -131,7 +137,9 @@ Magdalena Gazda
Mai Anh Nguyen Mai Anh Nguyen
Manuel Pérez Monís Manuel Pérez Monís
Marcin Klessa Marcin Klessa
Marcin Mikołajczak
Marcus Müller Marcus Müller
Marie Olive
Mariusz Pisz Mariusz Pisz
marmor marmor
Marquis_de_Carabas Marquis_de_Carabas
@ -173,6 +181,7 @@ Rabuzarus
Radek Radek
Rafael Garau Rafael Garau
Rainulf Pineda Rainulf Pineda
Ralf Thees
Ralph Ralph
Ratten Ratten
rcmaniac rcmaniac
@ -212,6 +221,7 @@ Thecross
Thomas Thomas
Thomas Willingham Thomas Willingham
thorsten23 thorsten23
Tim Stahel
Tino Tino
Tobias Diekershoff Tobias Diekershoff
Tobias Hößl Tobias Hößl
@ -229,10 +239,13 @@ ufic
Unknown Unknown
Vasudev Kamath Vasudev Kamath
Vasya Novikov Vasya Novikov
Vinzenz Vietzke
vislav vislav
vladimir N
VVelox VVelox
Vít Šesták 'v6ak' Vít Šesták 'v6ak'
Waldemar Stoczkowski Waldemar Stoczkowski
Wouter Broers
Yasen Pramatarov Yasen Pramatarov
ylms ylms
Zach Prezkuta Zach Prezkuta

View file

@ -23,7 +23,9 @@ import os, glob, subprocess
# not work in some cases. # not work in some cases.
dontinclude = ['root', 'friendica', 'bavatar', 'tony baldwin', 'Taek', 'silke m', dontinclude = ['root', 'friendica', 'bavatar', 'tony baldwin', 'Taek', 'silke m',
'leberwurscht', 'abinoam', 'fabrixxm', 'FULL NAME', 'Hauke Zuehl', '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 # 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: for ll in l:
if intrans and ll.strip()=='': if intrans and ll.strip()=='':
intrans = False; intrans = False;
if intrans and ll[0]=='#': # at this point Transifex sometimes includes a "#, fuzzy" we eill
name = ll.split('# ')[1].split(',')[0].split(' <')[0] # ignore all lines starting with "#," as they do not contains any
if not name in contributors and name not in dontinclude: # "Name email, year" information.
contributors.append(name) 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: if "# Translators:" in ll:
intrans = True intrans = True
# done with the translators # done with the translators