changeset 3270:81397bd3e77f beta

fix a couple of typos
author Mads Kiilerich <madski@unity3d.com>
date Wed, 30 Jan 2013 01:46:19 +0100
parents 7818c8c31c4c
children 62d56ee0eafb
files rhodecode/model/notification.py rhodecode/templates/admin/repos/repo_edit.html rhodecode/templates/email_templates/changeset_comment.html
diffstat 3 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/rhodecode/model/notification.py	Wed Jan 30 01:22:44 2013 +0100
+++ b/rhodecode/model/notification.py	Wed Jan 30 01:46:19 2013 +0100
@@ -72,7 +72,7 @@
         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 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
--- a/rhodecode/templates/admin/repos/repo_edit.html	Wed Jan 30 01:22:44 2013 +0100
+++ b/rhodecode/templates/admin/repos/repo_edit.html	Wed Jan 30 01:46:19 2013 +0100
@@ -279,7 +279,7 @@
            </div>
            <div class="field" style="border:none;color:#888">
            <ul>
-                <li>${_('This repository will be renamed in a special way in order to be unaccesible for RhodeCode and VCS systems. If you need fully delete it from file system please do it manually')}</li>
+                <li>${_('This repository will be renamed in a special way in order to be unaccesible for RhodeCode and VCS systems. If you need to fully delete it from file system please do it manually')}</li>
            </ul>
            </div>
         </div>
--- a/rhodecode/templates/email_templates/changeset_comment.html	Wed Jan 30 01:22:44 2013 +0100
+++ b/rhodecode/templates/email_templates/changeset_comment.html	Wed Jan 30 01:46:19 2013 +0100
@@ -7,6 +7,6 @@
 
 % if status_change is not None:
 <div>
-    ${_('New status$')} -&gt; ${status_change}
+    ${_('New status')} -&gt; ${status_change}
 </div>
 % endif