diff options
-rw-r--r-- | en/index.php | 35 | ||||
-rw-r--r-- | langs/en/about.en.lang | 4 | ||||
-rw-r--r-- | langs/en/index.en.lang | 116 | ||||
-rw-r--r-- | langs/fr/index.fr.lang | 71 |
4 files changed, 206 insertions, 20 deletions
diff --git a/en/index.php b/en/index.php index 3263c7285..2b5888eff 100644 --- a/en/index.php +++ b/en/index.php @@ -2,9 +2,8 @@ define('HLANG', true); require '../langs.php'; -include 'index_locales.php'; -$_t = i18n::get_strings($_t, $locale, $i18n_fallback_rules); +_lang_load($locale, 'index'); $nav = array( 'nav-for-pc' => array('for-pc/', _t('For PC')), @@ -19,16 +18,16 @@ $nav = array( <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> - <title><?php _e('page_title'); ?></title> - <meta name="description" content="<?php _e('page_desc'); ?>"> - <meta name="keywords" content="<?php _e('page_kw'); ?>"> + <title><?php _e('Home of the Mageia project'); ?></title> + <meta name="description" content="<?php _e('Mageia is a community-based Linux distribution, for desktop & server.'); ?>"> + <meta name="keywords" content="<?php _e('linux, mageia, free software, operating system, computer, laptop, desktop, server, headless, device, mobile, mandriva, mandrake'); ?>"> <link type="text/plain" rel="author" href="/humans.txt"> <?php foreach ($langs as $l => $name) if ($l != $locale) echo sprintf('<link rel="alternate" hreflang="%s" href="http://www.mageia.org/%s/">', $l, $l); ?> - <link rel="alternate" type="application/rss+xml" title="<?php _e('alternate_title'); ?>" href="<?php _e('alternate_href'); ?>"> + <link rel="alternate" type="application/rss+xml" title="<?php _e('Mageia Blog (English)'); ?>" href="<?php _e('http://blog.mageia.org/en/?feed=rss'); ?>"> <?php include '../analytics.php'; ?> <style> html, body { @@ -214,36 +213,38 @@ $nav = array( <body> <div id="master"> - <h1><a href="about/"><?php _e('page_h1'); ?></a></h1> + <h1><a href="about/"><?php _e('Mageia, a free, community-based Linux distribution for desktop & server.'); ?></a></h1> </div> <div id="up"> <div class="container"> <div id="b1"> - <h2><?php _e('change'); ?></h2> - <ul id="p"><?php foreach ($_t['change-items'] as $ci) - echo sprintf('<li>%s</li>', $ci); - ?></ul> - </ul> + <h2><?php _e('Change your perspective'); ?></h2> + <ul id="p"><?php + _h('Stable, secure operating system for desktop & server', null, 'li'); + _h('Free Software, coproduced by hundreds of people', null, 'li'); + _h('Elected governance, nonprofit organization', null, 'li'); + _h('You can be part of it', null, 'li'); + ?></ul> </div> <div id="b2"> <ul id="dl"> <li><a href="downloads/" id="dl-btn"> <span id="dl-btn-mageia">Mageia 2</span> <span style="font-size: 32px; color: green; float: right;" class="icon-download-alt"></span> - <span class="dl-btn free-dl"><?php _e('dl-free-act'); ?></span> - <span class="dl-btn"><?php _e('dl-version'); ?></span> + <span class="dl-btn free-dl"><?php _e('Free Download'); ?></span> + <span class="dl-btn"><?php _e('version 2 (May 2012)'); ?></span> </a> <p class="dl-info"> - <a hreflang="en" href="https://wiki.mageia.org/en/Mageia_2_Release_Notes"><?php _e('dl-rel-notes'); ?></a>, + <a hreflang="en" href="https://wiki.mageia.org/en/Mageia_2_Release_Notes"><?php _e('Release notes'); ?></a>, <a hreflang="en" href="https://wiki.mageia.org/en/Mageia_2_Errata">errata</a>. </p> </li> - <li><a href="contribute/" id="dl-btn-other"><?php _e('dl-contribute'); ?></a> + <li><a href="contribute/" id="dl-btn-other"><?php _e('<strong>Get involved</strong> in the next version'); ?></a> </li> <!-- <li><a href="1/" id="dl-btn-other"> - <span><?php _e('dl-mga-1'); ?></span> + <span><?php _e('Download older Mageia 1 (June 2011)'); ?></span> </a> </li> --> diff --git a/langs/en/about.en.lang b/langs/en/about.en.lang index 6a4bbf5b4..9e8e7d334 100644 --- a/langs/en/about.en.lang +++ b/langs/en/about.en.lang @@ -1,4 +1,4 @@ -# Generated by extract2lang.php on 2012-05-23T16:11:31+02:00 +# Generated by extract2lang.php on 2012-05-23T17:06:33+02:00 # Domain about # /en/about/index.php +12 @@ -70,8 +70,6 @@ is the French, Paris-based legal structure supporting the Mageia project. ;<a href="/en/about/reports/">financial reports</a>, <a href="/en/thank-you/">donators</a>. <a href="/en/about/reports/">financial reports</a>, <a href="/en/thank-you/">donators</a>. -;<a href=%s>Mageia.Org's legal constitution</a> and <a href=%s>governance</a> rules; -<a href=%s>Mageia.Org's legal constitution</a> and <a href=%s>governance</a> rules; # /en/about/index.php +78 ;Media & artwork diff --git a/langs/en/index.en.lang b/langs/en/index.en.lang new file mode 100644 index 000000000..127efd9ca --- /dev/null +++ b/langs/en/index.en.lang @@ -0,0 +1,116 @@ +# Generated by extract2lang.php on 2012-05-23T17:09:49+02:00 +# Domain index + +# /en/index.php +10 +;For PC +For PC + + +# /en/index.php +11 +;For server +For server + + +# /en/index.php +12 +;Support +Support + + +# /en/index.php +13 +;Community +Community + + +# /en/index.php +14 +;About Mageia.Org +About Mageia.Org + + +# /en/index.php +22 +;Home of the Mageia project +Home of the Mageia project + + +# /en/index.php +23 +;Mageia is a community-based Linux distribution, for desktop & server. +Mageia is a community-based Linux distribution, for desktop & server. + + +# /en/index.php +24 +;linux, mageia, free software, operating system, computer, laptop, desktop, server, headless, device, mobile, mandriva, mandrake +linux, mageia, free software, operating system, computer, laptop, desktop, server, headless, device, mobile, mandriva, mandrake + + +# /en/index.php +31 +;Mageia Blog (English) +Mageia Blog (English) + + +# /en/index.php +31 +;http://blog.mageia.org/en/?feed=rss +http://blog.mageia.org/en/?feed=rss + + +# /en/index.php +217 +;Mageia, a free, community-based Linux distribution for desktop & server. +Mageia, a free, community-based Linux distribution for desktop & server. + + +# /en/index.php +223 +;Change your perspective +Change your perspective + + +# /en/index.php +225 +;Stable, secure operating system for desktop & server +Stable, secure operating system for desktop & server + + +# /en/index.php +226 +;Free Software, coproduced by hundreds of people +Free Software, coproduced by hundreds of people + + +# /en/index.php +227 +;Elected governance, nonprofit organization +Elected governance, nonprofit organization + + +# /en/index.php +228 +;You can be part of it +You can be part of it + + +# /en/index.php +236 +;Free Download +Free Download + + +# /en/index.php +237 +;version 2 (May \ +version 2 (May \ + + +# /en/index.php +240 +;Release notes +Release notes + + +# /en/index.php +244 +;<strong>Get involved</strong> in the next version +<strong>Get involved</strong> in the next version + + +# /en/index.php +248 +;Download older Mageia 1 (June \ +Download older Mageia 1 (June \ + + +# /en/index.php +265 +;Sitemap +Sitemap + + +# /en/index.php +266 +;Privacy policy +Privacy policy diff --git a/langs/fr/index.fr.lang b/langs/fr/index.fr.lang new file mode 100644 index 000000000..e6beaa6b6 --- /dev/null +++ b/langs/fr/index.fr.lang @@ -0,0 +1,71 @@ +# Generated by extract2lang.php on 2012-05-23T17:09:49+02:00 +# Domain index + +;For PC +Pour PC + +;For server +Pour serveur + +;Support +Assistance + +;Community +Communauté + +;About Mageia.Org +À propos de Mageia.Org + +;Home of the Mageia project +Mageia.Org + +;Mageia is a community-based Linux distribution, for desktop & server. +Mageia est une distribution Linux communautaire, for postes client et serveur + +;linux, mageia, free software, operating system, computer, laptop, desktop, server, headless, device, mobile, mandriva, mandrake +linux, mageia, logiciel libre, système d'exploitation, OS, ordinateur, laptop, desktop, serveur, mandriva, mandrake + +;Mageia Blog (English) +Blog Mageia (français) + +;http://blog.mageia.org/en/?feed=rss +http://blog.mageia.org/fr/?feed=rss + +;Mageia, a free, community-based Linux distribution for desktop & server. +Mageia, a free, community-based Linux distribution for desktop & server. + +;Change your perspective +<span class="br-small">Changez</span> de point de vue + +;Stable, secure operating system for desktop & server +Système d’exploitation libre pour PC et serveur + +;Free Software, coproduced by hundreds of people +Logiciel libre, stable, sécurisé et flexible + +;Elected governance, nonprofit organization +Gouvernance élue, association à but non lucratif + +;You can be part of it +Vous pouvez le coproduire + +;Free Download +Téléchargement gratuit + +;version 2 (May 2012) +version 2 (mai 2012) + +;Release notes +Notes de publication + +;<strong>Get involved</strong> in the next version +<strong>Participer</strong> à la prochaine version + +;Download older Mageia 1 (June 2011) +Télécharger Mageia 1 <span class="low">(juin 2011)</span> + +;Sitemap +Plan du site + +;Privacy policy +Respect de la vie privée |