mirror of
https://github.com/netbox-community/netbox.git
synced 2025-08-03 14:18:16 -06:00
Fix string translation
This commit is contained in:
parent
f5f3c5880f
commit
e0ba63388b
@ -66,7 +66,7 @@ class CSVModelChoiceField(forms.ModelChoiceField):
|
||||
)
|
||||
except FieldError:
|
||||
raise forms.ValidationError(
|
||||
_(f'"{self.to_field_name}" is an invalid accessor field name.')
|
||||
_('"{field_name}" is an invalid accessor field name.').format(field_name=self.to_field_name)
|
||||
)
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user