aboutsummaryrefslogtreecommitdiff
path: root/budget/templates/edit_bill.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/edit_bill.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/edit_bill.html')
-rw-r--r--budget/templates/edit_bill.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/budget/templates/edit_bill.html b/budget/templates/edit_bill.html
index 9c272ae..cb55d69 100644
--- a/budget/templates/edit_bill.html
+++ b/budget/templates/edit_bill.html
@@ -1,11 +1,11 @@
{% extends "layout.html" %}
{% block top_menu %}
-<a href="{{ url_for(".list_bills") }}">Back to the list</a>
+<a href="{{ url_for(".list_bills") }}">{{ _("Back to the list") }}</a>
{% endblock %}
{% block content %}
-<h2>Edit a bill</h2>
+<h2>{{ _("Edit a bill") }}</h2>
<div class="container span-24 add-bill uniForm" style="width: 400px">
<form action="" method="post" class=uniForm">