feat: i18n — EN/MS/ZH translations with cookie-based locale switching, report form translated
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FFDuBhMKvoWjrWT3ZnGmmr
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
// Stub — full implementation in Task 5 (IndexedDB offline queue)
|
||||
// This file exists so TypeScript can resolve the dynamic import in report-form.tsx.
|
||||
|
||||
export interface PendingReport {
|
||||
zone_token: string
|
||||
incident_type: string
|
||||
description: string
|
||||
injury_involved: boolean
|
||||
asset_involved: boolean
|
||||
medical_status?: string
|
||||
created_at: string
|
||||
}
|
||||
|
||||
export async function addPendingReport(_report: PendingReport): Promise<void> {
|
||||
throw new Error('IndexedDB offline store not yet implemented — Task 5 will replace this stub')
|
||||
}
|
||||
Reference in New Issue
Block a user