mirror of
https://github.com/iib0011/omni-tools.git
synced 2025-12-29 16:16:02 +00:00
fix: translation related behaviors
This commit is contained in:
@@ -2,12 +2,9 @@ import { defineTool } from '@tools/defineTool';
|
||||
import { lazy } from 'react';
|
||||
|
||||
export const tool = defineTool('json', {
|
||||
name: 'Escape JSON',
|
||||
path: 'escape-json',
|
||||
icon: 'material-symbols:code',
|
||||
description:
|
||||
'Escape special characters in JSON strings. Convert JSON data to properly escaped format for safe transmission or storage.',
|
||||
shortDescription: 'Escape special characters in JSON',
|
||||
|
||||
keywords: ['json', 'escape', 'characters', 'format'],
|
||||
component: lazy(() => import('./index')),
|
||||
i18n: {
|
||||
|
||||
@@ -2,12 +2,9 @@ import { defineTool } from '@tools/defineTool';
|
||||
import { lazy } from 'react';
|
||||
|
||||
export const tool = defineTool('json', {
|
||||
name: 'JSON to XML',
|
||||
path: 'json-to-xml',
|
||||
icon: 'material-symbols:code',
|
||||
description:
|
||||
'Convert JSON data to XML format. Transform structured JSON objects into well-formed XML documents.',
|
||||
shortDescription: 'Convert JSON to XML format',
|
||||
|
||||
keywords: ['json', 'xml', 'convert', 'transform'],
|
||||
component: lazy(() => import('./index')),
|
||||
i18n: {
|
||||
|
||||
@@ -2,12 +2,9 @@ import { defineTool } from '@tools/defineTool';
|
||||
import { lazy } from 'react';
|
||||
|
||||
export const tool = defineTool('json', {
|
||||
name: 'Minify JSON',
|
||||
path: 'minify',
|
||||
icon: 'material-symbols:code',
|
||||
description:
|
||||
'Minify JSON data by removing unnecessary whitespace and formatting. Reduce file size while maintaining data integrity.',
|
||||
shortDescription: 'Minify JSON by removing whitespace',
|
||||
|
||||
keywords: ['json', 'minify', 'compress', 'whitespace'],
|
||||
component: lazy(() => import('./index')),
|
||||
i18n: {
|
||||
|
||||
@@ -2,12 +2,9 @@ import { defineTool } from '@tools/defineTool';
|
||||
import { lazy } from 'react';
|
||||
|
||||
export const tool = defineTool('json', {
|
||||
name: 'Prettify JSON',
|
||||
path: 'prettify',
|
||||
icon: 'material-symbols:code',
|
||||
description:
|
||||
'Format and beautify JSON data with proper indentation and spacing. Make JSON files more readable and organized.',
|
||||
shortDescription: 'Format and beautify JSON code',
|
||||
|
||||
keywords: ['json', 'prettify', 'format', 'beautify'],
|
||||
component: lazy(() => import('./index')),
|
||||
i18n: {
|
||||
|
||||
@@ -2,12 +2,9 @@ import { defineTool } from '@tools/defineTool';
|
||||
import { lazy } from 'react';
|
||||
|
||||
export const tool = defineTool('json', {
|
||||
name: 'Stringify JSON',
|
||||
path: 'stringify',
|
||||
icon: 'material-symbols:code',
|
||||
description:
|
||||
'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: {
|
||||
|
||||
@@ -2,12 +2,9 @@ import { defineTool } from '@tools/defineTool';
|
||||
import { lazy } from 'react';
|
||||
|
||||
export const tool = defineTool('json', {
|
||||
name: 'TSV to JSON',
|
||||
path: 'tsv-to-json',
|
||||
icon: 'material-symbols:code',
|
||||
description:
|
||||
'Convert TSV (Tab-Separated Values) data to JSON format. Transform tabular data into structured JSON objects.',
|
||||
shortDescription: 'Convert TSV to JSON format',
|
||||
|
||||
keywords: ['tsv', 'json', 'convert', 'tabular'],
|
||||
component: lazy(() => import('./index')),
|
||||
i18n: {
|
||||
|
||||
@@ -2,12 +2,9 @@ import { defineTool } from '@tools/defineTool';
|
||||
import { lazy } from 'react';
|
||||
|
||||
export const tool = defineTool('json', {
|
||||
name: 'Validate JSON',
|
||||
path: 'validate-json',
|
||||
icon: 'material-symbols:check-circle',
|
||||
description:
|
||||
'Validate JSON code for syntax errors and proper structure. Check if JSON documents follow correct formatting rules.',
|
||||
shortDescription: 'Validate JSON code for errors',
|
||||
|
||||
keywords: ['json', 'validate', 'check', 'syntax', 'errors'],
|
||||
component: lazy(() => import('./index')),
|
||||
i18n: {
|
||||
|
||||
Reference in New Issue
Block a user