aboutsummaryrefslogtreecommitdiffstats
path: root/downloads.php
diff options
context:
space:
mode:
authorRomain d'Alverny <rda@mageia.org>2011-04-05 13:13:12 +0000
committerRomain d'Alverny <rda@mageia.org>2011-04-05 13:13:12 +0000
commit3b3097a39ed6320300512e4a85823f93b9e89a51 (patch)
treeb7468d712cc36f42fc75ed78e87ca0d45d58d0e2 /downloads.php
parentd47ef83e1353cddf04f9499e539ddd34d3e0633a (diff)
downloadwww-3b3097a39ed6320300512e4a85823f93b9e89a51.tar
www-3b3097a39ed6320300512e4a85823f93b9e89a51.tar.gz
www-3b3097a39ed6320300512e4a85823f93b9e89a51.tar.bz2
www-3b3097a39ed6320300512e4a85823f93b9e89a51.tar.xz
www-3b3097a39ed6320300512e4a85823f93b9e89a51.zip
locale change
Diffstat (limited to 'downloads.php')
-rw-r--r--downloads.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/downloads.php b/downloads.php
index f577e64e5..0e0b0f592 100644
--- a/downloads.php
+++ b/downloads.php
@@ -7,7 +7,8 @@ $locale = $locale[1];
include 'downloads_locales.php';
-$locale = 'fr';
+if (!array_key_exists($locale, $_t))
+ $locale = 'en';
$_t = $_t[$locale];