mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-19 11:01:15 +00:00
refactor(editor): Extract @n8n/i18n package for internationalization (no-changelog) (#15466)
This commit is contained in:
@@ -4,7 +4,8 @@ import ProjectBreadcrumb from './ProjectBreadcrumb.vue';
|
||||
import { ProjectTypes } from '@/types/projects.types';
|
||||
import type { Project } from '@vue-flow/core';
|
||||
|
||||
vi.mock('@/composables/useI18n', () => ({
|
||||
vi.mock('@n8n/i18n', async (importOriginal) => ({
|
||||
...(await importOriginal()),
|
||||
useI18n: () => ({
|
||||
baseText: vi.fn((key) => {
|
||||
if (key === 'projects.menu.personal') return 'Personal';
|
||||
|
||||
Reference in New Issue
Block a user