diff --git a/README.MD b/README.MD index 5b58704..30af9fa 100644 --- a/README.MD +++ b/README.MD @@ -1,3 +1,5 @@ +![Primary Page](https://raw.githubusercontent.com/CosmicFusion/fedora-kernel-manager/main/data/com.github.cosmicfusion.fedora-kernel-manager.png) + ### Intro @@ -116,6 +118,10 @@ This is done by reading the version of the rpm package set in this json value. * `packages` One or more package, it refers to what actually gets installed and removed. * `min_x86_march` The minimum x86 micro-architecture needed, if the user has `x86-64-v3` and this value is set to `4` the entry will not be displayed to the user. +### Translation + +Contribute translations to this project via [Weblate](https://hosted.weblate.org/projects/cosmicfusion/fedora-kernel-manager/) + ### GUI ## Primary Page diff --git a/README.md b/README.md deleted file mode 100644 index 9df37d5..0000000 --- a/README.md +++ /dev/null @@ -1,4 +0,0 @@ -Translations repository created by Weblate -========================================== - -See https://weblate.org/ for more info. diff --git a/data/com.github.cosmicfusion.fedora-kernel-manager.svg b/data/com.github.cosmicfusion.fedora-kernel-manager.svg index 065ce05..1fb3610 100644 --- a/data/com.github.cosmicfusion.fedora-kernel-manager.svg +++ b/data/com.github.cosmicfusion.fedora-kernel-manager.svg @@ -1,5 +1,28 @@ - - + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/data/locales/en_UK.json b/data/locales/en_UK.json new file mode 100644 index 0000000..7d98d02 --- /dev/null +++ b/data/locales/en_UK.json @@ -0,0 +1,51 @@ +{ + "application_name": "Fedora Kernel Manager", + "developer_name": "Cosmo", + "banner_text_no_internet": "Warning: No internet connection", + "banner_text_url_error": "Kernel Database URL Error: Please Restart!", + "loading_label_label": "Downloading Database...", + "kernel_branch_expander_row_subtitle": "Kernel Branch", + "browse_kernels_button_tooltip_text": "Browse Kernel for select branch", + "config_kernel_button_tooltip_text": "Configure Sched_EXT settings", + "config_kernel_button_tooltip_text_no_scx": "Currently running kernel doesn't support Sched-EXT", + "config_kernel_button_tooltip_text_no_scx_installed": "Your kernel supports Sched-EXT but the sched-ext-scx packages is not installed!\nInstall it, reboot, try again", + "null_checkbutton_label": "No branch selected", + "db_load_complete": "DB load complete!", + "db_downloading": "Downloading & Parsing package DB for", + "db_download_complete": "Download Complete!", + "db_init_script_run_p1": "Running", + "db_init_script_run_p2": "init script.", + "db_init_script_successful": "init script successful.", + "db_init_script_failed": "init script failed!", + "unknown": "Unknown", + "disabled": "Disabled", + "get_current_scheduler_sched_ext_detected": "sched_ext is detected, getting scx scheduler", + "kernel_badge_branch_label": "Kernel Branch", + "kernel_badge_latest_version_label": "Latest Version", + "kernel_badge_running_version_label": "Running Version", + "kernel_badge_running_kernel_label": "Running Kernel", + "kernel_badge_running_sched_label": "Running Sched", + "kernel_main_label_label": "Available Kernel Packages for", + "kernel_status_icon_tooltip_text": "Installed", + "kernel_install_button_label": "Install", + "kernel_install_button_tooltip_text": "Install this kernel", + "kernel_uninstall_button_label": "Uninstall", + "kernel_uninstall_button_tooltip_text": "Uninstall this kernel", + "kernel_install_dialog_heading": "Installing Kernel", + "kernel_install_dialog_ok_label": "OK", + "kernel_install_dialog_reboot_label": "Reboot Now (Optional)", + "kernel_install_dialog_body_successful": "Kernel installation was successful!", + "kernel_install_dialog_body_failed": "Kernel installation failed!", + "parse_loading_dialog_heading": "Please Wait!", + "parse_loading_dialog_body": "Loading Kernel Repo Data....", + "log_status_kernel_modify_successful": "Status: kernel modify Successful", + "log_status_kernel_modify_failed": "Status: kernel modify Failed", + "scx_sched_expander_row_subtitle": "Select Sched-EXT SCX Scheduler", + "sched_ext_main_label_label": "Sched-EXT Configuration Settings", + "sched_ext_apply_button_label": "Apply", + "sched_ext_cmd_status_dialog_heading_success": "Success!", + "sched_ext_cmd_status_dialog_body_success": "SCX has been set to", + "sched_ext_cmd_status_dialog_heading_failed": "Failed!", + "sched_ext_cmd_status_dialog_body_failed": "SCX couldn't be has been set to", + "sched_ext_null_checkbutton_label": "No Scheduler selected" +} \ No newline at end of file diff --git a/data/tux-download-symbolic.svg b/data/tux-download-symbolic.svg index 065ce05..7c9d1a3 100644 --- a/data/tux-download-symbolic.svg +++ b/data/tux-download-symbolic.svg @@ -1,5 +1,19 @@ - - + + + + + + + + + + + + + + + + diff --git a/data/tux-settings-symbolic.svg b/data/tux-settings-symbolic.svg index 065ce05..942d41e 100644 --- a/data/tux-settings-symbolic.svg +++ b/data/tux-settings-symbolic.svg @@ -1,5 +1,27 @@ - - + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/data/tux-symbolic.svg b/data/tux-symbolic.svg index 065ce05..ac33f23 100644 --- a/data/tux-symbolic.svg +++ b/data/tux-symbolic.svg @@ -1,5 +1,16 @@ - - + + + + + + + + + + + + + diff --git a/src/content/mod.rs b/src/content/mod.rs index 4d62649..cf26206 100644 --- a/src/content/mod.rs +++ b/src/content/mod.rs @@ -120,7 +120,7 @@ pub fn content( .build(); let browse_kernels_button = gtk::Button::builder() - .icon_name("tux-settings-symbolic") + .icon_name("folder-download-symbolic") .halign(Align::Start) .margin_start(10) .margin_end(10) @@ -139,7 +139,7 @@ pub fn content( ); let config_kernel_button = gtk::Button::builder() - .icon_name("tux-download-symbolic") + .icon_name("emblem-system-symbolic") .halign(Align::End) .margin_start(10) .margin_end(10)