feat(persons): add formatLifeDateRange + formatDocumentStatus utility functions
Unit tests for both; i18n keys for doc status and person stats bar; PERSON_NOT_FOUND added to frontend ErrorCode type. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -320,5 +320,22 @@
|
||||
"dashboard_needs_metadata_show_all": "Show all",
|
||||
"dashboard_recent_heading": "Recent Activity",
|
||||
"dashboard_resume_label": "Last opened:",
|
||||
"dashboard_resume_fallback": "Unknown document"
|
||||
"dashboard_resume_fallback": "Unknown document",
|
||||
"doc_status_placeholder": "Placeholder",
|
||||
"doc_status_uploaded": "Uploaded",
|
||||
"doc_status_transcribed": "Transcribed",
|
||||
"doc_status_reviewed": "Reviewed",
|
||||
"doc_status_archived": "Archived",
|
||||
"doc_status_unknown": "Unknown",
|
||||
"persons_stats_persons_one": "1 person",
|
||||
"persons_stats_persons_many": "{count} persons",
|
||||
"persons_stats_documents_one": "1 document",
|
||||
"persons_stats_documents_many": "{count} documents",
|
||||
"error_person_not_found": "Person not found.",
|
||||
"person_btn_edit": "Edit",
|
||||
"person_discard_changes": "Discard changes",
|
||||
"person_danger_zone_heading": "Danger zone",
|
||||
"persons_new_birth_year": "Birth year",
|
||||
"persons_new_death_year": "Death year",
|
||||
"persons_new_notes": "Notes"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user