From ef162e8d070f51f422e57e9cfd62beb1db47e932 Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Tue, 12 May 2020 15:50:49 -0700 Subject: very hack-y i18n support in jinja2 templates --- fatcat_scholar/templates/home.html | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'fatcat_scholar/templates/home.html') diff --git a/fatcat_scholar/templates/home.html b/fatcat_scholar/templates/home.html index 82eb69d..e6e09b5 100644 --- a/fatcat_scholar/templates/home.html +++ b/fatcat_scholar/templates/home.html @@ -4,5 +4,9 @@

The Start

+ +

{% trans %}This is a longer paragraph, all of which should be translated.{% endtrans %} + +

and {{ _("this is a quick") }} thing to translate. -- cgit v1.2.3