diff -r f90f9b22751a -r 2955eff2bf94 app/soc/models/school.py --- a/app/soc/models/school.py Fri Oct 17 13:04:51 2008 +0000 +++ b/app/soc/models/school.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 @@ -40,9 +42,10 @@ belonging to) a School. This relation is implemented as the 'students' back-reference Query of the Student model 'school' reference. """ - - #: Group type short name used for example in urls - GROUP_TYPE_SHORT = 'school' - #: Group type plural name used in Group templates - GROUP_TYPE_PLURAL = 'Schools' - + + #: Type name used in templates + TYPE_NAME = ugettext_lazy('School') + #: Type short name used for example in urls + TYPE_NAME_SHORT = 'school' + #: Type plural name used in templates + TYPE_NAME_PLURAL = ugettext_lazy('Schools') \ No newline at end of file