[Mpuls-commits] r4743 - in base/trunk: . mpulsweb/i18n mpulsweb/i18n/de/LC_MESSAGES mpulsweb/templates/appointments mpulsweb/templates/dialogs

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Wed Mar 2 12:37:19 CET 2011


Author: ludwig
Date: 2011-03-02 12:37:16 +0100 (Wed, 02 Mar 2011)
New Revision: 4743

Modified:
   base/trunk/ChangeLog
   base/trunk/mpulsweb/i18n/de/LC_MESSAGES/mpulsweb.po
   base/trunk/mpulsweb/i18n/mpulsweb.pot
   base/trunk/mpulsweb/templates/appointments/edit_body.mako
   base/trunk/mpulsweb/templates/appointments/new.mako
   base/trunk/mpulsweb/templates/appointments/overview_body.mako
   base/trunk/mpulsweb/templates/appointments/remindlist_body.mako
   base/trunk/mpulsweb/templates/appointments/show_body.mako
   base/trunk/mpulsweb/templates/dialogs/confirm.mako
   base/trunk/mpulsweb/templates/dialogs/failed.mako
   base/trunk/mpulsweb/templates/dialogs/notification.mako
   base/trunk/mpulsweb/templates/dialogs/success.mako
Log:
translate untranslated strings (part 1)

Modified: base/trunk/ChangeLog
===================================================================
--- base/trunk/ChangeLog	2011-03-02 10:47:36 UTC (rev 4742)
+++ base/trunk/ChangeLog	2011-03-02 11:37:16 UTC (rev 4743)
@@ -2,6 +2,21 @@
 
 	* mpulsweb/i18n/mpulsweb.pot
 	mpulsweb/i18n/de/LC_MESSAGES/mpulsweb.po
+	mpulsweb/templates/appointments/new.mako
+	mpulsweb/templates/appointments/show_body.mako
+	mpulsweb/templates/appointments/edit_body.mako
+	mpulsweb/templates/appointments/overview_body.mako
+	mpulsweb/templates/appointments/remindlist_body.mako
+	mpulsweb/templates/dialogs/confirm.mako
+	mpulsweb/templates/dialogs/failed.mako
+	mpulsweb/templates/dialogs/notification.mako
+	mpulsweb/templates/dialogs/success.mako:
+	Translation untranslated strings (part 1)
+
+2011-03-02  Ludwig Reiter <ludwig.reiter at intevation.de>
+
+	* mpulsweb/i18n/mpulsweb.pot
+	mpulsweb/i18n/de/LC_MESSAGES/mpulsweb.po
 	mpulsweb/templates/auth/login.mako:
 	Issue1882: Changed the login button back to "Anmelden".
 

Modified: base/trunk/mpulsweb/i18n/de/LC_MESSAGES/mpulsweb.po
===================================================================
--- base/trunk/mpulsweb/i18n/de/LC_MESSAGES/mpulsweb.po	2011-03-02 10:47:36 UTC (rev 4742)
+++ base/trunk/mpulsweb/i18n/de/LC_MESSAGES/mpulsweb.po	2011-03-02 11:37:16 UTC (rev 4743)
@@ -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-02 11:40+0100\n"
+"PO-Revision-Date: 2011-03-02 12:30+0100\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"
@@ -348,14 +348,14 @@
 "Bei dem Import ist ein Fehler aufgetreten. Klicken Sie auf \"OK\", um zu "
 "dem Importdialog zurückzukehren."
 
-#: mpulsweb/controllers/case.py:216 mpulsweb/model/case.py:1346
+#: mpulsweb/controllers/case.py:216 mpulsweb/model/case.py:1355
 #: mpulsweb/model/phase.py:299
 #: mpulsweb/templates/casemanagement/caselist.mako:151
 #: mpulsweb/templates/phase/phase.mako:51
 msgid "Running"
 msgstr "laufend"
 
-#: mpulsweb/controllers/case.py:218 mpulsweb/model/case.py:1348
+#: mpulsweb/controllers/case.py:218 mpulsweb/model/case.py:1357
 #: mpulsweb/model/phase.py:301
 #: mpulsweb/templates/casemanagement/caselist.mako:154
 #: mpulsweb/templates/phase/phase.mako:53
@@ -1047,42 +1047,42 @@
 msgid "< 1 week"
 msgstr "< 1 Woche"
 
-#: mpulsweb/model/case.py:1042
+#: mpulsweb/model/case.py:1051
 msgid "Error on fetching data for formletter"
 msgstr "Fehler beim Laden der Daten für Serienbrieffunktion"
 
-#: mpulsweb/model/case.py:1298 mpulsweb/model/case.py:1299
+#: mpulsweb/model/case.py:1307 mpulsweb/model/case.py:1308
 #: mpulsweb/templates/casemanagement/caselist.mako:180
 #: mpulsweb/templates/casemanagement/caselist.mako:181
 #: mpulsweb/templates/search/search.mako:66
 msgid "Editable"
 msgstr "Bearbeitbar"
 
-#: mpulsweb/model/case.py:1300
+#: mpulsweb/model/case.py:1309
 msgid "Outstanding deleted"
 msgstr "Schwebend gelöscht"
 
-#: mpulsweb/model/case.py:1301
+#: mpulsweb/model/case.py:1310
 msgid "Outstanding made anonymous"
 msgstr "Schwebend anonymisiert"
 
-#: mpulsweb/model/case.py:1302
+#: mpulsweb/model/case.py:1311
 msgid "Make anonymous"
 msgstr "Anonymisiert"
 
-#: mpulsweb/model/case.py:1451
+#: mpulsweb/model/case.py:1460
 #, python-format
 msgid "The case with UUID '%s' could not be imported due to rule violations"
 msgstr ""
 "Der Fall mit der UUID '%s' konnte wegen Regelverletzungen nicht "
 "importiert werden."
 
-#: mpulsweb/model/case.py:1481
+#: mpulsweb/model/case.py:1490
 #, python-format
 msgid "The case with UUID '%s' was anonymized already."
 msgstr "Der Fall mit der UUID '%s' wurde bereits anonymisiert."
 
-#: mpulsweb/model/case.py:1484
+#: mpulsweb/model/case.py:1493
 #, python-format
 msgid ""
 "The case with UUID '%s' is either marked for anonymization or marked for "
@@ -1091,7 +1091,7 @@
 "Der Fall mit der UUID '%s' ist entweder schwebend anonymisiert oder "
 "schwebend gelöscht."
 
-#: mpulsweb/model/case.py:1516
+#: mpulsweb/model/case.py:1525
 #, python-format
 msgid "The XML file has the version '%s', but supported is only version '%s'"
 msgstr ""
@@ -1804,6 +1804,16 @@
 msgid "Type of event"
 msgstr "Art des Termins"
 
+#: mpulsweb/templates/appointments/edit_body.mako:52
+#: mpulsweb/templates/appointments/show_body.mako:19
+msgid "regular event"
+msgstr "normaler Termin"
+
+#: mpulsweb/templates/appointments/edit_body.mako:53
+#: mpulsweb/templates/appointments/show_body.mako:21
+msgid "reminder"
+msgstr "Wiedervorlage"
+
 #: mpulsweb/templates/appointments/edit_body.mako:59
 #: mpulsweb/templates/appointments/edit_body.mako:62
 #: mpulsweb/templates/appointments/show_body.mako:25
@@ -1846,6 +1856,14 @@
 msgid "Date"
 msgstr "Datum"
 
+#: mpulsweb/templates/appointments/overview_body.mako:24
+msgid "No event found"
+msgstr "Keine Termine gefunden"
+
+#: mpulsweb/templates/appointments/remindlist_body.mako:27
+msgid "No reminder found"
+msgstr "Keine Wiedervorlagen gefunden"
+
 #: mpulsweb/templates/appointments/show.mako:5
 #: mpulsweb/templates/appointments/show.mako:9
 #: mpulsweb/templates/casemanagement/editAppointment.mako:18
@@ -1988,6 +2006,8 @@
 msgstr "Bitte wählen Sie die neuen Vertreter für die folgenden Akten aus"
 
 #: mpulsweb/templates/casebundle/standin.mako:28
+#: mpulsweb/templates/dialogs/confirm.mako:4
+#: mpulsweb/templates/dialogs/notification.mako:4
 msgid "attention"
 msgstr "Achtung"
 
@@ -2458,6 +2478,10 @@
 msgid "Restore successfully!"
 msgstr "Wiederherstellen erfolgreich!"
 
+#: mpulsweb/templates/dialogs/failed.mako:4
+msgid "Error"
+msgstr "Fehler"
+
 #: mpulsweb/templates/dialogs/failed.mako:6
 #: mpulsweb/templates/dialogs/notification.mako:6
 #: mpulsweb/templates/dialogs/success.mako:8
@@ -2466,6 +2490,10 @@
 msgid "OK"
 msgstr "OK"
 
+#: mpulsweb/templates/dialogs/success.mako:4
+msgid "Resolved"
+msgstr "Erledigt"
+
 #: mpulsweb/templates/documents/case_new.mako:17
 #: mpulsweb/templates/documents/case_overview.mako:25
 #: mpulsweb/templates/documents/dialogs/success_attachment.mako:5

Modified: base/trunk/mpulsweb/i18n/mpulsweb.pot
===================================================================
--- base/trunk/mpulsweb/i18n/mpulsweb.pot	2011-03-02 10:47:36 UTC (rev 4742)
+++ base/trunk/mpulsweb/i18n/mpulsweb.pot	2011-03-02 11:37:16 UTC (rev 4743)
@@ -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-02 11:40+0100\n"
+"POT-Creation-Date: 2011-03-02 12:30+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"
@@ -288,13 +288,13 @@
 "Click 'OK' to return to the import dialog."
 msgstr ""
 
-#: mpulsweb/controllers/case.py:216 mpulsweb/model/case.py:1346
+#: mpulsweb/controllers/case.py:216 mpulsweb/model/case.py:1355
 #: mpulsweb/model/phase.py:299 mpulsweb/templates/casemanagement/caselist.mako:151
 #: mpulsweb/templates/phase/phase.mako:51
 msgid "Running"
 msgstr ""
 
-#: mpulsweb/controllers/case.py:218 mpulsweb/model/case.py:1348
+#: mpulsweb/controllers/case.py:218 mpulsweb/model/case.py:1357
 #: mpulsweb/model/phase.py:301 mpulsweb/templates/casemanagement/caselist.mako:154
 #: mpulsweb/templates/phase/phase.mako:53 mpulsweb/templates/phase/phase.mako:55
 msgid "Finished"
@@ -875,47 +875,47 @@
 msgid "< 1 week"
 msgstr ""
 
-#: mpulsweb/model/case.py:1042
+#: mpulsweb/model/case.py:1051
 msgid "Error on fetching data for formletter"
 msgstr ""
 
-#: mpulsweb/model/case.py:1298 mpulsweb/model/case.py:1299
+#: mpulsweb/model/case.py:1307 mpulsweb/model/case.py:1308
 #: mpulsweb/templates/casemanagement/caselist.mako:180
 #: mpulsweb/templates/casemanagement/caselist.mako:181
 #: mpulsweb/templates/search/search.mako:66
 msgid "Editable"
 msgstr ""
 
-#: mpulsweb/model/case.py:1300
+#: mpulsweb/model/case.py:1309
 msgid "Outstanding deleted"
 msgstr ""
 
-#: mpulsweb/model/case.py:1301
+#: mpulsweb/model/case.py:1310
 msgid "Outstanding made anonymous"
 msgstr ""
 
-#: mpulsweb/model/case.py:1302
+#: mpulsweb/model/case.py:1311
 msgid "Make anonymous"
 msgstr ""
 
-#: mpulsweb/model/case.py:1451
+#: mpulsweb/model/case.py:1460
 #, python-format
 msgid "The case with UUID '%s' could not be imported due to rule violations"
 msgstr ""
 
-#: mpulsweb/model/case.py:1481
+#: mpulsweb/model/case.py:1490
 #, python-format
 msgid "The case with UUID '%s' was anonymized already."
 msgstr ""
 
-#: mpulsweb/model/case.py:1484
+#: mpulsweb/model/case.py:1493
 #, python-format
 msgid ""
 "The case with UUID '%s' is either marked for anonymization or marked for "
 "deletion."
 msgstr ""
 
-#: mpulsweb/model/case.py:1516
+#: mpulsweb/model/case.py:1525
 #, python-format
 msgid "The XML file has the version '%s', but supported is only version '%s'"
 msgstr ""
@@ -1611,6 +1611,16 @@
 msgid "Type of event"
 msgstr ""
 
+#: mpulsweb/templates/appointments/edit_body.mako:52
+#: mpulsweb/templates/appointments/show_body.mako:19
+msgid "regular event"
+msgstr ""
+
+#: mpulsweb/templates/appointments/edit_body.mako:53
+#: mpulsweb/templates/appointments/show_body.mako:21
+msgid "reminder"
+msgstr ""
+
 #: mpulsweb/templates/appointments/edit_body.mako:59
 #: mpulsweb/templates/appointments/edit_body.mako:62
 #: mpulsweb/templates/appointments/show_body.mako:25
@@ -1653,6 +1663,14 @@
 msgid "Date"
 msgstr ""
 
+#: mpulsweb/templates/appointments/overview_body.mako:24
+msgid "No event found"
+msgstr ""
+
+#: mpulsweb/templates/appointments/remindlist_body.mako:27
+msgid "No reminder found"
+msgstr ""
+
 #: mpulsweb/templates/appointments/show.mako:5
 #: mpulsweb/templates/appointments/show.mako:9
 #: mpulsweb/templates/casemanagement/editAppointment.mako:18
@@ -1790,6 +1808,8 @@
 msgstr ""
 
 #: mpulsweb/templates/casebundle/standin.mako:28
+#: mpulsweb/templates/dialogs/confirm.mako:4
+#: mpulsweb/templates/dialogs/notification.mako:4
 msgid "attention"
 msgstr ""
 
@@ -2246,6 +2266,10 @@
 msgid "Restore successfully!"
 msgstr ""
 
+#: mpulsweb/templates/dialogs/failed.mako:4
+msgid "Error"
+msgstr ""
+
 #: mpulsweb/templates/dialogs/failed.mako:6
 #: mpulsweb/templates/dialogs/notification.mako:6
 #: mpulsweb/templates/dialogs/success.mako:8
@@ -2254,6 +2278,10 @@
 msgid "OK"
 msgstr ""
 
+#: mpulsweb/templates/dialogs/success.mako:4
+msgid "Resolved"
+msgstr ""
+
 #: mpulsweb/templates/documents/case_new.mako:17
 #: mpulsweb/templates/documents/case_overview.mako:25
 #: mpulsweb/templates/documents/dialogs/success_attachment.mako:5

Modified: base/trunk/mpulsweb/templates/appointments/edit_body.mako
===================================================================
--- base/trunk/mpulsweb/templates/appointments/edit_body.mako	2011-03-02 10:47:36 UTC (rev 4742)
+++ base/trunk/mpulsweb/templates/appointments/edit_body.mako	2011-03-02 11:37:16 UTC (rev 4743)
@@ -49,8 +49,8 @@
     % else:
       <select class="field" id="title" name="type">
     % endif
-        <option value="0">Normaler Termin</option>
-        <option value="1">Wiedervorlage</option>
+        <option value="0">${_('regular event')}</option>
+        <option value="1">${_('reminder')}</option>
       </select>
   </div>
   % endif

Modified: base/trunk/mpulsweb/templates/appointments/new.mako
===================================================================
--- base/trunk/mpulsweb/templates/appointments/new.mako	2011-03-02 10:47:36 UTC (rev 4742)
+++ base/trunk/mpulsweb/templates/appointments/new.mako	2011-03-02 11:37:16 UTC (rev 4743)
@@ -1,10 +1,10 @@
 <%inherit file="../main.mako" />
 <%
-formular_labels = {'start_date' : 'app_form_startdate',
-                   'start_time' : 'app_form_startdate',
-                   'end_date'   : 'app_form_enddate',
-                   'end_time'   : 'app_form_endtime',
-                   'title'      : 'app_form_title'
+formular_labels = {'start_date' : 'Startdate',
+                   'start_time' : 'Starttime',
+                   'end_date'   : 'Enddate',
+                   'end_time'   : 'Endtime',
+                   'title'      : 'Title'
                   }
 %>
 <%def name="buildNavipath()">

Modified: base/trunk/mpulsweb/templates/appointments/overview_body.mako
===================================================================
--- base/trunk/mpulsweb/templates/appointments/overview_body.mako	2011-03-02 10:47:36 UTC (rev 4742)
+++ base/trunk/mpulsweb/templates/appointments/overview_body.mako	2011-03-02 11:37:16 UTC (rev 4743)
@@ -21,7 +21,7 @@
   % endfor
   % if len(c.appointmentlist.getDatasets()) <= 0:
   <tr>
-    <td colspan="3">Keine Termine gefunden</td>
+    <td colspan="3">${_('No event found')}</td>
   </tr>
   % endif
 </table>

Modified: base/trunk/mpulsweb/templates/appointments/remindlist_body.mako
===================================================================
--- base/trunk/mpulsweb/templates/appointments/remindlist_body.mako	2011-03-02 10:47:36 UTC (rev 4742)
+++ base/trunk/mpulsweb/templates/appointments/remindlist_body.mako	2011-03-02 11:37:16 UTC (rev 4743)
@@ -24,7 +24,7 @@
   % endfor
   % if len(c.remindlist.getDatasets()) <= 0:
   <tr>
-    <td colspan="3">Keine Wiedervorlagen gefunden</td>
+    <td colspan="3">${_('No reminder found')}</td>
   </tr>
   % endif
 </table>

Modified: base/trunk/mpulsweb/templates/appointments/show_body.mako
===================================================================
--- base/trunk/mpulsweb/templates/appointments/show_body.mako	2011-03-02 10:47:36 UTC (rev 4742)
+++ base/trunk/mpulsweb/templates/appointments/show_body.mako	2011-03-02 11:37:16 UTC (rev 4743)
@@ -16,9 +16,9 @@
     <tr>
       <td class="label">${_('Type of event')}</td>
         % if c.appointment.type == 0:
-          <td class="table_row_v_2">normaler Termin</td>
+          <td class="table_row_v_2">${_('regular event')}</td>
         % else:
-          <td class="table_row_v_2">Wiedervorlage</td>
+          <td class="table_row_v_2">${_('reminder')}</td>
         % endif
     </tr>
     <tr>

Modified: base/trunk/mpulsweb/templates/dialogs/confirm.mako
===================================================================
--- base/trunk/mpulsweb/templates/dialogs/confirm.mako	2011-03-02 10:47:36 UTC (rev 4742)
+++ base/trunk/mpulsweb/templates/dialogs/confirm.mako	2011-03-02 11:37:16 UTC (rev 4743)
@@ -1,7 +1,7 @@
 ## -*- coding: utf-8 -*-
 <%!  import mpulsweb.lib.helper.filters as F %>
 <div class="dialog">
-<h1><img src="${h.url_for('/images/icons/info/question.png')}" alt="achtung" width="48" height="48">${c.dialog_title or c.confirm_for}</h1>
+<h1><img src="${h.url_for('/images/icons/info/question.png')}" alt="${_('attention')}" width="48" height="48">${c.dialog_title or c.confirm_for}</h1>
 <p>${h.literal(c.dialog_text or c.question)}</p>
 <a class="button" href="${c.url_yes}">${_('Yes')}</a>
 <a class="button" href="${c.url_no}">${_('No')}</a>

Modified: base/trunk/mpulsweb/templates/dialogs/failed.mako
===================================================================
--- base/trunk/mpulsweb/templates/dialogs/failed.mako	2011-03-02 10:47:36 UTC (rev 4742)
+++ base/trunk/mpulsweb/templates/dialogs/failed.mako	2011-03-02 11:37:16 UTC (rev 4743)
@@ -1,7 +1,7 @@
 ## -*- coding: utf-8 -*-
 <%!  import mpulsweb.lib.helper.filters as F %>
 <div class="dialog" />
-<h1><img src="${h.url_for('/images/icons/info/failure.png')}" alt="Fehler" width="48" height="48"/>${c.dialog_title | F.NA}</h1>
+<h1><img src="${h.url_for('/images/icons/info/failure.png')}" alt="${_('Error')}" width="48" height="48"/>${c.dialog_title | F.NA}</h1>
 <p>${h.literal(c.dialog_text) | F.NA}</p>
 <a class="button" href="${c.url_ok}">${_('OK')}</a>
 </div>

Modified: base/trunk/mpulsweb/templates/dialogs/notification.mako
===================================================================
--- base/trunk/mpulsweb/templates/dialogs/notification.mako	2011-03-02 10:47:36 UTC (rev 4742)
+++ base/trunk/mpulsweb/templates/dialogs/notification.mako	2011-03-02 11:37:16 UTC (rev 4743)
@@ -1,7 +1,7 @@
 ## -*- coding: utf-8 -*-
 <%!  import mpulsweb.lib.helper.filters as F %>
 <div class="dialog" />
-<h1><img src="${h.url_for('/images/icons/info/alert.png')}" alt="Achtung"/>${c.dialog_title}</h1>
+<h1><img src="${h.url_for('/images/icons/info/alert.png')}" alt="${_('attention')}"/>${c.dialog_title}</h1>
 <p>${c.dialog_text}</p>
 <a class="button" href="${c.url_ok}">${_('OK')}</a>
 </div>

Modified: base/trunk/mpulsweb/templates/dialogs/success.mako
===================================================================
--- base/trunk/mpulsweb/templates/dialogs/success.mako	2011-03-02 10:47:36 UTC (rev 4742)
+++ base/trunk/mpulsweb/templates/dialogs/success.mako	2011-03-02 11:37:16 UTC (rev 4743)
@@ -1,7 +1,7 @@
 ## -*- coding: utf-8 -*-
 <%!  import mpulsweb.lib.helper.filters as F %>
 <div class="dialog">
-<h1><img src="${h.url_for('/images/icons/info/confirmation.png')}" alt="Erledigt"
+<h1><img src="${h.url_for('/images/icons/info/confirmation.png')}" alt="${_('Resolved')}"
     width="48"
     height="48">${c.dialog_title or c.success_for | F.NA}</h1>
 <p>${c.dialog_text or c.success_text | F.NA}</p>



More information about the Mpuls-commits mailing list