Fix inconsistent labels

This commit is contained in:
Raphael Michel
2024-11-19 16:36:09 +01:00
parent 7e93d38a01
commit fcff5a522d
49 changed files with 151 additions and 104 deletions

View File

@@ -231,7 +231,7 @@ class EventWizardBasicsForm(I18nModelForm):
if not data.get("no_taxes") and not data.get("tax_rate"):
raise ValidationError({
'tax_rate': _('You have not specified a tax rate. If you do not want us to compute sales taxes, please '
'check "Do not use taxes" above.')
'check "{field}" above.').format(field=self.fields["no_taxes"].label)
})
# change timezone