diff --git a/multi_user/preferences.py b/multi_user/preferences.py index 1977b9c..28a32b4 100644 --- a/multi_user/preferences.py +++ b/multi_user/preferences.py @@ -41,7 +41,7 @@ def randomColor(): def random_string_digits(stringLength=6): - """Generate a random string of letters and digits """ + """Generate a random string of letters and digits""" lettersAndDigits = string.ascii_letters + string.digits return ''.join(random.choices(lettersAndDigits, k=stringLength)) @@ -68,7 +68,7 @@ def update_port(self, context): if self.ipc_port < max_port and \ self['ipc_port'] >= self.port: logging.error( - "IPC Port in conflic with the port, assigning a random value") + "IPC Port in conflict with the port, assigning a random value") self['ipc_port'] = random.randrange(self.port+4, 10000) @@ -169,7 +169,7 @@ class SessionPrefs(bpy.types.AddonPreferences): ) ipc_port: bpy.props.IntProperty( name="ipc_port", - description='internal ttl port(only usefull for multiple local instances)', + description='internal ttl port(only useful for multiple local instances)', default=random.randrange(5570, 70000), update=update_port, ) @@ -215,7 +215,7 @@ class SessionPrefs(bpy.types.AddonPreferences): name="Category", description="Preferences Category", items=[ - ('CONFIG', "Configuration", "Configuration about this add-on"), + ('CONFIG', "Configuration", "Configuration of this add-on"), ('UPDATE', "Update", "Update this add-on"), ], default='CONFIG' @@ -334,7 +334,7 @@ class SessionPrefs(bpy.types.AddonPreferences): # USER INFORMATIONS box = grid.box() box.prop( - self, "conf_session_identity_expanded", text="User informations", + self, "conf_session_identity_expanded", text="User information", icon=get_expanded_icon(self.conf_session_identity_expanded), emboss=False) if self.conf_session_identity_expanded: @@ -344,7 +344,7 @@ class SessionPrefs(bpy.types.AddonPreferences): # NETWORK SETTINGS box = grid.box() box.prop( - self, "conf_session_net_expanded", text="Netorking", + self, "conf_session_net_expanded", text="Networking", icon=get_expanded_icon(self.conf_session_net_expanded), emboss=False) diff --git a/multi_user/ui.py b/multi_user/ui.py index 5f83f69..55138a8 100644 --- a/multi_user/ui.py +++ b/multi_user/ui.py @@ -114,7 +114,7 @@ class SESSION_PT_settings(bpy.types.Panel): if current_state in [STATE_ACTIVE] and runtime_settings.is_host: info_msg = f"LAN: {runtime_settings.internet_ip}" if current_state == STATE_LOBBY: - info_msg = "Waiting the session to start." + info_msg = "Waiting for the session to start." if info_msg: info_box = row.box() diff --git a/multi_user/utils.py b/multi_user/utils.py index 9c7c823..a8317c3 100644 --- a/multi_user/utils.py +++ b/multi_user/utils.py @@ -72,7 +72,7 @@ def get_state_str(state): elif state == STATE_SYNCING: state_str = 'FETCHING' elif state == STATE_AUTH: - state_str = 'AUTHENTIFICATION' + state_str = 'AUTHENTICATION' elif state == STATE_CONFIG: state_str = 'CONFIGURATION' elif state == STATE_ACTIVE: