app/soc/models/club.py
changeset 369 2955eff2bf94
parent 344 d135c8c09967
child 385 6d410bf49a82
--- a/app/soc/models/club.py	Fri Oct 17 13:04:51 2008 +0000
+++ b/app/soc/models/club.py	Fri Oct 17 13:57:54 2008 +0000
@@ -21,6 +21,8 @@
 ]
 
 
+from django.utils.translation import ugettext_lazy
+
 from google.appengine.ext import db
 
 from soc.models import base
@@ -41,8 +43,9 @@
      Member model 'club' reference.
   """
 
-  #: Group type short name used for example in urls
-  GROUP_TYPE_SHORT = 'club'
-  #: Group type plural name used in Group templates
-  GROUP_TYPE_PLURAL = 'Clubs'
-
+  #: Type name used in templates
+  TYPE_NAME = ugettext_lazy('Club')
+  #: Type short name used for example in urls
+  TYPE_NAME_SHORT = 'club'
+  #: Type plural name used in templates
+  TYPE_NAME_PLURAL = ugettext_lazy('Clubs')
\ No newline at end of file