diff options
author | Filip Komar <filip@mageia.org> | 2012-07-21 19:10:04 +0000 |
---|---|---|
committer | Filip Komar <filip@mageia.org> | 2012-07-21 19:10:04 +0000 |
commit | 1aa100e8a23e0fc4db4b16c00aae1b51eec58c5c (patch) | |
tree | a52d493cfcc4d46b1c177d75c4113b6879cef0d2 /en/community | |
parent | 861481b07c3a6bf574bfa088ef52d5dca08af838 (diff) | |
download | www-1aa100e8a23e0fc4db4b16c00aae1b51eec58c5c.tar www-1aa100e8a23e0fc4db4b16c00aae1b51eec58c5c.tar.gz www-1aa100e8a23e0fc4db4b16c00aae1b51eec58c5c.tar.bz2 www-1aa100e8a23e0fc4db4b16c00aae1b51eec58c5c.tar.xz www-1aa100e8a23e0fc4db4b16c00aae1b51eec58c5c.zip |
more strings for translation on community page added back
Diffstat (limited to 'en/community')
-rw-r--r-- | en/community/index.php | 162 |
1 files changed, 80 insertions, 82 deletions
diff --git a/en/community/index.php b/en/community/index.php index 585c42b67..577589538 100644 --- a/en/community/index.php +++ b/en/community/index.php @@ -5,67 +5,67 @@ require '../../langs.php'; $_t = array( 'de' => array( - 'blog_url' => 'http://blog.mageia.org/de/', - 'planet_url' => 'http://planet.mageia.org/de/', - 'forum_url' => 'http://forums.mageia.org/de/', + 'http://blog.mageia.org/en/' => 'http://blog.mageia.org/de/', + 'http://planet.mageia.org/en/' => 'http://planet.mageia.org/de/', + 'https://forum.mageia.org/en/' => 'http://forums.mageia.org/de/', ), 'el' => array( - 'blog_url' => 'http://blog.mageia.org/el/', + 'http://blog.mageia.org/en/' => 'http://blog.mageia.org/el/', ), 'en' => array( - 'page_title' => 'Mageia Community', - 'page_h1' => 'Mageia Community Central', - 'blog_url' => 'http://blog.mageia.org/en/', - 'planet_url' => 'http://planet.mageia.org/en/', - 'forum_url' => 'https://forum.mageia.org/en/', + 'Mageia Community' => 'Mageia Community', + 'Mageia Community Central' => 'Mageia Community Central', + 'http://blog.mageia.org/en/' => 'http://blog.mageia.org/en/', + 'http://planet.mageia.org/en/' => 'http://planet.mageia.org/en/', + 'https://forum.mageia.org/en/' => 'https://forum.mageia.org/en/', ), 'es' => array( - 'blog_url' => 'http://blog.mageia.org/en/', - 'planet_url' => 'http://planet.mageia.org/es/' + 'http://blog.mageia.org/en/' => 'http://blog.mageia.org/en/', + 'http://planet.mageia.org/en/' => 'http://planet.mageia.org/es/' ), 'fr' => array( - 'page_title' => 'Communauté Mageia', - 'page_h1' => 'Portail de la communauté Mageia', + 'Mageia Community' => 'Communauté Mageia', + 'Mageia Community Central' => 'Portail de la communauté Mageia', 'News' => 'Actualités', 'How to contribute?' => 'Comment contribuer ?', 'Toolbox' => 'Boîte à outils', - 'blog_url' => 'http://blog.mageia.org/fr/', - 'planet_url' => 'http://planet.mageia.org/fr/', - 'forum_url' => 'http://forum.mageia.org/fr/' + 'http://blog.mageia.org/en/' => 'http://blog.mageia.org/fr/', + 'http://planet.mageia.org/en/' => 'http://planet.mageia.org/fr/', + 'https://forum.mageia.org/en/' => 'http://forum.mageia.org/fr/' ), 'it' => array( - 'blog_url' => 'http://blog.mageia.org/it/', - 'planet_url' => 'http://planet.mageia.org/it/' + 'http://blog.mageia.org/en/' => 'http://blog.mageia.org/it/', + 'http://planet.mageia.org/en/' => 'http://planet.mageia.org/it/' ), 'nl' => array( - 'blog_url' => 'http://blog.mageia.org/nl/', + 'http://blog.mageia.org/en/' => 'http://blog.mageia.org/nl/', ), 'pl' => array( - 'blog_url' => 'http://blog.mageia.org/pl/', + 'http://blog.mageia.org/en/' => 'http://blog.mageia.org/pl/', ), 'pt' => array( - 'blog_url' => 'http://blog.mageia.org/pt/', + 'http://blog.mageia.org/en/' => 'http://blog.mageia.org/pt/', ), 'pt-br' => array( - 'blog_url' => 'http://blog.mageia.org/pt/', - 'forum_url' => 'http://forum.mageiabr.org/', + 'http://blog.mageia.org/en/' => 'http://blog.mageia.org/pt/', + 'https://forum.mageia.org/en/' => 'http://forum.mageiabr.org/', 'http://wiki.mageia.org/' => 'http://wiki.mageiabr.org/' ), 'ro' => array( - 'blog_url' => 'http://blog.mageia.org/ro/', + 'http://blog.mageia.org/en/' => 'http://blog.mageia.org/ro/', ), 'ru' => array( - 'blog_url' => 'http://blog.mageia.org/ru/' + 'http://blog.mageia.org/en/' => 'http://blog.mageia.org/ru/' ), 'tr' => array( - 'blog_url' => 'http://blog.mageia.org/tr/' + 'http://blog.mageia.org/en/' => 'http://blog.mageia.org/tr/' ), 'uk' => array( - 'blog_url' => 'http://blog.mageia.org/uk/' + 'http://blog.mageia.org/en/' => 'http://blog.mageia.org/uk/' ) ); -$_t = i18n::get_strings($_t, $locale, $i18n_fallback_rules); +$_t = i18n::get_strings($_t, $locale, $i18n_fallback_rules); // remove when function show_feed will shows correct output in all languages _lang_load($locale, 'community'); include '../../lib/news.php'; @@ -74,9 +74,9 @@ include '../../lib/news.php'; <html lang="<?php echo $locale; ?>"> <head> <meta charset="utf-8"> - <title><?php _e('page_title')?></title> - <meta name="description" content="Mageia Community Central is the place where all contributors and users can find the latest news about Mageia and learn more about what to do in the project."> - <meta name="keywords" content="mageia, community, news, tools, tasks"> + <title><?php _e('Mageia Community')?></title> + <meta name="description" content="<?php _e('Mageia Community Central is the place where all contributors and users can find the latest news about Mageia and learn more about what to do in the project.')?>"> + <meta name="keywords" content="<?php _e('mageia, community, news, tools, tasks')?>"> <meta name="author" content="Mageia"> <link rel="stylesheet" type="text/css" href="/g/style/all.css"> <link rel="icon" type="image/png" href="/g/favicon.png" /> <style> @@ -92,13 +92,13 @@ include '../../lib/news.php'; <body class="community"> <?php echo $hsnav; ?> <header id="mgnavt"> - <h1><?php _e('page_h1')?></h1> + <h1><?php _e('Mageia Community Central')?></h1> <ul> - <li><a href="<?php _e('blog_url')?>"><?php _e('Blog');?></a></li> - <li><a href="<?php _e('planet_url')?>">Planet</a></li> - <li><a href="/en/calendar/">Calendar</a></li> + <li><a href="<?php _e('http://blog.mageia.org/en/')?>"><?php _e('Blog');?></a></li> + <li><a href="<?php _e('http://planet.mageia.org/en/')?>"><?php _e('Planet');?></a></li> + <li><a href="/en/calendar/"><?php _e('Calendar');?></a></li> <li><a href="https://wiki.mageia.org/en/IRC">IRC</a></li> - <li><a href="<?php _e('forum_url')?>">Forums</a></li> + <li><a href="<?php _e('https://forum.mageia.org/en/')?>"><?php _e('Forums');?></a></li> <li><a href="http://ml.mageia.org/">Mailing-lists</a></li> <li><a href="<?php _e('http://wiki.mageia.org/')?>">Wiki</a></li> <li><a href="https://bugs.mageia.org/">Bugzilla</a></li> @@ -106,12 +106,12 @@ include '../../lib/news.php'; </header> <div class="para" style="width: 400px;"> <section> - <h2><a href="<?php _e('blog_url')?>"><?php _e('News');?></a></h2> + <h2><a href="<?php _e('http://blog.mageia.org/en/')?>"><?php _e('News');?></a></h2> <?php - if (_d('planet_url') != 'planet_url') { - show_feed($locale, null, _d('planet_url'), _d('planet_url') . '?type=rss10', 9, null, true); - } elseif (_d('blog_url') != 'blog_url') { - show_feed($locale, null, _d('blog_url'), _d('blog_url') . '?feed=rss', 9, null, true); + if (_d('http://planet.mageia.org/en/') != 'http://planet.mageia.org/en/') { + show_feed($locale, null, _d('http://planet.mageia.org/en/'), _d('http://planet.mageia.org/en/') . '?type=rss10', 9, null, true); + } elseif (_d('http://blog.mageia.org/en/') != 'http://blog.mageia.org/en/') { + show_feed($locale, null, _d('http://blog.mageia.org/en/'), _d('http://blog.mageia.org/en/') . '?feed=rss', 9, null, true); } // don't work: //show_feed('Mageia MLs', '', 'https://ml.mageia.org/l/rss/active_lists?count=20&for=10'); @@ -121,9 +121,9 @@ include '../../lib/news.php'; <p><?php $s = array(); $feeds = array( - 'Planet' => 'planet_url', - 'Blog' => 'blog_url', - 'Forum' => 'forum_url' + 'Planet' => 'http://planet.mageia.org/en/', + 'Blog' => 'http://blog.mageia.org/en/', + 'Forum' => 'https://forum.mageia.org/en/' ); foreach ($feeds as $k => $v) if (_t($v) != $v) @@ -136,50 +136,49 @@ include '../../lib/news.php'; <div class="para" style="width: 300px"> <h2><a href="../contribute/"><?php _e('How to contribute?')?></a></h2> <ul class="hl"> - <li><a href="../contribute/">Start here</a>,</li> - <li>and meet us on <a href="http://wiki.mageia.org/en/IRC">IRC</a>.</li> - <li>You can also <a href="../donate/">support financially</a> the project!</li> + <li><a href="../contribute/"><?php _e('Start here')?></a>,</li> + <li><?php _e('and meet us on <a href="http://wiki.mageia.org/en/IRC">IRC</a>.')?></li> + <li><?php _e('You can also <a href="../donate/">support financially</a> the project!')?></li> </ul> <hr> <h2><?php _e('Toolbox')?></h2> <ul class="hl"> - <li><a href="<?php _e('http://wiki.mageia.org/')?>">Wiki</a> ← collaborative documentation</li> - <li><a href="http://bugs.mageia.org/">Bugzilla</a> ← to report bugs</li> - <li><a href="<?php _e('forum_url')?>">Forum</a></li> - <li><a href="/en/calendar/">Calendar</a></li> - <li><a href="http://mageia.madb.org">Mageia Applications Database</a></li> + <li><a href="<?php _e('http://wiki.mageia.org/')?>"><?php _e('Wiki</a> ← collaborative documentation')?></li> + <li><a href="http://bugs.mageia.org/"><?php _e('Bugzilla</a> ← to report bugs')?></li> + <li><a href="<?php _e('https://forum.mageia.org/en/')?>"><?php _e('Forum')?></a></li> + <li><a href="/en/calendar/"><?php _e('Calendar')?></a></li> + <li><a href="http://mageia.madb.org"><?php _e('Mageia Applications Database')?></a></li> </ul> <hr> - <h2>For developers & packagers</h2> + <h2><?php _e('For developers & packagers')?></h2> <ul class="hl"> - <li><a href="http://svn.mageia.org/">Subversion</a>, - <a href="http://gitweb.mageia.org/">Git</a> code repositories</li> - <li><a href="http://pkgsubmit.mageia.org/">Packages submission queue</a>, - <a href="http://pkgsubmit.mageia.org/data/unmaintained.txt">unmaintained packages</a></li> - <li><a href="http://check.mageia.org/">Global QA report</a></li> + <li><a href="http://svn.mageia.org/"><?php _e('Subversion')?></a>, + <a href="http://gitweb.mageia.org/"><?php _e('Git</a> code repositories')?></li> + <li><a href="http://pkgsubmit.mageia.org/"><?php _e('Packages submission queue')?></a>, + <a href="http://pkgsubmit.mageia.org/data/unmaintained.txt"><?php _e('unmaintained packages')?></a></li> + <li><a href="http://check.mageia.org/"><?php _e('Global QA report')?></a></li> </ul> </div> <div class="para"> <h2><?php _e('Conversations')?></h2> - <p>... or, how to get in touch with us? Easy:</p> + <p><?php _e('... or, how to get in touch with us? Easy:')?></p> <ul class="hl"> - <li><a href="https://wiki.mageia.org/en/IRC" title="Internet Relay Chat">IRC</a> on Freenode</a>,</li> - <li><a href="/mailman/">mailing-lists 1</a> - & <a href="http://ml.mageia.org/">2</a>,</li> - <li><a href="<?php _e('forum_url')?>">forum</a>,</li> - <li><a href="<?php _e('blog_url')?>">blog</a>,</li> - <li>in real life!</li> - <li>during events!</li> + <li><a href="https://wiki.mageia.org/en/IRC" title="Internet Relay Chat"><?php _e('IRC</a> on Freenode')?>,</li> + <li><a href="/mailman/"><?php _e('mailing-lists 1</a> & <a href="http://ml.mageia.org/">2')?></a>,</li> + <li><a href="<?php _e('https://forum.mageia.org/en/')?>"><?php _e('Forum')?></a>,</li> + <li><a href="<?php _e('http://blog.mageia.org/en/')?>"><?php _e('Blog')?></a>,</li> + <li><?php _e('in real life!')?></li> + <li><?php _e('during events!')?></li> </ul> <hr> <h2><?php _e('Teams you can join!')?></h2> <ul class="hl"> - <li><a href="https://wiki.mageia.org/en/Atelier_Team" hreflang="en">Atelier</a></li> - <li><a href="https://wiki.mageia.org/en/Documentation_team" hreflang="en">Documentation</a></li> - <li><a href="https://wiki.mageia.org/en/Packagers_Team" hreflang="en">Packaging</a></li> - <li><a href="https://wiki.mageia.org/en/QA_Team" hreflang="en">Testing & <abbr title="Quality Assurance">QA</abbr></a></li> - <li><a href="https://wiki.mageia.org/en/Internationalisation_Team_(i18n)" hreflang="en">Translation</a></li> - <li><a href="https://wiki.mageia.org/en/Sysadmin_Team" hreflang="en">Systems & infrastructure administration</a></li> + <li><a href="https://wiki.mageia.org/en/Atelier_Team" hreflang="en"><?php _e('Atelier')?></a></li> + <li><a href="https://wiki.mageia.org/en/Documentation_team" hreflang="en"><?php _e('Documentation')?></a></li> + <li><a href="https://wiki.mageia.org/en/Packagers_Team" hreflang="en"><?php _e('Packaging')?></a></li> + <li><a href="https://wiki.mageia.org/en/QA_Team" hreflang="en"><?php _e('Testing & <abbr title="Quality Assurance">QA</abbr>')?></a></li> + <li><a href="https://wiki.mageia.org/en/Internationalisation_Team_(i18n)" hreflang="en"><?php _e('Translation')?></a></li> + <li><a href="https://wiki.mageia.org/en/Sysadmin_Team" hreflang="en"><?php _e('Systems & infrastructure administration')?></a></li> </ul> <hr> @@ -191,21 +190,20 @@ include '../../lib/news.php'; --> </div> <div class="para"> - <h2>Mageia</h2> + <h2><?php _e('Mageia')?></h2> <ul class="hl"> - <li><a href="../about/">More about Mageia</a></li> - <li>Our <a href="../about/code-of-conduct/">code of conduct</a> and <a href="../about/values/">values</a></li> - <li><a href="http://wiki.mageia.org/en/Org">Our governance model</a> and structure: + <li><a href="../about/"><?php _e('More about Mageia')?></a></li> + <li><?php _e('Our <a href="../about/code-of-conduct/">code of conduct</a> and <a href="../about/values/">values</a>')?></li> + <li><a href="http://wiki.mageia.org/en/Org"><?php _e('Our governance model</a> and structure:')?> <ul> - <li><a href="https://wiki.mageia.org/en/Special:Search?search=teams">Teams</a></li> - <li><a href="http://wiki.mageia.org/en/Org_Council">the Council</a></li> - <li><a href="http://wiki.mageia.org/en/Org_Board">the Board</a></li> + <li><a href="https://wiki.mageia.org/en/Special:Search?search=teams"><?php _e('Teams')?></a></li> + <li><a href="http://wiki.mageia.org/en/Org_Council"><?php _e('the Council')?></a></li> + <li><a href="http://wiki.mageia.org/en/Org_Board"><?php _e('the Board')?></a></li> </ul></li> - <li><a href="../donate/">Donations</a> & <a href="/en/about/reports/">reports</a>.</li> + <li><?php _e('<a href="../donate/">Donations</a> & <a href="/en/about/reports/">reports</a>.')?></li> </ul> </div> - <p style="clear: both; text-align: right;"><mark>This page needs you! - <a href="https://wiki.mageia.org/en/Web_team">Join the Web team</a>!</mark></p> + <p style="clear: both; text-align: right;"><mark><?php _e('This page needs you! <a href="https://wiki.mageia.org/en/Web_team">Join the Web team</a>!')?></mark></p> </body> </html>
\ No newline at end of file |