From 1e0898dd8770a19c45c934c4683def77b9497b3e Mon Sep 17 00:00:00 2001 From: Arnaud Bos Date: Thu, 20 Oct 2011 04:18:12 +0200 Subject: [PATCH] Last selected payer and translations. Fix #47. - Last selected payer selected by default when creating a new bill - Fix some translation typos and modify a few labels --- budget/forms.py | 9 +- budget/messages.pot | 179 ++++++++-------- budget/static/ihatemoney/custom.js | 17 ++ budget/templates/list_bills.html | 5 +- .../translations/fr/LC_MESSAGES/messages.mo | Bin 7305 -> 7230 bytes .../translations/fr/LC_MESSAGES/messages.po | 197 +++++++++--------- budget/web.py | 10 +- 7 files changed, 224 insertions(+), 193 deletions(-) create mode 100644 budget/static/ihatemoney/custom.js diff --git a/budget/forms.py b/budget/forms.py index d0a60ca..1fa8133 100644 --- a/budget/forms.py +++ b/budget/forms.py @@ -13,6 +13,13 @@ def select_multi_checkbox(field, ul_class='', **kwargs): kwargs.setdefault('type', 'checkbox') field_id = kwargs.pop('id', field.id) html = [u'