한글=>일본어 #607
@ -48,9 +48,9 @@ export function useRoofShapePassivitySetting(id) {
|
||||
useEffect(() => {
|
||||
const outerLines = canvas.getObjects().filter((obj) => obj.name === 'outerLine')
|
||||
if (!canvas.outerLineFix || outerLines.length === 0) {
|
||||
swalFire({ text: getMessage('wall.line.not.found') })
|
||||
swalFire({ text: getMessage('wall.line.not.found'),icon: 'warning' })
|
||||
closePopup(id)
|
||||
return
|
||||
//return
|
||||
}
|
||||
setIsLoading(true)
|
||||
}, [])
|
||||
@ -142,8 +142,9 @@ export function useRoofShapePassivitySetting(id) {
|
||||
|
||||
const handleConfirm = () => {
|
||||
if (!currentLineRef.current) {
|
||||
alert('선택된 외곽선이 없습니다.')
|
||||
return
|
||||
//alert('선택된 외곽선이 없습니다.')
|
||||
swalFire({ text: getMessage('wall.line.not.selected'), icon: 'warning' })
|
||||
//return
|
||||
}
|
||||
let attributes
|
||||
const offset = Number(offsetRef.current.value) / 10
|
||||
@ -210,8 +211,8 @@ export function useRoofShapePassivitySetting(id) {
|
||||
})
|
||||
|
||||
if (!checkedAllSetting) {
|
||||
swalFire({ text: '설정이 완료되지 않은 외벽선이 있습니다.', icon: 'warning' })
|
||||
return
|
||||
swalFire({ text: getMessage('modal.canvas.setting.roofline.properties.setting.not.setting'), icon: 'warning' })
|
||||
//return
|
||||
}
|
||||
|
||||
exceptObjs.forEach((obj) => {
|
||||
|
||||
@ -1111,6 +1111,7 @@
|
||||
"module.layout.setup.has.zero.value": "モジュールの列数、段数を入力して下さい。",
|
||||
"modal.placement.initial.setting.plan.drawing.only.number": "(※数字は[半角]入力のみ可能です。)",
|
||||
"wall.line.not.found": "外壁がありません",
|
||||
"wall.line.not.selected": "選択された外郭線がありません。",
|
||||
"roof.line.not.found": "屋根形状がありません",
|
||||
"roof.material.can.not.delete": "割り当てられた配置面があります。",
|
||||
"chidory.can.not.install": "千鳥配置できない工法です。",
|
||||
|
||||
@ -1111,6 +1111,7 @@
|
||||
"module.layout.setup.has.zero.value": "모듈의 열수, 단수를 입력해 주세요.",
|
||||
"modal.placement.initial.setting.plan.drawing.only.number": "(※ 숫자는 [반각]입력만 가능합니다.)",
|
||||
"wall.line.not.found": "외벽선이 없습니다.",
|
||||
"wall.line.not.selected": "선택된 외곽선이 없습니다.",
|
||||
"roof.line.not.found": "지붕형상이 없습니다.",
|
||||
"roof.material.can.not.delete": "할당된 배치면이 있습니다.",
|
||||
"chidory.can.not.install": "치조 불가 공법입니다.",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user