Skip to content

Commit 86de71e

Browse files
committed
add a translated string that is easily seen in the web UI Overview
This is to make translations mechanism easily verifiable FIXME: revert this in the end
1 parent 7ad9aa4 commit 86de71e

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

rust/agama-software/src/zypp_server.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -480,7 +480,10 @@ impl ZyppServer {
480480
category: p.category,
481481
description: p.description,
482482
icon: p.icon,
483-
summary: p.summary,
483+
// FIXME: this should be simply summary: p.summary like for the other items
484+
// but we're using it to get a translated text to a place where it is used
485+
// by the web UI (in web/src/components/overview/SoftwareSection.tsx)
486+
summary: format!("{}: {}", gettext("Pattern summary"), p.summary),
484487
order: p.order,
485488
})
486489
.collect();

0 commit comments

Comments
 (0)