- Implemented HeroUploadZone for drag-and-drop file uploads with support for various file types (PDF, images, video, Word documents). - Integrated ToolSelectorModal to display available tools based on the uploaded file type. - Added Zustand store for managing file state across routes. - Updated multiple tool components to accept files from the new upload zone. - Enhanced internationalization support with new translations for upload prompts and tool selection. - Styled the upload zone and modal for improved user experience.
196 lines
6.8 KiB
JSON
196 lines
6.8 KiB
JSON
{
|
|
"common": {
|
|
"appName": "SaaS-PDF",
|
|
"tagline": "Free Online File Tools",
|
|
"upload": "Upload File",
|
|
"download": "Download",
|
|
"processing": "Processing...",
|
|
"dragDrop": "Drag & drop your file here, or click to browse",
|
|
"maxSize": "Maximum file size: {{size}}MB",
|
|
"tryOtherTools": "Try Other Tools",
|
|
"error": "Error",
|
|
"success": "Success",
|
|
"loading": "Loading...",
|
|
"startOver": "Start Over",
|
|
"home": "Home",
|
|
"about": "About",
|
|
"privacy": "Privacy Policy",
|
|
"terms": "Terms of Service",
|
|
"language": "Language",
|
|
"allTools": "All Tools",
|
|
"darkMode": "Dark Mode",
|
|
"lightMode": "Light Mode"
|
|
},
|
|
"home": {
|
|
"hero": "Transform Your Files Instantly",
|
|
"heroSub": "Free online tools for PDF, image, video, and text processing. No registration required.",
|
|
"popularTools": "Popular Tools",
|
|
"pdfTools": "PDF Tools",
|
|
"imageTools": "Image Tools",
|
|
"videoTools": "Video Tools",
|
|
"textTools": "Text Tools",
|
|
"uploadCta": "Upload Your File",
|
|
"uploadOr": "or drag & drop your file here",
|
|
"uploadSubtitle": "We auto-detect your file type and show matching tools",
|
|
"selectTool": "Choose a Tool",
|
|
"fileDetected": "We detected a {{type}} file",
|
|
"unsupportedFile": "This file type is not supported. Try PDF, Word, images, or video.",
|
|
"fileTypes": {
|
|
"image": "Image",
|
|
"video": "Video",
|
|
"unknown": "Unknown"
|
|
}
|
|
},
|
|
"tools": {
|
|
"pdfToWord": {
|
|
"title": "PDF to Word",
|
|
"description": "Convert PDF files to editable Word documents online for free.",
|
|
"shortDesc": "PDF → Word"
|
|
},
|
|
"wordToPdf": {
|
|
"title": "Word to PDF",
|
|
"description": "Convert Word documents (DOC, DOCX) to PDF format online for free.",
|
|
"shortDesc": "Word → PDF"
|
|
},
|
|
"compressPdf": {
|
|
"title": "Compress PDF",
|
|
"description": "Reduce PDF file size while maintaining quality. Choose your compression level.",
|
|
"shortDesc": "Compress PDF",
|
|
"qualityLow": "Maximum Compression",
|
|
"qualityMedium": "Balanced",
|
|
"qualityHigh": "High Quality"
|
|
},
|
|
"imageConvert": {
|
|
"title": "Image Converter",
|
|
"description": "Convert images between JPG, PNG, and WebP formats instantly.",
|
|
"shortDesc": "Convert Images"
|
|
},
|
|
"videoToGif": {
|
|
"title": "Video to GIF",
|
|
"description": "Create animated GIFs from video clips. Customize start time, duration, and quality.",
|
|
"shortDesc": "Video → GIF",
|
|
"startTime": "Start Time (seconds)",
|
|
"duration": "Duration (seconds)",
|
|
"fps": "Frames Per Second",
|
|
"width": "Width (pixels)"
|
|
},
|
|
"wordCounter": {
|
|
"title": "Word Counter",
|
|
"description": "Count words, characters, sentences, and paragraphs in your text instantly.",
|
|
"shortDesc": "Count Words",
|
|
"words": "Words",
|
|
"characters": "Characters",
|
|
"sentences": "Sentences",
|
|
"paragraphs": "Paragraphs",
|
|
"placeholder": "Type or paste your text here..."
|
|
},
|
|
"textCleaner": {
|
|
"title": "Text Cleaner",
|
|
"description": "Remove extra spaces, convert text case, and clean up your text instantly.",
|
|
"shortDesc": "Clean Text",
|
|
"removeSpaces": "Remove Extra Spaces",
|
|
"toUpperCase": "UPPER CASE",
|
|
"toLowerCase": "lower case",
|
|
"toTitleCase": "Title Case",
|
|
"toSentenceCase": "Sentence case",
|
|
"removeDiacritics": "Remove Arabic Diacritics",
|
|
"copyResult": "Copy Result"
|
|
},
|
|
"mergePdf": {
|
|
"title": "Merge PDF",
|
|
"description": "Combine multiple PDF files into a single document. Free and fast.",
|
|
"shortDesc": "Merge PDFs",
|
|
"selectFiles": "Select PDF Files",
|
|
"addMore": "Add More Files",
|
|
"filesSelected": "{{count}} files selected",
|
|
"dragToReorder": "Drag files to reorder them"
|
|
},
|
|
"splitPdf": {
|
|
"title": "Split PDF",
|
|
"description": "Split a PDF into individual pages or extract specific page ranges.",
|
|
"shortDesc": "Split PDF",
|
|
"allPages": "All Pages",
|
|
"pageRange": "Page Range",
|
|
"rangeHint": "e.g. 1,3,5-8",
|
|
"rangePlaceholder": "Enter pages: 1,3,5-8"
|
|
},
|
|
"rotatePdf": {
|
|
"title": "Rotate PDF",
|
|
"description": "Rotate all pages of a PDF by 90°, 180°, or 270° degrees.",
|
|
"shortDesc": "Rotate PDF",
|
|
"angle": "Rotation Angle",
|
|
"90": "90° Clockwise",
|
|
"180": "180° Flip",
|
|
"270": "270° Counter-clockwise"
|
|
},
|
|
"pdfToImages": {
|
|
"title": "PDF to Images",
|
|
"description": "Convert each page of a PDF into high-quality images (PNG or JPG).",
|
|
"shortDesc": "PDF → Images",
|
|
"format": "Image Format",
|
|
"dpi": "Resolution (DPI)",
|
|
"dpiLow": "72 — Screen",
|
|
"dpiMedium": "150 — Standard",
|
|
"dpiHigh": "200 — Good",
|
|
"dpiUltra": "300 — Print Quality"
|
|
},
|
|
"imagesToPdf": {
|
|
"title": "Images to PDF",
|
|
"description": "Combine multiple images into a single PDF document.",
|
|
"shortDesc": "Images → PDF",
|
|
"selectImages": "Select Images",
|
|
"addMore": "Add More Images",
|
|
"imagesSelected": "{{count}} images selected"
|
|
},
|
|
"watermarkPdf": {
|
|
"title": "Watermark PDF",
|
|
"description": "Add a custom text watermark to every page of your PDF.",
|
|
"shortDesc": "Add Watermark",
|
|
"text": "Watermark Text",
|
|
"textPlaceholder": "Enter watermark text",
|
|
"opacity": "Opacity",
|
|
"light": "Light",
|
|
"heavy": "Heavy"
|
|
},
|
|
"protectPdf": {
|
|
"title": "Protect PDF",
|
|
"description": "Add password protection to your PDF to prevent unauthorized access.",
|
|
"shortDesc": "Protect PDF",
|
|
"password": "Password",
|
|
"passwordPlaceholder": "Enter a strong password",
|
|
"confirmPassword": "Confirm Password",
|
|
"confirmPlaceholder": "Re-enter the password",
|
|
"mismatch": "Passwords do not match"
|
|
},
|
|
"unlockPdf": {
|
|
"title": "Unlock PDF",
|
|
"description": "Remove password protection from your PDF file.",
|
|
"shortDesc": "Unlock PDF",
|
|
"password": "Current Password",
|
|
"passwordPlaceholder": "Enter the PDF password"
|
|
},
|
|
"pageNumbers": {
|
|
"title": "Add Page Numbers",
|
|
"description": "Add page numbers to every page of your PDF. Choose position and starting number.",
|
|
"shortDesc": "Add Page Numbers",
|
|
"position": "Number Position",
|
|
"startNumber": "Start From",
|
|
"bottomCenter": "Bottom Center",
|
|
"bottomRight": "Bottom Right",
|
|
"bottomLeft": "Bottom Left",
|
|
"topCenter": "Top Center",
|
|
"topRight": "Top Right",
|
|
"topLeft": "Top Left"
|
|
}
|
|
},
|
|
"result": {
|
|
"conversionComplete": "Conversion Complete!",
|
|
"compressionComplete": "Compression Complete!",
|
|
"originalSize": "Original Size",
|
|
"newSize": "New Size",
|
|
"reduction": "Reduction",
|
|
"downloadReady": "Your file is ready for download.",
|
|
"linkExpiry": "Download link expires in 30 minutes."
|
|
}
|
|
}
|