Commit Graph
2 Commits
Author SHA1 Message Date
openclaw bugfix 3873849de1 fix(ci): regenerate i18n v2 runtime files for last_wash/never_washed (TRU-78)
The i18n:v2:source-check step in the Quality-i18n CI job was failing
because the new pos.last_wash and pos.never_washed leaves added in
f22ca71 were not yet reflected in the generated runtime bundles.

Running 'npm run i18n:v2:compile' regenerates global-v2.json and the
five locale bundles (da, de, en, no, sv) to expose the new keys.
No source phrases changed in this commit.
2026-08-17 14:29:35 +00:00
openclaw bugfix f22ca71558 feat(pos): show 'last washed' timestamp on license plate scan (TRU-78)
When the operator expands a row in the recent license plate scans panel
on the POS landing page, the inline details now include a 'Last wash'
field with the timestamp of the most recent wash for that plate (as
returned by the enriched /numberplatescans endpoint). The label falls
back to the existing 'recent_washes' / global.last_wash translation.

If the API reports last_wash = null, an inline 'Never washed' / 'Aldrig
vasket' note is shown instead (TRU-78 / DRIFT 17 — DHL trailer pick-up
use case: see at a glance whether the trailer needs another wash).

- New pos/never_washed i18n leaf in all 5 locales.
- 3 new vitest cases in pos-last-scanned-license-plates.spec.js:
  - renders the last washed timestamp when present
  - shows 'never washed' when the API returns null
  - falls back to 'never washed' when the field is missing entirely
2026-08-17 14:20:12 +00:00