halo/console/console-src/modules/system
Ryan Wang 28ee0bf0e0
refactor: improve role dependency-related functions and i18n (#5227)
#### What type of PR is this?

/area console
/area core
/milestone 2.12.x

#### What this PR does / why we need it:

优化角色模板依赖的相关功能:

1. 修复勾选某个角色模板之后,其下依赖模板没有选中的问题。
2. 修复编辑角色时,模板其下依赖模板没有选中的问题。
3. 修复角色管理列表中,权限数量显示有误的问题。
4. 移除 **允许管理所有文章** 的角色模板,此角色模板与文章管理重复。
5. 优化 i18n。

#### Which issue(s) this PR fixes:

Fixes https://github.com/halo-dev/halo/issues/5222

#### Special notes for your reviewer:

需要测试上诉问题是否还存在。

#### Does this PR introduce a user-facing change?

```release-note
优化角色模板依赖的相关功能,优化文章相关角色的翻译。
```
2024-01-24 02:34:11 +00:00
..
actuator Refactor menu generation strategy to support sub-menu items. (#5177) 2024-01-19 05:34:10 +00:00
auth-providers refactor: simplify the logic of importing module 2024-01-10 12:42:05 +08:00
backup Refactor menu generation strategy to support sub-menu items. (#5177) 2024-01-19 05:34:10 +00:00
plugins Refactor menu generation strategy to support sub-menu items. (#5177) 2024-01-19 05:34:10 +00:00
roles refactor: improve role dependency-related functions and i18n (#5227) 2024-01-24 02:34:11 +00:00
settings Refactor menu generation strategy to support sub-menu items. (#5177) 2024-01-19 05:34:10 +00:00
users Refactor menu generation strategy to support sub-menu items. (#5177) 2024-01-19 05:34:10 +00:00