X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=actions%2Fatompubfavoritefeed.php;h=634bb224573dfc7b5b9fce71eeddb023f35bde8c;hb=831eaa039bc5b70532bc556ee47a45ebd03ac5de;hp=d35bd9f53e804d3a7260cd5379953e968ce93dfa;hpb=6455461c196fcb8e7c0047870d480e4a97986709;p=quix0rs-gnu-social.git diff --git a/actions/atompubfavoritefeed.php b/actions/atompubfavoritefeed.php index d35bd9f53e..634bb22457 100644 --- a/actions/atompubfavoritefeed.php +++ b/actions/atompubfavoritefeed.php @@ -144,7 +144,7 @@ class AtompubfavoritefeedAction extends ApiAuthAction // TRANS: Subtitle for Atom favorites feed. // TRANS: %1$s is a user nickname, %2$s is the StatusNet sitename. - $feed->setSubtitle(sprintf(_("Notices %1$s has favorited on %2$s"), + $feed->setSubtitle(sprintf(_('Notices %1$s has favorited on %2$s'), $this->_profile->getBestName(), common_config('site', 'name'))); @@ -256,7 +256,7 @@ class AtompubfavoritefeedAction extends ApiAuthAction if (empty($notice)) { // XXX: import from listed URL or something // TRANS: Client exception thrown when trying favorite a notice without content. - throw new ClientException(_('Unknown note.')); + throw new ClientException(_('Unknown notice.')); } $old = Fave::pkeyGet(array('user_id' => $this->auth_user->id,