diff options
Diffstat (limited to 'forum/const/__init__.py')
-rw-r--r-- | forum/const/__init__.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/forum/const/__init__.py b/forum/const/__init__.py index 11a27ed9..f27229c8 100644 --- a/forum/const/__init__.py +++ b/forum/const/__init__.py @@ -97,7 +97,7 @@ TYPE_ACTIVITY_MARK_OFFENSIVE=14 TYPE_ACTIVITY_UPDATE_TAGS=15 TYPE_ACTIVITY_FAVORITE=16 TYPE_ACTIVITY_USER_FULL_UPDATED = 17 -TYPE_ACTIVITY_QUESTION_EMAIL_UPDATE_SENT = 18 +TYPE_ACTIVITY_EMAIL_UPDATE_SENT = 18 TYPE_ACTIVITY_MENTION = 19 #TYPE_ACTIVITY_EDIT_QUESTION=17 #TYPE_ACTIVITY_EDIT_ANSWER=18 @@ -120,7 +120,7 @@ TYPE_ACTIVITY = ( (TYPE_ACTIVITY_UPDATE_TAGS, _('updated tags')), (TYPE_ACTIVITY_FAVORITE, _('selected favorite')), (TYPE_ACTIVITY_USER_FULL_UPDATED, _('completed user profile')), - (TYPE_ACTIVITY_QUESTION_EMAIL_UPDATE_SENT, _('email update sent to user')), + (TYPE_ACTIVITY_EMAIL_UPDATE_SENT, _('email update sent to user')), (TYPE_ACTIVITY_MENTION, _('mentioned in the post')), ) @@ -197,7 +197,8 @@ NOTIFICATION_DELIVERY_SCHEDULE_CHOICES= ( USERS_PAGE_SIZE = 28#todo: move it to settings? USERNAME_REGEX_STRING = r'^[\w ]+$' -TWITTER_STYLE_MENTION_TERMINATION_CHARS = ' ;,.!?'#chars that can go after @mention +#chars that can go before or after @mention +TWITTER_STYLE_MENTION_TERMINATION_CHARS = '\n ;,.!?<>' COMMENT_HARD_MAX_LENGTH = 2048 |