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

spesmilo / electrum / 6407887053914112
60%
master: 63%

Build:
Build:
LAST BUILD BRANCH: qml_manual_fee_feerate_edit
DEFAULT BRANCH: master
Ran 05 Jul 2025 11:56PM UTC
Jobs 5
Files 87
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

05 Jul 2025 11:49PM UTC coverage: 59.861% (+0.02%) from 59.84%
6407887053914112

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

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

7 existing lines in 1 file now uncovered.

21979 of 36717 relevant lines covered (59.86%)

2.99 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
7
71.15
19.54% electrum/i18n.py
Jobs
ID Job ID Ran Files Coverage
1 6407887053914112.1 05 Jul 2025 11:56PM UTC 87
59.83
2 6407887053914112.2 05 Jul 2025 11:56PM UTC 87
59.82
3 6407887053914112.3 05 Jul 2025 11:56PM UTC 87
59.81
4 6407887053914112.4 05 Jul 2025 11:56PM UTC 87
59.84
5 6407887053914112.5 06 Jul 2025 12:19AM UTC 87
59.8
Source Files on build 6407887053914112
  • Tree
  • List 87
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Build #64078870...
  • Pull Request #10011
  • PR Base - master (#49456739...)
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