다국어 생성후 매핑 자동저장
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user