From ce9dd57a8ad71695c6bd6f36a23d34440a324cc6 Mon Sep 17 00:00:00 2001 From: filip Date: Sat, 24 Jan 2015 19:34:19 +0100 Subject: isodumper now in our git \o/ --- langs/report_tx_git.php | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) (limited to 'langs/report_tx_git.php') diff --git a/langs/report_tx_git.php b/langs/report_tx_git.php index 0ed7376e6..79bfefb87 100644 --- a/langs/report_tx_git.php +++ b/langs/report_tx_git.php @@ -216,12 +216,11 @@ if ('Documentation' == $resource_type) { array( 'pot_name' => 'isodumper', 'tx_name' => 'isodumper', - 'git_path' => 'https://github.com/papoteur-mga/isodumper/raw/master/po', +// 'git_path' => 'https://github.com/papoteur-mga/isodumper/raw/master/po', + 'git_path' => 'http://gitweb.mageia.org/software/isodumper/plain/po', ), ); } -$isodumper_note = "Check "; -$isodumper_note .= "isodumper resource manualy as it's in github so it can't be handled properly with this report."; /** * Transifex API implementation in php detailed on http://docs.transifex.com/developer/api/projects @@ -491,11 +490,7 @@ if ('Webpages' == $resource_type) { $report_language_codes = array($wanted_language); } else { $report_language_codes = array(); - $note = ''; - if ('isodumper' == $tx_name) { - $note = $isodumper_note; - } - $errors['lang_not_in_git'] = "Language $wanted_lang_name is not present in git for $tx_name resource. $note"; + $errors['lang_not_in_git'] = "Language $wanted_lang_name is not present in git for $tx_name resource."; } } $one_report = generating_report(array_values($report_language_codes), array($tx_name), $git_path, $pot_name); @@ -651,7 +646,7 @@ if (0 < count($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. $isodumper_note"; + $errors['tx_only_resources'] = "$error but not in our git. Please report that."; } if (0 < count($git_only_resources)) { -- cgit v1.2.1