diff options
-rw-r--r-- | talermerchantdemos/landing/templates/index.html.j2 | 69 |
1 files changed, 39 insertions, 30 deletions
diff --git a/talermerchantdemos/landing/templates/index.html.j2 b/talermerchantdemos/landing/templates/index.html.j2 index cc6b874..100aa4c 100644 --- a/talermerchantdemos/landing/templates/index.html.j2 +++ b/talermerchantdemos/landing/templates/index.html.j2 @@ -1,11 +1,11 @@ {% extends "templates/base.html.j2" %} {% block main %} <article> - <h2>Step 1: Install the Taler wallet</h2> - Install the wallet from the <a href="https://wallet.taler.net/">installation page</a>. - It only takes one click. + <h2>{{ gettext("Step 1: Install the Taler wallet")}}</h2> + {{ gettext('Install the wallet from the <a href="{link}">installation page</a>.").format(link="https://wallet.taler.net/") + "<br>" + + gettext('Installation only takes one click.') }} <p class="bluebox taler-installed-hide"> - You don't have a wallet installed yet. + You do not have a wallet installed yet. </p> <p class="greenbox taler-installed-show"> Congratulations, you have installed the Taler wallet correctly. @@ -14,51 +14,60 @@ </article> <article> - <h2>Step 2: Withdraw coins</h2> + <h2>{{ gettext("Step 2: Withdraw coins") }}</h2> <p> - - Now you can withdraw coins into your wallet by going to our <a href="{{ bank_url }}">bank</a>. - - In this demo you are paying with KUDOS, an imaginary currency. When you - create an account at our bank, you'll get 100 KUDOS for free. + {{ + gettext('Next you can withdraw coins into your wallet by going to our <a href="{bank}">bank</a>.').format(bank=bank_url) + "<br>" + + gettext('In this demo you are paying with {currency}, an imaginary currency.').format(currency=merchant_currency) + "<br>" + + gettext('When you create an account at our bank, you will receive 100 {currency} for free.').format(currency=merchant_currency) + }} </p> <p class="graybox"> - We cannnot check if you were able to complete this step, since websites - cannot see the balance in your wallet. Please click on the Taler icon - in your browser to check your balance. + {{ gettext('Once you have completed this step, you can click on the Taler icon in your browser to check your balance.') }} </p> </article> <article> - <h2>Step 3: Pay</h2> - We have two demo merchants where you can spend your coins: + <h2>{{ gettext("Step 3: Pay") }}</h2> + {{ gettext("We have two demo merchants where you can spend your coins:") }} <ul> <li> - The <a href="{{ merchant_blog_url }}">essay store</a>, where you can pay KUDOS for - individual chapters of Richard Stallman's book "Free Software, Free - Society", which is also available for free at <a href="http://www.fsf.org/">the FSF</a>. + {{ + gettext('At the <a href="{blog}">essay store</a>, where you can pay in {currency} for individual chapters of Richard Stallman's book "Free Software, Free Society".').format(blog=merchant_blog_url,currency=merchant_currency) + "<br>" + + gettext('The book is also available for free at <a href="{fsf}">the FSF</a>.').format(fsf="http://www.fsf.org/") + }} + </li> + <li> + {{ + gettext('At the <a href="{donations}">project donation website</a> you can show respect to a software project of your choice by donating {currency} to them.').format(donations=merchant_donations_url,currency=merchant_currency) + }} </li> + </ul> + </article> + <article> + <h2>{{ gettext("Step 4: Check money flow") }}</h2> + <ul> <li> - The <a href="{{ merchant_donations_url }}">project donation website</a>, where - you can show respect to a software project of your choice - by giving them KUDOS. + {{ + gettext('To check if people who received your Taler payment got eventually paid by the exchange via a wire transfer visit the <a href="{bank}/public-accounts">public accounts page</a> at the bank.').format(bank=bank_url) + "<br>" + + gettext('Note that only accounts set to be publicly viewable are shown on that page.') + }} </li> </ul> </article> <article> - <h2>Step 4: Check money flow</h2> + <h2>{{ gettext("Step 5: Survey") }}</h2> <ul> <li> - Check if people who received your Taler payment got eventually - paid by the exchange via a wire transfer; visit the: - <a href="{{ bank_url }}/public-accounts">public accounts page</a> at the bank. - Note that only those account whose owners gave permission are showed - on that page. + {{ + gettext("Websites can give tips to visitors for completing tasks.") + "<br>" + + gettext('Go earn some coins by filling in our <a href="{url}">survey</a>.').format(url=merchant_survey_url) + }} </li> </ul> </article> <!-- article> - <h2>Step 5: Merchant? Consult back-office</h2> + <h2>Step 6: Are you a merchant? Taler has a build-in back-office!</h2> <ul> <li> If you are a merchant, you can check the <a href="{{ backoffice_url }}">back-office</a> @@ -67,7 +76,7 @@ </ul> </article --> <article> - <h2>Step 5: Reach out to us</h2> - Let us know what you think by <a href="mailto:demo-feedback@taler.net">contacting us</a>. + <h2>{{ gettext("Step 6: Reach out to us") }}</h2> + {{ gettext('Let us know what you think by <a href="{link}">contacting us</a>.').format(link="mailto:demo-feedback@taler.net") }} </article> {% endblock %} |