summaryrefslogtreecommitdiff
path: root/lib/stream.php
diff options
context:
space:
mode:
authorMike Cochrane <mikec@mikenz.geek.nz>2008-07-08 05:45:31 -0400
committerMike Cochrane <mikec@mikenz.geek.nz>2008-07-08 05:45:31 -0400
commit87b494f1ebbe7640d194ef322af12fdf378295df (patch)
treef4b616fd8306bb92d3063d4e86dd1b87607163f4 /lib/stream.php
parenta25f5010e682a0fc950e2ef2476af7b631ada5bf (diff)
Convert _t() to _() for gettext.
darcs-hash:20080708094531-533db-83399a46e6ec4c0fcc6249b0235961f969d1ae73.gz
Diffstat (limited to 'lib/stream.php')
-rw-r--r--lib/stream.php12
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/stream.php b/lib/stream.php
index 65d67d92d..a908b48e8 100644
--- a/lib/stream.php
+++ b/lib/stream.php
@@ -41,17 +41,17 @@ class StreamAction extends Action {
common_menu_item(common_local_url('all', array('nickname' =>
$nickname)),
- _t('Personal'),
- (($user && $user->fullname) ? $user->fullname : $nickname) . _t(' and friends'),
+ _('Personal'),
+ sprintf(_('%s and friends'), (($user && $user->fullname) ? $user->fullname : $nickname)),
$action == 'all');
common_menu_item(common_local_url('replies', array('nickname' =>
$nickname)),
- _t('Replies'),
- _t('Replies to ') . (($user && $user->fullname) ? $user->fullname : $nickname),
+ _('Replies'),
+ sprintf(_('Replies to %s'), (($user && $user->fullname) ? $user->fullname : $nickname)),
$action == 'replies');
common_menu_item(common_local_url('showstream', array('nickname' =>
$nickname)),
- _t('Profile'),
+ _('Profile'),
($user && $user->fullname) ? $user->fullname : $nickname,
$action == 'showstream');
common_element_end('ul');
@@ -98,7 +98,7 @@ class StreamAction extends Action {
common_text(' (');
common_element('a', array('class' => 'inreplyto',
'href' => $replyurl),
- _t('in reply to...'));
+ _t(' in reply to...'));
common_text(')');
}
common_element_start('a',