aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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) {