diff --git a/src/locales/en.json b/src/locales/en.json index b5270ce7..29747db5 100644 --- a/src/locales/en.json +++ b/src/locales/en.json @@ -1863,7 +1863,7 @@ "Thailand": "Thailand", "That is, after how many consecutive failures of the health check, the health check status of the back-end cloud server is changed from normal to abnormal": "That is, after how many consecutive failures of the health check, the health check status of the back-end cloud server is changed from normal to abnormal", "The Federation of Saint Kitts and Nevis": "The Federation of Saint Kitts and Nevis", - "The Provider is the encryption provider format (e.g. \"lucks\")": "The Provider is the encryption provider format (e.g. \"lucks\")", + "The Provider is the encryption provider format (e.g. \"luks\")": "The Provider is the encryption provider format (e.g. \"luks\")", "The Republic of Macedonia": "The Republic of Macedonia", "The Republic of South Sudan": "The Republic of South Sudan", "The SSH key is a way to remotely log in to the instance. The cloud platform only helps to keep the public key. Please keep your private key properly.": "The SSH key is a way to remotely log in to the instance. The cloud platform only helps to keep the public key. Please keep your private key properly.", diff --git a/src/locales/zh.json b/src/locales/zh.json index ac637e8b..8993d100 100644 --- a/src/locales/zh.json +++ b/src/locales/zh.json @@ -1863,7 +1863,7 @@ "Thailand": "泰国", "That is, after how many consecutive failures of the health check, the health check status of the back-end cloud server is changed from normal to abnormal": "即健康检查连续失败多少次后,将后端云服务器的健康检查状态由正常改为不正常", "The Federation of Saint Kitts and Nevis": "圣基茨和尼维斯", - "The Provider is the encryption provider format (e.g. \"lucks\")": "提供者是提供者加密格式(例如\"lucks\")", + "The Provider is the encryption provider format (e.g. \"luks\")": "提供者是提供者加密格式(例如\"luks\")", "The Republic of Macedonia": "马其顿", "The Republic of South Sudan": "南苏丹共和国", "The SSH key is a way to remotely log in to the instance. The cloud platform only helps to keep the public key. Please keep your private key properly.": "SSH 密钥是一种远程登录云主机的方式,云平台只帮助保管公钥,请妥善保管自己的私钥。", diff --git a/src/pages/identity/containers/User/index.jsx b/src/pages/identity/containers/User/index.jsx index a46b0d6d..c76f0db1 100644 --- a/src/pages/identity/containers/User/index.jsx +++ b/src/pages/identity/containers/User/index.jsx @@ -104,7 +104,7 @@ export class User extends Base { isHideable: true, render: (project_roles) => { if (project_roles && project_roles[0]) { - return project_roles.map((it) =>
{it}
); + return project_roles.map((it, idx) =>
{it}
); } }, }, diff --git a/src/pages/storage/containers/VolumeType/VolumeType/actions/CreateEncryption.jsx b/src/pages/storage/containers/VolumeType/VolumeType/actions/CreateEncryption.jsx index a9a12bc4..72202632 100644 --- a/src/pages/storage/containers/VolumeType/VolumeType/actions/CreateEncryption.jsx +++ b/src/pages/storage/containers/VolumeType/VolumeType/actions/CreateEncryption.jsx @@ -54,7 +54,7 @@ export default class CreateEncryption extends ModalAction { type: 'input', placeholder: t('Please input provider'), extra: t( - 'The Provider is the encryption provider format (e.g. "lucks")' + 'The Provider is the encryption provider format (e.g. "luks")' ), required: true, style: { diff --git a/test/e2e/integration/pages/storage/volume-type.spec.js b/test/e2e/integration/pages/storage/volume-type.spec.js index d6a3f8cd..d33b6ea5 100644 --- a/test/e2e/integration/pages/storage/volume-type.spec.js +++ b/test/e2e/integration/pages/storage/volume-type.spec.js @@ -105,7 +105,7 @@ describe('The Volume Type Page', () => { it('successfully create encryption', () => { cy.tableSearchText(name) .clickActionInMore('Create Encryption') - .formInput('provider', 'lucks') + .formInput('provider', 'luks') .formSelect('control_location') .clickModalActionSubmitButton();