# HG changeset patch # User Mads Kiilerich # Date 2013-01-30 01:46:19 # Node ID 81397bd3e77ff6f1b4d2e0c4487a9e8faa236a6d # Parent 7818c8c31c4c669852b3c7649dbad51d2ce86df1 fix a couple of typos diff --git a/rhodecode/model/notification.py b/rhodecode/model/notification.py --- a/rhodecode/model/notification.py +++ b/rhodecode/model/notification.py @@ -72,7 +72,7 @@ class NotificationModel(BaseModel): from rhodecode.lib.celerylib import tasks, run_task if recipients and not getattr(recipients, '__iter__', False): - raise Exception('recipients must be a list of iterable') + raise Exception('recipients must be a list or iterable') created_by_obj = self._get_user(created_by) @@ -242,7 +242,7 @@ class NotificationModel(BaseModel): class EmailNotificationModel(BaseModel): TYPE_CHANGESET_COMMENT = Notification.TYPE_CHANGESET_COMMENT - TYPE_PASSWORD_RESET = 'passoword_link' + TYPE_PASSWORD_RESET = 'password_link' TYPE_REGISTRATION = Notification.TYPE_REGISTRATION TYPE_PULL_REQUEST = Notification.TYPE_PULL_REQUEST TYPE_PULL_REQUEST_COMMENT = Notification.TYPE_PULL_REQUEST_COMMENT diff --git a/rhodecode/templates/admin/repos/repo_edit.html b/rhodecode/templates/admin/repos/repo_edit.html --- a/rhodecode/templates/admin/repos/repo_edit.html +++ b/rhodecode/templates/admin/repos/repo_edit.html @@ -279,7 +279,7 @@
diff --git a/rhodecode/templates/email_templates/changeset_comment.html b/rhodecode/templates/email_templates/changeset_comment.html --- a/rhodecode/templates/email_templates/changeset_comment.html +++ b/rhodecode/templates/email_templates/changeset_comment.html @@ -7,6 +7,6 @@ ${body} % if status_change is not None:
- ${_('New status$')} -> ${status_change} + ${_('New status')} -> ${status_change}
% endif