]> git.sesse.net Git - vlc/commitdiff
Better translators detection; adjusting extraction from AUTHORS
authorChristoph Miebach <christoph.miebach@web.de>
Tue, 3 Apr 2012 10:04:17 +0000 (12:04 +0200)
committerJean-Baptiste Kempf <jb@videolan.org>
Thu, 5 Apr 2012 09:56:25 +0000 (11:56 +0200)
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
extras/misc/authors_list.sh

index a3d68024dff152cb9cfa0f135ec55f749c52c0ab..e592292b11c06b3e524fa5487034e0d8806de764 100755 (executable)
@@ -13,11 +13,12 @@ echo "Checking all git logs"
 git shortlog -sn > temp_update_AUTHORS/all_git.txt
 
 echo "Checking "po only" git logs"
-git shortlog -sn po/ > temp_update_AUTHORS/po_git.txt
+git shortlog -sn po extras/package/win32/languages/ share/vlc.desktop.in > temp_update_AUTHORS/po_git.txt
+# Now, not only po/ is checked. This way, translators are identified better and we save some lines in coders (some translators-only are removed)
 
 echo "reading AUTHORS"
-sed -n '/Programming/,$  s/[^-].*/&/p' < AUTHORS | sed '1 d'  > temp_update_AUTHORS/programmers_part.txt
-# The bottom part of AUTHORS, could be done with one sed, but I don't care...
+sed -n '/Programming/,/^$/  s/[^-].*/&/p' < AUTHORS | sed '1 d'  > temp_update_AUTHORS/programmers_part.txt
+# The part of AUTHORS between Programming and the first empty line, without the ---- line
 
 
 echo "Removing commit counts from git log"