Philipp Hörist pushed to branch master at gajim / gajim

Commits:

1 changed file:

Changes:

  • gajim/plugins/repository.py
    ... ... @@ -71,7 +71,7 @@ def _on_repository_received(self,
    71 71
                                     message: Soup.Message) -> None:
    
    72 72
     
    
    73 73
             if message.status_code != Soup.Status.OK:
    
    74
    -            log.warning('Repository retrival failed')
    
    74
    +            log.warning('Repository retrieval failed')
    
    75 75
                 log.warning(Soup.Status.get_phrase(message.status_code))
    
    76 76
                 return
    
    77 77
     
    
    ... ... @@ -121,7 +121,7 @@ def _parse_package_json(self,
    121 121
                                 package_index: dict[str, Any]
    
    122 122
                                 ) -> dict[str, PluginManifest]:
    
    123 123
     
    
    124
    -        suiteable_plugins: dict[str, PluginManifest] = {}
    
    124
    +        suitable_plugins: dict[str, PluginManifest] = {}
    
    125 125
             plugins = package_index['plugins']
    
    126 126
             for name, versions in plugins.items():
    
    127 127
                 for version, manifest in versions.items():
    
    ... ... @@ -134,16 +134,16 @@ def _parse_package_json(self,
    134 134
                         continue
    
    135 135
     
    
    136 136
                     if not manifest.is_usable:
    
    137
    -                    log.info('Ignore not suiteable plugin: %s %s',
    
    137
    +                    log.info('Ignore not suitable plugin: %s %s',
    
    138 138
                                  manifest.short_name, manifest.version)
    
    139 139
                         continue
    
    140 140
     
    
    141
    -                last_plugin = suiteable_plugins.get(manifest.short_name)
    
    141
    +                last_plugin = suitable_plugins.get(manifest.short_name)
    
    142 142
                     if (last_plugin is None or
    
    143 143
                             last_plugin.version < manifest.version):
    
    144
    -                    suiteable_plugins[manifest.short_name] = manifest
    
    144
    +                    suitable_plugins[manifest.short_name] = manifest
    
    145 145
     
    
    146
    -        return suiteable_plugins
    
    146
    +        return suitable_plugins
    
    147 147
     
    
    148 148
         def _refresh_plugin_index(self, callback: Optional[Any] = None) -> None:
    
    149 149
             log.info('Refresh index')