From 94357ef168123be79f8eaa44ea910e16ed67a860 Mon Sep 17 00:00:00 2001 From: Ryan Wang Date: Mon, 25 Nov 2024 09:32:42 +0800 Subject: [PATCH] feat: improve role template i18n --- ui/src/locales/en.yaml | 2 ++ ui/src/locales/zh-CN.yaml | 2 ++ ui/src/locales/zh-TW.yaml | 2 ++ 3 files changed, 6 insertions(+) diff --git a/ui/src/locales/en.yaml b/ui/src/locales/en.yaml index 6f7e07890e..7f5de55ff2 100644 --- a/ui/src/locales/en.yaml +++ b/ui/src/locales/en.yaml @@ -1571,7 +1571,9 @@ core: Post Contributor: Contributions allowed Post Publisher: Allow to publish own posts UC Attachment Manage: Allow to manage own attachments + role-template-uc-attachment-manager: Allow to manage own attachments Recycle My Post: Recycle My Post + role-template-recycle-my-post: Recycle My Post components: submit_button: computed_text: "{text} ({shortcut})" diff --git a/ui/src/locales/zh-CN.yaml b/ui/src/locales/zh-CN.yaml index f7071ae9fe..ec19856828 100644 --- a/ui/src/locales/zh-CN.yaml +++ b/ui/src/locales/zh-CN.yaml @@ -1466,7 +1466,9 @@ core: Post Attachment Manager: 允许在文章中上传图片 Post Publisher: 允许发布自己的文章 UC Attachment Manage: 允许管理自己的附件 + role-template-uc-attachment-manager: 允许管理自己的附件 Recycle My Post: 允许删除自己的文章 + role-template-recycle-my-post: 允许删除自己的文章 components: submit_button: computed_text: "{text}({shortcut})" diff --git a/ui/src/locales/zh-TW.yaml b/ui/src/locales/zh-TW.yaml index e6bae57f7a..7f27785e05 100644 --- a/ui/src/locales/zh-TW.yaml +++ b/ui/src/locales/zh-TW.yaml @@ -1442,7 +1442,9 @@ core: Post Contributor: 允許投稿 Post Publisher: 允許發布自己的文章 UC Attachment Manage: 允許管理自己的附件 + role-template-uc-attachment-manager: 允許管理自己的附件 Recycle My Post: 允許刪除自己的文章 + role-template-recycle-my-post: 允許刪除自己的文章 components: submit_button: computed_text: "{text}({shortcut})"