• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

i18next / react-i18next / 40067777007
97%

Build:
DEFAULT BRANCH: master
Ran 24 Oct 2026 05:50AM UTC
Jobs 1
Files 21
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

24 Oct 2026 05:49AM UTC coverage: 96.304% (+0.004%) from 96.3%
40067777007

push

github

web-flow
fix(Trans): use the count passed in tOptions (#1942)

Trans builds the options for t() by spreading tOptions and then setting
its own count prop, so a count passed only in tOptions was overwritten
with undefined and t() never saw it. <Trans i18nKey="items"
tOptions={{ count: 5 }} /> rendered the raw key "items" where
t('items', { count: 5 }) returns "5 items", and with children Trans
picked the singular form.

Like context (#1745), Trans now falls back to tOptions.count, so it is
handled the same way as the count prop. A count prop, a count in the
children or values.count still take precedence.

Signed-off-by: nk-batman21 <viet_vip_kute@yahoo.com>

779 of 854 branches covered (91.22%)

1 of 1 new or added line in 1 file covered. (100.0%)

912 of 947 relevant lines covered (96.3%)

82.24 hits per line

Jobs
ID Job ID Ran Files Coverage
1 40067777007.1 24 Oct 2026 05:50AM UTC 21
96.3
GitHub Action Run
Source Files on build 40067777007
  • Tree
  • List 21
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #40067777007
  • 69f9bc32 on github
  • Prev Build on master (#39999581865)
  • Next Build on master (#40067895743)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc