aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--langs/diff.php1
-rw-r--r--langs/missing.php4
2 files changed, 3 insertions, 2 deletions
diff --git a/langs/diff.php b/langs/diff.php
index 9e5484a2f..ccc7f6416 100644
--- a/langs/diff.php
+++ b/langs/diff.php
@@ -67,6 +67,7 @@ if($constitution) {
}
$num_of_untranslated_strings = 0;
+$diff['untranslated_sentences_in_license'] = array();
if($license) {
require_once('../en/about/license/license.php');
$license_numbers = array_pop(read_license_from_vcs($target_lang));
diff --git a/langs/missing.php b/langs/missing.php
index 44016693a..03b6cd698 100644
--- a/langs/missing.php
+++ b/langs/missing.php
@@ -44,8 +44,8 @@ if($constitution) {
$num_of_untranslated_strings = 0;
if($license) {
- $constitution_or_license .= '<h2 style="color: red;">Please translate license into ' . $langs[$target_lang] . ' first</h2>';
- $constitution_or_license .= sprintf('<p>You can find it in <a href="http://gitweb.mageia.org/software/drakx/tree/perl-install/share/po/%s.po">git</a>. ', $target_lang); // git doesn't work yet on https
+ $constitution_or_license .= '<h2 style="color: red;">Please translate license into ' . $langs[$l] . ' first</h2>';
+ $constitution_or_license .= sprintf('<p>You can find it in <a href="http://gitweb.mageia.org/software/drakx/tree/perl-install/share/po/%s.po">git</a>. ', $l); // git doesn't work yet on https
}
if($constitution || $license) {