]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - lib/atom10feed.php
Merge remote-tracking branch 'mainline/1.0.x' into people_tags_rebase
[quix0rs-gnu-social.git] / lib / atom10feed.php
index 881df6605f3d05565afc6d850c666fd94fe9ff9b..d5faafa1b3756d96ab20bc233a6bb47e2d182295 100644 (file)
@@ -109,7 +109,8 @@ class Atom10Feed extends XMLStringer
             $xs->element('name', null, $name);
         } else {
             throw new Atom10FeedException(
-                _('author element must contain a name element.')
+                // TRANS: Atom feed exception thrown when an author element does not contain a name element.
+                _('Author element must contain a name element.')
             );
         }
 
@@ -155,7 +156,8 @@ class Atom10Feed extends XMLStringer
 
     function setActivitySubject($xmlSubject)
     {
-        throw new ServerException(_('Don\'t use this method!'));
+        // TRANS: Server exception thrown when using the method setActivitySubject() in the class Atom10Feed.
+        throw new ServerException(_('Do not use this method!'));
     }
 
     function getNamespaces()