From 1ae0306a3cf2ea27f60b2d205789994d260c2cce Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Sun, 11 Oct 2020 13:29:45 +0200 Subject: add i18n FSFS --- talermerchantdemos/blog/templates/article_frame.html.j2 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'talermerchantdemos/blog/templates/article_frame.html.j2') diff --git a/talermerchantdemos/blog/templates/article_frame.html.j2 b/talermerchantdemos/blog/templates/article_frame.html.j2 index a878e95..b5763e4 100644 --- a/talermerchantdemos/blog/templates/article_frame.html.j2 +++ b/talermerchantdemos/blog/templates/article_frame.html.j2 @@ -1,13 +1,13 @@ {% extends "templates/base.html.j2" %} {% block main %} -{% include "articles/" + article_file %} +{% include "articles/" + lang + "/" + article_file %} {% if refundable %}

{{ gettext("You did not like this article?") + - gettext("You can request a refund within the first hour after buying it.").format(url=url_for('confirm_refund', lang='en', order_id=order_id) + gettext('You can request a refund within the first hour after buying it.').format(url=url_for('confirm_refund', lang='en', order_id=order_id)) }}

{% endif %} -- cgit v1.2.3