mirror of
https://github.com/n8n-io/n8n.git
synced 2025-01-12 05:17:28 -08:00
fix(editor): Fix i18n usage in design-system (no-changelog) (#9341)
This commit is contained in:
parent
e217473f9e
commit
9003c15811
6
.github/workflows/chromatic.yml
vendored
6
.github/workflows/chromatic.yml
vendored
|
@ -1,9 +1,11 @@
|
|||
name: Chromatic
|
||||
|
||||
on:
|
||||
schedule:
|
||||
- cron: '0 0 * * *'
|
||||
workflow_dispatch:
|
||||
pull_request:
|
||||
paths:
|
||||
- packages/design-system/**
|
||||
- .github/workflows/chromatic.yml
|
||||
|
||||
jobs:
|
||||
chromatic:
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<script setup lang="ts">
|
||||
import { useI18n } from '@/composables/useI18n';
|
||||
import { useI18n } from '../../composables/useI18n';
|
||||
import { FontAwesomeIcon } from '@fortawesome/vue-fontawesome';
|
||||
import N8nTooltip from '../N8nTooltip';
|
||||
import { ElTag } from 'element-plus';
|
||||
|
@ -20,7 +20,7 @@ defineEmits<{
|
|||
(event: 'tooltipClick', $e: MouseEvent): void;
|
||||
}>();
|
||||
|
||||
const i18n = useI18n();
|
||||
const { t } = useI18n();
|
||||
</script>
|
||||
|
||||
<template>
|
||||
|
@ -44,7 +44,7 @@ const i18n = useI18n();
|
|||
v-if="isTrigger"
|
||||
icon="bolt"
|
||||
size="xs"
|
||||
:title="i18n.baseText('nodeCreator.nodeItem.triggerIconTitle')"
|
||||
:title="t('nodeCreator.nodeItem.triggerIconTitle')"
|
||||
:class="$style.triggerIcon"
|
||||
/>
|
||||
<N8nTooltip
|
||||
|
|
Loading…
Reference in a new issue