translations issue #2197
This commit is contained in:
parent
d3cd2d72dc
commit
f2f7ddf072
@ -4,7 +4,7 @@ from django.conf import settings
|
|||||||
from django.contrib.contenttypes.models import ContentType
|
from django.contrib.contenttypes.models import ContentType
|
||||||
from django.db import models
|
from django.db import models
|
||||||
from django.utils.translation import ugettext as _
|
from django.utils.translation import ugettext as _
|
||||||
from django.utils.translation import ugettext_lazy, ugettext_noop
|
from django.utils.translation import ugettext_noop
|
||||||
|
|
||||||
from openslides.agenda.models import Item, Speaker
|
from openslides.agenda.models import Item, Speaker
|
||||||
from openslides.core.config import config
|
from openslides.core.config import config
|
||||||
@ -61,9 +61,9 @@ class Assignment(RESTModelMixin, models.Model):
|
|||||||
PHASE_FINISHED = 2
|
PHASE_FINISHED = 2
|
||||||
|
|
||||||
PHASES = (
|
PHASES = (
|
||||||
(PHASE_SEARCH, ugettext_lazy('Searching for candidates')),
|
(PHASE_SEARCH, 'Searching for candidates'),
|
||||||
(PHASE_VOTING, ugettext_lazy('Voting')),
|
(PHASE_VOTING, 'Voting'),
|
||||||
(PHASE_FINISHED, ugettext_lazy('Finished')),
|
(PHASE_FINISHED, 'Finished'),
|
||||||
)
|
)
|
||||||
|
|
||||||
title = models.CharField(
|
title = models.CharField(
|
||||||
|
@ -714,6 +714,10 @@ angular.module('OpenSlidesApp.assignments.site', ['OpenSlidesApp.assignments'])
|
|||||||
'projector view)');
|
'projector view)');
|
||||||
gettext('Title for PDF document (all elections)');
|
gettext('Title for PDF document (all elections)');
|
||||||
gettext('Preamble text for PDF document (all elections)');
|
gettext('Preamble text for PDF document (all elections)');
|
||||||
|
//other translations
|
||||||
|
gettext('Searching for candidates');
|
||||||
|
gettext('Voting');
|
||||||
|
gettext('Finished');
|
||||||
}
|
}
|
||||||
]);
|
]);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user