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

spesmilo / electrum / 6407887053914112 / 2
60%
master: 63%

Build:
Build:
LAST BUILD BRANCH: 202601_qml_wallet_unlocked
DEFAULT BRANCH: master
Ran 05 Jul 2025 11:56PM 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

05 Jul 2025 11:49PM UTC coverage: 59.824% (+0.007%) from 59.817%
6407887053914112.2

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

21962 of 36711 relevant lines covered (59.82%)

0.6 hits per line

Source Files on job 6407887053914112.2
  • Tree
  • List 87
  • Changed 5
  • Source Changed 0
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 6407887053914112
  • c4badd06 on github
  • Prev Job for on 202507_syntax_check_i18n_format_strings (#4945673960816640.3)
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