From 4109f2cb1cfb610d00d1d188eb8e15fa2a8ac5dd Mon Sep 17 00:00:00 2001 From: Bai Date: Wed, 15 Feb 2023 16:28:21 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E6=94=B9=E7=BF=BB=E8=AF=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/authentication/serializers/connection_token.py | 1 + apps/locale/zh/LC_MESSAGES/django.mo | 2 +- apps/locale/zh/LC_MESSAGES/django.po | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/apps/authentication/serializers/connection_token.py b/apps/authentication/serializers/connection_token.py index 0c17974d5..22545115f 100644 --- a/apps/authentication/serializers/connection_token.py +++ b/apps/authentication/serializers/connection_token.py @@ -38,6 +38,7 @@ class ConnectionTokenSerializer(OrgResourceModelSerializerMixin): extra_kwargs = { 'from_ticket': {'read_only': True}, 'value': {'read_only': True}, + 'is_expired': {'read_only': True, 'label': _('Is expired')}, } def get_request_user(self): diff --git a/apps/locale/zh/LC_MESSAGES/django.mo b/apps/locale/zh/LC_MESSAGES/django.mo index 93beea395..42447b06e 100644 --- a/apps/locale/zh/LC_MESSAGES/django.mo +++ b/apps/locale/zh/LC_MESSAGES/django.mo @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:037f861dc9c6f7ea80ce09276e0eb417b60292fac4d7dcca02f661a53688e6e9 +oid sha256:a46345cf69c2e5feb1cb332b78dfc9af7e1412540642f2e890a9b9c0a89c21a1 size 111627 diff --git a/apps/locale/zh/LC_MESSAGES/django.po b/apps/locale/zh/LC_MESSAGES/django.po index 61ce597fa..80e9ace5e 100644 --- a/apps/locale/zh/LC_MESSAGES/django.po +++ b/apps/locale/zh/LC_MESSAGES/django.po @@ -461,7 +461,7 @@ msgstr "最后登录日期" #: accounts/models/gathered_account.py:16 msgid "Address last login" -msgstr "首次登录地址" +msgstr "最后登录地址" #: accounts/models/gathered_account.py:23 rbac/tree.py:50 msgid "Gather account"