From 858aa379857a5321d4ecd2d78a2449626eff68ef Mon Sep 17 00:00:00 2001 From: Siebrand Mazeland Date: Sun, 17 Apr 2011 00:36:14 +0200 Subject: [PATCH] i18n fixes. Translator documentation added. --- lib/noticelistitem.php | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/lib/noticelistitem.php b/lib/noticelistitem.php index 2c746928fe..02c7c59a65 100644 --- a/lib/noticelistitem.php +++ b/lib/noticelistitem.php @@ -243,7 +243,7 @@ class NoticeListItem extends Widget foreach ($groups as $group) { if (!$first) { - $this->out->text(', '); + $this->out->text( _m('SEPARATOR',', ')); } else { $this->out->text(' ▶ '); $first = false; @@ -268,9 +268,11 @@ class NoticeListItem extends Widget foreach ($replies as $reply) { if (!$first) { - $this->out->text(', '); + // TRANS: Separator in profile addressees list. + $this->out->text(_m('SEPARATOR',', ')); } else { - $this->out->text(' ▶ '); + // TRANS: Start of profile addressees list. + $this->out->text(_(' ▶ ')); $first = false; } $this->out->element('a', array('href' => $reply->profileurl, @@ -493,7 +495,7 @@ class NoticeListItem extends Widget $source_name = (empty($ns->name)) ? ($ns->code ? _($ns->code) : _m('SOURCE','web')) : _($ns->name); $this->out->text(' '); $this->out->elementStart('span', 'source'); - // FIXME: probably i18n issue. If "from" is followed by text, that should be a parameter to "from" (from %s). + // @todo FIXME: probably i18n issue. If "from" is followed by text, that should be a parameter to "from" (from %s). // TRANS: Followed by notice source. $this->out->text(_('from')); $this->out->text(' ');