aboutsummaryrefslogtreecommitdiffstats
path: root/en/for-pc
diff options
context:
space:
mode:
authorRomain d'Alverny <rda@mageia.org>2012-05-24 16:06:16 +0000
committerRomain d'Alverny <rda@mageia.org>2012-05-24 16:06:16 +0000
commit33673a3c33cd22d8ebea0ab6e8ff09fe15d5945b (patch)
treede101af8bf8d7df07090c5904cbf6c9e5c475371 /en/for-pc
parent109fba965870e3c0939f0482ceee50cdc0d85127 (diff)
downloadwww-33673a3c33cd22d8ebea0ab6e8ff09fe15d5945b.tar
www-33673a3c33cd22d8ebea0ab6e8ff09fe15d5945b.tar.gz
www-33673a3c33cd22d8ebea0ab6e8ff09fe15d5945b.tar.bz2
www-33673a3c33cd22d8ebea0ab6e8ff09fe15d5945b.tar.xz
www-33673a3c33cd22d8ebea0ab6e8ff09fe15d5945b.zip
removed useless code, use new lang library
Diffstat (limited to 'en/for-pc')
-rw-r--r--en/for-pc/index.php62
1 files changed, 1 insertions, 61 deletions
diff --git a/en/for-pc/index.php b/en/for-pc/index.php
index 387244bb8..92d192412 100644
--- a/en/for-pc/index.php
+++ b/en/for-pc/index.php
@@ -2,67 +2,7 @@
define('HLANG', true);
require '../../langs.php';
-include 'locales.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/',
- ),
- 'el' => array(
- 'blog_url' => '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/',
- ),
- 'es' => array(
- 'blog_url' => 'http://blog.mageia.org/en/',
- 'planet_url' => 'http://planet.mageia.org/es/'
- ),
- 'fr' => array(
- 'page_title' => 'Communauté Mageia',
- 'page_h1' => 'Portail de la communauté Mageia',
- 'News' => 'Actualités',
- 'How to contribute?' => 'Comment contribuer&nbsp;?',
- '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/'
- ),
- 'it' => array(
- 'blog_url' => 'http://blog.mageia.org/it/',
- 'planet_url' => 'http://planet.mageia.org/it/'
- ),
- 'nl' => array(
- 'blog_url' => 'http://blog.mageia.org/nl/',
- ),
- 'pl' => array(
- 'blog_url' => 'http://blog.mageia.org/pl/',
- ),
- 'pt' => array(
- 'blog_url' => 'http://blog.mageia.org/pt/',
- ),
- 'ro' => array(
- 'blog_url' => 'http://blog.mageia.org/ro/',
- ),
- 'ru' => array(
- 'blog_url' => 'http://blog.mageia.org/ru/'
- ),
- 'tr' => array(
- 'blog_url' => 'http://blog.mageia.org/tr/'
- ),
- 'uk' => array(
- 'blog_url' => 'http://blog.mageia.org/uk/'
- )
-);
-
-$_t = i18n::get_strings($_t, $locale, $i18n_fallback_rules);
-include '../../lib/news.php';
+_lang_load($locale, '2');
?>
<!DOCTYPE html>