diff options
author | Filip Komar <filip@mageia.org> | 2013-07-14 18:34:25 +0000 |
---|---|---|
committer | Filip Komar <filip@mageia.org> | 2013-07-14 18:34:25 +0000 |
commit | 42d540a56e4459a9157e7fb8f95160182d5e2e6f (patch) | |
tree | f2a7e8369dac02014cddef19394da97d113fad5e /langs/report.php | |
parent | afafa9510bfa64b1b055315e4ebbbb44a039b605 (diff) | |
download | www-42d540a56e4459a9157e7fb8f95160182d5e2e6f.tar www-42d540a56e4459a9157e7fb8f95160182d5e2e6f.tar.gz www-42d540a56e4459a9157e7fb8f95160182d5e2e6f.tar.bz2 www-42d540a56e4459a9157e7fb8f95160182d5e2e6f.tar.xz www-42d540a56e4459a9157e7fb8f95160182d5e2e6f.zip |
license page refactored, updated, included in i18n report and linked in map. map.en.lang sync. small addition on community page
Diffstat (limited to 'langs/report.php')
-rw-r--r-- | langs/report.php | 8 |
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(); |