mirror of
https://github.com/CorentinTh/it-tools.git
synced 2026-05-02 09:57:02 +00:00
refactor(i18n): added locales per tool (#861)
This commit is contained in:
committed by
GitHub
parent
85b50bb8f0
commit
95698cb938
@@ -1,10 +1,11 @@
|
||||
import { PasswordRound } from '@vicons/material';
|
||||
import { defineTool } from '../tool';
|
||||
import { translate } from '@/plugins/i18n.plugin';
|
||||
|
||||
export const tool = defineTool({
|
||||
name: 'Basic auth generator',
|
||||
name: translate('tools.basic-auth-generator.title'),
|
||||
path: '/basic-auth-generator',
|
||||
description: 'Generate a base64 basic auth header from an username and a password.',
|
||||
description: translate('tools.basic-auth-generator.description'),
|
||||
keywords: [
|
||||
'basic',
|
||||
'auth',
|
||||
|
||||
4
src/tools/basic-auth-generator/locales/en.yml
Normal file
4
src/tools/basic-auth-generator/locales/en.yml
Normal file
@@ -0,0 +1,4 @@
|
||||
tools:
|
||||
basic-auth-generator:
|
||||
title: Basic auth generator
|
||||
description: Generate a base64 basic auth header from an username and a password.
|
||||
Reference in New Issue
Block a user