- 다국어 추가

This commit is contained in:
김민식 2025-02-10 15:13:12 +09:00
parent da2a53206e
commit 4e162582cc
3 changed files with 6 additions and 4 deletions

View File

@ -243,7 +243,7 @@ export function useContextMenu() {
name: getMessage('contextmenu.auxiliary.remove.all'), name: getMessage('contextmenu.auxiliary.remove.all'),
fn: () => { fn: () => {
if (!currentObject) { if (!currentObject) {
swalFire({ text: '지붕을 선택해주세요.' }) swalFire({ text: getMessage('roof.is.not.selected') })
return return
} }
const innerLines = canvas.getObjects().filter((obj) => obj.id === currentObject.attributes.roofId)[0]?.innerLines const innerLines = canvas.getObjects().filter((obj) => obj.id === currentObject.attributes.roofId)[0]?.innerLines
@ -405,7 +405,7 @@ export function useContextMenu() {
[ [
{ {
id: 'sizeEdit', id: 'sizeEdit',
name: '사이즈 변경', name: getMessage('contextmenu.size.edit'),
component: <SizeSetting id={popupId} target={currentObject} />, component: <SizeSetting id={popupId} target={currentObject} />,
}, },
{ {

View File

@ -1011,5 +1011,6 @@
"batch.object.notinstall.cross": "オブジェクトは重複してインストールできません。", "batch.object.notinstall.cross": "オブジェクトは重複してインストールできません。",
"module.not.batch.north": "북쪽에는 모듈을 배치할 수 없습니다.", "module.not.batch.north": "북쪽에는 모듈을 배치할 수 없습니다.",
"max.select": "최대 {0}개까지 선택할 수 있습니다.(JA)", "max.select": "최대 {0}개까지 선택할 수 있습니다.(JA)",
"not.allocation.exist.module": "할당하지 않은 모듈이 있습니다.(JA)" "not.allocation.exist.module": "할당하지 않은 모듈이 있습니다.(JA)",
"roof.is.not.selected": "지붕을 선택해주세요.(JA)"
} }

View File

@ -1013,5 +1013,6 @@
"module.not.batch.north": "북쪽에는 모듈을 배치할 수 없습니다.", "module.not.batch.north": "북쪽에는 모듈을 배치할 수 없습니다.",
"module.trestleDetail.not.exist": "가대 상세 정보가 없습니다.", "module.trestleDetail.not.exist": "가대 상세 정보가 없습니다.",
"max.select": "최대 {0}개까지 선택할 수 있습니다.", "max.select": "최대 {0}개까지 선택할 수 있습니다.",
"not.allocation.exist.module": "할당하지 않은 모듈이 있습니다." "not.allocation.exist.module": "할당하지 않은 모듈이 있습니다.",
"roof.is.not.selected": "지붕을 선택해주세요."
} }