ميزة: إضافة مكوني ProcedureSelection و StepProgress لأداة مخططات التدفق بصيغة PDF

- تنفيذ مكون ProcedureSelection لتمكين المستخدمين من اختيار الإجراءات من قائمة، وإدارة الاختيارات، ومعالجة الإجراءات المرفوضة.

- إنشاء مكون StepProgress لعرض تقدم معالج متعدد الخطوات بشكل مرئي.

- تعريف أنواع مشتركة للإجراءات، وخطوات التدفق، ورسائل الدردشة في ملف types.ts.

- إضافة اختبارات وحدة لخطافات useFileUpload و useTaskPolling لضمان الأداء السليم ومعالجة الأخطاء.

- تنفيذ اختبارات واجهة برمجة التطبيقات (API) للتحقق من تنسيقات نقاط النهاية وضمان اتساق ربط الواجهة الأمامية بالخلفية.
This commit is contained in:
Your Name
2026-03-06 17:16:09 +02:00
parent 2e97741d60
commit cfbcc8bd79
62 changed files with 10567 additions and 101 deletions

View File

@@ -22,16 +22,20 @@
"lightMode": "الوضع الفاتح"
},
"home": {
"hero": "حوّل ملفاتك فوراً",
"heroSub": "أدوات مجانية لمعالجة ملفات PDF والصور والفيديو والنصوص. بدون تسجيل.",
"hero": "كل ما تحتاجه للتعامل مع ملفات PDF — فوراً وبخطوات بسيطة",
"heroSub": "ارفع ملفك أو اسحبه هنا، وسنكتشف نوعه تلقائيًا ونقترح الأدوات الملائمة — التحرير، التحويل، الضغط وغير ذلك. لا حاجة لتسجيل حساب لبدء الاستخدام.",
"popularTools": "الأدوات الشائعة",
"pdfTools": "أدوات PDF",
"imageTools": "أدوات الصور",
"videoTools": "أدوات الفيديو",
"textTools": "أدوات النصوص",
"uploadCta": "ارفع ملفك",
"uploadOr": "أو اسحب وأفلت ملفك هنا",
"uploadSubtitle": كتشف نوع ملفك تلقائياً ونعرض الأدوات المناسبة",
"uploadCta": "اسحب ملفك هنا أو اضغط لاختياره",
"uploadOr": "ندعم: PDF, Word, JPG, PNG, WebP, MP4 — الحد الأقصى للحجم: 200 ميجابايت.",
"uploadSubtitle": ستخرج معاينة سريعة ونعرض الأدوات المناسبة فوراً.",
"editNow": "عدّل ملفك الآن",
"editNowTooltip": "افتح محرّر الملفات — حرّر النصوص، أضف تعليقات، وغيّر الصفحات",
"suggestedTools": "الأدوات المقترحة لملفك",
"suggestedToolsDesc": "بعد رفع الملف سنعرض الأدوات المتوافقة تلقائيًا: تحرير نص، تمييز، دمج/تقسيم، ضغط، تحويل إلى Word/صورة، تحويل فيديو إلى GIF، والمزيد.",
"selectTool": "اختر أداة",
"fileDetected": "اكتشفنا ملف {{type}}",
"unsupportedFile": "نوع الملف غير مدعوم. جرب PDF أو Word أو صور أو فيديو.",
@@ -39,7 +43,14 @@
"image": "صورة",
"video": "فيديو",
"unknown": "غير معروف"
}
},
"featuresTitle": "طريقة أذكى للتحويل والتعديل عبر الإنترنت",
"feature1Title": "مساحة عمل متكاملة",
"feature1Desc": "قم بالتعديل، التحويل، الضغط، الدمج، والتقسيم بدون تغيير النوافذ.",
"feature2Title": "دقة يمكنك الوثوق بها",
"feature2Desc": "احصل على ملفات دقيقة وقابلة للتعديل في ثوانٍ بدون فقدان للجودة.",
"feature3Title": "أمان مدمج",
"feature3Desc": "قم بالوصول إلى ملفاتك بأمان، محمية بتشفير تلقائي."
},
"tools": {
"pdfToWord": {
@@ -110,9 +121,18 @@
"description": "قسّم ملف PDF إلى صفحات فردية أو استخرج نطاقات صفحات محددة.",
"shortDesc": "تقسيم PDF",
"allPages": "كل الصفحات",
"allPagesDesc": "استخراج كل صفحة في ملف PDF مستقل",
"selectPages": "تحديد صفحات",
"selectPagesDesc": "استخراج صفحات أو نطاقات محددة فقط",
"pageRange": "نطاق الصفحات",
"rangeHint": "مثال: 1,3,5-8",
"rangePlaceholder": "أدخل الصفحات: 1,3,5-8"
"rangePlaceholder": "أدخل الصفحات: 1,3,5-8",
"errors": {
"requiredPages": "من فضلك أدخل أرقام الصفحات أو النطاقات (مثال: 1,3,5-8).",
"outOfRange": "الصفحات المحددة ({{selected}}) خارج النطاق. هذا الملف يحتوي فقط على {{total}} صفحة.",
"invalidFormat": "تنسيق الصفحات غير صحيح: {{tokens}}. استخدم صيغة مثل 1,3,5-8.",
"noPagesSelected": "لم يتم تحديد أي صفحات. هذا الملف يحتوي على {{total}} صفحة."
}
},
"rotatePdf": {
"title": "تدوير PDF",
@@ -181,6 +201,135 @@
"topCenter": "أعلى الوسط",
"topRight": "أعلى اليمين",
"topLeft": "أعلى اليسار"
},
"pdfEditor": {
"title": "محرّر PDF متقدّم",
"description": "حرِّر نصوص PDF، أضف تعليقات، أعد ترتيب الصفحات وسجّل نسخة نهائية. سريع وبسيط ومباشر في المتصفح.",
"shortDesc": "تعديل PDF",
"intro": "مرحبا! هنا يمكنك تعديل ملف PDF مباشرةً في المتصفح: إضافة نص، تعليق، تمييز، رسم حر، حذف/إضافة صفحات، وتصدير نسخة جديدة دون المساس بالأصل.",
"steps": {
"step1": "أضف عناصر (نص، تمييز، رسم، ملاحظة) باستخدام شريط الأدوات أعلى الصفحة.",
"step2": "اضغط حفظ لحفظ نسخة جديدة من الملف (سيُنشأ إصدار جديد ولا يُستبدل الملف الأصلي).",
"step3": "اضغط تنزيل لتحميل النسخة النهائية أو اختر مشاركة لنسخ رابط التحميل."
},
"save": "حفظ التعديلات",
"saveTooltip": "حفظ نسخة جديدة من الملف",
"downloadFile": "تحميل الملف",
"downloadTooltip": "تنزيل PDF النهائي",
"undo": "تراجع",
"redo": "إعادة",
"addPage": "أضف صفحة",
"deletePage": "حذف الصفحة",
"rotate": "تدوير",
"extractPage": "استخراج كملف جديد",
"thumbnails": "عرض الصفحات",
"share": "مشاركة",
"versionNote": "نحفظ نسخة جديدة في كل مرة تحفظ فيها التعديلات — لا نغيّر الملف الأصلي. يمكنك الرجوع إلى الإصدارات السابقة من صفحة الملف. يتم حذف الملفات المؤقتة تلقائيًا بعد 30 دقيقة إن لم تكمل العملية.",
"privacyNote": "ملفاتك محمية — نقوم بفحص الملفات أمنياً قبل المعالجة، ونستخدم اتصالاً مشفّراً (HTTPS). راجع سياسة الخصوصية للحصول على المزيد من التفاصيل.",
"preparingPreview": "جاري تجهيز المعاينة…",
"preparingPreviewSub": "قد يستغرق الأمر بضع ثوانٍ حسب حجم الملف.",
"applyingChanges": "جاري تطبيق التعديلات…",
"applyingChangesSub": "لا تغلق النافذة — سيُنشأ ملف جديد عند الانتهاء.",
"savedSuccess": "تم حفظ التعديلات بنجاح — يمكنك الآن تنزيل الملف.",
"processingFailed": "فشل في معالجة الملف. جرّب إعادة التحميل أو حاول لاحقًا.",
"retry": "إعادة المحاولة",
"fileTooLarge": "حجم الملف أكبر من المسموح (200MB). قلِّل حجم الملف وحاول مرة أخرى."
},
"pdfFlowchart": {
"title": "PDF إلى مخطط انسيابي",
"description": "استخرج الإجراءات من مستندات PDF وحوّلها إلى مخططات انسيابية تفاعلية تلقائيًا.",
"shortDesc": "PDF → مخطط انسيابي",
"uploadStep": "ارفع ملف PDF",
"uploadDesc": "ارفع مستند PDF لاستخراج الإجراءات",
"dragDropHint": "أو اسحب وأفلت ملف PDF هنا",
"trySampleTitle": "ليس لديك ملف PDF؟",
"trySampleDesc": "جرّب المستند النموذجي لمشاهدة الأداة",
"trySample": "جرّب نموذج",
"extracting": "جاري تحليل المستند...",
"extractingDesc": "نحن نفحص ملف PDF ونحدد الإجراءات",
"proceduresFound": "تم العثور على {{count}} إجراء",
"noProcedures": "لم يتم اكتشاف أي إجراءات في هذا المستند. جرّب ملف PDF آخر.",
"selectProcedures": "اختر الإجراءات",
"selectProceduresDesc": "اختر الإجراءات التي تريد تحويلها إلى مخططات انسيابية",
"selectAll": "تحديد الكل",
"deselectAll": "إلغاء تحديد الكل",
"addManual": "إضافة يدوية",
"pages": "الصفحات",
"generateFlows": "إنشاء المخططات",
"generating": "جاري إنشاء المخططات...",
"generatingDesc": "نقوم بإنشاء المخططات الانسيابية من الإجراءات المختارة",
"generatingFor": "جاري إنشاء المخططات لـ {{count}} إجراء...",
"flowReady": "المخططات جاهزة!",
"flowReadyDesc": "تم إنشاء المخططات الانسيابية بنجاح",
"flowReadyCount": "تم إنشاء {{count}} مخطط(ات) بنجاح",
"steps": "{{count}} خطوة",
"viewFlow": "عرض المخطط",
"viewResults": "عرض النتائج",
"exportPng": "تصدير كـ PNG",
"exportSvg": "تصدير كـ SVG",
"exportPdf": "تصدير كـ PDF",
"startNode": "بداية",
"endNode": "نهاية",
"processNode": "عملية",
"decisionNode": "قرار",
"backToList": "العودة للقائمة",
"back": "رجوع",
"reject": "رفض",
"restore": "استعادة",
"viewSection": "عرض قسم المستند",
"rejectedTitle": "الإجراءات المرفوضة",
"rejectedCount": "{{count}} مرفوض",
"estimatedTime": "~{{time}} د",
"complexity": {
"simple": "بسيط",
"medium": "متوسط",
"complex": "معقد"
},
"wizard": {
"upload": "رفع",
"select": "اختيار",
"create": "إنشاء",
"results": "النتائج"
},
"manualTitle": "إضافة إجراء يدوي",
"manualDesc": "حدد نطاق الصفحات وأنشئ إجراءً مخصصًا",
"procTitleLabel": "عنوان الإجراء",
"procTitlePlaceholder": "أدخل عنوان الإجراء...",
"procDescriptionLabel": "الوصف",
"procDescriptionPlaceholder": "صف الإجراء...",
"selectPageRange": "حدد نطاق الصفحات",
"startPage": "صفحة البداية",
"endPage": "صفحة النهاية",
"invalidRange": "نطاق صفحات غير صالح",
"pagesSelected": "{{count}} صفحة محددة",
"createProcedure": "إنشاء الإجراء",
"pagePreview": "معاينة الصفحة",
"selectPagesToPreview": "حدد صفحات لمعاينة المحتوى",
"pageLabel": "صفحة {{num}}",
"noPageContent": "لا يوجد محتوى متاح لهذه الصفحة",
"documentViewer": "عارض المستند",
"backToProcedures": "العودة إلى الإجراءات",
"totalPagesLabel": "إجمالي الصفحات",
"documentContent": "محتوى المستند",
"pagesWord": "صفحات",
"aiAnalysis": "تحليل الذكاء الاصطناعي",
"keyActions": "الإجراءات الرئيسية",
"stepsIdentified": "تم تحديد {{count}} خطوة",
"decisionPoints": "نقاط القرار",
"flowComplexity": "تعقيد التدفق",
"flowStepsEstimate": "~{{count}} خطوة تقديرية",
"totalSteps": "إجمالي الخطوات",
"processSteps": "خطوات العمليات",
"aiAssistant": "المساعد الذكي",
"chatWelcome": "مرحبًا! يمكنني مساعدتك في تحسين المخطط \"{{title}}\". اسألني عن هيكل التدفق أو اقترح تحسينات أو اطلب تبسيطات.",
"chatPlaceholder": "اسأل عن هذا المخطط...",
"chatTyping": "الذكاء الاصطناعي يفكر...",
"chatError": "حدث خطأ. يرجى المحاولة مرة أخرى.",
"chatSuggestion1": "كيف أبسط هذا المخطط؟",
"chatSuggestion2": "هل هناك خطوات ناقصة؟",
"chatSuggestion3": "اقترح عناوين أفضل",
"chatSuggestion4": "أضف معالجة الأخطاء",
"sendMessage": "إرسال"
}
},
"result": {

View File

@@ -22,16 +22,20 @@
"lightMode": "Light Mode"
},
"home": {
"hero": "Transform Your Files Instantly",
"heroSub": "Free online tools for PDF, image, video, and text processing. No registration required.",
"hero": "Everything You Need to Work with PDF Files Instantly",
"heroSub": "Upload or drag & drop your file, and we'll auto-detect its type and suggest the right tools — edit, convert, compress, and more. 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",
"uploadCta": "Drag your file here or click to browse",
"uploadOr": "Supported: PDF, Word, JPG, PNG, WebP, MP4 — Max size: 200 MB.",
"uploadSubtitle": "We generate a quick preview and instantly show matching tools.",
"editNow": "Edit Your File Now",
"editNowTooltip": "Open the file editor — edit text, add comments, and modify pages",
"suggestedTools": "Suggested Tools for Your File",
"suggestedToolsDesc": "After uploading, we automatically show compatible tools: text editing, highlighting, merge/split, compress, convert to Word/image, video to GIF, and more.",
"selectTool": "Choose a Tool",
"fileDetected": "We detected a {{type}} file",
"unsupportedFile": "This file type is not supported. Try PDF, Word, images, or video.",
@@ -39,7 +43,14 @@
"image": "Image",
"video": "Video",
"unknown": "Unknown"
}
},
"featuresTitle": "A smarter way to convert and edit online",
"feature1Title": "One complete workspace",
"feature1Desc": "Edit, convert, compress, merge, split without switching tabs.",
"feature2Title": "Accuracy you can trust",
"feature2Desc": "Get pixel-perfect, editable files in seconds with zero quality loss.",
"feature3Title": "Built-in security",
"feature3Desc": "Access files securely, protected by automatic encryption."
},
"tools": {
"pdfToWord": {
@@ -110,9 +121,18 @@
"description": "Split a PDF into individual pages or extract specific page ranges.",
"shortDesc": "Split PDF",
"allPages": "All Pages",
"allPagesDesc": "Extract every page as a separate PDF file",
"selectPages": "Select Pages",
"selectPagesDesc": "Extract only specific pages or ranges",
"pageRange": "Page Range",
"rangeHint": "e.g. 1,3,5-8",
"rangePlaceholder": "Enter pages: 1,3,5-8"
"rangePlaceholder": "Enter pages: 1,3,5-8",
"errors": {
"requiredPages": "Please enter page numbers or ranges (e.g. 1,3,5-8).",
"outOfRange": "Selected pages ({{selected}}) are out of range. This PDF has only {{total}} page(s).",
"invalidFormat": "Invalid page format: {{tokens}}. Use a format like 1,3,5-8.",
"noPagesSelected": "No pages selected. This PDF has {{total}} page(s)."
}
},
"rotatePdf": {
"title": "Rotate PDF",
@@ -181,6 +201,135 @@
"topCenter": "Top Center",
"topRight": "Top Right",
"topLeft": "Top Left"
},
"pdfEditor": {
"title": "Advanced PDF Editor",
"description": "Edit PDF text, add comments, reorder pages, and save a final copy. Fast, simple, and right in your browser.",
"shortDesc": "Edit PDF",
"intro": "Here you can edit your PDF directly in the browser: add text, comments, highlights, freehand drawing, delete/add pages, and export a new copy without altering the original.",
"steps": {
"step1": "Add elements (text, highlight, drawing, note) using the toolbar at the top.",
"step2": "Click Save to save a new copy (a new version is created — the original file is not replaced).",
"step3": "Click Download to get the final copy, or choose Share to copy the download link."
},
"save": "Save Changes",
"saveTooltip": "Save a new copy of the file",
"downloadFile": "Download File",
"downloadTooltip": "Download the final PDF",
"undo": "Undo",
"redo": "Redo",
"addPage": "Add Page",
"deletePage": "Delete Page",
"rotate": "Rotate",
"extractPage": "Extract as New File",
"thumbnails": "View Pages",
"share": "Share",
"versionNote": "We save a new copy each time you save changes — the original file is never modified. You can revert to previous versions from the file page. Temporary files are automatically deleted after 30 minutes if the process is not completed.",
"privacyNote": "Your files are protected — we perform security checks before processing and use encrypted connections (HTTPS). See our Privacy Policy for more details.",
"preparingPreview": "Preparing preview…",
"preparingPreviewSub": "This may take a few seconds depending on file size.",
"applyingChanges": "Applying changes…",
"applyingChangesSub": "Don't close the window — a new file will be created when done.",
"savedSuccess": "Changes saved successfully — you can now download the file.",
"processingFailed": "Failed to process the file. Try re-uploading or try again later.",
"retry": "Retry",
"fileTooLarge": "File size exceeds the limit (200MB). Please reduce the file size and try again."
},
"pdfFlowchart": {
"title": "PDF to Flowchart",
"description": "Extract procedures from PDF documents and convert them into interactive flowcharts automatically.",
"shortDesc": "PDF → Flowchart",
"uploadStep": "Upload PDF",
"uploadDesc": "Upload your PDF document to extract procedures",
"dragDropHint": "or drag and drop your PDF file here",
"trySampleTitle": "No PDF handy?",
"trySampleDesc": "Try our sample document to see the tool in action",
"trySample": "Try Sample",
"extracting": "Analyzing document...",
"extractingDesc": "We are scanning your PDF and identifying procedures",
"proceduresFound": "{{count}} procedures found",
"noProcedures": "No procedures were detected in this document. Try a different PDF.",
"selectProcedures": "Select Procedures",
"selectProceduresDesc": "Choose which procedures to convert into flowcharts",
"selectAll": "Select All",
"deselectAll": "Deselect All",
"addManual": "Add Manually",
"pages": "Pages",
"generateFlows": "Generate Flowcharts",
"generating": "Generating flowcharts...",
"generatingDesc": "Creating visual flowcharts from selected procedures",
"generatingFor": "Generating flowcharts for {{count}} procedures...",
"flowReady": "Flowcharts Ready!",
"flowReadyDesc": "Your flowcharts have been generated successfully",
"flowReadyCount": "{{count}} flowchart(s) generated successfully",
"steps": "{{count}} steps",
"viewFlow": "View Flowchart",
"viewResults": "View Results",
"exportPng": "Export as PNG",
"exportSvg": "Export as SVG",
"exportPdf": "Export as PDF",
"startNode": "Start",
"endNode": "End",
"processNode": "Process",
"decisionNode": "Decision",
"backToList": "Back to List",
"back": "Back",
"reject": "Reject",
"restore": "Restore",
"viewSection": "View Document Section",
"rejectedTitle": "Rejected Procedures",
"rejectedCount": "{{count}} rejected",
"estimatedTime": "~{{time}} min",
"complexity": {
"simple": "Simple",
"medium": "Medium",
"complex": "Complex"
},
"wizard": {
"upload": "Upload",
"select": "Select",
"create": "Create",
"results": "Results"
},
"manualTitle": "Add Manual Procedure",
"manualDesc": "Specify a page range and create a custom procedure",
"procTitleLabel": "Procedure Title",
"procTitlePlaceholder": "Enter procedure title...",
"procDescriptionLabel": "Description",
"procDescriptionPlaceholder": "Describe the procedure...",
"selectPageRange": "Select Page Range",
"startPage": "Start Page",
"endPage": "End Page",
"invalidRange": "Invalid page range",
"pagesSelected": "{{count}} page(s) selected",
"createProcedure": "Create Procedure",
"pagePreview": "Page Preview",
"selectPagesToPreview": "Select pages to preview content",
"pageLabel": "Page {{num}}",
"noPageContent": "No content available for this page",
"documentViewer": "Document Viewer",
"backToProcedures": "Back to Procedures",
"totalPagesLabel": "Total Pages",
"documentContent": "Document Content",
"pagesWord": "pages",
"aiAnalysis": "AI Analysis",
"keyActions": "Key Actions",
"stepsIdentified": "{{count}} steps identified",
"decisionPoints": "Decision Points",
"flowComplexity": "Flow Complexity",
"flowStepsEstimate": "~{{count}} flow steps estimated",
"totalSteps": "Total Steps",
"processSteps": "Process Steps",
"aiAssistant": "AI Assistant",
"chatWelcome": "Hi! I can help you improve the flowchart \"{{title}}\". Ask me anything about the flow structure, suggest improvements, or request simplifications.",
"chatPlaceholder": "Ask about this flowchart...",
"chatTyping": "AI is thinking...",
"chatError": "Something went wrong. Please try again.",
"chatSuggestion1": "How can I simplify this flow?",
"chatSuggestion2": "Are there missing steps?",
"chatSuggestion3": "Suggest better titles",
"chatSuggestion4": "Add error handling",
"sendMessage": "Send"
}
},
"result": {

View File

@@ -22,16 +22,20 @@
"lightMode": "Mode clair"
},
"home": {
"hero": "Transformez vos fichiers instantanément",
"heroSub": "Outils en ligne gratuits pour le traitement de PDF, images, vidéos et textes. Aucune inscription requise.",
"hero": "Tout ce dont vous avez besoin pour vos fichiers PDF — instantanément",
"heroSub": "Déposez votre fichier ici, nous détecterons automatiquement son type et proposerons les outils adaptés — édition, conversion, compression et plus. Aucune inscription requise.",
"popularTools": "Outils populaires",
"pdfTools": "Outils PDF",
"imageTools": "Outils d'images",
"videoTools": "Outils vidéo",
"textTools": "Outils de texte",
"uploadCta": "Téléchargez votre fichier",
"uploadOr": "ou glissez-déposez votre fichier ici",
"uploadSubtitle": "Nous détectons automatiquement le type de fichier et affichons les outils adaptés",
"uploadCta": "Glissez votre fichier ici ou cliquez pour parcourir",
"uploadOr": "Formats supportés : PDF, Word, JPG, PNG, WebP, MP4 — Taille max : 200 Mo.",
"uploadSubtitle": "Nous générons un aperçu rapide et affichons les outils adaptés instantanément.",
"editNow": "Modifier votre fichier maintenant",
"editNowTooltip": "Ouvrir l'éditeur de fichiers — modifier le texte, ajouter des commentaires et modifier les pages",
"suggestedTools": "Outils suggérés pour votre fichier",
"suggestedToolsDesc": "Après le téléchargement, nous affichons automatiquement les outils compatibles : édition de texte, surlignage, fusion/division, compression, conversion en Word/image, vidéo en GIF, et plus.",
"selectTool": "Choisir un outil",
"fileDetected": "Nous avons détecté un fichier {{type}}",
"unsupportedFile": "Ce type de fichier n'est pas pris en charge. Essayez PDF, Word, images ou vidéo.",
@@ -39,7 +43,14 @@
"image": "Image",
"video": "Vidéo",
"unknown": "Inconnu"
}
},
"featuresTitle": "Une façon plus intelligente de convertir et d'éditer en ligne",
"feature1Title": "Un espace de travail complet",
"feature1Desc": "Éditez, convertissez, compressez, fusionnez, divisez sans changer d'onglets.",
"feature2Title": "Une précision de confiance",
"feature2Desc": "Obtenez des fichiers parfaits et modifiables en quelques secondes sans perte de qualité.",
"feature3Title": "Sécurité intégrée",
"feature3Desc": "Accédez aux fichiers en toute sécurité, protégés par un cryptage automatique."
},
"tools": {
"pdfToWord": {
@@ -110,9 +121,18 @@
"description": "Divisez un PDF en pages individuelles ou extrayez des plages de pages spécifiques.",
"shortDesc": "Diviser PDF",
"allPages": "Toutes les pages",
"allPagesDesc": "Extraire chaque page dans un fichier PDF séparé",
"selectPages": "Sélectionner des pages",
"selectPagesDesc": "Extraire uniquement des pages ou plages spécifiques",
"pageRange": "Plage de pages",
"rangeHint": "ex. 1,3,5-8",
"rangePlaceholder": "Entrez les pages : 1,3,5-8"
"rangePlaceholder": "Entrez les pages : 1,3,5-8",
"errors": {
"requiredPages": "Veuillez saisir des numéros de pages ou des plages (ex. 1,3,5-8).",
"outOfRange": "Les pages sélectionnées ({{selected}}) sont hors limites. Ce PDF contient seulement {{total}} page(s).",
"invalidFormat": "Format de pages invalide : {{tokens}}. Utilisez un format comme 1,3,5-8.",
"noPagesSelected": "Aucune page sélectionnée. Ce PDF contient {{total}} page(s)."
}
},
"rotatePdf": {
"title": "Pivoter PDF",
@@ -181,6 +201,135 @@
"topCenter": "Haut centre",
"topRight": "Haut droite",
"topLeft": "Haut gauche"
},
"pdfEditor": {
"title": "Éditeur PDF avancé",
"description": "Modifiez le texte PDF, ajoutez des commentaires, réorganisez les pages et enregistrez une copie finale. Rapide, simple et directement dans votre navigateur.",
"shortDesc": "Modifier PDF",
"intro": "Ici vous pouvez modifier votre PDF directement dans le navigateur : ajouter du texte, des commentaires, du surlignage, du dessin libre, supprimer/ajouter des pages, et exporter une nouvelle copie sans altérer l'original.",
"steps": {
"step1": "Ajoutez des éléments (texte, surlignage, dessin, note) à l'aide de la barre d'outils en haut.",
"step2": "Cliquez sur Enregistrer pour sauvegarder une nouvelle copie (une nouvelle version est créée — le fichier original n'est pas remplacé).",
"step3": "Cliquez sur Télécharger pour obtenir la copie finale, ou choisissez Partager pour copier le lien de téléchargement."
},
"save": "Enregistrer les modifications",
"saveTooltip": "Enregistrer une nouvelle copie du fichier",
"downloadFile": "Télécharger le fichier",
"downloadTooltip": "Télécharger le PDF final",
"undo": "Annuler",
"redo": "Rétablir",
"addPage": "Ajouter une page",
"deletePage": "Supprimer la page",
"rotate": "Pivoter",
"extractPage": "Extraire comme nouveau fichier",
"thumbnails": "Voir les pages",
"share": "Partager",
"versionNote": "Nous sauvegardons une nouvelle copie à chaque enregistrement — le fichier original n'est jamais modifié. Vous pouvez revenir aux versions précédentes depuis la page du fichier. Les fichiers temporaires sont automatiquement supprimés après 30 minutes si le processus n'est pas terminé.",
"privacyNote": "Vos fichiers sont protégés — nous effectuons des vérifications de sécurité avant le traitement et utilisons des connexions chiffrées (HTTPS). Consultez notre politique de confidentialité pour plus de détails.",
"preparingPreview": "Préparation de l'aperçu…",
"preparingPreviewSub": "Cela peut prendre quelques secondes selon la taille du fichier.",
"applyingChanges": "Application des modifications…",
"applyingChangesSub": "Ne fermez pas la fenêtre — un nouveau fichier sera créé une fois terminé.",
"savedSuccess": "Modifications enregistrées avec succès — vous pouvez maintenant télécharger le fichier.",
"processingFailed": "Échec du traitement du fichier. Essayez de le re-télécharger ou réessayez plus tard.",
"retry": "Réessayer",
"fileTooLarge": "La taille du fichier dépasse la limite (200 Mo). Veuillez réduire la taille du fichier et réessayer."
},
"pdfFlowchart": {
"title": "PDF vers Organigramme",
"description": "Extrayez les procédures des documents PDF et convertissez-les automatiquement en organigrammes interactifs.",
"shortDesc": "PDF → Organigramme",
"uploadStep": "Télécharger le PDF",
"uploadDesc": "Téléchargez votre document PDF pour extraire les procédures",
"dragDropHint": "ou glissez-déposez votre fichier PDF ici",
"trySampleTitle": "Pas de PDF sous la main ?",
"trySampleDesc": "Essayez notre document exemple pour voir l'outil en action",
"trySample": "Essayer un exemple",
"extracting": "Analyse du document...",
"extractingDesc": "Nous analysons votre PDF et identifions les procédures",
"proceduresFound": "{{count}} procédures trouvées",
"noProcedures": "Aucune procédure détectée dans ce document. Essayez un autre PDF.",
"selectProcedures": "Sélectionner les procédures",
"selectProceduresDesc": "Choisissez les procédures à convertir en organigrammes",
"selectAll": "Tout sélectionner",
"deselectAll": "Tout désélectionner",
"addManual": "Ajouter manuellement",
"pages": "Pages",
"generateFlows": "Générer les organigrammes",
"generating": "Génération en cours...",
"generatingDesc": "Création des organigrammes à partir des procédures sélectionnées",
"generatingFor": "Génération des organigrammes pour {{count}} procédures...",
"flowReady": "Organigrammes prêts !",
"flowReadyDesc": "Vos organigrammes ont été générés avec succès",
"flowReadyCount": "{{count}} organigramme(s) généré(s) avec succès",
"steps": "{{count}} étapes",
"viewFlow": "Voir l'organigramme",
"viewResults": "Voir les résultats",
"exportPng": "Exporter en PNG",
"exportSvg": "Exporter en SVG",
"exportPdf": "Exporter en PDF",
"startNode": "Début",
"endNode": "Fin",
"processNode": "Processus",
"decisionNode": "Décision",
"backToList": "Retour à la liste",
"back": "Retour",
"reject": "Rejeter",
"restore": "Restaurer",
"viewSection": "Voir la section du document",
"rejectedTitle": "Procédures rejetées",
"rejectedCount": "{{count}} rejetée(s)",
"estimatedTime": "~{{time}} min",
"complexity": {
"simple": "Simple",
"medium": "Moyen",
"complex": "Complexe"
},
"wizard": {
"upload": "Télécharger",
"select": "Sélectionner",
"create": "Créer",
"results": "Résultats"
},
"manualTitle": "Ajouter une procédure manuelle",
"manualDesc": "Spécifiez une plage de pages et créez une procédure personnalisée",
"procTitleLabel": "Titre de la procédure",
"procTitlePlaceholder": "Entrez le titre de la procédure...",
"procDescriptionLabel": "Description",
"procDescriptionPlaceholder": "Décrivez la procédure...",
"selectPageRange": "Sélectionner la plage de pages",
"startPage": "Page de début",
"endPage": "Page de fin",
"invalidRange": "Plage de pages invalide",
"pagesSelected": "{{count}} page(s) sélectionnée(s)",
"createProcedure": "Créer la procédure",
"pagePreview": "Aperçu de la page",
"selectPagesToPreview": "Sélectionnez des pages pour prévisualiser le contenu",
"pageLabel": "Page {{num}}",
"noPageContent": "Aucun contenu disponible pour cette page",
"documentViewer": "Visionneuse de document",
"backToProcedures": "Retour aux procédures",
"totalPagesLabel": "Total des pages",
"documentContent": "Contenu du document",
"pagesWord": "pages",
"aiAnalysis": "Analyse IA",
"keyActions": "Actions clés",
"stepsIdentified": "{{count}} étapes identifiées",
"decisionPoints": "Points de décision",
"flowComplexity": "Complexité du flux",
"flowStepsEstimate": "~{{count}} étapes estimées",
"totalSteps": "Total des étapes",
"processSteps": "Étapes de processus",
"aiAssistant": "Assistant IA",
"chatWelcome": "Bonjour ! Je peux vous aider à améliorer l'organigramme \"{{title}}\". Posez-moi des questions sur la structure du flux, suggérez des améliorations ou demandez des simplifications.",
"chatPlaceholder": "Posez une question sur cet organigramme...",
"chatTyping": "L'IA réfléchit...",
"chatError": "Une erreur s'est produite. Veuillez réessayer.",
"chatSuggestion1": "Comment simplifier ce flux ?",
"chatSuggestion2": "Y a-t-il des étapes manquantes ?",
"chatSuggestion3": "Suggérer de meilleurs titres",
"chatSuggestion4": "Ajouter la gestion des erreurs",
"sendMessage": "Envoyer"
}
},
"result": {