add trans

This commit is contained in:
Ward from fusion-voyager-3 2024-09-19 21:22:06 +03:00
parent 5e00e676e9
commit f6effd89b0
2 changed files with 7 additions and 3 deletions

View File

@ -89,5 +89,9 @@
"system_mirror_label0_label": "System Repository Mirror",
"system_mirror_label1_label": "The Default URI/Mirror Used by the Base PikaOS System APT Repositories\n(Nest, Cockatiel, Canary, Pigeon, Parrot, Raven)",
"unofficial_sources_label": "Un-Official APT Sources",
"unofficial_sources_label1_label": "Un-Official Custom APT Sources Added by The User or Some User Run Script\nThese Sources May Result in ABI/Dep Hell or Security Risks, and Thus Making a \"package-request\" is Recommended Over These Sources"
"unofficial_sources_label1_label": "Un-Official Custom APT Sources Added by The User or Some User Run Script\nThese Sources May Result in ABI/Dep Hell or Security Risks, and Thus Making a \"package-request\" is Recommended Over These Sources",
"unofficial_sources_columnview_col0_title": "Apt Repository",
"unofficial_sources_columnview_col1_title": "Enabled",
"apt_repo_enabled": "Yes",
"apt_repo_disabled": "No"
}

View File

@ -263,8 +263,8 @@ pub fn apt_manage_page(
//
unofficial_sources_selection_model.connect_selected_item_notify(|selection| {
let selection = selection.selected_item().unwrap();
let entry = selection.downcast_ref::<BoxedAnyObject>().unwrap();
//let selection = selection.selected_item().unwrap();
//let entry = selection.downcast_ref::<BoxedAnyObject>().unwrap();
//let r: Ref<AptSourceConfig> = entry.borrow();
//println!("{}", r.col2.to_string())
});