mirror of
https://github.com/eitchtee/WYGIWYH.git
synced 2026-04-22 16:48:36 +02:00
locale: add lazy translations to missing ValidationErrors
This commit is contained in:
@@ -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