From 8b586e9d6cebad0ae89dd67eacfe57cf3195ad13 Mon Sep 17 00:00:00 2001 From: Tobias Diekershoff Date: Mon, 14 Jan 2019 06:57:37 +0100 Subject: [PATCH] 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. --- CREDITS.txt | 13 +++++++++++++ bin/dev/make_credits.py | 16 +++++++++++----- 2 files changed, 24 insertions(+), 5 deletions(-) diff --git a/CREDITS.txt b/CREDITS.txt index ff430c9273..a2bf7d3915 100644 --- a/CREDITS.txt +++ b/CREDITS.txt @@ -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 diff --git a/bin/dev/make_credits.py b/bin/dev/make_credits.py index e373fa8caa..c749911053 100755 --- a/bin/dev/make_credits.py +++ b/bin/dev/make_credits.py @@ -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