aboutsummaryrefslogtreecommitdiffstats
path: root/en/2/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'en/2/index.php')
-rw-r--r--en/2/index.php34
1 files changed, 17 insertions, 17 deletions
diff --git a/en/2/index.php b/en/2/index.php
index 32d03a20a..2fd8055b5 100644
--- a/en/2/index.php
+++ b/en/2/index.php
@@ -3,15 +3,15 @@
define('HLANG', true);
require '../../langs.php';
-_lang_load($locale, '2');
+$dictionary = read_translation_file($locale, '2');
?>
<!DOCTYPE html>
<html lang="<?php echo $locale; ?>">
<head>
<meta charset="utf-8">
- <title><?php _e('Mageia 2')?></title>
+ <title><?php _g('Mageia 2')?></title>
<link rel="stylesheet" href="/g/style/all.css">
- <meta name="description" content="<?php _e('Mageia 2 is the new, solid, stable Linux distribution from the Mageia project.')?>">
+ <meta name="description" content="<?php _g('Mageia 2 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,23 +26,23 @@ _lang_load($locale, '2');
<section>
<a href="../download_index.php" title="Mageia 2"><img src="/g/2/images/mageia-2-desktop-550.jpg" alt="Mageia 2" style="width: 550px; display: block; margin: 2em auto 3em auto; box-shadow: 0 0 5px #aaa;"></a>
<?php
- _h('Mageia 2 is a GNU/Linux distribution for your computer, released by the <a href="%s">Mageia community</a>.',
- array('../community'));
+ _g('Mageia 2 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_2_Release_Notes">release notes</a> for an extensive exposé.');
- echo '<p>' . _t('<a href="../2/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;">Download it right away!</a>');
- 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>';
- _h('Mageia in context', null, 'h2');
- _h('Mageia is both a Community and a Linux Distribution, with Mageia 2 being our second 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('What\'s new?', null, 'h2');
+ _g('Too much to include here! See the <a href="https://wiki.mageia.org/en/Mageia_2_Release_Notes">release notes</a> for an extensive exposé.', null, 'p');
+ echo '<p>' . _r('<a href="../2/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;">Download it right away!</a>');
+ 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>';
+ _g('Mageia in context', null, 'h2');
+ _g('Mageia is both a Community and a Linux Distribution, with Mageia 2 being our second 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 2 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 2 has been made by more than 100 people from all around the world.');
+ _g('Mageia 2 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 2 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>