Modify i18n text for push permission (#14015)

Signed-off-by: AllForNothing <sshijun@vmware.com>
This commit is contained in:
Will Sun 2021-01-15 15:26:48 +08:00 committed by GitHub
parent f31f861e90
commit b7c5fc0562
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
10 changed files with 18 additions and 10 deletions

View File

@ -96,7 +96,7 @@ export const INITIAL_ACCESSES: FrontAccess[] = [
]; ];
export const ACTION_RESOURCE_I18N_MAP = { export const ACTION_RESOURCE_I18N_MAP = {
'push': 'ROBOT_ACCOUNT.PUSH', 'push': 'SYSTEM_ROBOT.PUSH_AND_PULL', // push permission contains pull permission
'pull': 'ROBOT_ACCOUNT.PULL', 'pull': 'ROBOT_ACCOUNT.PULL',
'read': 'SYSTEM_ROBOT.READ', 'read': 'SYSTEM_ROBOT.READ',
'create': 'SYSTEM_ROBOT.CREATE', 'create': 'SYSTEM_ROBOT.CREATE',

View File

@ -1668,6 +1668,7 @@
"SCANNER_PULL": "Scanner Pull", "SCANNER_PULL": "Scanner Pull",
"SEARCH_BY_NAME": "Search by name(without prefix)", "SEARCH_BY_NAME": "Search by name(without prefix)",
"FINAL_PROJECT_NAME_TIP": "The final project robot name consists of the prefix,the project name,a plus mark and the current input value", "FINAL_PROJECT_NAME_TIP": "The final project robot name consists of the prefix,the project name,a plus mark and the current input value",
"FINAL_SYSTEM_NAME_TIP": "The final system robot name consists of the prefix and the current input value" "FINAL_SYSTEM_NAME_TIP": "The final system robot name consists of the prefix and the current input value",
"PUSH_AND_PULL": "Push&Pull"
} }
} }

View File

@ -1668,6 +1668,7 @@
"SCANNER_PULL": "Scanner Pull", "SCANNER_PULL": "Scanner Pull",
"SEARCH_BY_NAME": "Search by name(without prefix)", "SEARCH_BY_NAME": "Search by name(without prefix)",
"FINAL_PROJECT_NAME_TIP": "The final project robot name consists of the prefix,the project name,a plus mark and the current input value", "FINAL_PROJECT_NAME_TIP": "The final project robot name consists of the prefix,the project name,a plus mark and the current input value",
"FINAL_SYSTEM_NAME_TIP": "The final system robot name consists of the prefix and the current input value" "FINAL_SYSTEM_NAME_TIP": "The final system robot name consists of the prefix and the current input value",
"PUSH_AND_PULL": "Push&Pull"
} }
} }

View File

@ -1666,6 +1666,7 @@
"SCANNER_PULL": "Scanner Pull", "SCANNER_PULL": "Scanner Pull",
"SEARCH_BY_NAME": "Search by name(without prefix)", "SEARCH_BY_NAME": "Search by name(without prefix)",
"FINAL_PROJECT_NAME_TIP": "The final project robot name consists of the prefix,the project name,a plus mark and the current input value", "FINAL_PROJECT_NAME_TIP": "The final project robot name consists of the prefix,the project name,a plus mark and the current input value",
"FINAL_SYSTEM_NAME_TIP": "The final system robot name consists of the prefix and the current input value" "FINAL_SYSTEM_NAME_TIP": "The final system robot name consists of the prefix and the current input value",
"PUSH_AND_PULL": "Push&Pull"
} }
} }

View File

@ -1636,6 +1636,7 @@
"SCANNER_PULL": "Scanner Pull", "SCANNER_PULL": "Scanner Pull",
"SEARCH_BY_NAME": "Search by name(without prefix)", "SEARCH_BY_NAME": "Search by name(without prefix)",
"FINAL_PROJECT_NAME_TIP": "The final project robot name consists of the prefix,the project name,a plus mark and the current input value", "FINAL_PROJECT_NAME_TIP": "The final project robot name consists of the prefix,the project name,a plus mark and the current input value",
"FINAL_SYSTEM_NAME_TIP": "The final system robot name consists of the prefix and the current input value" "FINAL_SYSTEM_NAME_TIP": "The final system robot name consists of the prefix and the current input value",
"PUSH_AND_PULL": "Push&Pull"
} }
} }

View File

@ -1664,7 +1664,8 @@
"SCANNER_PULL": "Scanner Pull", "SCANNER_PULL": "Scanner Pull",
"SEARCH_BY_NAME": "Search by name(without prefix)", "SEARCH_BY_NAME": "Search by name(without prefix)",
"FINAL_PROJECT_NAME_TIP": "The final project robot name consists of the prefix,the project name,a plus mark and the current input value", "FINAL_PROJECT_NAME_TIP": "The final project robot name consists of the prefix,the project name,a plus mark and the current input value",
"FINAL_SYSTEM_NAME_TIP": "The final system robot name consists of the prefix and the current input value" "FINAL_SYSTEM_NAME_TIP": "The final system robot name consists of the prefix and the current input value",
"PUSH_AND_PULL": "Push&Pull"
} }
} }

View File

@ -1668,6 +1668,7 @@
"SCANNER_PULL": "Scanner Pull", "SCANNER_PULL": "Scanner Pull",
"SEARCH_BY_NAME": "Search by name(without prefix)", "SEARCH_BY_NAME": "Search by name(without prefix)",
"FINAL_PROJECT_NAME_TIP": "The final project robot name consists of the prefix,the project name,a plus mark and the current input value", "FINAL_PROJECT_NAME_TIP": "The final project robot name consists of the prefix,the project name,a plus mark and the current input value",
"FINAL_SYSTEM_NAME_TIP": "The final system robot name consists of the prefix and the current input value" "FINAL_SYSTEM_NAME_TIP": "The final system robot name consists of the prefix and the current input value",
"PUSH_AND_PULL": "Push&Pull"
} }
} }

View File

@ -1665,6 +1665,7 @@
"SCANNER_PULL": "扫描器拉取", "SCANNER_PULL": "扫描器拉取",
"SEARCH_BY_NAME": "按名称(不含前缀)搜索", "SEARCH_BY_NAME": "按名称(不含前缀)搜索",
"FINAL_PROJECT_NAME_TIP": "项目级机器人的最终名称由前缀,项目名称,一个加号以及当前输入值组成", "FINAL_PROJECT_NAME_TIP": "项目级机器人的最终名称由前缀,项目名称,一个加号以及当前输入值组成",
"FINAL_SYSTEM_NAME_TIP": "系统级机器人的最终名称由前缀和当前输入值组成" "FINAL_SYSTEM_NAME_TIP": "系统级机器人的最终名称由前缀和当前输入值组成",
"PUSH_AND_PULL": "推送&拉取"
} }
} }

View File

@ -1652,6 +1652,7 @@
"SCANNER_PULL": "Scanner Pull", "SCANNER_PULL": "Scanner Pull",
"SEARCH_BY_NAME": "Search by name(without prefix)", "SEARCH_BY_NAME": "Search by name(without prefix)",
"FINAL_PROJECT_NAME_TIP": "The final project robot name consists of the prefix,the project name,a plus mark and the current input value", "FINAL_PROJECT_NAME_TIP": "The final project robot name consists of the prefix,the project name,a plus mark and the current input value",
"FINAL_SYSTEM_NAME_TIP": "The final system robot name consists of the prefix and the current input value" "FINAL_SYSTEM_NAME_TIP": "The final system robot name consists of the prefix and the current input value",
"PUSH_AND_PULL": "Push&Pull"
} }
} }

View File

@ -21,7 +21,7 @@ Resource ../../resources/Util.robot
*** Keywords *** *** Keywords ***
Create A Random Permission Item List Create A Random Permission Item List
${permission_item_all_list}= Create List Push Artifact ${permission_item_all_list}= Create List Push&Pull Artifact
... Pull Artifact ... Pull Artifact
... Delete Artifact ... Delete Artifact
... Read Helm Chart ... Read Helm Chart