mirror of
https://github.com/goharbor/harbor.git
synced 2025-02-02 13:01:23 +01:00
Modify i18n text for push permission (#14015)
Signed-off-by: AllForNothing <sshijun@vmware.com>
This commit is contained in:
parent
f31f861e90
commit
b7c5fc0562
@ -96,7 +96,7 @@ export const INITIAL_ACCESSES: FrontAccess[] = [
|
||||
];
|
||||
|
||||
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',
|
||||
'read': 'SYSTEM_ROBOT.READ',
|
||||
'create': 'SYSTEM_ROBOT.CREATE',
|
||||
|
@ -1668,6 +1668,7 @@
|
||||
"SCANNER_PULL": "Scanner Pull",
|
||||
"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_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"
|
||||
}
|
||||
}
|
||||
|
@ -1668,6 +1668,7 @@
|
||||
"SCANNER_PULL": "Scanner Pull",
|
||||
"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_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"
|
||||
}
|
||||
}
|
||||
|
@ -1666,6 +1666,7 @@
|
||||
"SCANNER_PULL": "Scanner Pull",
|
||||
"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_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"
|
||||
}
|
||||
}
|
||||
|
@ -1636,6 +1636,7 @@
|
||||
"SCANNER_PULL": "Scanner Pull",
|
||||
"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_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"
|
||||
}
|
||||
}
|
||||
|
@ -1664,7 +1664,8 @@
|
||||
"SCANNER_PULL": "Scanner Pull",
|
||||
"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_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"
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -1668,6 +1668,7 @@
|
||||
"SCANNER_PULL": "Scanner Pull",
|
||||
"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_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"
|
||||
}
|
||||
}
|
||||
|
@ -1665,6 +1665,7 @@
|
||||
"SCANNER_PULL": "扫描器拉取",
|
||||
"SEARCH_BY_NAME": "按名称(不含前缀)搜索",
|
||||
"FINAL_PROJECT_NAME_TIP": "项目级机器人的最终名称由前缀,项目名称,一个加号以及当前输入值组成",
|
||||
"FINAL_SYSTEM_NAME_TIP": "系统级机器人的最终名称由前缀和当前输入值组成"
|
||||
"FINAL_SYSTEM_NAME_TIP": "系统级机器人的最终名称由前缀和当前输入值组成",
|
||||
"PUSH_AND_PULL": "推送&拉取"
|
||||
}
|
||||
}
|
||||
|
@ -1652,6 +1652,7 @@
|
||||
"SCANNER_PULL": "Scanner Pull",
|
||||
"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_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"
|
||||
}
|
||||
}
|
||||
|
@ -21,7 +21,7 @@ Resource ../../resources/Util.robot
|
||||
|
||||
*** Keywords ***
|
||||
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
|
||||
... Delete Artifact
|
||||
... Read Helm Chart
|
||||
|
Loading…
Reference in New Issue
Block a user