mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-01-21 07:55:00 +00:00
Fix typos in module init docs
Intialize -> Initialize Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
This commit is contained in:
parent
bd951fbf2b
commit
f81b1751ce
@ -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:
|
||||
|
||||
@ -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
|
||||
|
||||
|
||||
@ -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():
|
||||
|
||||
@ -71,7 +71,7 @@ class BackupsApp(app_module.App):
|
||||
|
||||
|
||||
def init():
|
||||
"""Intialize the module."""
|
||||
"""Initialize the module."""
|
||||
global app
|
||||
app = BackupsApp()
|
||||
|
||||
|
||||
@ -107,7 +107,7 @@ class BindApp(app_module.App):
|
||||
|
||||
|
||||
def init():
|
||||
"""Intialize the BIND module."""
|
||||
"""Initialize the BIND module."""
|
||||
global app
|
||||
app = BindApp()
|
||||
|
||||
|
||||
@ -94,7 +94,7 @@ class CockpitApp(app_module.App):
|
||||
|
||||
|
||||
def init():
|
||||
"""Intialize the module."""
|
||||
"""Initialize the module."""
|
||||
global app
|
||||
app = CockpitApp()
|
||||
|
||||
|
||||
@ -87,7 +87,7 @@ class CoquelicotApp(app_module.App):
|
||||
|
||||
|
||||
def init():
|
||||
"""Intialize the module."""
|
||||
"""Initialize the module."""
|
||||
global app
|
||||
app = CoquelicotApp()
|
||||
|
||||
|
||||
@ -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():
|
||||
|
||||
@ -110,7 +110,7 @@ class I2PApp(app_module.App):
|
||||
|
||||
|
||||
def init():
|
||||
"""Intialize the module."""
|
||||
"""Initialize the module."""
|
||||
global app
|
||||
app = I2PApp()
|
||||
register_group(group)
|
||||
|
||||
@ -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)
|
||||
|
||||
@ -107,7 +107,7 @@ class Shortcut(frontpage.Shortcut):
|
||||
|
||||
|
||||
def init():
|
||||
"""Intialize the module."""
|
||||
"""Initialize the module."""
|
||||
global app
|
||||
app = MediaWikiApp()
|
||||
|
||||
|
||||
@ -89,7 +89,7 @@ class MumbleApp(app_module.App):
|
||||
|
||||
|
||||
def init():
|
||||
"""Intialize the Mumble module."""
|
||||
"""Initialize the Mumble module."""
|
||||
global app
|
||||
app = MumbleApp()
|
||||
|
||||
|
||||
@ -96,7 +96,7 @@ class PagekiteApp(app_module.App):
|
||||
|
||||
|
||||
def init():
|
||||
"""Intialize the PageKite module"""
|
||||
"""Initialize the PageKite module"""
|
||||
global app
|
||||
app = PagekiteApp()
|
||||
|
||||
|
||||
@ -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
|
||||
|
||||
|
||||
@ -93,7 +93,7 @@ class PrivoxyApp(app_module.App):
|
||||
|
||||
|
||||
def init():
|
||||
"""Intialize the module."""
|
||||
"""Initialize the module."""
|
||||
global app
|
||||
app = PrivoxyApp()
|
||||
|
||||
|
||||
@ -91,7 +91,7 @@ class RoundcubeApp(app_module.App):
|
||||
|
||||
|
||||
def init():
|
||||
"""Intialize the module."""
|
||||
"""Initialize the module."""
|
||||
global app
|
||||
app = RoundcubeApp()
|
||||
|
||||
|
||||
@ -109,7 +109,7 @@ class SearxWebserverAuth(Webserver):
|
||||
|
||||
|
||||
def init():
|
||||
"""Intialize the module."""
|
||||
"""Initialize the module."""
|
||||
global app
|
||||
app = SearxApp()
|
||||
register_group(group)
|
||||
|
||||
@ -89,7 +89,7 @@ class ShadowsocksApp(app_module.App):
|
||||
|
||||
|
||||
def init():
|
||||
"""Intialize the module."""
|
||||
"""Initialize the module."""
|
||||
global app
|
||||
app = ShadowsocksApp()
|
||||
|
||||
|
||||
@ -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():
|
||||
|
||||
@ -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)
|
||||
|
||||
@ -103,7 +103,7 @@ class SyncthingApp(app_module.App):
|
||||
|
||||
|
||||
def init():
|
||||
"""Intialize the module."""
|
||||
"""Initialize the module."""
|
||||
global app
|
||||
app = SyncthingApp()
|
||||
register_group(group)
|
||||
|
||||
@ -128,7 +128,7 @@ description = [
|
||||
|
||||
|
||||
def init():
|
||||
"""Intialize the module."""
|
||||
"""Initialize the module."""
|
||||
global app
|
||||
app = TahoeApp()
|
||||
|
||||
|
||||
@ -102,7 +102,7 @@ class TTRSSApp(app_module.App):
|
||||
|
||||
|
||||
def init():
|
||||
"""Intialize the module."""
|
||||
"""Initialize the module."""
|
||||
global app
|
||||
app = TTRSSApp()
|
||||
register_group(group)
|
||||
|
||||
@ -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)
|
||||
|
||||
@ -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
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user