From 77eb164a6214653165244595061bede2798894cf Mon Sep 17 00:00:00 2001 From: "Michael J. Seiferling" Date: Thu, 18 Aug 2016 16:09:25 -0600 Subject: [PATCH] Changes for issue #56 --- GBM/Forms/frmGameManager.Designer.vb | 83 +++++++++++++--------- GBM/Forms/frmGameManager.vb | 100 ++++++++++++++++++++++----- GBM/My Project/AssemblyInfo.vb | 4 +- GBM/My Project/Resources.Designer.vb | 81 +++++++++++++++++++--- GBM/My Project/Resources.resx | 25 ++++++- 5 files changed, 229 insertions(+), 64 deletions(-) diff --git a/GBM/Forms/frmGameManager.Designer.vb b/GBM/Forms/frmGameManager.Designer.vb index 9efd452..2a71111 100644 --- a/GBM/Forms/frmGameManager.Designer.vb +++ b/GBM/Forms/frmGameManager.Designer.vb @@ -62,12 +62,13 @@ Partial Class frmGameManager Me.btnTags = New System.Windows.Forms.Button() Me.grpStats = New System.Windows.Forms.GroupBox() Me.lblRestorePath = New System.Windows.Forms.Label() + Me.btnChangeBackup = New System.Windows.Forms.Button() Me.txtRestorePath = New System.Windows.Forms.TextBox() Me.btnOpenRestorePath = New System.Windows.Forms.Button() Me.btnOpenBackupFile = New System.Windows.Forms.Button() - Me.txtFileSize = New System.Windows.Forms.TextBox() + Me.txtFileInfo = New System.Windows.Forms.TextBox() Me.btnDeleteBackup = New System.Windows.Forms.Button() - Me.lblFileSize = New System.Windows.Forms.Label() + Me.lblBackupFile = New System.Windows.Forms.Label() Me.lblSync = New System.Windows.Forms.Label() Me.txtCurrentBackup = New System.Windows.Forms.TextBox() Me.lblCurrentBackup = New System.Windows.Forms.Label() @@ -125,20 +126,20 @@ Partial Class frmGameManager 'btnBackup ' Me.btnBackup.Anchor = CType((System.Windows.Forms.AnchorStyles.Bottom Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles) - Me.btnBackup.Location = New System.Drawing.Point(616, 525) + Me.btnBackup.Location = New System.Drawing.Point(616, 526) Me.btnBackup.Name = "btnBackup" Me.btnBackup.Size = New System.Drawing.Size(75, 23) - Me.btnBackup.TabIndex = 18 + Me.btnBackup.TabIndex = 19 Me.btnBackup.Text = "&Backup" Me.btnBackup.UseVisualStyleBackColor = True ' 'btnClose ' Me.btnClose.Anchor = CType((System.Windows.Forms.AnchorStyles.Bottom Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles) - Me.btnClose.Location = New System.Drawing.Point(697, 525) + Me.btnClose.Location = New System.Drawing.Point(697, 526) Me.btnClose.Name = "btnClose" Me.btnClose.Size = New System.Drawing.Size(75, 23) - Me.btnClose.TabIndex = 19 + Me.btnClose.TabIndex = 20 Me.btnClose.Text = "C&lose" Me.btnClose.UseVisualStyleBackColor = True ' @@ -469,12 +470,13 @@ Partial Class frmGameManager ' Me.grpStats.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles) Me.grpStats.Controls.Add(Me.lblRestorePath) + Me.grpStats.Controls.Add(Me.btnChangeBackup) Me.grpStats.Controls.Add(Me.txtRestorePath) Me.grpStats.Controls.Add(Me.btnOpenRestorePath) Me.grpStats.Controls.Add(Me.btnOpenBackupFile) - Me.grpStats.Controls.Add(Me.txtFileSize) + Me.grpStats.Controls.Add(Me.txtFileInfo) Me.grpStats.Controls.Add(Me.btnDeleteBackup) - Me.grpStats.Controls.Add(Me.lblFileSize) + Me.grpStats.Controls.Add(Me.lblBackupFile) Me.grpStats.Controls.Add(Me.lblSync) Me.grpStats.Controls.Add(Me.txtCurrentBackup) Me.grpStats.Controls.Add(Me.lblCurrentBackup) @@ -496,6 +498,16 @@ Partial Class frmGameManager Me.lblRestorePath.TabIndex = 3 Me.lblRestorePath.Text = "Restore Path:" ' + 'btnChangeBackup + ' + Me.btnChangeBackup.Anchor = CType((System.Windows.Forms.AnchorStyles.Bottom Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles) + Me.btnChangeBackup.Location = New System.Drawing.Point(129, 125) + Me.btnChangeBackup.Name = "btnChangeBackup" + Me.btnChangeBackup.Size = New System.Drawing.Size(114, 23) + Me.btnChangeBackup.TabIndex = 11 + Me.btnChangeBackup.Text = "&Change Backup File" + Me.btnChangeBackup.UseVisualStyleBackColor = True + ' 'txtRestorePath ' Me.txtRestorePath.Location = New System.Drawing.Point(96, 99) @@ -503,60 +515,62 @@ Partial Class frmGameManager Me.txtRestorePath.ReadOnly = True Me.txtRestorePath.Size = New System.Drawing.Size(387, 20) Me.txtRestorePath.TabIndex = 8 + Me.txtRestorePath.TabStop = False ' 'btnOpenRestorePath ' - Me.btnOpenRestorePath.Location = New System.Drawing.Point(339, 125) + Me.btnOpenRestorePath.Location = New System.Drawing.Point(369, 125) Me.btnOpenRestorePath.Name = "btnOpenRestorePath" Me.btnOpenRestorePath.Size = New System.Drawing.Size(114, 23) - Me.btnOpenRestorePath.TabIndex = 12 + Me.btnOpenRestorePath.TabIndex = 13 Me.btnOpenRestorePath.Text = "O&pen Restore Path" Me.btnOpenRestorePath.UseVisualStyleBackColor = True ' 'btnOpenBackupFile ' - Me.btnOpenBackupFile.Location = New System.Drawing.Point(216, 125) + Me.btnOpenBackupFile.Location = New System.Drawing.Point(249, 125) Me.btnOpenBackupFile.Name = "btnOpenBackupFile" Me.btnOpenBackupFile.Size = New System.Drawing.Size(114, 23) - Me.btnOpenBackupFile.TabIndex = 11 + Me.btnOpenBackupFile.TabIndex = 12 Me.btnOpenBackupFile.Text = "&Open Backup File" Me.btnOpenBackupFile.UseVisualStyleBackColor = True ' - 'txtFileSize + 'txtFileInfo ' - Me.txtFileSize.Location = New System.Drawing.Point(96, 74) - Me.txtFileSize.Name = "txtFileSize" - Me.txtFileSize.ReadOnly = True - Me.txtFileSize.Size = New System.Drawing.Size(387, 20) - Me.txtFileSize.TabIndex = 7 - Me.txtFileSize.TabStop = False + Me.txtFileInfo.Location = New System.Drawing.Point(96, 74) + Me.txtFileInfo.Name = "txtFileInfo" + Me.txtFileInfo.ReadOnly = True + Me.txtFileInfo.Size = New System.Drawing.Size(387, 20) + Me.txtFileInfo.TabIndex = 7 + Me.txtFileInfo.TabStop = False ' 'btnDeleteBackup ' - Me.btnDeleteBackup.Location = New System.Drawing.Point(96, 125) + Me.btnDeleteBackup.Location = New System.Drawing.Point(9, 125) Me.btnDeleteBackup.Name = "btnDeleteBackup" Me.btnDeleteBackup.Size = New System.Drawing.Size(114, 23) Me.btnDeleteBackup.TabIndex = 10 Me.btnDeleteBackup.Text = "&Delete Backup" Me.btnDeleteBackup.UseVisualStyleBackColor = True ' - 'lblFileSize + 'lblBackupFile ' - Me.lblFileSize.AutoSize = True - Me.lblFileSize.Location = New System.Drawing.Point(6, 77) - Me.lblFileSize.Name = "lblFileSize" - Me.lblFileSize.Size = New System.Drawing.Size(70, 13) - Me.lblFileSize.TabIndex = 2 - Me.lblFileSize.Text = "Backup Size:" + Me.lblBackupFile.AutoSize = True + Me.lblBackupFile.Location = New System.Drawing.Point(6, 77) + Me.lblBackupFile.Name = "lblBackupFile" + Me.lblBackupFile.Size = New System.Drawing.Size(66, 13) + Me.lblBackupFile.TabIndex = 2 + Me.lblBackupFile.Text = "Backup File:" ' 'lblSync ' Me.lblSync.AutoSize = True - Me.lblSync.Location = New System.Drawing.Point(6, 130) + Me.lblSync.Location = New System.Drawing.Point(457, 0) Me.lblSync.Name = "lblSync" Me.lblSync.Size = New System.Drawing.Size(62, 13) Me.lblSync.TabIndex = 4 Me.lblSync.Text = "Up to Date!" + Me.lblSync.TextAlign = System.Drawing.ContentAlignment.TopRight Me.lblSync.Visible = False ' 'txtCurrentBackup @@ -598,20 +612,20 @@ Partial Class frmGameManager 'btnMarkAsRestored ' Me.btnMarkAsRestored.Anchor = CType((System.Windows.Forms.AnchorStyles.Bottom Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles) - Me.btnMarkAsRestored.Location = New System.Drawing.Point(429, 525) + Me.btnMarkAsRestored.Location = New System.Drawing.Point(429, 526) Me.btnMarkAsRestored.Name = "btnMarkAsRestored" Me.btnMarkAsRestored.Size = New System.Drawing.Size(100, 23) - Me.btnMarkAsRestored.TabIndex = 16 + Me.btnMarkAsRestored.TabIndex = 17 Me.btnMarkAsRestored.Text = "&Mark as Restored" Me.btnMarkAsRestored.UseVisualStyleBackColor = True ' 'btnRestore ' Me.btnRestore.Anchor = CType((System.Windows.Forms.AnchorStyles.Bottom Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles) - Me.btnRestore.Location = New System.Drawing.Point(535, 525) + Me.btnRestore.Location = New System.Drawing.Point(535, 526) Me.btnRestore.Name = "btnRestore" Me.btnRestore.Size = New System.Drawing.Size(75, 23) - Me.btnRestore.TabIndex = 17 + Me.btnRestore.TabIndex = 18 Me.btnRestore.Text = "&Restore" Me.btnRestore.UseVisualStyleBackColor = True ' @@ -854,8 +868,8 @@ Partial Class frmGameManager Friend WithEvents lblLastBackup As System.Windows.Forms.Label Friend WithEvents lblSync As System.Windows.Forms.Label Friend WithEvents chkEnabled As System.Windows.Forms.CheckBox - Friend WithEvents txtFileSize As System.Windows.Forms.TextBox - Friend WithEvents lblFileSize As System.Windows.Forms.Label + Friend WithEvents txtFileInfo As System.Windows.Forms.TextBox + Friend WithEvents lblBackupFile As System.Windows.Forms.Label Friend WithEvents btnMarkAsRestored As System.Windows.Forms.Button Friend WithEvents btnRestore As System.Windows.Forms.Button Friend WithEvents btnDeleteBackup As System.Windows.Forms.Button @@ -879,4 +893,5 @@ Partial Class frmGameManager Friend WithEvents cmsFile As System.Windows.Forms.ToolStripMenuItem Friend WithEvents txtQuickFilter As TextBox Friend WithEvents lblQuickFilter As Label + Friend WithEvents btnChangeBackup As Button End Class diff --git a/GBM/Forms/frmGameManager.vb b/GBM/Forms/frmGameManager.vb index 16723ce..08242c8 100644 --- a/GBM/Forms/frmGameManager.vb +++ b/GBM/Forms/frmGameManager.vb @@ -218,7 +218,7 @@ Public Class frmGameManager frm.ShowDialog() oCurrentTagFilters = frm.TagFilters oCurrentStringFilters = frm.StringFilters - eCurrentFilter = frm.FilterType + eCurrentFilter = frm.FilterType End If Else oCurrentTagFilters.Clear() @@ -281,7 +281,7 @@ Public Class frmGameManager End If End If - sNewPath = mgrCommon.OpenFileBrowser(frmGameManager_ChooseExe, "exe", _ + sNewPath = mgrCommon.OpenFileBrowser(frmGameManager_ChooseExe, "exe", frmGameManager_Executable, sDefaultFolder, False) If sNewPath <> String.Empty Then @@ -339,10 +339,10 @@ Public Class frmGameManager 'Unix Handler If Not mgrCommon.IsUnix Then - sNewPath = mgrCommon.OpenFileBrowser(frmGameManager_ChooseCustomIcon, "ico", _ + sNewPath = mgrCommon.OpenFileBrowser(frmGameManager_ChooseCustomIcon, "ico", frmGameManager_Icon, sDefaultFolder, False) Else - sNewPath = mgrCommon.OpenFileBrowser(frmGameManager_ChooseCustomIcon, "png", _ + sNewPath = mgrCommon.OpenFileBrowser(frmGameManager_ChooseCustomIcon, "png", "PNG", sDefaultFolder, False) End If @@ -496,12 +496,12 @@ Public Class frmGameManager Dim oProcessStartInfo As ProcessStartInfo If CurrentBackupItem.AbsolutePath Then - sPath = CurrentBackupItem.RestorePath - Else - If FindRestorePath() Then - sPath = CurrentBackupItem.RelativeRestorePath - End If + sPath = CurrentBackupItem.RestorePath + Else + If FindRestorePath() Then + sPath = CurrentBackupItem.RelativeRestorePath End If + End If If Directory.Exists(sPath) Then oProcessStartInfo = New ProcessStartInfo @@ -553,23 +553,25 @@ Public Class frmGameManager btnOpenBackupFile.Enabled = True btnOpenRestorePath.Enabled = True btnRestore.Enabled = True + btnChangeBackup.Enabled = True btnDeleteBackup.Enabled = True If File.Exists(sFileName) Then - txtFileSize.Text = mgrCommon.GetFileSize(sFileName) + txtFileInfo.Text = Path.GetFileName(CurrentBackupItem.FileName) & " (" & mgrCommon.GetFileSize(sFileName) & ")" Else - txtFileSize.Text = frmGameManager_ErrorNoBackupExists + txtFileInfo.Text = frmGameManager_ErrorNoBackupExists End If mgrRestore.DoPathOverride(CurrentBackupItem, oApp) txtRestorePath.Text = CurrentBackupItem.RestorePath Else txtCurrentBackup.Text = frmGameManager_Never - txtFileSize.Text = String.Empty + txtFileInfo.Text = String.Empty txtRestorePath.Text = String.Empty btnOpenBackupFile.Enabled = False btnOpenRestorePath.Enabled = False btnRestore.Enabled = False + btnChangeBackup.Enabled = False btnDeleteBackup.Enabled = False End If @@ -777,6 +779,7 @@ Public Class frmGameManager btnBackup.Enabled = False btnMarkAsRestored.Enabled = False btnRestore.Enabled = False + btnChangeBackup.Enabled = False btnDeleteBackup.Enabled = False btnOpenBackupFile.Enabled = False btnOpenRestorePath.Enabled = False @@ -806,6 +809,7 @@ Public Class frmGameManager btnBackup.Enabled = False btnMarkAsRestored.Enabled = False btnRestore.Enabled = False + btnChangeBackup.Enabled = False btnDeleteBackup.Enabled = False btnOpenBackupFile.Enabled = False btnOpenRestorePath.Enabled = False @@ -1143,6 +1147,52 @@ Public Class frmGameManager Return True End Function + Private Sub ChangeBackup() + Dim sNewBackup As String + Dim sNewBackupFile As String + Dim sNewBackupPath As String + Dim sBackupPath As String = Path.GetDirectoryName(BackupFolder & CurrentBackupItem.FileName) + Dim sBackupFile As String = Path.GetFileName(BackupFolder & CurrentBackupItem.FileName) + Dim oBackup As clsBackup = oCurrentBackupItem + + 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 + If sNewBackup <> String.Empty Then + sNewBackupFile = Path.GetFileName(sNewBackup) + sNewBackupPath = Path.GetDirectoryName(sNewBackup) + + '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) + ElseIf sNewBackupFile = sBackupFile Then + mgrCommon.ShowMessage(frmGameManager_ErrorBackupChangeFileName, New String() {sNewBackupFile, CurrentGame.CroppedName}, 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 + 'Set the new file + oBackup.FileName = oBackup.FileName.Replace(Path.GetFileName(oBackup.FileName), sNewBackupFile) + 'Clear the checksum (old checksums aren't stored) + oBackup.CheckSum = String.Empty + 'Reset date + oBackup.DateUpdated = Date.Now + mgrManifest.DoManifestUpdate(oBackup, mgrSQLite.Database.Remote) + 'Refresh backup data and GUI + bIsLoading = True + LoadBackupData() + GetBackupInfo(CurrentGame) + bIsLoading = False + 'Check if we want to restore immediately after changing + If mgrCommon.ShowMessage(frmGameManager_ConfirmBackupChangeRestore, sNewBackupFile, MsgBoxStyle.YesNo) = MsgBoxResult.Yes Then + TriggerSelectedRestore(False) + End If + End If + + End If + End If + + End Sub + Private Sub MarkAsRestored() Dim oData As KeyValuePair(Of String, String) Dim oGameBackup As clsBackup @@ -1198,7 +1248,7 @@ Public Class frmGameManager End If End Sub - Private Sub TriggerSelectedBackup() + Private Sub TriggerSelectedBackup(Optional ByVal bPrompt As Boolean = True) Dim oData As KeyValuePair(Of String, String) Dim sMsg As String = String.Empty Dim oGame As clsGame @@ -1224,7 +1274,12 @@ Public Class frmGameManager End If If bDoBackup Then - If mgrCommon.ShowMessage(sMsg, MsgBoxStyle.YesNo) = MsgBoxResult.Yes Then + If bPrompt Then + If mgrCommon.ShowMessage(sMsg, MsgBoxStyle.YesNo) = MsgBoxResult.Yes Then + TriggerBackup = True + Me.Close() + End If + Else TriggerBackup = True Me.Close() End If @@ -1232,7 +1287,7 @@ Public Class frmGameManager End If End Sub - Private Sub TriggerSelectedRestore() + Private Sub TriggerSelectedRestore(Optional ByVal bPrompt As Boolean = True) Dim oData As KeyValuePair(Of String, String) Dim sMsg As String = String.Empty Dim oGame As clsGame @@ -1264,7 +1319,12 @@ Public Class frmGameManager End If If bDoRestore Then - If mgrCommon.ShowMessage(sMsg, MsgBoxStyle.YesNo) = MsgBoxResult.Yes Then + If bPrompt Then + If mgrCommon.ShowMessage(sMsg, MsgBoxStyle.YesNo) = MsgBoxResult.Yes Then + TriggerRestore = True + Me.Close() + End If + Else TriggerRestore = True Me.Close() End If @@ -1337,8 +1397,9 @@ Public Class frmGameManager lblRestorePath.Text = frmGameManager_lblRestorePath btnOpenRestorePath.Text = frmGameManager_btnOpenRestorePath btnOpenBackupFile.Text = frmGameManager_btnOpenBackupFile + btnChangeBackup.Text = frmGameManager_btnChangeBackup btnDeleteBackup.Text = frmGameManager_btnDeleteBackup - lblFileSize.Text = frmGameManager_lblFileSize + lblBackupFile.Text = frmGameManager_lblBackupFile lblCurrentBackup.Text = frmGameManager_lblCurrentBackup lblLastBackup.Text = frmGameManager_lblLastBackup btnIconBrowse.Text = frmGameManager_btnIconBrowse @@ -1474,6 +1535,10 @@ Public Class frmGameManager DeleteBackup() End Sub + Private Sub btnChangeBackup_Click(sender As Object, e As EventArgs) Handles btnChangeBackup.Click + ChangeBackup() + End Sub + Private Sub btnMarkAsRestored_Click(sender As Object, e As EventArgs) Handles btnMarkAsRestored.Click MarkAsRestored() End Sub @@ -1542,4 +1607,5 @@ Public Class frmGameManager Private Sub frmGameManager_Shown(sender As Object, e As EventArgs) Handles MyBase.Shown txtQuickFilter.Focus() End Sub + End Class diff --git a/GBM/My Project/AssemblyInfo.vb b/GBM/My Project/AssemblyInfo.vb index d04a3c8..26f8cf2 100644 --- a/GBM/My Project/AssemblyInfo.vb +++ b/GBM/My Project/AssemblyInfo.vb @@ -33,7 +33,7 @@ Imports System.Runtime.InteropServices ' by using the '*' as shown below: ' - - + + \ No newline at end of file diff --git a/GBM/My Project/Resources.Designer.vb b/GBM/My Project/Resources.Designer.vb index 1302983..1d741de 100644 --- a/GBM/My Project/Resources.Designer.vb +++ b/GBM/My Project/Resources.Designer.vb @@ -1077,6 +1077,24 @@ Namespace My.Resources End Get End Property + ''' + ''' Looks up a localized string similar to Choose a [PARAM] backup file. + ''' + Friend ReadOnly Property frmGameManager_BrowseBackup() As String + Get + Return ResourceManager.GetString("frmGameManager_BrowseBackup", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to 7-Zip. + ''' + Friend ReadOnly Property frmGameManager_BrowseBackupType() As String + Get + Return ResourceManager.GetString("frmGameManager_BrowseBackupType", resourceCulture) + End Get + End Property + ''' ''' Looks up a localized string similar to +. ''' @@ -1113,6 +1131,15 @@ Namespace My.Resources End Get End Property + ''' + ''' Looks up a localized string similar to &Change Backup File. + ''' + Friend ReadOnly Property frmGameManager_btnChangeBackup() As String + Get + Return ResourceManager.GetString("frmGameManager_btnChangeBackup", resourceCulture) + End Get + End Property + ''' ''' Looks up a localized string similar to C&lose. ''' @@ -1374,6 +1401,24 @@ Namespace My.Resources End Get End Property + ''' + ''' Looks up a localized string similar to [PARAM] will be the new backup file for [PARAM].[BR][BR]Is this correct?. + ''' + Friend ReadOnly Property frmGameManager_ConfirmBackupChange() As String + Get + Return ResourceManager.GetString("frmGameManager_ConfirmBackupChange", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to Do you want to restore [PARAM] now?. + ''' + Friend ReadOnly Property frmGameManager_ConfirmBackupChangeRestore() As String + Get + Return ResourceManager.GetString("frmGameManager_ConfirmBackupChangeRestore", resourceCulture) + End Get + End Property + ''' ''' Looks up a localized string similar to This will delete the backup file and all records of this backup. This cannot be undone. [BR][BR]Do you want to remove the data for [PARAM]?. ''' @@ -1491,6 +1536,24 @@ Namespace My.Resources End Get End Property + ''' + ''' Looks up a localized string similar to [PARAM] is already the current backup file for [PARAM].. + ''' + Friend ReadOnly Property frmGameManager_ErrorBackupChangeFileName() As String + Get + Return ResourceManager.GetString("frmGameManager_ErrorBackupChangeFileName", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to You cannot choose a file located outside the current [PARAM] backup folder.. + ''' + Friend ReadOnly Property frmGameManager_ErrorBackupChangePath() As String + Get + Return ResourceManager.GetString("frmGameManager_ErrorBackupChangePath", resourceCulture) + End Get + End Property + ''' ''' Looks up a localized string similar to A game with this exact name and process already exists.. ''' @@ -1689,6 +1752,15 @@ Namespace My.Resources End Get End Property + ''' + ''' Looks up a localized string similar to Backup File:. + ''' + Friend ReadOnly Property frmGameManager_lblBackupFile() As String + Get + Return ResourceManager.GetString("frmGameManager_lblBackupFile", resourceCulture) + End Get + End Property + ''' ''' Looks up a localized string similar to Company:. ''' @@ -1707,15 +1779,6 @@ Namespace My.Resources End Get End Property - ''' - ''' Looks up a localized string similar to Backup Size:. - ''' - Friend ReadOnly Property frmGameManager_lblFileSize() As String - Get - Return ResourceManager.GetString("frmGameManager_lblFileSize", resourceCulture) - End Get - End Property - ''' ''' Looks up a localized string similar to Game Path:. ''' diff --git a/GBM/My Project/Resources.resx b/GBM/My Project/Resources.resx index bbccad7..bafb4db 100644 --- a/GBM/My Project/Resources.resx +++ b/GBM/My Project/Resources.resx @@ -619,8 +619,8 @@ Current Backup: - - Backup Size: + + Backup File: Game Path: @@ -1693,4 +1693,25 @@ http://mikemaximus.github.io/gbm-web/GBM_Official_Linux.xml + + Choose a [PARAM] backup file + + + 7-Zip + + + &Change Backup File + + + [PARAM] will be the new backup file for [PARAM].[BR][BR]Is this correct? + + + Do you want to restore [PARAM] now? + + + [PARAM] is already the current backup file for [PARAM]. + + + You cannot choose a file located outside the current [PARAM] backup folder. + \ No newline at end of file