commit 7b5a09b0a26aa71565a441794d4911774b75c0ce
parent c7db03a8948c604d96d22d4cb0d56fd83acba623
Author: Christian Grothoff <christian@grothoff.org>
Date: Sun, 27 Dec 2020 19:44:34 +0100
preserve language when moving to demo
Diffstat:
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/locale/messages.pot b/locale/messages.pot
@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PROJECT VERSION\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
-"POT-Creation-Date: 2020-12-04 14:54+0100\n"
+"POT-Creation-Date: 2020-12-27 19:42+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
diff --git a/template/index.html.j2 b/template/index.html.j2
@@ -39,7 +39,7 @@
<a href="https://gnu.org/philosophy/free-sw.html">{{ _("Free Software") }}</a>
</li>
</ul>
- <form action="https://demo.taler.net/" style="display:inline;"><button type="submit" class="btn btn-primary">{{ _("Try Demo!")}}</button></form>
+ <form action="{{ "https://demo.taler.net/" + lang + "/" }}" style="display:inline;"><button type="submit" class="btn btn-primary">{{ _("Try Demo!")}}</button></form>
<form action="https://docs.taler.net/" style="display:inline;"><button type="submit" class="btn btn-secondary">{{ _("Read Docs")}}</button></form>
</p>
</div>