Browse Source

feat: Add the missing localized text

pull/1451/head
colin 1 day ago
parent
commit
bd577af21d
  1. 2
      aspnet-core/LINGYUN.MicroService.Aspire.slnx
  2. 5
      aspnet-core/modules/account/LINGYUN.Abp.Account.Application.Contracts/LINGYUN/Abp/Account/Localization/Resources/en.json
  3. 5
      aspnet-core/modules/account/LINGYUN.Abp.Account.Application.Contracts/LINGYUN/Abp/Account/Localization/Resources/zh-Hans.json
  4. 2
      aspnet-core/modules/ai/LINGYUN.Abp.AIManagement.Application.Contracts/LINGYUN/Abp/AIManagement/Permissions/AIManagementPermissionDefinitionProvider.cs
  5. 5
      aspnet-core/modules/ai/LINGYUN.Abp.AIManagement.Domain.Shared/LINGYUN/Abp/AIManagement/Localization/Resources/en.json
  6. 5
      aspnet-core/modules/ai/LINGYUN.Abp.AIManagement.Domain.Shared/LINGYUN/Abp/AIManagement/Localization/Resources/zh-Hans.json

2
aspnet-core/LINGYUN.MicroService.Aspire.slnx

@ -284,8 +284,6 @@
<Folder Name="/modules/ai/">
<Project Path="modules/ai/LINGYUN.Abp.AI.Agent/LINGYUN.Abp.AI.Agent.csproj" />
<Project Path="modules/ai/LINGYUN.Abp.AI.Core/LINGYUN.Abp.AI.Core.csproj" />
<Project Path="modules/ai/LINGYUN.Abp.AI.DeepSeek.Console/LINGYUN.Abp.AI.DeepSeek.Console.csproj" />
<Project Path="modules/ai/LINGYUN.Abp.AI.DeepSeek/LINGYUN.Abp.AI.DeepSeek.csproj" />
<Project Path="modules/ai/LINGYUN.Abp.AIManagement.Application.Contracts/LINGYUN.Abp.AIManagement.Application.Contracts.csproj" />
<Project Path="modules/ai/LINGYUN.Abp.AIManagement.Application/LINGYUN.Abp.AIManagement.Application.csproj" />
<Project Path="modules/ai/LINGYUN.Abp.AIManagement.Domain.Shared/LINGYUN.Abp.AIManagement.Domain.Shared.csproj" />

5
aspnet-core/modules/account/LINGYUN.Abp.Account.Application.Contracts/LINGYUN/Abp/Account/Localization/Resources/en.json

@ -64,6 +64,9 @@
"CancelBind": "Cancel Bind",
"BindSuccessfully": "Binding successful!",
"CancelBindSuccessfully": "Unbinding successful!",
"CancelBindWarningMessage": "After unbinding, you will not be able to use an external identity. If you log in through this method, your session will be logged out!"
"CancelBindWarningMessage": "After unbinding, you will not be able to use an external identity. If you log in through this method, your session will be logged out!",
"EmailConfirm": "Email Confirm",
"AvatarChanged": "Avatar Changed",
"ClickToValidation": "Click To Validation"
}
}

5
aspnet-core/modules/account/LINGYUN.Abp.Account.Application.Contracts/LINGYUN/Abp/Account/Localization/Resources/zh-Hans.json

@ -64,6 +64,9 @@
"CancelBind": "解除绑定",
"BindSuccessfully": "绑定成功!",
"CancelBindSuccessfully": "解除绑定成功!",
"CancelBindWarningMessage": "解除绑定后将无法使用外部身份,如果你通过此方式登录,你的会话将被注销!"
"CancelBindWarningMessage": "解除绑定后将无法使用外部身份,如果你通过此方式登录,你的会话将被注销!",
"EmailConfirm": "确认邮件",
"AvatarChanged": "变更头像",
"ClickToValidation": "点击去验证"
}
}

2
aspnet-core/modules/ai/LINGYUN.Abp.AIManagement.Application.Contracts/LINGYUN/Abp/AIManagement/Permissions/AIManagementPermissionDefinitionProvider.cs

@ -21,7 +21,7 @@ public class AIManagementPermissionDefinitionProvider : PermissionDefinitionProv
MultiTenancySides.Host);
groupDefinition.AddChild(
AIManagementPermissionNames.WorkspaceDefinition.Update,
L("Permission:Edit"),
L("Permission:Update"),
MultiTenancySides.Host);
groupDefinition.AddChild(
AIManagementPermissionNames.WorkspaceDefinition.Delete,

5
aspnet-core/modules/ai/LINGYUN.Abp.AIManagement.Domain.Shared/LINGYUN/Abp/AIManagement/Localization/Resources/en.json

@ -4,8 +4,11 @@
"Permission:AIManagement": "Artificia Intelligence",
"Permission:WorkspaceDefinition": "Workspaces",
"Permission:Conversation": "Conversations",
"Permission:Chat": "Chats",
"Permission:Chats": "Chats",
"Permission:SendMessage": "Send Message",
"Permission:Create": "Create",
"Permission:Update": "Edit",
"Permission:Delete": "Delete",
"AIManagement:111001": "Workspace {Workspace} already exists!",
"AIManagement:111002": "System workspace {Workspace} is not allowed to be deleted!",
"DisplayName:MaxLatestHistoryMessagesToKeep": "Carry the recent conversation records",

5
aspnet-core/modules/ai/LINGYUN.Abp.AIManagement.Domain.Shared/LINGYUN/Abp/AIManagement/Localization/Resources/zh-Hans.json

@ -4,8 +4,11 @@
"Permission:AIManagement": "人工智能",
"Permission:WorkspaceDefinition": "工作区管理",
"Permission:Conversation": "对话管理",
"Permission:Chat": "聊天管理",
"Permission:Chats": "聊天管理",
"Permission:SendMessage": "发送消息",
"Permission:Create": "新增",
"Permission:Update": "编辑",
"Permission:Delete": "删除",
"AIManagement:111001": "工作区 {Workspace} 已存在!",
"AIManagement:111002": "系统工作区 {Workspace} 不允许删除!",
"DisplayName:MaxLatestHistoryMessagesToKeep": "携带最近对话记录",

Loading…
Cancel
Save