roundcube: Clarify description for local mail only option

Closes: #2357

Thanks to Znoteer for reporting the issue and suggesting a fix.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
Sunil Mohan Adapa 2023-06-15 18:41:24 -07:00 committed by James Valleroy
parent 11f12fcbf0
commit 4ac14b8fe9
No known key found for this signature in database
GPG Key ID: 77C0C75E7B650808

View File

@ -14,6 +14,9 @@ class RoundcubeForm(forms.Form):
"""Roundcube configuration form."""
local_only = forms.BooleanField(
label=_('Use only the local mail server'), help_text=format_lazy(
_('When enabled, text box for server input is removed from login '
'page and users can only read and send mails from this '
'{box_name}.'), box_name=_(cfg.box_name)), required=False)
_('When enabled, users can only read and send mails via this '
'{box_name}. If you wish to use Roundcube with an external mail '
'account, such as Gmail, you must uncheck this option. When '
'unchecked, a text entry field is added to the login page so '
'the user can specify to which account they wish to connect.'),
box_name=_(cfg.box_name)), required=False)