aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/languages.php
diff options
context:
space:
mode:
authorben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-06-04 16:53:40 +0000
committerben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-06-04 16:53:40 +0000
commitefda1efd37d66dcc4a074a90678c2b113b391278 (patch)
tree3e8dee34e05607da06dce2b0e363ca92d5df12b7 /engine/lib/languages.php
parent8f85395784c896896e68d41b74222d7b4c806ab3 (diff)
downloadelgg-efda1efd37d66dcc4a074a90678c2b113b391278.tar.gz
elgg-efda1efd37d66dcc4a074a90678c2b113b391278.tar.bz2
Fixed the installation labels issue!
git-svn-id: https://code.elgg.org/elgg/trunk@798 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine/lib/languages.php')
-rw-r--r--engine/lib/languages.php5
1 files changed, 2 insertions, 3 deletions
diff --git a/engine/lib/languages.php b/engine/lib/languages.php
index a81cd13b3..696d3eff4 100644
--- a/engine/lib/languages.php
+++ b/engine/lib/languages.php
@@ -78,8 +78,7 @@
* @param unknown_type $object_type
* @param unknown_type $object
*/
- function load_translations($event, $object_type, $object) {
-
+ function init_translations() {
global $CONFIG;
register_translations($CONFIG->path . "languages/");
@@ -100,6 +99,6 @@
}
}
- register_event_handler("boot","system","load_translations");
+ register_event_handler("boot","system","init_translations",5);
?> \ No newline at end of file