From 8c0707f34cbf93092fda64fba10f5508ac8c107e Mon Sep 17 00:00:00 2001 From: Maurice Date: Fri, 23 Oct 2026 20:58:15 +0200 Subject: [PATCH] fix(i18n): the sticker entry of the dynamic key list goes at its end --- 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 149562e33..2945e3f74 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/stickerLibrary.ts', - template: 'journey.studio.sticker.${id}', - because: - '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/Trips/TripShareDialog.tsx', template: '${opt.label}Hint', @@ -151,6 +144,13 @@ export const DYNAMIC_ALLOWED = [ 'memories.* key in en', })) ), + { + file: 'components/Studio/stickerLibrary.ts', + template: 'journey.studio.sticker.${id}', + because: + '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', + }, ]; const KEY_RE = /^[a-z][a-zA-Z0-9_]*(?:\.[a-zA-Z0-9_:-]+)+$/;