fix: preserve blank CVs and reliable editor undo

This commit is contained in:
cesnimda
2026-10-27 07:37:03 +01:00
parent 5d4b8f23ce
commit 663023a088
22 changed files with 950 additions and 101 deletions
+28 -4
View File
@@ -887,7 +887,7 @@ export const translations = {
cvEditorEditMasterProfile: "Open Career Profile",
cvEditorMasterProfileHelp: "Career Profile is your source. Editing wording, order or inclusion here changes only this CV.",
cvEditorHeadlineOverride: "Headline override",
cvEditorHeadlineHelp: "Blank uses your Career Profile headline. Changes here affect only this CV.",
cvEditorHeadlineHelp: "An empty field uses your Career Profile headline only when profile contact is included. Changes here affect only this CV.",
cvEditorSections: "Sections",
cvEditorSectionsHelp: "Drag to reorder, or use the arrows. Omitted content stays editable.",
cvEditorUsingSource: "Using Career Profile",
@@ -1109,7 +1109,19 @@ export const translations = {
cvDashboardOpen: "Open",
cvDashboardDelete: "Delete",
cvDashboardCreateTitle: "Create a CV",
cvDashboardCreateHelp: "Start with your saved career profile, choose a visual direction, then tailor what appears.",
cvDashboardCreateHelp: "Choose your content source and a template. Templates change presentation only.",
cvDashboardContentSource: "CV content source",
cvDashboardStartBlank: "Start blank",
cvDashboardFromProfile: "From Career Profile",
cvDashboardBlankHelp: "Start with no sections or inherited contact details. Add your own content in the editor.",
cvDashboardProfileSelectionHelp: "Select only the Career Profile sections and contact details you want to include. Nothing is selected automatically.",
cvDashboardProfileLoadFailed: "Could not load Career Profile sections. Try again or start blank.",
cvDashboardProfileEmpty: "Your Career Profile has no sections yet. You can add content in the editor.",
cvEditorUndoSessionHelp: "Undo and redo apply to this editing session. Saved versions remain available in History.",
cvEditorEmptyBody: "Your CV has no sections yet. Add a section to begin.",
cvEditorProfileContentHint: "Adding a Career Profile section includes its saved content. Custom sections start empty.",
cvEditorIncludeProfileContact: "Include Career Profile contact details",
cvEmptyContent: "Add content to your CV before exporting a PDF.",
cvDashboardEnterName: "Enter a name.",
cvDashboardNameExample: "For example: Backend Engineer — Acme",
cvDashboardChooseTemplate: "Choose a template",
@@ -3887,7 +3899,7 @@ export const translations = {
cvEditorEditMasterProfile: "Åpne Karriereprofil",
cvEditorMasterProfileHelp: "Karriereprofil er kilden din. Endringer i tekst, rekkefølge og synlighet her gjelder bare denne CV-en.",
cvEditorHeadlineOverride: "Egen overskrift",
cvEditorHeadlineHelp: "Tomt felt bruker overskriften fra Karriereprofil. Endringer her gjelder bare denne CV-en.",
cvEditorHeadlineHelp: "Et tomt felt bruker overskriften fra Karriereprofil bare når profilens kontaktinformasjon er inkludert. Endringer her gjelder bare denne CV-en.",
cvEditorSections: "Seksjoner",
cvEditorSectionsHelp: "Dra for å endre rekkefølgen, eller bruk pilene. Utelatt innhold kan fortsatt redigeres.",
cvEditorUsingSource: "Bruker Karriereprofil",
@@ -4109,7 +4121,19 @@ export const translations = {
cvDashboardOpen: "Åpne",
cvDashboardDelete: "Slett",
cvDashboardCreateTitle: "Opprett en CV",
cvDashboardCreateHelp: "Start med den lagrede karriereprofilen, velg en visuell retning og tilpass deretter hva som skal vises.",
cvDashboardCreateHelp: "Velg innholdskilde og mal. Maler endrer bare utformingen.",
cvDashboardContentSource: "Innholdskilde for CV",
cvDashboardStartBlank: "Start med en tom CV",
cvDashboardFromProfile: "Fra karriereprofilen",
cvDashboardBlankHelp: "Start uten seksjoner eller kontaktopplysninger fra profilen. Legg til eget innhold i redigeringsverktøyet.",
cvDashboardProfileSelectionHelp: "Velg seksjonene og kontaktopplysningene fra karriereprofilen som du vil ta med. Ingenting velges automatisk.",
cvDashboardProfileLoadFailed: "Kunne ikke laste seksjonene fra karriereprofilen. Prøv igjen eller start med en tom CV.",
cvDashboardProfileEmpty: "Karriereprofilen har ingen seksjoner ennå. Du kan legge til innhold i redigeringsverktøyet.",
cvEditorUndoSessionHelp: "Angre og gjør om gjelder denne redigeringsøkten. Lagrede versjoner er fortsatt tilgjengelige i historikken.",
cvEditorEmptyBody: "CV-en har ingen seksjoner ennå. Legg til en seksjon for å begynne.",
cvEditorProfileContentHint: "Når du legger til en seksjon fra karriereprofilen, tas det lagrede innholdet med. Egendefinerte seksjoner starter tomme.",
cvEditorIncludeProfileContact: "Ta med kontaktopplysninger fra karriereprofilen",
cvEmptyContent: "Legg til innhold i CV-en før du eksporterer en PDF.",
cvDashboardEnterName: "Skriv inn et navn.",
cvDashboardNameExample: "For eksempel: Backendutvikler — Acme",
cvDashboardChooseTemplate: "Velg en mal",