diff --git a/GBM/Forms/frmGameManager.vb b/GBM/Forms/frmGameManager.vb index 08242c8..7a5c6a0 100644 --- a/GBM/Forms/frmGameManager.vb +++ b/GBM/Forms/frmGameManager.vb @@ -1157,7 +1157,7 @@ Public Class frmGameManager sNewBackup = mgrCommon.OpenFileBrowser(mgrCommon.FormatString(frmGameManager_BrowseBackup, CurrentGame.CroppedName), "7z", frmGameManager_BrowseBackupType, sBackupPath, False) - 'Check that a selection was made and that it's not already the current file + 'Check that a selection was made If sNewBackup <> String.Empty Then sNewBackupFile = Path.GetFileName(sNewBackup) sNewBackupPath = Path.GetDirectoryName(sNewBackup) @@ -1165,8 +1165,9 @@ Public Class frmGameManager 'The new file must be located in the current backup folder for the selected game If sNewBackupPath <> sBackupPath Then mgrCommon.ShowMessage(frmGameManager_ErrorBackupChangePath, CurrentGame.CroppedName, MsgBoxStyle.Exclamation) + 'Check that the selection is a new file ElseIf sNewBackupFile = sBackupFile Then - mgrCommon.ShowMessage(frmGameManager_ErrorBackupChangeFileName, New String() {sNewBackupFile, CurrentGame.CroppedName}, MsgBoxStyle.Exclamation) + mgrCommon.ShowMessage(frmGameManager_ErrorBackupChangeFileName, sNewBackupFile, MsgBoxStyle.Exclamation) Else 'Verify that the user still wants to continue If mgrCommon.ShowMessage(frmGameManager_ConfirmBackupChange, New String() {sNewBackupFile, CurrentGame.CroppedName}, MsgBoxStyle.YesNo) = MsgBoxResult.Yes Then diff --git a/GBM/My Project/Resources.Designer.vb b/GBM/My Project/Resources.Designer.vb index 1d741de..87a2589 100644 --- a/GBM/My Project/Resources.Designer.vb +++ b/GBM/My Project/Resources.Designer.vb @@ -1078,7 +1078,7 @@ Namespace My.Resources End Property ''' - ''' Looks up a localized string similar to Choose a [PARAM] backup file. + ''' Looks up a localized string similar to Choose a new [PARAM] backup file. ''' Friend ReadOnly Property frmGameManager_BrowseBackup() As String Get @@ -1537,7 +1537,7 @@ Namespace My.Resources End Property ''' - ''' Looks up a localized string similar to [PARAM] is already the current backup file for [PARAM].. + ''' Looks up a localized string similar to [PARAM] is already the current backup file.. ''' Friend ReadOnly Property frmGameManager_ErrorBackupChangeFileName() As String Get diff --git a/GBM/My Project/Resources.resx b/GBM/My Project/Resources.resx index bafb4db..385232f 100644 --- a/GBM/My Project/Resources.resx +++ b/GBM/My Project/Resources.resx @@ -1694,7 +1694,7 @@ http://mikemaximus.github.io/gbm-web/GBM_Official_Linux.xml - Choose a [PARAM] backup file + Choose a new [PARAM] backup file 7-Zip @@ -1709,7 +1709,7 @@ Do you want to restore [PARAM] now? - [PARAM] is already the current backup file for [PARAM]. + [PARAM] is already the current backup file. You cannot choose a file located outside the current [PARAM] backup folder.