fix: use t for translate in tools name/description

This commit is contained in:
ShareVB committed 2025-07-20 22:45:56 +02:00
1 parent a26f2a2cf9
commit 3ccbd85342
323 files changed
+961 -959

No files matched your search

+3 -3
View File
@@ -1,11 +1,11 @@
import { CompareArrowsRound } from '@vicons/material';
import { defineTool } from '../tool';
import { translate } from '@/plugins/i18n.plugin';
import { translate as t } from '@/plugins/i18n.plugin';
export const tool = defineTool({
name: translate('tools.json-diff.title'),
name: t('tools.json-diff.title'),
path: '/json-diff',
description: translate('tools.json-diff.description'),
description: t('tools.json-diff.description'),
keywords: ['json', 'diff', 'compare', 'difference', 'object', 'data'],
component: () => import('./json-diff.vue'),
icon: CompareArrowsRound,