fix: 修改 CPU info 字段

pull/7189/head
xinwen 3 years ago committed by Jiangjie.Bai
parent 4260fe1424
commit 187977c04a

@ -103,7 +103,7 @@ class AssetSerializer(BulkOrgResourceModelSerializer):
'port': {'write_only': True}, 'port': {'write_only': True},
'hardware_info': {'label': _('Hardware info'), 'read_only': True}, 'hardware_info': {'label': _('Hardware info'), 'read_only': True},
'admin_user_display': {'label': _('Admin user display'), 'read_only': True}, 'admin_user_display': {'label': _('Admin user display'), 'read_only': True},
'cpu_info': {'label': _('CPU Info')}, 'cpu_info': {'label': _('CPU info')},
} }
def get_fields(self): def get_fields(self):

@ -879,7 +879,7 @@ msgid "Admin user display"
msgstr "特权用户名称" msgstr "特权用户名称"
#: assets/serializers/asset.py:106 #: assets/serializers/asset.py:106
msgid "CPU Info" msgid "CPU info"
msgstr "CPU信息" msgstr "CPU信息"
#: assets/serializers/base.py:41 #: assets/serializers/base.py:41

Loading…
Cancel
Save