summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2020-12-27 19:44:34 +0100
committerChristian Grothoff <christian@grothoff.org>2020-12-27 19:44:34 +0100
commit7b5a09b0a26aa71565a441794d4911774b75c0ce (patch)
tree795b8d812101368e28c02aa8785cf13a356d77db
parentc7db03a8948c604d96d22d4cb0d56fd83acba623 (diff)
downloadwww-7b5a09b0a26aa71565a441794d4911774b75c0ce.tar.gz
www-7b5a09b0a26aa71565a441794d4911774b75c0ce.tar.bz2
www-7b5a09b0a26aa71565a441794d4911774b75c0ce.zip
preserve language when moving to demo
-rw-r--r--locale/messages.pot2
-rw-r--r--template/index.html.j22
2 files changed, 2 insertions, 2 deletions
diff --git a/locale/messages.pot b/locale/messages.pot
index c9e5af84..de750aca 100644
--- 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
index f3b82e9a..c8b2bea6 100644
--- 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>