aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcash <cash.costello@gmail.com>2009-01-18 20:10:33 +0000
committercash <cash.costello@gmail.com>2009-01-18 20:10:33 +0000
commit0ffdb7c5fe3ccea8c5067d22a57da3214cd0fccb (patch)
tree0aa8869dbcc715e2ca4258da1f4e9680f57f71af
parentb1e8d8e80bbf7e46cb36dd441ec66c6c7cc56a46 (diff)
downloadelgg-0ffdb7c5fe3ccea8c5067d22a57da3214cd0fccb.tar.gz
elgg-0ffdb7c5fe3ccea8c5067d22a57da3214cd0fccb.tar.bz2
moved widget name to language file
-rw-r--r--languages/en.php2
-rw-r--r--start.php2
2 files changed, 3 insertions, 1 deletions
diff --git a/languages/en.php b/languages/en.php
index e033885d1..8b34d6dd2 100644
--- a/languages/en.php
+++ b/languages/en.php
@@ -1,6 +1,8 @@
<?php
$english = array(
+ 'simplepie:widget' => 'Blog',
+ 'simplepie:description' => 'Add an external blog to your profile',
'simplepie:notset' => 'Feed url is not set',
);
diff --git a/start.php b/start.php
index 44f259ace..dd58a6ac5 100644
--- a/start.php
+++ b/start.php
@@ -8,7 +8,7 @@
function simplepie_init()
{
- add_widget_type('feed_reader', 'Feed Reader Widget', 'single feed');
+ add_widget_type('feed_reader', elgg_echo('simplepie:widget'), elgg_echo('simplepie:description'));
}
register_elgg_event_handler('plugins_boot', 'system', 'simplepie_init');