From 26923435e7ef995e5327b67ccfa4354942f8f37b Mon Sep 17 00:00:00 2001 From: Ezra Date: Fri, 13 Dec 2024 15:08:47 +1300 Subject: [PATCH] enhance: improve readability of default clone dir errors. (#813) --- src/ViewModels/Welcome.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ViewModels/Welcome.cs b/src/ViewModels/Welcome.cs index 04ffef87..3645744f 100644 --- a/src/ViewModels/Welcome.cs +++ b/src/ViewModels/Welcome.cs @@ -119,9 +119,9 @@ namespace SourceGit.ViewModels { var defaultCloneDir = Preference.Instance.GitDefaultCloneDir; if (string.IsNullOrEmpty(defaultCloneDir)) - App.RaiseException(PopupHost.Active.GetId(), "The default clone dir haven't been configured!"); + App.RaiseException(PopupHost.Active.GetId(), "The default clone dir hasn't been configured!"); else if (!Directory.Exists(defaultCloneDir)) - App.RaiseException(PopupHost.Active.GetId(), $"The default clone dir '{defaultCloneDir}' is not exists!"); + App.RaiseException(PopupHost.Active.GetId(), $"The default clone dir '{defaultCloneDir}' does not exist!"); else if (PopupHost.CanCreatePopup()) PopupHost.ShowAndStartPopup(new ScanRepositories(defaultCloneDir)); }