mirror of
https://github.com/AmruthPillai/Reactive-Resume.git
synced 2026-08-25 07:42:20 +10:00
feat(export): separate resume/cover-letter downloads, redesign dialog, add Markdown export (#3217)
* feat(export): separate resume/cover-letter downloads, redesign dialog, add Markdown Let people export the resume and cover letter as distinct documents, and add a Markdown format alongside PDF / DOCX / JSON (handy for AI agents). - Server/API: scope PDF generation and download URLs to a resume/cover-letter target. - Export domain: getResumeExportData + resumeHasCoverLetter in @reactive-resume/resume. - Redesign the download dialog: one global "What to export" scope toggle (Tabs) plus flattened per-format rows, reusing existing UI components and design language. - Add Markdown export (@reactive-resume/resume/markdown) with a small tiptap-HTML converter. - Fix blank section headings in DOCX and Markdown by injecting the locale-aware section-title resolver (titles are stored empty and resolved at render time). - Locale catalogs updated for the new strings. * test(e2e): open the download dialog before exporting JSON The JSON export moved into the redesigned download dialog, so the spec now opens the dialog from the Export sidebar section before clicking "Download JSON".
This commit is contained in:
+36
-29
@@ -507,6 +507,10 @@ msgstr "قالبهای زیبایی برای انتخاب، با موارد
|
||||
msgid "Bengali"
|
||||
msgstr "بنگالی"
|
||||
|
||||
#: src/features/resume/export/download-dialog.tsx
|
||||
msgid "Best for applications, sharing, and printing."
|
||||
msgstr ""
|
||||
|
||||
#: src/routes/agent/-components/new-thread-setup.tsx
|
||||
msgid "Blank draft"
|
||||
msgstr "پیش نویس خالی"
|
||||
@@ -655,6 +659,10 @@ msgstr "رزومه انتخاب کنید"
|
||||
msgid "Choose an existing conversation from the sidebar, or start a new draft-focused thread."
|
||||
msgstr "یک مکالمه موجود را از نوار کناری انتخاب کنید، یا یک رشته مکالمه جدید با محوریت پیشنویس شروع کنید."
|
||||
|
||||
#: src/routes/builder/$resumeId/-sidebar/right/sections/export.tsx
|
||||
msgid "Choose PDF, DOCX, or JSON. Export your resume and cover letter separately when available."
|
||||
msgstr ""
|
||||
|
||||
#: src/components/level/combobox.tsx
|
||||
msgid "Circle"
|
||||
msgstr "دایره"
|
||||
@@ -819,6 +827,10 @@ msgstr "اتصال برقرار نشد. کلید API، مدل و آدرس این
|
||||
msgid "Couldn't save"
|
||||
msgstr "ذخیره نشد"
|
||||
|
||||
#: src/features/resume/export/download-dialog.tsx
|
||||
msgid "Cover letter"
|
||||
msgstr ""
|
||||
|
||||
#. Fallback title for a custom cover letter item in resume builder when recipient is empty
|
||||
#. Fallback title for a custom cover letter item in resume builder when recipient is unavailable
|
||||
#: src/dialogs/resume/sections/custom.tsx
|
||||
@@ -1149,7 +1161,11 @@ msgid "Donate to Reactive Resume"
|
||||
msgstr "به Reactive Resume دونیت کنید"
|
||||
|
||||
#. Action button to download two-factor backup codes as a text file
|
||||
#. Primary action in the builder header to open resume download options
|
||||
#: src/dialogs/auth/enable-two-factor.tsx
|
||||
#: src/features/resume/export/download-dialog.tsx
|
||||
#: src/routes/builder/$resumeId/-components/header.tsx
|
||||
#: src/routes/builder/$resumeId/-sidebar/right/sections/export.tsx
|
||||
msgid "Download"
|
||||
msgstr "دانلود"
|
||||
|
||||
@@ -1157,30 +1173,13 @@ msgstr "دانلود"
|
||||
msgid "Download a copy of all your data, including your profile and every resume, as a JSON file."
|
||||
msgstr "یک کپی از تمام اطلاعات خود، از جمله پروفایل و هر رزومه، را به صورت یک فایل JSON دانلود کنید."
|
||||
|
||||
#: src/routes/builder/$resumeId/-sidebar/right/sections/export.tsx
|
||||
msgid "Download a copy of your resume as a Word document. Use this file to further customize your resume in Microsoft Word or Google Docs."
|
||||
msgstr "یک نسخه از رزومهٔ خود را به صورت یک سند ورد دانلود کنید. از این فایل برای سفارشیسازی بیشتر رزومهٔ خود در مایکروسافت ورد یا گوگل داکس استفاده کنید."
|
||||
|
||||
#: src/routes/builder/$resumeId/-sidebar/right/sections/export.tsx
|
||||
msgid "Download a copy of your resume in JSON format. Use this file for backup or to import your resume into other applications, including AI assistants."
|
||||
msgstr "یک کپی از رزومه خود را در قالب JSON دانلود کنید. از این فایل برای پشتیبانگیری یا وارد کردن رزومه خود به برنامههای دیگر، از جمله دستیارهای هوش مصنوعی استفاده کنید."
|
||||
|
||||
#: src/routes/builder/$resumeId/-sidebar/right/sections/export.tsx
|
||||
msgid "Download a copy of your resume in PDF format. Use this file for printing or to easily share your resume with recruiters."
|
||||
msgstr "یک کپی از رزومه خود را در قالب PDF دانلود کنید. از این فایل برای چاپ یا اشتراکگذاری آسان رزومه با استخدامکنندگان استفاده کنید."
|
||||
|
||||
#. Primary action in the builder header to open resume download options
|
||||
#: src/routes/builder/$resumeId/-components/header.tsx
|
||||
msgid "Download DOCX"
|
||||
msgstr "دانلود DOCX"
|
||||
msgid "Download options"
|
||||
msgstr ""
|
||||
|
||||
#: src/routes/builder/$resumeId/-components/header.tsx
|
||||
msgid "Download JSON"
|
||||
msgstr "دانلود JSON"
|
||||
|
||||
#. Primary action in the builder header to download the resume as a PDF
|
||||
#: src/features/resume/public/public-resume.tsx
|
||||
#: src/routes/agent/$threadId.tsx
|
||||
#: src/routes/builder/$resumeId/-components/header.tsx
|
||||
msgid "Download PDF"
|
||||
msgstr "دانلود PDF"
|
||||
|
||||
@@ -1258,6 +1257,10 @@ msgstr "جزئیات را ویرایش کنید"
|
||||
msgid "Edit keyword"
|
||||
msgstr "ویرایش کلمهٔ کلیدی"
|
||||
|
||||
#: src/features/resume/export/download-dialog.tsx
|
||||
msgid "Editable in Word, Google Docs, and Pages."
|
||||
msgstr ""
|
||||
|
||||
#: src/routes/builder/$resumeId/-sidebar/left/index.tsx
|
||||
msgid "Editing is disabled until you unlock it."
|
||||
msgstr "ویرایش تا زمانی که قفل آن را باز نکنید، غیرفعال است."
|
||||
@@ -1397,6 +1400,10 @@ msgstr "خروجی گرفتن"
|
||||
msgid "Export my data"
|
||||
msgstr "دادههای من را صادر کنید"
|
||||
|
||||
#: src/features/resume/export/download-dialog.tsx
|
||||
msgid "Export your resume or cover letter in the format you need."
|
||||
msgstr ""
|
||||
|
||||
#: src/routes/_home/-sections/features.tsx
|
||||
msgid "Export your resume to PDF instantly, without any waiting or delays."
|
||||
msgstr "رزومه خود را فوراً و بدون هیچ گونه انتظار یا تأخیری به PDF صادر کنید."
|
||||
@@ -1653,6 +1660,10 @@ msgstr "فرم آزاد"
|
||||
msgid "French"
|
||||
msgstr "فرانسوی"
|
||||
|
||||
#: src/features/resume/export/download-dialog.tsx
|
||||
msgid "Full resume data for backup or import."
|
||||
msgstr ""
|
||||
|
||||
#. Layout editor toggle label that makes a page single-column
|
||||
#: src/routes/builder/$resumeId/-sidebar/right/sections/layout/pages.tsx
|
||||
msgid "Full Width"
|
||||
@@ -2285,10 +2296,6 @@ msgstr "رزومه کاری موجود نیست"
|
||||
msgid "Model"
|
||||
msgstr "مدل"
|
||||
|
||||
#: src/routes/builder/$resumeId/-components/header.tsx
|
||||
msgid "More download options"
|
||||
msgstr "گزینههای بیشتر برای دانلود"
|
||||
|
||||
#: src/routes/builder/$resumeId/-sidebar/right/sections/layout/pages.tsx
|
||||
msgid "Move section to another column or page"
|
||||
msgstr "انتقال بخش به ستون یا صفحه دیگر"
|
||||
@@ -2636,6 +2643,10 @@ msgstr "یک آیکون انتخاب کنید"
|
||||
msgid "Picture"
|
||||
msgstr "تصویر"
|
||||
|
||||
#: src/features/resume/export/download-dialog.tsx
|
||||
msgid "Plain text, ideal for AI tools and quick edits."
|
||||
msgstr ""
|
||||
|
||||
#: src/features/auth/pages/reset-password.tsx
|
||||
msgid "Please enter a new password for your account"
|
||||
msgstr "لطفاً یک گذرواژهٔ جدید برای حساب خود وارد کنید"
|
||||
@@ -2718,10 +2729,6 @@ msgstr "پیشنمایش"
|
||||
msgid "Primary Color"
|
||||
msgstr "رنگ اصلی"
|
||||
|
||||
#: src/routes/builder/$resumeId/-components/header.tsx
|
||||
msgid "Print"
|
||||
msgstr "چاپ"
|
||||
|
||||
#: src/dialogs/resume/sections/skill.tsx
|
||||
msgid "Proficiency"
|
||||
msgstr "مهارت"
|
||||
@@ -2938,6 +2945,7 @@ msgstr "بازگرداندن از سرگیری به قبل از این وصله
|
||||
msgid "Restore this version?"
|
||||
msgstr "این نسخه را بازیابی کنید؟"
|
||||
|
||||
#: src/features/resume/export/download-dialog.tsx
|
||||
#: src/routes/agent/$threadId.tsx
|
||||
msgid "Resume"
|
||||
msgstr "رزومه"
|
||||
@@ -4308,4 +4316,3 @@ msgstr "کوچکنمایی"
|
||||
#: src/libs/locale.ts
|
||||
msgid "Zulu"
|
||||
msgstr "زولو"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user