aboutsummaryrefslogtreecommitdiffstats
path: root/langs/report_tx_git.php
diff options
context:
space:
mode:
authorfilip <filip.komar@gmail.com>2016-07-09 19:04:27 +0200
committerfilip <filip.komar@gmail.com>2016-07-09 19:04:27 +0200
commit9832256ac660afdceb87698c8f8461ef0e6fb95d (patch)
treef2a1208cf66fcdd1dc9dccf144c669f2018a68c4 /langs/report_tx_git.php
parentf1eff80c21606407f8162ed11b1e91696517e3df (diff)
downloadwww-9832256ac660afdceb87698c8f8461ef0e6fb95d.tar
www-9832256ac660afdceb87698c8f8461ef0e6fb95d.tar.gz
www-9832256ac660afdceb87698c8f8461ef0e6fb95d.tar.bz2
www-9832256ac660afdceb87698c8f8461ef0e6fb95d.tar.xz
www-9832256ac660afdceb87698c8f8461ef0e6fb95d.zip
removing duplicate message about l10n resource above treshold in Transifex
that's not an error anyway ;)
Diffstat (limited to 'langs/report_tx_git.php')
-rw-r--r--langs/report_tx_git.php16
1 files changed, 0 insertions, 16 deletions
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.";