Skip to content

Commit

Permalink
fix: 前端界面国际化优化 (#612)
Browse files Browse the repository at this point in the history
  • Loading branch information
ssongliu authored Apr 13, 2023
1 parent d151e98 commit cd79cac
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions frontend/src/lang/modules/en.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ const message = {
commons: {
true: 'true',
false: 'false',
example: 'Such as:',
button: {
create: 'Create ',
add: 'Add ',
Expand Down Expand Up @@ -537,6 +538,7 @@ const message = {
compose: 'Compose',
composeHelper:
'The current content has passed the format verification. Please click Submit to complete the creation',
composePathHelper: 'Config file save path: {0}',
apps: 'Apps',
local: 'Local',
createCompose: 'Create compose',
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/lang/modules/zh.ts
Original file line number Diff line number Diff line change
Expand Up @@ -545,7 +545,7 @@ const message = {

compose: '编',
composeHelper: '当前内容已通过格式验证请点击确认完成创建',
composePathHelper: '器编排将保存在: {0}',
composePathHelper: '置文件保存路径: {0}',
apps: '应用商店',
local: '本',
createCompose: '创建编排',
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/views/container/compose/create/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ const loadPath = 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>;
Expand Down

0 comments on commit cd79cac

Please sign in to comment.