Better titles and instructions for Featured and Popular tabs

(Do not be afraid of this patch!)

darcs-hash:20081211235341-7b5ce-98bae58e267b4e4b0adb5835e5a05e19cd910363.gz
This commit is contained in:
Zach Copley 2008-12-11 18:53:41 -05:00
parent 0910a8915b
commit 6a0873e30d
3 changed files with 5 additions and 5 deletions

View File

@ -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) {

View File

@ -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'));

View File

@ -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');