feat(i18n): i18n Outlook safelink tool

refactor(tools): Only show the output when there is an input value
This commit is contained in:
Amery2010 2024-03-11 18:43:34 +08:00
parent 5f5e01d594
commit 61b5a610ea
7 changed files with 31 additions and 13 deletions

View file

@ -1,10 +1,11 @@
import { Mailbox } from '@vicons/tabler';
import { defineTool } from '../tool';
import { translate as t } from '@/plugins/i18n.plugin';
export const tool = defineTool({
name: 'Outlook Safelink decoder',
name: t('tools.safelink-decoder.title'),
path: '/safelink-decoder',
description: 'Decode Outlook SafeLink links',
description: t('tools.safelink-decoder.description'),
keywords: ['outlook', 'safelink', 'decoder'],
component: () => import('./safelink-decoder.vue'),
icon: Mailbox,