From 9832256ac660afdceb87698c8f8461ef0e6fb95d Mon Sep 17 00:00:00 2001 From: filip Date: Sat, 9 Jul 2016 19:04:27 +0200 Subject: removing duplicate message about l10n resource above treshold in Transifex that's not an error anyway ;) --- langs/report_tx_git.php | 16 ---------------- 1 file changed, 16 deletions(-) (limited to 'langs') diff --git a/langs/report_tx_git.php b/langs/report_tx_git.php index e6ff57d44..af2731c59 100644 --- a/langs/report_tx_git.php +++ b/langs/report_tx_git.php @@ -675,22 +675,6 @@ if (0 < count($git_only_languages)) { $errors['git_only_languages'] = "$error but they are below treshold ($tx_lang_completed_treshold %) in Transifex."; } -if (0 < count($tx_only_resources)) { - if (!is_null($wanted_language)) { - $tx_only_resources_array = array(); - foreach ($tx_only_resources as $tx_only_resource) { - $tx_only_resource_text = build_transifex_link($wanted_language, $tx_only_resource, $resource_type, $tx_only_resource); - $tx_only_resources_array[] = $tx_only_resource_text; - } - $tx_only_resources_text = implode(", ", $tx_only_resources_array); - } else { - $tx_only_resources_text = implode(", ", $tx_only_resources); - } - $error = "Some resources ($tx_only_resources_text) are above treshold "; - $error .= "($tx_lang_completed_treshold %) and still present only in Transifex"; - $errors['tx_only_resources'] = "$error but not in our git. Please report that."; -} - if (0 < count($git_only_resources)) { $error = "Some resources (" . implode(", ", $git_only_resources) . ") are present only in our git"; $errors['git_only_resources'] = "$error but not in Transifex. Please report that."; -- cgit v1.2.1