From f849a63401f3f30d07a5f718762354a2db074308 Mon Sep 17 00:00:00 2001 From: Arthur Date: Thu, 13 Jul 2023 12:08:50 +0700 Subject: [PATCH] 13149 add gettext_lazy to forms --- netbox/dcim/forms/object_create.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/netbox/dcim/forms/object_create.py b/netbox/dcim/forms/object_create.py index eeca5c237..d0b509f10 100644 --- a/netbox/dcim/forms/object_create.py +++ b/netbox/dcim/forms/object_create.py @@ -226,7 +226,7 @@ class InterfaceCreateForm(ComponentCreateForm, model_forms.InterfaceForm): if 'module' in self.fields: self.fields['name'].help_text += _(' The string {module} 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):