diff options
Diffstat (limited to 'langs')
-rw-r--r-- | langs/report_tx_git.php | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/langs/report_tx_git.php b/langs/report_tx_git.php index 4f56b9e1b..6bd3732ab 100644 --- a/langs/report_tx_git.php +++ b/langs/report_tx_git.php @@ -679,7 +679,7 @@ if (0 < count($tx_only_languages)) { } else { $tx_only_languages_details = "<h3>Languages with at least one resource for $resource_type translated over treshold "; } - $tx_only_languages_details .= "($tx_lang_completed_treshold %) but not present yet in our git:</h3><ul>"; + $tx_only_languages_details .= "($tx_lang_completed_treshold %) in Transifex but not present yet in our git:</h3><ul>"; foreach ($tx_only_languages as $tx_only_language) { $language_name = get_language_name($tx_only_language); $tx_only_languages_details .= '<li><span class="bold">' . $language_name . '</span>: '; @@ -688,12 +688,15 @@ if (0 < count($tx_only_languages)) { $tx_only_languages_details .= " (resources over treshold: "; $resources_above_treshold = array(); foreach ($tx_all_langs_above_treshold[$tx_only_language] as $resource_above_treshold) { - $resources_above_treshold[] = $resource_above_treshold; + $level = $tx_resources_info[$resource_above_treshold]['statistic'][$tx_only_language]['completed']; + $resources_above_treshold[] = "$resource_above_treshold at $level"; } sort($resources_above_treshold, SORT_STRING); $tx_only_languages_details .= implode(", ", $resources_above_treshold) . ")"; } else { $tx_only_languages_details .= build_transifex_link($tx_only_language, $tx_only_language, $resource_type, $wanted_resource); + $level = $tx_resources_info[$wanted_resource]['statistic'][$tx_only_language]['completed']; + $tx_only_languages_details .= " ($level translated)"; } $tx_only_languages_details .= ",</li>"; } |