X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=lib%2Foembedhelper.php;h=903f80c581a03b92a17ec5f2a698809d9c307cab;hb=d81b25729005973e6daa27fc787a042f05a12c94;hp=4aae8159188f2ef3fb3e4ddd6d6d5234ec5a694f;hpb=402c0654ea1a91be6e45c4bfbbfed64a31f1f505;p=quix0rs-gnu-social.git diff --git a/lib/oembedhelper.php b/lib/oembedhelper.php index 4aae815918..903f80c581 100644 --- a/lib/oembedhelper.php +++ b/lib/oembedhelper.php @@ -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.')); }