From a8326b6f5aa1ffae7cda33fe7474b8cbf3efcea9 Mon Sep 17 00:00:00 2001 From: Maurice Date: Sat, 24 Oct 2026 10:37:11 +0200 Subject: [PATCH] chore(client): the shape name entry at the end of the dynamic key list, beside the sticker one --- client/scripts/i18n-keys.mjs | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/client/scripts/i18n-keys.mjs b/client/scripts/i18n-keys.mjs index 3fba97874..0f85ddd0f 100644 --- a/client/scripts/i18n-keys.mjs +++ b/client/scripts/i18n-keys.mjs @@ -91,13 +91,6 @@ export const MAX_IMPLICIT_MATCHES = 30; * entry nothing uses any more fails, so the list cannot rot. */ export const DYNAMIC_ALLOWED = [ - { - file: 'components/Studio/shapes.ts', - template: 'journey.studio.shapeName.${shape}', - because: - 'shapeName takes a BookShapeId; shared/src/book/book-shape-catalogue.spec.ts holds an en name for every ' + - 'shape of BOOK_SHAPE_GROUPS', - }, { file: 'components/Trips/TripShareDialog.tsx', template: '${opt.label}Hint', @@ -153,6 +146,13 @@ export const DYNAMIC_ALLOWED = [ 'id is a sticker id of the library in @trek/shared/stickers; stickerLibrary.test.ts resolves the key of every ' + 'sticker the library holds against en', }, + { + file: 'components/Studio/shapes.ts', + template: 'journey.studio.shapeName.${shape}', + because: + 'shapeName takes a BookShapeId; shared/src/book/book-shape-catalogue.spec.ts holds an en name for every ' + + 'shape of BOOK_SHAPE_GROUPS', + }, ]; const KEY_RE = /^[a-z][a-zA-Z0-9_]*(?:\.[a-zA-Z0-9_:-]+)+$/;