fix: 前端界面国际化优化 (#612)

This commit is contained in:
ssongliu 2023-04-13 14:30:34 +08:00 committed by GitHub
parent d151e98fab
commit cd79cac0af
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 2 deletions

View file

@ -3,6 +3,7 @@ const message = {
commons: { commons: {
true: 'true', true: 'true',
false: 'false', false: 'false',
example: 'Such as',
button: { button: {
create: 'Create ', create: 'Create ',
add: 'Add ', add: 'Add ',
@ -537,6 +538,7 @@ const message = {
compose: 'Compose', compose: 'Compose',
composeHelper: composeHelper:
'The current content has passed the format verification. Please click Submit to complete the creation', 'The current content has passed the format verification. Please click Submit to complete the creation',
composePathHelper: 'Config file save path: {0}',
apps: 'Apps', apps: 'Apps',
local: 'Local', local: 'Local',
createCompose: 'Create compose', createCompose: 'Create compose',

View file

@ -545,7 +545,7 @@ const message = {
compose: '编排', compose: '编排',
composeHelper: '当前内容已通过格式验证请点击确认完成创建', composeHelper: '当前内容已通过格式验证请点击确认完成创建',
composePathHelper: '容器编排将保存在: {0}', composePathHelper: '配置文件保存路径: {0}',
apps: '应用商店', apps: '应用商店',
local: '本地', local: '本地',
createCompose: '创建编排', createCompose: '创建编排',

View file

@ -199,7 +199,7 @@ const loadPath = async () => {
}; };
const changePath = async () => { const changePath = async () => {
composeFile.value = baseDir.value + '/docker/compose/' + form.name + '/xxx'; composeFile.value = baseDir.value + '/docker/compose/' + form.name;
}; };
type FormInstance = InstanceType<typeof ElForm>; type FormInstance = InstanceType<typeof ElForm>;