From ec5da322a9b56e8edd5f3b4d1ef69255852b8a79 Mon Sep 17 00:00:00 2001 From: Jan Dittberner Date: Sat, 14 Mar 2009 22:08:37 +0100 Subject: [PATCH] make more strings translatable (addresses #16) --- .../i18n/de/LC_MESSAGES/pyalchemybiz.mo | Bin 1649 -> 1728 bytes .../i18n/de/LC_MESSAGES/pyalchemybiz.po | 25 +++++++++++------- pyalchemybiz/i18n/pyalchemybiz.pot | 14 +++++++--- pyalchemybiz/templates/base/base.mako | 3 +-- .../templates/derived/customer/list.mako | 2 +- 5 files changed, 28 insertions(+), 16 deletions(-) diff --git a/pyalchemybiz/i18n/de/LC_MESSAGES/pyalchemybiz.mo b/pyalchemybiz/i18n/de/LC_MESSAGES/pyalchemybiz.mo index dc3de414ba57352e14f95b8c6c33ee1b62a62876..e9a53f7fc1fdaa2c443e98fce7da7e7719b795a0 100644 GIT binary patch delta 484 zcmYk%JuE{}6u|NG+V_05rRsB#Xlo!*Nn;@f8w;@zQKlw+nwRiMv=JhClc7lsJl%vz z6Pu(7tI=YRm<$#Ji-e6q;(yW(ZtlImd+xcPU*Wrm_YyNJLg}Lo(4I8-SIUM+hWH4h z_=e5+jS*cJ5b1(;Y{4Xka1=E^(a6tW2XUq`@6`2Vmw|3L#5O#}FrMKMUSSd+FoB<_ z`B<>-AW|horx&L2gvU+e8u6nk(vM@7NGHys-nW9?;)&!KP-Ty<6+P4iCDb2RP+wj} zJ>aI{J?f92QTM%~?)$)D{J|6^nz$SnP#=DPJy^o19(=(-y+;4s9Pv+$vN`YU6#U-6 zdvIxM+y4z*n&VUH$yzmdYgikk?Ao#wG7_uB&G@426l^!^u4mo6%oW|7?Z&h2zU|~~ GSN;HO;XNP# delta 419 zcmYk&F-XHe6oBEE|z!_aT0$pg{~`-!3^s2X&l29)cjKH4w6@w3X4%T4$()8dAz~}yvKQbL*4(5?V}#} zhc|rO_e2gf--yiMFOFj_F(_yebHr=NCEMK6VnudYXlE7FN>5NF6RIM diff --git a/pyalchemybiz/i18n/de/LC_MESSAGES/pyalchemybiz.po b/pyalchemybiz/i18n/de/LC_MESSAGES/pyalchemybiz.po index c5a5c2b..482df35 100644 --- a/pyalchemybiz/i18n/de/LC_MESSAGES/pyalchemybiz.po +++ b/pyalchemybiz/i18n/de/LC_MESSAGES/pyalchemybiz.po @@ -9,7 +9,7 @@ msgstr "" "Project-Id-Version: pyalchemybiz 0.1\n" "Report-Msgid-Bugs-To: jan@dittberner.info\n" "POT-Creation-Date: 2008-10-06 00:50+0200\n" -"PO-Revision-Date: 2009-03-14 20:37+0100\n" +"PO-Revision-Date: 2009-03-14 22:08+0100\n" "Last-Translator: Jan Dittberner \n" "Language-Team: de \n" "Plural-Forms: nplurals=2; plural=(n != 1)\n" @@ -32,11 +32,15 @@ msgstr "Bitte geben Sie den Nachnamen des Kunden ein." msgid "Customer management" msgstr "Kundenverwaltung" -#: pyalchemybiz/templates/base/base.mako:23 -#: pyalchemybiz/templates/base/base.mako:28 +#: pyalchemybiz/templates/base/base.mako:22 +#: pyalchemybiz/templates/base/base.mako:27 msgid "PyAlchemyBiz" msgstr "PyAlchemyBiz" +#: pyalchemybiz/templates/base/base.mako:29 +msgid "Top" +msgstr "Zum Seitenanfang" + #: pyalchemybiz/templates/derived/customer/edit.mako:5 #: pyalchemybiz/templates/derived/customer/edit.mako:11 msgid "Edit customer" @@ -56,19 +60,24 @@ msgstr "Vorname:" msgid "Last name:" msgstr "Nachname:" +#: pyalchemybiz/templates/derived/customer/list.mako:3 +#| msgid "Customer ID" +msgid "Customer List" +msgstr "Kundenliste" + #: pyalchemybiz/templates/derived/customer/list.mako:28 msgid "" "$link_first $link_previous $first_item to $last_item of $item_count " "$link_next $link_last" -msgstr "$link_first $link_previous $first_item bis $last_item von $item_count $link_next $link_last" +msgstr "" +"$link_first $link_previous $first_item bis $last_item von $item_count " +"$link_next $link_last" #: pyalchemybiz/templates/derived/customer/list.mako:31 -#| msgid "view customer" msgid "Customer ID" msgstr "Kunden ID" #: pyalchemybiz/templates/derived/customer/list.mako:32 -#| msgid "view customer" msgid "Customer" msgstr "Kunde" @@ -94,22 +103,18 @@ msgid "View customer" msgstr "Kunden anzeigen" #: pyalchemybiz/templates/derived/customer/view.mako:18 -#| msgid "delete customer" msgid "All Customers" msgstr "Alle Kunden" #: pyalchemybiz/templates/derived/customer/view.mako:19 -#| msgid "view customer" msgid "New Customer" msgstr "Neuer Kunde" #: pyalchemybiz/templates/derived/customer/view.mako:20 -#| msgid "edit customer" msgid "Edit Customer" msgstr "Kunden bearbeiten" #: pyalchemybiz/templates/derived/customer/view.mako:21 -#| msgid "delete customer" msgid "Delete Customer" msgstr "Kunden löschen" diff --git a/pyalchemybiz/i18n/pyalchemybiz.pot b/pyalchemybiz/i18n/pyalchemybiz.pot index b8867d9..a20f4d4 100644 --- a/pyalchemybiz/i18n/pyalchemybiz.pot +++ b/pyalchemybiz/i18n/pyalchemybiz.pot @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: pyalchemybiz 0.1\n" "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" -"POT-Creation-Date: 2009-03-14 20:35+0100\n" +"POT-Creation-Date: 2009-03-14 22:07+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -30,11 +30,15 @@ msgstr "" msgid "Customer management" msgstr "" -#: pyalchemybiz/templates/base/base.mako:23 -#: pyalchemybiz/templates/base/base.mako:28 +#: pyalchemybiz/templates/base/base.mako:22 +#: pyalchemybiz/templates/base/base.mako:27 msgid "PyAlchemyBiz" msgstr "" +#: pyalchemybiz/templates/base/base.mako:29 +msgid "Top" +msgstr "" + #: pyalchemybiz/templates/derived/customer/edit.mako:5 #: pyalchemybiz/templates/derived/customer/edit.mako:11 msgid "Edit customer" @@ -54,6 +58,10 @@ msgstr "" msgid "Last name:" msgstr "" +#: pyalchemybiz/templates/derived/customer/list.mako:3 +msgid "Customer List" +msgstr "" + #: pyalchemybiz/templates/derived/customer/list.mako:28 msgid "" "$link_first $link_previous $first_item to $last_item of $item_count " diff --git a/pyalchemybiz/templates/base/base.mako b/pyalchemybiz/templates/base/base.mako index 227364d..8d72ab0 100644 --- a/pyalchemybiz/templates/base/base.mako +++ b/pyalchemybiz/templates/base/base.mako @@ -1,5 +1,4 @@ ## -*- coding: utf-8 -*- - @@ -27,4 +26,4 @@ <%def name="menu()"> <%def name="heading()">

${c.heading or _('PyAlchemyBiz')}

<%def name="breadcrumbs()"> -<%def name="footer()">

Top ^

+<%def name="footer()">

${_('Top')} ^

diff --git a/pyalchemybiz/templates/derived/customer/list.mako b/pyalchemybiz/templates/derived/customer/list.mako index c773b88..1ea7134 100644 --- a/pyalchemybiz/templates/derived/customer/list.mako +++ b/pyalchemybiz/templates/derived/customer/list.mako @@ -1,6 +1,6 @@ <%inherit file="/base/customer.mako" /> -<%def name="heading()">

Customer List

+<%def name="heading()">

${_('Customer List')}

<%def name="buildrow(customer, odd=True)"> %if odd: