mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-01-21 07:55:00 +00:00
Fix a handful of typos in docs and comments
Found with [codespell](https://github.com/codespell-project/codespell/) Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
This commit is contained in:
parent
45614b198b
commit
d2e987ef3c
@ -14,5 +14,5 @@ cat <<"EOF"
|
||||
|
||||
FreedomBox is a pure blend of Debian GNU/Linux. Web interface is available at
|
||||
https://localhost/ . FreedomBox manual is available in /usr/share/doc/freedombox
|
||||
and from the web interace.
|
||||
and from the web interface.
|
||||
EOF
|
||||
|
||||
2
debian/control
vendored
2
debian/control
vendored
@ -142,7 +142,7 @@ Recommends:
|
||||
openssh-client,
|
||||
# Priority: standard
|
||||
pciutils,
|
||||
# fuser, pstree and other utilites
|
||||
# fuser, pstree and other utilities
|
||||
psmisc,
|
||||
# Optional FreedomBox dependency
|
||||
python3-systemd,
|
||||
|
||||
@ -6871,7 +6871,7 @@ Password:
|
||||
</tgroup>
|
||||
</informaltable>
|
||||
<section>
|
||||
<title>Hardware Comparision</title>
|
||||
<title>Hardware Comparison</title>
|
||||
<informaltable>
|
||||
<tgroup cols="9">
|
||||
<colspec colname="col_0"/>
|
||||
|
||||
@ -180,7 +180,7 @@
|
||||
<refsect1>
|
||||
<title>Configuration</title>
|
||||
<para>
|
||||
Plinth reads various configuraiton options from the file
|
||||
Plinth reads various configuration options from the file
|
||||
<filename>/etc/plinth/plinth.config</filename>. If this file is
|
||||
not present, then it reads configuration file
|
||||
<filename>./plinth.config</filename> from the current directory.
|
||||
|
||||
@ -126,7 +126,7 @@ def service_reload(service_name):
|
||||
|
||||
|
||||
def service_action(service_name, action):
|
||||
"""Preform the given action on the service_name."""
|
||||
"""Perform the given action on the service_name."""
|
||||
if is_systemd_running():
|
||||
subprocess.run(['systemctl', action, service_name],
|
||||
stdout=subprocess.DEVNULL)
|
||||
@ -222,7 +222,7 @@ class WebserverChange(object):
|
||||
def __exit__(self, exc_type, exc_value, traceback):
|
||||
"""Restart or reload the webserver.
|
||||
|
||||
Don't supress exceptions. If an exception occurs
|
||||
Don't suppress exceptions. If an exception occurs
|
||||
restart/reload the webserver based on enable/disable
|
||||
operations done so far.
|
||||
"""
|
||||
@ -435,7 +435,7 @@ def diagnose_netcat(host, port, input='', negate=False):
|
||||
|
||||
|
||||
def get_addresses():
|
||||
"""Return a list of IP addreses and hostnames."""
|
||||
"""Return a list of IP addresses and hostnames."""
|
||||
addresses = get_ip_addresses()
|
||||
|
||||
hostname = get_hostname()
|
||||
|
||||
@ -828,7 +828,7 @@ msgid "Run Diagnostics"
|
||||
msgstr ""
|
||||
|
||||
#: plinth/modules/diagnostics/templates/diagnostics.html:46
|
||||
msgid "Diagnotics test is currently running"
|
||||
msgid "Diagnostics test is currently running"
|
||||
msgstr ""
|
||||
|
||||
#: plinth/modules/diagnostics/templates/diagnostics.html:59
|
||||
|
||||
@ -830,7 +830,7 @@ msgid "Run Diagnostics"
|
||||
msgstr ""
|
||||
|
||||
#: plinth/modules/diagnostics/templates/diagnostics.html:46
|
||||
msgid "Diagnotics test is currently running"
|
||||
msgid "Diagnostics test is currently running"
|
||||
msgstr ""
|
||||
|
||||
#: plinth/modules/diagnostics/templates/diagnostics.html:59
|
||||
|
||||
@ -920,7 +920,7 @@ msgid "Run Diagnostics"
|
||||
msgstr "Spustit diagnostiku"
|
||||
|
||||
#: plinth/modules/diagnostics/templates/diagnostics.html:46
|
||||
msgid "Diagnotics test is currently running"
|
||||
msgid "Diagnostics test is currently running"
|
||||
msgstr "Diagnostické testy právě probíhají"
|
||||
|
||||
#: plinth/modules/diagnostics/templates/diagnostics.html:59
|
||||
|
||||
@ -950,7 +950,7 @@ msgid "Run Diagnostics"
|
||||
msgstr "Kør Diagnostik"
|
||||
|
||||
#: plinth/modules/diagnostics/templates/diagnostics.html:46
|
||||
msgid "Diagnotics test is currently running"
|
||||
msgid "Diagnostics test is currently running"
|
||||
msgstr "Diagnostisk test kører"
|
||||
|
||||
#: plinth/modules/diagnostics/templates/diagnostics.html:59
|
||||
|
||||
@ -926,7 +926,7 @@ msgid "Run Diagnostics"
|
||||
msgstr "Diagnose starten"
|
||||
|
||||
#: plinth/modules/diagnostics/templates/diagnostics.html:46
|
||||
msgid "Diagnotics test is currently running"
|
||||
msgid "Diagnostics test is currently running"
|
||||
msgstr "Diagnose läuft"
|
||||
|
||||
#: plinth/modules/diagnostics/templates/diagnostics.html:59
|
||||
|
||||
@ -829,7 +829,7 @@ msgid "Run Diagnostics"
|
||||
msgstr ""
|
||||
|
||||
#: plinth/modules/diagnostics/templates/diagnostics.html:46
|
||||
msgid "Diagnotics test is currently running"
|
||||
msgid "Diagnostics test is currently running"
|
||||
msgstr ""
|
||||
|
||||
#: plinth/modules/diagnostics/templates/diagnostics.html:59
|
||||
|
||||
@ -828,7 +828,7 @@ msgid "Run Diagnostics"
|
||||
msgstr ""
|
||||
|
||||
#: plinth/modules/diagnostics/templates/diagnostics.html:46
|
||||
msgid "Diagnotics test is currently running"
|
||||
msgid "Diagnostics test is currently running"
|
||||
msgstr ""
|
||||
|
||||
#: plinth/modules/diagnostics/templates/diagnostics.html:59
|
||||
|
||||
@ -928,7 +928,7 @@ msgid "Run Diagnostics"
|
||||
msgstr "Ejecutar diagnósticos"
|
||||
|
||||
#: plinth/modules/diagnostics/templates/diagnostics.html:46
|
||||
msgid "Diagnotics test is currently running"
|
||||
msgid "Diagnostics test is currently running"
|
||||
msgstr "El test de diagnósticos está ejecutándose"
|
||||
|
||||
#: plinth/modules/diagnostics/templates/diagnostics.html:59
|
||||
|
||||
@ -916,7 +916,7 @@ msgid "Run Diagnostics"
|
||||
msgstr "اجرای عیبیابی"
|
||||
|
||||
#: plinth/modules/diagnostics/templates/diagnostics.html:46
|
||||
msgid "Diagnotics test is currently running"
|
||||
msgid "Diagnostics test is currently running"
|
||||
msgstr "آزمون عیبیابی در حال اجراست"
|
||||
|
||||
#: plinth/modules/diagnostics/templates/diagnostics.html:59
|
||||
|
||||
@ -960,7 +960,7 @@ msgid "Run Diagnostics"
|
||||
msgstr "RUN DIAGNOSTICS"
|
||||
|
||||
#: plinth/modules/diagnostics/templates/diagnostics.html:46
|
||||
msgid "Diagnotics test is currently running"
|
||||
msgid "Diagnostics test is currently running"
|
||||
msgstr "DIAGNOTICS TEST IS CURRENTLY RUNNING"
|
||||
|
||||
#: plinth/modules/diagnostics/templates/diagnostics.html:59
|
||||
|
||||
@ -920,7 +920,7 @@ msgid "Run Diagnostics"
|
||||
msgstr "Lancer les diagnostics"
|
||||
|
||||
#: plinth/modules/diagnostics/templates/diagnostics.html:46
|
||||
msgid "Diagnotics test is currently running"
|
||||
msgid "Diagnostics test is currently running"
|
||||
msgstr "Les tests de diagnostic sont en cours"
|
||||
|
||||
#: plinth/modules/diagnostics/templates/diagnostics.html:59
|
||||
|
||||
@ -833,7 +833,7 @@ msgid "Run Diagnostics"
|
||||
msgstr ""
|
||||
|
||||
#: plinth/modules/diagnostics/templates/diagnostics.html:46
|
||||
msgid "Diagnotics test is currently running"
|
||||
msgid "Diagnostics test is currently running"
|
||||
msgstr ""
|
||||
|
||||
#: plinth/modules/diagnostics/templates/diagnostics.html:59
|
||||
|
||||
@ -880,7 +880,7 @@ msgid "Run Diagnostics"
|
||||
msgstr "તપાસ કરો"
|
||||
|
||||
#: plinth/modules/diagnostics/templates/diagnostics.html:46
|
||||
msgid "Diagnotics test is currently running"
|
||||
msgid "Diagnostics test is currently running"
|
||||
msgstr "તપાસકીય પરિક્ષણ ચાલી રહ્યું છે"
|
||||
|
||||
#: plinth/modules/diagnostics/templates/diagnostics.html:59
|
||||
|
||||
@ -932,7 +932,7 @@ msgid "Run Diagnostics"
|
||||
msgstr "निदानिकी चलिये"
|
||||
|
||||
#: plinth/modules/diagnostics/templates/diagnostics.html:46
|
||||
msgid "Diagnotics test is currently running"
|
||||
msgid "Diagnostics test is currently running"
|
||||
msgstr "निदानिकी परिक्षा अभी चल रहा है"
|
||||
|
||||
#: plinth/modules/diagnostics/templates/diagnostics.html:59
|
||||
|
||||
@ -928,7 +928,7 @@ msgid "Run Diagnostics"
|
||||
msgstr "Ellenőrzés indítása"
|
||||
|
||||
#: plinth/modules/diagnostics/templates/diagnostics.html:46
|
||||
msgid "Diagnotics test is currently running"
|
||||
msgid "Diagnostics test is currently running"
|
||||
msgstr "Az ellenőrzés jelenleg fut"
|
||||
|
||||
#: plinth/modules/diagnostics/templates/diagnostics.html:59
|
||||
|
||||
@ -872,7 +872,7 @@ msgid "Run Diagnostics"
|
||||
msgstr "Jalankan Diagnosa"
|
||||
|
||||
#: plinth/modules/diagnostics/templates/diagnostics.html:46
|
||||
msgid "Diagnotics test is currently running"
|
||||
msgid "Diagnostics test is currently running"
|
||||
msgstr ""
|
||||
|
||||
#: plinth/modules/diagnostics/templates/diagnostics.html:59
|
||||
|
||||
@ -910,7 +910,7 @@ msgid "Run Diagnostics"
|
||||
msgstr "Esegui Diagnostica"
|
||||
|
||||
#: plinth/modules/diagnostics/templates/diagnostics.html:46
|
||||
msgid "Diagnotics test is currently running"
|
||||
msgid "Diagnostics test is currently running"
|
||||
msgstr "Il test diagnostico è in esecuzione"
|
||||
|
||||
#: plinth/modules/diagnostics/templates/diagnostics.html:59
|
||||
|
||||
@ -830,7 +830,7 @@ msgid "Run Diagnostics"
|
||||
msgstr ""
|
||||
|
||||
#: plinth/modules/diagnostics/templates/diagnostics.html:46
|
||||
msgid "Diagnotics test is currently running"
|
||||
msgid "Diagnostics test is currently running"
|
||||
msgstr ""
|
||||
|
||||
#: plinth/modules/diagnostics/templates/diagnostics.html:59
|
||||
|
||||
@ -830,7 +830,7 @@ msgid "Run Diagnostics"
|
||||
msgstr ""
|
||||
|
||||
#: plinth/modules/diagnostics/templates/diagnostics.html:46
|
||||
msgid "Diagnotics test is currently running"
|
||||
msgid "Diagnostics test is currently running"
|
||||
msgstr ""
|
||||
|
||||
#: plinth/modules/diagnostics/templates/diagnostics.html:59
|
||||
|
||||
@ -831,7 +831,7 @@ msgid "Run Diagnostics"
|
||||
msgstr ""
|
||||
|
||||
#: plinth/modules/diagnostics/templates/diagnostics.html:46
|
||||
msgid "Diagnotics test is currently running"
|
||||
msgid "Diagnostics test is currently running"
|
||||
msgstr ""
|
||||
|
||||
#: plinth/modules/diagnostics/templates/diagnostics.html:59
|
||||
|
||||
@ -927,7 +927,7 @@ msgid "Run Diagnostics"
|
||||
msgstr "Kjør diagnostikk"
|
||||
|
||||
#: plinth/modules/diagnostics/templates/diagnostics.html:46
|
||||
msgid "Diagnotics test is currently running"
|
||||
msgid "Diagnostics test is currently running"
|
||||
msgstr "Diagnostikktest kjører nå"
|
||||
|
||||
#: plinth/modules/diagnostics/templates/diagnostics.html:59
|
||||
|
||||
@ -941,7 +941,7 @@ msgid "Run Diagnostics"
|
||||
msgstr "Voer Diagnostische test uit"
|
||||
|
||||
#: plinth/modules/diagnostics/templates/diagnostics.html:46
|
||||
msgid "Diagnotics test is currently running"
|
||||
msgid "Diagnostics test is currently running"
|
||||
msgstr "Diagnosetests worden doorlopen"
|
||||
|
||||
#: plinth/modules/diagnostics/templates/diagnostics.html:59
|
||||
|
||||
@ -915,7 +915,7 @@ msgid "Run Diagnostics"
|
||||
msgstr "Uruchom diagnostykę"
|
||||
|
||||
#: plinth/modules/diagnostics/templates/diagnostics.html:46
|
||||
msgid "Diagnotics test is currently running"
|
||||
msgid "Diagnostics test is currently running"
|
||||
msgstr "Diagnostyka jest właśnie uruchomiona"
|
||||
|
||||
#: plinth/modules/diagnostics/templates/diagnostics.html:59
|
||||
|
||||
@ -920,7 +920,7 @@ msgid "Run Diagnostics"
|
||||
msgstr ""
|
||||
|
||||
#: plinth/modules/diagnostics/templates/diagnostics.html:46
|
||||
msgid "Diagnotics test is currently running"
|
||||
msgid "Diagnostics test is currently running"
|
||||
msgstr ""
|
||||
|
||||
#: plinth/modules/diagnostics/templates/diagnostics.html:59
|
||||
|
||||
@ -921,7 +921,7 @@ msgid "Run Diagnostics"
|
||||
msgstr "Запуск диагностики"
|
||||
|
||||
#: plinth/modules/diagnostics/templates/diagnostics.html:46
|
||||
msgid "Diagnotics test is currently running"
|
||||
msgid "Diagnostics test is currently running"
|
||||
msgstr "В настоящее время запущен диагностический тест"
|
||||
|
||||
#: plinth/modules/diagnostics/templates/diagnostics.html:59
|
||||
|
||||
@ -906,7 +906,7 @@ msgid "Run Diagnostics"
|
||||
msgstr ""
|
||||
|
||||
#: plinth/modules/diagnostics/templates/diagnostics.html:46
|
||||
msgid "Diagnotics test is currently running"
|
||||
msgid "Diagnostics test is currently running"
|
||||
msgstr ""
|
||||
|
||||
#: plinth/modules/diagnostics/templates/diagnostics.html:59
|
||||
|
||||
@ -923,7 +923,7 @@ msgid "Run Diagnostics"
|
||||
msgstr "Utför diagnostik"
|
||||
|
||||
#: plinth/modules/diagnostics/templates/diagnostics.html:46
|
||||
msgid "Diagnotics test is currently running"
|
||||
msgid "Diagnostics test is currently running"
|
||||
msgstr "Diagnotiktest körs för närvarande"
|
||||
|
||||
#: plinth/modules/diagnostics/templates/diagnostics.html:59
|
||||
|
||||
@ -830,7 +830,7 @@ msgid "Run Diagnostics"
|
||||
msgstr ""
|
||||
|
||||
#: plinth/modules/diagnostics/templates/diagnostics.html:46
|
||||
msgid "Diagnotics test is currently running"
|
||||
msgid "Diagnostics test is currently running"
|
||||
msgstr ""
|
||||
|
||||
#: plinth/modules/diagnostics/templates/diagnostics.html:59
|
||||
|
||||
@ -921,7 +921,7 @@ msgid "Run Diagnostics"
|
||||
msgstr "లక్షణాలను నడుపు"
|
||||
|
||||
#: plinth/modules/diagnostics/templates/diagnostics.html:46
|
||||
msgid "Diagnotics test is currently running"
|
||||
msgid "Diagnostics test is currently running"
|
||||
msgstr "ప్రస్తుతం నిర్ధారణ పరీక్ష నడుస్తుంది"
|
||||
|
||||
#: plinth/modules/diagnostics/templates/diagnostics.html:59
|
||||
|
||||
@ -930,7 +930,7 @@ msgid "Run Diagnostics"
|
||||
msgstr "Teşhisleri Çalıştır"
|
||||
|
||||
#: plinth/modules/diagnostics/templates/diagnostics.html:46
|
||||
msgid "Diagnotics test is currently running"
|
||||
msgid "Diagnostics test is currently running"
|
||||
msgstr "Teşhis testi şu anda çalışmaktadır"
|
||||
|
||||
#: plinth/modules/diagnostics/templates/diagnostics.html:59
|
||||
|
||||
@ -864,7 +864,7 @@ msgid "Run Diagnostics"
|
||||
msgstr ""
|
||||
|
||||
#: plinth/modules/diagnostics/templates/diagnostics.html:46
|
||||
msgid "Diagnotics test is currently running"
|
||||
msgid "Diagnostics test is currently running"
|
||||
msgstr ""
|
||||
|
||||
#: plinth/modules/diagnostics/templates/diagnostics.html:59
|
||||
|
||||
@ -893,7 +893,7 @@ msgid "Run Diagnostics"
|
||||
msgstr "运行诊断程序"
|
||||
|
||||
#: plinth/modules/diagnostics/templates/diagnostics.html:46
|
||||
msgid "Diagnotics test is currently running"
|
||||
msgid "Diagnostics test is currently running"
|
||||
msgstr "当前正在运行诊断测试"
|
||||
|
||||
#: plinth/modules/diagnostics/templates/diagnostics.html:59
|
||||
|
||||
@ -399,7 +399,7 @@ class ServiceHandler:
|
||||
|
||||
|
||||
class SystemServiceHandler(ServiceHandler):
|
||||
"""Handle starting and stoping of system services for backup."""
|
||||
"""Handle starting and stopping of system services for backup."""
|
||||
|
||||
def __init__(self, backup_app, service):
|
||||
"""Initialize the object."""
|
||||
@ -419,7 +419,7 @@ class SystemServiceHandler(ServiceHandler):
|
||||
|
||||
|
||||
class ApacheServiceHandler(ServiceHandler):
|
||||
"""Handle starting and stoping of Apache services for backup."""
|
||||
"""Handle starting and stopping of Apache services for backup."""
|
||||
|
||||
def __init__(self, backup_app, service):
|
||||
"""Initialize the object."""
|
||||
|
||||
@ -240,7 +240,7 @@ class SshBorgRepository(BorgRepository):
|
||||
|
||||
def __init__(self, uuid=None, path=None, credentials=None, **kwargs):
|
||||
"""
|
||||
Instanciate a new repository.
|
||||
Instantiate a new repository.
|
||||
|
||||
If only a uuid is given, load the values from kvstore.
|
||||
"""
|
||||
|
||||
@ -43,7 +43,7 @@
|
||||
value="{% trans "Run Diagnostics" %}"/>
|
||||
</form>
|
||||
{% else %}
|
||||
<p>{% trans "Diagnotics test is currently running" %}</p>
|
||||
<p>{% trans "Diagnostics test is currently running" %}</p>
|
||||
<div class="progress">
|
||||
<div class="progress-bar progress-bar-striped active"
|
||||
role="progressbar" aria-valuemin="0" aria-valuemax="100"
|
||||
|
||||
@ -142,6 +142,6 @@ def is_public_registration_enabled():
|
||||
|
||||
|
||||
def is_private_mode_enabled():
|
||||
""" Return wheter private mode is enabled or disabled"""
|
||||
""" Return whether private mode is enabled or disabled"""
|
||||
output = actions.superuser_run('mediawiki', ['private-mode', 'status'])
|
||||
return output.strip() == 'enabled'
|
||||
|
||||
@ -27,7 +27,7 @@ import pytest
|
||||
|
||||
|
||||
def _get_partition_device(device, partition_number):
|
||||
"""Return the device corresponding to a parition in a given device."""
|
||||
"""Return the device corresponding to a partition in a given device."""
|
||||
if re.match('[0-9]', device[-1]):
|
||||
return device + 'p' + str(partition_number)
|
||||
|
||||
@ -192,7 +192,7 @@ class TestActions:
|
||||
self.assert_ext4_file_system_healthy(1)
|
||||
|
||||
def assert_free_space(self, partition_number, space=True):
|
||||
"""Verify that free is available/not available after a parition."""
|
||||
"""Verify that free is available/not available after a partition."""
|
||||
device = _get_partition_device(self.device, partition_number)
|
||||
result = self.run_action(
|
||||
['storage', 'is-partition-expandable', device])
|
||||
|
||||
@ -104,7 +104,7 @@ class UserUpdate(ContextMixin, SuccessMessageMixin, UpdateView):
|
||||
return super().dispatch(request, *args, **kwargs)
|
||||
|
||||
def get_form_kwargs(self):
|
||||
"""Make the requst object available to the form."""
|
||||
"""Make the request object available to the form."""
|
||||
kwargs = super(UserUpdate, self).get_form_kwargs()
|
||||
kwargs['request'] = self.request
|
||||
kwargs['username'] = self.object.username
|
||||
|
||||
@ -360,7 +360,7 @@ class ForceUpgrader():
|
||||
|
||||
When upgrades packages, many things have to be kept in mind. The following
|
||||
is the understanding on how unattended-upgrades does its upgrades. These
|
||||
precautions need to be taken into account whenever relavent.
|
||||
precautions need to be taken into account whenever relevant.
|
||||
|
||||
Checks done by unattended upgrades before upgrading:
|
||||
- Check if today is a configured patch day.
|
||||
|
||||
@ -34,7 +34,7 @@ class TestIsAdminUser:
|
||||
@staticmethod
|
||||
@pytest.fixture(name='web_request')
|
||||
def fixture_web_request():
|
||||
"""Setup each test case befor execution."""
|
||||
"""Setup each test case before execution."""
|
||||
web_request = RequestFactory().get('/plinth/mockapp')
|
||||
web_request.user = Mock()
|
||||
web_request.session = MagicMock()
|
||||
|
||||
@ -56,7 +56,7 @@ format_lazy = lazy(_format_lazy, str)
|
||||
|
||||
|
||||
def non_admin_view(func):
|
||||
"""Decorator to mark a view as accesible by non-admin users."""
|
||||
"""Decorator to mark a view as accessible by non-admin users."""
|
||||
setattr(func, 'IS_NON_ADMIN', True)
|
||||
return func
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user