aboutsummaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
authorMiguel Rodríguez Pérez <Miguel.Rodriguez@det.uvigo.es>2012-05-31 12:06:08 +0200
committerMiguel Rodríguez Pérez <Miguel.Rodriguez@det.uvigo.es>2012-05-31 12:07:59 +0200
commit7e04c0e841f99633240b115ae0242a8b7d42cf25 (patch)
tree4bbf983b3195a58f03cce7971b2fe8088363a4a7 /js
parent14d2c70e1872f4045fc857be9b9022d085f1fbd1 (diff)
downloadelgg-7e04c0e841f99633240b115ae0242a8b7d42cf25.tar.gz
elgg-7e04c0e841f99633240b115ae0242a8b7d42cf25.tar.bz2
Respect site default language from javascript elgg_echo
The current implementation hardcoded 'en' as the site default language. This patch uses the site's configure default language as the default one.
Diffstat (limited to 'js')
-rw-r--r--js/lib/languages.js2
1 files changed, 0 insertions, 2 deletions
diff --git a/js/lib/languages.js b/js/lib/languages.js
index bfa858364..a8ba72c31 100644
--- a/js/lib/languages.js
+++ b/js/lib/languages.js
@@ -4,8 +4,6 @@
*/
elgg.provide('elgg.config.translations');
-elgg.config.language = 'en';
-
/**
* Analagous to the php version. Merges translations for a
* given language into the current translations map.