diff --git a/README.md b/README.md index e17bd424..f15a0833 100644 --- a/README.md +++ b/README.md @@ -219,7 +219,7 @@ Every step in the config file corresponds to one view in the application. These - `call_button_with_input`: Display the content text, an input field and a button that runs a given command. The inputtext, can be used in the command by using the `` placeholder in the command field. After the command is run, a confirm button is displayed to allow the user to move to the next step. - `link_button_with_confirm`: Display a button that opens a browser with a given link, confirm afterwards. Link is given in `link`. - `img`: [OPTIONAL] Display an image on the left pane of the step view. Images are loaded from `openandroidinstaller/assets/imgs/`. -- `content`: str; The content text displayed alongside the action of the step. Used to inform the user about whats going on. For consistency and better readability the text should be moved into the next line using `>`. +- `content`: str; The content text displayed alongside the action of the step. Used to inform the user about what's going on. For consistency and better readability the text should be moved into the next line using `>`. - `link`: [OPTIONAL] Link to use for the link button if type is `link_button_with_confirm`. - `command`: [ONLY for call_button* steps] str; The command to run. One of `adb_reboot`, `adb_reboot_bootloader`, `adb_reboot_download`, `adb_sideload`, `adb_twrp_wipe_and_install`, `adb_twrp_copy_partitions`, `fastboot_boot_recovery`, `fastboot_unlock_with_code`, `fastboot_unlock`, `fastboot_oem_unlock`, `fastboot_get_unlock_data`, `fastboot_reboot`, `heimdall_flash_recovery`. - `allow_skip`: [OPTIONAL] boolean; If a skip button should be displayed to allow skipping this step. Can be useful when the bootloader is already unlocked. diff --git a/openandroidinstaller/tooling.py b/openandroidinstaller/tooling.py index c8b95dfd..cf82e7a6 100644 --- a/openandroidinstaller/tooling.py +++ b/openandroidinstaller/tooling.py @@ -85,7 +85,7 @@ def add_logging(step_desc: str, return_if_fail: bool = False) -> Callable: def logging_decorator(func) -> Callable: def logging(*args, **kwargs) -> TerminalResponse: - logger.info(f"{step_desc} - Paramters: {kwargs}") + logger.info(f"{step_desc} - Parameters: {kwargs}") for line in func(*args, **kwargs): if (type(line) == bool) and not line: logger.error(f"{step_desc} Failed!") diff --git a/openandroidinstaller/views/install_addons_view.py b/openandroidinstaller/views/install_addons_view.py index 547ea540..110c9f91 100644 --- a/openandroidinstaller/views/install_addons_view.py +++ b/openandroidinstaller/views/install_addons_view.py @@ -143,7 +143,7 @@ def check_advanced_switch(e): def run_install_addons(self, e): """ - Run the addon installation process trough twrp. + Run the addon installation process through twrp. Some parts of the command are changed by placeholders. """ diff --git a/openandroidinstaller/views/install_view.py b/openandroidinstaller/views/install_view.py index fca0e728..de6c3858 100644 --- a/openandroidinstaller/views/install_view.py +++ b/openandroidinstaller/views/install_view.py @@ -171,7 +171,7 @@ def check_addons_switch(e): def run_install(self, e): """ - Run the installation process trough twrp. + Run the installation process through twrp. Some parts of the command are changed by placeholders. """ diff --git a/openandroidinstaller/views/step_view.py b/openandroidinstaller/views/step_view.py index 0fd5966a..287c42ad 100644 --- a/openandroidinstaller/views/step_view.py +++ b/openandroidinstaller/views/step_view.py @@ -108,14 +108,14 @@ def check_advanced_switch(e): self.progress_indicator = ProgressIndicator(expand=True) # main controls - steps_indictor_img_lookup = { + steps_indicator_img_lookup = { "Unlock the bootloader": "steps-header-unlock.png", "Boot custom recovery": "steps-header-recovery.png", } self.right_view_header.controls = [ get_title( f"{self.step.title}", - step_indicator_img=steps_indictor_img_lookup.get(self.step.title), + step_indicator_img=steps_indicator_img_lookup.get(self.step.title), ) ] self.right_view.controls = [