Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions core/i18n/lang/en.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ RestartAfterUpgrade: "Start Service After Upgrade"

#add node
TaskAddNode: "Add Node"
SyncAgentBaseInfo: "Sync Node Base Data"
GenerateSSLInfo: "Generate Node SSL Information"
ConnInfoNotMatch: "Connection information does not match";
MakeAgentPackage: "Generate Node Installation Package"
Expand Down
1 change: 1 addition & 0 deletions core/i18n/lang/zh-Hant.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ RestartAfterUpgrade: "升級後啟動服務"

#node create
TaskAddNode: "添加節點"
SyncAgentBaseInfo: "同步節點基礎數據"
GenerateSSLInfo: "生成節點 SSL 信息"
ConnInfoNotMatch: "連接信息不匹配";
MakeAgentPackage: "生成節點安裝包"
Expand Down
1 change: 1 addition & 0 deletions core/i18n/lang/zh.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ RestartAfterUpgrade: "升级后启动服务"

#add node
TaskAddNode: "添加节点"
SyncAgentBaseInfo: "同步节点基础数据"
GenerateSSLInfo: "生成节点 SSL 信息"
ConnInfoNotMatch: "连接信息不匹配"
MakeAgentPackage: "生成节点安装包"
Expand Down
6 changes: 3 additions & 3 deletions frontend/src/views/container/compose/create/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -70,9 +70,9 @@ import { reactive, ref } from 'vue';
import FileList from '@/components/file-list/index.vue';
import { Rules } from '@/global/form-rules';
import i18n from '@/lang';
import { ElForm, ElMessage, ElMessageBox } from 'element-plus';
import { ElForm, ElMessageBox } from 'element-plus';
import { loadBaseDir } from '@/api/modules/setting';
import { MsgError } from '@/utils/message';
import { MsgError, MsgSuccess } from '@/utils/message';
import CodemirrorPro from '@/components/codemirror-pro/index.vue';
import TaskLog from '@/components/task-log/index.vue';
import { listComposeTemplate, testCompose, upCompose } from '@/api/modules/container';
Expand Down Expand Up @@ -201,7 +201,7 @@ const onSubmit = async (formEl: FormInstance | undefined) => {
form.taskID = newUUID();
await upCompose(form);
openTaskLog(form.taskID);
ElMessage.success(i18n.global.t('commons.msg.operationSuccess'));
MsgSuccess(i18n.global.t('commons.msg.operationSuccess'));
}
})
.catch(() => {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The provided code is incomplete, but here's what I could notice:

I'm seeing a @ at line number 70 which usually indicates an indentation error; however, there might be other issues as well.

As of September 1st, 2021, these changes wouldn't make sense without specific context or requirements. This would depend on the current state and goals of your project - please consider updating to the most recent version if needed.

If you have more detailed information about the problem areas, I can review further.

Expand Down
5 changes: 3 additions & 2 deletions frontend/src/views/container/image/build/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,11 @@ import FileList from '@/components/file-list/index.vue';
import { reactive, ref } from 'vue';
import { Rules } from '@/global/form-rules';
import i18n from '@/lang';
import { ElForm, ElMessage } from 'element-plus';
import { ElForm } from 'element-plus';
import { imageBuild } from '@/api/modules/container';
import TaskLog from '@/components/task-log/index.vue';
import { newUUID } from '@/utils/util';
import { MsgSuccess } from '@/utils/message';

const drawerVisible = ref(false);
const taskLogRef = ref();
Expand Down Expand Up @@ -95,7 +96,7 @@ const onSubmit = async (formEl: FormInstance | undefined) => {
form.taskID = newUUID();
await imageBuild(form);
openTaskLog(form.taskID);
ElMessage.success(i18n.global.t('commons.msg.operationSuccess'));
MsgSuccess(i18n.global.t('commons.msg.operationSuccess'));
});
};
const openTaskLog = (taskID: string) => {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm sorry for any misunderstandings, but I can't find the current version of the specified code you're asking about. Could you please provide more details on what specific codes or files the problem is related to?

Expand Down
Loading