aboutsummaryrefslogtreecommitdiffstats
path: root/langs/report.php
diff options
context:
space:
mode:
authorFilip Komar <filip@mageia.org>2012-08-18 09:48:18 +0000
committerFilip Komar <filip@mageia.org>2012-08-18 09:48:18 +0000
commitc57ae3d6007971df6df682b58b722d58c3054fc2 (patch)
treecd29c1e694b650c564519d86ece000c8c57ff042 /langs/report.php
parent5ee5e79bc0eb596cec6ff77d2b5d01019b29237d (diff)
downloadwww-c57ae3d6007971df6df682b58b722d58c3054fc2.tar
www-c57ae3d6007971df6df682b58b722d58c3054fc2.tar.gz
www-c57ae3d6007971df6df682b58b722d58c3054fc2.tar.bz2
www-c57ae3d6007971df6df682b58b722d58c3054fc2.tar.xz
www-c57ae3d6007971df6df682b58b722d58c3054fc2.zip
added both links useful for profreading of downloads/get page on report.php
Diffstat (limited to 'langs/report.php')
-rw-r--r--langs/report.php8
1 files changed, 6 insertions, 2 deletions
diff --git a/langs/report.php b/langs/report.php
index 4f2894565..d0924e389 100644
--- a/langs/report.php
+++ b/langs/report.php
@@ -33,7 +33,7 @@
<header id="mgnavt">
<h1><a href="//www.mageia.org/">www.mageia.org</a> translation report</h1>
<ul>
- <li><a href="https://wiki.mageia.org/en/Internationalisation_Team_(i18n)#Website_translation">i18n Web Wiki</a> (<a href="https://wiki.mageia.org/en/Internationalisation_Team_%28i18n%29#Special_cases_of_web_pages">Special cases for some web pages</a>)</li>
+ <li><a href="https://wiki.mageia.org/en/Internationalisation_Team_(i18n)#Website_translation">i18n Web Wiki</a> (<a href="https://wiki.mageia.org/en/Internationalisation_Team_%28i18n%29#Special_cases_of_web_pages">Special cases for some web pages like downloads/get, constitution</a>)</li>
</ul>
</header>
<div id="page">
@@ -74,7 +74,11 @@
$stats[$l]['files'] += 1;
$link = str_replace(array('en/', '.en.lang', 'index'), '', $f);
- $link = sprintf('<a href="//www.mageia.org/%s/%s" class="action viewpage">view page</a>', $l, $link);
+ if ($link == 'downloads/get') {
+ $link = sprintf('<a href="//www.mageia.org/%s/%s/?q=Mageia-2-dual-CD.iso&d=1" class="action viewpage">view download OK page</a> <a href="//www.mageia.org/%s/%s/?q=Non_existing_file&d=1" class="action viewpage">view non existing file page</a>', $l, $link, $l, $link);
+ } else {
+ $link = sprintf('<a href="//www.mageia.org/%s/%s" class="action viewpage">view page</a>', $l, $link);
+ }
$test = _lang_diff($f, $langF);