aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFilip Komar <filip@mageia.org>2013-11-05 20:22:16 +0000
committerFilip Komar <filip@mageia.org>2013-11-05 20:22:16 +0000
commit01febd2714df27226bd7a8d7f58ea7d1cb1e6a5e (patch)
tree575b36abdf1162f9b099b4ead0c0190f3dab5f98
parentd1e3774bfe860414a463b99b0f116c0a2ad47ef4 (diff)
downloadwww-01febd2714df27226bd7a8d7f58ea7d1cb1e6a5e.tar
www-01febd2714df27226bd7a8d7f58ea7d1cb1e6a5e.tar.gz
www-01febd2714df27226bd7a8d7f58ea7d1cb1e6a5e.tar.bz2
www-01febd2714df27226bd7a8d7f58ea7d1cb1e6a5e.tar.xz
www-01febd2714df27226bd7a8d7f58ea7d1cb1e6a5e.zip
move source of license from svn to git
-rw-r--r--en/about/license/license.php6
-rw-r--r--langs/diff.php2
2 files changed, 5 insertions, 3 deletions
diff --git a/en/about/license/license.php b/en/about/license/license.php
index a7ce282c4..f52f35d25 100644
--- a/en/about/license/license.php
+++ b/en/about/license/license.php
@@ -29,8 +29,10 @@ function read_license_from_vcs($locale) {
$po_locale = $locale . '.po';
}
}
- $po_files_path = "http://svnweb.mageia.org/soft/drakx/trunk/perl-install/share/po/";
- $po_files_end = "?view=co";
+// $po_files_path = "http://svnweb.mageia.org/soft/drakx/trunk/perl-install/share/po/";
+// $po_files_end = "?view=co";
+ $po_files_path = "http://gitweb.mageia.org/software/drakx/plain/perl-install/share/po/"; // git doesn't work yet on https
+ $po_files_end = "";
$po_file = phpmo_parse_po_file($po_files_path . $po_locale . $po_files_end);
if($po_file === false) {
diff --git a/langs/diff.php b/langs/diff.php
index 68e741cd4..948243cbf 100644
--- a/langs/diff.php
+++ b/langs/diff.php
@@ -59,7 +59,7 @@ if($constitution) {
if($license) {
$s .= '<h2 style="color: red;">Please translate license first</h2>';
- $s .= '<p>You can find it in <a href="//svnweb.mageia.org/soft/drakx/trunk/perl-install/share/po/">svn</a>. ';
+ $s .= sprintf('<p>You can find it in <a href="http://gitweb.mageia.org/software/drakx/tree/perl-install/share/po/">git</a> (file %s.po). ', $target_lang); // git doesn't work yet on https
}
if($constitution || $license) {