* @link http://status.net/
*/
-if (!defined('STATUSNET')) {
+if (!defined('STATUSNET') && !defined('LACONICA')) {
exit(1);
}
* @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;
{
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;