Revision 3a9f4931 snf-astakos-app/astakos/im/backends.py

b/snf-astakos-app/astakos/im/backends.py
164 164
                message = _('Registration completed. You can now login.')
165 165
            else:
166 166
                _send_notification(user, admin_email_template_name)
167
                message = _('Registration completed. You will receive an email upon your account\'s activation.')
167
                message = _('Your request for an account was successfully sent \
168
                            and pending approval from our administrators. You \
169
                            will be notified by email the next days. \
170
                            Thanks for being patient, the GRNET team')
168 171
            status = messages.SUCCESS
169 172
        except Invitation.DoesNotExist, e:
170 173
            status = messages.ERROR
......
233 236
        if MODERATION_ENABLED:
234 237
            try:
235 238
                _send_notification(user, admin_email_template_name)
236
                message = _('Registration completed. You will receive an email upon your account\'s activation.')
239
                message = _('Your request for an account was successfully sent \
240
                            and pending approval from our administrators. You \
241
                            will be notified by email the next days. \
242
                            Thanks for being patient, the GRNET team')
237 243
            except (SMTPException, socket.error) as e:
238 244
                status = messages.ERROR
239 245
                name = 'strerror'

Also available in: Unified diff