mirror of
https://github.com/CorentinTh/it-tools.git
synced 2025-06-19 20:54:59 -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 { Binary } from '@vicons/tabler';
|
||||
import { defineTool } from '../tool';
|
||||
import { translate } from '@/plugins/i18n.plugin';
|
||||
|
||||
export const tool = defineTool({
|
||||
name: 'Ipv4 address converter',
|
||||
name: translate('tools.ipv4-address-converter.title'),
|
||||
path: '/ipv4-address-converter',
|
||||
description: 'Convert an ip address into decimal, binary, hexadecimal or event in ipv6',
|
||||
description: translate('tools.ipv4-address-converter.description'),
|
||||
keywords: ['ipv4', 'address', 'converter', 'decimal', 'hexadecimal', 'binary', 'ipv6'],
|
||||
component: () => import('./ipv4-address-converter.vue'),
|
||||
icon: Binary,
|
||||
|
|
4
src/tools/ipv4-address-converter/locales/en.yml
Normal file
4
src/tools/ipv4-address-converter/locales/en.yml
Normal file
|
@ -0,0 +1,4 @@
|
|||
tools:
|
||||
ipv4-address-converter:
|
||||
title: Ipv4 address converter
|
||||
description: Convert an ip address into decimal, binary, hexadecimal or event in ipv6
|
Loading…
Add table
Add a link
Reference in a new issue