aboutsummaryrefslogtreecommitdiffstats
path: root/en/community
diff options
context:
space:
mode:
authorfilip <filip.komar@gmail.com>2015-12-27 19:57:32 +0100
committerfilip <filip.komar@gmail.com>2015-12-27 19:57:32 +0100
commit8c970f0f12cff9db97b39250a056b450260f1aa7 (patch)
treeb03c614a043670a4895992b4d3a459f3a7476a6c /en/community
parent0e62faf5f6a8c8c87530e9e7594582f03633a0e3 (diff)
downloadwww-8c970f0f12cff9db97b39250a056b450260f1aa7.tar
www-8c970f0f12cff9db97b39250a056b450260f1aa7.tar.gz
www-8c970f0f12cff9db97b39250a056b450260f1aa7.tar.bz2
www-8c970f0f12cff9db97b39250a056b450260f1aa7.tar.xz
www-8c970f0f12cff9db97b39250a056b450260f1aa7.zip
improvement for en_GB and possibly other English dialects
Diffstat (limited to 'en/community')
-rw-r--r--en/community/index.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/en/community/index.php b/en/community/index.php
index ecd277e50..4745f70d8 100644
--- a/en/community/index.php
+++ b/en/community/index.php
@@ -49,7 +49,7 @@ include '../../lib/news.php';
<div class="para" style="width: 400px;">
<section>
<?php
- if (('en' == $locale) || (_r('https://planet.mageia.org/en/') != 'https://planet.mageia.org/en/')) {
+ if ((strpos($locale, 'en') === 0) || (_r('https://planet.mageia.org/en/') != 'https://planet.mageia.org/en/')) {
show_feed($locale, _r('News') . ' (' . _r('Planet') . ')', _r('https://planet.mageia.org/en/'), _r('https://planet.mageia.org/en/') . '?type=rss10', 9, null, true);
} else {
show_feed($locale, _r('News') . ' (' . _r('Blog') . ')', _r('https://blog.mageia.org/en/'), _r('https://blog.mageia.org/en/') . '?feed=rss', 9, null, true);