diff options
author | cash <cash.costello@gmail.com> | 2009-01-18 20:10:33 +0000 |
---|---|---|
committer | cash <cash.costello@gmail.com> | 2009-01-18 20:10:33 +0000 |
commit | 0ffdb7c5fe3ccea8c5067d22a57da3214cd0fccb (patch) | |
tree | 0aa8869dbcc715e2ca4258da1f4e9680f57f71af | |
parent | b1e8d8e80bbf7e46cb36dd441ec66c6c7cc56a46 (diff) | |
download | elgg-0ffdb7c5fe3ccea8c5067d22a57da3214cd0fccb.tar.gz elgg-0ffdb7c5fe3ccea8c5067d22a57da3214cd0fccb.tar.bz2 |
moved widget name to language file
-rw-r--r-- | languages/en.php | 2 | ||||
-rw-r--r-- | start.php | 2 |
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',
);
@@ -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');
|