Author: soliton
Date: Fri Sep 12 01:08:56 2008
New Revision: 29407

URL: http://svn.gna.org/viewcvs/wesnoth?rev=29407&view=rev
Log:
* updated the URLs to the .po and .pot files

Modified:
    
branches/resources/gettext.wesnoth.org/public_html/wesnoth-gettext/westats/index.extra.php
    
branches/resources/gettext.wesnoth.org/public_html/wesnoth-gettext/westats/index.lang.php
    
branches/resources/gettext.wesnoth.org/public_html/wesnoth-gettext/westats/index.php

Modified: 
branches/resources/gettext.wesnoth.org/public_html/wesnoth-gettext/westats/index.extra.php
URL: 
http://svn.gna.org/viewcvs/wesnoth/branches/resources/gettext.wesnoth.org/public_html/wesnoth-gettext/westats/index.extra.php?rev=29407&r1=29406&r2=29407&view=diff
==============================================================================
--- 
branches/resources/gettext.wesnoth.org/public_html/wesnoth-gettext/westats/index.extra.php
 (original)
+++ 
branches/resources/gettext.wesnoth.org/public_html/wesnoth-gettext/westats/index.extra.php
 Fri Sep 12 01:08:56 2008
@@ -271,10 +271,11 @@
 }elseif($package=='all'){
        echo "<strong>" . $langs[$lang] . "</strong> (" . $lang . ")";
 }else{
+       $repo = ($version == 'trunk') ? 'trunk' : "branches/$branch";
        if($official){
-               echo "<a 
href='http://savannah.nongnu.org/cgi-bin/viewcvs/wesnoth/wesnoth/po/"; . 
$package . "/" . $lang . ".po?rev=HEAD&content-type=text/vnd.viewcvs-markup'>" 
. $langs[$lang] . "</a> (" .$lang . ")";
+               echo "<a 
href='http://svn.gna.org/viewcvs/*checkout*/wesnoth/$repo/po/"; . $package . "/" 
. $lang . ".po?view=markup'>" . $langs[$lang] . "</a> (" .$lang . ")";
        }else{
-               echo "<a href='http://svn.berlios.de/viewcvs/wescamp-i18n/"; . 
getpackage($package) . "/po/" . $lang . ".po?view=markup'>" . $langs[$lang] . 
"</a> (" . $lang . ")";
+               echo "<a 
href='http://svn.berlios.de/viewcvs/wescamp-i18n/$repo/"; . getpackage($package) 
. "/po/" . $lang . ".po?view=markup'>" . $langs[$lang] . "</a> (" . $lang . ")";
        }
 } ?>
        </td>
@@ -312,10 +313,11 @@
 }elseif($package=='all'){
        echo "<strong>Template catalog</strong>";
 }else{
+       $repo = ($version == 'trunk') ? 'trunk' : "branches/$branch";
        if($official){
-               echo "<a 
href='http://savannah.nongnu.org/cgi-bin/viewcvs/wesnoth/wesnoth/po/"; . 
$package . "/" . $package . 
".pot?rev=HEAD&content-type=text/vnd.viewcvs-markup'>Template catalog</a>";
+               echo "<a 
href='http://svn.gna.org/viewcvs/*checkout*/wesnoth/$repo/po/"; . $package . "/" 
. $package . ".pot?view=markup'>Template catalog</a>";
        }else{
-               echo "<a href='http://svn.berlios.de/viewcvs/wescamp-i18n/"; . 
getpackage($package) . "/po/" . $package . ".pot?view=markup'>Template 
catalog</a>";
+               echo "<a 
href='http://svn.berlios.de/viewcvs/wescamp-i18n/$repo/"; . getpackage($package) 
. "/po/" . $package . ".pot?view=markup'>Template catalog</a>";
        }
 }
 ?></td>

Modified: 
branches/resources/gettext.wesnoth.org/public_html/wesnoth-gettext/westats/index.lang.php
URL: 
http://svn.gna.org/viewcvs/wesnoth/branches/resources/gettext.wesnoth.org/public_html/wesnoth-gettext/westats/index.lang.php?rev=29407&r1=29406&r2=29407&view=diff
==============================================================================
--- 
branches/resources/gettext.wesnoth.org/public_html/wesnoth-gettext/westats/index.lang.php
 (original)
+++ 
branches/resources/gettext.wesnoth.org/public_html/wesnoth-gettext/westats/index.lang.php
 Fri Sep 12 01:08:56 2008
@@ -204,15 +204,10 @@
 <tr class="row<?=$class?>">
     <td>
 <? 
+       $repo = ($version == 'trunk') ? 'trunk' : "branches/$branch";
        if($official == 0){
-               if($version == 'trunk') {
-                       $repo = 'trunk';
-               }else{
-                       $repo = "branches/$branch";
-               }
                echo "<strong><a 
href='http://svn.gna.org/viewcvs/*checkout*/wesnoth/$repo/po/"; . $stat[4]. "/" 
. $lang . ".po'>" . $stat[4] . "</a></strong>";
        }else{
-               $repo = ($version == 'trunk') ? 'trunk' : "branches/$branch";
                echo "<strong><a 
href='http://svn.berlios.de/viewcvs/*checkout*/wescamp-i18n/$repo/"; . 
getpackage($stat[4]) . "/po/" . $lang . ".po'>" . $stat[4] . "</a></strong>";
        }
 

Modified: 
branches/resources/gettext.wesnoth.org/public_html/wesnoth-gettext/westats/index.php
URL: 
http://svn.gna.org/viewcvs/wesnoth/branches/resources/gettext.wesnoth.org/public_html/wesnoth-gettext/westats/index.php?rev=29407&r1=29406&r2=29407&view=diff
==============================================================================
--- 
branches/resources/gettext.wesnoth.org/public_html/wesnoth-gettext/westats/index.php
 (original)
+++ 
branches/resources/gettext.wesnoth.org/public_html/wesnoth-gettext/westats/index.php
 Fri Sep 12 01:08:56 2008
@@ -344,15 +344,11 @@
 }elseif($package=='allcore'){
        echo "<strong>" . $langs[$lang] . "</strong> (" . $lang . ")";
 }else{
+       $repo = ($version == 'trunk') ? 'trunk' : "branches/$branch";
        if($official){
-               if($version == 'trunk') {
-                       $repo = 'trunk';
-               }else{
-                       $repo = "branches/$branch";
-               }
                echo "<a 
href='http://svn.gna.org/viewcvs/*checkout*/wesnoth/$repo/po/"; . $package . "/" 
. $lang . ".po'>" . $langs[$lang] . "</a> (" .$lang . ")";
        }else{
-               echo "<a 
href='http://svn.berlios.de/viewcvs/*checkout*/wescamp-i18n/"; . 
getpackage($package) . "/po/" . $lang . ".po'>" . $langs[$lang] . "</a> (" . 
$lang . ")";
+               echo "<a 
href='http://svn.berlios.de/viewcvs/*checkout*/wescamp-i18n/$repo/"; . 
getpackage($package) . "/po/" . $lang . ".po'>" . $langs[$lang] . "</a> (" . 
$lang . ")";
        }
 } ?>
        </td>
@@ -392,10 +388,11 @@
 }elseif($package=='all'){
        echo "<strong>Template catalog</strong>";
 }else{
+       $repo = ($version == 'trunk') ? 'trunk' : "branches/$branch";
        if($official){
-               echo "<a 
href='http://savannah.nongnu.org/cgi-bin/viewcvs/wesnoth/wesnoth/po/"; . 
$package . "/" . $package . 
".pot?rev=HEAD&content-type=text/vnd.viewcvs-markup'>Template catalog</a>";
+               echo "<a 
href='http://svn.gna.org/viewcvs/*checkout*/wesnoth/$repo/po/"; . $package . "/" 
. $package . ".pot?view=markup'>Template catalog</a>";
        }else{
-               echo "<a href='http://svn.berlios.de/viewcvs/wescamp-i18n/"; . 
getpackage($package) . "/po/" . $package . ".pot?view=markup'>Template 
catalog</a>";
+               echo "<a 
href='http://svn.berlios.de/viewcvs/wescamp-i18n/$repo/"; . getpackage($package) 
. "/po/" . $package . ".pot?view=markup'>Template catalog</a>";
        }
 }
 ?></td>


_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits

Reply via email to