[Mpuls-commits] r4846 - in base/trunk: . mpulsweb/lib mpulsweb/model

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Thu Mar 31 14:31:34 CEST 2011


Author: ludwig
Date: 2011-03-31 14:31:34 +0200 (Thu, 31 Mar 2011)
New Revision: 4846

Modified:
   base/trunk/ChangeLog
   base/trunk/mpulsweb/lib/security.py
   base/trunk/mpulsweb/model/appointment.py
Log:
Bugfix: added import of gettext function.

Modified: base/trunk/ChangeLog
===================================================================
--- base/trunk/ChangeLog	2011-03-31 11:59:06 UTC (rev 4845)
+++ base/trunk/ChangeLog	2011-03-31 12:31:34 UTC (rev 4846)
@@ -1,5 +1,11 @@
 2011-03-31  Ludwig Reiter <ludwig.reiter at intevation.de>
 
+	* mpulsweb/model/appointment.py
+	mpulsweb/lib/security.py:
+	Bugfix: added import of gettext function.
+
+2011-03-31  Ludwig Reiter <ludwig.reiter at intevation.de>
+
 	* mpulsweb/i18n/mpulsweb.pot
 	mpulsweb/i18n/de/LC_MESSAGES/mpulsweb.po
 	mpulsweb/templates/phase/dialogs/success_set_phase.mako:

Modified: base/trunk/mpulsweb/lib/security.py
===================================================================
--- base/trunk/mpulsweb/lib/security.py	2011-03-31 11:59:06 UTC (rev 4845)
+++ base/trunk/mpulsweb/lib/security.py	2011-03-31 12:31:34 UTC (rev 4846)
@@ -47,6 +47,7 @@
 from pylons import request, config, g
 
 from mpulsweb.lib.db import DB, db, enter, leave
+from mpulsweb.lib.translation import _
 
 # normally we would import session from mpulsweb.lib.base, but to avoid
 # circular imports we import it from app_globals.

Modified: base/trunk/mpulsweb/model/appointment.py
===================================================================
--- base/trunk/mpulsweb/model/appointment.py	2011-03-31 11:59:06 UTC (rev 4845)
+++ base/trunk/mpulsweb/model/appointment.py	2011-03-31 12:31:34 UTC (rev 4846)
@@ -34,6 +34,7 @@
 import mpulsweb.lib.helpers as h
 from mpulsweb.lib.base import session, g
 from mpulsweb.lib.db import db
+from mpulsweb.lib.translation import _
 from mpulsweb.model.case import MpulsCaseOverview
 from mpulsweb.model.agencysettings import Agency
 from mpulsweb.controllers.case_overview import default_phases 



More information about the Mpuls-commits mailing list