diff --git a/layers/templates/FxSecure01/index.vue b/layers/templates/FxSecure01/index.vue index 9699ebe..f8b4be7 100644 --- a/layers/templates/FxSecure01/index.vue +++ b/layers/templates/FxSecure01/index.vue @@ -23,7 +23,7 @@ const resultGetMultilingual = await useGetMultilingual({ baseApiUrl: dataResourcesUrl, fileName: multilingualFileName, }) -const { tm }: any = useI18n({ +const { tm, locale }: any = useI18n({ useScope: 'local', messages: Object(resultGetMultilingual?.value?.multilingual), }) @@ -88,7 +88,7 @@ const backgroundData = computed(() => // Computed const secureCards = computed(() => { - return [ + const allCards = [ { id: 'SECURE_CARD_0', title: tm('Secure_Stove_otp') || '스토브 인증기 (OTP)', @@ -112,7 +112,7 @@ const secureCards = computed(() => { benefitTitle: '', benefitDesc: '', benefitIcon: '', - buttonDisabled: true, + buttonDisabled: false, url: tm('Secure_AbroadLogin_Url'), }, { @@ -129,6 +129,12 @@ const secureCards = computed(() => { url: tm('Secure_PcRegister_Url'), }, ] + + // 한국어일 때는 모든 카드 노출, 그 외 언어일 때는 SECURE_CARD_0만 노출 + if (locale.value === 'ko') { + return allCards + } + return allCards.filter(card => card.id === 'SECURE_CARD_0') }) // 유의사항 내용 다국어 조회 const cautionText = computed(() => { @@ -150,42 +156,65 @@ onMounted(() => {
- {{ - tm('Secure_Section_Description') || - '*OTP / 해외 로그인 차단 / 지정 PC 관리 설정하고, 로드나인 계정을 보다 안전하게 보호하세요.' - }} + *{{ tm('Secure_Global_Desc') || 'Set up the STOVE Authenticator to better protect your account.' }}
{{ card.description }}
@@ -217,38 +256,64 @@ onMounted(() => {