misc: add skipped i18n str fragment (#88045)

This commit is contained in:
Paul Marillonnet 2024-04-02 11:57:23 +02:00
parent 6a7a4814a9
commit fe998389ec
1 changed files with 1 additions and 2 deletions

View File

@ -237,8 +237,7 @@ class PhoneField(MultiValueField):
)
if all(conf[1:]):
validation_error_message = _(
f'Invalid phone number. Phone number from {conf[1]} must respect local format '
f'(e.g. {conf[2]}).'
f'Invalid phone number. Phone number from {conf[1]} must respect local format (e.g. {conf[2]}).'
)
else:
# missing human-friendly config elements, can't provide a clearer validation error message: