2
0
mirror of https://github.com/acepanel/panel.git synced 2026-02-04 10:17:17 +08:00

feat: 添加翻译

This commit is contained in:
2025-04-12 17:35:22 +08:00
parent 2ff01579d6
commit 53fdcfb715
17 changed files with 286 additions and 160 deletions

View File

@@ -205,11 +205,11 @@ func (r *Postgres) Users() ([]types.PostgresUser, error) {
}
permissions := map[string]bool{
"超级用户": super,
"创建角色": canCreateRole,
"创建数据库": canCreateDb,
"可以复制": replication,
"绕过行级安全": bypassRls,
"Super": super,
"CreateRole": canCreateRole,
"CreateDB": canCreateDb,
"Replication": replication,
"BypassRLS": bypassRls,
}
for perm, enabled := range permissions {
if enabled {