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

agama-project / agama / 21139095269 / 3 – web
73%
master: 73%

Build:
DEFAULT BRANCH: master
Ran 19 Jan 2026 01:25PM UTC
Files 589
Run time 12s
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

19 Jan 2026 01:22PM UTC coverage: 66.442%. Remained the same
web – 21139095269.3

push

github

web-flow
translate strings originating in Rust code (#2949)

## Problem

We do not have a mechanism to translate strings originating in the Rust
code yet

-
https://trello.com/c/DSk54XYG/5303-research-localized-strings-in-rust-code

## Solution

- Translation works for strings originating in Rust code
  (tested on a "Pattern summary" string that was added and reverted)
- Translation of format strings works, via
  https://lib.rs/crates/i18n-format
- Added the appropriate CI Weblate jobs for `../agama-weblate`:
  to put the POT file there and get the PO files from there.
- A new Weblate component to be souced from
`agama-weblate/rust/agama.pot`, :warning: TODO: set it up on
https://l10n.opensuse.org/
- Introduced `agama_l10n::helpers::gettext_noop`,
  marks a string for translation but does not translate it
- `QuestionSpec` instantiation simplified with a new `with_action_ids`
fn


## Testing

Tested manually: with `/testing_using_container.sh` which exposes Agama
at `localhost:10443`, on an artificially added string that is
prominently visible in the Software page.

## Screenshots

This screenshot shows a successful translation of a Czech string (added
in 2ecb16334 and later reverted, because
it is actually useless). The useful strings occur mostly in error cases
and are hard to trigger.


![agama-cs-pattern-summary2u](https://github.com/user-attachments/assets/b913ddd2-28bd-4777-8363-c856687d82cc)

## Documentation

- added `rust/po/README.md` and an identical copy,
`service/po/README.md`
- https://github.com/agama-project/agama-project.github.io/pull/137

2743 of 5099 branches covered (53.79%)

Branch coverage included in aggregate %.

12166 of 17340 relevant lines covered (70.16%)

49.11 hits per line

Source Files on job web - 21139095269.3
  • Tree
  • List 589
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 21139095269
  • aafac6c4 on github
  • Prev Job for on master (#21139037645.3)
  • Next Job for on master (#21141923174.)
  • Delete
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