[Mpuls-commits] r4806 - in wasko/trunk: . waskoweb/i18n waskoweb/i18n/de/LC_MESSAGES waskoweb/model
scm-commit@wald.intevation.org
scm-commit at wald.intevation.org
Tue Mar 22 13:51:22 CET 2011
Author: ludwig
Date: 2011-03-22 13:51:20 +0100 (Tue, 22 Mar 2011)
New Revision: 4806
Modified:
wasko/trunk/ChangeLog
wasko/trunk/waskoweb/i18n/de/LC_MESSAGES/waskoweb.po
wasko/trunk/waskoweb/i18n/waskoweb.pot
wasko/trunk/waskoweb/model/appointment.py
Log:
L10n of the strings of appointment.py
Modified: wasko/trunk/ChangeLog
===================================================================
--- wasko/trunk/ChangeLog 2011-03-21 15:12:26 UTC (rev 4805)
+++ wasko/trunk/ChangeLog 2011-03-22 12:51:20 UTC (rev 4806)
@@ -1,3 +1,10 @@
+2011-03-22 Ludwig Reiter <ludwig.reiter at intevation.de>
+
+ * waskoweb/i18n/waskoweb.pot
+ waskoweb/i18n/de/LC_MESSAGES/waskoweb.po
+ waskoweb/model/appointment.py:
+ L10n of the strings of appointment.py
+
2011-03-15 Ludwig Reiter <ludwig.reiter at intevation.de>
* waskoweb/i18n/waskoweb.pot
Modified: wasko/trunk/waskoweb/i18n/de/LC_MESSAGES/waskoweb.po
===================================================================
--- wasko/trunk/waskoweb/i18n/de/LC_MESSAGES/waskoweb.po 2011-03-21 15:12:26 UTC (rev 4805)
+++ wasko/trunk/waskoweb/i18n/de/LC_MESSAGES/waskoweb.po 2011-03-22 12:51:20 UTC (rev 4806)
@@ -8,7 +8,7 @@
"Project-Id-Version: PROJECT VERSION\n"
"Report-Msgid-Bugs-To: EMAIL at ADDRESS\n"
"POT-Creation-Date: 2011-02-16 15:13+0100\n"
-"PO-Revision-Date: 2011-03-15 14:47+0100\n"
+"PO-Revision-Date: 2011-03-22 13:48+0100\n"
"Last-Translator: FULL NAME <EMAIL at ADDRESS>\n"
"Language-Team: de <LL at li.org>\n"
"Plural-Forms: nplurals=2; plural=(n != 1)\n"
@@ -25,6 +25,20 @@
msgid "Please click on ok to continue."
msgstr ""
+#: waskoweb/model/appointment.py:141
+#, python-format
+msgid "Too long Case Management of the case %s, %s"
+msgstr "Zu langer Case-Management der Fallakte von %s, %s"
+
+#: waskoweb/model/appointment.py:144
+#, python-format
+msgid ""
+"The case document exceeds with %.f days the maximal duration of the Phase"
+" Case Management of %s days."
+msgstr ""
+" Die Fallakte überschreitet mit %.f Tagen die maximale Dauer der Phase "
+"Case-Management von %s Tagen."
+
#: waskoweb/templates/caselifetime/abbruch.mako:4
msgid "Abort of the initial documentation"
msgstr "Abbruch der Eingangsdokumentation"
Modified: wasko/trunk/waskoweb/i18n/waskoweb.pot
===================================================================
--- wasko/trunk/waskoweb/i18n/waskoweb.pot 2011-03-21 15:12:26 UTC (rev 4805)
+++ wasko/trunk/waskoweb/i18n/waskoweb.pot 2011-03-22 12:51:20 UTC (rev 4806)
@@ -8,7 +8,7 @@
msgstr ""
"Project-Id-Version: waskoweb 2.0.0-pre\n"
"Report-Msgid-Bugs-To: EMAIL at ADDRESS\n"
-"POT-Creation-Date: 2011-03-15 14:47+0100\n"
+"POT-Creation-Date: 2011-03-22 13:48+0100\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"
@@ -25,6 +25,18 @@
msgid "Please click on ok to continue."
msgstr ""
+#: waskoweb/model/appointment.py:141
+#, python-format
+msgid "Too long Case Management of the case %s, %s"
+msgstr ""
+
+#: waskoweb/model/appointment.py:144
+#, python-format
+msgid ""
+"The case document exceeds with %.f days the maximal duration of the Phase "
+"Case Management of %s days."
+msgstr ""
+
#: waskoweb/templates/caselifetime/abbruch.mako:4
msgid "Abort of the initial documentation"
msgstr ""
Modified: wasko/trunk/waskoweb/model/appointment.py
===================================================================
--- wasko/trunk/waskoweb/model/appointment.py 2011-03-21 15:12:26 UTC (rev 4805)
+++ wasko/trunk/waskoweb/model/appointment.py 2011-03-22 12:51:20 UTC (rev 4806)
@@ -31,6 +31,7 @@
from datetime import datetime, timedelta
import mpulsweb.lib.helpers as h
+from mpulsweb.lib.translation import _, ungettext
from mpulsweb.lib.base import session, g
from mpulsweb.lib.db import db
from mpulsweb.model.case import MpulsCaseOverview
@@ -137,11 +138,10 @@
factory = CaseAppointmentFactory()
type = 1
case = g.case_factory.loadById(case_id)
- title = u"Zu langer Case-Management der Fallakte von %s, %s" %\
+ title = _(u"Too long Case Management of the case %s, %s") %\
(case.last_name, case.first_name)
- description = u''' Die Fallakte überschreitet mit %.f Tagen die maximale
- Dauer der Phase Case-Management von %s Tagen.''' % \
+ description = _(u'''The case document exceeds with %.f days the maximal duration of the Phase Case Management of %s days.''') % \
(duration, max_duration)
appointment = factory.createByData(None, title, datetime.now(), None,
description, case.id, type)
More information about the Mpuls-commits
mailing list