aboutsummaryrefslogtreecommitdiffstats
path: root/en/about/license
diff options
context:
space:
mode:
authorfilip <filip.komar@gmail.com>2014-08-01 12:36:54 +0200
committerfilip <filip.komar@gmail.com>2014-08-01 12:36:54 +0200
commitd1acf6da39fcb3ac2af8c2eca8ed961b0f362f56 (patch)
tree2c6abf34182015f2c304afb937acc643db8f2db7 /en/about/license
parenta21072679f69575212cd92aad138f4e5f230f24c (diff)
downloadwww-d1acf6da39fcb3ac2af8c2eca8ed961b0f362f56.tar
www-d1acf6da39fcb3ac2af8c2eca8ed961b0f362f56.tar.gz
www-d1acf6da39fcb3ac2af8c2eca8ed961b0f362f56.tar.bz2
www-d1acf6da39fcb3ac2af8c2eca8ed961b0f362f56.tar.xz
www-d1acf6da39fcb3ac2af8c2eca8ed961b0f362f56.zip
refactoring of www.mageia.org production translation report for better usability
Diffstat (limited to 'en/about/license')
-rw-r--r--en/about/license/license.php8
1 files changed, 3 insertions, 5 deletions
diff --git a/en/about/license/license.php b/en/about/license/license.php
index 3aa21ddfb..aa7c057bd 100644
--- a/en/about/license/license.php
+++ b/en/about/license/license.php
@@ -108,11 +108,9 @@ P;
} else {
if(file_exists($cache_file)) {
include $cache_file;
- } else { // fallback
- $license_array = read_license_from_vcs($lang);
- $license_numbers = array_pop($license_array);
- $license_num_all = $license_numbers["all"];
- $license_num_unt = $license_numbers["untran"];
+ } else { // fallback (defaults to half translated license)
+ $license_num_all = 38;
+ $license_num_unt = 19;
}
}