mirror of
https://github.com/iib0011/omni-tools.git
synced 2025-12-29 16:16:02 +00:00
feat: add internationalization support
This commit is contained in:
@@ -4,18 +4,15 @@ import { lazy } from 'react';
|
||||
export const tool = defineTool('json', {
|
||||
name: 'Stringify JSON',
|
||||
path: 'stringify',
|
||||
icon: 'ant-design:field-string-outlined',
|
||||
icon: 'material-symbols:code',
|
||||
description:
|
||||
'Convert JavaScript objects and arrays into their JSON string representation. Options include custom indentation and HTML character escaping for web-safe JSON strings.',
|
||||
shortDescription: 'Convert JavaScript objects to JSON strings',
|
||||
keywords: [
|
||||
'stringify',
|
||||
'serialize',
|
||||
'convert',
|
||||
'object',
|
||||
'array',
|
||||
'json',
|
||||
'string'
|
||||
],
|
||||
component: lazy(() => import('./index'))
|
||||
'Convert JavaScript objects to JSON string format. Serialize data structures into JSON strings for storage or transmission.',
|
||||
shortDescription: 'Convert objects to JSON string',
|
||||
keywords: ['json', 'stringify', 'serialize', 'convert'],
|
||||
component: lazy(() => import('./index')),
|
||||
i18n: {
|
||||
name: 'json.stringify.name',
|
||||
description: 'json.stringify.description',
|
||||
shortDescription: 'json.stringify.shortDescription'
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user