From 35e4bba859a73764d573374552820768bda3ea03 Mon Sep 17 00:00:00 2001 From: Jeppe B <2jepp9350@gmail.com> Date: Mon, 10 Aug 2026 03:32:48 +0200 Subject: [PATCH] autoheal(i18n): expose invoicing_period.review_workspace.errors aliases (#276) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- src/i18n/generated/global-v2.json | 4 ++++ .../global/shared/invoicing_period/review_workspace.json | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/src/i18n/generated/global-v2.json b/src/i18n/generated/global-v2.json index 3dddd8e2..5221818c 100644 --- a/src/i18n/generated/global-v2.json +++ b/src/i18n/generated/global-v2.json @@ -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'}", diff --git a/src/i18n/source/global/shared/invoicing_period/review_workspace.json b/src/i18n/source/global/shared/invoicing_period/review_workspace.json index 83710ffb..df415038 100644 --- a/src/i18n/source/global/shared/invoicing_period/review_workspace.json +++ b/src/i18n/source/global/shared/invoicing_period/review_workspace.json @@ -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'}",