[Mpuls-commits] r4838 - in base/trunk: . mpulsweb/controllers mpulsweb/i18n mpulsweb/i18n/de/LC_MESSAGES

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


Author: ludwig
Date: 2011-03-31 11:27:43 +0200 (Thu, 31 Mar 2011)
New Revision: 4838

Modified:
   base/trunk/ChangeLog
   base/trunk/mpulsweb/controllers/case.py
   base/trunk/mpulsweb/i18n/de/LC_MESSAGES/mpulsweb.po
   base/trunk/mpulsweb/i18n/mpulsweb.pot
Log:
I18n of the case.py controller

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

Modified: base/trunk/mpulsweb/controllers/case.py
===================================================================
--- base/trunk/mpulsweb/controllers/case.py	2011-03-31 09:15:39 UTC (rev 4837)
+++ base/trunk/mpulsweb/controllers/case.py	2011-03-31 09:27:43 UTC (rev 4838)
@@ -270,8 +270,8 @@
         case = self._loadCase(id)
         if confirmed == 1:
             case.restore()
-            c.dialog_title = u'Fallakte wiederhergestellt!'
-            c.dialog_text = u'Bitte klicken Sie "OK", um fortzufahren.'
+            c.dialog_title = ${_(u'Case restored!')}
+            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')
         else:

Modified: base/trunk/mpulsweb/i18n/de/LC_MESSAGES/mpulsweb.po
===================================================================
--- base/trunk/mpulsweb/i18n/de/LC_MESSAGES/mpulsweb.po	2011-03-31 09:15:39 UTC (rev 4837)
+++ base/trunk/mpulsweb/i18n/de/LC_MESSAGES/mpulsweb.po	2011-03-31 09:27:43 UTC (rev 4838)
@@ -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:14+0200\n"
+"PO-Revision-Date: 2011-03-31 11:24+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"
@@ -443,6 +443,18 @@
 msgid "Finished"
 msgstr "beendet"
 
+#: mpulsweb/controllers/case.py:273 mpulsweb/controllers/case_bundle.py:424
+msgid "Case restored!"
+msgid_plural "Cases restored!"
+msgstr[0] "Fallakte wiederhergestellt!"
+msgstr[1] "Fallakten wiederhergestellt!"
+
+#: mpulsweb/controllers/case.py:274 mpulsweb/controllers/case_bundle.py:40
+#: mpulsweb/controllers/casedocument.py:22 mpulsweb/controllers/document.py:43
+#: mpulsweb/controllers/usersettings.py:49
+msgid "Please click OK to continue."
+msgstr "Bitte klicken Sie auf OK, um fortzufahren."
+
 #: mpulsweb/controllers/case.py:396
 msgid "Case copied!"
 msgstr "Fallakte kopiert"
@@ -516,12 +528,6 @@
 "Fallakten in einem Zustand befinden, aus dem Sie die Aktion ausführen "
 "können."
 
-#: mpulsweb/controllers/case_bundle.py:40
-#: mpulsweb/controllers/casedocument.py:22 mpulsweb/controllers/document.py:43
-#: mpulsweb/controllers/usersettings.py:49
-msgid "Please click OK to continue."
-msgstr "Bitte klicken Sie auf OK, um fortzufahren."
-
 #: mpulsweb/controllers/case_bundle.py:199
 msgid "Case was marked for evaluation"
 msgid_plural "Cases were marked for evaluation"
@@ -666,12 +672,6 @@
 "mehr zur Bearbeitung zur Verfügung. Die anonymisierten Fallakten werden "
 "weiterhin in der Auswertung berücksichtigt werden.%s"
 
-#: mpulsweb/controllers/case_bundle.py:424
-msgid "Case restored!"
-msgid_plural "Cases restored!"
-msgstr[0] "Fallakte wiederhergestellt!"
-msgstr[1] "Fallakten wiederhergestellt!"
-
 #: mpulsweb/controllers/case_bundle.py:426
 #, python-format
 msgid "%s was successfully restored."

Modified: base/trunk/mpulsweb/i18n/mpulsweb.pot
===================================================================
--- base/trunk/mpulsweb/i18n/mpulsweb.pot	2011-03-31 09:15:39 UTC (rev 4837)
+++ base/trunk/mpulsweb/i18n/mpulsweb.pot	2011-03-31 09:27:43 UTC (rev 4838)
@@ -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:14+0200\n"
+"POT-Creation-Date: 2011-03-31 11:23+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"
@@ -364,6 +364,18 @@
 msgid "Finished"
 msgstr ""
 
+#: mpulsweb/controllers/case.py:273 mpulsweb/controllers/case_bundle.py:424
+msgid "Case restored!"
+msgid_plural "Cases restored!"
+msgstr[0] ""
+msgstr[1] ""
+
+#: mpulsweb/controllers/case.py:274 mpulsweb/controllers/case_bundle.py:40
+#: mpulsweb/controllers/casedocument.py:22 mpulsweb/controllers/document.py:43
+#: mpulsweb/controllers/usersettings.py:49
+msgid "Please click OK to continue."
+msgstr ""
+
 #: mpulsweb/controllers/case.py:396
 msgid "Case copied!"
 msgstr ""
@@ -418,11 +430,6 @@
 "in a state from which you can execute the selected action."
 msgstr ""
 
-#: mpulsweb/controllers/case_bundle.py:40 mpulsweb/controllers/casedocument.py:22
-#: mpulsweb/controllers/document.py:43 mpulsweb/controllers/usersettings.py:49
-msgid "Please click OK to continue."
-msgstr ""
-
 #: mpulsweb/controllers/case_bundle.py:199
 msgid "Case was marked for evaluation"
 msgid_plural "Cases were marked for evaluation"
@@ -541,12 +548,6 @@
 msgstr[0] ""
 msgstr[1] ""
 
-#: mpulsweb/controllers/case_bundle.py:424
-msgid "Case restored!"
-msgid_plural "Cases restored!"
-msgstr[0] ""
-msgstr[1] ""
-
 #: mpulsweb/controllers/case_bundle.py:426
 #, python-format
 msgid "%s was successfully restored."



More information about the Mpuls-commits mailing list