

def __init__(self, *args, **kwargs):
    super(ContactFieldForm, self).__init__(*args, **kwargs)
    self.fields['name'].label = _('Name')
    self.fields['label'].label = _('Label')
    self.fields['field_type'].label = _('Field type')
    self.fields['required'].label = _('Required')
    self.fields['details'].label = _('Details')

dataset/ETHPy150Open treeio/treeio/treeio/identities/forms.py ContactFieldForm.__init__/original