Commit 2f760d9
fix(locale): use count-neutral wording for the experiment days-left message
Address review comments on PR #2778:
- "{{ .Field_1 }} days left" rendered "`1` days left" for an experiment
with exactly one day remaining. Reword it as "Days left: {{ .Field_1 }}"
so the English notification is grammatical for singular, plural, zero
and negative values, and update the test expectation accordingly.
The Japanese message is already count-neutral and stays unchanged.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>1 parent 96783e4 commit 2f760d9
2 files changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
157 | 157 | | |
158 | 158 | | |
159 | 159 | | |
160 | | - | |
| 160 | + | |
161 | 161 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
202 | 202 | | |
203 | 203 | | |
204 | 204 | | |
205 | | - | |
| 205 | + | |
206 | 206 | | |
207 | 207 | | |
208 | 208 | | |
| |||
0 commit comments