From dae7870b1227c2ccae0eb218f38337b12ea82e80 Mon Sep 17 00:00:00 2001 From: Baptiste Jonglez Date: Wed, 7 Jul 2021 01:00:40 +0200 Subject: [PATCH] Fix error message syntax to allow translation extraction --- ihatemoney/forms.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/ihatemoney/forms.py b/ihatemoney/forms.py index 866e5e2e..c85d84e6 100644 --- a/ihatemoney/forms.py +++ b/ihatemoney/forms.py @@ -160,10 +160,8 @@ class EditProjectForm(FlaskForm): ): raise ValidationError( _( - ( - "This project cannot be set to 'no currency'" - " because it contains bills in multiple currencies." - ) + "This project cannot be set to 'no currency'" + " because it contains bills in multiple currencies." ) )