diff options
author | ben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-04-02 17:16:53 +0000 |
---|---|---|
committer | ben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-04-02 17:16:53 +0000 |
commit | f2428a552af0a11c024c9f22ae0067b02c6734db (patch) | |
tree | b71164724bb81b3b99068240615085fee4f82e8b /engine/lib | |
parent | d3a25f928980c31402df367430b183262a80e66c (diff) | |
download | elgg-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.php | 3 |
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");
+ }
}
}
}
|