]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - lib/oembedhelper.php
Better registrationActivity
[quix0rs-gnu-social.git] / lib / oembedhelper.php
index 4aae8159188f2ef3fb3e4ddd6d6d5234ec5a694f..903f80c581a03b92a17ec5f2a698809d9c307cab 100644 (file)
@@ -61,7 +61,7 @@ class oEmbedHelper
      * Some known hosts are whitelisted with API endpoints where we
      * know they exist but autodiscovery data isn't available.
      * If autodiscovery links are missing and we don't recognize the
-     * host, we'll pass it to oohembed.com's public service which
+     * host, we'll pass it to noembed.com's public service which
      * will either proxy or fake info on a lot of sites.
      *
      * A few hosts are blacklisted due to known problems with oohembed,
@@ -94,7 +94,7 @@ class oEmbedHelper
             case 'built-in':
                 common_log(LOG_INFO, 'Considering built-in oEmbed methods...');
                 // Blacklist: systems with no oEmbed API of their own, which are
-                // either missing from or broken on oohembed.com's proxy.
+                // either missing from or broken on noembed.com's proxy.
                 // we know how to look data up in another way...
                 if (array_key_exists($host, self::$functionMap)) {
                     common_log(LOG_INFO, 'We have a built-in method for ' . $host);
@@ -131,6 +131,7 @@ class oEmbedHelper
         }
 
         if (empty($api)) {
+            // TRANS: Server exception thrown in oEmbed action if no API endpoint is available.
             throw new ServerException(_('No oEmbed API endpoint available.'));
         }