Clarify description for radicale shared calendar/addressbook

Signed-off-by: Hemanth Kumar Veeranki <hems.india1997@gmail.com>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
Hemanth Kumar Veeranki 2018-07-21 15:07:28 +05:30 committed by James Valleroy
parent 556c7fe532
commit f8a5db2bc0
No known key found for this signature in database
GPG Key ID: 77C0C75E7B650808

View File

@ -22,15 +22,19 @@ Forms for radicale module.
from django import forms from django import forms
from django.utils.translation import ugettext_lazy as _ from django.utils.translation import ugettext_lazy as _
from plinth import cfg
from plinth.forms import ServiceForm from plinth.forms import ServiceForm
from plinth.utils import format_lazy
CHOICES = [ CHOICES = [
('owner_only', _('Only the owner of a calendar/addressbook can view or ' ('owner_only', _('Only the owner of a calendar/addressbook can view or '
'make changes.')), 'make changes.')),
('owner_write', _('Any user can view any calendar/addressbook, but only ' ('owner_write', format_lazy(
'the owner can make changes.')), _('Any user with a {box_name} login can view any calendar/addressbook'
('authenticated', _('Any user can view or make changes to any ' ', but only the owner can make changes.'), box_name=_(cfg.box_name))),
'calendar/addressbook.')), ('authenticated', format_lazy(
_('Any user with a {box_name} login can view or make changes'
' to any calendar/addressbook.'), box_name=_(cfg.box_name))),
] ]