1. remove rule always

2. update i18n

Signed-off-by: Ziming Zhang <zziming@vmware.com>
Change-Id: I0e2394f0a6b283d0efef7a44ed2d4afb9745eabd
This commit is contained in:
Ziming Zhang 2019-08-05 17:59:00 +08:00
parent 12fb643f0a
commit 3a80123a82
6 changed files with 5 additions and 17 deletions

View File

@ -88,18 +88,6 @@ func (r *RetentionAPI) GetMetadatas() {
"required": true
}
]
},
{
"rule_template": "always",
"display_text": "always",
"action": "retain",
"params": [
{
"type": "int",
"unit": "COUNT",
"required": true
}
]
}
],
"scope_selectors": [

View File

@ -1095,7 +1095,7 @@
"ADD_SYSTEM": "ADD SYSTEM"
},
"TAG_RETENTION": {
"TAG_RETENTION": "Tag Retention Policy",
"TAG_RETENTION": "Tag Retention",
"RETENTION_RULES": "Retention rules",
"RULE_NAME_1": " the images from the last {{number}} days",
"RULE_NAME_2": " the most recent active {{number}} images",

View File

@ -1093,7 +1093,7 @@
"ADD_SYSTEM": "ADD SYSTEM"
},
"TAG_RETENTION": {
"TAG_RETENTION": "Tag Retention Policy",
"TAG_RETENTION": "Tag Retention",
"RETENTION_RULES": "Retention rules",
"RULE_NAME_1": " the images from the last {{number}} days",
"RULE_NAME_2": " the most recent active {{number}} images",

View File

@ -1065,7 +1065,7 @@
"ADD_SYSTEM": "ADD SYSTEM"
},
"TAG_RETENTION": {
"TAG_RETENTION": "Tag Retention Policy",
"TAG_RETENTION": "Tag Retention",
"RETENTION_RULES": "Retention rules",
"RULE_NAME_1": " the images from the last {{number}} days",
"RULE_NAME_2": " the most recent active {{number}} images",

View File

@ -1090,7 +1090,7 @@
"ADD_SYSTEM": "ADD SYSTEM"
},
"TAG_RETENTION": {
"TAG_RETENTION": "Tag Retention Policy",
"TAG_RETENTION": "Tag Retention",
"RETENTION_RULES": "Retention rules",
"RULE_NAME_1": " the images from the last {{number}} days",
"RULE_NAME_2": " the most recent active {{number}} images",

View File

@ -1091,7 +1091,7 @@
"ADD_SYSTEM": "添加系统白名单"
},
"TAG_RETENTION": {
"TAG_RETENTION": "Tag保留策略",
"TAG_RETENTION": "Tag保留",
"RETENTION_RULES": "保留规则",
"RULE_NAME_1": "最近{{number}}天的镜像",
"RULE_NAME_2": "最近活跃的{{number}}个镜像",