diff --git a/Global_Indexer/frmStart.vb b/Global_Indexer/frmStart.vb index a16f846..1a28e85 100644 --- a/Global_Indexer/frmStart.vb +++ b/Global_Indexer/frmStart.vb @@ -672,7 +672,15 @@ Public Class frmStart If ClassDatabase.DatabaseConnectionTimeout = True Then TimerFolderWatch.Enabled = False - Dim result = MsgBox($"Database could not be reached. Global Indexer will NOT work without a database!{vbCrLf}{vbCrLf}Please check your connection.{vbCrLf}The Application will exit now.", MsgBoxStyle.Critical, "Critical Error") + Dim title = "Critical Error" + Dim message = $"Database could not be reached. Global Indexer will NOT work without a database!{vbCrLf}{vbCrLf}Please check your connection.{vbCrLf}The Application will exit now." + + If USER_LANGUAGE = "de-DE" Then + title = "Kritischer Fehler" + message = $"Die Datenbank konnte nicht erreicht werden. Global Indexer funktioniert NICHT ohne Datenbankverbindung{vbCrLf}{vbCrLf}Bitte überprüfen Sie Ihre Netzwerkverbindung oder benachrichtigen Sie Ihren Administrator.{vbCrLf}Die Anwendung wird nun geschlossen." + End If + + Dim result = MsgBox(message, MsgBoxStyle.Critical, title) If result = MsgBoxResult.Ok Then Application.ExitThread()