i18n fixes.

Translator documentation added.
This commit is contained in:
Siebrand Mazeland 2011-04-17 00:36:14 +02:00
parent f548831eb1
commit 858aa37985
1 changed files with 6 additions and 4 deletions

View File

@ -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(' ');