Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

translations were wrong

  • Loading branch information...
commit b052ffec4a172a30bde2068426088660f909b9de 1 parent cadc2e4
Philipp Wassibauer philippWassibauer authored
Showing with 3 additions and 3 deletions.
  1. +3 −3 threaded_messages/management.py
6 threaded_messages/management.py
View
@@ -1,11 +1,11 @@
from django.conf import settings
-from django.utils.translation import ugettext_noop as _
from django.db.models import signals
if "notification" in settings.INSTALLED_APPS:
from notification import models as notification
+
def create_notice_types(app, created_models, verbosity, **kwargs):
- notification.create_notice_type("received_email", _("Private messages"), _("(this is highly recommended)"))
+ notification.create_notice_type("received_email", "Private messages", "(this is highly recommended)")
signals.post_syncdb.connect(create_notice_types, sender=notification)
else:
- print "Skipping creation of NoticeTypes (Threaded Messages) as notification app not found"
+ print "Skipping creation of NoticeTypes (Threaded Messages) as notification app not found"
Please sign in to comment.
Something went wrong with that request. Please try again.