translate poll options for assignments
This commit is contained in:
parent
3e7e894d62
commit
3c04f6af82
@ -203,9 +203,9 @@ class AssignmentPoll(BasePoll, CountInvalid, CountVotesCast, PublishPollMixin):
|
||||
self.yesnoababstain = False
|
||||
self.save()
|
||||
if self.yesnoababstain:
|
||||
return ['yes', 'no', 'abstain']
|
||||
return [_('Yes', fixstr=True), _('No', fixstr=True), _('Abstain', fixstr=True)]
|
||||
else:
|
||||
return ['votes']
|
||||
return [_('Votes', fixstr=True)]
|
||||
|
||||
def append_pollform_fields(self, fields):
|
||||
CountInvalid.append_pollform_fields(self, fields)
|
||||
|
Loading…
Reference in New Issue
Block a user