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

@ -2,11 +2,12 @@ import { HttpRound } from '@vicons/material';
import { defineTool } from '../tool';
import { codesByCategories } from './http-status-codes.constants';
import { translate } from '@/plugins/i18n.plugin';
export const tool = defineTool({
name: 'HTTP status codes',
name: translate('tools.http-status-codes.title'),
path: '/http-status-codes',
description: 'The list of all HTTP status codes their name and their meaning.',
description: translate('tools.http-status-codes.description'),
keywords: [
'http',
'status',

View file

@ -0,0 +1,4 @@
tools:
http-status-codes:
title: HTTP status codes
description: The list of all HTTP status codes their name and their meaning.