Skip to content

Commit

Permalink
manager: support locales for online template
Browse files Browse the repository at this point in the history
  • Loading branch information
tiann committed Oct 21, 2023
1 parent 8a7d153 commit e828053
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 4 deletions.
8 changes: 7 additions & 1 deletion website/docs/public/templates/adb
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,11 @@
"CAP_DAC_READ_SEARCH"
],
"context":"u:r:su:s0",
"namespace":"INHERITED"
"namespace":"INHERITED",
"locales": {
"zh_CN": {
"name": "Adb 模版",
"description": "大多数使用 ADB 权限应用所需要的最小权限"
}
}
}
8 changes: 7 additions & 1 deletion website/docs/public/templates/incompetent.root
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,11 @@
"CAP_DAC_READ_SEARCH"
],
"context":"u:r:su:s0",
"namespace":"INHERITED"
"namespace":"INHERITED",
"locales": {
"zh_CN": {
"name": "无能的 Root",
"description": "权能极低的无能 root 用户"
}
}
}
10 changes: 8 additions & 2 deletions website/docs/public/templates/system
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"id":"system",
"author":"kernelsu.org",
"name":"system ",
"description":"Run as Android System",
"description":"The permission level at which the Android system runs without capabilities",
"uid":1000,
"gid":1000,
"groups":[
Expand All @@ -12,5 +12,11 @@
"CAP_DAC_READ_SEARCH"
],
"context":"u:r:su:s0",
"namespace":"INHERITED"
"namespace":"INHERITED",
"locales": {
"zh_CN": {
"name": "Android 系统",
"description": "Android 系统运行的权限级别,但没有多数权能"
}
}
}

0 comments on commit e828053

Please sign in to comment.