diff options
author | Christian Grothoff <christian@grothoff.org> | 2019-04-22 21:28:11 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2019-04-22 21:28:11 +0200 |
commit | f1e1c4620b7d2c7f50f6e0aa4cbf6525a06111fe (patch) | |
tree | 227e587a02cd5c308cca9bd78a7804f9872634f0 | |
parent | 4f14650b1a69fc8a312880ba4af45fbd2888a742 (diff) | |
download | auditor-f1e1c4620b7d2c7f50f6e0aa4cbf6525a06111fe.tar.gz auditor-f1e1c4620b7d2c7f50f6e0aa4cbf6525a06111fe.tar.bz2 auditor-f1e1c4620b7d2c7f50f6e0aa4cbf6525a06111fe.zip |
apply LUG's patch #5063/#14332 to detect wallet on auditor page
-rw-r--r-- | index.html.j2 | 29 | ||||
-rw-r--r-- | locale/en/LC_MESSAGES/messages.po | 18 |
2 files changed, 32 insertions, 15 deletions
diff --git a/index.html.j2 b/index.html.j2 index d1dc0e3..dfe5783 100644 --- a/index.html.j2 +++ b/index.html.j2 @@ -69,20 +69,29 @@ </div> <section id="main" class="content"> <h1>{{ _("%(curr)s Auditor", curr=currency) }} </h1> - <p style="color: black;"> - {{ _("This is the Web site of the auditor for the %(curr)s currency.",curr=currency) }} + <p class="bluebox taler-installed-hide"> {% trans %} - In the GNU Taler system, an auditor is responsible for verifying - that an exchange operates correctly. If you trust us to do a good - job auditing, please click here: + You do not have the Taler wallet installed yet.<br> + Install the wallet from the <a href="https://taler.net/wallet-installation.html">installation page</a>. + It only takes one click. {% endtrans %} </p> - <div style="text-align: center;"> - <button class="pure-button pure-button-primary" style="text-allign: center;" click="addAuditor()">{{ _("Add Auditor") }}</button> + <div class="taler-installed-show"> + <p style="color: black;"> + {{ _("This is the Web site of the auditor for the %(curr)s currency.",curr=currency) }} + {% trans %} + In the GNU Taler system, an auditor is responsible for verifying + that an exchange operates correctly. If you trust us to do a good + job auditing, please click here: + {% endtrans %} + </p> + <div style="text-align: center;"> + <button class="pure-button pure-button-primary" style="text-allign: center;" click="addAuditor()">{{ _("Add Auditor") }}</button> + </div> + <p> + {{ _("This will tell your wallet that you are willing to trust exchanges that we audit to handle the %(curr)s currency properly.",curr=currency) }} + </p> </div> - <p> - {{ _("This will tell your wallet that you are willing to trust exchanges that we audit to handle the %(curr) currency properly.", curr=currency) }} - </p> </section> </body> </html> diff --git a/locale/en/LC_MESSAGES/messages.po b/locale/en/LC_MESSAGES/messages.po index 8c13f93..9315e03 100644 --- a/locale/en/LC_MESSAGES/messages.po +++ b/locale/en/LC_MESSAGES/messages.po @@ -2,7 +2,7 @@ msgid "" msgstr "" "Project-Id-Version: PROJECT VERSION\n" "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" -"POT-Creation-Date: 2019-04-20 13:55+0200\n" +"POT-Creation-Date: 2019-04-22 21:27+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: en <LL@li.org>\n" @@ -42,23 +42,31 @@ msgid "%(curr)s Auditor" msgstr "" #: index.html.j2:73 +msgid "" +"You do not have the Taler wallet installed yet.<br> Install the wallet from " +"the <a href=\"https://taler.net/wallet-installation.html\">installation " +"page</a>. It only takes one click." +msgstr "" + +#: index.html.j2:81 #, python-format msgid "This is the Web site of the auditor for the %(curr)s currency." msgstr "" -#: index.html.j2:74 +#: index.html.j2:82 msgid "" "In the GNU Taler system, an auditor is responsible for verifying that an " "exchange operates correctly. If you trust us to do a good job auditing, " "please click here:" msgstr "" -#: index.html.j2:81 +#: index.html.j2:89 msgid "Add Auditor" msgstr "" -#: index.html.j2:84 +#: index.html.j2:92 +#, python-format msgid "" "This will tell your wallet that you are willing to trust exchanges that we " -"audit to handle the TESTKUDOS currency properly." +"audit to handle the %(curr)s currency properly." msgstr "" |