다국어 생성후 매핑 자동저장

This commit is contained in:
kjs
2026-01-14 13:26:41 +09:00
parent f9575d7b5f
commit 26bb93ab6e
6 changed files with 207 additions and 29 deletions

View File

@@ -468,9 +468,17 @@ export const MultilangSettingsModal: React.FC<MultilangSettingsModalProps> = ({
addLabel(comp.id, anyComp.title, "title", parentType, parentLabel);
}
// 3. 버튼 텍스트
// 3. 버튼 텍스트 (componentId에 _button 접미사 추가하여 라벨과 구분)
if (config?.text && typeof config.text === "string") {
addLabel(comp.id, config.text, "button", parentType, parentLabel);
addLabel(
`${comp.id}_button`,
config.text,
"button",
parentType,
parentLabel,
config.langKeyId,
config.langKey
);
}
// 4. placeholder