빠진 다국어 추가

This commit is contained in:
김민식 2025-03-04 11:29:06 +09:00
parent ef14d53250
commit ff7eb36762
4 changed files with 11 additions and 18 deletions

View File

@ -73,7 +73,7 @@ const PentagonDormer = forwardRef((props, refs) => {
</div>
</div>
<div className="eaves-keraba-item">
<div className="eaves-keraba-th">{getMessage('slope')}</div>
<div className="eaves-keraba-th">{getMessage('modal.object.setting.offset.slope')}</div>
<div className="eaves-keraba-td">
<div className="outline-form">
<div className="input-grid mr5" style={{ width: '60px' }}>

View File

@ -48,7 +48,7 @@ const TriangleDormer = forwardRef((props, refs) => {
</div>
</div>
<div className="eaves-keraba-item">
<div className="eaves-keraba-th">{getMessage('slope')}</div>
<div className="eaves-keraba-th">{getMessage('modal.object.setting.offset.slope')}</div>
<div className="eaves-keraba-td">
<div className="outline-form">
<div className="input-grid mr5" style={{ width: '60px' }}>

View File

@ -42,6 +42,7 @@ import { useAdsorptionPoint } from './useAdsorptionPoint'
import { useRoofFn } from '@/hooks/common/useRoofFn'
import { MODULE_ALIGN_TYPE, useModule } from './module/useModule'
import PlacementSurfaceLineProperty from '@/components/floor-plan/modal/placementShape/PlacementSurfaceLineProperty'
import { selectedMenuState } from '@/store/menuAtom'
export function useContextMenu() {
const canvas = useRecoilValue(canvasState)
@ -71,10 +72,11 @@ export function useContextMenu() {
const { swalFire } = useSwal()
const { alignModule, modulesRemove, moduleRoofRemove } = useModule()
const { removeRoofMaterial, removeAllRoofMaterial, moveRoofMaterial, removeOuterLines } = useRoofFn()
const selectedMenu = useRecoilValue(selectedMenuState)
const currentMenuSetting = () => {
switch (currentMenu) {
case MENU.PLAN_DRAWING:
switch (selectedMenu) {
case 'placement':
setContextMenu([
[
{
@ -115,16 +117,7 @@ export function useContextMenu() {
],
])
break
case MENU.ROOF_COVERING.EXTERIOR_WALL_LINE:
case MENU.ROOF_COVERING.ROOF_SHAPE_SETTINGS:
case MENU.ROOF_COVERING.ROOF_SHAPE_PASSIVITY_SETTINGS:
case MENU.ROOF_COVERING.ROOF_SHAPE_EDITING:
case MENU.ROOF_COVERING.HELP_LINE_DRAWING:
case MENU.ROOF_COVERING.EAVES_KERAVA_EDIT:
case MENU.ROOF_COVERING.MOVEMENT_SHAPE_UPDOWN:
case MENU.ROOF_COVERING.OUTLINE_EDIT_OFFSET:
case MENU.ROOF_COVERING.ROOF_SHAPE_ALLOC:
case MENU.ROOF_COVERING.DEFAULT:
case 'outline':
setContextMenu([
[
{

View File

@ -294,9 +294,9 @@
"modal.object.setting.size.setting": "サイズ設定",
"modal.object.setting.agreement.depth": "棟の長さ・深さ",
"modal.object.setting.offset.depth": "出幅(深さ)",
"modal.object.setting.size.width": "",
"modal.object.setting.size.width": "",
"modal.object.setting.offset.width": "出幅(幅)",
"modal.object.setting.offset.slope": "",
"modal.object.setting.offset.slope": "勾配",
"modal.object.setting.direction.select": "方向の選択",
"modal.placement.surface.setting.info": "ⓘ①の長さ入力後、対角線長を入力すると②の長さを自動計算します。",
"modal.placement.surface.setting.diagonal.length": "斜めの長さ",
@ -1015,8 +1015,8 @@
"module.place.select.one.module": "モジュールは1つだけ選択してください。",
"batch.canvas.delete.all": "配置面の内容をすべて削除しますか?",
"module.not.found": "インストールモジュールを選択してください。",
"module.circuit.minimun.error": "",
"module.already.exist.error": "",
"module.circuit.minimun.error": "회로번호는 1 이상입력해주세요.(JA)",
"module.already.exist.error": "회로번호가 같은 다른 파워 컨디셔너 모듈이 있습니다. 다른 회로번호를 설정하십시오.(JA)",
"construction.length.difference": "屋根面工法をすべて選択してください。",
"menu.validation.canvas.roof": "パネルを配置するには、屋根面を入力する必要があります。",
"batch.object.outside.roof": "オブジェクトは屋根に設置する必要があります。",