aboutsummaryrefslogtreecommitdiffstats
path: root/en/about
diff options
context:
space:
mode:
Diffstat (limited to 'en/about')
-rw-r--r--en/about/license/license.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/en/about/license/license.php b/en/about/license/license.php
index f52f35d25..61431c067 100644
--- a/en/about/license/license.php
+++ b/en/about/license/license.php
@@ -41,6 +41,7 @@ function read_license_from_vcs($locale) {
$num_of_untranslated_sentences = 0;
$num_of_sentences_for_translation = 0;
+ $untranslated_sentences = array();
$search = array('\\"', '\n', ' ');
$replace = array('"','<br>', ' ');
foreach($license_strings as $value) {
@@ -50,10 +51,11 @@ function read_license_from_vcs($locale) {
$license_string = $po_file[$value[0]]["msgstr"][0];
} else {
$num_of_untranslated_sentences += $count;
+ $untranslated_sentences[] = $value[0];
$license_string = $value[0];
}
$license_string = str_replace('%s', (isset($value[2]) ? $value[2] : ''), $license_string);
- $prepared_license_strings[] = array(str_replace($search, $replace, $license_string), (isset($value[1]) ? $value[1] : 'p'), 'untran' => $num_of_untranslated_sentences, 'all' => $num_of_sentences_for_translation);
+ $prepared_license_strings[] = array(str_replace($search, $replace, $license_string), (isset($value[1]) ? $value[1] : 'p'), 'untran' => $num_of_untranslated_sentences, 'all' => $num_of_sentences_for_translation, 'untranslated_sentences' => $untranslated_sentences);
}
return $prepared_license_strings;