diff --git a/internal/check-selection-kinds.mjs b/internal/check-selection-kinds.mjs index 68365ae39..ee4ef0079 100644 --- a/internal/check-selection-kinds.mjs +++ b/internal/check-selection-kinds.mjs @@ -145,7 +145,10 @@ for (const fn of ['onLegendExport', 'makeSelectionPacket', 'makeSelectionPoster' 'the parsed variant is not passed to printPrayerPacket — the menu would offer two packets and print one') ok(/async function printPrayerPacket\([^)]*variant/.test(VUE), 'printPrayerPacket does not accept a variant') - ok(/printPacket\(zone,\s*\{[\s\S]{0,120}variant/.test(VUE), + // Any first argument: the call is asserted by SHAPE (the variant inside the options object), not by what + // the zone variable happens to be called. It read `zone` literally, and a rename to `titled` (the zone with + // its localized title) failed this while the variant was still forwarded. + ok(/printPacket\(\w+,\s*\{[\s\S]{0,120}variant/.test(VUE), 'printPrayerPacket does not forward the variant to printPacket — the choice would be parsed, held, and never used') // ⚠ AND THE STRINGS THE MENU RENDERS MUST EXIST. A missing key prints the raw key, which reads as // a broken translation rather than a missing string — and the explainer is the only place a