mirror of
https://github.com/CorentinTh/it-tools.git
synced 2025-06-20 13:10:42 -04:00
refactor(i18n): added locales per tool (#861)
This commit is contained in:
parent
85b50bb8f0
commit
95698cb938
154 changed files with 539 additions and 168 deletions
|
@ -1,10 +1,11 @@
|
|||
import { Palette } from '@vicons/tabler';
|
||||
import { defineTool } from '../tool';
|
||||
import { translate } from '@/plugins/i18n.plugin';
|
||||
|
||||
export const tool = defineTool({
|
||||
name: 'Color converter',
|
||||
name: translate('tools.color-converter.title'),
|
||||
path: '/color-converter',
|
||||
description: 'Convert color between the different formats (hex, rgb, hsl and css name)',
|
||||
description: translate('tools.color-converter.description'),
|
||||
keywords: ['color', 'converter'],
|
||||
component: () => import('./color-converter.vue'),
|
||||
icon: Palette,
|
||||
|
|
4
src/tools/color-converter/locales/en.yml
Normal file
4
src/tools/color-converter/locales/en.yml
Normal file
|
@ -0,0 +1,4 @@
|
|||
tools:
|
||||
color-converter:
|
||||
title: Color converter
|
||||
description: Convert color between the different formats (hex, rgb, hsl and css name)
|
Loading…
Add table
Add a link
Reference in a new issue