app/soc/models/org_app.py
changeset 970 8b5611d5b053
parent 936 b3e1e0c9649c
child 1149 c8d2bd7be24f
--- a/app/soc/models/org_app.py	Sat Jan 24 21:38:28 2009 +0000
+++ b/app/soc/models/org_app.py	Sat Jan 24 23:56:34 2009 +0000
@@ -23,7 +23,7 @@
 
 from google.appengine.ext import db
 
-from django.utils.translation import ugettext_lazy
+from django.utils.translation import ugettext
 
 import soc.models.document
 import soc.models.group_app
@@ -41,35 +41,35 @@
   """
   
   prior_participation = db.TextProperty(required=False,
-    verbose_name=ugettext_lazy(
+    verbose_name=ugettext(
       'Has your group participated previously?'
       ' If so, please summarize your involvement and any past successes'
       ' and failures.'))
 
   prior_application = db.TextProperty(required=False,
-    verbose_name=ugettext_lazy(
+    verbose_name=ugettext(
       'If your group has not previously participated, have you applied in'
       ' the past?  If so, for what sort of participation?'))
   
   license_name = db.StringProperty(required=True,
-    verbose_name=ugettext_lazy(
+    verbose_name=ugettext(
       'What license does your organization use?'))
  
   ideas = db.ReferenceProperty(reference_class=soc.models.document.Document,
     required=True, collection_name='ideas_app',
-    verbose_name=ugettext_lazy(
+    verbose_name=ugettext(
       'Please select the Document containing your ideas list.'))
 
   dev_mailing_list = db.StringProperty(required=False,
-    verbose_name=ugettext_lazy(
+    verbose_name=ugettext(
       'What is the main development mailing list for your group?'
       ' (optional)'))
-  dev_mailing_list.help_text = ugettext_lazy(
+  dev_mailing_list.help_text = ugettext(
     'Mailing list email address, URL to sign-up page, etc.')
 
   backup_admin = db.ReferenceProperty(reference_class=soc.models.user.User,
     required=False,  collection_name='backup_admin_app',
-    verbose_name=ugettext_lazy(
+    verbose_name=ugettext(
       'Please select your backup group administrator (if there is one).'
       ' They will be emailed to confirm, and this group will not be '
       ' accepted until they respond. (optional).'))
@@ -78,35 +78,35 @@
   contrib_template = db.ReferenceProperty(
     reference_class=soc.models.document.Document, required=False,
     collection_name='org_app_contrib_template',
-    verbose_name=ugettext_lazy(
+    verbose_name=ugettext(
       'Please select the application template you would like contributors'
       ' to your group to use.  (optional).'))
-  contrib_template.help_text = ugettext_lazy(
+  contrib_template.help_text = ugettext(
     'This template will be presented to contributors, such as students'
     ' and other non-member participants, when they apply to contribute'
     ' to the organization.')
   contrib_template.redirect_url = soc.models.document.Document.URL_NAME
 
   contrib_disappears = db.TextProperty(required=True,
-    verbose_text=ugettext_lazy(
+    verbose_text=ugettext(
       'What is your plan for dealing with disappearing contributors?'))
-  contrib_disappears.help_text = ugettext_lazy(
+  contrib_disappears.help_text = ugettext(
     'Contributors include students and other non-member participants.')
 
   member_disappears = db.TextProperty(required=True,
-    verbose_text=ugettext_lazy(
+    verbose_text=ugettext(
       'What is your plan for dealing with disappearing members?'))
-  member_disappears = ugettext_lazy(
+  member_disappears = ugettext(
     'Members include mentors, admininstrators, and the like.')
 
   encourage_contribs = db.TextProperty(required=True,
-    verbose_text=ugettext_lazy(
+    verbose_text=ugettext(
       'What steps will you take to encourage contributors to interact with'
       ' your community before, during, and after the program?'))
   encourage_contribs.help_text = contrib_disappears.help_text
 
   continued_contribs = db.TextProperty(required=True,
-    verbose_text=ugettext_lazy(
+    verbose_text=ugettext(
       'What will you do to ensure that your accepted contributors stick'
       ' with the project after the program concludes?'))
   continued_contribs.help_text = contrib_disappears.help_text