From 1b4e51c92101e03519be3a6aa3693368f4186283 Mon Sep 17 00:00:00 2001 From: yangao Date: Sun, 24 Apr 2022 10:51:13 +0800 Subject: [PATCH] fix: Show importing status when creating image using url link Show importing status when creating image using url link Change-Id: I863ccaff62c09d09166f08b5181940b9d818b85a --- src/locales/en.json | 1 + src/locales/zh.json | 1 + src/resources/image.jsx | 1 + 3 files changed, 3 insertions(+) diff --git a/src/locales/en.json b/src/locales/en.json index c2a366d9..0e7feef8 100644 --- a/src/locales/en.json +++ b/src/locales/en.json @@ -970,6 +970,7 @@ "Import Keypair": "Import Keypair", "Import Metadata": "Import Metadata", "Import metadata": "Import metadata", + "Importing": "Importing", "In Cluster": "In Cluster", "In Use": "In Use", "In general, administrator for Windows,root for Linux, please fill by image uploading.": "In general, administrator for Windows,root for Linux, please fill by image uploading.", diff --git a/src/locales/zh.json b/src/locales/zh.json index d74cbc36..c2d2c7cd 100644 --- a/src/locales/zh.json +++ b/src/locales/zh.json @@ -970,6 +970,7 @@ "Import Keypair": "导入密钥", "Import Metadata": "导入元数据", "Import metadata": "导入元数据", + "Importing": "导入中", "In Cluster": "集群中", "In Use": "使用中", "In general, administrator for Windows,root for Linux, please fill by image uploading.": "一般情况下Windows为administrator,Linux为root,请根据上传的镜像正确填写。", diff --git a/src/resources/image.jsx b/src/resources/image.jsx index 50408a80..d6770c15 100644 --- a/src/resources/image.jsx +++ b/src/resources/image.jsx @@ -25,6 +25,7 @@ export const imageStatus = { killed: t('Killed'), deactivated: t('Deactivated'), deleted: t('Deleted'), + importing: t('Importing'), }; export const imageVisibility = {