feat(utils): add URL mapping for CBR conversions

- Added `/cbr-to-pdf` and `/pdf-to-cbr` to `urlMapping`.
- Removed unused CBR-related translation keys from `en-US/translation.json`.

Signed-off-by: Balázs Szücs <bszucs1209@gmail.com>
This commit is contained in:
Balázs Szücs 2025-11-06 10:27:51 +01:00
parent 2122b1a323
commit 9923ab31c8
2 changed files with 2 additions and 4 deletions

View File

@ -2021,10 +2021,6 @@
"outputFormat": "Output Format",
"pdfaNote": "PDF/A-1b is more compatible, PDF/A-2b supports more features.",
"pdfaDigitalSignatureWarning": "The PDF contains a digital signature. This will be removed in the next step.",
"cbrOptions": "CBR to PDF Options",
"optimizeForEbook": "Optimize PDF for ebook readers (uses Ghostscript)",
"cbrOutputOptions": "PDF to CBR Options",
"cbrDpi": "DPI for image rendering",
"sanitize": {
"submit": "Sanitize PDF",
"completed": "Sanitization completed successfully",

View File

@ -28,6 +28,8 @@ export const URL_TO_TOOL_MAP: Record<string, ToolId> = {
'/pdf-to-pdfa': 'convert',
'/pdf-to-word': 'convert',
'/pdf-to-xml': 'convert',
'/cbr-to-pdf': 'convert',
'/pdf-to-cbr': 'convert',
// Security tools
'/add-password': 'addPassword',