Skip to content

Commit

Permalink
Rewrite help for clarity
Browse files Browse the repository at this point in the history
  • Loading branch information
alexiri committed Nov 17, 2024
1 parent 55802e4 commit ffd39ef
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions outlook/indico_outlook/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,21 +60,20 @@ class SettingsForm(IndicoForm):
class OutlookUserPreferences(ExtraUserPreferences):
fields = {
'outlook_active': BooleanField(_('Sync with Outlook'), widget=SwitchWidget(),
description=_('Add Indico events in which I participate to my Outlook '
'calendar')),
description=_('Add Indico events to my Outlook calendar')),
'outlook_registered': BooleanField(_('Sync event registrations with Outlook'),
[HiddenUnless('extra_outlook_active', preserve_data=True)],
widget=SwitchWidget(),
description=_("Add events I'm registered for to my Outlook calendar")),
description=_("Add to my Outlook calendar events I'm registered for")),
'outlook_favorite_events': BooleanField(_('Sync favorite events with Outlook'),
[HiddenUnless('extra_outlook_active', preserve_data=True)],
widget=SwitchWidget(),
description=_('Add events I mark as favorite to my Outlook calendar')),
description=_('Add to my Outlook calendar events that I mark as favorite')),
'outlook_favorite_categories': BooleanField(_('Sync favorite categories with Outlook'),
[HiddenUnless('extra_outlook_active', preserve_data=True)],
widget=SwitchWidget(),
description=_('Add all events in categories (and their first-level subcategories) I mark as '
'favorite to my Outlook calendar')),
description=_('Add to my Outlook calendar all events in categories (and their '
'first-level subcategories) that I mark as favorite')),
'outlook_status': SelectField(_('Outlook entry status'),
[HiddenUnless('extra_outlook_active', preserve_data=True)],
choices=_status_choices,
Expand Down

0 comments on commit ffd39ef

Please sign in to comment.