aboutsummaryrefslogtreecommitdiff
path: root/mod/river
diff options
context:
space:
mode:
Diffstat (limited to 'mod/river')
-rw-r--r--mod/river/languages/en.php15
-rw-r--r--mod/river/start.php4
2 files changed, 18 insertions, 1 deletions
diff --git a/mod/river/languages/en.php b/mod/river/languages/en.php
new file mode 100644
index 000000000..13de7e8a3
--- /dev/null
+++ b/mod/river/languages/en.php
@@ -0,0 +1,15 @@
+<?php
+
+ $english = array(
+
+ /**
+ * Manifest
+ */
+
+ 'river:manifest:description' => "Provide a list of your or your friends recent activity!",
+
+ );
+
+ add_translation("en",$english);
+
+?> \ No newline at end of file
diff --git a/mod/river/start.php b/mod/river/start.php
index a745bc699..e592aa1f1 100644
--- a/mod/river/start.php
+++ b/mod/river/start.php
@@ -15,8 +15,10 @@
*/
function river_init()
{
+ register_plugin_manifest_basic("Marcus Povey", elgg_echo('river:manifest:description'), "1.0", "http://www.elgg.org", "(C) Curverider 2008");
+
add_widget_type('river_widget',sprintf(elgg_echo('river:widget:title'), 'Your'), elgg_echo('river:widget:description'));
- add_widget_type('river_widget_friends',sprintf(elgg_echo('river:widget:title:friends'), 'Your'), elgg_echo('river:widget:description:friends'));
+ add_widget_type('river_widget_friends',sprintf(elgg_echo('river:widget:title:friends'), 'Your'), elgg_echo('river:widget:description:friends'));
}
register_elgg_event_handler('init','system','river_init');