aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfilip <filip.komar@gmail.com>2014-12-01 07:31:22 +0100
committerfilip <filip.komar@gmail.com>2014-12-01 07:31:22 +0100
commita0ee87af7fde283de1fc932248d8dadececbe7f3 (patch)
treec409439a9138c0bcdc29df08b87c151b948ff67a
parent86da156d311517ea8e3f454593d80cf1af0347a4 (diff)
downloadwww-a0ee87af7fde283de1fc932248d8dadececbe7f3.tar
www-a0ee87af7fde283de1fc932248d8dadececbe7f3.tar.gz
www-a0ee87af7fde283de1fc932248d8dadececbe7f3.tar.bz2
www-a0ee87af7fde283de1fc932248d8dadececbe7f3.tar.xz
www-a0ee87af7fde283de1fc932248d8dadececbe7f3.zip
temporary workaround for regenerating l10n numbers from license file
-rw-r--r--en/about/license/license.php2
-rw-r--r--langs/report_test.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/en/about/license/license.php b/en/about/license/license.php
index 485199926..7e309eafe 100644
--- a/en/about/license/license.php
+++ b/en/about/license/license.php
@@ -81,7 +81,7 @@ function load_license_numbers($lang, $skip_rebuilding_cache = false)
if(file_exists($cache_file)) {
$cached_time = -1;
$po_time = 0;
- include $cache_file;
+// include $cache_file;
$cached_time = intval($cached_time);
$po_time = intval($po_time);
if($cached_time < $po_time) {
diff --git a/langs/report_test.php b/langs/report_test.php
index 84bcb1e8c..fac1fcba6 100644
--- a/langs/report_test.php
+++ b/langs/report_test.php
@@ -163,7 +163,7 @@
$num_of_untranslated_strings += $constitution_results['aproximate_number_of_untranslated_lines'];
} else if ($resource_filename == 'about/license') {
require_once('../en/about/license/license.php');
- $license_numbers = load_license_numbers($l, TRUE);
+ $license_numbers = load_license_numbers($l, false);
if ($l == 'en') {
$number_of_unique_lines_in_eng_license = $license_numbers["all"];
}