diff --git a/internal/check-optional-t-equivalence.mjs b/internal/check-optional-t-equivalence.mjs index 6edb2e5e1..97df870b6 100644 --- a/internal/check-optional-t-equivalence.mjs +++ b/internal/check-optional-t-equivalence.mjs @@ -114,7 +114,8 @@ ok(!/locales\/en\//.test(codeOnly(src)), 'CONTROL: and it imports NO per-area En import { readFileSync as rf, readdirSync } from 'node:fs' const SITES = [ // file, helper it must use, a fragment of the fallback it must still pass - ['library/components/legends/ApproxPinNote.vue', 'useOptionalT', 'APPROX_FALLBACK[key]'], + // On the {t, te, locale} form since formatList: the names list must follow its sentence's locale. + ['library/components/legends/ApproxPinNote.vue', 'useOptionalI18n', 'APPROX_FALLBACK[key]'], ['library/components/search/FilterDropdown.vue', 'useOptionalT', 'FALLBACK[key]'], ['library/components/legends/SemanticTreeLegend.vue', 'useOptionalI18n', 'humanizeKey(k)'], ['library/components/poster/PosterWall.vue', 'useOptionalI18n', 'humanizeKey(k)'],