]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - lib/xrd.php
* fix some i18n and L10n issues
[quix0rs-gnu-social.git] / lib / xrd.php
index 40372b9d7a454c313fb7f7f3ea98cda4362cc412..43cb2ec73c8eac1868dc3bb2e01291fb50b813e5 100644 (file)
@@ -26,7 +26,6 @@
  * @license   http://www.fsf.org/licensing/licenses/agpl-3.0.html AGPL 3.0
  * @link      http://status.net/
  */
-
 class XRD
 {
     const XML_NS = 'http://www.w3.org/2000/xmlns/';
@@ -61,12 +60,12 @@ class XRD
 
         if (!$ok) {
             // TRANS: Exception.
-            throw new Exception(_m('Invalid XML.'));
+            throw new Exception(_('Invalid XML.'));
         }
         $xrd_element = $dom->getElementsByTagName('XRD')->item(0);
         if (!$xrd_element) {
             // TRANS: Exception.
-            throw new Exception(_m('Invalid XML, missing XRD root.'));
+            throw new Exception(_('Invalid XML, missing XRD root.'));
         }
 
         // Check for host-meta host