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('pdf', {
i18n: {
name: 'pdf:editor.title',
description: 'pdf:editor.description',
shortDescription: 'pdf:editor.shortDescription'
},
name: 'PDF Editor',
path: 'editor',
icon: 'mdi:file-document-edit',

View File

@@ -14,7 +14,6 @@
"title": "Merge PDF Files",
"description": "This tool allows you to combine multiple PDF files into a single document. You can choose how to sort the PDFs and the tool will merge them in the specified order."
},
"title": "Merge PDF",
"shortDescription": "Merge multiple PDF files into a single document"
},
"splitPdf": {
@@ -32,7 +31,6 @@
"title": "Split PDF",
"description": "This tool allows you to extract specific pages from a PDF document. You can specify individual pages or ranges of pages to extract."
},
"title": "Split PDF",
"shortDescription": "Extract specific pages from a PDF file"
},
"rotatePdf": {
@@ -58,8 +56,8 @@
"title": "How to Use the Rotate PDF Tool",
"description": "This tool allows you to rotate pages in a PDF document. You can rotate all pages or specify individual pages to rotate. Choose a rotation angle: 90° Clockwise, 180° (Upside down), or 270° (90° Counter-clockwise). To rotate specific pages, uncheck \"Apply to all pages\" and enter page numbers or ranges separated by commas (e.g., 1,3,5-7)."
},
"title": "Rotate PDF",
"shortDescription": "Rotate pages in a PDF document"
"shortDescription": "Rotate pages in a PDF document",
"longDescription": "Change the orientation of PDF pages by rotating them 90, 180, or 270 degrees. Useful for fixing incorrectly scanned documents or preparing PDFs for printing."
},
"compressPdf": {
"inputTitle": "Input PDF",
@@ -104,7 +102,8 @@
"pdfToPng": {
"title": "PDF to PNG",
"description": "Transform PDF documents into PNG panels.",
"shortDescription": "Convert PDF into PNG images"
"shortDescription": "Convert PDF into PNG images",
"longDescription": "Upload a PDF and convert each page into a high-quality PNG image directly in your browser. This tool is ideal for extracting visual content or sharing individual pages. No data is uploaded — everything runs locally."
},
"protectPdf": {
"title": "Protect PDF",

View File

@@ -2,6 +2,12 @@ import { defineTool } from '@tools/defineTool';
import { lazy } from 'react';
export const tool = defineTool('pdf', {
i18n: {
name: 'pdf:pdfToPng.title',
description: 'pdf:pdfToPng.description',
shortDescription: 'pdf:pdfToPng.shortDescription',
longDescription: 'pdf:pdfToPng.longDescription'
},
name: 'PDF to PNG',
path: 'pdf-to-png',
icon: 'mdi:image-multiple', // Iconify icon ID

View File

@@ -2,6 +2,12 @@ import { defineTool } from '@tools/defineTool';
import { lazy } from 'react';
export const tool = defineTool('pdf', {
i18n: {
name: 'pdf:rotatePdf.title',
description: 'pdf:rotatePdf.description',
shortDescription: 'pdf:rotatePdf.shortDescription',
longDescription: 'pdf:rotatePdf.longDescription'
},
name: 'Rotate PDF',
path: 'rotate-pdf',
icon: 'carbon:rotate',