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

spesmilo / electrum / 5779889015488512
60%
master: 63%

Build:
Build:
LAST BUILD BRANCH: qml_manual_fee_feerate_edit
DEFAULT BRANCH: master
Ran 06 Jul 2025 12:55AM 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

06 Jul 2025 12:22AM UTC coverage: 59.861% (+0.02%) from 59.838%
5779889015488512

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 21 new or added lines in 1 file covered. (95.24%)

8 existing lines in 1 file now uncovered.

21979 of 36717 relevant lines covered (59.86%)

2.99 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
71.15
19.54% electrum/i18n.py

Uncovered Existing Lines

Lines Coverage ∆ File
8
60.62
-0.58% electrum/util.py
Jobs
ID Job ID Ran Files Coverage
1 5779889015488512.1 06 Jul 2025 12:55AM UTC 87
59.83
2 5779889015488512.2 06 Jul 2025 12:55AM UTC 87
59.82
3 5779889015488512.3 06 Jul 2025 12:56AM UTC 87
59.82
4 5779889015488512.4 06 Jul 2025 12:59AM UTC 87
59.82
5 5779889015488512.5 06 Jul 2025 01:17AM UTC 87
59.83
Source Files on build 5779889015488512
  • Tree
  • List 87
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Build #57798890...
  • Pull Request #10011
  • PR Base - master (#64974360...)
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