[Mpuls-commits] r4955 - in base/trunk: . mpulsweb/controllers
scm-commit@wald.intevation.org
scm-commit at wald.intevation.org
Wed May 11 10:05:26 CEST 2011
Author: torsten
Date: 2011-05-11 10:05:23 +0200 (Wed, 11 May 2011)
New Revision: 4955
Modified:
base/trunk/ChangeLog
base/trunk/mpulsweb/controllers/case.py
Log:
Issue2114: Fixed gettext call. Needs to be ungetext.
Modified: base/trunk/ChangeLog
===================================================================
--- base/trunk/ChangeLog 2011-05-10 19:36:12 UTC (rev 4954)
+++ base/trunk/ChangeLog 2011-05-11 08:05:23 UTC (rev 4955)
@@ -1,3 +1,8 @@
+2011-05-11 Torsten Irländer <torsten.irlaender at intevation.de>
+
+ * mpulsweb/controllers/case.py: Issue2114: Fixed gettext call. Needs
+ to be ungetext.
+
2011-05-10 Torsten Irländer <torsten.irlaender at intevation.de>
* mpulsweb/public/styles/menu.css: Issue2116: Changed layout of
Modified: base/trunk/mpulsweb/controllers/case.py
===================================================================
--- base/trunk/mpulsweb/controllers/case.py 2011-05-10 19:36:12 UTC (rev 4954)
+++ base/trunk/mpulsweb/controllers/case.py 2011-05-11 08:05:23 UTC (rev 4955)
@@ -270,7 +270,7 @@
case = self._loadCase(id)
if confirmed == 1:
case.restore()
- c.dialog_title = _(u'Case restored!')
+ c.dialog_title = ungettext(u'Case restored!', u'Cases restored!', 1)
c.dialog_text = _(u'Please click OK to continue.')
c.url_ok = h.url_for(controller="/case_overview")
return render('/casemanagement/dialogs/success_restore.mako')
More information about the Mpuls-commits
mailing list