diff --git a/Source/HedgeModManager.UI/Controls/Modals/MessageBoxModal.axaml b/Source/HedgeModManager.UI/Controls/Modals/MessageBoxModal.axaml index 5165545..3fb1821 100644 --- a/Source/HedgeModManager.UI/Controls/Modals/MessageBoxModal.axaml +++ b/Source/HedgeModManager.UI/Controls/Modals/MessageBoxModal.axaml @@ -17,7 +17,9 @@ HorizontalAlignment="Right" /> - + + + diff --git a/Source/HedgeModManager.UI/Languages/en-AU.axaml b/Source/HedgeModManager.UI/Languages/en-AU.axaml index 22dc85e..0e04273 100644 --- a/Source/HedgeModManager.UI/Languages/en-AU.axaml +++ b/Source/HedgeModManager.UI/Languages/en-AU.axaml @@ -185,7 +185,7 @@ The mods listed below are missing and are required to play. {0} An error occurred while trying to install the mod loader. Check log for exception. Hedge Mod Manager does not have permissions to the selected directory. Please select another directory. - There is an update available for {0}. Would you like to update the mod? + There is an update available for {0} ({1} -> {2}). Would you like to update the mod? An unknown error occurred while updating "{0}". Please try again later. An unknown error has occurred. Hedge Mod Manager was unable to save due to an unknown error. diff --git a/Source/HedgeModManager.UI/ViewModels/MainWindowViewModel.cs b/Source/HedgeModManager.UI/ViewModels/MainWindowViewModel.cs index 3839035..92fe7a7 100644 --- a/Source/HedgeModManager.UI/ViewModels/MainWindowViewModel.cs +++ b/Source/HedgeModManager.UI/ViewModels/MainWindowViewModel.cs @@ -260,7 +260,12 @@ public async Task CheckForAllModUpdatesAsync() Logger.Debug($" Latest: {info.Version}"); if (promptUpdate) { - var messageBox = new MessageBoxModal("Modal.Title.UpdateMod", Localize("Modal.Message.UpdateMod", mod.Title)); + var message = Localize("Modal.Message.UpdateMod", mod.Title, mod.Version, info.Version); + if (!string.IsNullOrEmpty(info.Changelog)) + { + message += "\n\n" + info.Changelog; + } + var messageBox = new MessageBoxModal(Localize("Modal.Title.UpdateMod"), message); messageBox.AddButton("Common.Button.Cancel", (s, e) => messageBox.Close()); messageBox.AddButton("Common.Button.Update", async (s, e) => {