diff options
| author | Alexis Metaireau <alexis@notmyidea.org> | 2011-10-15 01:19:19 +0200 |
|---|---|---|
| committer | Alexis Metaireau <alexis@notmyidea.org> | 2011-10-15 01:19:19 +0200 |
| commit | f61d1432c7b57da5725a94c7b308ebacfe0af085 (patch) | |
| tree | 74f2270c6f9bde7f5661d295253d3000e397b079 /budget/templates/authenticate.html | |
| parent | 45ccc8b509bc27f1301490272d71278a08bebe10 (diff) | |
| download | ihatemoney-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/authenticate.html')
| -rw-r--r-- | budget/templates/authenticate.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/budget/templates/authenticate.html b/budget/templates/authenticate.html index 83839e1..7af2440 100644 --- a/budget/templates/authenticate.html +++ b/budget/templates/authenticate.html @@ -3,8 +3,8 @@ <h2>Authentication</h2> {% if create_project %} -<p class="info">The project you are trying to access do not exist, do you want -to <a href="{{ url_for(".create_project", project_id=create_project) }}">create it</a>? +<p class="info">{{ _("The project you are trying to access do not exist, do you want +to") }} <a href="{{ url_for(".create_project", project_id=create_project) }}">{{ _("create it") }}</a>{{ _("?") }} </p> {% endif %} <form action="" method="POST" accept-charset="utf-8"> |
