diff options
author | Filip Komar <filip@mageia.org> | 2014-01-05 16:22:49 +0000 |
---|---|---|
committer | Filip Komar <filip@mageia.org> | 2014-01-05 16:22:49 +0000 |
commit | 20ec9d49a1858925c5456ce86c31d69e9caead7b (patch) | |
tree | 64535ecb3cda6e8bda2a798d60211402a5e4f612 /langs | |
parent | 268da1986e106fd8763beea61bfe0fff75ee97ee (diff) | |
download | www-20ec9d49a1858925c5456ce86c31d69e9caead7b.tar www-20ec9d49a1858925c5456ce86c31d69e9caead7b.tar.gz www-20ec9d49a1858925c5456ce86c31d69e9caead7b.tar.bz2 www-20ec9d49a1858925c5456ce86c31d69e9caead7b.tar.xz www-20ec9d49a1858925c5456ce86c31d69e9caead7b.zip |
some small fixes
Diffstat (limited to 'langs')
-rw-r--r-- | langs/diff.php | 1 | ||||
-rw-r--r-- | langs/missing.php | 4 |
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) { |