X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=lib%2Ffeed.php;h=e5a97a0cb839af2555e42e692ef7e4dc0d50bc18;hb=5d72b600a15d19a370a5bf490462968821f7638e;hp=8660c75ed3af2e3230af98b6e873bfe5567a7c76;hpb=c5cf2c4c94794a1aeea32a427ddd50e157fa893d;p=quix0rs-gnu-social.git diff --git a/lib/feed.php b/lib/feed.php index 8660c75ed3..e5a97a0cb8 100644 --- a/lib/feed.php +++ b/lib/feed.php @@ -27,7 +27,7 @@ * @link http://status.net/ */ -if (!defined('STATUSNET')) { +if (!defined('STATUSNET') && !defined('LACONICA')) { exit(1); } @@ -43,7 +43,6 @@ if (!defined('STATUSNET')) { * @license http://www.fsf.org/licensing/licenses/agpl-3.0.html GNU Affero General Public License version 3.0 * @link http://status.net/ */ - class Feed { const RSS1 = 1; @@ -82,12 +81,16 @@ class Feed { switch ($this->type) { case Feed::RSS1: + // TRANS: Feed type name. return _('RSS 1.0'); case Feed::RSS2: + // TRANS: Feed type name. return _('RSS 2.0'); case Feed::ATOM: + // TRANS: Feed type name. return _('Atom'); case Feed::FOAF: + // TRANS: Feed type name. FOAF stands for Friend of a Friend. return _('FOAF'); default: return null;