language-update.sh: token bug fixes (remove references to svn/sf.net, replace with github etc, remove svn info and use git log

(cherry picked from commit 6a45360d8c)
This commit is contained in:
David Goodwin authored and Christian Boltz committed 2026-11-17 00:14:23 +01:00
1 parent 4696b8bb99
commit ee7dced14d
1 file changed
+6 -6
+6 -6
View File
@@ -213,14 +213,14 @@ Postfixadmin - translation statistics
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Translating is easy:
- download your language file from SVN
http://postfixadmin.svn.sourceforge.net/viewvc/postfixadmin/trunk/languages/
- download your language file from git
https://github.com/postfixadmin/postfixadmin/tree/master/languages
- search for lines with '# XXX' comments and
- translate the line
- remove the '# XXX'
Note: The file is utf-8 encoded.
- post your translation to the tracker
http://sourceforge.net/p/postfixadmin/patches/
- post your translation as a pull request
https://github.com/postfixadmin/postfixadmin/pulls
Number of missing translations:
@@ -236,7 +236,7 @@ EOF
Statistics based on:
EOF
LANG=C svn info |grep 'Revision:\|Last Changed Date:'
LANG=C git log -1 --format='Revision: %H%nLast Changed Date: %ci'
) > postfixadmin-languages.txt
echo "Translation statistics have been saved as postfixadmin-languages.txt"
@@ -372,7 +372,7 @@ while [ -n "$1" ] ; do
--remove)
remove=1
shift ; remove_string="$1"
test -z "$remove-string" && { echo '--remove needs a parameter' >&2 ; exit 1 ; }
test -z "$remove_string" && { echo '--remove needs a parameter' >&2 ; exit 1 ; }
;;
--addcomment)
addcomment=1