summaryrefslogtreecommitdiff
path: root/talermerchantdemos/blog
diff options
context:
space:
mode:
Diffstat (limited to 'talermerchantdemos/blog')
l---------talermerchantdemos/blog/articles/pt_BR1
-rw-r--r--talermerchantdemos/blog/blog.py1
-rw-r--r--talermerchantdemos/blog/content.py2
3 files changed, 3 insertions, 1 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)