From 28ea2ca4b0ee3a4517152898874891f561a995a3 Mon Sep 17 00:00:00 2001 From: colin Date: Fri, 25 Oct 2024 11:25:43 +0800 Subject: [PATCH] feat(localization): add missing localization texts --- .../LINGYUN/Abp/OpenIddict/Localization/Resources/en.json | 5 +++++ .../Abp/OpenIddict/Localization/Resources/zh-Hans.json | 5 +++++ .../Abp/WebhooksManagement/Localization/Resources/en.json | 6 ++++++ .../WebhooksManagement/Localization/Resources/zh-Hans.json | 6 ++++++ 4 files changed, 22 insertions(+) diff --git a/aspnet-core/modules/openIddict/LINGYUN.Abp.OpenIddict.Application.Contracts/LINGYUN/Abp/OpenIddict/Localization/Resources/en.json b/aspnet-core/modules/openIddict/LINGYUN.Abp.OpenIddict.Application.Contracts/LINGYUN/Abp/OpenIddict/Localization/Resources/en.json index 83f996f1c..f648f8aa6 100644 --- a/aspnet-core/modules/openIddict/LINGYUN.Abp.OpenIddict.Application.Contracts/LINGYUN/Abp/OpenIddict/Localization/Resources/en.json +++ b/aspnet-core/modules/openIddict/LINGYUN.Abp.OpenIddict.Application.Contracts/LINGYUN/Abp/OpenIddict/Localization/Resources/en.json @@ -20,6 +20,7 @@ "DisplayName:DisplayName": "Display Name", "DisplayName:DisplayNames": "Display Names", "DisplayName:DefaultDisplayName": "Default Display Name", + "DisplayName:DefaultDescription": "Default Description", "DisplayName:Permissions": "Permissions", "DisplayName:Endpoints": "Endpoints", "DisplayName:GrantTypes": "Grant Types", @@ -39,6 +40,7 @@ "DisplayName:Descriptions": "Descriptions", "DisplayName:Name": "Name", "DisplayName:Resources": "Resources", + "DisplayName:Type": "Type", "DisplayName:AuthorizationId": "Authorization Id", "DisplayName:ExpirationDate": "Expiration Date", "DisplayName:Payload": "Payload", @@ -54,10 +56,13 @@ "Tokens": "Tokens", "ManageSecret": "Manage Secret", "ManagePermissions": "Manage Permissions", + "GenerateSecret": "Generate Secret", "BasicInfo": "Basic", "TokenInfo": "Token", "DisplayNames": "Display Names", "DisplayName:AddNew": "New Display Name", + "Descriptions": "Descriptions", + "Resources": "Resources", "Endpoints": "Endpoints", "Propertites": "Propertites", "Uri:AddNew": "New Uri", diff --git a/aspnet-core/modules/openIddict/LINGYUN.Abp.OpenIddict.Application.Contracts/LINGYUN/Abp/OpenIddict/Localization/Resources/zh-Hans.json b/aspnet-core/modules/openIddict/LINGYUN.Abp.OpenIddict.Application.Contracts/LINGYUN/Abp/OpenIddict/Localization/Resources/zh-Hans.json index 401a911e8..183464ed3 100644 --- a/aspnet-core/modules/openIddict/LINGYUN.Abp.OpenIddict.Application.Contracts/LINGYUN/Abp/OpenIddict/Localization/Resources/zh-Hans.json +++ b/aspnet-core/modules/openIddict/LINGYUN.Abp.OpenIddict.Application.Contracts/LINGYUN/Abp/OpenIddict/Localization/Resources/zh-Hans.json @@ -20,6 +20,7 @@ "DisplayName:DisplayName": "显示名称", "DisplayName:DisplayNames": "显示名称", "DisplayName:DefaultDisplayName": "默认显示名称", + "DisplayName:DefaultDescription": "默认描述", "DisplayName:Permissions": "权限", "DisplayName:Endpoints": "端点", "DisplayName:GrantTypes": "授权类型", @@ -39,6 +40,7 @@ "DisplayName:Descriptions": "描述", "DisplayName:Name": "名称", "DisplayName:Resources": "资源", + "DisplayName:Type": "类型", "DisplayName:AuthorizationId": "授权标识", "DisplayName:ExpirationDate": "过期时间", "DisplayName:Payload": "有效载荷", @@ -54,10 +56,13 @@ "Tokens": "令牌", "ManageSecret": "管理密钥", "ManagePermissions": "管理权限", + "GenerateSecret": "生成密钥", "BasicInfo": "基本信息", "TokenInfo": "令牌信息", "DisplayNames": "显示名称", "DisplayName:AddNew": "新显示配置", + "Descriptions": "描述", + "Resources": "资源", "Endpoints": "端点", "Propertites": "属性", "Uri:AddNew": "新Uri", diff --git a/aspnet-core/modules/webhooks/LINGYUN.Abp.WebhooksManagement.Domain.Shared/LINGYUN/Abp/WebhooksManagement/Localization/Resources/en.json b/aspnet-core/modules/webhooks/LINGYUN.Abp.WebhooksManagement.Domain.Shared/LINGYUN/Abp/WebhooksManagement/Localization/Resources/en.json index d86bb80fa..f38476ee7 100644 --- a/aspnet-core/modules/webhooks/LINGYUN.Abp.WebhooksManagement.Domain.Shared/LINGYUN/Abp/WebhooksManagement/Localization/Resources/en.json +++ b/aspnet-core/modules/webhooks/LINGYUN.Abp.WebhooksManagement.Domain.Shared/LINGYUN/Abp/WebhooksManagement/Localization/Resources/en.json @@ -51,12 +51,18 @@ "DisplayName:Header": "Header", "DisplayName:UseOnlyGivenHeaders": "Use Only Given Headers", "DisplayName:TenantId": "Tenant Id", + "Description:TenantId": "Select the tenant who needs to subscribe to the message, leave blank for the host to take effect.", "DisplayName:TenantIds": "Tenant Ids", "DisplayName:WebhookUri": "Uri", + "Description:WebhookUri": "Complete service address (including protocol port), actively initiate requests to this interface when system events occur.", "DisplayName:Secret": "Secret", + "Description:Secret": "If not empty, use this key for signing when initiating interface requests.", "DisplayName:IsActive": "Is Active", + "Description:IsActive": "Subscription takes effect after activation.", "DisplayName:Webhooks": "Webhooks", + "Description:Webhooks": "Select Active Trigger Event List.", "DisplayName:Headers": "Headers", + "Description:Headers": "Key value pair format Carry in the HTTP header when initiating interface requests.", "DisplayName:RequestHeaders": "Request Headers", "DisplayName:ResponseHeaders": "Response Headers", "DisplayName:State": "State", diff --git a/aspnet-core/modules/webhooks/LINGYUN.Abp.WebhooksManagement.Domain.Shared/LINGYUN/Abp/WebhooksManagement/Localization/Resources/zh-Hans.json b/aspnet-core/modules/webhooks/LINGYUN.Abp.WebhooksManagement.Domain.Shared/LINGYUN/Abp/WebhooksManagement/Localization/Resources/zh-Hans.json index 98ec0a219..5dc8abb39 100644 --- a/aspnet-core/modules/webhooks/LINGYUN.Abp.WebhooksManagement.Domain.Shared/LINGYUN/Abp/WebhooksManagement/Localization/Resources/zh-Hans.json +++ b/aspnet-core/modules/webhooks/LINGYUN.Abp.WebhooksManagement.Domain.Shared/LINGYUN/Abp/WebhooksManagement/Localization/Resources/zh-Hans.json @@ -51,12 +51,18 @@ "DisplayName:Header": "标头", "DisplayName:UseOnlyGivenHeaders": "只使用给定标头", "DisplayName:TenantId": "租户", + "Description:TenantId": "选择需要订阅消息的租户,留空宿主生效.", "DisplayName:TenantIds": "租户列表", "DisplayName:WebhookUri": "服务器地址", + "Description:WebhookUri": "完整的服务地址(包含协议端口),当系统事件发生时主动向此接口发起请求.", "DisplayName:Secret": "密钥", + "Description:Secret": "如果不为空,发起接口请求时使用此密钥进行签名.", "DisplayName:IsActive": "是否启用", + "Description:IsActive": "启用后订阅生效.", "DisplayName:Webhooks": "事件列表", + "Description:Webhooks": "选择主动触发事件列表.", "DisplayName:Headers": "发送标头", + "Description:Headers": "键值对格式.发起接口请求时在Http标头中携带.", "DisplayName:RequestHeaders": "请求标头", "DisplayName:ResponseHeaders": "响应标头", "DisplayName:State": "状态",