mirror of
https://github.com/wekan/wekan.git
synced 2026-11-24 20:45:00 -05:00
Since the date templates were merged (9c288c3d4d), the minicard received,
start, due, end and custom-field date badges passed their title as
showTitle="{{_ 'card-due'}}". Spacebars does not evaluate {{...}} inside an
inclusion argument, so the badge's title - its tooltip and accessible name -
read "{{_ 'card-due'}} week 41"; the #6750 browser spec's page snapshot
showed it. The badges now pass titleKey="card-due" and dateBadgeBody
translates it; the card-details badges keep their showTitle helpers.
tests/jadeInclusionArgsNoMustache.test.cjs fails on any +template(...)
argument string containing {{...}} in client/ or packages/, pins the five
badges, and recognises the broken form.
Thanks to xet7 !