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

agama-project / agama / 28671708926
83%

Build:
DEFAULT BRANCH: master
Ran 03 Jul 2026 04:10PM UTC
Jobs 3
Files 1046
Run time 2min
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

03 Jul 2026 04:06PM UTC coverage: 83.121% (-0.1%) from 83.235%
28671708926

push

github

web-flow
Missing translations (#3688)

## Problem

Some strings are not translated. Missing translatated strings should be
detected by the linter, but there are two edge cases:

* Literal string directly passed as prop to a PF component.
* Literal strings marked for translation with `N_` but then it is not
translated with `_()`.

Examples:
~~~
<PFComponent foo="bar" />

const LABEL = N_("Disk");

<Text>{LABEL}</Text>
~~~

https://bugzilla.suse.com/show_bug.cgi?id=1269514

## Solution

Properly mark the literal strings for translations when they are used in
a prop and fix missing translations in storage UI components by
converting translation-marked constants to type-safe translation
functions.

Changes

* Replaced static translation-marked constants (FILESYSTEM_NAMES,
PARTITIONABLE_SPACE_POLICIES, VOLUME_GROUP_SPACE_POLICIES) with
dedicated translation functions (filesystemLabel,
partitionableSpacePolicyLabel, volumeGroupSpacePolicyLabel).
* Fixed untranslated space policy labels in SpacePolicyMenu and
SpaceActionsTable.
* Removed unused SIZE_UNITS constant.

Moving translation logic into functions ensures translations are always
applied and prevents future instances of forgotten translations.

In network, the connection type labels were not marked for translation.
Fortunatelly, there are already translations for that strings.

4900 of 6833 branches covered (71.71%)

Branch coverage included in aggregate %.

32 of 53 new or added lines in 3 files covered. (60.38%)

39 existing lines in 3 files now uncovered.

25559 of 29811 relevant lines covered (85.74%)

124.08 hits per line

Uncovered Changes

Lines Coverage ∆ File
20
76.02
-14.04% web/src/components/storage/utils.ts
1
87.88
0.38% web/src/components/storage/SpacePolicyMenu.tsx

Coverage Regressions

Lines Coverage ∆ File
24
83.13
-11.61% web/web/src/components/storage/utils.ts
12
90.17
0.11% web/web/src/utils/network.ts
3
94.44
0.21% web/web/src/components/storage/SpacePolicyMenu.tsx
Subprojects
ID Flag name Job ID Ran Files Coverage
3 web 28671708926.3 03 Jul 2026 04:10PM UTC 727
80.02
GitHub Action Run
1 rust 19474749743.1 18 Nov 2025 05:18PM UTC 185
22.45
GitHub Action Run
3 service 28653966105.3 03 Jul 2026 10:16AM UTC 319
92.37
GitHub Action Run
Source Files on build 28671708926
  • Tree
  • List 1046
  • Changed 8
  • Source Changed 5
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #28671708926
  • bda7bbe3 on github
  • Prev Build on master (#28667439712)
  • 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