diff options
Diffstat (limited to 'langs/lib.php')
-rw-r--r-- | langs/lib.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/langs/lib.php b/langs/lib.php index f93e53777..b75fb280b 100644 --- a/langs/lib.php +++ b/langs/lib.php @@ -126,13 +126,13 @@ function get_other_langs() function aproximate_number_of_untranslated_constitution_lines($app_root, $lang, $unique_lines_in_eng_constitution = array()) { - $constitution_is_readable = FALSE; + $constitution_readable = FALSE; $dest_constitution = sprintf('%s/%s/%s/%s_%s.md', $app_root, $lang, 'about/constitution', 'mageia.org_statutes', $lang); $number_of_unique_lines_in_eng_constitution = count($unique_lines_in_eng_constitution); if(is_readable($dest_constitution)) { $unique_lines_in_constitution = array_unique(file($dest_constitution)); $number_of_unique_lines_in_constitution = count($unique_lines_in_constitution); - $constitution_is_readable = TRUE; + $constitution_readable = TRUE; if ($lang == 'en') { $aproximate_number_of_untranslated_lines = $number_of_unique_lines_in_constitution; $untranslated_lines_in_constitution = array(); @@ -154,7 +154,7 @@ function aproximate_number_of_untranslated_constitution_lines($app_root, $lang, return array( 'unique_lines_in_constitution' => $unique_lines_in_constitution, - 'constitution_readable' => $constitution_is_readable, + 'constitution_readable' => $constitution_readable, 'untranslated_lines_in_constitution' => $untranslated_lines_in_constitution, 'aproximate_number_of_untranslated_lines' => $aproximate_number_of_untranslated_lines, ); |