From f81b1751ce6cd367e45eb5f77a4e96a3f4a5577c Mon Sep 17 00:00:00 2001 From: Nikolas Nyby Date: Mon, 22 Jul 2019 23:24:01 -0400 Subject: [PATCH] Fix typos in module init docs Intialize -> Initialize Reviewed-by: Sunil Mohan Adapa --- plinth/__main__.py | 2 +- plinth/app.py | 4 ++-- plinth/modules/avahi/__init__.py | 2 +- plinth/modules/backups/__init__.py | 2 +- plinth/modules/bind/__init__.py | 2 +- plinth/modules/cockpit/__init__.py | 2 +- plinth/modules/coquelicot/__init__.py | 2 +- plinth/modules/datetime/__init__.py | 2 +- plinth/modules/i2p/__init__.py | 2 +- plinth/modules/letsencrypt/__init__.py | 2 +- plinth/modules/mediawiki/__init__.py | 2 +- plinth/modules/mumble/__init__.py | 2 +- plinth/modules/pagekite/__init__.py | 2 +- plinth/modules/pagekite/forms.py | 2 +- plinth/modules/privoxy/__init__.py | 2 +- plinth/modules/roundcube/__init__.py | 2 +- plinth/modules/searx/__init__.py | 2 +- plinth/modules/shadowsocks/__init__.py | 2 +- plinth/modules/ssh/__init__.py | 2 +- plinth/modules/storage/__init__.py | 2 +- plinth/modules/syncthing/__init__.py | 2 +- plinth/modules/tahoe/__init__.py | 2 +- plinth/modules/ttrss/__init__.py | 2 +- plinth/modules/users/__init__.py | 2 +- plinth/views.py | 2 +- 25 files changed, 26 insertions(+), 26 deletions(-) diff --git a/plinth/__main__.py b/plinth/__main__.py index d0a15b461..0db2af363 100644 --- a/plinth/__main__.py +++ b/plinth/__main__.py @@ -134,7 +134,7 @@ def on_web_server_stop(): def main(): - """Intialize and start the application""" + """Initialize and start the application""" arguments = parse_arguments() if arguments.develop: diff --git a/plinth/app.py b/plinth/app.py index 60411a980..6f604680c 100644 --- a/plinth/app.py +++ b/plinth/app.py @@ -106,7 +106,7 @@ class Component: is_leader = False def __init__(self, component_id): - """Intialize the component.""" + """Initialize the component.""" if not component_id: raise ValueError('Invalid component ID') @@ -129,7 +129,7 @@ class FollowerComponent(Component): is_leader = False def __init__(self, component_id, is_enabled=False): - """Intialize the component.""" + """Initialize the component.""" super().__init__(component_id) self._is_enabled = is_enabled diff --git a/plinth/modules/avahi/__init__.py b/plinth/modules/avahi/__init__.py index 581b46490..cc430dfac 100644 --- a/plinth/modules/avahi/__init__.py +++ b/plinth/modules/avahi/__init__.py @@ -79,7 +79,7 @@ class AvahiApp(app_module.App): def init(): - """Intialize the service discovery module.""" + """Initialize the service discovery module.""" global app app = AvahiApp() if app.is_enabled(): diff --git a/plinth/modules/backups/__init__.py b/plinth/modules/backups/__init__.py index 613857d9c..e1cc6b4b1 100644 --- a/plinth/modules/backups/__init__.py +++ b/plinth/modules/backups/__init__.py @@ -71,7 +71,7 @@ class BackupsApp(app_module.App): def init(): - """Intialize the module.""" + """Initialize the module.""" global app app = BackupsApp() diff --git a/plinth/modules/bind/__init__.py b/plinth/modules/bind/__init__.py index 8b76ccb98..d0a3d680d 100644 --- a/plinth/modules/bind/__init__.py +++ b/plinth/modules/bind/__init__.py @@ -107,7 +107,7 @@ class BindApp(app_module.App): def init(): - """Intialize the BIND module.""" + """Initialize the BIND module.""" global app app = BindApp() diff --git a/plinth/modules/cockpit/__init__.py b/plinth/modules/cockpit/__init__.py index 178123211..6ddfb1873 100644 --- a/plinth/modules/cockpit/__init__.py +++ b/plinth/modules/cockpit/__init__.py @@ -94,7 +94,7 @@ class CockpitApp(app_module.App): def init(): - """Intialize the module.""" + """Initialize the module.""" global app app = CockpitApp() diff --git a/plinth/modules/coquelicot/__init__.py b/plinth/modules/coquelicot/__init__.py index 1db51146d..0afa64071 100644 --- a/plinth/modules/coquelicot/__init__.py +++ b/plinth/modules/coquelicot/__init__.py @@ -87,7 +87,7 @@ class CoquelicotApp(app_module.App): def init(): - """Intialize the module.""" + """Initialize the module.""" global app app = CoquelicotApp() diff --git a/plinth/modules/datetime/__init__.py b/plinth/modules/datetime/__init__.py index fe83dcb5d..8da4f834c 100644 --- a/plinth/modules/datetime/__init__.py +++ b/plinth/modules/datetime/__init__.py @@ -65,7 +65,7 @@ class DateTimeApp(app_module.App): def init(): - """Intialize the date/time module.""" + """Initialize the date/time module.""" global app app = DateTimeApp() if app.is_enabled(): diff --git a/plinth/modules/i2p/__init__.py b/plinth/modules/i2p/__init__.py index b6f25eab3..9ceb5ec9a 100644 --- a/plinth/modules/i2p/__init__.py +++ b/plinth/modules/i2p/__init__.py @@ -110,7 +110,7 @@ class I2PApp(app_module.App): def init(): - """Intialize the module.""" + """Initialize the module.""" global app app = I2PApp() register_group(group) diff --git a/plinth/modules/letsencrypt/__init__.py b/plinth/modules/letsencrypt/__init__.py index 4a9864ba8..47db694da 100644 --- a/plinth/modules/letsencrypt/__init__.py +++ b/plinth/modules/letsencrypt/__init__.py @@ -87,7 +87,7 @@ class LetsEncryptApp(app_module.App): def init(): - """Intialize the module.""" + """Initialize the module.""" global app app = LetsEncryptApp() app.set_enabled(True) diff --git a/plinth/modules/mediawiki/__init__.py b/plinth/modules/mediawiki/__init__.py index 7d2d2f518..0589c0206 100644 --- a/plinth/modules/mediawiki/__init__.py +++ b/plinth/modules/mediawiki/__init__.py @@ -107,7 +107,7 @@ class Shortcut(frontpage.Shortcut): def init(): - """Intialize the module.""" + """Initialize the module.""" global app app = MediaWikiApp() diff --git a/plinth/modules/mumble/__init__.py b/plinth/modules/mumble/__init__.py index aa61f6001..0e060a1ae 100644 --- a/plinth/modules/mumble/__init__.py +++ b/plinth/modules/mumble/__init__.py @@ -89,7 +89,7 @@ class MumbleApp(app_module.App): def init(): - """Intialize the Mumble module.""" + """Initialize the Mumble module.""" global app app = MumbleApp() diff --git a/plinth/modules/pagekite/__init__.py b/plinth/modules/pagekite/__init__.py index 10c2cdf9c..0cd61e53e 100644 --- a/plinth/modules/pagekite/__init__.py +++ b/plinth/modules/pagekite/__init__.py @@ -96,7 +96,7 @@ class PagekiteApp(app_module.App): def init(): - """Intialize the PageKite module""" + """Initialize the PageKite module""" global app app = PagekiteApp() diff --git a/plinth/modules/pagekite/forms.py b/plinth/modules/pagekite/forms.py index ddf6c439c..2b3a13b4a 100644 --- a/plinth/modules/pagekite/forms.py +++ b/plinth/modules/pagekite/forms.py @@ -49,7 +49,7 @@ class SubdomainWidget(forms.widgets.TextInput): """Append the domain to the subdomain bootstrap input field""" def __init__(self, domain, *args, **kwargs): - """Intialize the widget by storing the domain value.""" + """Initialize the widget by storing the domain value.""" super().__init__(*args, **kwargs) self.domain = domain diff --git a/plinth/modules/privoxy/__init__.py b/plinth/modules/privoxy/__init__.py index 5b4ca64d9..8b4876b02 100644 --- a/plinth/modules/privoxy/__init__.py +++ b/plinth/modules/privoxy/__init__.py @@ -93,7 +93,7 @@ class PrivoxyApp(app_module.App): def init(): - """Intialize the module.""" + """Initialize the module.""" global app app = PrivoxyApp() diff --git a/plinth/modules/roundcube/__init__.py b/plinth/modules/roundcube/__init__.py index 45f646fe4..d95c8559d 100644 --- a/plinth/modules/roundcube/__init__.py +++ b/plinth/modules/roundcube/__init__.py @@ -91,7 +91,7 @@ class RoundcubeApp(app_module.App): def init(): - """Intialize the module.""" + """Initialize the module.""" global app app = RoundcubeApp() diff --git a/plinth/modules/searx/__init__.py b/plinth/modules/searx/__init__.py index 89a80bf1c..e6efa8e80 100644 --- a/plinth/modules/searx/__init__.py +++ b/plinth/modules/searx/__init__.py @@ -109,7 +109,7 @@ class SearxWebserverAuth(Webserver): def init(): - """Intialize the module.""" + """Initialize the module.""" global app app = SearxApp() register_group(group) diff --git a/plinth/modules/shadowsocks/__init__.py b/plinth/modules/shadowsocks/__init__.py index aa41082db..971a00d1b 100644 --- a/plinth/modules/shadowsocks/__init__.py +++ b/plinth/modules/shadowsocks/__init__.py @@ -89,7 +89,7 @@ class ShadowsocksApp(app_module.App): def init(): - """Intialize the module.""" + """Initialize the module.""" global app app = ShadowsocksApp() diff --git a/plinth/modules/ssh/__init__.py b/plinth/modules/ssh/__init__.py index df1611b3a..d5da191a1 100644 --- a/plinth/modules/ssh/__init__.py +++ b/plinth/modules/ssh/__init__.py @@ -72,7 +72,7 @@ class SSHApp(app_module.App): def init(): - """Intialize the ssh module.""" + """Initialize the ssh module.""" global app app = SSHApp() if app.is_enabled(): diff --git a/plinth/modules/storage/__init__.py b/plinth/modules/storage/__init__.py index 03e4664c3..3c6dd5274 100644 --- a/plinth/modules/storage/__init__.py +++ b/plinth/modules/storage/__init__.py @@ -72,7 +72,7 @@ class StorageApp(app_module.App): def init(): - """Intialize the module.""" + """Initialize the module.""" global app app = StorageApp() app.set_enabled(True) diff --git a/plinth/modules/syncthing/__init__.py b/plinth/modules/syncthing/__init__.py index 0e6fc7038..37567cd8c 100644 --- a/plinth/modules/syncthing/__init__.py +++ b/plinth/modules/syncthing/__init__.py @@ -103,7 +103,7 @@ class SyncthingApp(app_module.App): def init(): - """Intialize the module.""" + """Initialize the module.""" global app app = SyncthingApp() register_group(group) diff --git a/plinth/modules/tahoe/__init__.py b/plinth/modules/tahoe/__init__.py index 5dac44462..9eeea62e6 100644 --- a/plinth/modules/tahoe/__init__.py +++ b/plinth/modules/tahoe/__init__.py @@ -128,7 +128,7 @@ description = [ def init(): - """Intialize the module.""" + """Initialize the module.""" global app app = TahoeApp() diff --git a/plinth/modules/ttrss/__init__.py b/plinth/modules/ttrss/__init__.py index 7e25e0a1e..381d72ea5 100644 --- a/plinth/modules/ttrss/__init__.py +++ b/plinth/modules/ttrss/__init__.py @@ -102,7 +102,7 @@ class TTRSSApp(app_module.App): def init(): - """Intialize the module.""" + """Initialize the module.""" global app app = TTRSSApp() register_group(group) diff --git a/plinth/modules/users/__init__.py b/plinth/modules/users/__init__.py index 937b2ab38..394b68992 100644 --- a/plinth/modules/users/__init__.py +++ b/plinth/modules/users/__init__.py @@ -65,7 +65,7 @@ class UsersApp(app_module.App): def init(): - """Intialize the user module.""" + """Initialize the user module.""" global app app = UsersApp() app.set_enabled(True) diff --git a/plinth/views.py b/plinth/views.py index b1ddf259e..f2205be0c 100644 --- a/plinth/views.py +++ b/plinth/views.py @@ -126,7 +126,7 @@ class AppView(FormView): port_forwarding_info = None def __init__(self, *args, **kwargs): - """Intialize the view.""" + """Initialize the view.""" super().__init__(*args, **kwargs) self._common_status = None