aboutsummaryrefslogtreecommitdiffstats
path: root/langs/report.php
diff options
context:
space:
mode:
Diffstat (limited to 'langs/report.php')
-rw-r--r--langs/report.php8
1 files changed, 7 insertions, 1 deletions
diff --git a/langs/report.php b/langs/report.php
index 3675e126b..5be405cf4 100644
--- a/langs/report.php
+++ b/langs/report.php
@@ -113,9 +113,15 @@
}
$test['a'] += $strings_en_constitution; // add aproximate number of strings from constitution to translate
if(!is_readable($dest_constitution) || $l == 'en') {
- $num_of_untranslated_strings += $strings_en_constitution; // add constitution strings as not translated
+ $num_of_untranslated_strings += $strings_en_constitution; // add all constitution strings
}
}
+ if ($link == 'about/license') {
+ require_once('../en/about/license/license.php');
+ $license_numbers = array_pop(read_license_from_vcs($l));
+ $test['a'] += $license_numbers["all"]; // add aproximate number of untranslated sentences from license
+ $num_of_untranslated_strings += $license_numbers["untran"]; // add number of all license sentences
+ }
if ($nav) {
$mga = array();