mirror of
https://github.com/eitchtee/WYGIWYH.git
synced 2026-12-06 23:16:40 +01:00
locale: add lazy translations to missing ValidationErrors
This commit is contained in:
1 parent
3c0a2d82ac
commit
5ccb9ff152
4 files changed
+12
-10
No files matched your search
@@ -327,7 +327,7 @@ class TransferForm(forms.Form):
|
||||
to_account = cleaned_data.get("to_account")
|
||||
|
||||
if from_account == to_account:
|
||||
raise forms.ValidationError("From and To accounts must be different.")
|
||||
raise forms.ValidationError(_("From and To accounts must be different."))
|
||||
|
||||
return cleaned_data
|
||||
|
||||
|
||||
Reference in new issue
Block a user