Browse Source

fix: 修改 CPU info 字段

pull/7189/head
xinwen 3 years ago committed by Jiangjie.Bai
parent
commit
187977c04a
  1. 2
      apps/assets/serializers/asset.py
  2. 2
      apps/locale/zh/LC_MESSAGES/django.po

2
apps/assets/serializers/asset.py

@ -103,7 +103,7 @@ class AssetSerializer(BulkOrgResourceModelSerializer):
'port': {'write_only': True},
'hardware_info': {'label': _('Hardware info'), '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):

2
apps/locale/zh/LC_MESSAGES/django.po

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

Loading…
Cancel
Save