From 337763f7294b15ca3db248da2dde5bf516ec3681 Mon Sep 17 00:00:00 2001 From: Oto Ciulis Date: Wed, 20 Nov 2024 07:36:49 -0800 Subject: [PATCH] feat: #270 Improve error view --- src/i18n.ts | 7 ++++++ src/views/ServerStartView.vue | 45 ++++++++++++++++++++++++++++++++--- 2 files changed, 49 insertions(+), 3 deletions(-) diff --git a/src/i18n.ts b/src/i18n.ts index 4357ce499..c5c3e7d1a 100644 --- a/src/i18n.ts +++ b/src/i18n.ts @@ -53,6 +53,13 @@ const messages = { } } }, + serverStartView: { + errorTitle: 'Error', + errorDescription: 'An error while setting up Python.', + reinstall: 'Reinstall', + reportIssue: 'Report Issue', + openLogs: 'Open Logs' + }, firstTimeUIMessage: 'This is the first time you use the new UI. Choose "Menu > Use New Menu > Disabled" to restore the old UI.', download: 'Download', diff --git a/src/views/ServerStartView.vue b/src/views/ServerStartView.vue index 4cfba95de..0564a1bf6 100644 --- a/src/views/ServerStartView.vue +++ b/src/views/ServerStartView.vue @@ -2,23 +2,56 @@
-

{{ ProgressMessages[status] }}

+
+

{{ $t('serverStartView.errorTitle') }}

+

{{ $t('serverStartView.errorDescription') }}

+
+
+