app/soc/models/organization.py
changeset 369 2955eff2bf94
parent 344 d135c8c09967
child 385 6d410bf49a82
--- a/app/soc/models/organization.py	Fri Oct 17 13:04:51 2008 +0000
+++ b/app/soc/models/organization.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 import models
@@ -40,7 +42,9 @@
      reference.
   """
 
-  #: Group type short name used for example in urls
-  GROUP_TYPE_SHORT = 'org'
-  #: Group type plural name used in Group templates
-  GROUP_TYPE_PLURAL = 'Organizations'
\ No newline at end of file
+  #: Type name used in templates
+  TYPE_NAME = ugettext_lazy('Organization')
+  #: Type short name used for example in urls
+  TYPE_NAME_SHORT = 'org'
+  #: Type plural name used in templates
+  TYPE_NAME_PLURAL = ugettext_lazy('Organizations')
\ No newline at end of file