aboutsummaryrefslogtreecommitdiffstats
path: root/en/3
diff options
context:
space:
mode:
authorFilip Komar <filip@mageia.org>2014-03-21 18:26:07 +0000
committerFilip Komar <filip@mageia.org>2014-03-21 18:26:07 +0000
commit4a0b888b6afe09f272483fbe161424494f6a09bc (patch)
treeee0d1268ab3f71bd1f9073a5e80f9bbd4b8a4e40 /en/3
parentc80c2ccae63165320a085f35a9aec2d9ea48d813 (diff)
downloadwww-4a0b888b6afe09f272483fbe161424494f6a09bc.tar
www-4a0b888b6afe09f272483fbe161424494f6a09bc.tar.gz
www-4a0b888b6afe09f272483fbe161424494f6a09bc.tar.bz2
www-4a0b888b6afe09f272483fbe161424494f6a09bc.tar.xz
www-4a0b888b6afe09f272483fbe161424494f6a09bc.zip
mga3 pages converted to gettext
Diffstat (limited to 'en/3')
-rwxr-xr-xen/3/download_index.php158
-rw-r--r--en/3/for-pc/index.php56
-rw-r--r--en/3/for-server/index.php34
-rw-r--r--en/3/index.php28
-rw-r--r--en/3/nav.php8
5 files changed, 142 insertions, 142 deletions
diff --git a/en/3/download_index.php b/en/3/download_index.php
index 1283d4d7a..8ca36be5e 100755
--- a/en/3/download_index.php
+++ b/en/3/download_index.php
@@ -3,7 +3,7 @@
define('HLANG', true);
require '../../langs.php';
-_lang_load($locale, '3');
+$dictionary = read_translation_file($locale, '3');
require '../downloads/get/lib.php';
?>
@@ -11,9 +11,9 @@ require '../downloads/get/lib.php';
<html dir="ltr" lang="<?php echo $locale; ?>">
<head>
<meta charset="utf-8">
- <title><?php _e('Download Mageia 3')?></title>
- <meta name="description" content="<?php _e('Download Mageia 3 DVD, CD, LiveCD, network install ISO images.') ?>">
- <meta name="keywords" content="<?php _e('mageia, mageia 3, linux, free, download, iso, torrent, vm, http, ftp, rsync, bittorrent')?>">
+ <title><?php _g('Download Mageia 3')?></title>
+ <meta name="description" content="<?php _g('Download Mageia 3 DVD, CD, LiveCD, network install ISO images.') ?>">
+ <meta name="keywords" content="<?php _g('mageia, mageia 3, linux, free, download, iso, torrent, vm, http, ftp, rsync, bittorrent')?>">
<meta name="robots" content="index,nofollow,nosnippet">
<link rel="canonical" href="/<?php echo $locale; ?>/3/">
<link rel="stylesheet" href="/g/style/all.css">
@@ -22,20 +22,20 @@ require '../downloads/get/lib.php';
<body class="release downloads">
<?php echo $hsnav; ?>
- <h1 id="mgnavt"><?php _e('Download <strong>Mageia 3</strong>')?></h1>
+ <h1 id="mgnavt"><?php _g('Download <strong>Mageia 3</strong>')?></h1>
<?php include '../3/nav.php'; ?>
<div id="doc4" class="yui-t7">
<div id="bd" role="main">
<div class="yui-ge bb1">
<div class="yui-u first rb1">
<div class="para">
- <h2><?php _e('Classical Installation Flavours')?></h2>
+ <h2><?php _g('Classical Installation Flavours')?></h2>
<table class="fr-table dlt2">
<thead>
<tr>
- <th><?php _e('Format');?></th>
- <th class="size"><?php _e('size');?></th>
- <th><?php _e('link');?></th>
+ <th><?php _g('Format');?></th>
+ <th class="size"><?php _g('size');?></th>
+ <th><?php _g('link');?></th>
<th>BitTorrent</th>
</tr>
</thead>
@@ -43,84 +43,84 @@ require '../downloads/get/lib.php';
<tr>
<th class="name">DVD 32bit</th>
<td class="size">3.9GB</td>
- <td><a rel="nofollow" href="../downloads/get/?q=Mageia-3-i586-DVD.iso" title="Mageia 3 32bit DVD"><?php _e('32bit');?></a></td>
- <td><a rel="nofollow" href="../downloads/get/?q=Mageia-3-i586-DVD.iso&amp;torrent=1" title="Mageia 3 32bit DVD"><?php _e('32bit');?></a></td>
+ <td><a rel="nofollow" href="../downloads/get/?q=Mageia-3-i586-DVD.iso" title="Mageia 3 32bit DVD"><?php _g('32bit');?></a></td>
+ <td><a rel="nofollow" href="../downloads/get/?q=Mageia-3-i586-DVD.iso&amp;torrent=1" title="Mageia 3 32bit DVD"><?php _g('32bit');?></a></td>
</tr>
<tr>
<th class="name">DVD 64bit</th>
<td class="size">3.9GB</td>
- <td><a rel="nofollow" href="../downloads/get/?q=Mageia-3-x86_64-DVD.iso" title="Mageia 3 64bit DVD"><?php _e('64bit');?></a></td>
- <td><a rel="nofollow" href="../downloads/get/?q=Mageia-3-x86_64-DVD.iso&amp;torrent=1" title="Mageia 3 64bit DVD"><?php _e('64bit');?></a></td>
+ <td><a rel="nofollow" href="../downloads/get/?q=Mageia-3-x86_64-DVD.iso" title="Mageia 3 64bit DVD"><?php _g('64bit');?></a></td>
+ <td><a rel="nofollow" href="../downloads/get/?q=Mageia-3-x86_64-DVD.iso&amp;torrent=1" title="Mageia 3 64bit DVD"><?php _g('64bit');?></a></td>
</tr>
<tr>
<th class="name">CD</th>
<td class="size">700MB</td>
- <td><a rel="nofollow" href="../downloads/get/?q=Mageia-3-dual-CD.iso" title="Mageia 3 dual CD"><?php _e('dualarch')?></a></td>
- <td><a rel="nofollow" href="../downloads/get/?q=Mageia-3-dual-CD.iso&amp;torrent=1" title="Mageia 3 dual CD"><?php _e('dualarch')?></a></td>
+ <td><a rel="nofollow" href="../downloads/get/?q=Mageia-3-dual-CD.iso" title="Mageia 3 dual CD"><?php _g('dualarch')?></a></td>
+ <td><a rel="nofollow" href="../downloads/get/?q=Mageia-3-dual-CD.iso&amp;torrent=1" title="Mageia 3 dual CD"><?php _g('dualarch')?></a></td>
</tr>
</tbody>
</table>
- <p class="dlinfo"><?php _e('Notes:'); ?></p>
+ <p class="dlinfo"><?php _g('Notes:'); ?></p>
<ul class="dlinfo hl">
- <li><?php _e('Up to 167 locales are supported:'); ?>
+ <li><?php _g('Up to 167 locales are supported:', null, ' '); ?>
Deutsch, English, español, français, italiano, português, svenska, nederlands,
polski, dansk, Русский
- <?php _e('and so much more!'); ?>
- <a href="https://wiki.mageia.org/en/Available_locales" hreflang="en"><?php _e('See the comprehensive list')?></a>.</li>
+ <?php _g('and so much more!', null, ' '); ?>
+ <a href="https://wiki.mageia.org/en/Available_locales" hreflang="en"><?php _g('See the comprehensive list')?></a>.</li>
<li><?php
- _e('These DVD and CD ISOs contains Free Software and some proprietary drivers.');
- _e('You will be asked of which kind of Software you want to install.');
+ _g('These DVD and CD ISOs contains Free Software and some proprietary drivers.', null, ' ');
+ _g('You will be asked of which kind of Software you want to install.');
?></li>
- <li><?php _e('The CD contains only a minimal list of packages.')?></li>
+ <li><?php _g('The CD contains only a minimal list of packages.')?></li>
</ul>
</div>
<div class="para">
- <h2><?php _e('LiveCDs and LiveDVDs');?></h2>
- <p class="dlinfo"><?php _e('Use LiveCDs and LiveDVDs for fresh new installs ONLY.');?>
- <span class="warn"><?php _e('DO NOT use these LiveCDs or LiveDVDs to upgrade from Mageia 2!'); ?></span>
- <?php _e('Use above DVD or CD and see <a href="%s" hreflang="en">upgrade guide</a>.', array('https://wiki.mageia.org/en/Mageia_3_Release_Notes#Upgrading_from_Mageia_2'));?></p>
+ <h2><?php _g('LiveCDs and LiveDVDs');?></h2>
+ <p class="dlinfo"><?php _g('Use LiveCDs and LiveDVDs for fresh new installs ONLY.', null, ' ');?>
+ <span class="warn"><?php _g('DO NOT use these LiveCDs or LiveDVDs to upgrade from Mageia 2!', null, ' '); ?></span>
+ <?php _g('Use above DVD or CD and see <a href="%s" hreflang="en">upgrade guide</a>.', array('https://wiki.mageia.org/en/Mageia_3_Release_Notes#Upgrading_from_Mageia_2'));?></p>
<table class="fr-table dlt2">
<thead>
<tr>
- <th><?php _e('Desktop');?></th>
- <th class="size"><?php _e('size');?></th>
- <th><?php _e('link');?></th>
- <th><?php _e('BitTorrent');?></th>
+ <th><?php _g('Desktop');?></th>
+ <th class="size"><?php _g('size');?></th>
+ <th><?php _g('link');?></th>
+ <th><?php _g('BitTorrent');?></th>
</tr>
</thead>
<tbody>
<tr>
- <th class="name"><?php _e('LiveDVD KDE')?><br>
- <span class="dlinfo"><?php _e('All languages')?></span></th>
+ <th class="name"><?php _g('LiveDVD KDE')?><br>
+ <span class="dlinfo"><?php _g('All languages')?></span></th>
<td class="size">1.4GB</td>
- <td><a rel="nofollow" href="../downloads/get/?q=Mageia-3-LiveDVD-KDE4-i586-DVD.iso"><?php _e('32bit');?></a><br>
- <a rel="nofollow" href="../downloads/get/?q=Mageia-3-LiveDVD-KDE4-x86_64-DVD.iso"><?php _e('64bit');?></a></td>
- <td><a rel="nofollow" href="../downloads/get/?q=Mageia-3-LiveDVD-KDE4-i586-DVD.iso&amp;torrent=1"><?php _e('32bit');?></a><br>
- <a rel="nofollow" href="../downloads/get/?q=Mageia-3-LiveDVD-KDE4-x86_64-DVD.iso&amp;torrent=1"><?php _e('64bit');?></a></td>
+ <td><a rel="nofollow" href="../downloads/get/?q=Mageia-3-LiveDVD-KDE4-i586-DVD.iso"><?php _g('32bit');?></a><br>
+ <a rel="nofollow" href="../downloads/get/?q=Mageia-3-LiveDVD-KDE4-x86_64-DVD.iso"><?php _g('64bit');?></a></td>
+ <td><a rel="nofollow" href="../downloads/get/?q=Mageia-3-LiveDVD-KDE4-i586-DVD.iso&amp;torrent=1"><?php _g('32bit');?></a><br>
+ <a rel="nofollow" href="../downloads/get/?q=Mageia-3-LiveDVD-KDE4-x86_64-DVD.iso&amp;torrent=1"><?php _g('64bit');?></a></td>
</tr>
<tr>
- <th class="name"><?php _e('LiveDVD GNOME')?><br>
- <span class="dlinfo"><?php _e('All languages')?></span></th>
+ <th class="name"><?php _g('LiveDVD GNOME')?><br>
+ <span class="dlinfo"><?php _g('All languages')?></span></th>
<td class="size">1.4GB</td>
- <td><a rel="nofollow" href="../downloads/get/?q=Mageia-3-LiveDVD-GNOME-i586-DVD.iso"><?php _e('32bit');?></a><br>
- <a rel="nofollow" href="../downloads/get/?q=Mageia-3-LiveDVD-GNOME-x86_64-DVD.iso"><?php _e('64bit');?></a></td>
- <td><a rel="nofollow" href="../downloads/get/?q=Mageia-3-LiveDVD-GNOME-i586-DVD.iso&amp;torrent=1"><?php _e('32bit');?></a><br>
- <a rel="nofollow" href="../downloads/get/?q=Mageia-3-LiveDVD-GNOME-x86_64-DVD.iso&amp;torrent=1"><?php _e('64bit');?></a></td>
+ <td><a rel="nofollow" href="../downloads/get/?q=Mageia-3-LiveDVD-GNOME-i586-DVD.iso"><?php _g('32bit');?></a><br>
+ <a rel="nofollow" href="../downloads/get/?q=Mageia-3-LiveDVD-GNOME-x86_64-DVD.iso"><?php _g('64bit');?></a></td>
+ <td><a rel="nofollow" href="../downloads/get/?q=Mageia-3-LiveDVD-GNOME-i586-DVD.iso&amp;torrent=1"><?php _g('32bit');?></a><br>
+ <a rel="nofollow" href="../downloads/get/?q=Mageia-3-LiveDVD-GNOME-x86_64-DVD.iso&amp;torrent=1"><?php _g('64bit');?></a></td>
<tr>
- <th class="name"><?php _e('LiveCD KDE')?><br>
- <span class="dlinfo"><?php _e('English only')?></span></th>
+ <th class="name"><?php _g('LiveCD KDE')?><br>
+ <span class="dlinfo"><?php _g('English only')?></span></th>
<td class="size">700MB</td>
- <td><a rel="nofollow" href="../downloads/get/?q=Mageia-3-LiveCD-KDE4-en-i586-CD.iso"><?php _e('32bit');?></a></td>
- <td><a rel="nofollow" href="../downloads/get/?q=Mageia-3-LiveCD-KDE4-en-i586-CD.iso&amp;torrent=1"><?php _e('32bit');?></a></td>
+ <td><a rel="nofollow" href="../downloads/get/?q=Mageia-3-LiveCD-KDE4-en-i586-CD.iso"><?php _g('32bit');?></a></td>
+ <td><a rel="nofollow" href="../downloads/get/?q=Mageia-3-LiveCD-KDE4-en-i586-CD.iso&amp;torrent=1"><?php _g('32bit');?></a></td>
</tr>
<tr>
- <th class="name"><?php _e('LiveCD GNOME')?><br>
- <span class="dlinfo"><?php _e('English only')?></span></th>
+ <th class="name"><?php _g('LiveCD GNOME')?><br>
+ <span class="dlinfo"><?php _g('English only')?></span></th>
<td class="size">700MB</td>
- <td><a rel="nofollow" href="../downloads/get/?q=Mageia-3-LiveCD-GNOME-en-i586-CD.iso"><?php _e('32bit');?></a></td>
- <td><a rel="nofollow" href="../downloads/get/?q=Mageia-3-LiveCD-GNOME-en-i586-CD.iso&amp;torrent=1"><?php _e('32bit');?></a></td>
+ <td><a rel="nofollow" href="../downloads/get/?q=Mageia-3-LiveCD-GNOME-en-i586-CD.iso"><?php _g('32bit');?></a></td>
+ <td><a rel="nofollow" href="../downloads/get/?q=Mageia-3-LiveCD-GNOME-en-i586-CD.iso&amp;torrent=1"><?php _g('32bit');?></a></td>
</tr>
</tbody>
@@ -129,30 +129,30 @@ require '../downloads/get/lib.php';
</div>
<div class="para">
- <h2><?php _e('Wired Network-based Installation CD')?></h2>
- <p class="dlinfo"><?php _e('Download quickly and immediately boot into install mode from <em>wired</em> network or a local disk.')?></p>
+ <h2><?php _g('Wired Network-based Installation CD')?></h2>
+ <p class="dlinfo"><?php _g('Download quickly and immediately boot into install mode from <em>wired</em> network or a local disk.')?></p>
<table class="fr-table dlt2">
<thead>
<tr>
- <th><?php _e('Format');?></th>
- <th class="size"><?php _e('size');?></th>
- <th><?php _e('link');?></th>
+ <th><?php _g('Format');?></th>
+ <th class="size"><?php _g('size');?></th>
+ <th><?php _g('link');?></th>
</tr>
</thead>
<tbody>
<tr>
- <th><?php _e('Network installer, Free Software CD')?></th>
+ <th><?php _g('Network installer, Free Software CD')?></th>
<td class="size">~35MB<br>~20MB</td>
- <td><a rel="nofollow" href="../downloads/get/?q=Mageia-3-Boot-i586-CD.iso"><?php _e('32bit');?></a><br>
- <a rel="nofollow" href="../downloads/get/?q=Mageia-3-Boot-x86_64-CD.iso"><?php _e('64bit');?></a></td>
+ <td><a rel="nofollow" href="../downloads/get/?q=Mageia-3-Boot-i586-CD.iso"><?php _g('32bit');?></a><br>
+ <a rel="nofollow" href="../downloads/get/?q=Mageia-3-Boot-x86_64-CD.iso"><?php _g('64bit');?></a></td>
</tr>
<tr>
- <th><?php _e('Network installer + nonfree firmware CD')?><br>
- <span class="dlinfo"><?php _e('needed for some disc controllers, some network cards, etc.')?></span></th>
+ <th><?php _g('Network installer + nonfree firmware CD')?><br>
+ <span class="dlinfo"><?php _g('needed for some disc controllers, some network cards, etc.')?></span></th>
<td class="size">~55MB<br>~30MB</td>
- <td><a rel="nofollow" href="../downloads/get/?q=Mageia-3-Boot-nonfree-i586-CD.iso"><?php _e('32bit');?></a><br>
- <a rel="nofollow" href="../downloads/get/?q=Mageia-3-Boot-nonfree-x86_64-CD.iso"><?php _e('64bit');?></a></td>
+ <td><a rel="nofollow" href="../downloads/get/?q=Mageia-3-Boot-nonfree-i586-CD.iso"><?php _g('32bit');?></a><br>
+ <a rel="nofollow" href="../downloads/get/?q=Mageia-3-Boot-nonfree-x86_64-CD.iso"><?php _g('64bit');?></a></td>
</tr>
</tbody>
</table>
@@ -163,43 +163,43 @@ require '../downloads/get/lib.php';
<div class="yui-u">
<div class="para" style="padding-left: 1em;">
<h2>Mageia 3</h2>
- <?php _h('May 19<sup>th</sup> 2013')?>
+ <?php _g('May 19<sup>th</sup> 2013', null, 'p')?>
<ul class="hl">
- <li><?php _e('<a href="%s">Release notes</a>', array('https://wiki.mageia.org/en/Mageia_3_Release_Notes'))?></li>
- <li><?php _e('<a href="%s">Errata</a>', array('https://wiki.mageia.org/en/Mageia_3_Errata'))?></li>
- <li><?php _e('<a href="%s">Which to choose</a>', array('https://wiki.mageia.org/en/Installation_Media'))?></li>
- <li><?php _e('<a href="%s">Get ISO on USB flash stick</a>', array('https://wiki.mageia.org/en/Installation_Media#Dump_Mageia_ISO_on_a_USB_flash_stick.3F'))?></li>
- <li><?php _e('Newcomer? <a href="%s">Here\'s a wiki page for you.</a>', array('https://wiki.mageia.org/en/Newcomers_start_here'))?></li>
+ <li><?php _g('<a href="%s">Release notes</a>', array('https://wiki.mageia.org/en/Mageia_3_Release_Notes'))?></li>
+ <li><?php _g('<a href="%s">Errata</a>', array('https://wiki.mageia.org/en/Mageia_3_Errata'))?></li>
+ <li><?php _g('<a href="%s">Which to choose</a>', array('https://wiki.mageia.org/en/Installation_Media'))?></li>
+ <li><?php _g('<a href="%s">Get ISO on USB flash stick</a>', array('https://wiki.mageia.org/en/Installation_Media#Dump_Mageia_ISO_on_a_USB_flash_stick.3F'))?></li>
+ <li><?php _g('Newcomer? <a href="%s">Here\'s a wiki page for you.</a>', array('https://wiki.mageia.org/en/Newcomers_start_here'))?></li>
</ul>
<br>
<br>
- <?php _h('Upgrading<br>from Mageia 2?', null, 'h3')?>
+ <?php _g('Upgrading<br>from Mageia 2?', null, 'h3')?>
<ul class="hl"><?php
- _h('<strong>do not</strong> use LiveCDs;', null, 'li');
- _h('see the <a href="%s" hreflang="en">upgrade guide</a>', array('https://wiki.mageia.org/en/Mageia_3_Release_Notes#Upgrading_from_Mageia_2'), 'li');
+ _g('<strong>do not</strong> use LiveCDs;', null, 'li');
+ _g('see the <a href="%s" hreflang="en">upgrade guide</a>', array('https://wiki.mageia.org/en/Mageia_3_Release_Notes#Upgrading_from_Mageia_2'), 'li');
?></ul>
<br>
<br>
<?php
- _h('Looking for Mageia 2?', null, 'h3');
+ _g('Looking for Mageia 2?', null, 'h3');
echo '<p>';
- _e('It is <a href="%s">here now</a>.', array('../2/'));
- echo '<span class="warn">' . _t('But please remember that it already <a href="https://blog.mageia.org/en/2013/11/21/farewell-mageia-2/">reached EOL</a>.') . '</span></p>';
+ _g('It is <a href="%s">here now</a>.', array('../2/'));
+ echo ' <span class="warn">' . _r('But please remember that it already <a href="https://blog.mageia.org/en/2013/11/21/farewell-mageia-2/">reached EOL</a>.') . '</span></p>';
?>
<br>
<br>
<?php
- _h('Looking for Mageia 1?', null, 'h3');
+ _g('Looking for Mageia 1?', null, 'h3');
echo '<p>';
- _e('It is <a href="%s">here now</a>.', array('../1/'));
- _e('But please remember that it already <a href="https://blog.mageia.org/en/2012/12/02/mageia-1-eol/">reached EOL</a>.', null, '');
+ _g('It is <a href="%s">here now</a>.', array('../1/'), ' ');
+ _g('But please remember that it already <a href="https://blog.mageia.org/en/2012/12/02/mageia-1-eol/">reached EOL</a>.');
echo '</p>';
?>
<br>
<br>
<?php
- _h('Need more challenge?', null, 'h3');
- _h('You can <a href="%s">help</a> us <a href="%s">on Mageia 4</a>.', array('../contribute/','../4/'));
+ _g('Need more challenge?', null, 'h3');
+ _g('You can <a href="%s">help</a> us <a href="%s">on Mageia 4</a>.', array('../contribute/','../4/'), 'p');
?>
</div>
<hr>
diff --git a/en/3/for-pc/index.php b/en/3/for-pc/index.php
index 3e90bd5dd..9e5368272 100644
--- a/en/3/for-pc/index.php
+++ b/en/3/for-pc/index.php
@@ -2,14 +2,14 @@
define('HLANG', true);
require '../../../langs.php';
-_lang_load($locale, '3');
+$dictionary = read_translation_file($locale, '3');
?>
<!DOCTYPE html>
<html lang="<?php echo $locale; ?>">
<head>
<meta charset="utf-8">
- <title><?php _e('Mageia 3, for your PC')?></title>
+ <title><?php _g('Mageia 3, for your PC')?></title>
<link rel="stylesheet" href="/g/style/all.css">
<style>
.para { text-align: left; float: left; width: 250px; display: block; border-right: 1px solid #eef; border-bottom: 1px solid #eef; }
@@ -19,17 +19,17 @@ _lang_load($locale, '3');
</head>
<body class="downloads">
<?php echo $hsnav; ?>
- <h1 id="mgnavtitle"><a href="../3/">Mageia 3</a> &raquo; <?php _e('for your PC')?></h1>
+ <h1 id="mgnavtitle"><a href="../3/">Mageia 3</a> &raquo; <?php _g('for your PC')?></h1>
<?php include '../nav.php'; ?>
<div class="para" style="width: 600px;">
<section>
<?php
- _h('Plenty', null, 'h2');
- _h('There are more than 21&nbsp;700&nbsp;packages in our repositories. And that\'s just for the 64-bit branch.');
- _h('The total number is double that &ndash; and then if you consider the backports, and the packages in the Cauldron still testing... you\'ll see that Mageia users are spoiled for choice.');
- _h('Here\'s a cross-section, first of the working graphical environments, and then of the core applications you could be using on your desktop:');
- _h('Environments', null, 'h2');
- _h('Mageia 3 has all the major desktop environments:');
+ _g('Plenty', null, 'h2');
+ _g('There are more than 21&nbsp;700&nbsp;packages in our repositories. And that\'s just for the 64-bit branch.', null, 'p');
+ _g('The total number is double that &ndash; and then if you consider the backports, and the packages in the Cauldron still testing... you\'ll see that Mageia users are spoiled for choice.', null, 'p');
+ _g('Here\'s a cross-section, first of the working graphical environments, and then of the core applications you could be using on your desktop:', null, 'p');
+ _g('Environments', null, 'h2');
+ _g('Mageia 3 has all the major desktop environments:', null, 'p');
?>
<ul>
<li>KDE4 SC 4.10.2,</li>
@@ -40,58 +40,58 @@ _lang_load($locale, '3');
<li>E17.</li>
</ul>
<?php
- _h('And then there are the window managers, including Openbox, WindowMaker, IceWM, Fluxbox, Fvwm2 and Awesome.');
- _h('Applications &rarr;', null, 'h2');
- _h('There are many, many to choose from &ndash; including all the most popular.');
+ _g('And then there are the window managers, including Openbox, WindowMaker, IceWM, Fluxbox, Fvwm2 and Awesome.', null, 'p');
+ _g('Applications &rarr;', null, 'h2');
+ _g('There are many, many to choose from &ndash; including all the most popular.', null, 'p');
?>
</section>
</div>
<div class="para" style="width: 300px">
<?php
- _h('Web', null, 'h3');
- _h('Choose your web browser from Firefox ESR 17.0.6, Chromium-browser 26.0.1410.65, Epiphany 3.6.1 or Opera 12.15 &ndash; or one of the many others such as Lynx or Konqueror; then pick an email client from KMail 4.10.2, Thunderbird ESR 17.0.6, Evolution 3.6.3 or maybe Claws-Mail or Mutt.');
+ _g('Web', null, 'h3');
+ _g('Choose your web browser from Firefox ESR 17.0.6, Chromium-browser 26.0.1410.65, Epiphany 3.6.1 or Opera 12.15 &ndash; or one of the many others such as Lynx or Konqueror; then pick an email client from KMail 4.10.2, Thunderbird ESR 17.0.6, Evolution 3.6.3 or maybe Claws-Mail or Mutt.', null, 'p');
?>
</div>
<div class="para" style="width: 300px">
<?php
- _h('Messaging', null, 'h3');
- _h('Choose from Kopete, Pidgin, Empathy or Kadu for instant messaging; use Quassel, Konversation, XChat-Gnome or KVIrc for IRC chat; try QuteCom or Ekiga (or even Skype) for VOIP.');
+ _g('Messaging', null, 'h3');
+ _g('Choose from Kopete, Pidgin, Empathy or Kadu for instant messaging; use Quassel, Konversation, XChat-Gnome or KVIrc for IRC chat; try QuteCom or Ekiga (or even Skype) for VOIP.', null, 'p');
?>
</div>
<div class="para" style="width: 300px">
<?php
- _h('Office', null, 'h3');
- _h('The two full-featured office suites LibreOffice and Calligra are there, as well as AbiWord, and a host of text editors including Kate; for finance there\'s KMyMoney, Skrooge or the professional-level GnuCash.');
+ _g('Office', null, 'h3');
+ _g('The two full-featured office suites LibreOffice and Calligra are there, as well as AbiWord, and a host of text editors including Kate; for finance there\'s KMyMoney, Skrooge or the professional-level GnuCash.', null, 'p');
?>
</div>
<div class="para" style="width: 300px">
<?php
- _h('Image', null, 'h3');
- _h('Use GIMP for powerful image manipulation, or Inkscape for vector drawing; Blender is there for serious animation. DigiKam or Showfoto will take care of your photos, talk to your camera and give you more basic image editing.');
+ _g('Image', null, 'h3');
+ _g('Use GIMP for powerful image manipulation, or Inkscape for vector drawing; Blender is there for serious animation. DigiKam or Showfoto will take care of your photos, talk to your camera and give you more basic image editing.', null, 'p');
?>
</div>
<div class="para" style="width: 300px">
<?php
- _h('Sound', null, 'h3');
- _h('For playing audio files, choose from Amarok 2.7.0 and Rhythmbox, among others; use VLC, Totem or MPlayer for video and for audio, or use the XBMC Media Center as your home entertainment system. Some packages can be found in both the Core and Tainted repositories: the packages in the Core repository support only non-patent-encumbered codecs and the packages in the Tainted repository support all codecs, for users who live in countries where those codecs don\'t infringe local laws.');
+ _g('Sound', null, 'h3');
+ _g('For playing audio files, choose from Amarok 2.7.0 and Rhythmbox, among others; use VLC, Totem or MPlayer for video and for audio, or use the XBMC Media Center as your home entertainment system. Some packages can be found in both the Core and Tainted repositories: the packages in the Core repository support only non-patent-encumbered codecs and the packages in the Tainted repository support all codecs, for users who live in countries where those codecs don\'t infringe local laws.', null, 'p');
?>
</div>
<div class="para" style="width: 300px">
<?php
- _h('Video', null, 'h3');
- _h('For editing video files, try Avidemux or OpenShot; for subtitles, there\'s Gaupol or Subtitles Composer; use MythTV, Miro, tvtime, FreetuxTV or Me TV for watching or recording TV programmes.');
+ _g('Video', null, 'h3');
+ _g('For editing video files, try Avidemux or OpenShot; for subtitles, there\'s Gaupol or Subtitles Composer; use MythTV, Miro, tvtime, FreetuxTV or Me TV for watching or recording TV programmes.', null, 'p');
?>
</div>
<div class="para" style="width: 300px">
<?php
- _h('Plus', null, 'h3');
- _h('Then there\'s ZoneMinder, for CCTV Security; VirtualBox or WINE for virtualisation; and a range of development environments such as Anjuta, Eclipse, Netbeans or KDevelop.');
+ _g('Plus', null, 'h3');
+ _g('Then there\'s ZoneMinder, for CCTV Security; VirtualBox or WINE for virtualisation; and a range of development environments such as Anjuta, Eclipse, Netbeans or KDevelop.', null, 'p');
?>
</div>
<div class="para">
<?php
- _h('For more information about these and other packages, check the <a href="%s">Mageia 3 Release notes</a>.', array('https://wiki.mageia.org/en/Mageia_3_Release_Notes'));
- _h('You can take a look at the <a href="%s">Mageia Application Database</a> to get a more complete list of Mageia packages.', array('http://mageia.madb.org/'));
+ _g('For more information about these and other packages, check the <a href="%s">Mageia 3 Release notes</a>.', array('https://wiki.mageia.org/en/Mageia_3_Release_Notes'), 'p');
+ _g('You can take a look at the <a href="%s">Mageia Application Database</a> to get a more complete list of Mageia packages.', array('http://mageia.madb.org/'), 'p');
?>
</div>
</body>
diff --git a/en/3/for-server/index.php b/en/3/for-server/index.php
index ed0405105..e36d45f14 100644
--- a/en/3/for-server/index.php
+++ b/en/3/for-server/index.php
@@ -2,14 +2,14 @@
define('HLANG', true);
require '../../../langs.php';
-_lang_load($locale, '3');
+$dictionary = read_translation_file($locale, '3');
?>
<!DOCTYPE html>
<html lang="<?php echo $locale; ?>">
<head>
<meta charset="utf-8">
- <title><?php _e('Mageia 3, for your server')?></title>
+ <title><?php _g('Mageia 3, for your server')?></title>
<link rel="stylesheet" href="/g/style/all.css">
<style>
.para { text-align: left; float: left; width: 250px; display: block; border-right: 1px solid #eef; border-bottom: 1px solid #eef; }
@@ -19,34 +19,34 @@ _lang_load($locale, '3');
</head>
<body class="downloads">
<?php echo $hsnav; ?>
- <h1 id="mgnavtitle"><a href="../3/">Mageia 3</a> &raquo; <?php _e('for your server')?></h1>
+ <h1 id="mgnavtitle"><a href="../3/">Mageia 3</a> &raquo; <?php _g('for your server')?></h1>
<?php include '../nav.php'; ?>
<div class="para" style="width: 600px;">
<section>
<?php
- _h('Mageia 3 has all the main services and server packages you will need to run your server.');
- _h('Aside from the cross-section included here, you will find many others in the repositories: you can use rpmdrake to search for packages, or check the <a href="%s">Mageia App DB</a>.', array('http://mageia.madb.org'));
+ _g('Mageia 3 has all the main services and server packages you will need to run your server.', null, 'p');
+ _g('Aside from the cross-section included here, you will find many others in the repositories: you can use rpmdrake to search for packages, or check the <a href="%s">Mageia App DB</a>.', array('http://mageia.madb.org'), 'p');
- _h('Administration', null, 'h3');
- _h('For centralised administration, we include puppet 2.7.21; we use it widely in <a href="%s">our own infrastructure</a>.', array('//svnweb.mageia.org/adm/puppet/'));
+ _g('Administration', null, 'h3');
+ _g('For centralised administration, we include puppet 2.7.21; we use it widely in <a href="%s">our own infrastructure</a>.', array('//svnweb.mageia.org/adm/puppet/'), 'p');
- _h('The entire High Availability stack has been updated, and now includes drbd 8.4.2, Corosync 2.3.0 and Pacemaker 1.1.8.');
+ _g('The entire High Availability stack has been updated, and now includes drbd 8.4.2, Corosync 2.3.0 and Pacemaker 1.1.8.', null, 'p');
- _h('Databases', null, 'h3');
- _h('Databases included are PostgreSQL 8.4.17; MariaDB 5.5.28, which replaces MySQL; BDB.');
- _h('And there are NoSQL servers too: CouchDB 1.2.1, Redis 2.6.5, MongoDB 2.2.2.');
+ _g('Databases', null, 'h3');
+ _g('Databases included are PostgreSQL 8.4.17; MariaDB 5.5.28, which replaces MySQL; BDB.', null, 'p');
+ _g('And there are NoSQL servers too: CouchDB 1.2.1, Redis 2.6.5, MongoDB 2.2.2.', null, 'p');
- _h('Servers', null, 'h3');
- _h('Web servers include Apache 2.4.4, Cherokee 1.2.101 and lighttpd 1.4.32.');
- _h('For file and directory sharing and network printing on heterogeneous networks, we have Samba 3.6.15, OpenLDAP 2.4.33 and Cups 1.5.4.');
- _h('Mail servers included with Mageia 3 are Postfix 2.9.6, Cyrus-imapd 2.4.17 and Dovecot 2.1.15.');
+ _g('Servers', null, 'h3');
+ _g('Web servers include Apache 2.4.4, Cherokee 1.2.101 and lighttpd 1.4.32.', null, 'p');
+ _g('For file and directory sharing and network printing on heterogeneous networks, we have Samba 3.6.15, OpenLDAP 2.4.33 and Cups 1.5.4.', null, 'p');
+ _g('Mail servers included with Mageia 3 are Postfix 2.9.6, Cyrus-imapd 2.4.17 and Dovecot 2.1.15.', null, 'p');
?>
</section>
</div>
<div class="para">
<?php
- _h('For more information about these and other packages, check the <a href="https://wiki.mageia.org/en/Mageia_3_Release_Notes">Mageia 3 Release notes</a>.');
- _h('You can take a look at the <a href="%s">Mageia Application Database</a> to get a more complete list of Mageia packages.', array('http://mageia.madb.org/'));
+ _g('For more information about these and other packages, check the <a href="https://wiki.mageia.org/en/Mageia_3_Release_Notes">Mageia 3 Release notes</a>.', null, 'p');
+ _g('You can take a look at the <a href="%s">Mageia Application Database</a> to get a more complete list of Mageia packages.', array('http://mageia.madb.org/'), 'p');
?>
</div>
</body>
diff --git a/en/3/index.php b/en/3/index.php
index 688e93bf4..ec3cc5cdf 100644
--- a/en/3/index.php
+++ b/en/3/index.php
@@ -3,15 +3,15 @@
define('HLANG', true);
require '../../langs.php';
-_lang_load($locale, '3');
+$dictionary = read_translation_file($locale, '3');
?>
<!DOCTYPE html>
<html lang="<?php echo $locale; ?>">
<head>
<meta charset="utf-8">
- <title><?php _e('Mageia 3')?></title>
+ <title><?php _g('Mageia 3')?></title>
<link rel="stylesheet" href="/g/style/all.css">
- <meta name="description" content="<?php _e('Mageia 3 is the new, solid, stable Linux distribution from the Mageia project.')?>">
+ <meta name="description" content="<?php _g('Mageia 3 is the new, solid, stable Linux distribution from the Mageia project.')?>">
<style>
.para { text-align: left; float: left; width: 250px; display: block; border-right: 1px solid #eef; border-bottom: 1px solid #eef; }
hr { margin-top: 2em; }
@@ -26,22 +26,22 @@ _lang_load($locale, '3');
<section>
<a href="../3/download_index.php" title="Mageia 3"><img src="/g/3/mageia-3-desktop-550.png" alt="Mageia 3" style="width: 550px; display: block; margin: 2em auto 3em auto; box-shadow: 0 0 5px #aaa;"></a>
<?php
- _h('Mageia 3 is a GNU/Linux distribution for your computer, released by the <a href="%s">Mageia community</a>.', array('../community'));
+ _g('Mageia 3 is a GNU/Linux distribution for your computer, released by the <a href="%s">Mageia community</a>.', array('../community'), 'p');
- _h('What\'s new?', null, 'h2');
- _h('Too much to include here! See the <a href="https://wiki.mageia.org/en/Mageia_3_Release_Notes">release notes</a> for an extensive exposé.');
+ _g('What\'s new?', null, 'h2');
+ _g('Too much to include here! See the <a href="https://wiki.mageia.org/en/Mageia_3_Release_Notes">release notes</a> for an extensive exposé.', null, 'p');
?>
- <p><a href="../3/download_index.php" style="background: #1272B1; color: white; padding: 0.9em; margin: 1em; display: inline-block; text-shadow: 0 1px 6px #000; border-radius: 3px;"><?php _e('Download it right away!');?></a></p>
+ <p><a href="../3/download_index.php" style="background: #1272B1; color: white; padding: 0.9em; margin: 1em; display: inline-block; text-shadow: 0 1px 6px #000; border-radius: 3px;"><?php _g('Download it right away!');?></a></p>
<?php
- _h('Mageia in context', null, 'h2');
- _h('Mageia is both a Community and a Linux Distribution, with Mageia 3 being our third release.');
- _h('Since the release of <a href="../1/">Mageia 1</a>, our offering has been consistently in the <a href="%s">top 10 of Distrowatch\'s most popular distributions</a>.', array('http://distrowatch.com/popularity'));
+ _g('Mageia in context', null, 'h2');
+ _g('Mageia is both a Community and a Linux Distribution, with Mageia 3 being our third release.', null, 'p');
+ _g('Since the release of <a href="../1/">Mageia 1</a>, our offering has been consistently in the <a href="%s">top 10 of Distrowatch\'s most popular distributions</a>.', array('http://distrowatch.com/popularity'), 'p');
- _h('Mageia 3 is supported by the <a href="../about/">Mageia.org nonprofit organisation</a>, which is governed by a body of recognized and elected contributors.');
- _h('Mageia 3 has been made by more than 100 people from all around the world.');
+ _g('Mageia 3 is supported by the <a href="../about/">Mageia.org nonprofit organisation</a>, which is governed by a body of recognized and elected contributors.', null, 'p');
+ _g('Mageia 3 has been made by more than 100 people from all around the world.', null, 'p');
- _h('Our work adds to the excellent work of the wider Linux and Free Software community. We aim to bring one of the best, most stable, reliable and enjoyable experience and platform we can make; for regular users, developers and businesses.');
- _h('We welcome new contributors to any of the many different teams that go to make up Mageia the Community, and we encourage you to join us.');
+ _g('Our work adds to the excellent work of the wider Linux and Free Software community. We aim to bring one of the best, most stable, reliable and enjoyable experience and platform we can make; for regular users, developers and businesses.', null, 'p');
+ _g('We welcome new contributors to any of the many different teams that go to make up Mageia the Community, and we encourage you to join us.', null, 'p');
?>
</section>
</div>
diff --git a/en/3/nav.php b/en/3/nav.php
index 434e20b11..eb9d8cb8d 100644
--- a/en/3/nav.php
+++ b/en/3/nav.php
@@ -1,10 +1,10 @@
<?php
$nav = array(
- "/{$locale}/3/" => _t('Mageia&nbsp;3'),
- "/{$locale}/3/download_index.php" => _t('Download'),
- "/{$locale}/3/for-pc/" => _t('For PC'),
- "/{$locale}/3/for-server/" => _t('For server'),
+ "/{$locale}/3/" => _r('Mageia&nbsp;3'),
+ "/{$locale}/3/download_index.php" => _r('Download'),
+ "/{$locale}/3/for-pc/" => _r('For PC'),
+ "/{$locale}/3/for-server/" => _r('For server'),
);
$sru = trim($_SERVER['REQUEST_URI']);