From 3493e5c7581b5f2a6f7a2fe3415efb10382c4f93 Mon Sep 17 00:00:00 2001 From: Daniele Forsi Date: Sat, 24 Aug 2024 14:23:43 +0200 Subject: [PATCH] Fix typos --- chirp/drivers/ksun_m6.py | 2 +- chirp/drivers/radioddity_r2.py | 2 +- chirp/drivers/retevis_ra87.py | 2 +- chirp/drivers/th_uv88.py | 4 ++-- chirp/wxui/bugreport.py | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/chirp/drivers/ksun_m6.py b/chirp/drivers/ksun_m6.py index 590584d9e..a2e3a3421 100644 --- a/chirp/drivers/ksun_m6.py +++ b/chirp/drivers/ksun_m6.py @@ -289,7 +289,7 @@ def get_settings(self): led = settings.led rsv = RadioSettingValueList(LED_LIST, LED_LIST[led]) - rs = RadioSetting("led", "LED brighness", rsv) + rs = RadioSetting("led", "LED brightness", rsv) basic.append(rs) led_timeout = settings.led_timeout diff --git a/chirp/drivers/radioddity_r2.py b/chirp/drivers/radioddity_r2.py index a140cf7da..0ee722469 100644 --- a/chirp/drivers/radioddity_r2.py +++ b/chirp/drivers/radioddity_r2.py @@ -187,7 +187,7 @@ def _r2_enter_programming_mode(radio): raise errors.RadioError("Error communicating with radio 2") # The latest Retevis RT24 (and likely the RT24V and H777S) models no - # longer acknowlege the CMD_ACK above so the 'ack' will be empty and + # longer acknowledge the CMD_ACK above so the 'ack' will be empty and # fail the check causing cloning to fail. # # The factory CPS continues with or without an ack so CHIRP will diff --git a/chirp/drivers/retevis_ra87.py b/chirp/drivers/retevis_ra87.py index a56953e3a..2345292cf 100644 --- a/chirp/drivers/retevis_ra87.py +++ b/chirp/drivers/retevis_ra87.py @@ -823,7 +823,7 @@ def get_settings(self): # menu 17 - APO options = ["Off", "30", "60", "90", "120", "180"] rs = RadioSettingValueList(options, options[_settings.apo]) - rset = RadioSetting("apo", "Automaitc Power Off [min]", rs) + rset = RadioSetting("apo", "Automatic Power Off [min]", rs) rset.set_doc("Menu 17") basic.append(rset) diff --git a/chirp/drivers/th_uv88.py b/chirp/drivers/th_uv88.py index 9c2572713..719632e25 100644 --- a/chirp/drivers/th_uv88.py +++ b/chirp/drivers/th_uv88.py @@ -1010,7 +1010,7 @@ def get_settings(self): def _name_apply(setting, obj1, atrb1, obj2, atrb2): # Store a trunctaded version avec the first line # in basicsettings.intrScreen1. The original - # do this for an unkown reason + # do this for an unknown reason setattr(obj1, atrb1, str(setting.value)[:12]) setattr(obj2, atrb2, setting.value) return @@ -1036,7 +1036,7 @@ def _char_to_name(name): rx.set_validate_callback(_name_validate) rset = RadioSetting("openradioname.name1", "Intro Line 1", rx) - # On model others than RA89 store a trunctated name1 into + # On model others than RA89 store a truncated name1 into # basicsettings if self.MODEL != "RA89": rset.set_apply_callback(_name_apply, _settings, "introScreen1", diff --git a/chirp/wxui/bugreport.py b/chirp/wxui/bugreport.py index e44cceb31..33ad15a8a 100644 --- a/chirp/wxui/bugreport.py +++ b/chirp/wxui/bugreport.py @@ -168,7 +168,7 @@ def _build(self, vbox): self, _('The debug log file is not available when CHIRP is run ' 'interactively from the command-line. Thus, this tool will ' - 'not upload what you expect. It is recomended that you ' + 'not upload what you expect. It is recommended that you ' 'quit now and run CHIRP non-interactively (or with stdin ' 'redirected to /dev/null)'), _('Warning'),