mirror of
https://github.com/spiral-project/ihatemoney.git
synced 2025-05-02 03:02:23 +02:00
Fix error message syntax to allow translation extraction
This commit is contained in:
parent
07b86bc580
commit
dae7870b12
1 changed files with 2 additions and 4 deletions
|
@ -160,12 +160,10 @@ class EditProjectForm(FlaskForm):
|
||||||
):
|
):
|
||||||
raise ValidationError(
|
raise ValidationError(
|
||||||
_(
|
_(
|
||||||
(
|
|
||||||
"This project cannot be set to 'no currency'"
|
"This project cannot be set to 'no currency'"
|
||||||
" because it contains bills in multiple currencies."
|
" because it contains bills in multiple currencies."
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
)
|
|
||||||
|
|
||||||
def update(self, project):
|
def update(self, project):
|
||||||
"""Update the project with the information from the form"""
|
"""Update the project with the information from the form"""
|
||||||
|
|
Loading…
Reference in a new issue