Files
MobilityOps/frontend/src/i18n/locales/nl-BE/fleet.json
T
NuklearRabbitandClaude Sonnet 5 6deb95524d fix: safe status-recommendation flow, MO-016 order independence, brand constant, message codes
- Add a single shared, pure vehicle-status evaluator (app/services/vehicle_status.py)
  used identically by the data-quality scanner, a new non-mutating status-recommendation
  preview endpoint, and a transactional apply endpoint with optimistic-concurrency token
  revalidation -- eliminates the old opaque "calculate and apply" action and the unsafe
  "maintenance + active booking -> auto rented" shortcut. Frontend
  DataQualityIssueDetail.tsx now shows a review/decide/confirm panel with localized
  why/evidence/consequence text in nl-BE/en-GB/fr-BE, with an exact "Change status to
  <status>" confirm action per the brief.
- Fix MO-016 issue-order dependency: resolving the booking-overlap issue before vs.
  after the status-conflict issue now converges on the same final vehicle status,
  proven by test_mo_016_status_conflict_recommendation_is_order_independent.
- Make "Fleet Ops" a non-localizable brand constant (frontend/src/product.ts,
  backend PRODUCT_NAME) via {{productName}} interpolation everywhere the brand name
  appeared in locale prose; add a permanent test guarding against a translation file
  ever defining the brand name or an "appName" key again.
- Convert dynamic backend prose to stable message codes + params: return status
  reasons, audit field/actor-type labels, automation last_error, and search
  section/vehicle/booking/issue results all now carry codes the frontend localizes,
  with raw technical text demoted to a "Technical details" disclosure.
- docs/fleet-ops-correction/: gap audit, i18n inventory, and the vehicle-status
  decision table documenting the evaluator's rules and safe-status principles.

148 backend tests + Ruff + mypy green; Alembic migration verified upgrade/downgrade;
frontend tsc/build and the i18n-coverage Playwright suite green.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-08-03 21:37:34 +02:00

77 lines
2.4 KiB
JSON

{
"list": {
"eyebrow": "Wagenpark / Register",
"title": "Wagenpark",
"description": "Live operationele status, locatie en onderhoudsgereedheid.",
"searchLabel": "Zoeken",
"searchPlaceholder": "Referentie, merk of locatie",
"statusLabel": "Status",
"statusAll": "Alle statussen",
"attentionOnly": "Enkel aandachtspunten",
"loading": "Wagenparkregister laden…",
"empty": "Geen voertuigen gevonden",
"emptyDetail": "Pas de huidige wagenparkfilters aan.",
"noMatch": "Geen overeenkomende voertuigen",
"noMatchDetail": "Probeer een bredere zoekterm.",
"unavailable": "Wagenparklijst is momenteel niet beschikbaar.",
"count": "{{count}} voertuigen",
"persisted": "Persistente wagenparkgegevens",
"columns": {
"reference": "Referentie",
"makeModel": "Merk / model",
"location": "Locatie",
"status": "Status",
"odometer": "Kilometerstand (km)",
"attention": "Aandacht"
},
"needsAttention": "Vraagt aandacht"
},
"statuses": {
"available": "beschikbaar",
"rented": "verhuurd",
"cleaning": "reiniging",
"maintenance": "onderhoud",
"blocked": "geblokkeerd"
},
"detail": {
"backLink": "Wagenparkregister",
"eyebrow": "Wagenpark / Voertuigrecord",
"notFound": "Dit voertuig kon niet gevonden worden.",
"loading": "Voertuigrecord laden…",
"needsAttention": "Vraagt aandacht",
"tabs": {
"overview": "Overzicht",
"bookings": "Boekingen",
"inspections": "Inspecties",
"maintenance": "Onderhoud",
"quality": "Kwaliteit"
},
"tabsAriaLabel": "Voertuigonderdelen",
"overview": {
"registration": "Kenteken",
"modelYear": "Bouwjaar",
"location": "Locatie",
"odometer": "Kilometerstand",
"nextService": "Volgende onderhoudsbeurt",
"active": "Actief"
},
"yes": "Ja",
"no": "Nee",
"noBookings": "Geen boekingen geregistreerd.",
"noInspections": "Geen inspecties geregistreerd.",
"noMaintenance": "Geen onderhoudsgegevens.",
"noQualityIssues": "Geen kwaliteitsproblemen geregistreerd.",
"fuel": "Brandstof {{percent}}%",
"damage": "Schade",
"technicalWarning": "Technische melding",
"inspectionTypes": {
"departure": "Vertrekinspectie",
"return": "Retourinspectie"
},
"maintenanceCategories": {
"periodic_service": "Periodiek onderhoud",
"repair": "Herstelling"
}
}
}