]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
i18n fixes.
authorSiebrand Mazeland <s.mazeland@xs4all.nl>
Sat, 16 Apr 2011 22:36:14 +0000 (00:36 +0200)
committerSiebrand Mazeland <s.mazeland@xs4all.nl>
Sat, 16 Apr 2011 22:36:14 +0000 (00:36 +0200)
Translator documentation added.

lib/noticelistitem.php

index 2c746928fede2c9aa4e5e8ee3fc07f6d3c895f92..02c7c59a65ae6099ad7104feab85f4f7e095c998 100644 (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(' ');