]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
'note' -> 'notice' in an error message -- thx to AVRS on IRC for the catch on transla...
authorBrion Vibber <brion@pobox.com>
Tue, 8 Mar 2011 18:58:14 +0000 (10:58 -0800)
committerBrion Vibber <brion@pobox.com>
Tue, 8 Mar 2011 18:58:14 +0000 (10:58 -0800)
actions/atompubfavoritefeed.php

index c31fcbd72ac9d7ce498ae01ee6f7fc1fb55d612d..634bb224573dfc7b5b9fce71eeddb023f35bde8c 100644 (file)
@@ -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,