summaryrefslogtreecommitdiff
path: root/plugins/GroupFavorited/groupfavoritedaction.php
diff options
context:
space:
mode:
authorSiebrand Mazeland <s.mazeland@xs4all.nl>2010-10-01 22:01:18 +0200
committerSiebrand Mazeland <s.mazeland@xs4all.nl>2010-10-01 22:01:18 +0200
commitf415e2353d7cd7ac4c9b7ab77b7af393c040bb65 (patch)
treefd76c30b74f39101d8879153375585aab573031d /plugins/GroupFavorited/groupfavoritedaction.php
parent267d7b6bffc2dc094d525c36e251adcb61be32ef (diff)
* i18n review
* onPluginVersion
Diffstat (limited to 'plugins/GroupFavorited/groupfavoritedaction.php')
-rw-r--r--plugins/GroupFavorited/groupfavoritedaction.php7
1 files changed, 3 insertions, 4 deletions
diff --git a/plugins/GroupFavorited/groupfavoritedaction.php b/plugins/GroupFavorited/groupfavoritedaction.php
index 6803bea8d..dbd37abbc 100644
--- a/plugins/GroupFavorited/groupfavoritedaction.php
+++ b/plugins/GroupFavorited/groupfavoritedaction.php
@@ -32,27 +32,27 @@ if (!defined('STATUSNET') && !defined('LACONICA')) {
exit(1);
}
-
class GroupFavoritedAction extends ShowgroupAction
{
-
/**
* Title of the page
*
* @return string page title, with page number
*/
-
function title()
{
if (!empty($this->group->fullname)) {
+ // @todo Create a core method to create this properly. i18n issue.
$base = $this->group->fullname . ' (' . $this->group->nickname . ')';
} else {
$base = $this->group->nickname;
}
if ($this->page == 1) {
+ // TRANS: %s is a group name.
return sprintf(_m('Popular posts in %s group'), $base);
} else {
+ // TRANS: %1$s is a group name, %2$s is a group number.
return sprintf(_m('Popular posts in %1$s group, page %2$d'),
$base,
$this->page);
@@ -66,7 +66,6 @@ class GroupFavoritedAction extends ShowgroupAction
*
* @return void
*/
-
function showContent()
{
$groupId = intval($this->group->id);