Replace technical jargon with user-friendly labels in detail view

This commit is contained in:
2026-02-28 01:44:09 +02:00
parent ba64cb53fa
commit ea2354fad5

View File

@@ -831,7 +831,7 @@ fn build_overview_tab(record: &AppImageRecord, db: &Rc<Database>) -> gtk::Box {
// Digital signature status // Digital signature status
let sig_row = adw::ActionRow::builder() let sig_row = adw::ActionRow::builder()
.title("Digital signature") .title("Verified by developer")
.subtitle(if record.has_signature { .subtitle(if record.has_signature {
"Signed by the developer" "Signed by the developer"
} else { } else {
@@ -1035,7 +1035,7 @@ fn build_system_tab(record: &AppImageRecord, db: &Rc<Database>, toast_overlay: &
// StartupWMClass row with editable override // StartupWMClass row with editable override
let wm_class_row = adw::EntryRow::builder() let wm_class_row = adw::EntryRow::builder()
.title("StartupWMClass") .title("Window class (advanced)")
.text(record.startup_wm_class.as_deref().unwrap_or("")) .text(record.startup_wm_class.as_deref().unwrap_or(""))
.show_apply_button(true) .show_apply_button(true)
.build(); .build();
@@ -1161,8 +1161,8 @@ fn build_system_tab(record: &AppImageRecord, db: &Rc<Database>, toast_overlay: &
let types: Vec<&str> = mime_str.split(';').filter(|s| !s.is_empty()).collect(); let types: Vec<&str> = mime_str.split(';').filter(|s| !s.is_empty()).collect();
if !types.is_empty() { if !types.is_empty() {
let mime_group = adw::PreferencesGroup::builder() let mime_group = adw::PreferencesGroup::builder()
.title("File Type Associations") .title("Opens these file types")
.description("MIME types this app can handle. Set as default to open these files with this app.") .description("File types this app can handle. Set as default to always open them with this app.")
.build(); .build();
let app_id = integrator::make_app_id( let app_id = integrator::make_app_id(
@@ -1523,7 +1523,7 @@ fn build_security_tab(record: &AppImageRecord, db: &Rc<Database>) -> gtk::Box {
let sig_label = if record.has_signature { "Signature present" } else { "No signature" }; let sig_label = if record.has_signature { "Signature present" } else { "No signature" };
let sig_badge_class = if record.has_signature { "success" } else { "neutral" }; let sig_badge_class = if record.has_signature { "success" } else { "neutral" };
let sig_row = adw::ActionRow::builder() let sig_row = adw::ActionRow::builder()
.title("Digital signature") .title("Verified by developer")
.subtitle(sig_label) .subtitle(sig_label)
.build(); .build();
let sig_badge = widgets::status_badge(sig_label, sig_badge_class); let sig_badge = widgets::status_badge(sig_label, sig_badge_class);
@@ -1534,7 +1534,7 @@ fn build_security_tab(record: &AppImageRecord, db: &Rc<Database>) -> gtk::Box {
// SHA256 hash // SHA256 hash
if let Some(ref hash) = record.sha256 { if let Some(ref hash) = record.sha256 {
let sha_row = adw::ActionRow::builder() let sha_row = adw::ActionRow::builder()
.title("SHA256") .title("File checksum")
.subtitle(hash) .subtitle(hash)
.subtitle_selectable(true) .subtitle_selectable(true)
.build(); .build();