Merge pull request #793 from gpodder/remove-advertise
[mygpo.git] / mygpo / api / constants.py
blob265095cf35385fafc4961f9d59a2aff74c1e2a0a
1 # Set _ to no-op, because we just want to mark the strings as
2 # translatable and will use gettext on these strings later on
4 from django.utils.translation import gettext_lazy as _
7 EPISODE_ACTION_TYPES = (
8 ("download", _("downloaded")),
9 ("play", _("played")),
10 ("delete", _("deleted")),
11 ("new", _("marked as new")),
12 ("flattr", _("flattr'd")),
16 SUBSCRIBE_ACTION = 1
17 UNSUBSCRIBE_ACTION = -1
19 SUBSCRIPTION_ACTION_TYPES = (
20 (SUBSCRIBE_ACTION, _("subscribed")),
21 (UNSUBSCRIBE_ACTION, _("unsubscribed")),