aboutsummaryrefslogtreecommitdiffstats
path: root/langs/report_tx_git.php
diff options
context:
space:
mode:
Diffstat (limited to 'langs/report_tx_git.php')
-rw-r--r--langs/report_tx_git.php12
1 files changed, 8 insertions, 4 deletions
diff --git a/langs/report_tx_git.php b/langs/report_tx_git.php
index 2fde17b44..e6ff57d44 100644
--- a/langs/report_tx_git.php
+++ b/langs/report_tx_git.php
@@ -340,14 +340,18 @@ function build_links($git_resource_name, $language_code, $resource_type, $stat_d
*/
function build_transifex_link($tx_language_code, $link_name = NULL, $tx_category = NULL, $tx_resource_name = NULL)
{
- $prefix = "<a href=\"http://www.transifex.com/organization/MageiaLinux/dashboard/all_resources";
- $transifex_url = "$prefix/$tx_language_code/#1/?";
- if(!is_null($tx_resource_name)) {
+// Transifex cripled direct link access in a new version in a way that limiting
+// the result by the category or resource name is no longer possible
+// $prefix = "<a href=\"http://www.transifex.com/organization/MageiaLinux/dashboard/all_resources";
+ $prefix = "<a href=\"https://www.transifex.com/MageiaLinux/mageia/language/";
+// $transifex_url = "$prefix/$tx_language_code/#1/?";
+ $transifex_url = "$prefix/$tx_language_code/";
+/* if(!is_null($tx_resource_name)) {
$transifex_url .= "s=$tx_resource_name&amp;";
}
if(!is_null($tx_category)) {
$transifex_url .= "c=$tx_category";
- }
+ }/**/
$transifex_url .= "\">";
if(is_null($link_name)) {
$transifex_url .= $tx_language_code;