From 060e8ace701ca2e7b206c4a9a186d398e3ee04a1 Mon Sep 17 00:00:00 2001 From: ibuler Date: Thu, 6 Mar 2025 10:22:32 +0800 Subject: [PATCH] perf: update i18n --- apps/i18n/lina/en.json | 4 +++- apps/i18n/lina/zh.json | 1 + apps/settings/serializers/basic.py | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/apps/i18n/lina/en.json b/apps/i18n/lina/en.json index 00f9e0638..58a249ac6 100644 --- a/apps/i18n/lina/en.json +++ b/apps/i18n/lina/en.json @@ -16,6 +16,7 @@ "AccountBackupTask": "Account backup task | Account backup tasks", "AccountBackupUpdate": "Update account backup", "AccountChangeSecretDetail": "Change account secret details", + "AccountChangeSecret": "Account change secret", "AccountData": "Account data", "AccountDeleteConfirmMsg": "Delete account, continue?", "AccountDeleted": "Account deleted", @@ -270,7 +271,8 @@ "ChangeField": "Change field", "ChangeOrganization": "Change organization", "ChangePassword": "Change password", - "ChangeSecret": "Change secrets", + "ChangeSecret": "Change secret", + "MenuChangeSecret": "Change secrets", "ChangeSecretAccountHelpText": "For accounts in the same asset, if there is a switch-from relationship, the password change should not be performed in the same task, but should be divided into two tasks for execution separately.", "ChangeSecretFailAccounts": "Secret change failed Accounts", "ChangeSecretParams": "Change secret parameters", diff --git a/apps/i18n/lina/zh.json b/apps/i18n/lina/zh.json index 5c17ac08e..b5ca944c3 100644 --- a/apps/i18n/lina/zh.json +++ b/apps/i18n/lina/zh.json @@ -785,6 +785,7 @@ "MenuMore": "其它", "MenuPermissions": "授权管理", "MenuUsers": "用户管理", + "MenuChangeSecret": "账号改密", "Message": "消息", "MessageType": "消息类型", "MfaLevel": "多因子认证", diff --git a/apps/settings/serializers/basic.py b/apps/settings/serializers/basic.py index 27f8af7f0..313d535bb 100644 --- a/apps/settings/serializers/basic.py +++ b/apps/settings/serializers/basic.py @@ -19,7 +19,7 @@ class BasicSettingSerializer(serializers.Serializer): help_text=_('User first login update profile done redirect to it') ) GLOBAL_ORG_DISPLAY_NAME = serializers.CharField( - required=False, max_length=1024, allow_blank=True, allow_null=True, label=_("Global organization"), + required=False, max_length=1024, allow_blank=True, allow_null=True, label=_("Global org display"), help_text=_('The name of global organization to display') ) HELP_DOCUMENT_URL = serializers.URLField(