chore(editor): Suppress warnings from vue-i18n (#17325)

This commit is contained in:
Suguru Inoue
2025-07-16 15:18:16 +02:00
committed by GitHub
parent c4ba31ef62
commit f2581effa4
38 changed files with 200 additions and 137 deletions

View File

@@ -5,6 +5,7 @@ import { ElSelect, ElOption, ElOptionGroup } from 'element-plus';
import { capitalCase } from 'change-case';
import { useI18n } from '@n8n/i18n';
import { usePageRedirectionHelper } from '@/composables/usePageRedirectionHelper';
import { I18nT } from 'vue-i18n';
// Define props
const props = defineProps({
@@ -116,13 +117,13 @@ function goToUpgradeApiKeyScopes() {
</ElSelect>
</N8nInputLabel>
<N8nNotice v-if="!enabled">
<i18n-t keypath="settings.api.scopes.upgrade">
<I18nT keypath="settings.api.scopes.upgrade" scope="global">
<template #link>
<n8n-link size="small" @click="goToUpgradeApiKeyScopes">
{{ i18n.baseText('settings.api.scopes.upgrade.link') }}
</n8n-link>
</template>
</i18n-t>
</I18nT>
</N8nNotice>
</div>
</template>