diff options
author | filip <filip.komar@gmail.com> | 2021-03-19 16:04:02 +0100 |
---|---|---|
committer | filip <filip.komar@gmail.com> | 2021-03-19 16:04:02 +0100 |
commit | f1c0fa4a0ebebc3d9898d515796b0eac17290efc (patch) | |
tree | 5a9a40f4ec0bae7af4cc6bbc1bcf566a2700e968 /langs/report_tx_git.php | |
parent | 65c45260fc7d9118823fc688e6bcf4640b439eb3 (diff) | |
download | www-f1c0fa4a0ebebc3d9898d515796b0eac17290efc.tar www-f1c0fa4a0ebebc3d9898d515796b0eac17290efc.tar.gz www-f1c0fa4a0ebebc3d9898d515796b0eac17290efc.tar.bz2 www-f1c0fa4a0ebebc3d9898d515796b0eac17290efc.tar.xz www-f1c0fa4a0ebebc3d9898d515796b0eac17290efc.zip |
change wording as there's also GitHub for l10n resources not only our git
Diffstat (limited to 'langs/report_tx_git.php')
-rw-r--r-- | langs/report_tx_git.php | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/langs/report_tx_git.php b/langs/report_tx_git.php index 8eebed3b0..5328d16a7 100644 --- a/langs/report_tx_git.php +++ b/langs/report_tx_git.php @@ -3,7 +3,7 @@ <head> <meta charset="utf-8"> <meta name="robots" content="noindex,nofollow,nosnippet"> - <title>www.mageia.org report about differences between Transifex and our git repository</title> + <title>www.mageia.org report about differences between Transifex and git repositories</title> <style> html, body { margin: 0; padding: 0; font-family: Verdana, "Trebuchet MS", "Lucida Grande", "Lucida Sans", Verdana, Tahoma, Arial, sans-serif; } table, th, td { @@ -22,7 +22,7 @@ </head> <body class="contribute"> <header id="mgnavt"> - <h1><a href="//www.mageia.org/">www.mageia.org</a> report about differences between Transifex and our git repository</h1> + <h1><a href="//www.mageia.org/">www.mageia.org</a> report about differences between Transifex and git repositories</h1> <ul> <li> </li> </ul> @@ -330,7 +330,7 @@ $git_only_languages = array_diff($git_all_languages, $tx_all_languages); $new_resources_in_tx = array_diff($git_resources_list, $tx_resources_list); $new_resources_in_git = array_diff($tx_resources_list, $git_resources_list); -// preparing text for languages not present yet in our git repositories +// preparing text for languages not present yet in git repositories $tx_only_languages_details = ''; if (0 < count($tx_only_languages)) { if (!empty($wanted_language) && !empty($wanted_resource)) { @@ -342,7 +342,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 %) in Transifex but not present yet in our git:</h3><ul>"; + $tx_only_languages_details .= "($tx_lang_completed_treshold %) in Transifex but not present yet in 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>: '; @@ -368,7 +368,7 @@ if (0 < count($tx_only_languages)) { // preparing error texts if (0 < count($git_only_languages)) { - $error = "Note that some languages (" . implode(", ", $git_only_languages) . ") are present in our git"; + $error = "Note that some languages (" . implode(", ", $git_only_languages) . ") are present in git"; $errors['git_only_languages'] = "$error but they are below treshold ($tx_lang_completed_treshold %) in Transifex."; } if (0 < count($new_resources_in_tx) && (empty($wanted_resource))) { @@ -377,12 +377,12 @@ if (0 < count($new_resources_in_tx) && (empty($wanted_resource))) { } if (0 < count($new_resources_in_git) && (empty($wanted_resource))) { - $error = "Some resources (" . implode(", ", $new_resources_in_git) . ") are new in our git"; + $error = "Some resources (" . implode(", ", $new_resources_in_git) . ") are new in git"; $errors['new_resources_in_git'] = "$error but not present in Transifex so not processed. Please report that."; } if (0 < count($git_only_resources)) { - $error = "Some resources (" . implode(", ", $git_only_resources) . ") are present only in our git"; + $error = "Some resources (" . implode(", ", $git_only_resources) . ") are present only in git"; $errors['git_only_resources'] = "$error but not in Transifex. Please report that."; } @@ -397,7 +397,7 @@ if (0 < count($parse_errors)) { if (0 < count($nonequal_num_of_all_strings)) { $error = "Some resources (" . implode(", ", $nonequal_num_of_all_strings) . ") "; - $error .= "have different number of all strings between our git and Transifex."; + $error .= "have different number of all strings between git and Transifex."; $errors['nonequal_num_of_all_strings'] = "$error Please report that on the mailing list if it happens across several days."; } @@ -662,9 +662,9 @@ if (0 < count($errors)) { // print any languages present only in Transifex echo $tx_only_languages_details . PHP_EOL; -$diff_desc = "between Transifex and our git repository for $resource_type."; +$diff_desc = "between Transifex and git repository for $resource_type."; if (0 < $num_of_resources_w_difference) { - // print any differences between Transifex and our git repository + // print any differences between Transifex and git repository if (!empty($wanted_resource) && !empty($wanted_language)) { $diff_title = "<h3>Language $wanted_lang_name below have some differences in resource $wanted_resource $diff_desc</h3>"; } else if (!empty($wanted_resource) && empty($wanted_language)) { |