aboutsummaryrefslogtreecommitdiff
path: root/engine/lib
diff options
context:
space:
mode:
authorben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-04-02 17:16:53 +0000
committerben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-04-02 17:16:53 +0000
commitf2428a552af0a11c024c9f22ae0067b02c6734db (patch)
treeb71164724bb81b3b99068240615085fee4f82e8b /engine/lib
parentd3a25f928980c31402df367430b183262a80e66c (diff)
downloadelgg-f2428a552af0a11c024c9f22ae0067b02c6734db.tar.gz
elgg-f2428a552af0a11c024c9f22ae0067b02c6734db.tar.bz2
Plugins now autoregister translations
git-svn-id: https://code.elgg.org/elgg/trunk@375 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine/lib')
-rw-r--r--engine/lib/plugins.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/engine/lib/plugins.php b/engine/lib/plugins.php
index 447be32af..8b3d24070 100644
--- a/engine/lib/plugins.php
+++ b/engine/lib/plugins.php
@@ -31,6 +31,9 @@
if (is_dir($CONFIG->pluginspath . $mod . "/views/default")) {
autoregister_views("",$CONFIG->pluginspath . $mod . "/views/default",$CONFIG->pluginspath . $mod . "/views/");
}
+ if (is_dir($CONFIG->pluginspath . $mod . "/languages")) {
+ register_translations($CONFIG->pluginspath . $mod . "/languages");
+ }
}
}
}