fix: literal "{count}" shown in My Recipes search result count

t("resultPlural"/"resultSingular") never got the count param the
strings' own {count} placeholder needs, while the JSX separately
prepended a raw count value next to it — visible in every locale,
worse in French where "recette"/"recettes" made the duplication
obvious. Pass count into t() and drop the redundant prefix.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
Arnaud
2026-07-14 09:25:28 +02:00
parent c16342a9b9
commit 38516bff63
5 changed files with 16 additions and 4 deletions
+5
View File
@@ -2,6 +2,11 @@
All notable changes to Epicure are documented here. This file is mirrored in-app at `/changelog` (and in the admin dashboard) via `apps/web/lib/changelog.ts` — update both together.
## 0.24.1 — 2026-07-14 09:24
### Fixed
- My Recipes search result count showed a literal "{count}" instead of the number, in every locale.
## 0.24.0 — 2026-07-14 08:08
### Added