From 95698cb9380d541b86144df4ee5fae310c234f20 Mon Sep 17 00:00:00 2001 From: Corentin THOMASSET Date: Thu, 1 Feb 2024 14:05:54 +0100 Subject: refactor(i18n): added locales per tool (#861) --- src/tools/slugify-string/index.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/tools/slugify-string/index.ts') diff --git a/src/tools/slugify-string/index.ts b/src/tools/slugify-string/index.ts index 8dabcdb..1f1bfcf 100644 --- a/src/tools/slugify-string/index.ts +++ b/src/tools/slugify-string/index.ts @@ -1,10 +1,11 @@ import { AbcRound } from '@vicons/material'; import { defineTool } from '../tool'; +import { translate } from '@/plugins/i18n.plugin'; export const tool = defineTool({ - name: 'Slugify string', + name: translate('tools.slugify-string.title'), path: '/slugify-string', - description: 'Make a string url, filename and id safe.', + description: translate('tools.slugify-string.description'), keywords: ['slugify', 'string', 'escape', 'emoji', 'special', 'character', 'space', 'trim'], component: () => import('./slugify-string.vue'), icon: AbcRound, -- cgit v1.2.3