mirror of
https://github.com/iib0011/omni-tools.git
synced 2025-12-29 16:16:02 +00:00
chore: add i18n to meta script
This commit is contained in:
@@ -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',
|
||||
|
||||
@@ -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",
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user