mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-16 09:36:44 +00:00
fix(editor): Fix i18n usage in design-system (no-changelog) (#9341)
This commit is contained in:
committed by
GitHub
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
|
||||
|
||||
Reference in New Issue
Block a user