comparison MoinMoin/action/unsubscribe.py @ 3333:928a45b60bb3

remove remaining mentions of "UserPreferences", add to CHANGES
author Johannes Berg <johannes AT sipsolutions DOT net>
date Wed, 19 Mar 2008 12:45:14 +0100
parents 8a1f1a9dd37f
children c9f5e4f9a76e
comparison
equal deleted inserted replaced
3332:38e3fa4726f6 3333:928a45b60bb3
17 # Try to unsubscribe 17 # Try to unsubscribe
18 if request.user.unsubscribe(pagename): 18 if request.user.unsubscribe(pagename):
19 msg = _('Your subscription to this page has been removed.') 19 msg = _('Your subscription to this page has been removed.')
20 else: 20 else:
21 msg = _("Can't remove regular expression subscription!") + u' ' + \ 21 msg = _("Can't remove regular expression subscription!") + u' ' + \
22 _("Edit the subscription regular expressions in your " 22 _("Edit the subscription regular expressions in your settings.")
23 "UserPreferences.", wiki=True)
24 else: 23 else:
25 # The user is not subscribed 24 # The user is not subscribed
26 msg = _('You need to be subscribed to unsubscribe.') 25 msg = _('You need to be subscribed to unsubscribe.')
27 26
28 Page(request, pagename).send_page(msg=msg) 27 Page(request, pagename).send_page(msg=msg)