Fix cdrom translation

This commit is contained in:
wj-xiao
2025-02-21 15:04:39 +08:00
parent b5e48a07e8
commit f973316f8f
3 changed files with 5 additions and 3 deletions

View File

@@ -89,6 +89,7 @@ const en = {
title: 'Image',
loading: 'Loading...',
empty: 'Nothing Found',
cdrom: 'Mount the image in CD-ROM mode',
mountFailed: 'Mount Failed',
mountDesc:
"In some systems, it's necessary to eject the virtual disk on the remote host before mounting the image.",
@@ -256,8 +257,8 @@ const en = {
}
},
error: {
title: 'We\'ve ran into an issue',
refresh: 'Refresh',
title: "We've ran into an issue",
refresh: 'Refresh'
}
}
};

View File

@@ -87,6 +87,7 @@ const zh = {
title: '镜像',
loading: '加载中',
empty: '无镜像文件',
cdrom: '以 CD-ROM 模式挂载镜像',
mountFailed: '挂载失败',
mountDesc: '在某些系统中,需要在远程主机中弹出虚拟硬盘后再挂载镜像。',
tips: {

View File

@@ -38,7 +38,7 @@ export const Image = () => {
<Tips />
</div>
<Tooltip title="是否以 CD-ROM 模式挂载镜像" placement="bottom">
<Tooltip title={t('image.cdrom')} placement="bottom">
<div className="flex items-center space-x-2">
<span className="text-xs text-neutral-400">CD-ROM</span>