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
+8 -1
View File
@@ -1,5 +1,5 @@
// Mirrors CHANGELOG.md at the repo root — update both together.
export const APP_VERSION = "0.24.0";
export const APP_VERSION = "0.24.1";
export type ChangelogEntry = {
version: string;
@@ -11,6 +11,13 @@ export type ChangelogEntry = {
};
export const CHANGELOG: ChangelogEntry[] = [
{
version: "0.24.1",
date: "2026-07-14 09:24",
fixed: [
"My Recipes search result count showed a literal \"{count}\" instead of the number, in every locale.",
],
},
{
version: "0.24.0",
date: "2026-07-14 08:08",