]> git.lyx.org Git - lyx.git/blobdiff - po/postats.sh
po remerge
[lyx.git] / po / postats.sh
index 7244daa0c3a688adeee243f9f0b4c57af9fc5fd6..d37817c736d0006461ae4a924189e49d793dd0cf 100755 (executable)
@@ -18,7 +18,7 @@
 # modifiy this when you change version
 # Note that an empty lyx_branch variable (ie cvs HEAD)
 # will "do the right thing".
-lyx_version=1.4.0cvs
+lyx_version=1.5.0svn
 lyx_branch=
 
 
@@ -106,7 +106,7 @@ run_msgfmt () {
                input=`echo $input | sed 's/  */ /g' | cut -d ' ' -f 2-`
 
                translator=`echo $input | cut -d '<' -f 1 | sed 's/ *$//'`
-               email=`echo $input | cut -d '<' -f 2 | cut -d '>' -f 1`
+               email=`echo $input | cut -d '<' -f 2 | cut -d '>' -f 1 | sed -e 's/@/ () /' -e 's/\./ ! /g'`
        }
        unset input
 
@@ -181,9 +181,9 @@ EOF
 dump_tail () {
 
 test "$lyx_branch" = "" && {
-       branch_tag=""
+       branch_tag="trunk"
 } || {
-       branch_tag="?only_with_tag=$lyx_branch"
+       branch_tag="branches/$lyx_branch"
 }
 
 cat <<EOF
@@ -198,9 +198,12 @@ cat <<EOF
        'eu' => 'Basque',
        'fi' => 'Finnish',
        'fr' => 'French',
+       'gl' => 'Galician',
        'he' => 'Hebrew',
        'hu' => 'Hungarian',
        'it' => 'Italian',
+       'ja' => 'Japanese',
+       'ko' => 'Korean',
        'nl' => 'Dutch',
        'nn' => 'Nynorsk',
        'nb' => 'Norwegian',
@@ -212,7 +215,9 @@ cat <<EOF
        'sl' => 'Slovenian',
        'sv' => 'Swedish',
        'tr' => 'Turkish',
-       'wa' => 'Walloon'
+       'wa' => 'Walloon',
+       'zh_CN' => 'Simplified Chinese',
+       'zh_TW' => 'Traditional Chinese'
 );
 
 \$noOfMsg = \$podata[0]['msg_tr'] + \$podata[0]['msg_fu'] + \$podata[0]['msg_nt'];
@@ -229,7 +234,7 @@ usort (\$podata, "cmp");
 
 <p>
        The following table details the current state of the translations of the
-       LyX GUI for the LyX stable branch (currently $lyx_version).
+       LyX GUI for the LyX development branch (currently $lyx_version).
        Unfortunately, only a few languages are well-supported. The LyX team may,
        therefore, decide to exclude some of the translations from a formal
        release in order not to confuse the user with a strongly mixed-language
@@ -270,7 +275,7 @@ while (list(\$foo,\$info) = each(\$podata)) {
        }
        print "<td \$style>" ;
 
-       print "<a href=\"http://www.lyx.org/cgi-bin/viewcvs.cgi/lyx-devel/po/" . \$info['langcode'] . ".po$branch_tag\">" . \$lang[\$info['langcode']] . "</a></td>";
+       print "<a href=\"http://www.lyx.org/trac/browser/lyx-devel/$branch_tag/po/" . \$info['langcode'] . ".po?format=raw\">" . \$lang[\$info['langcode']] . "</a></td>";
 
        print "<td \$style align=\"right\">" . \$info['msg_tr'] . "</td>";