From 63f8d7a25fc64d4452839b35e1d204ce0f1196d0 Mon Sep 17 00:00:00 2001 From: Glandos Date: Sun, 4 Jul 2021 00:20:23 +0200 Subject: [PATCH] Adjust error message MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Also… Why a useless `pass` statement was ever committed ? --- ihatemoney/forms.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/ihatemoney/forms.py b/ihatemoney/forms.py index 2085ffe1..d701ac09 100644 --- a/ihatemoney/forms.py +++ b/ihatemoney/forms.py @@ -157,12 +157,11 @@ class EditProjectForm(FlaskForm): raise ValidationError( _( ( - "This project already uses different currencies" - "and can't be set to 'No Currency'" + "This project cannot be set to 'no currency'" + " because it contains bills in multiple currencies." ) ) ) - pass def update(self, project): """Update the project with the information from the form"""