Author: leidel
Date: Wed Jan 21 01:07:49 2009
New Revision: 144

Modified:
    wiki/IntegratingNotification.wiki

Log:
Edited wiki page through web user interface.

Modified: wiki/IntegratingNotification.wiki
==============================================================================
--- wiki/IntegratingNotification.wiki   (original)
+++ wiki/IntegratingNotification.wiki   Wed Jan 21 01:07:49 2009
@@ -21,13 +21,14 @@

  {{{
  from django.conf import settings
+from django.utils.translation import ugettext_noop as _

  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("friends_invite", "Invitation  
Received", "you have received an invitation")
-        notification.create_notice_type("friends_accept", "Acceptance  
Received", "an invitation you sent has been accepted")
+        notification.create_notice_type("friends_invite", _("Invitation  
Received"), _("you have received an invitation"))
+        notification.create_notice_type("friends_accept", _("Acceptance  
Received"), _("an invitation you sent has been accepted"))

      signals.post_syncdb.connect(create_notice_types, sender=notification)
  else:

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pinax-updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/pinax-updates?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to