From c86f0cc08df266e180ded1269b3e019af515c189 Mon Sep 17 00:00:00 2001 From: ibuler Date: Tue, 27 Jun 2023 16:41:27 +0800 Subject: [PATCH 1/2] =?UTF-8?q?feat:=20=E6=94=AF=E6=8C=81=E6=8E=88?= =?UTF-8?q?=E6=9D=83=E5=8C=BF=E5=90=8D=E8=B4=A6=E5=8F=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/i18n/langs/en.json | 1 + src/i18n/langs/ja.json | 1 + src/i18n/langs/zh.json | 2 ++ .../components/AccountFormatter.vue | 16 ++++++++++++++-- src/views/perms/const.js | 4 +++- 5 files changed, 21 insertions(+), 3 deletions(-) diff --git a/src/i18n/langs/en.json b/src/i18n/langs/en.json index 32925fac3..26a690359 100644 --- a/src/i18n/langs/en.json +++ b/src/i18n/langs/en.json @@ -1090,6 +1090,7 @@ }, "perms": { "": "", + "AnonymousAccountTip": "An anonymous account refers to the connection of assets without using a username and password, and it only supports web-based and custom-type assets.", "AssetPermissionHelpMsg": "Asset permission allows you to authorize the assets to the users. Additionally, you can set some specific action permission.", "AccountsHelp": "All accounts: accounts exists on the asset; Specify accounts: specify the user name of the account under the asset;Manual input: username/password; Same account: The account username name same with login user", "AllAccounts": "All accounts", diff --git a/src/i18n/langs/ja.json b/src/i18n/langs/ja.json index 7b456b230..aafe96a20 100644 --- a/src/i18n/langs/ja.json +++ b/src/i18n/langs/ja.json @@ -1089,6 +1089,7 @@ }, "perms": { "": "", + "AnonymousAccountTip": "匿名アカウントとは、資産の接続時にユーザー名とパスワードを使用せず、ウェブタイプとカスタムタイプの資産のみをサポートするものです。", "AssetPermissionHelpMsg": "資産の権限設定では、ユーザーに対して資産へのアクセス権を許可することができます。さらに、特定の操作権限を設定することもできます", "AccountsHelp": "すべてのアカウント: アカウントはアセットに存在します。 アカウントの指定: 資産の下のアカウントのユーザー名を指定します。手入力: ユーザー名/パスワード; 同一アカウント:ログインユーザーと同じアカウントのユーザー名", "AllAccounts": "すべてのアカウント", diff --git a/src/i18n/langs/zh.json b/src/i18n/langs/zh.json index 4fb6cb8a0..1b982679e 100644 --- a/src/i18n/langs/zh.json +++ b/src/i18n/langs/zh.json @@ -1089,7 +1089,9 @@ "AllAccounts": "所有账号", "AllAccountTip": "资产上已添加的所有账号", "ManualAccount": "手动账号", + "AnonymousAccount": "匿名账号", "ManualAccountTip": "登录时手动输入 用户名/密码", + "AnonymousAccountTip": "匿名账号 是指的连接资产时不使用用户名和密码,仅支持 web类型 和 自定义类型 的资产", "SameAccount": "同名账号", "SameAccountTip": "与被授权人用户名相同的账号", "SpecAccount": "指定账号", diff --git a/src/views/perms/AssetPermission/components/AccountFormatter.vue b/src/views/perms/AssetPermission/components/AccountFormatter.vue index 355519791..734c9e02e 100644 --- a/src/views/perms/AssetPermission/components/AccountFormatter.vue +++ b/src/views/perms/AssetPermission/components/AccountFormatter.vue @@ -45,7 +45,14 @@