aboutsummaryrefslogtreecommitdiff
path: root/budget/templates/send_invites.html
diff options
context:
space:
mode:
authorAlexis Metaireau <alexis@notmyidea.org>2011-10-15 01:19:19 +0200
committerAlexis Metaireau <alexis@notmyidea.org>2011-10-15 01:19:19 +0200
commitf61d1432c7b57da5725a94c7b308ebacfe0af085 (patch)
tree74f2270c6f9bde7f5661d295253d3000e397b079 /budget/templates/send_invites.html
parent45ccc8b509bc27f1301490272d71278a08bebe10 (diff)
downloadihatemoney-mirror-f61d1432c7b57da5725a94c7b308ebacfe0af085.zip
ihatemoney-mirror-f61d1432c7b57da5725a94c7b308ebacfe0af085.tar.gz
ihatemoney-mirror-f61d1432c7b57da5725a94c7b308ebacfe0af085.tar.bz2
Translate the application using Flask-babel.
The only translation so far is french, but more can be added. The browser language is used thanks to the HTTP languages headers. There are still some problems with the translation of some strings, I don't know why this is. See #12
Diffstat (limited to 'budget/templates/send_invites.html')
-rw-r--r--budget/templates/send_invites.html14
1 files changed, 7 insertions, 7 deletions
diff --git a/budget/templates/send_invites.html b/budget/templates/send_invites.html
index ec68333..9883cba 100644
--- a/budget/templates/send_invites.html
+++ b/budget/templates/send_invites.html
@@ -2,16 +2,16 @@
{% block sidebar %}
<ol>
- <li>Create the project</li>
- <li><strong>Invite people</strong></li>
- <li><a href="{{ url_for(".list_bills") }}">Use it!</a></li>
+ <li>{{ _("Create the project") }}</li>
+ <li><strong>{{ _("Invite people") }}</strong></li>
+ <li><a href="{{ url_for(".list_bills") }}">{{ _("Use it!") }}</a></li>
</ol>
{% endblock %}
{% block content %}
-<h2>Invite people to join this project</h2>
-<p>Specify a (coma separated) list of email adresses you want to notify about the
-creation of this budget management project and we will send them an email for you.</p>
-<p>If you prefer, you can <a href="{{ url_for(".list_bills") }}">skip this step</a> and notify them yourself</p>
+<h2>{{ _("Invite people to join this project") }}</h2>
+<p>{{ _("Specify a (coma separated) list of email adresses you want to notify about the
+creation of this budget management project and we will send them an email for you.") }}</p>
+<p>{{ _("If you prefer, you can") }} <a href="{{ url_for(".list_bills") }}">{{ _("skip this step") }}</a> {{ _("and notify them yourself") }}</p>
{% include "display_errors.html" %}
<form class="invites" method="post" accept-charset="utf-8">