remove info for podcast adv from / (anon and logged-in)
[mygpo.git] / mygpo / api / constants.py
bloba005465ddab45b73a9cce9101af0d655c83e6e6c
2 # This file is part of my.gpodder.org.
4 # my.gpodder.org is free software: you can redistribute it and/or modify it
5 # under the terms of the GNU Affero General Public License as published by
6 # the Free Software Foundation, either version 3 of the License, or (at your
7 # option) any later version.
9 # my.gpodder.org is distributed in the hope that it will be useful, but
10 # WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
11 # or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public
12 # License for more details.
14 # You should have received a copy of the GNU Affero General Public License
15 # along with my.gpodder.org. If not, see <http://www.gnu.org/licenses/>.
18 # Set _ to no-op, because we just want to mark the strings as
19 # translatable and will use gettext on these strings later on
20 _ = lambda x: x
23 EPISODE_ACTION_TYPES = (
24 ('download', _('downloaded')),
25 ('play', _('played')),
26 ('delete', _('deleted')),
27 ('new', _('marked as new')),
31 DEVICE_TYPES = (
32 ('desktop', _('Desktop')),
33 ('laptop', _('Laptop')),
34 ('mobile', _('Cell phone')),
35 ('server', _('Server')),
36 ('other', _('Other')),
40 SUBSCRIBE_ACTION = 1
41 UNSUBSCRIBE_ACTION = -1
43 SUBSCRIPTION_ACTION_TYPES = (
44 (SUBSCRIBE_ACTION, _('subscribed')),
45 (UNSUBSCRIBE_ACTION, _('unsubscribed')),