From 572ff2b5b7a9bfe4d1f5d1aa66133ff52af5402b Mon Sep 17 00:00:00 2001 From: Kian-Meng Ang Date: Sat, 22 Oct 2022 22:41:02 +0800 Subject: [PATCH] Fix typos Found via `typos --format brief`. --- README.md | 4 ++-- data/meson.build | 2 +- src/toolbx/mod.rs | 6 +++--- src/ui/components/toolbox_settings/widgets.rs | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 55c9c95..da47250 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,7 @@ Toolbx Tuner is a tool to improve the experience with [toolbx](https://container The project is currently only a user-interface concept. The program is not actually usable. - [x] UI prototype -- [x] [Continious development releases](https://github.com/13hannes11/toolbx-tuner/releases/tag/dev) +- [x] [Continuous development releases](https://github.com/13hannes11/toolbx-tuner/releases/tag/dev) - [x] Flatpak support - [ ] [MVP](https://github.com/13hannes11/toolbx-tuner/milestone/1) - [ ] Publish on Flathub @@ -40,7 +40,7 @@ This project now uses *Gnome Builder* as main build tool and the Flatpak toolcha ### Traditional Compilation -1. This project is built with `Relm4`, therefore, the pre-requisits for gtk4 need to be installed. Follow the [gtk4-rs book's](https://gtk-rs.org/gtk4-rs/stable/latest/book/installation_linux.html) installation instructions. +1. This project is built with `Relm4`, therefore, the pre-requisites for gtk4 need to be installed. Follow the [gtk4-rs book's](https://gtk-rs.org/gtk4-rs/stable/latest/book/installation_linux.html) installation instructions. 2. Compile with: * `cargo build` or * `cargo run` diff --git a/data/meson.build b/data/meson.build index 5643b60..05dec0c 100644 --- a/data/meson.build +++ b/data/meson.build @@ -65,7 +65,7 @@ configure_file( install_dir: datadir / 'glib-2.0' / 'schemas' ) -# Validata GSchema +# Validate GSchema if glib_compile_schemas.found() test( 'validate-gschema', glib_compile_schemas, diff --git a/src/toolbx/mod.rs b/src/toolbx/mod.rs index 603b4b1..bb0a3f3 100644 --- a/src/toolbx/mod.rs +++ b/src/toolbx/mod.rs @@ -125,7 +125,7 @@ impl ToolbxContainer { Ok(inspect_vec) => match inspect_vec.first() { Some(info) => Ok(info.clone()), None => Err(ToolbxError::JSONSerializationError( - "Inspect command returned empty vecotr.".to_string(), + "Inspect command returned empty vector.".to_string(), )), }, Err(e) => Err(ToolbxError::JSONSerializationError(e.to_string())), @@ -216,7 +216,7 @@ impl ToolbxContainer { } #[test] -fn test_start_1non_existing_containter() { +fn test_start_1non_existing_container() { // TODO: create container that exists based on simple image // run command // delete container @@ -244,7 +244,7 @@ fn test_inspect_parsing() { } #[test] -fn test_start_non_existing_containter() { +fn test_start_non_existing_container() { let name = "zy2lM6BdZoTnKHaVPkUJ".to_string(); let mut tbx = ToolbxContainer { created: "".to_string(), diff --git a/src/ui/components/toolbox_settings/widgets.rs b/src/ui/components/toolbox_settings/widgets.rs index aefd5d1..3bb5b03 100644 --- a/src/ui/components/toolbox_settings/widgets.rs +++ b/src/ui/components/toolbox_settings/widgets.rs @@ -54,7 +54,7 @@ impl Widgets for ToolboxSettingsDialogWidg add = &adw::PreferencesGroup { set_title: "Home Folder", add = &adw::PreferencesRow { - set_title: "Seperate Home Folder", + set_title: "Separate Home Folder", set_child = Some(&adw::ActionRow) { set_title: "Use separate home folder", add_suffix = >k::Box {