feat: setup eslint for vue-i18n (#10889)

Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com>
This commit is contained in:
Shivam Mishra
2025-02-27 16:53:57 +05:30
committed by GitHub
parent 2556de1f38
commit 77a0f18685
5 changed files with 154 additions and 4 deletions

View File

@@ -70,7 +70,7 @@ export default {
</div>
<div class="hidden w-1/3 lg:block">
<p v-html="$t('AGENT_BOTS.SIDEBAR_TXT')" />
<p v-dompurify-html="$t('AGENT_BOTS.SIDEBAR_TXT')" />
</div>
</div>
<woot-button

View File

@@ -42,8 +42,8 @@ const emit = defineEmits(['upgrade']);
</span>
</div>
<p
v-dompurify-html="$t(`${featurePrefix}.${i18nKey}.AVAILABLE_ON`)"
class="text-sm font-normal text-n-slate-11"
v-html="$t(`${featurePrefix}.${i18nKey}.AVAILABLE_ON`)"
/>
<p class="text-sm font-normal text-n-slate-11">
{{ $t(`${featurePrefix}.${i18nKey}.UPGRADE_PROMPT`) }}