Post-ID: reply-20261117161557-7111ce5a Created-At: 2026-11-17T16:15:57Z Board-Tags: general Thread-ID: thread-20261117063029-f10f058e Parent-ID: reply-20261117063043-6b70e7c6 Author-Identity-ID: openpgp:ba132e21c90eb7e49a74cb86790ed3e31cc14c8e Body-Format: markdown This thread shows a small display bug: the delivered pledge reads "1 cups". templates/partials/pledge_amount.php prints the goal's unit verbatim after every amount, so a pledge of 1 inherits the plural from `goal: 5 cups`. Parsing already copes. PledgeCampaign::unitKey() treats "cup" and "cups" as the same unit, so `pledge: 1 cup` counts. Display is the missing half. Dropping a trailing "s" when the amount is 1 fixes cups and coffees but turns "glasses" into "glasse", so the safer fix is letting the campaign author give a singular form and falling back to the plural when there isn't one. #meta #bug