autoheal(i18n): expose invoicing_period.review_workspace.errors aliases (#276)

Fixes master CI failure: View i18n key coverage test missing keys
`invoicing_period.review_workspace.errors.fakturer_nu_failed_{title,body}`
(introduced by PR #273).

- SHA: 50535db
- Failing check: Full E2E summary,
E2E-full-Chromium-desktop-customer-shard-1-of-1 (View i18n key coverage)
- Run: 31336390608
- Root cause: PR #273 added two new keys to the Fakturer nu error toast
but did not add the corresponding shared `@:` aliases in
`src/i18n/source/global/shared/invoicing_period/review_workspace.json`.
The five locale files already ship the actual strings under
`templates.generated.compat.invoicing_period.review_workspace.errors.*`;
the merged v2 catalog only resolves the
`invoicing_period.review_workspace.X` path through that shared aliases
block.

Fix: add the missing `errors` block (4 lines) to the shared source file
and regenerate `src/i18n/generated/global-v2.json` via
`scripts/i18n-v2-compile-source.mjs`. 2 files changed, 8 insertions(+).

Local verification: `playwright test tests/e2e/i18n.views.spec.ts
i18n-v2-integrity.spec.ts i18n.smoke.spec.ts --project=chromium-desktop`
→ 14/14 passed.

Filed by master-autoheal-agent cron.

Co-authored-by: master-autoheal-agent <master-autoheal-agent@truckwash.io>
This commit is contained in:
Jeppe B
2026-08-10 03:32:48 +02:00
committed by GitHub
co-authored by master-autoheal-agent
parent 50535dbed0
commit 35e4bba859
2 changed files with 8 additions and 0 deletions
+4
View File
@@ -3804,6 +3804,10 @@
"previous": "@:{'templates.generated.compat.invoicing_period.review_workspace.detail.previous'}",
"selected_customer": "@:{'templates.generated.compat.invoicing_period.review_workspace.detail.selected_customer'}"
},
"errors": {
"fakturer_nu_failed_title": "@:{'templates.generated.compat.invoicing_period.review_workspace.errors.fakturer_nu_failed_title'}",
"fakturer_nu_failed_body": "@:{'templates.generated.compat.invoicing_period.review_workspace.errors.fakturer_nu_failed_body'}"
},
"headline": {
"aria_label": "@:{'templates.generated.compat.invoicing_period.review_workspace.headline.aria_label'}",
"booked": "@:{'templates.generated.compat.invoicing_period.review_workspace.headline.booked'}",
@@ -8,6 +8,10 @@
"previous": "@:{'phrases.compat.invoicing_period.review_workspace.detail.previous'}",
"selected_customer": "@:{'phrases.compat.invoicing_period.review_workspace.detail.selected_customer'}"
},
"errors": {
"fakturer_nu_failed_title": "@:{'phrases.compat.invoicing_period.review_workspace.errors.fakturer_nu_failed_title'}",
"fakturer_nu_failed_body": "@:{'phrases.compat.invoicing_period.review_workspace.errors.fakturer_nu_failed_body'}"
},
"headline": {
"aria_label": "@:{'phrases.compat.invoicing_period.review_workspace.headline.aria_label'}",
"booked": "@:{'phrases.compat.invoicing_period.review_workspace.headline.booked'}",