[TPopUp] 다국어 처리를 위한 $L 적용
This commit is contained in:
@@ -111,8 +111,8 @@ export default function TPopUp({
|
||||
<Container className={css.info}>
|
||||
{hasText && (
|
||||
<div className={css.textLayer}>
|
||||
{title && <div className={css.title}>{title}</div>}
|
||||
{text && <div className={css.text}>{text}</div>}
|
||||
{title && <div className={css.title}>{$L(title)}</div>}
|
||||
{text && <div className={css.text}>{$L(text)}</div>}
|
||||
</div>
|
||||
)}
|
||||
{options && (
|
||||
@@ -138,11 +138,7 @@ export default function TPopUp({
|
||||
key={index}
|
||||
>
|
||||
{useOptionImg && (
|
||||
<img
|
||||
src={option.optImgUrl}
|
||||
alt="option_img"
|
||||
className={css.img}
|
||||
/>
|
||||
<img src={option.optImgUrl} alt="" className={css.img} />
|
||||
)}
|
||||
{$L(option.prodOptCval)}
|
||||
</SpottableComponent>
|
||||
@@ -161,12 +157,12 @@ export default function TPopUp({
|
||||
else _onClose();
|
||||
}}
|
||||
>
|
||||
{button1Text}
|
||||
{$L(button1Text)}
|
||||
</TButton>
|
||||
)}
|
||||
{button2Text && (
|
||||
<TButton spotlightId="tPopupBtn2" onClick={onClose}>
|
||||
{button2Text}
|
||||
{$L(button2Text)}
|
||||
</TButton>
|
||||
)}
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user