diff --git a/.gitignore b/.gitignore index b7e8e968a4..9f617fab9d 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ .doctrees +*.mo diff --git a/list-authors.sh b/list-authors.sh new file mode 100644 index 0000000000..7df3beb128 --- /dev/null +++ b/list-authors.sh @@ -0,0 +1,13 @@ +#!/bin/bash + +if [ -z $1 ]; then + echo "Pass a commit hash as argument to list authors between that commit and HEAD." + exit 1 +fi + +commit=$1 + +for file in weblate/*.po; do + echo -e "\n* $file:\n" + git log $commit..HEAD --date=format:"%Y" --format="%aN <%aE>, %ad." $file | grep -v 'anonymous' | sort -u +done diff --git a/update.sh b/update.sh index 285fad178e..2bd0ad4183 100755 --- a/update.sh +++ b/update.sh @@ -51,7 +51,6 @@ while [ $# -gt 0 ]; do ;; --add-langs|-l) add_langs=true - make_sphinx_po_symlinks=true ;; *) echo "Invalid argument."