X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/e852900e42eb0bde98daf7070d84816e44c3308e..e24e657ebf536f55c1bde66bd41563fae30a98b0:/src/messaging/states.py diff --git a/src/messaging/states.py b/src/messaging/states.py index c0f3c7ef2..9678915f1 100644 --- a/src/messaging/states.py +++ b/src/messaging/states.py @@ -1,7 +1,6 @@ from datetime import timedelta from django.apps import apps from django.utils.timezone import now -from django.utils.translation import ugettext_lazy as _ class Level: @@ -9,6 +8,7 @@ class Level: TRIED = 20 SINGLE = 30 RECURRING = 40 + MANUAL_MEMBER = 45 OPT_OUT = 50 @@ -72,7 +72,7 @@ class State: class ClubSingle(State): slug = 'club-single' - name = _('club one-time donors') + name = 'darczyńcy z jednorazową wpłatą' level = Level.SINGLE expired = False @@ -87,7 +87,7 @@ class ClubSingle(State): class ClubSingleExpired(State): slug = 'club-membership-expiring' allow_negative_offset = True - name = _('club one-time donors with donation expiring') + name = 'darczyńcy z wygasającą jednorazową wpłatą' level = Level.SINGLE expired = True @@ -101,7 +101,7 @@ class ClubSingleExpired(State): class ClubTried(State): slug = 'club-payment-unfinished' - name = _('club would-be donors') + name = 'niedoszli darczyńcy' level = Level.TRIED def get_schedule(self, schedules): @@ -113,7 +113,7 @@ class ClubTried(State): class ClubRecurring(State): slug = 'club-recurring' - name = _('club recurring donors') + name = 'darczyńcy z wpłatą cykliczną' level = Level.RECURRING expired = False @@ -128,7 +128,7 @@ class ClubRecurring(State): class ClubRecurringExpired(State): slug = 'club-recurring-payment-problem' - name = _('club recurring donors with donation expired') + name = 'darczyńcy z wygasającą wpłatą cykliczną' level = Level.RECURRING expired = True @@ -143,7 +143,7 @@ class ClubRecurringExpired(State): class Cold(State): slug = 'cold' - name = _('cold group') + name = 'lodówka' level = Level.COLD def get_context(self, contact):