diff options
author | Matthias Andree <matthias.andree@gmx.de> | 2020-06-14 20:13:14 +0200 |
---|---|---|
committer | Matthias Andree <matthias.andree@gmx.de> | 2020-06-14 20:13:14 +0200 |
commit | 51f58f8e4d5c7409967f197ca6176be05608bb9e (patch) | |
tree | a09dedca1263abd6dccde26077f5e611147b3c43 /dist-tools/translators.sh | |
parent | 580124aae3d51184a02937f0222b872841d2a80c (diff) | |
download | fetchmail-51f58f8e4d5c7409967f197ca6176be05608bb9e.tar.gz fetchmail-51f58f8e4d5c7409967f197ca6176be05608bb9e.tar.bz2 fetchmail-51f58f8e4d5c7409967f197ca6176be05608bb9e.zip |
Update scripts to handle new translations.
Diffstat (limited to 'dist-tools/translators.sh')
-rwxr-xr-x | dist-tools/translators.sh | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/dist-tools/translators.sh b/dist-tools/translators.sh index ea6e7925..adf581ef 100755 --- a/dist-tools/translators.sh +++ b/dist-tools/translators.sh @@ -4,8 +4,9 @@ set -eu cd "$(realpath $(dirname $0))/.." ver=$(sed -n '/Project-Id-Version:/s/.*fetchmail \([^\\]\+\).*/\1/p' po/fetchmail.pot ) -git log --oneline --all-match --grep "Update .* translation to fetchmail.$ver" --pretty=format:%ad:%an:%s --date=unix | \ -sed 's/Update <\([^>]\+\)> \(.*\) translation to.*/\1:\2/' | \ +expver=${VERSION:-$ver} +git log --oneline --all-match --grep ".* translation ...\\? fetchmail.$expver" --pretty=format:%ad:%an:%s --date=unix | \ + sed 's/\(Update\|Add new\) <\([^>]\+\)> \(.*\) translation .*/\2:\3/' | \ sort -n | \ while IFS=: read date author code lang ; do printf '* %-6s %s [%s]\n' "$code:" "$author" "$lang" |