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

spesmilo / electrum / 5754347113414656 / 4
60%
master: 63%

Build:
Build:
LAST BUILD BRANCH: fix_deadlock
DEFAULT BRANCH: master
Ran 07 Jul 2025 02:01PM UTC
Files 87
Run time 3s
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

07 Jul 2025 01:54PM UTC coverage: 59.83% (+0.02%) from 59.809%
5754347113414656.4

Pull #10011

CirrusCI

SomberNight
i18n: syntax-check translations at runtime

We often call str.format() on translated strings.
E.g. `_("time left: {} seconds").format(t1)`
If the translated string has a different format syntax, this can raise at runtime.

This PR adds some runtime checks that try to ensure the source string and the translated string
have a similar format syntax. If the checks fail, `_()` will "reject" the translation by
returning the source string.

fixes https://github.com/spesmilo/electrum/issues/10010
ref https://github.com/spesmilo/electrum/issues/10007#issue-3203378250
Pull Request #10011: i18n: syntax-check translations at runtime

21966 of 36714 relevant lines covered (59.83%)

0.6 hits per line

Source Files on job 5754347113414656.4
  • Tree
  • List 87
  • Changed 7
  • Source Changed 0
  • Coverage Changed 7
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 5754347113414656
  • d16c6250 on github
  • Prev Job for on 202507_syntax_check_i18n_format_strings (#5020189395255296.4)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc