fix: Fix the encryption provider format

The encryption provider format is wrong, fix it to luks

Change-Id: I264640173e9fb07bf2a11cc8e29d2beeccf8ebae
This commit is contained in:
xusongfu 2022-02-25 14:41:43 +08:00
parent 04e8210fdd
commit 757047a1cb
5 changed files with 5 additions and 5 deletions

View File

@ -1863,7 +1863,7 @@
"Thailand": "Thailand", "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", "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 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 Macedonia": "The Republic of Macedonia",
"The Republic of South Sudan": "The Republic of South Sudan", "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.", "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.",

View File

@ -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\")": "提供者是提供者加密格式(例如\"lucks\"", "The Provider is the encryption provider format (e.g. \"luks\")": "提供者是提供者加密格式(例如\"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.": "SSH 密钥是一种远程登录云主机的方式,云平台只帮助保管公钥,请妥善保管自己的私钥。", "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 密钥是一种远程登录云主机的方式,云平台只帮助保管公钥,请妥善保管自己的私钥。",

View File

@ -104,7 +104,7 @@ export class User extends Base {
isHideable: true, isHideable: true,
render: (project_roles) => { render: (project_roles) => {
if (project_roles && project_roles[0]) { if (project_roles && project_roles[0]) {
return project_roles.map((it) => <div>{it}</div>); return project_roles.map((it, idx) => <div key={idx}>{it}</div>);
} }
}, },
}, },

View File

@ -54,7 +54,7 @@ export default class CreateEncryption extends ModalAction {
type: 'input', type: 'input',
placeholder: t('Please input provider'), placeholder: t('Please input provider'),
extra: t( extra: t(
'The Provider is the encryption provider format (e.g. "lucks")' 'The Provider is the encryption provider format (e.g. "luks")'
), ),
required: true, required: true,
style: { style: {

View File

@ -105,7 +105,7 @@ describe('The Volume Type Page', () => {
it('successfully create encryption', () => { it('successfully create encryption', () => {
cy.tableSearchText(name) cy.tableSearchText(name)
.clickActionInMore('Create Encryption') .clickActionInMore('Create Encryption')
.formInput('provider', 'lucks') .formInput('provider', 'luks')
.formSelect('control_location') .formSelect('control_location')
.clickModalActionSubmitButton(); .clickModalActionSubmitButton();