chore: add i18n to meta script

This commit is contained in:
Ibrahima G. Coulibaly
2025-07-14 13:55:01 +01:00
parent c138b65bbd
commit c64c29878e
39 changed files with 941 additions and 706 deletions

View File

@@ -2,6 +2,11 @@ import { defineTool } from '@tools/defineTool';
import { lazy } from 'react';
export const tool = defineTool('image-generic', {
i18n: {
name: 'image:changeColors.title',
description: 'image:changeColors.description',
shortDescription: 'image:changeColors.shortDescription'
},
name: 'Change colors in image',
path: 'change-colors',
icon: 'cil:color-fill',

View File

@@ -2,6 +2,11 @@ import { defineTool } from '@tools/defineTool';
import { lazy } from 'react';
export const tool = defineTool('image-generic', {
i18n: {
name: 'image:changeOpacity.title',
description: 'image:changeOpacity.description',
shortDescription: 'image:changeOpacity.shortDescription'
},
name: 'Change image Opacity',
path: 'change-opacity',
icon: 'material-symbols:opacity',

View File

@@ -2,6 +2,11 @@ import { defineTool } from '@tools/defineTool';
import { lazy } from 'react';
export const tool = defineTool('image-generic', {
i18n: {
name: 'image:compress.title',
description: 'image:compress.description',
shortDescription: 'image:compress.shortDescription'
},
name: 'Compress Image',
path: 'compress',
component: lazy(() => import('./index')),

View File

@@ -2,6 +2,11 @@ import { defineTool } from '@tools/defineTool';
import { lazy } from 'react';
export const tool = defineTool('image-generic', {
i18n: {
name: 'image:convertToJpg.title',
description: 'image:convertToJpg.description',
shortDescription: 'image:convertToJpg.shortDescription'
},
name: 'Convert Images to JPG',
path: 'convert-to-jpg',
icon: 'ph:file-jpg-thin',

View File

@@ -2,6 +2,11 @@ import { defineTool } from '@tools/defineTool';
import { lazy } from 'react';
export const tool = defineTool('image-generic', {
i18n: {
name: 'image:createTransparent.title',
description: 'image:createTransparent.description',
shortDescription: 'image:createTransparent.shortDescription'
},
name: 'Create transparent PNG',
path: 'create-transparent',
icon: 'mdi:circle-transparent',

View File

@@ -2,6 +2,11 @@ import { defineTool } from '@tools/defineTool';
import { lazy } from 'react';
export const tool = defineTool('image-generic', {
i18n: {
name: 'image:crop.title',
description: 'image:crop.description',
shortDescription: 'image:crop.shortDescription'
},
name: 'Crop',
path: 'crop',
icon: 'mdi:crop', // Iconify icon as a string

View File

@@ -2,6 +2,11 @@ import { defineTool } from '@tools/defineTool';
import { lazy } from 'react';
export const tool = defineTool('image-generic', {
i18n: {
name: 'image:editor.title',
description: 'image:editor.description',
shortDescription: 'image:editor.shortDescription'
},
name: 'Image Editor',
path: 'editor',
icon: 'mdi:image-edit',

View File

@@ -2,6 +2,11 @@ import { defineTool } from '@tools/defineTool';
import { lazy } from 'react';
export const tool = defineTool('image-generic', {
i18n: {
name: 'image:imageToText.title',
description: 'image:imageToText.description',
shortDescription: 'image:imageToText.shortDescription'
},
name: 'Image to Text (OCR)',
path: 'image-to-text',
icon: 'mdi:text-recognition', // Iconify icon as a string

View File

@@ -2,6 +2,11 @@ import { defineTool } from '@tools/defineTool';
import { lazy } from 'react';
export const tool = defineTool('image-generic', {
i18n: {
name: 'image:qrCode.title',
description: 'image:qrCode.description',
shortDescription: 'image:qrCode.shortDescription'
},
name: 'QR Code Generator',
path: 'qr-code',
icon: 'mdi:qrcode', // Iconify icon as a string

View File

@@ -2,6 +2,11 @@ import { defineTool } from '@tools/defineTool';
import { lazy } from 'react';
export const tool = defineTool('image-generic', {
i18n: {
name: 'image:removeBackground.title',
description: 'image:removeBackground.description',
shortDescription: 'image:removeBackground.shortDescription'
},
name: 'Remove Background from Image',
path: 'remove-background',
icon: 'mdi:image-remove',

View File

@@ -2,6 +2,11 @@ import { defineTool } from '@tools/defineTool';
import { lazy } from 'react';
export const tool = defineTool('image-generic', {
i18n: {
name: 'image:resize.title',
description: 'image:resize.description',
shortDescription: 'image:resize.shortDescription'
},
name: 'Resize Image',
path: 'resize',
icon: 'mdi:resize', // Iconify icon as a string

View File

@@ -2,6 +2,11 @@ import { defineTool } from '@tools/defineTool';
import { lazy } from 'react';
export const tool = defineTool('image-generic', {
i18n: {
name: 'image:rotate.title',
description: 'image:rotate.description',
shortDescription: 'image:rotate.shortDescription'
},
name: 'Rotate Image',
path: 'rotate',
icon: 'mdi:rotate-clockwise',