From 187977c04a25d169b80bcfd9339fe01c14dd9c72 Mon Sep 17 00:00:00 2001 From: xinwen Date: Fri, 12 Nov 2021 16:59:56 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E6=94=B9=20CPU=20info=20?= =?UTF-8?q?=E5=AD=97=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/assets/serializers/asset.py | 2 +- apps/locale/zh/LC_MESSAGES/django.po | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/assets/serializers/asset.py b/apps/assets/serializers/asset.py index 0182dfc94..1bb5afe24 100644 --- a/apps/assets/serializers/asset.py +++ b/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): diff --git a/apps/locale/zh/LC_MESSAGES/django.po b/apps/locale/zh/LC_MESSAGES/django.po index 57dae93a7..9c34f0e40 100644 --- a/apps/locale/zh/LC_MESSAGES/django.po +++ b/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