From 32d56dcd5977c4cb2a5b7b3c0f16577c6100b86b Mon Sep 17 00:00:00 2001 From: Marcello Stanisci Date: Tue, 4 Sep 2018 13:05:27 +0200 Subject: i18n. Wrapping all translatable strings within "_()" and provide a first italian version of the site. --- .../backoffice/templates/backoffice.html | 31 ++++----- talerbackoffice/backoffice/templates/base.html | 5 +- .../translations/de/LC_MESSAGES/messages.po | 59 ++++++++++++++--- .../translations/en/LC_MESSAGES/messages.po | 59 ++++++++++++++--- .../translations/es/LC_MESSAGES/messages.po | 59 ++++++++++++++--- .../translations/fr/LC_MESSAGES/messages.po | 59 ++++++++++++++--- .../translations/it/LC_MESSAGES/messages.po | 74 ++++++++++++++++++---- .../translations/pt/LC_MESSAGES/messages.po | 59 ++++++++++++++--- .../translations/ru/LC_MESSAGES/messages.po | 59 ++++++++++++++--- 9 files changed, 388 insertions(+), 76 deletions(-) diff --git a/talerbackoffice/backoffice/templates/backoffice.html b/talerbackoffice/backoffice/templates/backoffice.html index f47f82a..cf8a5ab 100644 --- a/talerbackoffice/backoffice/templates/backoffice.html +++ b/talerbackoffice/backoffice/templates/backoffice.html @@ -6,16 +6,16 @@
  • [it]
  • [de]
  • -

    {% trans %}This is the Taler backoffice facility. Through it, - the user can see the money flow from Taler transactions to - wire transfers and viceversa.{% endtrans %}

    +

    {% trans %}This is the Taler backoffice facility. + Through it, the user can see the money flow from Taler transactions + to wire transfers and viceversa.{% endtrans %}


    - {% trans %}Current instance:{% endtrans %} + {{ _("Current instance") }} Track wire transfer
    + onclick="cherry_pick_form_transfer(this.parentNode)">{{ _("Track wire transfer") }}



    @@ -56,6 +56,7 @@ id="submit-cherry-pick" disabled value="submit" + label={{ _("Submit") }} onclick='track_cherry_pick()'> @@ -68,9 +69,9 @@ - Order ID - Amount - Date + {{ _("Order ID") }} + {{ _("Amount") }} + {{ _("Date") }} @@ -87,9 +88,9 @@ - - - + + +
    WTIDAmountDate{{ _("WTID") }}{{ _("Amount") }}{{ _("Date") }}
    diff --git a/talerbackoffice/backoffice/templates/base.html b/talerbackoffice/backoffice/templates/base.html index e575ec7..2b86613 100644 --- a/talerbackoffice/backoffice/templates/base.html +++ b/talerbackoffice/backoffice/templates/base.html @@ -31,7 +31,7 @@

    Taler Demo

    Backoffice

    -

    This is the back-office interface, you can monitor your cash flow with it.

    +

    {{ _("This is the back-office interface, you can monitor your cash flow with it.") }}

    -

    You can learn more about Taler on our main website.

    +

    {% trans %} You can learn more about Taler on our main + website. {% endtrans %}

    diff --git a/talerbackoffice/backoffice/templates/translations/de/LC_MESSAGES/messages.po b/talerbackoffice/backoffice/templates/translations/de/LC_MESSAGES/messages.po index eed9a21..7201150 100644 --- a/talerbackoffice/backoffice/templates/translations/de/LC_MESSAGES/messages.po +++ b/talerbackoffice/backoffice/templates/translations/de/LC_MESSAGES/messages.po @@ -1,13 +1,13 @@ # Translations template for PROJECT. # Copyright (C) 2018 ORGANIZATION # This file is distributed under the same license as the PROJECT project. -# Marko Stanisky , 2018. +# Marcello Stanisci , 2018. # msgid "" msgstr "" "Project-Id-Version: PROJECT VERSION\n" "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" -"POT-Creation-Date: 2018-09-03 15:35+0200\n" +"POT-Creation-Date: 2018-09-04 12:58+0200\n" "PO-Revision-Date: 2018-07-31 11:37+0200\n" "Last-Translator: Marcello Stanisci \n" "Language-Team: German\n" @@ -18,13 +18,56 @@ msgstr "" "Generated-By: Babel 2.3.4\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" -#: backoffice.html:4 +#: backoffice.html:9 msgid "" -"This is the Taler backoffice facility. Through it,\n" -" the user can see the money flow from Taler transactions to\n" -" wire transfers and viceversa." +"This is the Taler backoffice facility.\n" +" Through it, the user can see the money flow from Taler transactions\n" +" to wire transfers and viceversa." msgstr "" -#: backoffice.html:14 -msgid "Current instance:" +#: backoffice.html:18 +msgid "Current instance" +msgstr "" + +#: backoffice.html:33 +msgid "Track order id" +msgstr "" + +#: backoffice.html:37 +msgid "Track wire transfer" +msgstr "" + +#: backoffice.html:39 backoffice.html:72 +msgid "Order ID" +msgstr "" + +#: backoffice.html:43 backoffice.html:91 +msgid "WTID" +msgstr "" + +#: backoffice.html:48 +msgid "Exchange" +msgstr "" + +#: backoffice.html:59 +msgid "Submit" +msgstr "" + +#: backoffice.html:73 backoffice.html:92 +msgid "Amount" +msgstr "" + +#: backoffice.html:74 backoffice.html:93 +msgid "Date" +msgstr "" + +#: base.html:34 +msgid "" +"This is the back-office interface, you can monitor your cash flow with it." +msgstr "" + +#: base.html:43 +msgid "" +" You can learn more about Taler on our main\n" +" website. " msgstr "" diff --git a/talerbackoffice/backoffice/templates/translations/en/LC_MESSAGES/messages.po b/talerbackoffice/backoffice/templates/translations/en/LC_MESSAGES/messages.po index 0059a91..e096361 100644 --- a/talerbackoffice/backoffice/templates/translations/en/LC_MESSAGES/messages.po +++ b/talerbackoffice/backoffice/templates/translations/en/LC_MESSAGES/messages.po @@ -1,13 +1,13 @@ # Translations template for PROJECT. # Copyright (C) 2018 ORGANIZATION # This file is distributed under the same license as the PROJECT project. -# Marko Stanisky , 2018. +# Marcello Stanisci , 2018. # msgid "" msgstr "" "Project-Id-Version: PROJECT VERSION\n" "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" -"POT-Creation-Date: 2018-09-03 15:35+0200\n" +"POT-Creation-Date: 2018-09-04 12:58+0200\n" "PO-Revision-Date: 2018-07-31 11:37+0200\n" "Last-Translator: Marcello Stanisci \n" "Language-Team: English\n" @@ -18,19 +18,62 @@ msgstr "" "Generated-By: Babel 2.3.4\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" -#: backoffice.html:4 +#: backoffice.html:9 #, fuzzy #| msgid "" #| "This is the Taler backoffice facility. Through it, the user can see the " #| "money flow from Taler transactions to wire transfers and viceversa." msgid "" -"This is the Taler backoffice facility. Through it,\n" -" the user can see the money flow from Taler transactions to\n" -" wire transfers and viceversa." +"This is the Taler backoffice facility.\n" +" Through it, the user can see the money flow from Taler transactions\n" +" to wire transfers and viceversa." msgstr "" "This is the Taler backoffice facility. Through it, the user can see the " "money flow from Taler transactions to wire transfers and viceversa." -#: backoffice.html:14 -msgid "Current instance:" +#: backoffice.html:18 +msgid "Current instance" +msgstr "" + +#: backoffice.html:33 +msgid "Track order id" +msgstr "" + +#: backoffice.html:37 +msgid "Track wire transfer" +msgstr "" + +#: backoffice.html:39 backoffice.html:72 +msgid "Order ID" +msgstr "" + +#: backoffice.html:43 backoffice.html:91 +msgid "WTID" +msgstr "" + +#: backoffice.html:48 +msgid "Exchange" +msgstr "" + +#: backoffice.html:59 +msgid "Submit" +msgstr "" + +#: backoffice.html:73 backoffice.html:92 +msgid "Amount" +msgstr "" + +#: backoffice.html:74 backoffice.html:93 +msgid "Date" +msgstr "" + +#: base.html:34 +msgid "" +"This is the back-office interface, you can monitor your cash flow with it." +msgstr "" + +#: base.html:43 +msgid "" +" You can learn more about Taler on our main\n" +" website. " msgstr "" diff --git a/talerbackoffice/backoffice/templates/translations/es/LC_MESSAGES/messages.po b/talerbackoffice/backoffice/templates/translations/es/LC_MESSAGES/messages.po index cebf853..901a29d 100644 --- a/talerbackoffice/backoffice/templates/translations/es/LC_MESSAGES/messages.po +++ b/talerbackoffice/backoffice/templates/translations/es/LC_MESSAGES/messages.po @@ -1,13 +1,13 @@ # Translations template for PROJECT. # Copyright (C) 2018 ORGANIZATION # This file is distributed under the same license as the PROJECT project. -# Marko Stanisky , 2018. +# Marcello Stanisci , 2018. # msgid "" msgstr "" "Project-Id-Version: PROJECT VERSION\n" "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" -"POT-Creation-Date: 2018-09-03 15:35+0200\n" +"POT-Creation-Date: 2018-09-04 12:58+0200\n" "PO-Revision-Date: 2018-07-31 11:53+0200\n" "Last-Translator: Marcello Stanisci \n" "Language-Team: English\n" @@ -18,19 +18,62 @@ msgstr "" "Generated-By: Babel 2.3.4\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" -#: backoffice.html:4 +#: backoffice.html:9 #, fuzzy #| msgid "" #| "This is the Taler backoffice facility. Through it, the user can see the " #| "money flow from Taler transactions to wire transfers and viceversa." msgid "" -"This is the Taler backoffice facility. Through it,\n" -" the user can see the money flow from Taler transactions to\n" -" wire transfers and viceversa." +"This is the Taler backoffice facility.\n" +" Through it, the user can see the money flow from Taler transactions\n" +" to wire transfers and viceversa." msgstr "" "This is the Taler backoffice facility. Through it, the user can see the " "money flow from Taler transactions to wire transfers and viceversa." -#: backoffice.html:14 -msgid "Current instance:" +#: backoffice.html:18 +msgid "Current instance" +msgstr "" + +#: backoffice.html:33 +msgid "Track order id" +msgstr "" + +#: backoffice.html:37 +msgid "Track wire transfer" +msgstr "" + +#: backoffice.html:39 backoffice.html:72 +msgid "Order ID" +msgstr "" + +#: backoffice.html:43 backoffice.html:91 +msgid "WTID" +msgstr "" + +#: backoffice.html:48 +msgid "Exchange" +msgstr "" + +#: backoffice.html:59 +msgid "Submit" +msgstr "" + +#: backoffice.html:73 backoffice.html:92 +msgid "Amount" +msgstr "" + +#: backoffice.html:74 backoffice.html:93 +msgid "Date" +msgstr "" + +#: base.html:34 +msgid "" +"This is the back-office interface, you can monitor your cash flow with it." +msgstr "" + +#: base.html:43 +msgid "" +" You can learn more about Taler on our main\n" +" website. " msgstr "" diff --git a/talerbackoffice/backoffice/templates/translations/fr/LC_MESSAGES/messages.po b/talerbackoffice/backoffice/templates/translations/fr/LC_MESSAGES/messages.po index 065d475..7f2cb3a 100644 --- a/talerbackoffice/backoffice/templates/translations/fr/LC_MESSAGES/messages.po +++ b/talerbackoffice/backoffice/templates/translations/fr/LC_MESSAGES/messages.po @@ -1,13 +1,13 @@ # Translations template for PROJECT. # Copyright (C) 2018 ORGANIZATION # This file is distributed under the same license as the PROJECT project. -# Marko Stanisky , 2018. +# Marcello Stanisci , 2018. # msgid "" msgstr "" "Project-Id-Version: PROJECT VERSION\n" "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" -"POT-Creation-Date: 2018-09-03 15:35+0200\n" +"POT-Creation-Date: 2018-09-04 12:58+0200\n" "PO-Revision-Date: 2018-07-31 11:37+0200\n" "Last-Translator: Marcello Stanisci \n" "Language-Team: French\n" @@ -18,13 +18,56 @@ msgstr "" "Generated-By: Babel 2.3.4\n" "Plural-Forms: nplurals=2; plural=(n > 1);\n" -#: backoffice.html:4 +#: backoffice.html:9 msgid "" -"This is the Taler backoffice facility. Through it,\n" -" the user can see the money flow from Taler transactions to\n" -" wire transfers and viceversa." +"This is the Taler backoffice facility.\n" +" Through it, the user can see the money flow from Taler transactions\n" +" to wire transfers and viceversa." msgstr "" -#: backoffice.html:14 -msgid "Current instance:" +#: backoffice.html:18 +msgid "Current instance" +msgstr "" + +#: backoffice.html:33 +msgid "Track order id" +msgstr "" + +#: backoffice.html:37 +msgid "Track wire transfer" +msgstr "" + +#: backoffice.html:39 backoffice.html:72 +msgid "Order ID" +msgstr "" + +#: backoffice.html:43 backoffice.html:91 +msgid "WTID" +msgstr "" + +#: backoffice.html:48 +msgid "Exchange" +msgstr "" + +#: backoffice.html:59 +msgid "Submit" +msgstr "" + +#: backoffice.html:73 backoffice.html:92 +msgid "Amount" +msgstr "" + +#: backoffice.html:74 backoffice.html:93 +msgid "Date" +msgstr "" + +#: base.html:34 +msgid "" +"This is the back-office interface, you can monitor your cash flow with it." +msgstr "" + +#: base.html:43 +msgid "" +" You can learn more about Taler on our main\n" +" website. " msgstr "" diff --git a/talerbackoffice/backoffice/templates/translations/it/LC_MESSAGES/messages.po b/talerbackoffice/backoffice/templates/translations/it/LC_MESSAGES/messages.po index dbb6f65..a0db547 100644 --- a/talerbackoffice/backoffice/templates/translations/it/LC_MESSAGES/messages.po +++ b/talerbackoffice/backoffice/templates/translations/it/LC_MESSAGES/messages.po @@ -1,13 +1,13 @@ # Translations template for PROJECT. # Copyright (C) 2018 ORGANIZATION # This file is distributed under the same license as the PROJECT project. -# Marko Stanisky , 2018. +# Marcello Stanisci , 2018. # msgid "" msgstr "" "Project-Id-Version: PROJECT VERSION\n" "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" -"POT-Creation-Date: 2018-09-03 15:35+0200\n" +"POT-Creation-Date: 2018-09-04 12:58+0200\n" "PO-Revision-Date: 2018-07-31 11:37+0200\n" "Last-Translator: Marcello Stanisci \n" "Language-Team: Italian\n" @@ -18,16 +18,68 @@ msgstr "" "Generated-By: Babel 2.3.4\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" -#: backoffice.html:4 +#: backoffice.html:9 +#, fuzzy +#| msgid "" +#| "This is the Taler backoffice facility. Through it,\n" +#| " the user can see the money flow from Taler transactions to\n" +#| " wire transfers and viceversa." msgid "" -"This is the Taler backoffice facility. Through it,\n" -" the user can see the money flow from Taler transactions to\n" -" wire transfers and viceversa." +"This is the Taler backoffice facility.\n" +" Through it, the user can see the money flow from Taler transactions\n" +" to wire transfers and viceversa." msgstr "" -"Questa interfaccia vi permette di monitorare il" -" flusso monetario da transazioni Taler a bonifici bancari" -" verso il vostro conto, e viceversa" +"Questa interfaccia vi permette di monitorare il flusso monetario da " +"transazioni Taler a bonifici bancari verso il vostro conto, e viceversa" -#: backoffice.html:14 -msgid "Current instance:" +#: backoffice.html:18 +#, fuzzy +#| msgid "Current instance:" +msgid "Current instance" msgstr "Istanza negozio attiva:" + +#: backoffice.html:33 +msgid "Track order id" +msgstr "Traccia transazione" + +#: backoffice.html:37 +msgid "Track wire transfer" +msgstr "Traccia bonifico" + +#: backoffice.html:39 backoffice.html:72 +msgid "Order ID" +msgstr "ID ordine" + +#: backoffice.html:43 backoffice.html:91 +msgid "WTID" +msgstr "Codice bonifico" + +#: backoffice.html:48 +msgid "Exchange" +msgstr "" + +#: backoffice.html:59 +msgid "Submit" +msgstr "Invia" + +#: backoffice.html:73 backoffice.html:92 +msgid "Amount" +msgstr "Somma" + +#: backoffice.html:74 backoffice.html:93 +msgid "Date" +msgstr "Data" + +#: base.html:34 +msgid "" +"This is the back-office interface, you can monitor your cash flow with it." +msgstr "" +"Questa interfaccia ti permette di osservare il flusso monetario delle transazioni Taler." + +#: base.html:43 +msgid "" +" You can learn more about Taler on our main\n" +" website. " +msgstr "" +" Per maggiori informazioni, visita il nostro " +" sito. " diff --git a/talerbackoffice/backoffice/templates/translations/pt/LC_MESSAGES/messages.po b/talerbackoffice/backoffice/templates/translations/pt/LC_MESSAGES/messages.po index c90ad25..a225db7 100644 --- a/talerbackoffice/backoffice/templates/translations/pt/LC_MESSAGES/messages.po +++ b/talerbackoffice/backoffice/templates/translations/pt/LC_MESSAGES/messages.po @@ -1,13 +1,13 @@ # Translations template for PROJECT. # Copyright (C) 2018 ORGANIZATION # This file is distributed under the same license as the PROJECT project. -# Marko Stanisky , 2018. +# Marcello Stanisci , 2018. # msgid "" msgstr "" "Project-Id-Version: PROJECT VERSION\n" "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" -"POT-Creation-Date: 2018-09-03 15:35+0200\n" +"POT-Creation-Date: 2018-09-04 12:58+0200\n" "PO-Revision-Date: 2018-07-31 11:37+0200\n" "Last-Translator: Marcello Stanisci \n" "Language-Team: Portuguese\n" @@ -18,13 +18,56 @@ msgstr "" "Generated-By: Babel 2.3.4\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" -#: backoffice.html:4 +#: backoffice.html:9 msgid "" -"This is the Taler backoffice facility. Through it,\n" -" the user can see the money flow from Taler transactions to\n" -" wire transfers and viceversa." +"This is the Taler backoffice facility.\n" +" Through it, the user can see the money flow from Taler transactions\n" +" to wire transfers and viceversa." msgstr "" -#: backoffice.html:14 -msgid "Current instance:" +#: backoffice.html:18 +msgid "Current instance" +msgstr "" + +#: backoffice.html:33 +msgid "Track order id" +msgstr "" + +#: backoffice.html:37 +msgid "Track wire transfer" +msgstr "" + +#: backoffice.html:39 backoffice.html:72 +msgid "Order ID" +msgstr "" + +#: backoffice.html:43 backoffice.html:91 +msgid "WTID" +msgstr "" + +#: backoffice.html:48 +msgid "Exchange" +msgstr "" + +#: backoffice.html:59 +msgid "Submit" +msgstr "" + +#: backoffice.html:73 backoffice.html:92 +msgid "Amount" +msgstr "" + +#: backoffice.html:74 backoffice.html:93 +msgid "Date" +msgstr "" + +#: base.html:34 +msgid "" +"This is the back-office interface, you can monitor your cash flow with it." +msgstr "" + +#: base.html:43 +msgid "" +" You can learn more about Taler on our main\n" +" website. " msgstr "" diff --git a/talerbackoffice/backoffice/templates/translations/ru/LC_MESSAGES/messages.po b/talerbackoffice/backoffice/templates/translations/ru/LC_MESSAGES/messages.po index 78838e0..05ffaee 100644 --- a/talerbackoffice/backoffice/templates/translations/ru/LC_MESSAGES/messages.po +++ b/talerbackoffice/backoffice/templates/translations/ru/LC_MESSAGES/messages.po @@ -1,13 +1,13 @@ # Translations template for PROJECT. # Copyright (C) 2018 ORGANIZATION # This file is distributed under the same license as the PROJECT project. -# Marko Stanisky , 2018. +# Marcello Stanisci , 2018. # msgid "" msgstr "" "Project-Id-Version: PROJECT VERSION\n" "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" -"POT-Creation-Date: 2018-09-03 15:35+0200\n" +"POT-Creation-Date: 2018-09-04 12:58+0200\n" "PO-Revision-Date: 2018-07-31 11:37+0200\n" "Last-Translator: Marcello Stanisci \n" "Language-Team: Russian\n" @@ -19,13 +19,56 @@ msgstr "" "Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n" "%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" -#: backoffice.html:4 +#: backoffice.html:9 msgid "" -"This is the Taler backoffice facility. Through it,\n" -" the user can see the money flow from Taler transactions to\n" -" wire transfers and viceversa." +"This is the Taler backoffice facility.\n" +" Through it, the user can see the money flow from Taler transactions\n" +" to wire transfers and viceversa." msgstr "" -#: backoffice.html:14 -msgid "Current instance:" +#: backoffice.html:18 +msgid "Current instance" +msgstr "" + +#: backoffice.html:33 +msgid "Track order id" +msgstr "" + +#: backoffice.html:37 +msgid "Track wire transfer" +msgstr "" + +#: backoffice.html:39 backoffice.html:72 +msgid "Order ID" +msgstr "" + +#: backoffice.html:43 backoffice.html:91 +msgid "WTID" +msgstr "" + +#: backoffice.html:48 +msgid "Exchange" +msgstr "" + +#: backoffice.html:59 +msgid "Submit" +msgstr "" + +#: backoffice.html:73 backoffice.html:92 +msgid "Amount" +msgstr "" + +#: backoffice.html:74 backoffice.html:93 +msgid "Date" +msgstr "" + +#: base.html:34 +msgid "" +"This is the back-office interface, you can monitor your cash flow with it." +msgstr "" + +#: base.html:43 +msgid "" +" You can learn more about Taler on our main\n" +" website. " msgstr "" -- cgit v1.2.3