diff options
author | MS <ms@taler.net> | 2020-10-20 11:52:09 +0200 |
---|---|---|
committer | MS <ms@taler.net> | 2020-10-20 11:53:26 +0200 |
commit | 31c77beca8e850bd0b7582fd7308fd7cda69bbb2 (patch) | |
tree | 56f93835d8ec925771bca09faae857b9d8502280 /talerbank/app/templates/base.html | |
parent | 7a3d3b3130e2d1e56d2236c7c82d33b3e461b31d (diff) | |
download | bank-31c77beca8e850bd0b7582fd7308fd7cda69bbb2.tar.gz bank-31c77beca8e850bd0b7582fd7308fd7cda69bbb2.tar.bz2 bank-31c77beca8e850bd0b7582fd7308fd7cda69bbb2.zip |
new strings to translate
Diffstat (limited to 'talerbank/app/templates/base.html')
-rw-r--r-- | talerbank/app/templates/base.html | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/talerbank/app/templates/base.html b/talerbank/app/templates/base.html index de65617..845e137 100644 --- a/talerbank/app/templates/base.html +++ b/talerbank/app/templates/base.html @@ -20,7 +20,7 @@ <html data-taler-nojs="true"> <head> - <title>{{ settings_value("TALER_CURRENCY") }} Bank - Taler Demo</title> + <title>{{ _("{currency} Bank - Taler Demo").format(currency=settings_value("TALER_CURRENCY")) }}</title> <link rel="stylesheet" type="text/css" href="{{ static('web-common/pure.css') }}" /> <link rel="stylesheet" type="text/css" href="{{ static('web-common/demo.css') }}" /> <link rel="stylesheet" type="text/css" href="{{ static('web-common/navbar.css') }}" /> @@ -69,9 +69,10 @@ <header class="demobar" style="display: flex; flex-direction: column;"> <h1><span class="tt adorn-brackets">Taler Demo</span></h1> <h1><span class="it"><a href="{{ url('index') }}">Bank</a></span></h1> - <p>This part of the demo shows how a bank that supports Taler directly would work. - In addition to using your own bank account, you can also see the transaction - history of some <a href="{{ url('public-accounts') }}">Public Accounts</a>. + <p> + {% autoescape off %} + {{ _("This part of the demo shows how a bank that supports Taler directly would work. In addition to using your own bank account, you can also see the transaction history of some <a href="{public_accounts}">Public Accounts</a>.").format(public_accounts=url('public-accounts')) }} + {% endautoescape %} </p> </header> <div style="display:flex; flex-direction: column;" class="navcontainer"> @@ -88,7 +89,11 @@ {% block content %} {% endblock %} <hr /> <div> - <p>You can learn more about Taler on our main <a href="https://taler.net/">website</a>.</p> + <p> + {% autoescape off %} + {{ _("You can learn more about Taler on our main <a href={taler_site}>website</a>.").format(taler_site="https://taler.net/") }} + {% endautoescape %} + </p> <div style="flex-grow:1"></div> <p>Copyright © 2014—2020 Taler Systems SA</p> </div> |