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 { Qrcode } from '@vicons/tabler';
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.qr-code-decoder.title'),
name: t('tools.qr-code-decoder.title'),
path: '/qr-code-decoder',
description: translate('tools.qr-code-decoder.description'),
description: t('tools.qr-code-decoder.description'),
keywords: ['qrcode', 'qr-code', 'decoder', 'reader'],
component: () => import('./qr-code-decoder.vue'),
icon: Qrcode,