mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-18 10:31:15 +00:00
chore(editor): Suppress warnings from vue-i18n (#17325)
This commit is contained in:
@@ -8,6 +8,7 @@ import type { BaseTextKey } from '@n8n/i18n';
|
||||
import TestTableBase from '../shared/TestTableBase.vue';
|
||||
import { statusDictionary } from '../shared/statusDictionary';
|
||||
import { getErrorBaseKey } from '@/components/Evaluations.ee/shared/errorCodes';
|
||||
import { I18nT } from 'vue-i18n';
|
||||
const emit = defineEmits<{
|
||||
rowClick: [run: TestRunRecord & { index: number }];
|
||||
}>();
|
||||
@@ -88,7 +89,7 @@ const runSummaries = computed(() => {
|
||||
<template v-else-if="row.status === 'error'">
|
||||
<N8nTooltip placement="top" :show-after="300">
|
||||
<template #content>
|
||||
<i18n-t :keypath="`${getErrorBaseKey(row.errorCode)}`">
|
||||
<I18nT :keypath="`${getErrorBaseKey(row.errorCode)}`" scope="global">
|
||||
<template
|
||||
v-if="
|
||||
locale.exists(`${getErrorBaseKey(row.errorCode)}.description` as BaseTextKey)
|
||||
@@ -106,11 +107,11 @@ const runSummaries = computed(() => {
|
||||
)
|
||||
}}
|
||||
</template>
|
||||
</i18n-t>
|
||||
</I18nT>
|
||||
</template>
|
||||
|
||||
<N8nText :class="[$style.alertText, $style.errorText]">
|
||||
<i18n-t :keypath="`${getErrorBaseKey(row.errorCode)}`">
|
||||
<I18nT :keypath="`${getErrorBaseKey(row.errorCode)}`" scope="global">
|
||||
<template
|
||||
v-if="
|
||||
locale.exists(`${getErrorBaseKey(row.errorCode)}.description` as BaseTextKey)
|
||||
@@ -125,7 +126,7 @@ const runSummaries = computed(() => {
|
||||
}}
|
||||
</p>
|
||||
</template>
|
||||
</i18n-t>
|
||||
</I18nT>
|
||||
</N8nText>
|
||||
</N8nTooltip>
|
||||
</template>
|
||||
|
||||
@@ -9,6 +9,7 @@ import StepHeader from '../shared/StepHeader.vue';
|
||||
import { useRouter } from 'vue-router';
|
||||
import { useUsageStore } from '@/stores/usage.store';
|
||||
import { usePageRedirectionHelper } from '@/composables/usePageRedirectionHelper';
|
||||
import { I18nT } from 'vue-i18n';
|
||||
|
||||
defineEmits<{
|
||||
runTest: [];
|
||||
@@ -209,13 +210,13 @@ function onSeePlans() {
|
||||
:class="$style.quotaNote"
|
||||
>
|
||||
<N8nText size="xsmall" color="text-base">
|
||||
<i18n-t keypath="evaluations.setupWizard.step3.notice">
|
||||
<I18nT keypath="evaluations.setupWizard.step3.notice" scope="global">
|
||||
<template #link>
|
||||
<a style="text-decoration: underline; color: inherit" @click="onSeePlans"
|
||||
>{{ locale.baseText('evaluations.setupWizard.step3.notice.link') }}
|
||||
</a>
|
||||
</template>
|
||||
</i18n-t>
|
||||
</I18nT>
|
||||
</N8nText>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user