[vlc-commits] Better translators detection; adjusting extraction from AUTHORS
Christoph Miebach
git at videolan.org
Thu Apr 5 12:56:54 CEST 2012
vlc | branch: master | Christoph Miebach <christoph.miebach at web.de> | Tue Apr 3 12:04:17 2012 +0200| [949209bb5209c64434de6875a8d95f983d50eda5] | committer: Jean-Baptiste Kempf
Better translators detection; adjusting extraction from AUTHORS
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=949209bb5209c64434de6875a8d95f983d50eda5
---
extras/misc/authors_list.sh | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/extras/misc/authors_list.sh b/extras/misc/authors_list.sh
index a3d6802..e592292 100755
--- a/extras/misc/authors_list.sh
+++ b/extras/misc/authors_list.sh
@@ -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"
More information about the vlc-commits
mailing list