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 | |
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')
-rw-r--r-- | en/doc/archive.php | 6 | ||||
-rw-r--r-- | en/doc/doc.php | 11 | ||||
-rw-r--r-- | en/doc/index.php | 2 |
3 files changed, 13 insertions, 6 deletions
diff --git a/en/doc/archive.php b/en/doc/archive.php index 5ec5965a6..fe41215fe 100644 --- a/en/doc/archive.php +++ b/en/doc/archive.php @@ -10,7 +10,7 @@ require 'doc.php'; <head> <meta charset="utf-8"> <title><?php _e('Mageia Documentation\'s Archive')?></title> - <meta name="description" content="<?php _e('Old documentation for Mageia distribution and its tools.')?>"> + <meta name="description" content="<?php _e('Documentation for previous releases of Mageia distribution and its tools.')?>"> <meta name="keywords" content="<?php _e('doc,documentation,help,guide,installer,installation,mageia,linux')?>"> <link rel="stylesheet" href="/g/style/all.css" type="text/css"> </head> @@ -22,8 +22,8 @@ require 'doc.php'; <div class="yui-g"> <div class="para donate" style="padding-top: 2em;"> <h2><?php _e('Some More documentation')?></h2> - <p><?php _e('You will find here the documentations for the versions of Mageia that have reached their End-Of-Life.')?><br/> - <?php _e('If you are looking for the current versions, see <a href="index.php">here</a>)')?></p> + <p><?php _e('Here you will find the documentation for the versions of Mageia that have reached their End-Of-Life.')?><br/> + <?php _e('If you are looking for the current versions, see <a href="index.php">here</a>.')?></p> <hr> <h3>Mageia 2</h3> <div style="float: left; margin: 2em;"> 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)); } } } diff --git a/en/doc/index.php b/en/doc/index.php index af042f46b..195096191 100644 --- a/en/doc/index.php +++ b/en/doc/index.php @@ -25,7 +25,7 @@ require 'doc.php'; <div class="para donate" style="padding-top: 2em;"> <h2><?php _e('Find your documentation')?></h2> <p><?php _e('Select the manual, the release of Mageia and the language you want to see.')?><br/> - <?php _e('Documentation of old versions are available in the <a href="archive.php">archive page</a>')?></p> + <?php _e('Documentation of old versions are available in the <a href="archive.php">archive page</a>.')?></p> <p><?php _e('Those manuals are the result of common work of <a href="https://wiki.mageia.org/en/Documentation_team">documentation</a> and <a href="https://wiki.mageia.org/en/Internationalisation_Team_(i18n)">translation</a> teams.')?><br/> <?php _e('Feel free to help us improving it!')?></p> <hr> |