From 0344db6d0cdb9a5ab57ac32db589d58b10a59854 Mon Sep 17 00:00:00 2001 From: Maurice Date: Tue, 20 Oct 2026 09:49:27 +0200 Subject: [PATCH] test(shared): count the tour keys without the four hint lines taken out The stay-unknown pill, the along-the-tour intro, its undo hint and the own theme line left the tours domain in the previous commit. --- shared/src/i18n/tours-locales.spec.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shared/src/i18n/tours-locales.spec.ts b/shared/src/i18n/tours-locales.spec.ts index 7185ec951..bec5381d3 100644 --- a/shared/src/i18n/tours-locales.spec.ts +++ b/shared/src/i18n/tours-locales.spec.ts @@ -20,7 +20,7 @@ const tokens = (value: string) => [...value.matchAll(/\{[^{}]+\}/g)].map((match) // placeholder spec; here only the general keys are. const groups = pluralGroups(Object.keys(english)); const generalKeys = (keys: string[]) => keys.filter((key) => !pluralFormOf(key, groups)); -const GENERAL_KEY_COUNT = 827; +const GENERAL_KEY_COUNT = 823; function literalKeys(source: string): string[] { const tree = ts.createSourceFile('locale.ts', source, ts.ScriptTarget.Latest, true);