We are no longer offering accounts on this server. Consider https://gitlab.freedesktop.org/ as a place to host projects.

Commit 6a0873e3 authored by Zach Copley's avatar Zach Copley

Better titles and instructions for Featured and Popular tabs

(Do not be afraid of this patch!)

darcs-hash:20081211235341-7b5ce-98bae58e267b4e4b0adb5835e5a05e19cd910363.gz
parent 0910a891
...@@ -28,7 +28,7 @@ class FavoritedAction extends StreamAction { ...@@ -28,7 +28,7 @@ class FavoritedAction extends StreamAction {
$page = ($this->arg('page')) ? ($this->arg('page')+0) : 1; $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_header'), NULL,
array($this, 'show_top')); array($this, 'show_top'));
...@@ -51,7 +51,7 @@ class FavoritedAction extends StreamAction { ...@@ -51,7 +51,7 @@ class FavoritedAction extends StreamAction {
} }
function get_instructions() { function get_instructions() {
return _('Showing most favorited notices from the last week'); return _('Showing recently popular notices');
} }
function show_notices($page) { function show_notices($page) {
......
...@@ -29,7 +29,7 @@ class FeaturedAction extends StreamAction { ...@@ -29,7 +29,7 @@ class FeaturedAction extends StreamAction {
$page = ($this->arg('page')) ? ($this->arg('page')+0) : 1; $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_header'), NULL,
array($this, 'show_top')); array($this, 'show_top'));
......
...@@ -38,11 +38,11 @@ class StreamAction extends PersonalAction { ...@@ -38,11 +38,11 @@ class StreamAction extends PersonalAction {
if (count(common_config('nickname', 'featured')) > 0) { if (count(common_config('nickname', 'featured')) > 0) {
common_menu_item(common_local_url('featured'), _('Featured'), 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'), common_menu_item(common_local_url('favorited'), _('Popular'),
_("Latest popular notices"), $action == 'favorited'); _("Popular notices"), $action == 'favorited');
common_element_end('ul'); common_element_end('ul');
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment