summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
l---------talermerchantdemos/blog/articles/pt_BR1
-rw-r--r--talermerchantdemos/blog/blog.py1
-rw-r--r--talermerchantdemos/blog/content.py2
-rw-r--r--talermerchantdemos/httpcommon/__init__.py28
-rw-r--r--talermerchantdemos/translations/zh_Hant/LC_MESSAGES/messages.po12
5 files changed, 23 insertions, 21 deletions
diff --git a/talermerchantdemos/blog/articles/pt_BR b/talermerchantdemos/blog/articles/pt_BR
new file mode 120000
index 0000000..9e3340e
--- /dev/null
+++ b/talermerchantdemos/blog/articles/pt_BR
@@ -0,0 +1 @@
+pt \ No newline at end of file
diff --git a/talermerchantdemos/blog/blog.py b/talermerchantdemos/blog/blog.py
index 9722206..7a1fbf1 100644
--- a/talermerchantdemos/blog/blog.py
+++ b/talermerchantdemos/blog/blog.py
@@ -292,6 +292,7 @@ def post_order(article_name, lang):
amount=ARTICLE_AMOUNT,
extra=dict(article_name=article_name),
fulfillment_url=flask.request.base_url,
+ public_reorder_url=flask.request.base_url,
summary=summary,
# FIXME: add support for i18n of summary!
# 10 minutes time for a refund
diff --git a/talermerchantdemos/blog/content.py b/talermerchantdemos/blog/content.py
index c046c45..d049718 100644
--- a/talermerchantdemos/blog/content.py
+++ b/talermerchantdemos/blog/content.py
@@ -138,7 +138,7 @@ def add_from_html(resource_name, lang):
for l in listdir(resource_filename("talermerchantdemos", "blog/articles/")):
# Filter by active languages, otherwise this takes quite a while to load...
- if l in {"en", "de", "sv", "es"}:
+ if l in {"en", "ar", "zh", "fr", "hi", "it", "ja", "ko", "pt", "pt_BR", "ru", "tr", "de", "sv", "es"}:
LOGGER.info("importing %s" % l)
for a in listdir(resource_filename("talermerchantdemos", "blog/articles/" + l)):
add_from_html("blog/articles/" + l + "/" + a, l)
diff --git a/talermerchantdemos/httpcommon/__init__.py b/talermerchantdemos/httpcommon/__init__.py
index 8d3357c..01b5c84 100644
--- a/talermerchantdemos/httpcommon/__init__.py
+++ b/talermerchantdemos/httpcommon/__init__.py
@@ -144,20 +144,20 @@ class Deadline:
all_languages = {
"en": "English [en]",
- "ar": "Arabic [ar]",
- "zh_Hant": "Chinese [zh]",
- "fr": "French [fr]",
- "de": "German [de]",
- "hi": "Hindi [hi]",
- "it": "Italian [it]",
- "ja": "Japanese [ja]",
- "ko": "Korean [ko]",
- "pt": "Portuguese [pt]",
- "pt_BR": "Portuguese (Brazil) [pt_BR]",
- "ru": "Russian [ru]",
- "es": "Spanish [es]",
- "sv": "Swedish [sv]",
- "tr": "Turkish [tr]",
+ "ar": "عربى [ar]",
+ "zh_Hant": "繁體中文 [zh]",
+ "fr": "Français [fr]",
+ "de": "Deutsch [de]",
+ "hi": "हिंदी [hi]",
+ "it": "Italiano [it]",
+ "ja": "日本語 [ja]",
+ "ko": "한국어 [ko]",
+ "pt": "Português [pt]",
+ "pt_BR": "Português (Brazil) [pt_BR]",
+ "ru": "Ру́сский язы́к [ru]",
+ "es": "Español [es]",
+ "sv": "Svenska [sv]",
+ "tr": "Türk [tr]",
}
diff --git a/talermerchantdemos/translations/zh_Hant/LC_MESSAGES/messages.po b/talermerchantdemos/translations/zh_Hant/LC_MESSAGES/messages.po
index dda8b23..3dc5c12 100644
--- a/talermerchantdemos/translations/zh_Hant/LC_MESSAGES/messages.po
+++ b/talermerchantdemos/translations/zh_Hant/LC_MESSAGES/messages.po
@@ -8,7 +8,7 @@ msgstr ""
"Project-Id-Version: PROJECT VERSION\n"
"Report-Msgid-Bugs-To: eintritt@hotmail.com\n"
"POT-Creation-Date: 2021-06-11 07:56+0200\n"
-"PO-Revision-Date: 2021-07-29 19:00+0000\n"
+"PO-Revision-Date: 2021-07-29 21:30+0000\n"
"Last-Translator: Ting-Yi Fu <futingyi0215@gmail.com>\n"
"Language-Team: Chinese (Traditional) <http://weblate.taler.net/projects/"
"gnu-taler/demonstration-pages/zh_Hant/>\n"
@@ -474,7 +474,7 @@ msgstr "步驟三:付款"
#: talermerchantdemos/templates/landing-index.html.j2:38
msgid "We have two demo merchants where you can spend your coins:"
-msgstr "您可以在我們的兩個demo merchants使用您的貨幣:"
+msgstr "我們有兩個 demo merchants,您可以在其中使用您的貨幣:"
#: talermerchantdemos/templates/landing-index.html.j2:44
msgid ""
@@ -482,7 +482,7 @@ msgid ""
"individual chapters of Richard Stallman&#39;s book &quot;Free Software, "
"Free Society&quot;."
msgstr ""
-"在 <a href=\"{blog}\">文章商店</a>,您可以使用 {currency} 來購買Richard Stallman的書籍 &quot;"
+"在<a href=\"{blog}\">文章商店</a>,您可以使用 {currency} 來購買 Richard Stallman 的書籍 &quot;"
"Free Software, Free Society&quot; 的各個章節。"
#: talermerchantdemos/templates/landing-index.html.j2:45
@@ -505,7 +505,7 @@ msgid ""
"You can see the wire transfers from the escrow account of the exchange to"
" the merchants on the <a href=\"{bank}\">public accounts page</a> of the "
"bank."
-msgstr "您可以在銀行的 <a href=\"{bank}\">公共帳戶頁面</a>上看到從交易所的託管賬戶到商家的電匯。"
+msgstr "您可以在銀行的<a href=\"{bank}\">公共帳戶頁面</a>上看到從交易所的託管賬戶到商家的電匯。"
#: talermerchantdemos/templates/landing-index.html.j2:60
msgid ""
@@ -525,7 +525,7 @@ msgstr "這些網站可以提供指點予訪客以完成任務。"
msgid ""
"You can earn some {currency} coins by filling in our <a "
"href=\"{url}\">survey</a>."
-msgstr "您可以透過填寫我們的 <a href=\"{url}\">問卷調查</a>獲得一些 {currency} 貨幣。"
+msgstr "您可以透過填寫我們的<a href=\"{url}\">問卷調查</a>獲得一些 {currency} 貨幣。"
#: talermerchantdemos/templates/landing-index.html.j2:81
msgid "Step 6: Reach out to us"
@@ -537,7 +537,7 @@ msgstr "謝謝您對於 Taler 和此示範的回饋。"
#: talermerchantdemos/templates/landing-index.html.j2:85
msgid "Let us know what you think by <a href=\"{link}\">contacting us</a>."
-msgstr "<a href=\"{link}\">聯絡我們</a> 並讓我們知道您的想法。"
+msgstr "<a href=\"{link}\">聯絡我們</a>並讓我們知道您的想法。"
#: talermerchantdemos/templates/survey-base.html.j2:6
msgid "Survey"