i18n fixes.

Translator documentation added.
This commit is contained in:
Siebrand Mazeland 2011-04-17 00:36:14 +02:00
parent f548831eb1
commit 858aa37985

View File

@ -243,7 +243,7 @@ class NoticeListItem extends Widget
foreach ($groups as $group) { foreach ($groups as $group) {
if (!$first) { if (!$first) {
$this->out->text(', '); $this->out->text( _m('SEPARATOR',', '));
} else { } else {
$this->out->text(' ▶ '); $this->out->text(' ▶ ');
$first = false; $first = false;
@ -268,9 +268,11 @@ class NoticeListItem extends Widget
foreach ($replies as $reply) { foreach ($replies as $reply) {
if (!$first) { if (!$first) {
$this->out->text(', '); // TRANS: Separator in profile addressees list.
$this->out->text(_m('SEPARATOR',', '));
} else { } else {
$this->out->text(' ▶ '); // TRANS: Start of profile addressees list.
$this->out->text(_(' ▶ '));
$first = false; $first = false;
} }
$this->out->element('a', array('href' => $reply->profileurl, $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); $source_name = (empty($ns->name)) ? ($ns->code ? _($ns->code) : _m('SOURCE','web')) : _($ns->name);
$this->out->text(' '); $this->out->text(' ');
$this->out->elementStart('span', 'source'); $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. // TRANS: Followed by notice source.
$this->out->text(_('from')); $this->out->text(_('from'));
$this->out->text(' '); $this->out->text(' ');