From: Zach Copley Date: Thu, 11 Dec 2008 23:53:41 +0000 (-0500) Subject: Better titles and instructions for Featured and Popular tabs X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=6a0873e30dc075491120ef134e7726cbbc8cb18d;p=quix0rs-gnu-social.git Better titles and instructions for Featured and Popular tabs (Do not be afraid of this patch!) darcs-hash:20081211235341-7b5ce-98bae58e267b4e4b0adb5835e5a05e19cd910363.gz --- diff --git a/actions/favorited.php b/actions/favorited.php index 13962b42e1..5f6c19c167 100644 --- a/actions/favorited.php +++ b/actions/favorited.php @@ -28,7 +28,7 @@ class FavoritedAction extends StreamAction { $page = ($this->arg('page')) ? ($this->arg('page')+0) : 1; - common_show_header(_('Favorited timeline'), + common_show_header(_('Popular notices'), array($this, 'show_header'), NULL, array($this, 'show_top')); @@ -51,7 +51,7 @@ class FavoritedAction extends StreamAction { } function get_instructions() { - return _('Showing most favorited notices from the last week'); + return _('Showing recently popular notices'); } function show_notices($page) { diff --git a/actions/featured.php b/actions/featured.php index 2bbe7c70ce..96fbd89ab7 100644 --- a/actions/featured.php +++ b/actions/featured.php @@ -29,7 +29,7 @@ class FeaturedAction extends StreamAction { $page = ($this->arg('page')) ? ($this->arg('page')+0) : 1; - common_show_header(_('Featured timeline'), + common_show_header(_('Featured users'), array($this, 'show_header'), NULL, array($this, 'show_top')); diff --git a/lib/stream.php b/lib/stream.php index 4569f39296..27ab78137f 100644 --- a/lib/stream.php +++ b/lib/stream.php @@ -38,11 +38,11 @@ class StreamAction extends PersonalAction { if (count(common_config('nickname', 'featured')) > 0) { common_menu_item(common_local_url('featured'), _('Featured'), - _('Notices from featured Users'), $action == 'featured'); + _('Featured users'), $action == 'featured'); } common_menu_item(common_local_url('favorited'), _('Popular'), - _("Latest popular notices"), $action == 'favorited'); + _("Popular notices"), $action == 'favorited'); common_element_end('ul');