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,10 +1,11 @@
import { defineTool } from '../tool';
import n7mIcon from './n7m-icon.svg?component';
import { translate } from '@/plugins/i18n.plugin';
export const tool = defineTool({
name: 'Numeronym generator',
name: translate('tools.numeronym-generator.title'),
path: '/numeronym-generator',
description: 'A numeronym is a word where a number is used to form an abbreviation. For example, "i18n" is a numeronym of "internationalization" where 18 stands for the number of letters between the first i and the last n in the word.',
description: translate('tools.numeronym-generator.description'),
keywords: ['numeronym', 'generator', 'abbreviation', 'i18n', 'a11y', 'l10n'],
component: () => import('./numeronym-generator.vue'),
icon: n7mIcon,

View file

@ -0,0 +1,4 @@
tools:
numeronym-generator:
title: Numeronym generator
description: A numeronym is a word where a number is used to form an abbreviation. For example, "i18n" is a numeronym of "internationalization" where 18 stands for the number of letters between the first i and the last n in the word.