Files
cv/src/i18n/locales/en/ui/edit.json
T
dong.nguyen 150ef90c73 fix(edit): balance id unions when a record is deleted
Deleting a record in edit mode removed the structure row and its text but left the id union member in src/types/index.ts, so Record<SkillGroupId, SkillGroupText> rejected the shortened text document (TS2741) and pnpm build failed. draft.ts: readUnionBlock reads a union as its declaration span (CRLF/LF safe, never round-trips), diffIdsWithUnions reports missing and stale members against committedStructures(), applyUnionChanges rewrites only that member list in one PUT; newIdsInCommitted/patchUnionSource removed. types/index.ts drops logistics-technology. Verified: smoke-draft 12/12 (new checks 9-12), validate:content, lint (no new warnings), build.
2026-10-24 10:08:58 +07:00

106 lines
3.4 KiB
JSON

{
"editField": "Edit this field",
"copyPath": "Copy JSON path",
"pathCopied": "Copied",
"emptyRequired": "Required fields cannot be empty",
"settings": "Record settings",
"closeSettings": "Close settings",
"moveUp": "Move up",
"moveDown": "Move down",
"remove": "Remove",
"removeConfirm": "Remove this item?",
"newTag": "new",
"emphasis": "Emphasis",
"featured": "Featured on the home page",
"sections": "Sections",
"sectionType": "Section type",
"sectionTypes": {
"text": "prose",
"diagram": "diagram",
"metrics": "metrics",
"code": "code"
},
"conflictFields": "Show conflicting fields",
"yours": "mine:",
"theirs": "theirs:",
"keepMine": "Keep mine",
"keepTheirs": "Keep theirs",
"variant": "Timeline variant",
"variantNone": "normal",
"variantCurrent": "current role",
"variantGap": "career break",
"addTaglineSegment": "Add tagline segment",
"addKeyword": "Add keyword",
"addInterest": "Add interest",
"addSkill": "Add skill",
"addTechnology": "Add technology",
"addMetric": "Add metric",
"addResponsibility": "Add responsibility",
"addQuoteDetail": "Add quote paragraph",
"addQuote": "Add quote",
"addProject": "Add project",
"addSection": "Add section",
"addExperience": "Add experience",
"addSkillGroup": "Add skill group",
"addPhilosophy": "Add philosophy point",
"title": "Edit mode",
"changes": "Unsaved changes",
"noChanges": "No unsaved changes",
"save": "Save",
"saving": "Saving…",
"resume": "Resume save",
"exit": "Exit",
"exitConfirm": "Discard unsaved changes?",
"changesTitle": "Changes",
"discardDoc": "Discard document",
"revert": "Revert",
"conflicts": "Conflicts",
"conflictDetail": "changed externally after this draft was taken",
"rebase": "Rebase",
"takeTheirs": "Take theirs",
"written": "written",
"conflictStatus": "conflict",
"failed": "failed",
"deployQueued": "deploy queued — the change goes live after the pipeline finishes",
"branchLabel": "target branch",
"mergeHint": "written to the branch — merge into master to deploy",
"offline": "offline — showing bundled content, save disabled",
"draftRestored": "draft restored from this session",
"unionNote": "id unions in src/types/index.ts updated to match the saved content",
"unionFailed": "could not update src/types/index.ts — finish that edit in Gitea",
"appearsHome": "home",
"appearsResume": "resume PDF",
"appearsOn": "appears on",
"fields": {
"title": "title",
"summary": "summary",
"bio": "bio",
"subtitle": "about subtitle",
"tldr": "career TL;DR",
"tagline": "tagline segment",
"groupTitle": "skill group title",
"expTitle": "role title",
"responsibility": "responsibility",
"sectionTitle": "section title",
"sectionContent": "section content",
"pointTitle": "philosophy title",
"pointDescription": "philosophy description",
"quoteTitle": "quote title",
"quoteDetail": "quote paragraph",
"company": "company",
"duration": "duration",
"projectRole": "project role",
"interests": "interest",
"skill": "skill",
"technology": "technology",
"metric": "metric",
"pointKeywords": "philosophy keyword",
"location": "location",
"logo": "logo",
"email": "email address",
"githubHandle": "GitHub handle",
"linkedinHandle": "LinkedIn handle",
"telegramHandle": "Telegram handle"
}
}