From e38235a2da5ff8078e4e2844b6b0a9c4eadacb44 Mon Sep 17 00:00:00 2001 From: ChangYinShung Date: Sun, 14 Mar 2021 23:56:05 +0800 Subject: [PATCH] translate setting and cms-kit --- .../Authorization/Localization/zh-Hant.json | 10 ++ .../Localization/zh-Hant.json | 6 +- .../Abp/Features/Localization/zh-Hant.json | 8 ++ .../Abp/Emailing/Localization/zh-Hant.json | 6 + .../TextTemplating/Localization/zh-Hant.json | 7 + .../Localization/Resources/zh-Hant.json | 3 +- .../Localization/Resources/zh-Hant.json | 125 ++++++++++++++++++ .../Docs/Localization/Domain/zh-Hant.json | 2 + .../AbpSettingManagement/zh-Hant.json | 14 +- 9 files changed, 177 insertions(+), 4 deletions(-) create mode 100644 framework/src/Volo.Abp.Authorization/Volo/Abp/Authorization/Localization/zh-Hant.json create mode 100644 framework/src/Volo.Abp.Features/Volo/Abp/Features/Localization/zh-Hant.json create mode 100644 framework/test/Volo.Abp.Emailing.Tests/Volo/Abp/Emailing/Localization/zh-Hant.json create mode 100644 framework/test/Volo.Abp.TextTemplating.Tests/Volo/Abp/TextTemplating/Localization/zh-Hant.json create mode 100644 modules/cms-kit/src/Volo.CmsKit.Domain.Shared/Volo/CmsKit/Localization/Resources/zh-Hant.json diff --git a/framework/src/Volo.Abp.Authorization/Volo/Abp/Authorization/Localization/zh-Hant.json b/framework/src/Volo.Abp.Authorization/Volo/Abp/Authorization/Localization/zh-Hant.json new file mode 100644 index 0000000000..937299656c --- /dev/null +++ b/framework/src/Volo.Abp.Authorization/Volo/Abp/Authorization/Localization/zh-Hant.json @@ -0,0 +1,10 @@ +{ + "culture": "zh-Hant", + "texts": { + "Volo.Authorization:010001": "認證失敗! Given policy has not granted.", + "Volo.Authorization:010002": "認證失敗! Given policy has not granted: {PolicyName}", + "Volo.Authorization:010003": "認證失敗! Given policy has not granted for given resource: {ResourceName}", + "Volo.Authorization:010004": "認證失敗! Given requirement has not granted for given resource: {ResourceName}", + "Volo.Authorization:010005": "認證失敗! Given requirements has not granted for given resource: {ResourceName}" + } +} \ No newline at end of file diff --git a/framework/src/Volo.Abp.ExceptionHandling/Volo/Abp/ExceptionHandling/Localization/zh-Hant.json b/framework/src/Volo.Abp.ExceptionHandling/Volo/Abp/ExceptionHandling/Localization/zh-Hant.json index bf02b7f053..f934d77187 100644 --- a/framework/src/Volo.Abp.ExceptionHandling/Volo/Abp/ExceptionHandling/Localization/zh-Hant.json +++ b/framework/src/Volo.Abp.ExceptionHandling/Volo/Abp/ExceptionHandling/Localization/zh-Hant.json @@ -18,6 +18,8 @@ "401Message": "未授權", "403Message": "禁止訪問", "404Message": "網頁未找到", - "500Message": "內部伺服器錯誤" + "500Message": "內部伺服器錯誤", + "403MessageDetail": "你不被授權執行此操作", + "404MessageDetail": "對不起,地址是空的" } -} +} \ No newline at end of file diff --git a/framework/src/Volo.Abp.Features/Volo/Abp/Features/Localization/zh-Hant.json b/framework/src/Volo.Abp.Features/Volo/Abp/Features/Localization/zh-Hant.json new file mode 100644 index 0000000000..82b62dcab3 --- /dev/null +++ b/framework/src/Volo.Abp.Features/Volo/Abp/Features/Localization/zh-Hant.json @@ -0,0 +1,8 @@ +{ + "culture": "zh-Hant", + "texts": { + "Volo.Feature:010001": "功能尚未啟用: {FeatureName}", + "Volo.Feature:010002": "請求的功能尚未啟用。這些功能被須全部啟用: {FeatureNames}", + "Volo.Feature:010003": "請求的功能尚未啟用。這些功能至少需啟用一個: {FeatureNames}" + } +} \ No newline at end of file diff --git a/framework/test/Volo.Abp.Emailing.Tests/Volo/Abp/Emailing/Localization/zh-Hant.json b/framework/test/Volo.Abp.Emailing.Tests/Volo/Abp/Emailing/Localization/zh-Hant.json new file mode 100644 index 0000000000..3630ce5e70 --- /dev/null +++ b/framework/test/Volo.Abp.Emailing.Tests/Volo/Abp/Emailing/Localization/zh-Hant.json @@ -0,0 +1,6 @@ +{ + "culture": "zh-Hant", + "texts": { + "hello": "嗨" + } +} \ No newline at end of file diff --git a/framework/test/Volo.Abp.TextTemplating.Tests/Volo/Abp/TextTemplating/Localization/zh-Hant.json b/framework/test/Volo.Abp.TextTemplating.Tests/Volo/Abp/TextTemplating/Localization/zh-Hant.json new file mode 100644 index 0000000000..1c60908b66 --- /dev/null +++ b/framework/test/Volo.Abp.TextTemplating.Tests/Volo/Abp/TextTemplating/Localization/zh-Hant.json @@ -0,0 +1,7 @@ +{ + "culture": "zh-Hant", + "texts": { + "HelloText": "嗨 {0}", + "HowAreYou": "你好嗎?" + } +} \ No newline at end of file diff --git a/modules/account/src/Volo.Abp.Account.Application.Contracts/Volo/Abp/Account/Localization/Resources/zh-Hant.json b/modules/account/src/Volo.Abp.Account.Application.Contracts/Volo/Abp/Account/Localization/Resources/zh-Hant.json index 8a57429344..9517c2121f 100644 --- a/modules/account/src/Volo.Abp.Account.Application.Contracts/Volo/Abp/Account/Localization/Resources/zh-Hant.json +++ b/modules/account/src/Volo.Abp.Account.Application.Contracts/Volo/Abp/Account/Localization/Resources/zh-Hant.json @@ -44,6 +44,7 @@ "LoggedOutTitle": "註銷", "LoggedOutText": "你已成功註銷並將馬上返回.", "ReturnToText": "點擊此處返回到 {0}", + "OrLoginWith": "或是登入用:", "ForgotPassword": "忘記密碼?", "SendPasswordResetLink_Information": "密碼重置鏈接將發送到您的電子郵件以重置密碼. 如果您在幾分鐘內沒有收到電子郵件,請重試.", "PasswordResetMailSentMessage": "帳戶恢復電子郵件已發送到您的電子郵件地址. 如果您在15分鐘內未在收件箱中看到此電子郵件,請檢查垃圾郵件,並標記為非垃圾郵件.", @@ -62,4 +63,4 @@ "AccessDenied": "拒絕訪問!", "AccessDeniedMessage": "您無權訪問此資源." } -} +} \ No newline at end of file diff --git a/modules/cms-kit/src/Volo.CmsKit.Domain.Shared/Volo/CmsKit/Localization/Resources/zh-Hant.json b/modules/cms-kit/src/Volo.CmsKit.Domain.Shared/Volo/CmsKit/Localization/Resources/zh-Hant.json new file mode 100644 index 0000000000..bf3ff196f0 --- /dev/null +++ b/modules/cms-kit/src/Volo.CmsKit.Domain.Shared/Volo/CmsKit/Localization/Resources/zh-Hant.json @@ -0,0 +1,125 @@ +{ + "culture": "zh-Hant", + "texts": { + "BlogDeletionConfirmationMessage": "部落格 '{0}' 將被刪除. 你確定嗎?", + "BlogFeatureNotAvailable": "目前此功能不可使用. 請用 `GlobalFeatureManager` 來啟用它.", + "BlogId": "部落格", + "BlogPostDeletionConfirmationMessage": "部落格貼文 '{0}' 將被刪除. 你確定嗎?", + "BlogPosts": "部落格貼文", + "Blogs": "部落格", + "ChoosePreference": "選擇 Preference...", + "Cms": "Cms", + "CmsKit.Comments": "評論", + "CmsKit.Ratings": "評分", + "CmsKit.Reactions": "反應", + "CmsKit.Tags": "標籤", + "CmsKit:0002": "內容已經存在!", + "CmsKit:0003": "實體 {0} 不可標記.", + "CmsKit:Blog:0001": "給定的slug ({Slug}) 已經存在!", + "CmsKit:BlogPost:0001": "給定的slug已經存在!", + "CmsKit:Comments:0001": "實體不可 {0} 不可評論.", + "CmsKit:Media:0001": "'{Name}' 不是有效的媒體名稱.", + "CmsKit:Media:0002": "實體不可以含有媒體", + "CmsKit:Page:0001": "給定的url ({0}) 已經存在.", + "CmsKit:Reaction:0001": "實體 {EntityType} 不能有反應", + "CmsKit:Tag:0002": "實體不可標記!", + "CommentAuthorizationExceptionMessage": "些評論不允許公開顯示", + "CommentDeletionConfirmationMessage": "此評論和所有回覆將被刪除!", + "Comments": "評論", + "ContentDeletionConfirmationMessage": "你確定要刪除這個內容嗎?", + "Contents": "內容", + "CoverImage": "封面圖片", + "CreateBlogPostPage": "新部落格貼文", + "CreationTime": "建立時間", + "Delete": "刪除", + "Detail": "詳情", + "Details": "詳情", + "DoYouPreferAdditionalEmails": "你是否更喜歡額外的郵件", + "Edit": "修改", + "EndDate": "結束時間", + "EntityId": "實體Id", + "EntityType": "實體類型", + "ExportCSV": "匯出 CSV", + "Features": "功能", + "GenericDeletionConfirmationMessage": "你確定刪除 '{0}' 嗎?", + "LastModification": "最後一次修改", + "LoginToAddComment": "登錄後添加評論", + "LoginToRate": "登錄後進行評分", + "LoginToReply": "登錄後進行回覆", + "Menu:CMS": "CMS", + "Message": "消息", + "MessageDeletionConfirmationMessage": "這條評論將被完全刪除", + "Name": "名稱", + "New": "新", + "OK": "好", + "PageDeletionConfirmationMessage": "你確定刪除這個頁面嗎?", + "PageSlugInformation": "Slug用於網址. 你的網址將是 '/pages/{{slug}}'.", + "Permission:BlogManagement": "部落格管理", + "Permission:BlogManagement.Create": "創建", + "Permission:BlogManagement.Delete": "刪除", + "Permission:BlogManagement.Features": "功能", + "Permission:BlogManagement.Update": "更新", + "Permission:BlogPostManagement": "部落格貼文管理", + "Permission:BlogPostManagement.Create": "創建", + "Permission:BlogPostManagement.Delete": "刪除", + "Permission:BlogPostManagement.Update": "更新", + "Permission:CmsKit": "Cms工具包", + "Permission:Comments": "評論管理", + "Permission:Comments.Delete": "刪除", + "Permission:Contents": "內容管理", + "Permission:Contents.Create": "創建內容", + "Permission:Contents.Delete": "刪除內容", + "Permission:Contents.Update": "更新內容", + "Permission:MediaDescriptorManagement": "媒體管理", + "Permission:MediaDescriptorManagement:Create": "創建", + "Permission:MediaDescriptorManagement:Delete": "刪除", + "Permission:PageManagement": "頁面管理", + "Permission:PageManagement:Create": "創建", + "Permission:PageManagement:Delete": "刪除", + "Permission:PageManagement:Update": "更新", + "Permission:TagManagement": "標籤管理", + "Permission:TagManagement.Create": "創建", + "Permission:TagManagement.Delete": "刪除", + "Permission:TagManagement.Update": "更新", + "PickYourReaction": "選擇你的回應", + "RatingUndoMessage": "您的評分將被收回", + "Read": "閱讀", + "RepliesToThisComment": "回覆此評論", + "Reply": "回覆", + "ReplyTo": "回覆給", + "SamplePageMessage": "Pro模組的展示頁面", + "SaveChanges": "保存更改", + "SelectAll": "選擇全部", + "Send": "發送", + "SendMessage": "發送消息", + "ShortDescription": "簡介", + "Slug": "Slug", + "Source": "來源", + "SourceUrl": "來源 Url", + "Star": "星", + "StartDate": "開始時間", + "Subject": "主題", + "SubjectPlaceholder": "請輸入主題", + "Submit": "提交", + "Subscribe": "訂閱", + "SuccessfullyDeleted": "刪除成功!", + "SuccessfullySaved": "保存成功!", + "TagDeletionConfirmationMessage": "你確定刪除 '{0}' 標籤嗎?", + "Tags": "標籤", + "Text": "文本", + "ThankYou": "謝謝你", + "Title": "標題", + "Undo": "復原", + "Update": "更新", + "UpdatePreferenceSuccessMessage": "您的 preferences 已經保存", + "UpdateYourEmailPreferences": "更新你的郵件preferences", + "UploadFailedMessage": "上傳失敗", + "UserId": "用戶Id", + "Username": "用戶名稱", + "YourComment": "你的評論", + "YourEmailAddress": "你的郵件地址", + "YourFullName": "你的全名", + "YourMessage": "你的消息", + "YourReply": "你的回覆" + } +} \ No newline at end of file diff --git a/modules/docs/src/Volo.Docs.Domain/Volo/Docs/Localization/Domain/zh-Hant.json b/modules/docs/src/Volo.Docs.Domain/Volo/Docs/Localization/Domain/zh-Hant.json index dea171863c..2e2e168497 100644 --- a/modules/docs/src/Volo.Docs.Domain/Volo/Docs/Localization/Domain/zh-Hant.json +++ b/modules/docs/src/Volo.Docs.Domain/Volo/Docs/Localization/Domain/zh-Hant.json @@ -9,6 +9,7 @@ "Edit": "編輯", "LastEditTime": "上次編輯", "Delete": "刪除", + "ClearCacheConfirmationMessage": "你確定刪除此專案全部的快取 \"{0}\"", "InThisDocument": "在此文件中", "GoToTop": "到最上方", "Projects": "專案", @@ -20,6 +21,7 @@ "FilterTopics": "過濾主題", "FullSearch": "搜索文件", "Volo.Docs.Domain:010001": "Elastic search未啟用.", + "MultipleVersionDocumentInfo": "此份文件有多個版本。請選擇一個最適合的。", "New": "新文檔", "Upd": "更新", "NewExplanation": "在最近兩周內創建.", diff --git a/modules/setting-management/src/Volo.Abp.SettingManagement.Domain.Shared/Volo/Abp/SettingManagement/Localization/Resources/AbpSettingManagement/zh-Hant.json b/modules/setting-management/src/Volo.Abp.SettingManagement.Domain.Shared/Volo/Abp/SettingManagement/Localization/Resources/AbpSettingManagement/zh-Hant.json index f8f55c38cb..175cd47124 100644 --- a/modules/setting-management/src/Volo.Abp.SettingManagement.Domain.Shared/Volo/Abp/SettingManagement/Localization/Resources/AbpSettingManagement/zh-Hant.json +++ b/modules/setting-management/src/Volo.Abp.SettingManagement.Domain.Shared/Volo/Abp/SettingManagement/Localization/Resources/AbpSettingManagement/zh-Hant.json @@ -2,6 +2,18 @@ "culture": "zh-Hant", "texts": { "Settings": "設置", - "SuccessfullySaved": "保存成功" + "SuccessfullySaved": "保存成功", + "Permission:SettingManagement": "設定管理", + "Permission:Emailing": "信箱", + "Menu:Emailing": "信箱", + "SmtpHost": "主機", + "SmtpPort": "Port", + "SmtpUserName": "帳號", + "SmtpPassword": "密碼", + "SmtpDomain": "網域", + "SmtpEnableSsl": "啟用 SSL", + "SmtpUseDefaultCredentials": "使用預設Credentials", + "DefaultFromAddress": "預設發信信箱", + "DefaultFromDisplayName": "預設信件顯示名稱" } } \ No newline at end of file