[Mpuls-commits] r4837 - in base/trunk: . mpulsweb/i18n mpulsweb/i18n/de/LC_MESSAGES mpulsweb/model

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


Author: ludwig
Date: 2011-03-31 11:15:39 +0200 (Thu, 31 Mar 2011)
New Revision: 4837

Modified:
   base/trunk/ChangeLog
   base/trunk/mpulsweb/i18n/de/LC_MESSAGES/mpulsweb.po
   base/trunk/mpulsweb/i18n/mpulsweb.pot
   base/trunk/mpulsweb/model/appointment.py
Log:
I18n of the appointment.py dialog

Modified: base/trunk/ChangeLog
===================================================================
--- base/trunk/ChangeLog	2011-03-31 09:02:00 UTC (rev 4836)
+++ base/trunk/ChangeLog	2011-03-31 09:15:39 UTC (rev 4837)
@@ -2,6 +2,13 @@
 
 	* mpulsweb/i18n/mpulsweb.pot
 	mpulsweb/i18n/de/LC_MESSAGES/mpulsweb.po
+	mpulsweb/model/appointment.py:
+	I18n of the appointment.py dialog
+
+2011-03-31  Ludwig Reiter <ludwig.reiter at intevation.de>
+
+	* mpulsweb/i18n/mpulsweb.pot
+	mpulsweb/i18n/de/LC_MESSAGES/mpulsweb.po
 	mpulsweb/templates/search/search.mako:
 	I18n of the search.mako dialog
 

Modified: base/trunk/mpulsweb/i18n/de/LC_MESSAGES/mpulsweb.po
===================================================================
--- base/trunk/mpulsweb/i18n/de/LC_MESSAGES/mpulsweb.po	2011-03-31 09:02:00 UTC (rev 4836)
+++ base/trunk/mpulsweb/i18n/de/LC_MESSAGES/mpulsweb.po	2011-03-31 09:15:39 UTC (rev 4837)
@@ -8,7 +8,7 @@
 "Project-Id-Version: mpulsweb 0.0.0\n"
 "Report-Msgid-Bugs-To: EMAIL at ADDRESS\n"
 "POT-Creation-Date: 2009-10-08 09:54+0200\n"
-"PO-Revision-Date: 2011-03-31 11:01+0200\n"
+"PO-Revision-Date: 2011-03-31 11:14+0200\n"
 "Last-Translator: Torsten Irländer <torsten.irlaender at intevation.de>\n"
 "Language-Team: de <LL at li.org>\n"
 "Plural-Forms: nplurals=2; plural=(n != 1)\n"
@@ -1133,6 +1133,19 @@
 msgid "< 1 week"
 msgstr "< 1 Woche"
 
+#: mpulsweb/model/appointment.py:574
+#, python-format
+msgid ""
+"Attention! The maximum save duration of %s days is exceeded for %s days "
+"for this case document!"
+msgstr ""
+"Achtung! Die maximale Speicherdauer von %s Tagen ist seit %s Tagen für "
+"diese Fallakte überschritten!"
+
+#: mpulsweb/model/appointment.py:578
+msgid "Inactive case document? Please check, if the case will still be edited."
+msgstr "Inaktive Fallakte? Bitte prüfen Sie, ob der Fall noch bearbeitet wird."
+
 #: mpulsweb/model/case.py:745
 #, python-format
 msgid ""

Modified: base/trunk/mpulsweb/i18n/mpulsweb.pot
===================================================================
--- base/trunk/mpulsweb/i18n/mpulsweb.pot	2011-03-31 09:02:00 UTC (rev 4836)
+++ base/trunk/mpulsweb/i18n/mpulsweb.pot	2011-03-31 09:15:39 UTC (rev 4837)
@@ -8,7 +8,7 @@
 msgstr ""
 "Project-Id-Version: mpulsweb 2.0.0-pre\n"
 "Report-Msgid-Bugs-To: EMAIL at ADDRESS\n"
-"POT-Creation-Date: 2011-03-31 11:01+0200\n"
+"POT-Creation-Date: 2011-03-31 11:14+0200\n"
 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
 "Last-Translator: FULL NAME <EMAIL at ADDRESS>\n"
 "Language-Team: LANGUAGE <LL at li.org>\n"
@@ -943,6 +943,17 @@
 msgid "< 1 week"
 msgstr ""
 
+#: mpulsweb/model/appointment.py:574
+#, python-format
+msgid ""
+"Attention! The maximum save duration of %s days is exceeded for %s days for "
+"this case document!"
+msgstr ""
+
+#: mpulsweb/model/appointment.py:578
+msgid "Inactive case document? Please check, if the case will still be edited."
+msgstr ""
+
 #: mpulsweb/model/case.py:745
 #, python-format
 msgid ""

Modified: base/trunk/mpulsweb/model/appointment.py
===================================================================
--- base/trunk/mpulsweb/model/appointment.py	2011-03-31 09:02:00 UTC (rev 4836)
+++ base/trunk/mpulsweb/model/appointment.py	2011-03-31 09:15:39 UTC (rev 4837)
@@ -571,12 +571,12 @@
         age = datetime.now() - last_date
         mydate = datetime.now() - timedelta(age.days - int(maxage))
         if finished:
-            desc = (u"Achtung! Die maximale Speicherdauer von %s Tagen"
-                    u" ist seit %s Tagen für diese Fallakte überschritten!"
+            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"Inaktive Fallakte? Bitte prüfen Sie,"
-                    u" ob der Fall noch bearbeitet wird.")
+            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