Skip to content

Commit 574516c

Browse files
authored
Fix typos (#145)
Found via `codespell` and `typos --format brief`
2 parents 2fd156d + 7b973f7 commit 574516c

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ Every step in the config file corresponds to one view in the application. These
219219
- `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 `<inputtext>` 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.
220220
- `link_button_with_confirm`: Display a button that opens a browser with a given link, confirm afterwards. Link is given in `link`.
221221
- `img`: [OPTIONAL] Display an image on the left pane of the step view. Images are loaded from `openandroidinstaller/assets/imgs/`.
222-
- `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 `>`.
222+
- `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 `>`.
223223
- `link`: [OPTIONAL] Link to use for the link button if type is `link_button_with_confirm`.
224224
- `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`.
225225
- `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.

openandroidinstaller/tooling.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ def add_logging(step_desc: str, return_if_fail: bool = False) -> Callable:
8585

8686
def logging_decorator(func) -> Callable:
8787
def logging(*args, **kwargs) -> TerminalResponse:
88-
logger.info(f"{step_desc} - Paramters: {kwargs}")
88+
logger.info(f"{step_desc} - Parameters: {kwargs}")
8989
for line in func(*args, **kwargs):
9090
if (type(line) == bool) and not line:
9191
logger.error(f"{step_desc} Failed!")

openandroidinstaller/views/install_addons_view.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ def check_advanced_switch(e):
143143

144144
def run_install_addons(self, e):
145145
"""
146-
Run the addon installation process trough twrp.
146+
Run the addon installation process through twrp.
147147
148148
Some parts of the command are changed by placeholders.
149149
"""

openandroidinstaller/views/install_view.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ def check_addons_switch(e):
171171

172172
def run_install(self, e):
173173
"""
174-
Run the installation process trough twrp.
174+
Run the installation process through twrp.
175175
176176
Some parts of the command are changed by placeholders.
177177
"""

openandroidinstaller/views/step_view.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,14 +108,14 @@ def check_advanced_switch(e):
108108
self.progress_indicator = ProgressIndicator(expand=True)
109109

110110
# main controls
111-
steps_indictor_img_lookup = {
111+
steps_indicator_img_lookup = {
112112
"Unlock the bootloader": "steps-header-unlock.png",
113113
"Boot custom recovery": "steps-header-recovery.png",
114114
}
115115
self.right_view_header.controls = [
116116
get_title(
117117
f"{self.step.title}",
118-
step_indicator_img=steps_indictor_img_lookup.get(self.step.title),
118+
step_indicator_img=steps_indicator_img_lookup.get(self.step.title),
119119
)
120120
]
121121
self.right_view.controls = [

0 commit comments

Comments
 (0)