diff --git a/src/asset/image/lock.svg b/src/asset/image/lock.svg index 32838f79..736dde5c 100644 --- a/src/asset/image/lock.svg +++ b/src/asset/image/lock.svg @@ -1,12 +1,10 @@ - jiesuo + lock - - - - - + + + \ No newline at end of file diff --git a/src/locales/en.json b/src/locales/en.json index 3268729e..5e5a3e96 100644 --- a/src/locales/en.json +++ b/src/locales/en.json @@ -1812,7 +1812,6 @@ "Quota Overview": "Quota Overview", "Quota exceeded": "Quota exceeded", "Quota is not enough for extend share.": "Quota is not enough for extend share.", - "Quota is not enough for extend volume.": "Quota is not enough for extend volume.", "Quota of key pair means: the number of allowed key pairs for each user.": "Quota of key pair means: the number of allowed key pairs for each user.", "Quota: Insufficient quota to create resources, please adjust resource quantity or quota(left { quota }, input { input }).": "Quota: Insufficient quota to create resources, please adjust resource quantity or quota(left { quota }, input { input }).", "Quota: Insufficient { name } quota to create resources, please adjust resource quantity or quota(left { left }, input { input }).": "Quota: Insufficient { name } quota to create resources, please adjust resource quantity or quota(left { left }, input { input }).", @@ -2225,6 +2224,7 @@ "The https_proxy address to use for nodes in cluster": "The https_proxy address to use for nodes in cluster", "The instance architecture diagram mainly shows the overall architecture composition of the instance. If you need to view the network topology of the instance, please go to: ": "The instance architecture diagram mainly shows the overall architecture composition of the instance. If you need to view the network topology of the instance, please go to: ", "The instance deleted immediately cannot be restored": "The instance deleted immediately cannot be restored", + "The instance has been locked. If you want to do more, please unlock it first.": "The instance has been locked. If you want to do more, please unlock it first.", "The instance is not shut down, unable to restore.": "The instance is not shut down, unable to restore.", "The instances in the affinity group are allocated to the same physical machine as much as possible, and when there are no more physical machines to allocate, the normal allocation strategy is returned.": "The instances in the affinity group are allocated to the same physical machine as much as possible, and when there are no more physical machines to allocate, the normal allocation strategy is returned.", "The instances in the affinity group are strictly allocated to the same physical machine. When there are no more physical machines to allocate, the allocation fails.": "The instances in the affinity group are strictly allocated to the same physical machine. When there are no more physical machines to allocate, the allocation fails.", diff --git a/src/locales/zh.json b/src/locales/zh.json index b5ce339e..969b620b 100644 --- a/src/locales/zh.json +++ b/src/locales/zh.json @@ -1812,7 +1812,6 @@ "Quota Overview": "配额概况", "Quota exceeded": "配额用尽", "Quota is not enough for extend share.": "配额不足以扩容共享。", - "Quota is not enough for extend volume.": "配额不足以扩容云硬盘。", "Quota of key pair means: the number of allowed key pairs for each user.": "密钥的配额表示:每个用户允许创建的密钥数量。", "Quota: Insufficient quota to create resources, please adjust resource quantity or quota(left { quota }, input { input }).": "配额:项目配额不足,无法创建资源,请进行资源数量或配额的调整(剩余{ quota },输入{ input })。", "Quota: Insufficient { name } quota to create resources, please adjust resource quantity or quota(left { left }, input { input }).": "配额:{ name } 配额不足,无法创建资源,请进行资源数量或配额的调整(剩余{ left },输入{ input })。", @@ -2225,6 +2224,7 @@ "The https_proxy address to use for nodes in cluster": "用于集群中节点的 https_proxy 地址", "The instance architecture diagram mainly shows the overall architecture composition of the instance. If you need to view the network topology of the instance, please go to: ": "云主机架构图主要展示云主机的总体架构组成。如果需要查看云主机的网络拓扑,请转到:", "The instance deleted immediately cannot be restored": "立即删除的云主机无法恢复", + "The instance has been locked. If you want to do more, please unlock it first.": "该云主机已被锁定。如果要做更多操作,请先解锁。", "The instance is not shut down, unable to restore.": "云主机不处于关机状态,不支持恢复备份操作。", "The instances in the affinity group are allocated to the same physical machine as much as possible, and when there are no more physical machines to allocate, the normal allocation strategy is returned.": "将亲和组内的云主机尽量分配到不同物理机上,当没有更多物理机可分配时,回归普通分配策略。", "The instances in the affinity group are strictly allocated to the same physical machine. When there are no more physical machines to allocate, the allocation fails.": "将亲和组内的云主机严格分配到同一物理机上,当没有更多物理机可分配时,则分配失败。", diff --git a/src/resources/manila/share.js b/src/resources/manila/share.js index 6760ac60..8cba1ff1 100644 --- a/src/resources/manila/share.js +++ b/src/resources/manila/share.js @@ -134,7 +134,7 @@ const titleMap = { shares: t('Share'), gigabytes: t('Share Gigabytes(GiB)'), share_networks: t('Share Network'), - share_groups: t('Share group'), + share_groups: t('Share Group'), }; export const getQuotaInfo = ( diff --git a/src/resources/nova/instance.jsx b/src/resources/nova/instance.jsx index e8db3d12..e8d76f39 100644 --- a/src/resources/nova/instance.jsx +++ b/src/resources/nova/instance.jsx @@ -23,7 +23,15 @@ import { projectTagsColors } from 'src/utils/constants'; import lockSvg from 'asset/image/lock.svg'; import unlockSvg from 'asset/image/unlock.svg'; -const lockIcon = lock; +const lockIcon = ( + + lock + +); const unlockIcon = ( unlock );