feat: enhance accessibility and testing with data-test attributes and improve error handling
This commit is contained in:
81
apps/web/i18n/messages/en/documents.json
Normal file
81
apps/web/i18n/messages/en/documents.json
Normal file
@@ -0,0 +1,81 @@
|
||||
{
|
||||
"nav": {
|
||||
"documents": "Documents",
|
||||
"generate": "Generate",
|
||||
"templates": "Templates"
|
||||
},
|
||||
"overview": {
|
||||
"title": "Documents",
|
||||
"subtitle": "Generate documents and manage templates",
|
||||
"generate": "Generate",
|
||||
"manageTemplates": "Manage Templates"
|
||||
},
|
||||
"types": {
|
||||
"member_card": "Member Card",
|
||||
"invoice": "Invoice",
|
||||
"label": "Labels",
|
||||
"report": "Report",
|
||||
"letter": "Letter",
|
||||
"certificate": "Certificate"
|
||||
},
|
||||
"typeDescriptions": {
|
||||
"member_card": "Generate member cards with photo and QR code",
|
||||
"invoice": "Professional invoices for members and services",
|
||||
"label": "Address labels for mailings and shipping",
|
||||
"report": "Statistical reports and summaries",
|
||||
"letter": "Form letters and individual correspondence",
|
||||
"certificate": "Participation certificates and awards"
|
||||
},
|
||||
"generate": {
|
||||
"title": "Generate Document",
|
||||
"documentType": "Document Type",
|
||||
"titleLabel": "Title / Label",
|
||||
"format": "Format",
|
||||
"orientation": "Orientation",
|
||||
"portrait": "Portrait",
|
||||
"landscape": "Landscape",
|
||||
"comingSoon": "Coming Soon",
|
||||
"generating": "Generating...",
|
||||
"generateButton": "Generate",
|
||||
"success": "Document created successfully!",
|
||||
"downloaded": "File downloaded",
|
||||
"downloadAgain": "Download Again",
|
||||
"error": "Error generating document",
|
||||
"backToDocuments": "Back to Documents",
|
||||
"cancel": "Cancel",
|
||||
"hint": "Note",
|
||||
"memberCardHint": "Member cards will be generated for all active members.",
|
||||
"labelHint": "Address labels will be generated for all active members.",
|
||||
"reportHint": "A member report with current data will be generated."
|
||||
},
|
||||
"templates": {
|
||||
"title": "Document Templates",
|
||||
"subtitle": "Templates for member cards, invoices, labels, and more",
|
||||
"newTemplate": "New Template",
|
||||
"noTemplates": "No templates found",
|
||||
"createFirst": "Create your first document template.",
|
||||
"allTemplates": "All Templates ({count})",
|
||||
"name": "Name",
|
||||
"type": "Type",
|
||||
"description": "Description"
|
||||
},
|
||||
"card": {
|
||||
"title": "MEMBER CARD",
|
||||
"memberSince": "Member since",
|
||||
"dateOfBirth": "Date of Birth",
|
||||
"address": "Address",
|
||||
"validUntil": "Valid until",
|
||||
"issuedOn": "Issued on"
|
||||
},
|
||||
"report": {
|
||||
"title": "Member Report",
|
||||
"total": "Total:"
|
||||
},
|
||||
"errors": {
|
||||
"accountNotFound": "Account not found",
|
||||
"unknownType": "Unknown document type",
|
||||
"underDevelopment": "is still under development",
|
||||
"dbError": "Database error",
|
||||
"noActiveMembers": "No active members"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user