]> git.lyx.org Git - features.git/commitdiff
update postats script to use proper trac URL
authorJean-Marc Lasgouttes <lasgouttes@lyx.org>
Mon, 3 Jul 2006 22:00:18 +0000 (22:00 +0000)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Mon, 3 Jul 2006 22:00:18 +0000 (22:00 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14328 a592a061-630c-0410-9148-cb99ea01b6c8

po/postats.sh

index 7244daa0c3a688adeee243f9f0b4c57af9fc5fd6..ad316411e81b80a9461d691c3ca1d7157fd4e381 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=
 
 
@@ -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
@@ -270,7 +270,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>";