Replace technical jargon with user-friendly labels in detail view
Rename Digital signature to Verified by developer, StartupWMClass to Window class (advanced), SHA256 to File checksum, and File Type Associations to Opens these file types.
This commit is contained in:
@@ -831,7 +831,7 @@ fn build_overview_tab(record: &AppImageRecord, db: &Rc<Database>) -> gtk::Box {
|
||||
|
||||
// Digital signature status
|
||||
let sig_row = adw::ActionRow::builder()
|
||||
.title("Digital signature")
|
||||
.title("Verified by developer")
|
||||
.subtitle(if record.has_signature {
|
||||
"Signed by the developer"
|
||||
} else {
|
||||
@@ -1035,7 +1035,7 @@ fn build_system_tab(record: &AppImageRecord, db: &Rc<Database>, toast_overlay: &
|
||||
|
||||
// StartupWMClass row with editable override
|
||||
let wm_class_row = adw::EntryRow::builder()
|
||||
.title("StartupWMClass")
|
||||
.title("Window class (advanced)")
|
||||
.text(record.startup_wm_class.as_deref().unwrap_or(""))
|
||||
.show_apply_button(true)
|
||||
.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();
|
||||
if !types.is_empty() {
|
||||
let mime_group = adw::PreferencesGroup::builder()
|
||||
.title("File Type Associations")
|
||||
.description("MIME types this app can handle. Set as default to open these files with this app.")
|
||||
.title("Opens these file types")
|
||||
.description("File types this app can handle. Set as default to always open them with this app.")
|
||||
.build();
|
||||
|
||||
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_badge_class = if record.has_signature { "success" } else { "neutral" };
|
||||
let sig_row = adw::ActionRow::builder()
|
||||
.title("Digital signature")
|
||||
.title("Verified by developer")
|
||||
.subtitle(sig_label)
|
||||
.build();
|
||||
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
|
||||
if let Some(ref hash) = record.sha256 {
|
||||
let sha_row = adw::ActionRow::builder()
|
||||
.title("SHA256")
|
||||
.title("File checksum")
|
||||
.subtitle(hash)
|
||||
.subtitle_selectable(true)
|
||||
.build();
|
||||
|
||||
Reference in New Issue
Block a user