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