From f2fb6453a13d7e609bb8456843e208e8e3e7901a Mon Sep 17 00:00:00 2001 From: Moritz Haase Date: Thu, 24 Mar 2022 13:42:57 +0100 Subject: pkg/gui: Show notification popup when update was successful Show a proper notification popup once an update has been installed successfully so the user knows we're done (so far a popup is only shown if an error occurred). The popup also reminds him to restart lazygit for the changes to take effect. --- pkg/i18n/english.go | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'pkg/i18n') diff --git a/pkg/i18n/english.go b/pkg/i18n/english.go index f7f02600e..585da5e30 100644 --- a/pkg/i18n/english.go +++ b/pkg/i18n/english.go @@ -132,6 +132,8 @@ type TranslationSet struct { UpdateAvailableTitle string UpdateAvailable string UpdateInProgressWaitingStatus string + UpdateCompletedTitle string + UpdateCompleted string FailedToRetrieveLatestVersionErr string OnLatestVersionErr string MajorVersionErr string @@ -729,6 +731,8 @@ func EnglishTranslationSet() TranslationSet { UpdateAvailableTitle: "Update available!", UpdateAvailable: "Download and install version {{.newVersion}}?", UpdateInProgressWaitingStatus: "updating", + UpdateCompletedTitle: "Update completed!", + UpdateCompleted: "Update has been installed successfully. Restart lazygit for it to take effect.", FailedToRetrieveLatestVersionErr: "Failed to retrieve version information", OnLatestVersionErr: "You already have the latest version", MajorVersionErr: "New version ({{.newVersion}}) has non-backwards compatible changes compared to the current version ({{.currentVersion}})", -- cgit v1.2.3