diff options
author | Filip Komar <filip@mageia.org> | 2014-01-28 20:49:06 +0000 |
---|---|---|
committer | Filip Komar <filip@mageia.org> | 2014-01-28 20:49:06 +0000 |
commit | ebce9de1876e95e90bf7277bdbd6faf131b6a0ca (patch) | |
tree | 6654a66af0979ca70b61739774191cbbcb7514af /en/doc/doc.php | |
parent | d25879aa7f63d8ab20b94a79c9ae478b1914b842 (diff) | |
download | www-ebce9de1876e95e90bf7277bdbd6faf131b6a0ca.tar www-ebce9de1876e95e90bf7277bdbd6faf131b6a0ca.tar.gz www-ebce9de1876e95e90bf7277bdbd6faf131b6a0ca.tar.bz2 www-ebce9de1876e95e90bf7277bdbd6faf131b6a0ca.tar.xz www-ebce9de1876e95e90bf7277bdbd6faf131b6a0ca.zip |
hopefully improved translation for documentation and it's archive entry page + added Slovenian translation
Diffstat (limited to 'en/doc/doc.php')
-rw-r--r-- | en/doc/doc.php | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/en/doc/doc.php b/en/doc/doc.php index ca93060a3..cec324811 100644 --- a/en/doc/doc.php +++ b/en/doc/doc.php @@ -24,6 +24,7 @@ function doc_list($documentation_name, $type, $version, $link, $epub_link = null $text_others = ''; $your_language_present = FALSE; $other_languages_present = FALSE; + $note_printed = FALSE; $table = PHP_EOL . '<table class="dlt2 dlinfo" style="font-size: 10pt;">' . PHP_EOL; // $table .= '<thead><tr><th></th></tr></thead>'; $table .= "\t<tbody>" . PHP_EOL; @@ -53,8 +54,14 @@ function doc_list($documentation_name, $type, $version, $link, $epub_link = null if (is_null($epub_link) or is_null($pdf_link)) { $others[] = sprintf('%s<br/>%s', $lng_name, sprintf($link, $lng)); } else { - $others[] = sprintf('%s<br/>%s <span style="font-size: 07pt;">(%s , %s)</span>', - $lng_name, sprintf($link, $lng), sprintf($epub_link, $lng), sprintf($pdf_link, $lng), sprintf($link, $lng)); + if(!$note_printed) { + $note = _t('also as'); + $note_printed = TRUE; + } else { + $note = ''; + } + $others[] = sprintf('%s<br/>%s <span style="font-size: 07pt;">(%s%s , %s)</span>', + $lng_name, sprintf($link, $lng), $note, sprintf($epub_link, $lng), sprintf($pdf_link, $lng), sprintf($link, $lng)); } } } |