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"