From 0ffdb7c5fe3ccea8c5067d22a57da3214cd0fccb Mon Sep 17 00:00:00 2001 From: cash Date: Sun, 18 Jan 2009 20:10:33 +0000 Subject: moved widget name to language file --- languages/en.php | 2 ++ start.php | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) 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 @@ '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'); -- cgit v1.2.3