mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-11-29 08:25:10 +00:00
diagnostics: Change "Re-run setup" to "Try to repair"
Signed-off-by: James Valleroy <jvalleroy@mailbox.org> [sunil: Fix issue with formatting i18n message] Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org> Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
This commit is contained in:
1 parent
35c2326261
commit
f5f687c8fd
5 files changed
+47
-13
No files matched your search
@@ -128,7 +128,7 @@ def _run_on_all_enabled_modules():
|
||||
app_results = {
|
||||
'diagnosis': [],
|
||||
'exception': None,
|
||||
'show_rerun_setup': False,
|
||||
'show_repair': False,
|
||||
}
|
||||
|
||||
try:
|
||||
@@ -140,7 +140,7 @@ def _run_on_all_enabled_modules():
|
||||
|
||||
for check in app_results['diagnosis']:
|
||||
if check.result in [Result.FAILED, Result.WARNING]:
|
||||
app_results['show_rerun_setup'] = True
|
||||
app_results['show_repair'] = True
|
||||
break
|
||||
|
||||
with results_lock:
|
||||
|
||||
Reference in new issue
Block a user