summaryrefslogtreecommitdiff
path: root/actions/showstream.php
diff options
context:
space:
mode:
authorBrion Vibber <brion@pobox.com>2010-11-02 13:42:33 -0700
committerBrion Vibber <brion@pobox.com>2010-11-02 13:42:44 -0700
commit426cda5e1ffd365b6b8915e8d504c0a6672339d3 (patch)
tree7b58cc726663364e9cabc1286acb708568c541f6 /actions/showstream.php
parentc6d4612f4985326445a8401697f6277d04e5dde9 (diff)
Alternate pretty-title tweaks for #2668
Diffstat (limited to 'actions/showstream.php')
-rw-r--r--actions/showstream.php10
1 files changed, 4 insertions, 6 deletions
diff --git a/actions/showstream.php b/actions/showstream.php
index fb5b061fb..de66bc415 100644
--- a/actions/showstream.php
+++ b/actions/showstream.php
@@ -63,18 +63,16 @@ class ShowstreamAction extends ProfileAction
function title()
{
- if (!empty($this->profile->fullname)) {
- $base = $this->profile->fullname . ' (' . $this->user->nickname . ') ';
- } else {
- $base = $this->user->nickname;
- }
+ $base = $this->profile->getFancyName();
if (!empty($this->tag)) {
- $base .= sprintf(_(' tagged %s'), $this->tag);
+ // TRANS: Page title showing tagged notices in one user's stream. Param 1 is the username, 2 is the hash tag.
+ $base = sprintf(_('%1$s tagged %2$s'), $base, $this->tag);
}
if ($this->page == 1) {
return $base;
} else {
+ // TRANS: Extended page title showing tagged notices in one user's stream. Param 1 is the main title clause; 2 is the page number.
return sprintf(_('%1$s, page %2$d'),
$base,
$this->page);