From 95878b3bb8b832c9aae55b15c5d2ff20600d2089 Mon Sep 17 00:00:00 2001 From: Ryan Wang <i@ryanc.cc> Date: Mon, 22 Jan 2024 15:20:10 +0800 Subject: [PATCH] refactor: update chinese display name of post editor role (#5224) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit #### What type of PR is this? /area core /milestone 2.12.x #### What this PR does / why we need it: 修改文章编辑角色的显示名称为**文章管理员**,这样会更加直观。 #### Which issue(s) this PR fixes: Fixes #5221 #### Does this PR introduce a user-facing change? ```release-note 修改文章编辑角色的显示名称为**文章管理员**。 ``` --- .../src/main/resources/extensions/role-template-uc-content.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/src/main/resources/extensions/role-template-uc-content.yaml b/application/src/main/resources/extensions/role-template-uc-content.yaml index 7b9b42a2e0..eca495a96f 100644 --- a/application/src/main/resources/extensions/role-template-uc-content.yaml +++ b/application/src/main/resources/extensions/role-template-uc-content.yaml @@ -6,7 +6,7 @@ metadata: rbac.authorization.halo.run/system-reserved: "true" annotations: # Currently, yaml definition does not support i18n, please see https://github.com/halo-dev/halo/issues/3573 - rbac.authorization.halo.run/display-name: "编辑者" + rbac.authorization.halo.run/display-name: "文章管理员" rbac.authorization.halo.run/dependencies: | ["role-template-post-editor"] rules: [ ]