Add two i18n related FIXMEs.

This commit is contained in:
Siebrand Mazeland 2010-08-08 21:13:21 +02:00
parent 5549600505
commit 09dee24cbe
2 changed files with 2 additions and 0 deletions

View File

@ -224,6 +224,7 @@ class MailboxAction extends CurrentUserDesignAction
if ($message->source) {
$this->elementStart('span', 'source');
// FIXME: bad i18n. Device should be a parameter (from %s).
$this->text(_('from'));
$this->element('span', 'device', $this->showSource($message->source));
$this->elementEnd('span');

View File

@ -502,6 +502,7 @@ class NoticeListItem extends Widget
$source_name = (empty($ns->name)) ? _($ns->code) : _($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).
$this->out->text(_('from'));
$this->out->text(' ');