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:
James Valleroy authored and Sunil Mohan Adapa committed 2024-05-02 21:48:57 -07:00
1 parent 35c2326261
commit f5f687c8fd
5 files changed
+47 -13

No files matched your search

+2 -2
View File
@@ -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: