feat(i18n): token generator (#688)

This commit is contained in:
莫颓 2023-10-23 15:17:08 +08:00 committed by GitHub
parent 00562ed5e8
commit 02e68d3f56
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 15 additions and 9 deletions

View file

@ -1,11 +1,11 @@
import { ArrowsShuffle } from '@vicons/tabler';
import { defineTool } from '../tool';
import { translate } from '@/plugins/i18n.plugin';
export const tool = defineTool({
name: 'Token generator',
name: translate('tools.token-generator.title'),
path: '/token-generator',
description:
'Generate random string with the chars you want: uppercase or lowercase letters, numbers and/or symbols.',
description: translate('tools.token-generator.description'),
keywords: ['token', 'random', 'string', 'alphanumeric', 'symbols', 'number', 'letters', 'lowercase', 'uppercase'],
component: () => import('./token-generator.tool.vue'),
icon: ArrowsShuffle,