fix(renderer): localize the mise en place tooltip wording (audit B3) #60

Merged
abiwab merged 3 commits from fix/audit-b3 into main 2026-09-30 17:47:09 +02:00
Owner

Audit B3, three defects of the mise en place tooltips (all already in 1.3.0's preparation card):

  • a preparation's duration appeared twice on the preparation card (Preparation : onions (+ 2m) and the column + 2m): describeMiseEnPlaceItem takes a showDuration option, off for the card, on for the Gantt block and section label tooltips which have no column
  • × 1min was hard-coded: it now uses the caller's formatDuration
  • the French : separator was used in English: new renderer.colon i18n key (: en, : fr)

The only snapshot change is 1min -> 1m and : -> : (diff read). New tests fail on the previous code. ci and conformance pass. Changeset of the renderer extended (no new file).

Audit B3, three defects of the mise en place tooltips (all already in 1.3.0's preparation card): - a preparation's duration appeared twice on the preparation card (`Preparation : onions (+ 2m)` and the column `+ 2m`): `describeMiseEnPlaceItem` takes a `showDuration` option, off for the card, on for the Gantt block and section label tooltips which have no column - `× 1min` was hard-coded: it now uses the caller's `formatDuration` - the French ` : ` separator was used in English: new `renderer.colon` i18n key (`: ` en, ` : ` fr) The only snapshot change is `1min` -> `1m` and ` :` -> `:` (diff read). New tests fail on the previous code. ci and conformance pass. Changeset of the renderer extended (no new file).
Merge branch 'main' into fix/audit-b3
All checks were successful
CI / Build, Test & Publish (pull_request) Successful in 2m49s
dd43cf53f7
abiwab scheduled this pull request to auto merge when all checks succeed 2026-09-30 17:44:26 +02:00
abiwab merged commit a6513889f3 into main 2026-09-30 17:47:09 +02:00
abiwab deleted branch fix/audit-b3 2026-09-30 17:47:09 +02:00
Sign in to join this conversation.
No description provided.