diff options
author | Filip Komar <filip@mageia.org> | 2013-05-25 17:03:28 +0000 |
---|---|---|
committer | Filip Komar <filip@mageia.org> | 2013-05-25 17:03:28 +0000 |
commit | f7596fbf9fb10b38c5fed95eb9886a068d8bc432 (patch) | |
tree | a598d6efb300c06c681cc1bf972bd6ae48de1e6b /en/community | |
parent | a0be70527d4efff0adfe129fa2e60b18e4f36952 (diff) | |
download | www-f7596fbf9fb10b38c5fed95eb9886a068d8bc432.tar www-f7596fbf9fb10b38c5fed95eb9886a068d8bc432.tar.gz www-f7596fbf9fb10b38c5fed95eb9886a068d8bc432.tar.bz2 www-f7596fbf9fb10b38c5fed95eb9886a068d8bc432.tar.xz www-f7596fbf9fb10b38c5fed95eb9886a068d8bc432.zip |
community.en.lang synched with extract2lang.php + community page fixed to pass it
Diffstat (limited to 'en/community')
-rw-r--r-- | en/community/index.php | 18 |
1 files changed, 5 insertions, 13 deletions
diff --git a/en/community/index.php b/en/community/index.php index 3e9647f54..3817c4f68 100644 --- a/en/community/index.php +++ b/en/community/index.php @@ -55,17 +55,9 @@ include '../../lib/news.php'; ?> <hr> <p><?php - $s = array(); - $feeds = array( - '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) - $s[] = sprintf('<a href="%s">%s</a>', _t($v), _t($k)); - - echo implode(' | ', $s); + echo sprintf('<a href="%s">%s</a>', _t('http://planet.mageia.org/en/', null, ''), _t('Planet', null, '')) . ' | '; + echo sprintf('<a href="%s">%s</a>', _t('http://blog.mageia.org/en/', null, ''), _t('Blog', null, '')) . ' | '; + echo sprintf('<a href="%s">%s</a>', _t('https://forum.mageia.org/en/', null, ''), _t('Forums', null, '')); ?></p> </section> </div> @@ -81,7 +73,7 @@ include '../../lib/news.php'; <ul class="hl"> <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="<?php _e('https://forum.mageia.org/en/')?>"><?php _e('Forums')?></a></li> <li><a href="../calendar/"><?php _e('Calendar')?></a></li> <li><a href="http://mageia.madb.org"><?php _e('Mageia Applications Database')?></a></li> </ul> @@ -101,7 +93,7 @@ include '../../lib/news.php'; <ul class="hl"> <li><a href="https://wiki.mageia.org/en/IRC" title="Internet Relay Chat"><?php echo _d('IRC</a> on Freenode')?>,</li> <li><a href="https://wiki.mageia.org/en/Mailing_lists"><?php echo _d('Mailing-lists')?></a>,</li> - <li><a href="<?php _e('https://forum.mageia.org/en/')?>"><?php echo _d('Forum')?></a>,</li> + <li><a href="<?php _e('https://forum.mageia.org/en/')?>"><?php echo _d('Forums')?></a>,</li> <li><a href="<?php _e('http://blog.mageia.org/en/')?>"><?php echo _d('Blog')?></a>,</li> <li><?php _e('in real life!')?></li> <li><?php _e('during events!')?></li> |