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

@@ -28,6 +28,7 @@ import { usePageRedirectionHelper } from '@/composables/usePageRedirectionHelper
import { useI18n } from '@n8n/i18n';
import { telemetry } from '@/plugins/telemetry';
import { useWorkflowSaving } from '@/composables/useWorkflowSaving';
import { I18nT } from 'vue-i18n';
const props = defineProps<{
data: {
@@ -274,7 +275,7 @@ watch(
@project-removed="onProjectRemoved"
/>
<n8n-info-tip v-if="isHomeTeamProject" :bold="false" class="mt-s">
<i18n-t keypath="workflows.shareModal.info.members" tag="span">
<I18nT keypath="workflows.shareModal.info.members" tag="span" scope="global">
<template #projectName>
{{ workflow.homeProject?.name }}
</template>
@@ -290,20 +291,21 @@ watch(
}}
</strong>
</template>
</i18n-t>
</I18nT>
</n8n-info-tip>
</div>
<template #fallback>
<n8n-text>
<i18n-t
<I18nT
:keypath="
uiStore.contextBasedTranslationKeys.workflows.sharing.unavailable.description
.tooltip
"
tag="span"
scope="global"
>
<template #action />
</i18n-t>
</I18nT>
</n8n-text>
</template>
</enterprise-edition>