refactor(i18n): added locales per tool (#861)

This commit is contained in:
Corentin THOMASSET 2024-02-01 14:05:54 +01:00 committed by GitHub
parent 85b50bb8f0
commit 95698cb938
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
154 changed files with 539 additions and 168 deletions

View file

@ -1,11 +1,11 @@
import { AlignJustified } from '@vicons/tabler';
import { defineTool } from '../tool';
import { translate } from '@/plugins/i18n.plugin';
export const tool = defineTool({
name: 'Lorem ipsum generator',
name: translate('tools.lorem-ipsum-generator.title'),
path: '/lorem-ipsum-generator',
description:
'Lorem ipsum is a placeholder text commonly used to demonstrate the visual form of a document or a typeface without relying on meaningful content',
description: translate('tools.lorem-ipsum-generator.description'),
keywords: ['lorem', 'ipsum', 'dolor', 'sit', 'amet', 'placeholder', 'text', 'filler', 'random', 'generator'],
component: () => import('./lorem-ipsum-generator.vue'),
icon: AlignJustified,