aboutsummaryrefslogtreecommitdiffstats
path: root/en/doc/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'en/doc/index.php')
-rw-r--r--en/doc/index.php32
1 files changed, 16 insertions, 16 deletions
diff --git a/en/doc/index.php b/en/doc/index.php
index 749167992..c8bc5cc98 100644
--- a/en/doc/index.php
+++ b/en/doc/index.php
@@ -1,7 +1,7 @@
<?php
define('HLANG', true);
require '../../langs.php';
-_lang_load($locale, 'documentation');
+$dictionary = read_translation_file($locale, 'documentation');
require 'doc.php';
@@ -11,36 +11,36 @@ require 'doc.php';
<html lang="<?php echo $locale; ?>" dir="ltr">
<head>
<meta charset="utf-8">
- <title><?php _e('Mageia Documentation')?></title>
- <meta name="description" content="<?php _e('Documentation for Mageia distribution and its tools.')?>">
- <meta name="keywords" content="<?php _e('doc,documentation,help,guide,installer,installation,mageia,linux')?>">
+ <title><?php _g('Mageia Documentation')?></title>
+ <meta name="description" content="<?php _g('Documentation for Mageia distribution and its tools.')?>">
+ <meta name="keywords" content="<?php _g('doc,documentation,help,guide,installer,installation,mageia,linux')?>">
<link rel="stylesheet" href="/g/style/all.css" type="text/css">
<?php include '../../analytics.php'; ?>
</head>
<body class="doc">
<?php echo $hsnav; ?>
- <h1 id="mgnavt"><?php _e('Mageia Documentation')?></h1>
+ <h1 id="mgnavt"><?php _g('Mageia Documentation')?></h1>
<div id="doc" class="yui-t7">
<div id="bd" role="main">
<div class="yui-g">
<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>
- <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>
+ <h2><?php _g('Find your documentation')?></h2>
+ <p><?php _g('Select the manual, the release of Mageia and the language you want to see.')?><br/>
+ <?php _g('Documentation of old versions are available in the <a href="archive.php">archive page</a>.')?></p>
+ <p><?php _g('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 _g('Feel free to help us improving it!')?></p>
<hr>
<h3>Mageia 4</h3>
<div style="float: left; margin: 1em; width: 24em;">
<p style="margin-left: 2em;"><?php
- doc_list(_t('Installer'), 'installer', 4, '<a href="//doc.mageia.org/installer/4/%s/content/index.html">HTML</a>',
+ doc_list(_r('Installer'), 'installer', 4, '<a href="//doc.mageia.org/installer/4/%s/content/index.html">HTML</a>',
'<a href="//doc.mageia.org/installer/4/%s/content/index.html">EPUB</a>',
'<a href="//doc.mageia.org/installer/4/%s/content/index.html">PDF</a>');
?></p>
</div>
<div style="float: right; margin: 1em; width: 24em;">
<p style="margin-left: 2em;"><?php
- doc_list(_t('Control Center'), 'control_center', 4, '<a href="//doc.mageia.org/mcc/4/%s/content/index.html">HTML</a>',
+ doc_list(_r('Control Center'), 'control_center', 4, '<a href="//doc.mageia.org/mcc/4/%s/content/index.html">HTML</a>',
'<a href="//doc.mageia.org/mcc/4/%s/content/index.html">EPUB</a>',
'<a href="//doc.mageia.org/mcc/4/%s/content/index.html">PDF</a>');
?></p>
@@ -49,12 +49,12 @@ require 'doc.php';
<h3>Mageia 3</h3>
<div style="float: left; margin: 1em; width: 24em;">
<p style="margin-left: 2em;"><?php
- doc_list(_t('Installer'), 'installer', 3, '<a href="//doc.mageia.org/installer/3/%s/content/index.html">HTML</a>');
+ doc_list(_r('Installer'), 'installer', 3, '<a href="//doc.mageia.org/installer/3/%s/content/index.html">HTML</a>');
?></p>
</div>
<div style="float: right; margin: 1em; width: 24em;">
<p style="margin-left: 2em;"><?php
- doc_list(_t('Control Center'), 'control_center', 3, '<a href="//doc.mageia.org/mcc/3/%s/content/index.html">HTML</a>');
+ doc_list(_r('Control Center'), 'control_center', 3, '<a href="//doc.mageia.org/mcc/3/%s/content/index.html">HTML</a>');
?></p>
</div>
</div>
@@ -63,8 +63,8 @@ require 'doc.php';
</div>
<div style="margin-left: 2em;">
<hr>
- <p><a href="//www.mageia.org/<?php echo $locale; ?>/map/"><?php _e('Mageia sitemap')?></a>
- | <a href="//www.mageia.org/<?php echo $locale; ?>/support/"><?php _e('Support')?></a></p>
+ <p><a href="//www.mageia.org/<?php echo $locale; ?>/map/"><?php _g('Mageia sitemap')?></a>
+ | <a href="//www.mageia.org/<?php echo $locale; ?>/support/"><?php _g('Support')?></a></p>
</div>
</body>
</html>