From 42d540a56e4459a9157e7fb8f95160182d5e2e6f Mon Sep 17 00:00:00 2001 From: Filip Komar Date: Sun, 14 Jul 2013 18:34:25 +0000 Subject: license page refactored, updated, included in i18n report and linked in map. map.en.lang sync. small addition on community page --- langs/report.php | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'langs/report.php') 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(); -- cgit v1.2.1