13149 add gettext_lazy to forms

This commit is contained in:
Arthur 2023-07-13 12:08:50 +07:00 committed by Jeremy Stretch
parent 3caa69b815
commit f849a63401

View File

@ -226,7 +226,7 @@ class InterfaceCreateForm(ComponentCreateForm, model_forms.InterfaceForm):
if 'module' in self.fields:
self.fields['name'].help_text += _(' The string <code>{module}</code> will be replaced with the position '
'of the assigned module, if any').format(module=module)
'of the assigned module, if any')
class FrontPortCreateForm(ComponentCreateForm, model_forms.FrontPortForm):