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

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Thu Mar 31 11:47:13 CEST 2011


Author: ludwig
Date: 2011-03-31 11:47:12 +0200 (Thu, 31 Mar 2011)
New Revision: 4839

Modified:
   base/trunk/ChangeLog
   base/trunk/mpulsweb/model/appointment.py
Log:
Smallbugfix

Modified: base/trunk/ChangeLog
===================================================================
--- base/trunk/ChangeLog	2011-03-31 09:27:43 UTC (rev 4838)
+++ base/trunk/ChangeLog	2011-03-31 09:47:12 UTC (rev 4839)
@@ -1,5 +1,10 @@
 2011-03-31  Ludwig Reiter <ludwig.reiter at intevation.de>
 
+	* mpulsweb/model/appointment.py:
+	Small bugfix of the appointment.py 
+
+2011-03-31  Ludwig Reiter <ludwig.reiter at intevation.de>
+
 	* mpulsweb/i18n/mpulsweb.pot
 	mpulsweb/i18n/de/LC_MESSAGES/mpulsweb.po
 	mpulsweb/controllers/case.py:

Modified: base/trunk/mpulsweb/model/appointment.py
===================================================================
--- base/trunk/mpulsweb/model/appointment.py	2011-03-31 09:27:43 UTC (rev 4838)
+++ base/trunk/mpulsweb/model/appointment.py	2011-03-31 09:47:12 UTC (rev 4839)
@@ -571,12 +571,12 @@
         age = datetime.now() - last_date
         mydate = datetime.now() - timedelta(age.days - int(maxage))
         if finished:
-            desc = ( ${_('Attention! The maximum save duration of %s days is '
-                         'exceeded for %s days for this case document!')}
+            desc = ( _('Attention! The maximum save duration of %s days is '
+                         'exceeded for %s days for this case document!')
                     % (maxage, age.days-int(maxage)))
         else:
-            desc = (${_(u"Inactive case document? Please check,"
-                        u" if the case will still be edited.")})
+            desc = (_(u"Inactive case document? Please check,"
+                        u" if the case will still be edited."))
         appointment = factory.createByData(None, title, mydate, None, desc,
                                            case.id, type)
         return appointment



More information about the Mpuls-commits mailing list