X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=lib%2Fnoticelistitem.php;h=0231f3a57fa7deeea7868bcd05cb20344576f7cd;hb=7d64d8c78cfa102b91975598ef9e574d2ef14b8c;hp=1cc1bc552d11ba773fe5109f1f982d4df4511d4f;hpb=cb183359e23ae7a5cfb483fa06c6c4b7a8b05fff;p=quix0rs-gnu-social.git diff --git a/lib/noticelistitem.php b/lib/noticelistitem.php index 1cc1bc552d..0231f3a57f 100644 --- a/lib/noticelistitem.php +++ b/lib/noticelistitem.php @@ -167,6 +167,9 @@ class NoticeListItem extends Widget if ($this->notice->scope != 0 && $this->notice->scope != 1) { $class .= ' limited-scope'; } + if (!empty($this->notice->source)) { + $class .= ' notice-source-'.$this->notice->source; + } $this->out->elementStart('li', array('class' => $class, 'id' => 'notice-' . $id)); Event::handle('EndOpenNoticeListItemElement', array($this)); @@ -600,6 +603,7 @@ class NoticeListItem extends Widget // TRANS: Addition in notice list item if notice was repeated. Followed by a span with a nickname. $this->out->raw(_('Repeated by')); + $this->out->raw(_(' ')); $this->out->elementStart('a', $attrs); $this->out->element('span', 'fn nickname', $repeater->nickname); @@ -626,7 +630,7 @@ class NoticeListItem extends Widget $this->out->elementStart('a', array('href' => $reply_url, 'class' => 'notice_reply', // TRANS: Link title in notice list item to reply to a notice. - 'title' => _('Reply to this notice'))); + 'title' => _('Reply to this notice.'))); // TRANS: Link text in notice list item to reply to a notice. $this->out->text(_('Reply')); $this->out->text(' '); @@ -654,7 +658,7 @@ class NoticeListItem extends Widget $this->out->element('a', array('href' => $deleteurl, 'class' => 'notice_delete', // TRANS: Link title in notice list item to delete a notice. - 'title' => _('Delete this notice')), + 'title' => _('Delete this notice from the timeline.')), // TRANS: Link text in notice list item to delete a notice. _('Delete')); }