]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - lib/activity.php
initial work on yammer importer code
[quix0rs-gnu-social.git] / lib / activity.php
index 27f09ab4d4639d66f37aef672c9be5fb88e1526e..09a4daee828192e1827c0a31e4e4b2756db28322 100644 (file)
@@ -118,7 +118,8 @@ class Activity
         // Insist on a feed's root DOMElement; don't allow a DOMDocument
         if ($feed instanceof DOMDocument) {
             throw new ClientException(
-                _("Expecting a root feed element but got a whole XML document.")
+                // TRANS: Client exception thrown when a feed instance is a DOMDocument.
+                _('Expecting a root feed element but got a whole XML document.')
             );
         }
 
@@ -386,4 +387,3 @@ class Activity
         return ActivityUtils::child($element, $tag, $namespace);
     }
 }
-