diff --git a/GBM/Forms/frmAddWizard.vb b/GBM/Forms/frmAddWizard.vb index f18be3d..fbaeb0d 100644 --- a/GBM/Forms/frmAddWizard.vb +++ b/GBM/Forms/frmAddWizard.vb @@ -1,4 +1,5 @@ -Imports System.IO +Imports GBM.My.Resources +Imports System.IO Public Class frmAddWizard @@ -26,7 +27,44 @@ Public Class frmAddWizard Private eCurrentStep As eSteps = eSteps.Step1 - Private Sub FormInit() + Private Sub SetForm() + 'Set Form Name + Me.Text = frmAddWizard_FormName + + 'Set Form Text + btnCancel.Text = frmAddWizard_btnCancel + btnNext.Text = frmAddWizard_btnNext + btnBack.Text = frmAddWizard_btnBack + lblStep1Title.Text = frmAddWizard_lblStep1Title + lblDrag1.Text = frmAddWizard_lblDrag1 + lblStep1Instructions.Text = frmAddWizard_lblStep1Instructions + lblStep1Intro.Text = frmAddWizard_lblStep1Intro + lblStep2Title.Text = frmAddWizard_lblStep2Title + lblStep2Instructions.Text = frmAddWizard_lblStep2Instructions + lblDrag2.Text = frmAddWizard_lblDrag2 + btnProcessBrowse.Text = frmAddWizard_btnProcessBrowse + lblStep2Intro.Text = frmAddWizard_lblStep2Intro + lblStep3Title.Text = frmAddWizard_lblStep3Title + lblStep3Instructions.Text = frmAddWizard_lblStep3Instructions + chkTimeStamp.Text = frmAddWizard_chkTimeStamp + chkFolderSave.Text = frmAddWizard_chkFolderSave + btnSaveBrowse.Text = frmAddWizard_btnSaveBrowse + lblStep3Intro.Text = frmAddWizard_lblStep3Intro + lblIncludePathTitle.Text = frmAddWizard_lblIncludePathTitle + lblIncludePath.Text = frmAddWizard_lblIncludePath + lblFileTypes.Text = frmAddWizard_ItemsSelectedNone + btnInclude.Text = frmAddWizard_btnInclude + lblStep3aTitle.Text = frmAddWizard_lblStep3aTitle + lblStep3aInstructions.Text = frmAddWizard_lblStep3aInstructions + lblExcludePathTitle.Text = frmAddWizard_lblExcludePathTitle + lblExcludePath.Text = frmAddWizard_lblExcludePath + lblExclude.Text = frmAddWizard_ItemsSelectedNone + btnExclude.Text = frmAddWizard_btnExclude + lblStep4Title.Text = frmAddWizard_lblStep4Title + lblStep4Instructions.Text = frmAddWizard_lblStep4Instructions + lblStep5Intro.Text = frmAddWizard_lblStep5Intro + lblStep5Title.Text = frmAddWizard_lblStep5Title + chkFolderSave.Checked = True chkTimeStamp.Checked = False StepHandler() @@ -34,7 +72,7 @@ Public Class frmAddWizard Private Function StringEmptyText(ByVal sString As String) As String If sString = String.Empty Then - Return "None" + Return frmAddWizard_None Else Return sString End If @@ -69,7 +107,7 @@ Public Class frmAddWizard lstSummary.Columns(0).Width = 95 lstSummary.Columns(1).Width = 210 - sItems = {"Name", "Process", "Absolute Path", "Save Path", "Folder Backup", "Time Stamp", "Included Items", "Excluded Items"} + sItems = {frmAddWizard_Summary_Name, frmAddWizard_Summary_Process, frmAddWizard_Summary_AbsolutePath, frmAddWizard_Summary_SavePath, frmAddWizard_Summary_FolderSave, frmAddWizard_Summary_Timestamp, frmAddWizard_Summary_Include, frmAddWizard_Summary_Exclude} sValues = {sName, sProcessSummaryText, mgrCommon.BooleanYesNo(bIsAbsolute), sSavePath, mgrCommon.BooleanYesNo(bFolderBackup), mgrCommon.BooleanYesNo(bTimeStamp), StringEmptyText(sFileType), StringEmptyText(sExcludeList)} For i = 0 To sItems.Length - 1 @@ -112,11 +150,11 @@ Public Class frmAddWizard Case eSteps.Step4 btnBack.Enabled = True btnNext.Enabled = True - btnNext.Text = "&Next" + btnNext.Text = frmAddWizard_btnNext tabWizard.SelectTab(4) Case eSteps.Step5 btnBack.Enabled = True - btnNext.Text = "&Finish" + btnNext.Text = frmAddWizard_btnNext_Finish tabWizard.SelectTab(5) End Select End Sub @@ -126,7 +164,7 @@ Public Class frmAddWizard txtName.Text = mgrPath.ValidateForFileSystem(txtName.Text) Return True Else - sErrorMessage = "You must enter a valid game name." + sErrorMessage = frmAddWizard_ErrorValidName txtName.Focus() Return False End If @@ -135,25 +173,25 @@ Public Class frmAddWizard Private Function ValidateProcessPath(ByVal strPath As String, ByRef sErrorMessage As String) As Boolean If strPath = String.Empty Then - sErrorMessage = "You must select the game's executable file (.exe) to continue." + sErrorMessage = frmAddWizard_ErrorValidProcess txtProcessPath.Focus() Return False End If If Path.GetExtension(strPath.ToLower) <> ".exe" Then - sErrorMessage = "The file you selected is not an executable file." + sErrorMessage = frmAddWizard_ErrorNotAProcess txtProcessPath.Focus() Return False End If If Not Path.IsPathRooted(strPath) Then - sErrorMessage = "The path to the executable must be a full path." + sErrorMessage = frmAddWizard_ErrorBadProcessPath txtProcessPath.Focus() Return False End If If Not File.Exists(strPath) Then - sErrorMessage = "The selected executable file does not exist." + sErrorMessage = frmAddWizard_ErrorProcessNotExist txtProcessPath.Focus() Return False End If @@ -163,19 +201,19 @@ Public Class frmAddWizard Private Function ValidateSavePath(ByVal strPath As String, ByRef sErrorMessage As String) As Boolean If strPath = String.Empty Then - sErrorMessage = "You must select the game's save file path to continue." + sErrorMessage = frmAddWizard_ErrorValidSavePath txtSavePath.Focus() Return False End If If Not Directory.Exists(strPath) Then - sErrorMessage = "The folder you selected does not exist or is not a valid folder." + sErrorMessage = frmAddWizard_ErrorSavePathNotExist txtSavePath.Focus() Return False End If If Not Path.IsPathRooted(strPath) Then - sErrorMessage = "The selected path must be a full path." + sErrorMessage = frmAddWizard_ErrorBadSavePath txtSavePath.Focus() Return False End If @@ -185,7 +223,7 @@ Public Class frmAddWizard Private Function ValidateSaveType(ByVal strSaveType As String, ByRef sErrorMessage As String) If strSaveType = String.Empty Then - sErrorMessage = "You must choose items to include in the backup, or choose to save the entire folder." + sErrorMessage = frmAddWizard_ErrorValidSaveType txtFileTypes.Focus() Return False End If @@ -202,15 +240,14 @@ Public Class frmAddWizard Next If hshDupeCheck.Contains(sNewGame) Then - MsgBox("A game with this exact name and process already exists.", MsgBoxStyle.Exclamation, "Game Backup Monitor") + mgrCommon.ShowMessage(frmAddWizard_ErrorGameDupe, MsgBoxStyle.Exclamation) Else mgrMonitorList.DoListAdd(oGameToSave) - If MsgBox(oGameToSave.Name & " has been saved." & vbCrLf & vbCrLf & - "Would you like to add tags for " & oGameToSave.Name & "?", MsgBoxStyle.YesNo, "Game Backup Monitor") = MsgBoxResult.Yes Then + If mgrCommon.ShowMessage(frmAddWizard_ConfirmSaveTags, New String() {oGameToSave.Name, oGameToSave.Name}, MsgBoxStyle.YesNo) = MsgBoxResult.Yes Then OpenTags(oGameToSave) End If Me.Close() - End If + End If End Sub Private Sub ValidateBack() @@ -286,7 +323,7 @@ Public Class frmAddWizard DoSave() End Select - If bError Then MsgBox(sErrorMessage, MsgBoxStyle.Exclamation, "Game Backup Monitor") + If bError Then mgrCommon.ShowMessage(sErrorMessage, MsgBoxStyle.Exclamation) StepHandler() End Sub @@ -330,14 +367,14 @@ Public Class frmAddWizard ReadShortcut(sTemp) File.Delete(sTemp) Catch e2 As Exception - MsgBox("An error occured working with the shortcut file." & vbCrLf & vbCrLf & e2.Message, MsgBoxStyle.Critical, "Game Backup Monitor") + mgrCommon.ShowMessage(frmAddWizard_ErrorWithShortcut, e2.Message, MsgBoxStyle.Critical) End Try Else - MsgBox("An error occured reading the shortcut file." & vbCrLf & vbCrLf & e1.Message, MsgBoxStyle.Critical, "Game Backup Monitor") + mgrCommon.ShowMessage(frmAddWizard_ErrorWithShortcut, e1.Message, MsgBoxStyle.Critical) End If End Try Else - MsgBox("This file is not a shorcut.") + mgrCommon.ShowMessage(frmAddWizard_ErrorNotAShortcut, MsgBoxStyle.Information) End If End Sub @@ -353,8 +390,8 @@ Public Class frmAddWizard End If End If - sNewPath = mgrCommon.OpenFileBrowser("Choose exe file that starts the game", "exe", _ - "Executable", sDefaultFolder, False) + sNewPath = mgrCommon.OpenFileBrowser(frmAddWizard_ChooseProcess, "exe", + frmAddWizard_Executable, sDefaultFolder, False) If sNewPath <> String.Empty Then txtProcessPath.Text = sNewPath End Sub @@ -370,7 +407,7 @@ Public Class frmAddWizard End If End If - sNewPath = mgrCommon.OpenFolderBrowser("Choose the game save folder:", sDefaultFolder, False) + sNewPath = mgrCommon.OpenFolderBrowser(frmAddWizard_ChooseSavePath, sDefaultFolder, False) If sNewPath <> String.Empty Then txtSavePath.Text = sNewPath End Sub @@ -379,9 +416,9 @@ Public Class frmAddWizard Dim iCount As Integer = sBuilderString.Split(":").Length If sBuilderString <> String.Empty And iCount > 0 Then - lbl.Text = iCount & " item(s) selected" + lbl.Text = mgrCommon.FormatString(frmAddWizard_ItemsSelectedMulti, iCount) Else - lbl.Text = "0 Item(s) selected" + lbl.Text = frmAddWizard_ItemsSelectedNone End If End Sub @@ -419,7 +456,7 @@ Public Class frmAddWizard End Sub Private Sub frmAddWizard_Load(sender As Object, e As EventArgs) Handles MyBase.Load - FormInit() + SetForm() End Sub Private Sub DropTarget_DragEnter(sender As Object, e As DragEventArgs) Handles lblDrag1.DragEnter, lblDrag2.DragEnter, txtName.DragEnter, txtProcessPath.DragEnter @@ -456,12 +493,12 @@ Public Class frmAddWizard End Sub Private Sub btnInclude_Click(sender As Object, e As EventArgs) Handles btnInclude.Click - OpenBuilder("Include", txtFileTypes) + OpenBuilder(frmAddWizard_Include, txtFileTypes) UpdateBuilderLabel(txtFileTypes.Text, lblFileTypes) End Sub Private Sub btnExclude_Click(sender As Object, e As EventArgs) Handles btnExclude.Click - OpenBuilder("Exclude", txtExcludeList) + OpenBuilder(frmAddWizard_Exclude, txtExcludeList) UpdateBuilderLabel(txtExcludeList.Text, lblExclude) End Sub End Class \ No newline at end of file diff --git a/GBM/Forms/frmAdvancedImport.vb b/GBM/Forms/frmAdvancedImport.vb index 3198a36..737d27b 100644 --- a/GBM/Forms/frmAdvancedImport.vb +++ b/GBM/Forms/frmAdvancedImport.vb @@ -1,4 +1,6 @@ -Public Class frmAdvancedImport +Imports GBM.My.Resources + +Public Class frmAdvancedImport Private hshImportData As Hashtable Private bSelectAll As Boolean = False @@ -36,8 +38,15 @@ End Sub Private Sub SetForm() + 'Set Form Name + Me.Text = frmAdvancedImport_FormName + + 'Set Form Text + btnCancel.Text = frmAdvancedImport_btnCancel + btnImport.Text = frmAdvancedImport_btnImport + chkSelectAll.Checked = True - lblGames.Text = ImportData.Count & " new configurations available." + lblGames.Text = mgrCommon.FormatString(frmAdvancedImport_NewConfigs, ImportData.Count) End Sub Private Sub BuildList() @@ -52,7 +61,7 @@ End Sub Private Sub UpdateSelected() - lblSelected.Text = lstGames.CheckedItems.Count & " Selected" + lblSelected.Text = mgrCommon.FormatString(frmAdvancedImport_Selected, lstGames.CheckedItems.Count) End Sub Private Sub frmAdvancedImport_Load(sender As Object, e As EventArgs) Handles MyBase.Load diff --git a/GBM/Forms/frmChooseGame.vb b/GBM/Forms/frmChooseGame.vb index 5b7ccc4..61460c7 100644 --- a/GBM/Forms/frmChooseGame.vb +++ b/GBM/Forms/frmChooseGame.vb @@ -1,4 +1,6 @@ -Public Class frmChooseGame +Imports GBM.My.Resources + +Public Class frmChooseGame Private oProcess As mgrProcesses Private oGame As clsGame @@ -49,9 +51,25 @@ Me.Close() End Sub + Private Sub SetForm() + 'Set Form Name + Me.Text = frmChooseGame_FormName + + 'Set Form Text + btnCancel.Text = frmChooseGame_btnCancel + btnChoose.Text = frmChooseGame_btnChoose + lblChoose.Text = frmChooseGame_lblChoose + End Sub + Private Sub frmChooseGame_Load(sender As System.Object, e As System.EventArgs) Handles MyBase.Load + SetForm() FillComboBox() Me.Focus() + + Dim sResource As String = String.Empty + Dim sCode As String = String.Empty + mgrCommon.GetAllStrings(Me, sResource, sCode, "frmChooseGame") + Clipboard.SetText(sResource & vbCrLf & vbCrLf & sCode) End Sub Private Sub btnChoose_Click(sender As System.Object, e As System.EventArgs) Handles btnChoose.Click diff --git a/GBM/Forms/frmFileFolderSearch.vb b/GBM/Forms/frmFileFolderSearch.vb index 9b25369..f82236c 100644 --- a/GBM/Forms/frmFileFolderSearch.vb +++ b/GBM/Forms/frmFileFolderSearch.vb @@ -1,4 +1,5 @@ -Imports System.IO +Imports GBM.My.Resources +Imports System.IO Public Class frmFileFolderSearch Private sSearchItem As String @@ -135,9 +136,7 @@ Public Class frmFileFolderSearch If FoundItem = "Cancel" Then FoundItem = String.Empty If oDrives.Count > iCurrentDrive And FoundItem = String.Empty Then - oResult = MsgBox("The location was not found on the " & oSearchDrive.Root.ToString & _ - " drive. Do you wish to search the " & oDrives(iCurrentDrive).RootDirectory.ToString & _ - " drive?", MsgBoxStyle.YesNo, "Game Backup Monitor") + oResult = mgrCommon.ShowMessage(frmFileFolderSearch_SwitchDrives, New String() {oSearchDrive.Root.ToString, oDrives(iCurrentDrive).RootDirectory.ToString}, MsgBoxStyle.YesNo) If oResult = MsgBoxResult.Yes Then Search(oDrives(iCurrentDrive)) Else @@ -150,7 +149,16 @@ Public Class frmFileFolderSearch End If End Sub + Private Sub SetForm() + 'Set Form Name + Me.Text = frmFileFolderSearch_FormName + + 'Set Form Text + btnCancel.Text = frmFileFolderSearch_btnCancel + End Sub + Private Sub frmFileFolderSearch_Load(sender As Object, e As EventArgs) Handles MyBase.Load + SetForm() GetDrives() Search(oDrives(iCurrentDrive)) End Sub diff --git a/GBM/Forms/frmFilter.vb b/GBM/Forms/frmFilter.vb index 0969094..f7a2c55 100644 --- a/GBM/Forms/frmFilter.vb +++ b/GBM/Forms/frmFilter.vb @@ -1,4 +1,6 @@ -Public Class frmFilter +Imports GBM.My.Resources + +Public Class frmFilter Public Enum eFilterType As Integer NoFilter = 1 @@ -111,10 +113,11 @@ If optGameInfo.Checked Then 'Set Filter Type If optAnd.Checked Then - eCurrentFilterType = eFilterType.FieldAnd + eCurrentFilterType = eFilterType.FieldAnd Else eCurrentFilterType = eFilterType.FieldOr End If + 'Set String Filter If txtName.Text <> String.Empty Then hshStringFilters.Add("Name", txtName.Text) @@ -144,7 +147,31 @@ End Sub + Private Sub SetForm() + 'Set Form Name + Me.Text = frmFilter_FormName + + 'Set Form Text + optOr.Text = frmFilter_optOr + optAnd.Text = frmFilter_optAnd + lblCompany.Text = frmFilter_lblCompany + lblProcess.Text = frmFilter_lblProcess + lblName.Text = frmFilter_lblName + grpGameInfoOptions.Text = frmFilter_grpGameInfoOptions + optAll.Text = frmFilter_optAll + optAny.Text = frmFilter_optAny + lblGameTags.Text = frmFilter_lblGameTags + lblTags.Text = frmFilter_lblTags + btnRemove.Text = frmFilter_btnRemove + btnAdd.Text = frmFilter_btnAdd + btnOK.Text = frmFilter_btnOK + grpTagOptions.Text = frmFilter_grpTagOptions + optTag.Text = frmFilter_optTag + optGameInfo.Text = frmFilter_optGameInfo + End Sub + Private Sub frmGameTags_Load(sender As Object, e As EventArgs) Handles MyBase.Load + SetForm() optGameInfo.Checked = True LoadData() End Sub diff --git a/GBM/Forms/frmGameManager.Designer.vb b/GBM/Forms/frmGameManager.Designer.vb index 067f17f..3bae567 100644 --- a/GBM/Forms/frmGameManager.Designer.vb +++ b/GBM/Forms/frmGameManager.Designer.vb @@ -53,7 +53,7 @@ Partial Class frmGameManager Me.txtCompany = New System.Windows.Forms.TextBox() Me.lblCompany = New System.Windows.Forms.Label() Me.pbIcon = New System.Windows.Forms.PictureBox() - Me.Label1 = New System.Windows.Forms.Label() + Me.lblIcon = New System.Windows.Forms.Label() Me.btnAppPathBrowse = New System.Windows.Forms.Button() Me.lblGamePath = New System.Windows.Forms.Label() Me.txtAppPath = New System.Windows.Forms.TextBox() @@ -319,7 +319,7 @@ Partial Class frmGameManager Me.grpExtra.Controls.Add(Me.txtCompany) Me.grpExtra.Controls.Add(Me.lblCompany) Me.grpExtra.Controls.Add(Me.pbIcon) - Me.grpExtra.Controls.Add(Me.Label1) + Me.grpExtra.Controls.Add(Me.lblIcon) Me.grpExtra.Controls.Add(Me.btnAppPathBrowse) Me.grpExtra.Controls.Add(Me.lblGamePath) Me.grpExtra.Controls.Add(Me.txtAppPath) @@ -401,14 +401,14 @@ Partial Class frmGameManager Me.pbIcon.TabIndex = 15 Me.pbIcon.TabStop = False ' - 'Label1 + 'lblIcon ' - Me.Label1.AutoSize = True - Me.Label1.Location = New System.Drawing.Point(6, 100) - Me.Label1.Name = "Label1" - Me.Label1.Size = New System.Drawing.Size(31, 13) - Me.Label1.TabIndex = 3 - Me.Label1.Text = "Icon:" + Me.lblIcon.AutoSize = True + Me.lblIcon.Location = New System.Drawing.Point(6, 100) + Me.lblIcon.Name = "lblIcon" + Me.lblIcon.Size = New System.Drawing.Size(31, 13) + Me.lblIcon.TabIndex = 3 + Me.lblIcon.Text = "Icon:" ' 'btnAppPathBrowse ' @@ -815,7 +815,7 @@ Partial Class frmGameManager Friend WithEvents btnAppPathBrowse As System.Windows.Forms.Button Friend WithEvents lblGamePath As System.Windows.Forms.Label Friend WithEvents txtAppPath As System.Windows.Forms.TextBox - Friend WithEvents Label1 As System.Windows.Forms.Label + Friend WithEvents lblIcon As System.Windows.Forms.Label Friend WithEvents pbIcon As System.Windows.Forms.PictureBox Friend WithEvents lblVersion As System.Windows.Forms.Label Friend WithEvents txtVersion As System.Windows.Forms.TextBox diff --git a/GBM/Forms/frmGameManager.vb b/GBM/Forms/frmGameManager.vb index 0a5aa3b..ee3297b 100644 --- a/GBM/Forms/frmGameManager.vb +++ b/GBM/Forms/frmGameManager.vb @@ -1,4 +1,5 @@ -Imports System.IO +Imports GBM.My.Resources +Imports System.IO Public Class frmGameManager @@ -279,8 +280,8 @@ Public Class frmGameManager End If End If - sNewPath = mgrCommon.OpenFileBrowser("Choose exe file that starts the application", "exe", _ - "Executable", sDefaultFolder, False) + sNewPath = mgrCommon.OpenFileBrowser(frmGameManager_ChooseExe, "exe", _ + frmGameManager_Executable, sDefaultFolder, False) If sNewPath <> String.Empty Then txtAppPath.Text = Path.GetDirectoryName(sNewPath) @@ -300,7 +301,7 @@ Public Class frmGameManager End If End If - sNewPath = mgrCommon.OpenFolderBrowser("Choose the location of application's exe file:", sDefaultFolder, False) + sNewPath = mgrCommon.OpenFolderBrowser(frmGameManager_ChooseExePath, sDefaultFolder, False) If sNewPath <> String.Empty Then txtAppPath.Text = sNewPath End Sub @@ -316,7 +317,7 @@ Public Class frmGameManager End If End If - sNewPath = mgrCommon.OpenFolderBrowser("Choose the application save folder:", sDefaultFolder, False) + sNewPath = mgrCommon.OpenFolderBrowser(frmGameManager_ChooseSaveFolder, sDefaultFolder, False) If sNewPath <> String.Empty Then txtSavePath.Text = sNewPath @@ -335,8 +336,8 @@ Public Class frmGameManager End If End If - sNewPath = mgrCommon.OpenFileBrowser("Choose a custom icon for the application", "ico", _ - "Icon", sDefaultFolder, False) + sNewPath = mgrCommon.OpenFileBrowser(frmGameManager_ChooseCustomIcon, "ico", _ + frmGameManager_Icon, sDefaultFolder, False) If sNewPath <> String.Empty Then txtIcon.Text = sNewPath @@ -349,7 +350,7 @@ Public Class frmGameManager Private Function HandleDirty() As MsgBoxResult Dim oResult As MsgBoxResult - oResult = MsgBox("There are unsaved changes on this form. Do you want to save?", MsgBoxStyle.YesNoCancel, "Game Backup Monitor") + oResult = mgrCommon.ShowMessage(App_ConfirmDirty, MsgBoxStyle.YesNoCancel) Select Case oResult Case MsgBoxResult.Yes @@ -393,7 +394,7 @@ Public Class frmGameManager If File.Exists(sFileName) Then Process.Start("explorer.exe", "/select," & sFileName) Else - MsgBox("The backup file does not exist.", MsgBoxStyle.Exclamation, "Game Backup Monitor") + mgrCommon.ShowMessage(frmGameManager_ErrorNoBackupExists, MsgBoxStyle.Exclamation) End If End Sub @@ -402,9 +403,9 @@ Public Class frmGameManager Dim iCount As Integer = sBuilderString.Split(":").Length If sBuilderString <> String.Empty And iCount > 0 Then - btn.Text = sLabel & " Items... (" & iCount & ")" + btn.Text = sLabel & " " & mgrCommon.FormatString(frmGameManager_ItemsExist, iCount) Else - btn.Text = sLabel & " Items..." + btn.Text = sLabel & " " & frmGameManager_Items End If If bDirty Then @@ -454,7 +455,7 @@ Public Class frmGameManager Else sProcess = CurrentGame.TrueProcess If mgrCommon.IsProcessNotSearchable(CurrentGame) Then bNoAuto = True - sRestorePath = mgrPath.ProcessPathSearch(CurrentBackupItem.Name, sProcess, CurrentBackupItem.Name & " uses a relative path and the game path has not been set.", bNoAuto) + sRestorePath = mgrPath.ProcessPathSearch(CurrentBackupItem.Name, sProcess, mgrCommon.FormatString(frmGameManager_ErrorPathNotSet, CurrentBackupItem.Name), bNoAuto) If sRestorePath <> String.Empty Then CurrentBackupItem.RelativeRestorePath = sRestorePath & "\" & CurrentBackupItem.RestorePath @@ -482,7 +483,7 @@ Public Class frmGameManager If Directory.Exists(sPath) Then Process.Start("explorer.exe", sPath) Else - MsgBox("The restore path does not exist.", MsgBoxStyle.Exclamation, "Game Backup Monitor") + mgrCommon.ShowMessage(frmGameManager_ErrorNoRestorePathExists, MsgBoxStyle.Exclamation) End If End Sub @@ -522,7 +523,7 @@ Public Class frmGameManager If oRemoteBackupData.Contains(oApp.Name) Then CurrentBackupItem = DirectCast(oRemoteBackupData(oApp.Name), clsBackup) - txtCurrentBackup.Text = CurrentBackupItem.DateUpdated & " by " & CurrentBackupItem.UpdatedBy + txtCurrentBackup.Text = mgrCommon.FormatString(frmGameManager_BackupTimeAndName, New String() {CurrentBackupItem.DateUpdated, CurrentBackupItem.UpdatedBy}) sFileName = BackupFolder & CurrentBackupItem.FileName btnOpenBackupFile.Enabled = True @@ -534,16 +535,16 @@ Public Class frmGameManager oFileInfo = New FileInfo(sFileName) dFileSize = oFileInfo.Length If dFileSize > 1048576 Then - txtFileSize.Text = Math.Round(dFileSize / 1048576, 2) & " MB" + txtFileSize.Text = mgrCommon.FormatString(App_MB, Math.Round(dFileSize / 1048576, 2).ToString) Else - txtFileSize.Text = Math.Round(dFileSize / 1024, 2) & " KB" + txtFileSize.Text = mgrCommon.FormatString(App_KB, Math.Round(dFileSize / 1024, 2).ToString) End If Else - txtFileSize.Text = "Backup file was not found!" + txtFileSize.Text = frmGameManager_ErrorNoBackupExists End If txtRestorePath.Text = CurrentBackupItem.RestorePath Else - txtCurrentBackup.Text = "Never" + txtCurrentBackup.Text = frmGameManager_Never txtFileSize.Text = String.Empty txtRestorePath.Text = String.Empty btnOpenBackupFile.Enabled = False @@ -554,25 +555,25 @@ Public Class frmGameManager If oLocalBackupData.Contains(oApp.Name) Then oBackupInfo = DirectCast(oLocalBackupData(oApp.Name), clsBackup) - txtLocalBackup.Text = oBackupInfo.DateUpdated & " by " & oBackupInfo.UpdatedBy + txtLocalBackup.Text = mgrCommon.FormatString(frmGameManager_BackupTimeAndName, New String() {oBackupInfo.DateUpdated, oBackupInfo.UpdatedBy}) Else - txtLocalBackup.Text = "Never" + txtLocalBackup.Text = frmGameManager_Never End If - If txtCurrentBackup.Text = "Never" And txtLocalBackup.Text = "Never" Then + If txtCurrentBackup.Text = frmGameManager_Never And txtLocalBackup.Text = frmGameManager_Never Then lblSync.Visible = False btnMarkAsRestored.Enabled = False - ElseIf txtCurrentBackup.Text = "Never" And txtLocalBackup.Text <> "Never" Then + ElseIf txtCurrentBackup.Text = frmGameManager_Never And txtLocalBackup.Text <> frmGameManager_Never Then lblSync.Visible = False btnMarkAsRestored.Enabled = False ElseIf txtCurrentBackup.Text <> txtLocalBackup.Text Then lblSync.ForeColor = Color.Red - lblSync.Text = "Out of Sync!" + lblSync.Text = frmGameManager_OutofSync lblSync.Visible = True btnMarkAsRestored.Enabled = True Else lblSync.ForeColor = Color.Green - lblSync.Text = "Up to Date!" + lblSync.Text = frmGameManager_UpToDate lblSync.Visible = True btnMarkAsRestored.Enabled = False End If @@ -583,8 +584,7 @@ Public Class frmGameManager Dim oDir As DirectoryInfo Dim sSubDir As String - If MsgBox("This will delete the backup file and all records of this backup. This cannot be undone. " & vbCrLf & vbCrLf & "Do you want to remove the data for " _ - & CurrentBackupItem.Name & "?", MsgBoxStyle.YesNo, "Game Backup Monitor") = MsgBoxResult.Yes Then + If mgrCommon.ShowMessage(frmGameManager_ConfirmBackupDelete, CurrentBackupItem.Name, MsgBoxStyle.YesNo) = MsgBoxResult.Yes Then mgrManifest.DoManifestDelete(CurrentBackupItem, mgrSQLite.Database.Local) mgrManifest.DoManifestDelete(CurrentBackupItem, mgrSQLite.Database.Remote) @@ -601,9 +601,7 @@ Public Class frmGameManager oDir = New DirectoryInfo(sSubDir) If oDir.GetDirectories.Length > 0 Or oDir.GetFiles.Length > 0 Then 'Confirm - If MsgBox("The backup folder " & sSubDir & " still contains " & oDir.GetDirectories.Length & " directories and " & - oDir.GetFiles.Length & " files." & vbCrLf & vbCrLf & "Do you want to delete the contents and remove the sub-folder for this game?", - MsgBoxStyle.YesNo, "Game Backup Monitor") = MsgBoxResult.Yes Then + If mgrCommon.ShowMessage(frmGameManager_ConfirmBackupFolderDelete, New String() {sSubDir, oDir.GetDirectories.Length, oDir.GetFiles.Length}, MsgBoxStyle.YesNo) = MsgBoxResult.Yes Then If Directory.Exists(sSubDir) Then Directory.Delete(sSubDir, True) End If Else @@ -644,8 +642,8 @@ Public Class frmGameManager chkMonitorOnly.Checked = oApp.MonitorOnly 'Update Buttons - UpdateBuilderButtonLabel(oApp.FileType, "In&clude", btnInclude, False) - UpdateBuilderButtonLabel(oApp.ExcludeList, "E&xclude", btnExclude, False) + UpdateBuilderButtonLabel(oApp.FileType, frmGameManager_IncludeShortcut, btnInclude, False) + UpdateBuilderButtonLabel(oApp.ExcludeList, frmGameManager_ExcludeShortcut, btnExclude, False) 'Extra txtAppPath.Text = oApp.ProcessPath @@ -659,7 +657,7 @@ Public Class frmGameManager If IO.File.Exists(oApp.Icon) Then pbIcon.Image = Image.FromFile(oApp.Icon) Else - pbIcon.Image = My.Resources.Unknown + pbIcon.Image = Icon_Unknown End If 'Stats @@ -747,7 +745,7 @@ Public Class frmGameManager WipeControls(grpConfig.Controls) WipeControls(grpExtra.Controls) WipeControls(grpStats.Controls) - pbIcon.Image = My.Resources.Unknown + pbIcon.Image = Icon_Unknown chkEnabled.Enabled = True chkMonitorOnly.Enabled = True btnSave.Enabled = True @@ -765,8 +763,8 @@ Public Class frmGameManager chkMonitorOnly.Checked = False btnTags.Enabled = False lblTags.Visible = False - btnInclude.Text = "In&clude Items..." - btnExclude.Text = "E&xclude Items..." + btnInclude.Text = frmGameManager_btnInclude + btnExclude.Text = frmGameManager_btnExclude btnImport.Enabled = False btnExport.Enabled = False Case eModes.Edit @@ -823,8 +821,8 @@ Public Class frmGameManager btnBackup.Enabled = False btnTags.Enabled = False lblTags.Visible = False - btnInclude.Text = "In&clude Items..." - btnExclude.Text = "E&xclude Items..." + btnInclude.Text = frmGameManager_btnInclude + btnExclude.Text = frmGameManager_btnExclude btnImport.Enabled = True btnExport.Enabled = True Case eModes.Disabled @@ -833,7 +831,7 @@ Public Class frmGameManager WipeControls(grpConfig.Controls) WipeControls(grpExtra.Controls) WipeControls(grpStats.Controls) - pbIcon.Image = My.Resources.Unknown + pbIcon.Image = Icon_Unknown lblSync.Visible = False btnSave.Enabled = False btnCancel.Enabled = False @@ -849,8 +847,8 @@ Public Class frmGameManager btnMarkAsRestored.Enabled = False btnTags.Enabled = False lblTags.Visible = False - btnInclude.Text = "In&clude Items..." - btnExclude.Text = "E&xclude Items..." + btnInclude.Text = frmGameManager_btnInclude + btnExclude.Text = frmGameManager_btnExclude btnImport.Enabled = True btnExport.Enabled = True Case eModes.MultiSelect @@ -858,7 +856,7 @@ Public Class frmGameManager WipeControls(grpConfig.Controls) WipeControls(grpExtra.Controls) WipeControls(grpStats.Controls) - pbIcon.Image = My.Resources.Unknown + pbIcon.Image = Icon_Unknown lblSync.Visible = False btnSave.Enabled = True btnCancel.Enabled = False @@ -976,13 +974,11 @@ Public Class frmGameManager End If Case eModes.MultiSelect Dim sMonitorIDs As New List(Of String) - Dim sChanges As String For Each oData In lstGames.SelectedItems sMonitorIDs.Add(AppData(oData.Key)) Next - sChanges = vbCrLf & vbCrLf & "Monitor this game: " & mgrCommon.BooleanYesNo(oApp.Enabled) & vbCrLf & "Monitor only (No backup): " & mgrCommon.BooleanYesNo(oApp.MonitorOnly) - If MsgBox("Are you sure you want to save the following changes to " & sMonitorIDs.Count & " selected games?" & sChanges, MsgBoxStyle.YesNo, "Game Backup Monitor") = MsgBoxResult.Yes Then + If mgrCommon.ShowMessage(frmGameManager_ConfirmMultiSave, New String() {sMonitorIDs.Count, mgrCommon.BooleanYesNo(oApp.Enabled), mgrCommon.BooleanYesNo(oApp.MonitorOnly)}, MsgBoxStyle.YesNo) = MsgBoxResult.Yes Then bSuccess = True mgrMonitorList.DoListUpdateMulti(sMonitorIDs, oApp) eCurrentMode = eModes.Disabled @@ -1008,7 +1004,7 @@ Public Class frmGameManager oData = lstGames.SelectedItems(0) oApp = DirectCast(AppData(oData.Key), clsGame) - If MsgBox("Are you sure you want to delete " & oApp.Name & "? This cannot be undone." & vbCrLf & vbCrLf & "This will not delete any backup files that already exist for this game.", MsgBoxStyle.YesNo, "Game Backup Monitor") = MsgBoxResult.Yes Then + If mgrCommon.ShowMessage(frmGameManager_ConfirmGameDelete, oApp.Name, MsgBoxStyle.YesNo) = MsgBoxResult.Yes Then mgrMonitorList.DoListDelete(oApp.ID) LoadData() eCurrentMode = eModes.Disabled @@ -1022,7 +1018,7 @@ Public Class frmGameManager sMonitorIDs.Add(oApp.ID) Next - If MsgBox("Are you sure you want to delete the " & sMonitorIDs.Count & " selected games? This cannot be undone.", MsgBoxStyle.YesNo, "Game Backup Monitor") = MsgBoxResult.Yes Then + If mgrCommon.ShowMessage(frmGameManager_ConfirmMultiGameDelete, sMonitorIDs.Count, MsgBoxStyle.YesNo) = MsgBoxResult.Yes Then mgrMonitorList.DoListDeleteMulti(sMonitorIDs) LoadData() eCurrentMode = eModes.Disabled @@ -1044,25 +1040,25 @@ Public Class frmGameManager Private Function CoreValidatation(ByVal oApp As clsGame) As Boolean If txtName.Text = String.Empty Then - MsgBox("You must enter a valid application name.", MsgBoxStyle.Exclamation, "Game Backup Monitor") + mgrCommon.ShowMessage(frmGameManager_ErrorValidName, MsgBoxStyle.Exclamation) txtName.Focus() Return False End If If txtProcess.Text = String.Empty Then - MsgBox("You must enter a valid process name.", MsgBoxStyle.Exclamation, "Game Backup Monitor") + mgrCommon.ShowMessage(frmGameManager_ErrorValidProcess, MsgBoxStyle.Exclamation) txtProcess.Focus() Return False End If If chkFolderSave.Checked = False And txtFileType.Text = String.Empty Then - MsgBox("You must choose items to include in the backup, or choose to save the entire folder.", MsgBoxStyle.Exclamation, "Game Backup Monitor") + mgrCommon.ShowMessage(frmGameManager_ErrorNoItems, MsgBoxStyle.Exclamation) btnInclude.Focus() Return False End If If mgrMonitorList.DoDuplicateListCheck(oApp.Name, oApp.ProcessName, , oApp.ID) Then - MsgBox("A game with this exact name and process already exists.", MsgBoxStyle.Exclamation, "Game Backup Monitor") + mgrCommon.ShowMessage(frmGameManager_ErrorGameDupe, MsgBoxStyle.Exclamation) txtName.Focus() Return False End If @@ -1085,7 +1081,7 @@ Public Class frmGameManager Next If oMarkList.Count = 1 Then - If MsgBox("Do you want to mark " & oMarkList(0).Name & " as restored? This cannot be undone.", MsgBoxStyle.YesNo, "Game Backup Monitor") = MsgBoxResult.Yes Then + If mgrCommon.ShowMessage(frmGameManager_ConfirmMark, oMarkList(0).Name, MsgBoxStyle.YesNo) = MsgBoxResult.Yes Then bWasUpdated = True If mgrManifest.DoManifestCheck(oMarkList(0).Name, mgrSQLite.Database.Local) Then mgrManifest.DoManifestUpdate(oMarkList(0), mgrSQLite.Database.Local) @@ -1094,7 +1090,7 @@ Public Class frmGameManager End If End If ElseIf oMarkList.Count > 1 Then - If MsgBox("Do you want to mark " & oMarkList.Count & " games as restored? This cannot be undone.", MsgBoxStyle.YesNo, "Game Backup Monitor") = MsgBoxResult.Yes Then + If mgrCommon.ShowMessage(frmGameManager_ConfirmMultiMark, oMarkList.Count, MsgBoxStyle.YesNo) = MsgBoxResult.Yes Then bWasUpdated = True For Each oGameBackup In oMarkList If mgrManifest.DoManifestCheck(oGameBackup.Name, mgrSQLite.Database.Local) Then @@ -1105,7 +1101,7 @@ Public Class frmGameManager Next End If Else - MsgBox("The selected game(s) have no backup data.", MsgBoxStyle.Information, "Game Backup Monitor") + mgrCommon.ShowMessage(frmGameManager_ErrorNoBackupData, MsgBoxStyle.Information) End If 'Don't bother updating unless we actually did something @@ -1139,12 +1135,12 @@ Public Class frmGameManager Next If BackupList.Count = 1 Then - sMsg = "Are you sure you want to run a backup for " & BackupList(0).Name & "? This will close the form." + sMsg = mgrCommon.FormatString(frmGameManager_ConfirmBackup, BackupList(0).Name) ElseIf BackupList.Count > 1 Then - sMsg = "Are you sure you want to run a backup for " & BackupList.Count & " games? This will close the form." + sMsg = mgrCommon.FormatString(frmGameManager_ConfirmMultiBackup, BackupList.Count) End If - If MsgBox(sMsg, MsgBoxStyle.YesNo, "Game Backup Monitor") = MsgBoxResult.Yes Then + If mgrCommon.ShowMessage(sMsg, MsgBoxStyle.YesNo) = MsgBoxResult.Yes Then TriggerBackup = True Me.Close() End If @@ -1171,20 +1167,20 @@ Public Class frmGameManager If RestoreList.Count = 1 Then bDoRestore = True If Not mgrRestore.CheckManifest(RestoreList(0).Name) Then - sMsg = RestoreList(0).Name & " is already up to date." & vbCrLf & vbCrLf & "Would you like to restore this backup anyway?" + sMsg = mgrCommon.FormatString(frmGameManager_ConfirmRestoreAnyway, RestoreList(0).Name) Else - sMsg = "Are you sure you want to restore the backup for " & RestoreList(0).Name & "? This will close the form." + sMsg = mgrCommon.FormatString(frmGameManager_ConfirmRestore, RestoreList(0).Name) End If ElseIf RestoreList.Count > 1 Then bDoRestore = True - sMsg = "Are you sure you want to restore the backups for " & RestoreList.Count & " games? This will close the form." + sMsg = mgrCommon.FormatString(frmGameManager_ConfirmMultiRestore, RestoreList.Count) Else - MsgBox("The selected game(s) have no backup data.", MsgBoxStyle.Information, "Game Backup Monitor") + mgrCommon.ShowMessage(frmGameManager_ErrorNoBackupData, MsgBoxStyle.Information) End If 'We need this check in case a bunch of games with no backups are multi-selected If bDoRestore Then - If MsgBox(sMsg, MsgBoxStyle.YesNo, "Game Backup Monitor") = MsgBoxResult.Yes Then + If mgrCommon.ShowMessage(sMsg, MsgBoxStyle.YesNo) = MsgBoxResult.Yes Then TriggerRestore = True Me.Close() End If @@ -1195,7 +1191,7 @@ Public Class frmGameManager Private Sub ImportGameListFile() Dim sLocation As String - sLocation = mgrCommon.OpenFileBrowser("Choose a valid xml file to import", "xml", "XML", Environment.GetFolderPath(Environment.SpecialFolder.MyDocuments), False) + sLocation = mgrCommon.OpenFileBrowser(frmGameManager_ChooseImportXML, "xml", frmGameManager_XML, Environment.GetFolderPath(Environment.SpecialFolder.MyDocuments), False) If sLocation <> String.Empty Then If mgrMonitorList.DoImport(sLocation) Then @@ -1208,7 +1204,7 @@ Public Class frmGameManager Private Sub ExportGameList() Dim sLocation As String - sLocation = mgrCommon.SaveFileBrowser("Choose a location for the export file", "xml", "XML", Environment.GetFolderPath(Environment.SpecialFolder.MyDocuments), "Game Backup Monitor Export " & Date.Now.ToString("dd-MMM-yyyy")) + sLocation = mgrCommon.SaveFileBrowser(frmGameManager_ChooseExportXML, "xml", frmGameManager_XML, Environment.GetFolderPath(Environment.SpecialFolder.MyDocuments), "Game Backup Monitor Export " & Date.Now.ToString("dd-MMM-yyyy")) If sLocation <> String.Empty Then mgrMonitorList.ExportMonitorList(sLocation) @@ -1218,15 +1214,69 @@ Public Class frmGameManager Private Sub ImportOfficialGameList() - If MsgBox("Would you like to choose games to import from the official game list?" & vbCrLf & vbCrLf & "This require an active internet connection.", MsgBoxStyle.YesNo, "Game Backup Monitor") = MsgBoxResult.Yes Then - If mgrMonitorList.DoImport(mgrPath.OfficialImportURL) Then + If mgrCommon.ShowMessage(frmGameManager_ConfirmOfficialImport, MsgBoxStyle.YesNo) = MsgBoxResult.Yes Then + If mgrMonitorList.DoImport(App_URLImport) Then LoadData() End If End If End Sub + Private Sub SetForm() + 'Set Form Name + Me.Name = frmGameManager_FormName + + 'Set Form text + grpFilter.Text = frmGameManager_grpFilter + grpConfig.Text = frmGameManager_grpConfig + grpExtra.Text = frmGameManager_grpExtra + grpStats.Text = frmGameManager_grpStats + btnExport.Text = frmGameManager_btnExport + btnImport.Text = frmGameManager_btnImport + optCustom.Text = frmGameManager_optCustom + optBackupData.Text = frmGameManager_optBackupData + optPendingRestores.Text = frmGameManager_optPendingRestores + optAllGames.Text = frmGameManager_optAllGames + btnTags.Text = frmGameManager_btnTags + chkEnabled.Text = frmGameManager_chkEnabled + btnCancel.Text = frmGameManager_btnCancel + chkMonitorOnly.Text = frmGameManager_chkMonitorOnly + btnMarkAsRestored.Text = frmGameManager_btnMarkAsRestored + btnRestore.Text = frmGameManager_btnRestore + btnSave.Text = frmGameManager_btnSave + lblRestorePath.Text = frmGameManager_lblRestorePath + btnOpenRestorePath.Text = frmGameManager_btnOpenRestorePath + btnOpenBackupFile.Text = frmGameManager_btnOpenBackupFile + btnDeleteBackup.Text = frmGameManager_btnDeleteBackup + lblFileSize.Text = frmGameManager_lblFileSize + lblCurrentBackup.Text = frmGameManager_lblCurrentBackup + lblLastBackup.Text = frmGameManager_lblLastBackup + btnIconBrowse.Text = frmGameManager_btnIconBrowse + lblVersion.Text = frmGameManager_lblVersion + lblCompany.Text = frmGameManager_lblCompany + lblIcon.Text = frmGameManager_lblIcon + btnAppPathBrowse.Text = frmGameManager_btnAppPathBrowse + lblGamePath.Text = frmGameManager_lblGamePath + lblHours.Text = frmGameManager_lblHours + btnExclude.Text = frmGameManager_btnExclude + btnInclude.Text = frmGameManager_btnInclude + btnSavePathBrowse.Text = frmGameManager_btnSavePathBrowse + btnProcessBrowse.Text = frmGameManager_btnProcessBrowse + lblSavePath.Text = frmGameManager_lblSavePath + lblProcess.Text = frmGameManager_lblProcess + lblName.Text = frmGameManager_lblName + chkTimeStamp.Text = frmGameManager_chkTimeStamp + chkFolderSave.Text = frmGameManager_chkFolderSave + btnBackup.Text = frmGameManager_btnBackup + btnClose.Text = frmGameManager_btnClose + btnDelete.Text = frmGameManager_btnDelete + btnAdd.Text = frmGameManager_btnAdd + cmsOfficial.Text = frmGameManager_cmsOfficial + cmsFile.Text = frmGameManager_cmsFile + End Sub + Private Sub frmGameManager_Load(sender As Object, e As EventArgs) Handles MyBase.Load + SetForm() If DisableExternalFunctions Then btnBackup.Visible = False @@ -1342,14 +1392,14 @@ Public Class frmGameManager Private Sub btnInclude_Click(sender As Object, e As EventArgs) Handles btnInclude.Click Dim sInclude As String = txtFileType.Text - OpenBuilder("Include", txtFileType) - UpdateBuilderButtonLabel(txtFileType.Text, "In&clude", btnInclude, (sInclude <> txtFileType.Text)) + OpenBuilder(frmGameManager_Include, txtFileType) + UpdateBuilderButtonLabel(txtFileType.Text, frmGameManager_IncludeShortcut, btnInclude, (sInclude <> txtFileType.Text)) End Sub Private Sub btnExclude_Click(sender As Object, e As EventArgs) Handles btnExclude.Click Dim sExclude As String = txtExclude.Text - OpenBuilder("Exclude", txtExclude) - UpdateBuilderButtonLabel(txtExclude.Text, "E&xclude", btnExclude, (sExclude <> txtExclude.Text)) + OpenBuilder(frmGameManager_Exclude, txtExclude) + UpdateBuilderButtonLabel(txtExclude.Text, frmGameManager_ExcludeShortcut, btnExclude, (sExclude <> txtExclude.Text)) End Sub Private Sub chkFolderSave_CheckedChanged(sender As Object, e As EventArgs) Handles chkFolderSave.CheckedChanged @@ -1357,7 +1407,7 @@ Public Class frmGameManager btnInclude.Enabled = False If txtFileType.Text <> String.Empty Then txtFileType.Text = String.Empty - UpdateBuilderButtonLabel(txtFileType.Text, "In&clude", btnInclude, False) + UpdateBuilderButtonLabel(txtFileType.Text, frmGameManager_IncludeShortcut, btnInclude, False) End If Else btnInclude.Enabled = True diff --git a/GBM/Forms/frmGameTags.vb b/GBM/Forms/frmGameTags.vb index a025236..0f58d0d 100644 --- a/GBM/Forms/frmGameTags.vb +++ b/GBM/Forms/frmGameTags.vb @@ -1,4 +1,6 @@ -Public Class frmGameTags +Imports GBM.My.Resources + +Public Class frmGameTags Dim sMonitorIDs As List(Of String) Dim sGameName As String = String.Empty @@ -31,7 +33,7 @@ oData = lstTags.SelectedItems(0) oGameTags = New List(Of clsGameTag) - For Each sID As String In IDList + For Each sID As String In IDList oGameTag = New clsGameTag oGameTag.MonitorID = sID oGameTag.TagID = oData.Key @@ -160,14 +162,24 @@ End Sub Private Sub SetForm() + 'Set Form Name If IDList.Count > 1 Then - Me.Text = "Edit Tags for Multiple Games" + Me.Text = frmGameTags_FormNameMulti Else - Me.Text = "Edit Tags for " & GameName + Me.Text = mgrCommon.FormatString(frmGameTags_FormNameSingle, GameName) End If + + 'Set Form Text + btnOpenTags.Text = frmGameTags_btnOpenTags + btnClose.Text = frmGameTags_btnClose + lblGameTags.Text = frmGameTags_lblGameTags + lblTags.Text = frmGameTags_lblTags + btnRemove.Text = frmGameTags_btnRemove + btnAdd.Text = frmGameTags_btnAdd + End Sub - Private Sub frmGameTags_Load(sender As Object, e As EventArgs) Handles MyBase.Load + Private Sub frmGameTags_Load(sender As Object, e As EventArgs) Handles MyBase.Load LoadData() SetForm() End Sub diff --git a/GBM/Forms/frmIncludeExclude.vb b/GBM/Forms/frmIncludeExclude.vb index 1fa13df..c466b10 100644 --- a/GBM/Forms/frmIncludeExclude.vb +++ b/GBM/Forms/frmIncludeExclude.vb @@ -1,8 +1,9 @@ -Imports System.IO +Imports GBM.My.Resources +Imports System.IO Public Class frmIncludeExclude - Dim sFormName As String = "Builder" + Dim sFormName As String = String.Empty Dim sRootFolder As String = String.Empty Dim sBuilderString As String @@ -72,7 +73,7 @@ Public Class frmIncludeExclude Catch uaex As UnauthorizedAccessException 'Do Nothing Catch ex As Exception - MsgBox("An unexpected error occured while reading the file system: " & vbCrLf & vbCrLf & ex.Message, MsgBoxStyle.Critical, "Game Backup Monitor") + mgrCommon.ShowMessage(frmIncludeExclude_ErrorFileSystemRead, ex.Message, MsgBoxStyle.Critical) Finally treFiles.EndUpdate() Cursor.Current = Cursors.Default @@ -107,7 +108,7 @@ Public Class frmIncludeExclude End If End If - sNewPath = mgrCommon.OpenFolderBrowser("Choose the location of the saved game folder:", sDefaultFolder, False) + sNewPath = mgrCommon.OpenFolderBrowser(frmIncludeExclude_BrowseSaveFolder, sDefaultFolder, False) If sNewPath <> String.Empty Then txtRootFolder.Text = sNewPath End Sub @@ -222,30 +223,51 @@ Public Class frmIncludeExclude Private Sub OpenRawEdit() Dim sCurrentString As String = CreateNewBuilderString() Dim sNewString As String - sNewString = InputBox("Items are semi-colon delimited.", FormName & " Raw Edit", sCurrentString) + sNewString = InputBox(frmIncludeExclude_RawEditInfo, mgrCommon.FormatString(frmIncludeExclude_RawEditTitle, FormName), sCurrentString) If sNewString <> String.Empty Then ParseBuilderString(sNewString) End If End Sub - Private Sub frmIncludeExclude_Load(sender As Object, e As EventArgs) Handles MyBase.Load - Me.Text = FormName & " Builder" + Private Sub SetForm() + 'Set Form Name + Me.Text = mgrCommon.FormatString(frmIncludeExclude_FormName, FormName) + + 'Set Form Text + lblSaveFolder.Text = frmIncludeExclude_lblSaveFolder + btnRawEdit.Text = frmIncludeExclude_btnRawEdit + lblItems.Text = mgrCommon.FormatString(frmIncludeExclude_lblItems, FormName) + grpFileOptions.Text = mgrCommon.FormatString(frmIncludeExclude_grpFileOptions, FormName) + optFileTypes.Text = frmIncludeExclude_optFileTypes + optIndividualFiles.Text = frmIncludeExclude_optIndividualFiles + btnRemove.Text = frmIncludeExclude_btnRemove + btnAdd.Text = frmIncludeExclude_btnAdd + btnBrowse.Text = frmIncludeExclude_btnBrowse + btnCancel.Text = frmIncludeExclude_btnCancel + btnSave.Text = frmIncludeExclude_btnSave + cmsAdd.Text = frmIncludeExclude_cmsAdd + cmsEdit.Text = frmIncludeExclude_cmsEdit + cmsRemove.Text = frmIncludeExclude_cmsRemove + + 'Set Defaults txtRootFolder.Text = RootFolder optFileTypes.Checked = True - lblItems.Text = FormName & " Items" - grpFileOptions.Text = FormName & " Options" If BuilderString <> String.Empty Then ParseBuilderString(BuilderString) If txtRootFolder.Text <> String.Empty Then BuildTrunk() End Sub + Private Sub frmIncludeExclude_Load(sender As Object, e As EventArgs) Handles MyBase.Load + SetForm() + End Sub + Private Sub frmIncludeExclude_Shown(sender As Object, e As EventArgs) Handles MyBase.Shown treFiles.Select() If Not treFiles.SelectedNode Is Nothing Then treFiles.SelectedNode.Expand() If txtRootFolder.Text = String.Empty Then - ttWarning.ToolTipTitle = "Saved Game Explorer" - ttWarning.SetToolTip(treFiles, "Set the saved game folder using the button above.") - ttWarning.SetToolTip(txtRootFolder, "The saved game folder could not be determined or does not exist.") - ttWarning.SetToolTip(btnBrowse, "Click here to set the saved game folder.") + ttWarning.ToolTipTitle = frmIncludeExclude_ToolTipTitle + ttWarning.SetToolTip(treFiles, frmIncludeExclude_ToolTipFiles) + ttWarning.SetToolTip(txtRootFolder, frmIncludeExclude_ToolTipFolder) + ttWarning.SetToolTip(btnBrowse, frmIncludeExclude_ToolTipBrowse) End If End Sub @@ -305,7 +327,7 @@ Public Class frmIncludeExclude End Sub Private Sub cmsAdd_Click(sender As Object, e As EventArgs) Handles cmsAdd.Click - Dim oNewItem As New ListViewItem("Custom Item", 1) + Dim oNewItem As New ListViewItem(frmIncludeExclude_CustomItem, 1) oNewItem.Selected = True lstBuilder.Items.Add(oNewItem) lstBuilder.SelectedItems(0).BeginEdit() diff --git a/GBM/Forms/frmMain.Designer.vb b/GBM/Forms/frmMain.Designer.vb index 6564b7d..16c5902 100644 --- a/GBM/Forms/frmMain.Designer.vb +++ b/GBM/Forms/frmMain.Designer.vb @@ -99,7 +99,7 @@ Partial Class frmMain ' Me.gMonTrayMenu.Items.AddRange(New System.Windows.Forms.ToolStripItem() {Me.gMonTrayNotification, Me.gMonTrayShow, Me.gMonTraySep2, Me.gMonTrayMon, Me.gMonTraySettings, Me.gMonTraySetup, Me.gMonTrayTools, Me.gMonTraySep1, Me.gMonTrayExit}) Me.gMonTrayMenu.Name = "gMonTrayMenu" - Me.gMonTrayMenu.Size = New System.Drawing.Size(162, 192) + Me.gMonTrayMenu.Size = New System.Drawing.Size(162, 170) ' 'gMonTrayNotification ' @@ -200,6 +200,7 @@ Partial Class frmMain ' Me.txtLog.Font = New System.Drawing.Font("Microsoft Sans Serif", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte)) Me.txtLog.Location = New System.Drawing.Point(12, 184) + Me.txtLog.MaxLength = 16777216 Me.txtLog.Multiline = True Me.txtLog.Name = "txtLog" Me.txtLog.ReadOnly = True @@ -223,7 +224,7 @@ Partial Class frmMain ' Me.gMonStripAdminButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image Me.gMonStripAdminButton.DropDownButtonWidth = 0 - Me.gMonStripAdminButton.Image = Global.GBM.My.Resources.Resources.User + Me.gMonStripAdminButton.Image = Global.GBM.My.Resources.Resources.Icon_User Me.gMonStripAdminButton.ImageTransparentColor = System.Drawing.Color.Magenta Me.gMonStripAdminButton.Name = "gMonStripAdminButton" Me.gMonStripAdminButton.Size = New System.Drawing.Size(21, 20) diff --git a/GBM/Forms/frmMain.vb b/GBM/Forms/frmMain.vb index a544655..99f4a87 100644 --- a/GBM/Forms/frmMain.vb +++ b/GBM/Forms/frmMain.vb @@ -1,4 +1,6 @@ -'Name: frmMain +Imports GBM.My.Resources + +'Name: frmMain 'Description: Game Backup Monitor Main Screen 'Author: Michael J. Seiferling Public Class frmMain @@ -17,12 +19,6 @@ Public Class frmMain Restore = 3 End Enum - Private iProcessType As System.Reflection.ProcessorArchitecture = System.Reflection.AssemblyName.GetAssemblyName(Application.ExecutablePath()).ProcessorArchitecture - Private sVersion As String = "Version: " & My.Application.Info.Version.Major & "." & _ - My.Application.Info.Version.Minor & " Beta (" & [Enum].GetName(GetType(System.Reflection.ProcessorArchitecture), iProcessType) & ")" - Private sRevision As String = "Build: " & My.Application.Info.Version.Build & "." & My.Application.Info.Version.Revision - Const sConstCopyright As String = "2015 Michael J. Seiferling" - Private eCurrentStatus As eStatus = eStatus.Stopped Private eCurrentOperation As eOperation = eOperation.None Private bCancelledByUser As Boolean = False @@ -75,15 +71,15 @@ Public Class frmMain 'Build Info sStatus1 = IO.Path.GetFileName(oRestoreInfo.FileName) - sStatus2 = "Updated by " & oRestoreInfo.UpdatedBy & " on " & oRestoreInfo.DateUpdated + sStatus2 = mgrCommon.FormatString(frmMain_UpdatedBy, New String() {oRestoreInfo.UpdatedBy, oRestoreInfo.DateUpdated}) If oRestoreInfo.AbsolutePath Then sStatus3 = oRestoreInfo.RestorePath Else sStatus3 = oRestoreInfo.RelativeRestorePath End If - WorkingGameInfo("Restore in progress...", sStatus1, sStatus2, sStatus3) - UpdateStatus("Restore in progress...") + WorkingGameInfo(frmMain_RestoreInProgress, sStatus1, sStatus2, sStatus3) + UpdateStatus(frmMain_RestoreInProgress) End Sub Private Sub SetBackupInfo(ByVal oGame As clsGame) Handles oBackup.UpdateBackupInfo @@ -100,8 +96,8 @@ Public Class frmMain End If sStatus3 = String.Empty - WorkingGameInfo("Backup in Progress...", sStatus1, sStatus2, sStatus3) - UpdateStatus("Backup in progress...") + WorkingGameInfo(frmMain_BackupInProgress, sStatus1, sStatus2, sStatus3) + UpdateStatus(frmMain_BackupInProgress) End Sub Private Sub OperationStarted(Optional ByVal bPause As Boolean = True) @@ -110,7 +106,7 @@ Public Class frmMain Dim d As New OperationEndedCallBack(AddressOf OperationEnded) Me.Invoke(d, New Object() {}) Else - btnCancelOperation.Visible = True + btnCancelOperation.Visible = True LockDownMenuEnable() If bPause Then PauseScan() End If @@ -147,7 +143,7 @@ Public Class frmMain Private Sub ExecuteBackup(ByVal oBackupList As List(Of clsGame)) 'Init Backup Settings oBackup.Settings = oSettings - oBackup.DoBackup(oBackupList) + oBackup.DoBackup(oBackupList) OperationEnded() End Sub @@ -172,10 +168,10 @@ Public Class frmMain For Each oGame In oRestoreList oRestoreInfo = oBackupData(oGame.Name) - If mgrRestore.CheckPath(oRestoreInfo, oGame, bTriggerReload) Then + If mgrRestore.CheckPath(oRestoreInfo, oGame, bTriggerReload) Then oReadyList.Add(oRestoreInfo) Else - UpdateLog(oRestoreInfo.Name & " restore was cancelled due to a restore path issue.", False, ToolTipIcon.Error, True) + UpdateLog(mgrCommon.FormatString(frmMain_ErrorRestorePath, oRestoreInfo.Name), False, ToolTipIcon.Error, True) End If Next @@ -206,18 +202,18 @@ Public Class frmMain bNoAuto = False gMonStripStatusButton.Enabled = False - UpdateLog("A manaul backup of " & oGame.Name & " was triggered.", False) + UpdateLog(mgrCommon.FormatString(frmMain_ManualBackup, oGame.Name), False) If oGame.AbsolutePath = False Then If oGame.ProcessPath = String.Empty Then If mgrCommon.IsProcessNotSearchable(oGame) Then bNoAuto = True - oGame.ProcessPath = mgrPath.ProcessPathSearch(oGame.Name, oGame.TrueProcess, oGame.Name & " uses a relative path and has never been detected on this computer.", bNoAuto) + oGame.ProcessPath = mgrPath.ProcessPathSearch(oGame.Name, oGame.TrueProcess, mgrCommon.FormatString(frmMain_ErrorRelativePath, oGame.Name), bNoAuto) End If If oGame.ProcessPath <> String.Empty Then oReadyList.Add(oGame) Else - UpdateLog(oGame.Name & " backup was cancelled due to unknown path.", True, ToolTipIcon.Error, True) + UpdateLog(mgrCommon.FormatString(frmMain_ErrorBackupUnknownPath, oGame.Name), True, ToolTipIcon.Error, True) End If Else oReadyList.Add(oGame) @@ -273,27 +269,27 @@ Public Class frmMain If SupressBackup() Then bDoBackup = False - UpdateLog(oProcess.GameInfo.Name & " backup was cancelled due to session length.", False) - SetLastAction(oProcess.GameInfo.CroppedName & " backup was cancelled due to session length") + UpdateLog(mgrCommon.FormatString(frmMain_ErrorBackupSessionLength, oProcess.GameInfo.Name), False) + SetLastAction(mgrCommon.FormatString(frmMain_ErrorBackupSessionLength, oProcess.GameInfo.CroppedName)) OperationEnded() Else If oProcess.GameInfo.MonitorOnly = False Then If oSettings.DisableConfirmation Then bDoBackup = True Else - If MsgBox("Do you wish to backup data from " & oProcess.GameInfo.Name & "?", MsgBoxStyle.YesNo, "Game Backup Monitor") = MsgBoxResult.Yes Then + If mgrCommon.ShowMessage(frmMain_ConfirmBackup, oProcess.GameInfo.Name, MsgBoxStyle.YesNo) = MsgBoxResult.Yes Then bDoBackup = True Else bDoBackup = False - UpdateLog(oProcess.GameInfo.Name & " backup was cancelled.", False) - SetLastAction(oProcess.GameInfo.CroppedName & " backup was cancelled") + UpdateLog(mgrCommon.FormatString(frmMain_ErrorBackupCancel, oProcess.GameInfo.Name), False) + SetLastAction(mgrCommon.FormatString(frmMain_ErrorBackupCancel, oProcess.GameInfo.CroppedName)) OperationEnded() End If End If Else bDoBackup = False - UpdateLog(oProcess.GameInfo.Name & " is set to monitor only.", False) - SetLastAction(oProcess.GameInfo.CroppedName & " monitoring ended") + UpdateLog(mgrCommon.FormatString(frmMain_MonitorEnded, oProcess.GameInfo.Name), False) + SetLastAction(mgrCommon.FormatString(frmMain_MonitorEnded, oProcess.GameInfo.CroppedName)) OperationEnded() End If End If @@ -313,12 +309,12 @@ Public Class frmMain If slRestoreData.Count > 0 Then If slRestoreData.Count > 1 Then - sNotification = slRestoreData.Count & " New Saves Pending" + sNotification = mgrCommon.FormatString(frmMain_NewSaveNotificationMulti, slRestoreData.Count) Else - sNotification = slRestoreData.Count & " New Save Pending" + sNotification = mgrCommon.FormatString(frmMain_NewSaveNotificationSingle, slRestoreData.Count) End If - gMonNotification.Image = My.Resources.Inbox - gMonTrayNotification.Image = My.Resources.Inbox + gMonNotification.Image = Icon_Inbox + gMonTrayNotification.Image = Icon_Inbox gMonNotification.Text = sNotification gMonTrayNotification.Text = sNotification gMonNotification.Visible = True @@ -331,9 +327,9 @@ Public Class frmMain Dim sIcon As String Dim fbBrowser As New OpenFileDialog - fbBrowser.Title = "Choose icon for " & oProcess.GameInfo.Name + fbBrowser.Title = mgrCommon.FormatString(frmMain_ChooseIcon, oProcess.GameInfo.CroppedName) fbBrowser.DefaultExt = "ico" - fbBrowser.Filter = "Icon files (*.ico)|*.ico" + fbBrowser.Filter = frmMain_IconFilter Try fbBrowser.InitialDirectory = IO.Path.GetDirectoryName(oProcess.FoundProcess.MainModule.FileName) Catch ex As Exception @@ -353,7 +349,7 @@ Public Class frmMain Private Sub ResetGameInfo(Optional ByVal bKeepInfo As Boolean = False) If bKeepInfo And Not oProcess.GameInfo Is Nothing Then - lblGameTitle.Text = "Last Game: " & oProcess.GameInfo.CroppedName + lblGameTitle.Text = mgrCommon.FormatString(frmMain_LastGame, oProcess.GameInfo.CroppedName) pbIcon.Image = oPriorImage lblStatus1.Text = sPriorPath lblStatus2.Text = sPriorCompany @@ -363,8 +359,8 @@ Public Class frmMain lblTimeSpent.Visible = True End If Else - pbIcon.Image = My.Resources.Searching - lblGameTitle.Text = "No Game Detected" + pbIcon.Image = Icon_Searching + lblGameTitle.Text = frmMain_NoGameDetected lblStatus1.Text = String.Empty lblStatus2.Text = String.Empty lblStatus3.Text = String.Empty @@ -373,9 +369,9 @@ Public Class frmMain End If If eCurrentStatus = eStatus.Stopped Then - UpdateStatus("Not Scanning") + UpdateStatus(frmMain_NotScanning) Else - UpdateStatus("No Game Detected") + UpdateStatus(frmMain_NoGameDetected) End If End Sub @@ -388,7 +384,7 @@ Public Class frmMain Else pbTime.Visible = False lblTimeSpent.Visible = False - pbIcon.Image = My.Resources.Working + pbIcon.Image = Icon_Working lblGameTitle.Text = sTitle lblStatus1.Text = sStatus1 lblStatus2.Text = sStatus2 @@ -410,11 +406,11 @@ Public Class frmMain If bMulti Then bAllowIcon = False bAllowDetails = False - lblGameTitle.Text = "Multiple Games" + lblGameTitle.Text = frmMain_MultipleGames pbTime.Visible = False lblTimeSpent.Visible = False - pbIcon.Image = My.Resources.Unknown - lblStatus1.Text = "Game details are unavailable." + pbIcon.Image = Icon_Unknown + lblStatus1.Text = frmMain_NoDetails Else bAllowIcon = True bAllowDetails = True @@ -430,7 +426,7 @@ Public Class frmMain sCompanyName = oProcess.FoundProcess.MainModule.FileVersionInfo.CompanyName Catch ex As Exception - pbIcon.Image = My.Resources.Unknown + pbIcon.Image = Icon_Unknown End Try 'Check for a custom icon & details @@ -439,7 +435,7 @@ Public Class frmMain End If If sFileName = String.Empty Then If oProcess.GameInfo.ProcessPath <> String.Empty Then - sFileName = oProcess.GameInfo.ProcessPath & " (Executable Path)" + sFileName = mgrCommon.FormatString(frmMain_ExePath, oProcess.GameInfo.ProcessPath) End If End If If oProcess.GameInfo.Version <> String.Empty Then @@ -459,19 +455,19 @@ Public Class frmMain 'Set Details If sFileName = String.Empty Then - lblStatus1.Text = "N/A" + lblStatus1.Text = frmMain_NotAvailable Else lblStatus1.Text = sFileName End If If sCompanyName = String.Empty Then - lblStatus2.Text = "N/A" + lblStatus2.Text = frmMain_NotAvailable Else lblStatus2.Text = sCompanyName End If If sFileVersion = String.Empty Then - lblStatus3.Text = "N/A" + lblStatus3.Text = frmMain_NotAvailable Else lblStatus3.Text = sFileVersion End If @@ -490,15 +486,15 @@ Public Class frmMain Dim sSessionTime As String If dTotalTime < 1 Then - sTotalTime = Math.Round((dTotalTime * 100) * 0.6) & " minutes" + sTotalTime = mgrCommon.FormatString(frmMain_SessionMinutes, Math.Round((dTotalTime * 100) * 0.6).ToString) Else - sTotalTime = Math.Round(dTotalTime, 1) & " hours" + sTotalTime = mgrCommon.FormatString(frmMain_SessionHours, Math.Round(dTotalTime, 1).ToString) End If If dSessionTime < 1 Then - sSessionTime = Math.Round((dSessionTime * 100) * 0.6) & " minutes" + sSessionTime = mgrCommon.FormatString(frmMain_SessionMinutes, Math.Round((dSessionTime * 100) * 0.6).ToString) Else - sSessionTime = Math.Round(dSessionTime, 1) & " hours" + sSessionTime = mgrCommon.FormatString(frmMain_SessionHours, Math.Round(dSessionTime, 1).ToString) End If If dSessionTime > 0 Then @@ -550,10 +546,13 @@ Public Class frmMain 'Functions handling the opening of other windows Private Sub OpenAbout() - MsgBox("Game Backup Monitor" & vbCrLf & sVersion & vbCrLf & sRevision & vbCrLf & Chr(169) & sConstCopyright & vbCrLf & vbCrLf & - "This program comes with ABSOLUTELY NO WARRANTY." & vbCrLf & - "This is free software, and you are welcome to redistribute it under certain conditions." & vbCrLf & vbCrLf & - "See gpl-3.0.html in the program folder for details.", MsgBoxStyle.Information, "Game Backup Monitor") + Dim iProcessType As System.Reflection.ProcessorArchitecture = System.Reflection.AssemblyName.GetAssemblyName(Application.ExecutablePath()).ProcessorArchitecture + Dim sVersion As String = My.Application.Info.Version.Major & "." & My.Application.Info.Version.Minor + Dim sProcessType = [Enum].GetName(GetType(System.Reflection.ProcessorArchitecture), iProcessType) + Dim sRevision As String = My.Application.Info.Version.Build & "." & My.Application.Info.Version.Revision + Dim sConstCopyright As String = Chr(169) & App_Copyright + + mgrCommon.ShowMessage(frmMain_About, New String() {sVersion, sProcessType, sRevision, sConstCopyright}, MsgBoxStyle.Information) End Sub Private Sub OpenTags() @@ -629,15 +628,15 @@ Public Class frmMain End Sub Private Sub OpenWebSite() - Process.Start(mgrPath.OfficialWebURL) + Process.Start(App_URLWebsite) End Sub Private Sub OpenOnlineManual() - Process.Start(mgrPath.OfficialManualURL) + Process.Start(App_URLManual) End Sub Private Sub OpenCheckforUpdates() - Process.Start(mgrPath.OfficialUpdatesURL) + Process.Start(App_URLUpdates) End Sub Private Sub CheckForNewBackups() @@ -651,7 +650,7 @@ Public Class frmMain 'Load Monitor List hshScanList = mgrMonitorList.ReadList(mgrMonitorList.eListTypes.ScanList) - UpdateLog("Game List (" & hshScanList.Keys.Count & ") Loaded.", False) + UpdateLog(mgrCommon.FormatString(frmMain_GameListLoaded, hshScanList.Keys.Count), False) End Sub Private Sub StartSyncWatcher() @@ -676,7 +675,7 @@ Public Class frmMain Private Sub HandleSyncWatcher() Handles oFileWatcher.Changed If oSettings.Sync Then - UpdateLog("The master game list has been changed by a program other than GBM.", False, ToolTipIcon.Info, True) + UpdateLog(frmMain_MasterListChanged, False, ToolTipIcon.Info, True) SyncGameSettings() LoadGameSettings() CheckForNewBackups() @@ -702,7 +701,7 @@ Public Class frmMain 'The application cannot continue if this fails If Not oBackup.CheckForUtilities(mgrPath.Utility7zLocation) Then - MsgBox("7-Zip was not found in the Game Backup Monitor utilities folder. The application cannot continue.", MsgBoxStyle.Critical, "Game Backup Monitor") + mgrCommon.ShowMessage(frmMain_Error7zip, MsgBoxStyle.Critical) bShutdown = True Me.Close() End If @@ -738,7 +737,7 @@ Public Class frmMain 'Verify the "Start with Windows" setting If oSettings.StartWithWindows Then If Not VerifyStartWithWindows() Then - UpdateLog("GBM is running from a new location, the Windows startup entry has been updated.", False, ToolTipIcon.Info) + UpdateLog(frmMain_ErrorAppLocationChanged, False, ToolTipIcon.Info) End If End If @@ -750,14 +749,14 @@ Public Class frmMain txtLog.Visible = True Me.Size = New System.Drawing.Size(540, 425) bLogToggle = True - btnLogToggle.Text = "Hide &Log" + btnLogToggle.Text = frmMain_btnToggleLog_Hide txtLog.Select(txtLog.TextLength, 0) txtLog.ScrollToCaret() Else txtLog.Visible = False Me.Size = New System.Drawing.Size(540, 245) bLogToggle = False - btnLogToggle.Text = "Show &Log" + btnLogToggle.Text = frmMain_btnToggleLog_Show End If End Sub @@ -780,23 +779,21 @@ Public Class frmMain Case eStatus.Running HandleScan() Case eStatus.Paused - Dim sGame As String = oProcess.GameInfo.Name + Dim sGame As String = oProcess.GameInfo.CroppedName If bProcessIsAdmin Then - MsgBox(sGame & " is running as Administrator and GBM is not." & - vbCrLf & "You cannot cancel monitoring at this time." _ - & vbCrLf & vbCrLf & "Run GBM as Administrator to prevent this issue.", MsgBoxStyle.Exclamation, "Game Backup Monitor") + mgrCommon.ShowMessage(frmMain_ErrorAdminDetect, sGame, MsgBoxStyle.Exclamation) RestartAsAdmin() Exit Sub End If If oProcess.Duplicate Then - sGame = "the unknown game" + sGame = frmMain_UnknownGame End If - If MsgBox("Do you wish to cancel the monitoring of " & sGame & "?" & vbCrLf & vbCrLf & "Warning: When monitoring is cancelled, session time is NOT saved.", MsgBoxStyle.YesNo, "Game Backup Monitor") = MsgBoxResult.Yes Then - UpdateLog("Monitoring of " & sGame & " was cancelled.", False) - SetLastAction("Monitoring of " & oProcess.GameInfo.CroppedName & " was cancelled") + If mgrCommon.ShowMessage(frmMain_ConfirmMonitorCancel, sGame, MsgBoxStyle.YesNo) = MsgBoxResult.Yes Then + UpdateLog(mgrCommon.FormatString(frmMain_MonitorCancel, sGame), False) + SetLastAction(mgrCommon.FormatString(frmMain_MonitorCancel, sGame)) bwMonitor.CancelAsync() StopScan() @@ -816,7 +813,7 @@ Public Class frmMain Dim bClose As Boolean = False If bPrompt Then - If MsgBox("Are you sure you want to exit? Your games will no longer be monitored.", MsgBoxStyle.YesNo, "Game Backup Monitor") = MsgBoxResult.Yes Then + If mgrCommon.ShowMessage(frmMain_Exit, MsgBoxStyle.YesNo) = MsgBoxResult.Yes Then bClose = True End If Else @@ -895,14 +892,14 @@ Public Class frmMain Private Sub ToggleMenuText() Select Case eCurrentStatus Case eStatus.Running - gMonFileMonitor.Text = "Stop &Monitoring" - gMonTrayMon.Text = "Stop &Monitoring" + gMonFileMonitor.Text = frmMain_gMonFileMonitor_Stop + gMonTrayMon.Text = frmMain_gMonFileMonitor_Stop Case eStatus.Stopped - gMonFileMonitor.Text = "Start &Monitoring" - gMonTrayMon.Text = "Start &Monitoring" + gMonFileMonitor.Text = frmMain_gMonFileMonitor_Start + gMonTrayMon.Text = frmMain_gMonFileMonitor_Start Case eStatus.Paused - gMonFileMonitor.Text = "Cancel &Monitoring" - gMonTrayMon.Text = "Cancel &Monitoring" + gMonFileMonitor.Text = frmMain_gMonFileMonitor_Cancel + gMonTrayMon.Text = frmMain_gMonFileMonitor_Cancel End Select End Sub @@ -924,7 +921,7 @@ Public Class frmMain Me.Invoke(d, New Object() {sLogUpdate, bTrayUpdate, objIcon, bTimeStamp}) Else 'Clear the log if we are approaching the limit - If txtLog.TextLength > 32000 Then + If txtLog.TextLength > 16770000 Then txtLog.Text = String.Empty End If @@ -953,20 +950,62 @@ Public Class frmMain End Sub Private Sub SetForm() + 'Set Form Name + Me.Name = App_NameLong + + 'Set Menu Text + gMonFile.Text = frmMain_gMonFile + gMonFileMonitor.Text = frmMain_gMonFileMonitor_Start + gMonFileSettings.Text = frmMain_gMonFileSettings + gMonFileExit.Text = frmMain_gMonFileExit + gMonSetup.Text = frmMain_gMonSetup + gMonSetupGameManager.Text = frmMain_gMonSetupGameManager + gMonSetupAddWizard.Text = frmMain_gMonSetupAddWizard + gMonSetupCustomVariables.Text = frmMain_gMonSetupCustomVariables + gMonSetupTags.Text = frmMain_gMonSetupTags + gMonTools.Text = frmMain_gMonTools + gMonToolsCleanMan.Text = frmMain_gMonToolsCleanMan + gMonToolsCompact.Text = frmMain_gMonToolsCompact + gMonHelp.Text = frmMain_gMonHelp + gMonHelpWebSite.Text = frmMain_gMonHelpWebSite + gMonHelpManual.Text = frmMain_gMonHelpManual + gMonHelpCheckforUpdates.Text = frmMain_gMonHelpCheckForUpdates + gMonHelpAbout.Text = frmMain_gMonHelpAbout + + 'Set Tray Menu Text + gMonTrayShow.Text = frmMain_gMonTrayShow + gMonTrayMon.Text = frmMain_gMonFileMonitor_Start + gMonTraySettings.Text = frmMain_gMonFileSettings + gMonTraySetup.Text = frmMain_gMonSetup + gMonTraySetupGameManager.Text = frmMain_gMonSetupGameManager + gMonTraySetupAddWizard.Text = frmMain_gMonSetupAddWizard + gMonTraySetupCustomVariables.Text = frmMain_gMonSetupCustomVariables + gMonTraySetupTags.Text = frmMain_gMonSetupTags + gMonTrayTools.Text = frmMain_gMonTools + gMonTrayToolsCleanMan.Text = frmMain_gMonToolsCleanMan + gMonTrayToolsCompact.Text = frmMain_gMonToolsCompact + gMonTrayExit.Text = frmMain_gMonFileExit + + 'Set Form Text + lblLastActionTitle.Text = frmMain_lblLastActionTitle + btnCancelOperation.Text = frmMain_btnCancelOperation + gMonStripStatusButton.Text = frmMain_gMonStripStatusButton + gMonStripStatusButton.ToolTipText = frmMain_gMonStripStatusButtonToolTip + If mgrCommon.IsElevated Then - gMonStripAdminButton.Image = My.Resources.Admin - gMonStripAdminButton.ToolTipText = "GBM is running with Administrator privileges." + gMonStripAdminButton.Image = Icon_Admin + gMonStripAdminButton.ToolTipText = frmMain_RunningAsAdmin Else - gMonStripAdminButton.Image = My.Resources.User - gMonStripAdminButton.ToolTipText = "GBM is running with normal privileges. Click to restart as Administrator." + gMonStripAdminButton.Image = Icon_User + gMonStripAdminButton.ToolTipText = frmMain_RunningAsNormal End If btnCancelOperation.Visible = False txtLog.Visible = False lblLastActionTitle.Visible = False lblLastAction.Text = String.Empty pbTime.SizeMode = PictureBoxSizeMode.AutoSize - pbTime.Image = My.Resources.Clock + pbTime.Image = Icon_Clock Me.Size = New System.Drawing.Size(540, 245) AddHandler mgrMonitorList.UpdateLog, AddressOf UpdateLog ResetGameInfo() @@ -983,16 +1022,16 @@ Public Class frmMain StopSyncWatcher() tmScanTimer.Stop() eCurrentStatus = eStatus.Stopped - UpdateStatus("Not Scanning") - gMonStripStatusButton.Image = My.Resources.Stopped - gMonTray.Icon = My.Resources.GBM_Tray_Stopped + UpdateStatus(frmMain_NotScanning) + gMonStripStatusButton.Image = Icon_Stopped + gMonTray.Icon = GBM_Tray_Stopped Else StartScan() StartSyncWatcher() eCurrentStatus = eStatus.Running - UpdateStatus("No Game Detected") - gMonStripStatusButton.Image = My.Resources.Ready - gMonTray.Icon = My.Resources.GBM_Tray_Ready + UpdateStatus(frmMain_NoGameDetected) + gMonStripStatusButton.Image = Icon_Ready + gMonTray.Icon = GBM_Tray_Ready End If ToggleMenuText() End Sub @@ -1002,9 +1041,9 @@ Public Class frmMain StopSyncWatcher() tmScanTimer.Stop() eCurrentStatus = eStatus.Paused - UpdateStatus("Not Scanning") - gMonStripStatusButton.Image = My.Resources.Detected - gMonTray.Icon = My.Resources.GBM_Tray_Detected + UpdateStatus(frmMain_NotScanning) + gMonStripStatusButton.Image = Icon_Detected + gMonTray.Icon = GBM_Tray_Detected End If ToggleMenuText() ToggleMenuEnable() @@ -1015,9 +1054,9 @@ Public Class frmMain StartScan() StartSyncWatcher() eCurrentStatus = eStatus.Running - gMonStripStatusButton.Image = My.Resources.Ready - gMonTray.Icon = My.Resources.GBM_Tray_Ready - UpdateStatus("No Game Detected") + gMonStripStatusButton.Image = Icon_Ready + gMonTray.Icon = GBM_Tray_Ready + UpdateStatus(frmMain_NoGameDetected) End If ToggleMenuText() ToggleMenuEnable() @@ -1027,9 +1066,9 @@ Public Class frmMain StopSyncWatcher() tmScanTimer.Stop() eCurrentStatus = eStatus.Stopped - UpdateStatus("Not Scanning") - gMonStripStatusButton.Image = My.Resources.Stopped - gMonTray.Icon = My.Resources.GBM_Tray_Stopped + UpdateStatus(frmMain_NotScanning) + gMonStripStatusButton.Image = Icon_Stopped + gMonTray.Icon = GBM_Tray_Stopped ToggleMenuText() ToggleMenuEnable() End Sub @@ -1038,7 +1077,7 @@ Public Class frmMain Private Sub VerifyCustomPathVariables() Dim sGames As String = String.Empty If Not mgrPath.VerifyCustomVariables(hshScanList, sGames) Then - MsgBox("The following monitored game(s) contain a custom path variable that is not set." & vbCrLf & sGames & vbCrLf & vbCrLf & "You will encounter backup/restore errors with these games until the variables are set.", MsgBoxStyle.Critical, "Game Backup Monitor") + mgrCommon.ShowMessage(frmMain_ErrorCustomVariable, sGames, MsgBoxStyle.Exclamation) End If End Sub @@ -1066,7 +1105,7 @@ Public Class frmMain Try IO.Directory.CreateDirectory(sSettingsRoot) Catch ex As Exception - MsgBox("An error occured creating application settings folder. The application cannot proceed." & vbCrLf & vbCrLf & ex.Message, MsgBoxStyle.Critical, "Game Backup Monitor") + mgrCommon.ShowMessage(frmMain_ErrorSettingsFolder, ex.Message, MsgBoxStyle.Critical) bShutdown = True Me.Close() End Try @@ -1082,9 +1121,9 @@ Public Class frmMain If Not oDatabase.CheckDBVer(iDBVer) Then Select Case iDB Case mgrSQLite.Database.Local - MsgBox("Your local GBM data (Version " & iDBVer & ") is too new for your version of GBM (Version " & mgrCommon.AppVersion & ")." & vbCrLf & vbCrLf & "Please upgrade GBM or restore the settings file appropriate for your version. The application cannot proceed.", MsgBoxStyle.Critical, "Game Backup Monitor") + mgrCommon.ShowMessage(frmMain_ErrorDBVerLocal, New String() {iDBVer, mgrCommon.AppVersion}, MsgBoxStyle.Critical) Case mgrSQLite.Database.Remote - MsgBox("The GBM data (Version " & iDBVer & ") in your backup folder is too new for your version of GBM (Version " & mgrCommon.AppVersion & ")." & vbCrLf & vbCrLf & "All computers sharing a backup folder must use the same version of GBM. The application cannot proceed.", MsgBoxStyle.Critical, "Game Backup Monitor") + mgrCommon.ShowMessage(frmMain_ErrorDBVerRemote, New String() {iDBVer, mgrCommon.AppVersion}, MsgBoxStyle.Critical) End Select bShutdown = True @@ -1133,9 +1172,9 @@ Public Class frmMain 'Functions to handle other features Private Sub RestartAsAdmin() If mgrCommon.IsElevated Then - MsgBox("Game Backup Monitor is already running as Administrator.", MsgBoxStyle.Information, "Game Backup Monitor") + mgrCommon.ShowMessage(frmMain_ErrorAlreadyAdmin, MsgBoxStyle.Information) Else - If MsgBox("Do you want to restart Game Backup Monitor as Administrator?", MsgBoxStyle.YesNo, "Game Backup Monitor") = MsgBoxResult.Yes Then + If mgrCommon.ShowMessage(frmMain_ConfirmRunAsAdmin, MsgBoxStyle.YesNo) = MsgBoxResult.Yes Then mgrCommon.RestartAsAdmin() bShutdown = True ShutdownApp(False) @@ -1148,20 +1187,17 @@ Public Class frmMain PauseScan() - If MsgBox("This tool removes orphaned backup information from the local manifest based on the current backup folder. Data can become orphaned when backups are deleted by various computers that share the same backup folder on a cloud or network." & vbCrLf & vbCrLf & - "When alternating between different backup folders you should NOT use this tool." & vbCrLf & vbCrLf & - "Do you wish to proceed?", MsgBoxStyle.YesNo _ - , "Game Backup Monitor") = MsgBoxResult.Yes Then + If mgrCommon.ShowMessage(frmMain_ConfirmManifestClean, MsgBoxStyle.YesNo) = MsgBoxResult.Yes Then slItems = mgrRestore.SyncLocalManifest() If slItems.Count > 0 Then For Each oItem As clsBackup In slItems.Values - UpdateLog(oItem.Name & " entry was removed from local manfiest.", False) + UpdateLog(mgrCommon.FormatString(frmMain_ManifestRemovedEntry, oItem.Name), False) Next - MsgBox(slItems.Count & " entries were removed from the local manifest.") + mgrCommon.ShowMessage(frmMain_ManifestTotalRemoved, slItems.Count, MsgBoxStyle.Information) Else - MsgBox("The local manifest is clean.") + mgrCommon.ShowMessage(frmMain_ManifestAreadyClean, MsgBoxStyle.Information) End If End If @@ -1175,20 +1211,18 @@ Public Class frmMain PauseScan() - If MsgBox("This will rebuild all databases and shrink them to an optimal size." & vbCrLf & - "This should only be used if your gbm.s3db files are becoming very large." & vbCrLf & vbCrLf & - "Do you wish to continue?", MsgBoxStyle.YesNo, "Game Backup Monitor") = MsgBoxResult.Yes Then + If mgrCommon.ShowMessage(frmMain_ConfirmRebuild, MsgBoxStyle.YesNo) = MsgBoxResult.Yes Then oLocalDatabase = New mgrSQLite(mgrSQLite.Database.Local) oRemoteDatabase = New mgrSQLite(mgrSQLite.Database.Remote) - UpdateLog("Local Database Vacuum Initialized: " & oLocalDatabase.GetDBSize & " KB", False) + UpdateLog(mgrCommon.FormatString(frmMain_LocalCompactInit, oLocalDatabase.GetDBSize), False) oLocalDatabase.CompactDatabase() - UpdateLog("Local Database Vacuum Completed: " & oLocalDatabase.GetDBSize & " KB", False) + UpdateLog(mgrCommon.FormatString(frmMain_LocalCompactComplete, oLocalDatabase.GetDBSize), False) - UpdateLog("Remote Database Vacuum Initialized: " & oRemoteDatabase.GetDBSize & " KB", False) + UpdateLog(mgrCommon.FormatString(frmMain_RemoteCompactInit, oRemoteDatabase.GetDBSize), False) oRemoteDatabase.CompactDatabase() - UpdateLog("Remote Database Vacuum Completed: " & oRemoteDatabase.GetDBSize & " KB", False) + UpdateLog(mgrCommon.FormatString(frmMain_RemoteCompactComplete, oRemoteDatabase.GetDBSize), False) End If ResumeScan() @@ -1324,13 +1358,12 @@ Public Class frmMain bContinue = False If iErrorCode = 5 Then If oProcess.Duplicate Then - sErrorMessage = "Multiple possible games have been detected running as Administrator and GBM is not, GBM cannot detect the path to identify your game or save your backup." & vbCrLf & vbCrLf & - "Please run GBM as Administrator to properly detect and backup this game." - MsgBox(sErrorMessage, MsgBoxStyle.Critical, "Game Backup Monitor") + sErrorMessage = mgrCommon.FormatString(frmMain_ErrorMultiAdmin) + mgrCommon.ShowMessage(sErrorMessage, MsgBoxStyle.Exclamation) bAskForRestart = True Else If Not CheckForSavedPath() Then - sErrorMessage = oProcess.GameInfo.Name & " is running as Administrator and GBM is not, GBM cannot detect the required information to save your backup." + sErrorMessage = mgrCommon.FormatString(frmMain_ErrorAdminBackup, oProcess.GameInfo.Name) oProcess.GameInfo.ProcessPath = mgrPath.ProcessPathSearch(oProcess.GameInfo.Name, oProcess.GameInfo.ProcessName, sErrorMessage) If oProcess.GameInfo.ProcessPath <> String.Empty Then 'Update and reload @@ -1344,12 +1377,11 @@ Public Class frmMain End If ElseIf iErrorCode = 299 Then If oProcess.Duplicate Then - sErrorMessage = "Multiple possible 64-bit games have been detected, GBM cannot detect the path to identify your game or save your backup." & vbCrLf & vbCrLf & - "Please install the 64-bit version of GBM to detect and backup this game properly." - MsgBox(sErrorMessage, MsgBoxStyle.Critical, "Game Backup Monitor") + sErrorMessage = mgrCommon.FormatString(frmMain_ErrorMulti64) + mgrCommon.ShowMessage(sErrorMessage, MsgBoxStyle.Exclamation) Else If Not CheckForSavedPath() Then - sErrorMessage = oProcess.GameInfo.Name & " is a 64-bit game, GBM cannot detect the required information to save your backup." + sErrorMessage = mgrCommon.FormatString(frmMain_Error64Backup, oProcess.GameInfo.Name) oProcess.GameInfo.ProcessPath = mgrPath.ProcessPathSearch(oProcess.GameInfo.Name, oProcess.GameInfo.ProcessName, sErrorMessage) If oProcess.GameInfo.ProcessPath <> String.Empty Then 'Update and reload @@ -1367,12 +1399,12 @@ Public Class frmMain If bContinue = True Then CheckForSavedDuplicate() If oProcess.Duplicate Then - UpdateLog("Multiple Games Detected", oSettings.ShowDetectionToolTips) - UpdateStatus("Multiple Games Detected") + UpdateLog(frmMain_MultipleGamesDetected, oSettings.ShowDetectionToolTips) + UpdateStatus(frmMain_MultipleGamesDetected) SetGameInfo(True) Else - UpdateLog(oProcess.GameInfo.Name & " Detected", oSettings.ShowDetectionToolTips) - UpdateStatus(oProcess.GameInfo.CroppedName & " Detected") + UpdateLog(mgrCommon.FormatString(frmMain_GameDetected, oProcess.GameInfo.Name), oSettings.ShowDetectionToolTips) + UpdateStatus(mgrCommon.FormatString(frmMain_GameDetected, oProcess.GameInfo.CroppedName)) SetGameInfo() End If oProcess.StartTime = Now @@ -1406,11 +1438,11 @@ Public Class frmMain If Not bCancelledByUser Then If DoMultiGameCheck() Then - UpdateLog(oProcess.GameInfo.Name & " has ended.", False) + UpdateLog(mgrCommon.FormatString(frmMain_GameEnded, oProcess.GameInfo.Name), False) If oSettings.TimeTracking Then HandleTimeSpent() RunBackup() Else - UpdateLog("The unidentified game has ended.", False) + UpdateLog(frmMain_UnknownGameEnded, False) ResetGameInfo() ResumeScan() End If diff --git a/GBM/Forms/frmSettings.Designer.vb b/GBM/Forms/frmSettings.Designer.vb index 4831172..dfce43d 100644 --- a/GBM/Forms/frmSettings.Designer.vb +++ b/GBM/Forms/frmSettings.Designer.vb @@ -34,7 +34,6 @@ Partial Class frmSettings Me.btnBackupFolder = New System.Windows.Forms.Button() Me.lblBackupFolder = New System.Windows.Forms.Label() Me.txtBackupFolder = New System.Windows.Forms.TextBox() - Me.fbBrowser = New System.Windows.Forms.FolderBrowserDialog() Me.btnSave = New System.Windows.Forms.Button() Me.btnCancel = New System.Windows.Forms.Button() Me.grpBackup = New System.Windows.Forms.GroupBox() @@ -310,7 +309,6 @@ Partial Class frmSettings Friend WithEvents grpGeneral As System.Windows.Forms.GroupBox Friend WithEvents grpPaths As System.Windows.Forms.GroupBox Friend WithEvents txtBackupFolder As System.Windows.Forms.TextBox - Friend WithEvents fbBrowser As System.Windows.Forms.FolderBrowserDialog Friend WithEvents btnSave As System.Windows.Forms.Button Friend WithEvents btnCancel As System.Windows.Forms.Button Friend WithEvents lblBackupFolder As System.Windows.Forms.Label diff --git a/GBM/Forms/frmSettings.resx b/GBM/Forms/frmSettings.resx index 5e801f8..c4a320a 100644 --- a/GBM/Forms/frmSettings.resx +++ b/GBM/Forms/frmSettings.resx @@ -117,9 +117,6 @@ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - 17, 17 - 32 diff --git a/GBM/Forms/frmSettings.vb b/GBM/Forms/frmSettings.vb index 4686676..520a366 100644 --- a/GBM/Forms/frmSettings.vb +++ b/GBM/Forms/frmSettings.vb @@ -1,4 +1,6 @@ -Public Class frmSettings +Imports GBM.My.Resources + +Public Class frmSettings Dim bShutdown As Boolean = False Dim bBackupLocationChanged As Boolean = False Dim bCheckSumDisabled As Boolean = False @@ -47,7 +49,7 @@ oSettings.StartWithWindows = chkStartWindows.Checked oSettings.MonitorOnStartup = chkMonitorOnStartup.Checked - oSettings.StartToTray = chkStartToTray.Checked + oSettings.StartToTray = chkStartToTray.Checked oSettings.ShowDetectionToolTips = chkShowDetectionTips.Checked oSettings.DisableConfirmation = chkBackupConfirm.Checked oSettings.CreateSubFolder = chkCreateFolder.Checked @@ -75,7 +77,7 @@ End If oSettings.BackupFolder = txtBackupFolder.Text Else - MsgBox("The backup folder does not exist. Please choose a valid backup folder.", MsgBoxStyle.Exclamation, "Game Backup Monitor") + mgrCommon.ShowMessage(frmSettings_ErrorBackupFolder, MsgBoxStyle.Exclamation) Return False End If @@ -108,7 +110,6 @@ chkTimeTracking.Checked = oSettings.TimeTracking chkSupressBackup.Checked = oSettings.SupressBackup nudSupressBackupThreshold.Value = oSettings.SupressBackupThreshold - nudSupressBackupThreshold.Enabled = chkSupressBackup.Checked End Sub @@ -130,15 +131,42 @@ End If End Sub + Private Sub SetForm() + 'Set Form Name + Me.Text = frmSettings_FormName + + 'Set Form Text + grpBackup.Text = frmSettings_grpBackup + lblMinutes.Text = frmSettings_lblMinutes + chkSupressBackup.Text = frmSettings_chkSupressBackup + chkCheckSum.Text = frmSettings_chkCheckSum + chkRestoreOnLaunch.Text = frmSettings_chkRestoreOnLaunch + chkOverwriteWarning.Text = frmSettings_chkOverwriteWarning + chkCreateFolder.Text = frmSettings_chkCreateFolder + chkBackupConfirm.Text = frmSettings_chkBackupConfirm + btnCancel.Text = frmSettings_btnCancel + btnSave.Text = frmSettings_btnSave + grpPaths.Text = frmSettings_grpPaths + btnBackupFolder.Text = frmSettings_btnBackupFolder + lblBackupFolder.Text = frmSettings_lblBackupFolder + grpGeneral.Text = frmSettings_grpGeneral + chkTimeTracking.Text = frmSettings_chkTimeTracking + chkStartWindows.Text = frmSettings_chkStartWindows + chkSync.Text = frmSettings_chkSync + chkShowDetectionTips.Text = frmSettings_chkShowDetectionTips + chkStartToTray.Text = frmSettings_chkStartToTray + chkMonitorOnStartup.Text = frmSettings_chkMonitorOnStartup + End Sub + Private Sub frmSettings_Load(sender As System.Object, e As System.EventArgs) Handles MyBase.Load + SetForm() LoadSettings() End Sub Private Sub btnBackupFolder_Click(sender As System.Object, e As System.EventArgs) Handles btnBackupFolder.Click - fbBrowser.SelectedPath = oSettings.BackupFolder - If fbBrowser.ShowDialog() = Windows.Forms.DialogResult.OK Then - txtBackupFolder.Text = fbBrowser.SelectedPath - End If + Dim sNewFolder As String + sNewFolder = mgrCommon.OpenFolderBrowser(frmSettings_BrowseFolder, oSettings.BackupFolder, True) + If sNewFolder <> String.Empty Then txtBackupFolder.Text = sNewFolder End Sub Private Sub chkSupressBackup_CheckedChanged(sender As Object, e As EventArgs) Handles chkSupressBackup.CheckedChanged diff --git a/GBM/Forms/frmStartUpWizard.vb b/GBM/Forms/frmStartUpWizard.vb index 5264e2f..82de3e7 100644 --- a/GBM/Forms/frmStartUpWizard.vb +++ b/GBM/Forms/frmStartUpWizard.vb @@ -1,4 +1,5 @@ -Imports System.IO +Imports GBM.My.Resources +Imports System.IO Public Class frmStartUpWizard @@ -26,8 +27,34 @@ Public Class frmStartUpWizard Private eCurrentStep As eSteps = eSteps.Step1 - Private Sub FormInit() - llbManual.Links.Add(0, 26, "http://mikemaximus.github.io/gbm-web/manual.html") + Private Sub SetForm() + 'Set Form Name + Me.Text = frmStartUpWizard_FormName + + 'Set Form Text + btnNext.Text = frmStartUpWizard_btnNext + btnBack.Text = frmStartUpWizard_btnBack + lblStep1Instructions2.Text = frmStartUpWizard_lblStep1Instructions2 + llbManual.Text = frmStartUpWizard_llbManual + lblStep1Title.Text = frmStartUpWizard_lblStep1Title + lblStep1Instructions.Text = frmStartUpWizard_lblStep1Instructions + chkSync.Text = frmStartUpWizard_chkSync + chkCreateFolder.Text = frmStartUpWizard_chkCreateFolder + lblStep2Title.Text = frmStartUpWizard_lblStep2Title + lblStep2Instructions.Text = frmStartUpWizard_lblStep2Instructions + btnFolderBrowse.Text = frmStartUpWizard_btnFolderBrowse + lblStep2Intro.Text = frmStartUpWizard_lblStep2Intro + btnOpenWizard.Text = frmStartUpWizard_btnOpenWizard + btnOpenMonitorList.Text = frmStartUpWizard_btnOpenMonitorList + btnDownloadList.Text = frmStartUpWizard_btnDownloadList + lblStep3Title.Text = frmStartUpWizard_lblStep3Title + lblStep3Intro.Text = frmStartUpWizard_lblStep3Intro + lblStep4Instructions3.Text = frmStartUpWizard_lblStep4Instructions3 + lblStep4Instructions2.Text = frmStartUpWizard_lblStep4Instructions2 + lblStep4Title.Text = frmStartUpWizard_lblStep4Title + lblStep4Instructions.Text = frmStartUpWizard_lblStep4Instructions + + llbManual.Links.Add(0, 26, App_URLManual) LoadGameSettings() StepHandler() End Sub @@ -40,7 +67,7 @@ Public Class frmStartUpWizard 'Make sure database is the latest version oDatabase.DatabaseUpgrade() mgrMonitorList.SyncMonitorLists(False) - MsgBox("Existing data was detected in the backup folder and has been imported.", MsgBoxStyle.Information, "Game Backup Monitor") + mgrCommon.ShowMessage(frmStartUpWizard_ExistingData, MsgBoxStyle.Information) End If End Sub @@ -48,7 +75,7 @@ Public Class frmStartUpWizard Select Case eCurrentStep Case eSteps.Step1 btnBack.Enabled = False - btnNext.Enabled = True + btnNext.Enabled = True tabWizard.SelectTab(0) Case eSteps.Step2 txtBackupPath.Text = oSettings.BackupFolder @@ -60,19 +87,19 @@ Public Class frmStartUpWizard Case eSteps.Step3 btnBack.Enabled = False btnNext.Enabled = True - btnNext.Text = "&Next" + btnNext.Text = frmStartUpWizard_btnNext tabWizard.SelectTab(2) Case eSteps.Step4 btnBack.Enabled = True btnNext.Enabled = True - btnNext.Text = "&Finish" + btnNext.Text = frmStartUpWizard_btnNext_Finish tabWizard.SelectTab(3) End Select End Sub Private Sub DownloadSettings() - If MsgBox("Would you like to choose games to import from the official game list?" & vbCrLf & vbCrLf & "This require an active internet connection.", MsgBoxStyle.YesNo, "Game Backup Monitor") = MsgBoxResult.Yes Then - If mgrMonitorList.DoImport(mgrPath.OfficialImportURL) Then + If mgrCommon.ShowMessage(frmStartUpWizard_ConfirmOfficialImport, MsgBoxStyle.YesNo) = MsgBoxResult.Yes Then + If mgrMonitorList.DoImport(App_URLImport) Then oGameData = mgrMonitorList.ReadList(mgrMonitorList.eListTypes.FullList) If oSettings.Sync Then mgrMonitorList.SyncMonitorLists() End If @@ -103,19 +130,19 @@ Public Class frmStartUpWizard Private Function ValidateBackupPath(ByVal strPath As String, ByRef sErrorMessage As String) As Boolean If strPath = String.Empty Then - sErrorMessage = "You must select a backup path to continue." + sErrorMessage = frmStartUpWizard_ErrorNoFolder txtBackupPath.Focus() Return False End If If Not Directory.Exists(strPath) Then - sErrorMessage = "The folder you selected does not exist or is not a valid folder." + sErrorMessage = frmStartUpWizard_ErrorNoFolderExists txtBackupPath.Focus() Return False End If If Not Path.IsPathRooted(strPath) Then - sErrorMessage = "The selected path must be a full path." + sErrorMessage = frmStartUpWizard_ErrorBadFolder txtBackupPath.Focus() Return False End If @@ -165,7 +192,7 @@ Public Class frmStartUpWizard Me.Close() End Select - If bError Then MsgBox(sErrorMessage, MsgBoxStyle.Exclamation, "Game Backup Monitor") + If bError Then mgrCommon.ShowMessage(sErrorMessage, MsgBoxStyle.Exclamation) StepHandler() End Sub @@ -180,7 +207,7 @@ Public Class frmStartUpWizard End If End If - sNewPath = mgrCommon.OpenFolderBrowser("Choose GBM backup folder:", sDefaultFolder, False) + sNewPath = mgrCommon.OpenFolderBrowser(frmStartUpWizard_BrowseFolder, sDefaultFolder, True) If sNewPath <> String.Empty Then txtBackupPath.Text = sNewPath End Sub @@ -194,7 +221,7 @@ Public Class frmStartUpWizard End Sub Private Sub frmStartUpWizard_Load(sender As Object, e As EventArgs) Handles MyBase.Load - FormInit() + SetForm() End Sub Private Sub btnFolderBrowse_Click(sender As Object, e As EventArgs) Handles btnFolderBrowse.Click diff --git a/GBM/Forms/frmTags.vb b/GBM/Forms/frmTags.vb index fffad3b..f09ffa7 100644 --- a/GBM/Forms/frmTags.vb +++ b/GBM/Forms/frmTags.vb @@ -1,4 +1,6 @@ -Public Class frmTags +Imports GBM.My.Resources + +Public Class frmTags Dim hshTagData As Hashtable Private bIsDirty As Boolean = False @@ -50,7 +52,7 @@ Private Function HandleDirty() As MsgBoxResult Dim oResult As MsgBoxResult - oResult = MsgBox("There are unsaved changes on this form. Do you want to save?", MsgBoxStyle.YesNoCancel, "Game Backup Monitor") + oResult = mgrCommon.ShowMessage(App_ConfirmDirty, MsgBoxStyle.YesNoCancel) Select Case oResult Case MsgBoxResult.Yes @@ -204,7 +206,7 @@ Case eModes.Add If CoreValidatation(oTag) Then bSuccess = True - mgrTags.DoTagAdd(oTag) + mgrTags.DoTagAdd(oTag) eCurrentMode = eModes.View End If Case eModes.Edit @@ -229,7 +231,7 @@ If lstTags.SelectedItems.Count > 0 Then oTag = DirectCast(TagData(lstTags.SelectedItems(0).ToString), clsTag) - If MsgBox("Are you sure you want to delete " & oTag.Name & "? This cannot be undone." & vbCrLf & vbCrLf & "All games using this tag will have it removed.", MsgBoxStyle.YesNo, "Game Backup Monitor") = MsgBoxResult.Yes Then + If mgrCommon.ShowMessage(frmTags_ConfirmDelete, oTag.Name, MsgBoxStyle.YesNo) = MsgBoxResult.Yes Then mgrTags.DoTagDelete(oTag.ID) LoadData() eCurrentMode = eModes.Disabled @@ -248,13 +250,13 @@ Private Function CoreValidatation(ByVal oTag As clsTag) As Boolean If txtName.Text = String.Empty Then - MsgBox("You must enter a valid tag name.", MsgBoxStyle.Exclamation, "Game Backup Monitor") + mgrCommon.ShowMessage(frmTags_ErrorValidName, MsgBoxStyle.Exclamation) txtName.Focus() Return False End If If mgrTags.DoCheckDuplicate(oTag.Name, oTag.ID) Then - MsgBox("A tag with this name already exists.", MsgBoxStyle.Exclamation, "Game Backup Monitor") + mgrCommon.ShowMessage(frmTags_ErrorTagDupe, MsgBoxStyle.Exclamation) txtName.Focus() Return False End If @@ -262,7 +264,22 @@ Return True End Function + Private Sub SetForm() + 'Set Form Name + Me.Text = frmTags_FormName + + 'Set Form Text + grpTag.Text = frmTags_grpTag + lblName.Text = frmTags_lblName + btnClose.Text = frmTags_btnClose + btnDelete.Text = frmTags_btnDelete + btnAdd.Text = frmTags_btnAdd + btnCancel.Text = frmTags_btnCancel + btnSave.Text = frmTags_btnSave + End Sub + Private Sub frmTags_Load(sender As Object, e As EventArgs) Handles MyBase.Load + SetForm() LoadData() ModeChange() AssignDirtyHandlers(grpTag.Controls) diff --git a/GBM/Forms/frmVariableManager.vb b/GBM/Forms/frmVariableManager.vb index 60769d4..7a3d1fa 100644 --- a/GBM/Forms/frmVariableManager.vb +++ b/GBM/Forms/frmVariableManager.vb @@ -1,4 +1,5 @@ -Imports System.IO +Imports GBM.My.Resources +Imports System.IO Public Class frmVariableManager Dim hshVariableData As Hashtable @@ -53,7 +54,7 @@ Public Class frmVariableManager End If End If - sNewPath = mgrCommon.OpenFolderBrowser("Choose the path the variable represents:", sDefaultFolder, False) + sNewPath = mgrCommon.OpenFolderBrowser(frmVariableManager_PathBrowse, sDefaultFolder, False) If sNewPath <> String.Empty Then txtPath.Text = sNewPath End Sub @@ -67,7 +68,7 @@ Public Class frmVariableManager Private Function HandleDirty() As MsgBoxResult Dim oResult As MsgBoxResult - oResult = MsgBox("There are unsaved changes on this form. Do you want to save?", MsgBoxStyle.YesNoCancel, "Game Backup Monitor") + oResult = mgrCommon.ShowMessage(App_ConfirmDirty, MsgBoxStyle.YesNoCancel) Select Case oResult Case MsgBoxResult.Yes @@ -251,7 +252,7 @@ Public Class frmVariableManager If lstVariables.SelectedItems.Count > 0 Then oCustomVariable = DirectCast(VariableData(lstVariables.SelectedItems(0).ToString), clsPathVariable) - If MsgBox("Are you sure you want to delete " & oCustomVariable.Name & "? This cannot be undone.", MsgBoxStyle.YesNo, "Game Backup Monitor") = MsgBoxResult.Yes Then + If mgrCommon.ShowMessage(frmVariableManager_ConfirmDelete, oCustomVariable.Name, MsgBoxStyle.YesNo) = MsgBoxResult.Yes Then mgrVariables.DoVariableDelete(oCustomVariable.ID) mgrVariables.DoPathUpdate(oCurrentVariable.FormattedName, oCurrentVariable.Path) LoadData() @@ -271,19 +272,19 @@ Public Class frmVariableManager Private Function CoreValidatation(ByVal oCustomVariable As clsPathVariable) As Boolean If txtName.Text = String.Empty Then - MsgBox("You must enter a valid path name.", MsgBoxStyle.Exclamation, "Game Backup Monitor") + mgrCommon.ShowMessage(frmVariableManager_ErrorValidName, MsgBoxStyle.Exclamation) txtName.Focus() Return False End If If txtPath.Text = String.Empty Then - MsgBox("You must enter a valid path.", MsgBoxStyle.Exclamation, "Game Backup Monitor") + mgrCommon.ShowMessage(frmVariableManager_ErrorValidPath, MsgBoxStyle.Exclamation) txtPath.Focus() Return False End If If mgrVariables.DoCheckDuplicate(oCustomVariable.Name, oCustomVariable.ID) Then - MsgBox("An custom variable with this name already exists.", MsgBoxStyle.Exclamation, "Game Backup Monitor") + mgrCommon.ShowMessage(frmVariableManager_ErrorVariableDupe, MsgBoxStyle.Exclamation) txtName.Focus() Return False End If @@ -291,7 +292,24 @@ Public Class frmVariableManager Return True End Function + Private Sub SetForm() + 'Set Form Name + Me.Text = frmVariableManager_FormName + + 'Set Form Text + btnCancel.Text = frmVariableManager_btnCancel + btnSave.Text = frmVariableManager_btnSave + grpVariable.Text = frmVariableManager_grpVariable + btnPathBrowse.Text = frmVariableManager_btnPathBrowse + lblPath.Text = frmVariableManager_lblPath + lblName.Text = frmVariableManager_lblName + btnClose.Text = frmVariableManager_btnClose + btnDelete.Text = frmVariableManager_btnDelete + btnAdd.Text = frmVariableManager_btnAdd + End Sub + Private Sub frmVariableManager_Load(sender As Object, e As EventArgs) Handles MyBase.Load + SetForm() LoadData() ModeChange() AssignDirtyHandlers(grpVariable.Controls) diff --git a/GBM/Managers/mgrBackup.vb b/GBM/Managers/mgrBackup.vb index a5b5175..ac51163 100644 --- a/GBM/Managers/mgrBackup.vb +++ b/GBM/Managers/mgrBackup.vb @@ -1,4 +1,5 @@ -Imports System.IO +Imports GBM.My.Resources +Imports System.IO Public Class mgrBackup @@ -80,7 +81,7 @@ Public Class mgrBackup oStream.Flush() End Using Catch ex As Exception - RaiseEvent UpdateLog("An error occured creating a file list: " & ex.Message, False, ToolTipIcon.Error, True) + RaiseEvent UpdateLog(mgrCommon.FormatString(mgrBackup_ErrorFileList, ex.Message), False, ToolTipIcon.Error, True) End Try End Sub @@ -109,8 +110,8 @@ Public Class mgrBackup RaiseEvent UpdateBackupInfo(oGame) If mgrRestore.CheckManifest(oGame.Name) Then - If MsgBox("The manifest shows the backup folder contains a backup for " & oGame.Name & " that has not been restored on this computer." & vbCrLf & vbCrLf & "Do you want to overwrite this file anyway?", MsgBoxStyle.YesNo, "Game Backup Monitor") = MsgBoxResult.No Then - RaiseEvent UpdateLog("Backup aborted by user due to manifest conflict.", False, ToolTipIcon.Error, True) + If mgrCommon.ShowMessage(mgrBackup_ConfirmManifestConflict, oGame.Name, MsgBoxStyle.YesNo) = MsgBoxResult.No Then + RaiseEvent UpdateLog(mgrBackup_ErrorManifestConflict, False, ToolTipIcon.Error, True) bDoBackup = False End If End If @@ -122,7 +123,7 @@ Public Class mgrBackup Directory.CreateDirectory(sBackupFile) End If Catch ex As Exception - RaiseEvent UpdateLog("Backup Aborted. A failure occured while creating backup sub-folder for " & oGame.Name & vbCrLf & ex.Message, False, ToolTipIcon.Error, True) + RaiseEvent UpdateLog(mgrCommon.FormatString(mgrBackup_ErrorSubFolderCreate, New String() {oGame.Name, ex.Message}), False, ToolTipIcon.Error, True) bDoBackup = False End Try End If @@ -134,8 +135,8 @@ Public Class mgrBackup End If If oSettings.ShowOverwriteWarning And File.Exists(sBackupFile) Then - If MsgBox("A file with the same name already exists in the backup folder." & vbCrLf & vbCrLf & "Do you want to overwrite this file?", MsgBoxStyle.YesNo, "Game Backup Monitor") = MsgBoxResult.No Then - RaiseEvent UpdateLog(oGame.Name & " backup aborted by user due to overwrite.", False, ToolTipIcon.Error, True) + If mgrCommon.ShowMessage(mgrBackup_ConfirmOverwrite, MsgBoxStyle.YesNo) = MsgBoxResult.No Then + RaiseEvent UpdateLog(mgrCommon.FormatString(mgrBackup_ErrorOverwriteAbort, oGame.Name), False, ToolTipIcon.Error, True) bDoBackup = False End If End If @@ -173,11 +174,11 @@ Public Class mgrBackup prs7z.StartInfo.RedirectStandardOutput = True prs7z.StartInfo.CreateNoWindow = True prs7z.Start() - RaiseEvent UpdateLog("Backup of " & sSavePath & " in progress...", False, ToolTipIcon.Info, True) + RaiseEvent UpdateLog(mgrCommon.FormatString(mgrBackup_BackupInProgress, sSavePath), False, ToolTipIcon.Info, True) While Not prs7z.StandardOutput.EndOfStream If CancelOperation Then prs7z.Kill() - RaiseEvent UpdateLog("Backup Aborted. The backup file for " & oGame.Name & " will be unusable.", True, ToolTipIcon.Error, True) + RaiseEvent UpdateLog(mgrCommon.FormatString(mgrBackup_ErrorFullAbort, oGame.Name), True, ToolTipIcon.Error, True) Exit While End If RaiseEvent UpdateLog(prs7z.StandardOutput.ReadLine, False, ToolTipIcon.Info, False) @@ -185,28 +186,28 @@ Public Class mgrBackup prs7z.WaitForExit() If Not CancelOperation Then If prs7z.ExitCode = 0 Then - RaiseEvent UpdateLog(oGame.Name & " backup completed.", False, ToolTipIcon.Info, True) + RaiseEvent UpdateLog(mgrCommon.FormatString(mgrBackup_BackupComplete, oGame.Name), False, ToolTipIcon.Info, True) bBackupCompleted = True Else - RaiseEvent UpdateLog(oGame.Name & " backup finished with warnings or errors.", True, ToolTipIcon.Warning, True) + RaiseEvent UpdateLog(mgrCommon.FormatString(mgrBackup_BackupWarnings, oGame.Name), True, ToolTipIcon.Warning, True) bBackupCompleted = False End If End If prs7z.Dispose() Else - RaiseEvent UpdateLog("Backup Aborted. The saved game path for " & oGame.Name & " does not exist.", True, ToolTipIcon.Error, True) + RaiseEvent UpdateLog(mgrCommon.FormatString(mgrBackup_ErrorNoSavePath, oGame.Name), True, ToolTipIcon.Error, True) bBackupCompleted = False End If 'Write Main Manifest If bBackupCompleted Then If oSettings.CheckSum Then - RaiseEvent UpdateLog("Generating SHA-256 hash for " & oGame.Name & " backup file.", False, ToolTipIcon.Info, True) + RaiseEvent UpdateLog(mgrCommon.FormatString(mgrBackup_GenerateHash, oGame.Name), False, ToolTipIcon.Info, True) sHash = mgrHash.Generate_SHA256_Hash(sBackupFile) End If If Not DoManifestUpdate(oGame, sBackupFile, dTimeStamp, sHash) Then - RaiseEvent UpdateLog("The manifest update for " & oGame.Name & " failed.", True, ToolTipIcon.Error, True) + RaiseEvent UpdateLog(mgrCommon.FormatString(mgrBackup_ErrorManifestFailure, oGame.Name), True, ToolTipIcon.Error, True) End If 'Write the process path if we have it @@ -215,14 +216,14 @@ Public Class mgrBackup End If End If Catch ex As Exception - RaiseEvent UpdateLog("An unexpected error occured during the backup of " & oGame.Name & vbCrLf & ex.Message, False, ToolTipIcon.Error, True) + RaiseEvent UpdateLog(mgrCommon.FormatString(mgrBackup_ErrorOtherFailure, New String() {oGame.Name, ex.Message}), False, ToolTipIcon.Error, True) End Try End If If bBackupCompleted Then - RaiseEvent SetLastAction(oGame.CroppedName & " backup completed") + RaiseEvent SetLastAction(mgrCommon.FormatString(mgrBackup_ActionComplete, oGame.CroppedName)) Else - RaiseEvent SetLastAction(oGame.CroppedName & " backup failed") + RaiseEvent SetLastAction(mgrCommon.FormatString(mgrBackup_ActionFailed, oGame.CroppedName)) End If Next End Sub diff --git a/GBM/Managers/mgrCommon.vb b/GBM/Managers/mgrCommon.vb index e76cada..7a4723a 100644 --- a/GBM/Managers/mgrCommon.vb +++ b/GBM/Managers/mgrCommon.vb @@ -1,4 +1,5 @@ -Imports System.Net +Imports GBM.My.Resources +Imports System.Net Public Class mgrCommon @@ -34,9 +35,9 @@ Public Class mgrCommon Public Shared Function BooleanYesNo(ByVal bBool As Boolean) As String If bBool Then - Return "Yes" + Return mgrCommon_Yes Else - Return "No" + Return mgrCommon_No End If End Function @@ -44,7 +45,7 @@ Public Class mgrCommon Dim fbBrowser As New SaveFileDialog fbBrowser.Title = sTitle fbBrowser.DefaultExt = sExtension - fbBrowser.Filter = sFileType & " files (*." & sExtension & ")|*." & sExtension + fbBrowser.Filter = FormatString(mgrCommon_FilesFilter, New String() {sFileType, sExtension, sExtension}) fbBrowser.InitialDirectory = sDefaultFolder fbBrowser.FileName = sDefaultFile @@ -59,7 +60,7 @@ Public Class mgrCommon Dim fbBrowser As New OpenFileDialog fbBrowser.Title = sTitle fbBrowser.DefaultExt = sExtension - fbBrowser.Filter = sFileType & " files (*." & sExtension & ")|*." & sExtension + fbBrowser.Filter = FormatString(mgrCommon_FilesFilter, New String() {sFileType, sExtension, sExtension}) fbBrowser.InitialDirectory = sDefaultFolder fbBrowser.Multiselect = bMulti @@ -125,4 +126,83 @@ Public Class mgrCommon oProcess.Start() End Sub + 'Handles no extra parameters + Public Shared Function ShowMessage(ByVal sMsg As String, ByVal oType As MsgBoxStyle) As MsgBoxResult + Dim oResult As MsgBoxResult + oResult = MsgBox(FormatString(sMsg), oType, My.Resources.App_NameLong) + Return oResult + End Function + + 'Handles single parameter stings + Public Shared Function ShowMessage(ByVal sMsg As String, ByVal sParam As String, ByVal oType As MsgBoxStyle) As MsgBoxResult + Dim oResult As MsgBoxResult + oResult = MsgBox(FormatString(sMsg, sParam), oType, My.Resources.App_NameLong) + Return oResult + End Function + + 'Handles multi-parameter strings + Public Shared Function ShowMessage(ByVal sMsg As String, ByVal sParams As String(), ByVal oType As MsgBoxStyle) As MsgBoxResult + Dim oResult As MsgBoxResult + oResult = MsgBox(FormatString(sMsg, sParams), oType, My.Resources.App_NameLong) + Return oResult + End Function + + 'Handles no extra parameters + Public Shared Function FormatString(ByVal sString As String) As String + sString = sString.Replace("[BR]", vbCrLf) + + Return sString + End Function + + + 'Handles single parameter stings + Public Shared Function FormatString(ByVal sString As String, ByVal sParam As String) As String + sString = sString.Replace("[BR]", vbCrLf) + sString = sString.Replace("[PARAM]", sParam) + + Return sString + End Function + + 'Handles multi-parameter strings + Public Shared Function FormatString(ByVal sString As String, ByVal sParams As String()) As String + Dim iParam As Integer + + sString = sString.Replace("[BR]", vbCrLf) + + For Each s As String In sParams + iParam = sString.IndexOf("[PARAM]") + sString = sString.Remove(iParam, 7) + sString = sString.Insert(iParam, s) + Next + + Return sString + End Function + + 'Maintenance Only - Function for string management + Public Shared Sub GetAllStrings(ByVal ctlParent As Control, ByRef sResource As String, ByRef sCode As String, ByVal sFormName As String) + For Each ctl As Control In ctlParent.Controls + If TypeOf ctl Is GroupBox Then + sResource &= sFormName & "_" & ctl.Name & vbTab & ctl.Text & vbCrLf + sCode &= ctl.Name & ".Text = " & sFormName & "_" & ctl.Name & vbCrLf + GetAllStrings(ctl, sResource, sCode, sFormName) + ElseIf TypeOf ctl Is TabControl Then + For Each tb As TabPage In ctl.Controls + GetAllStrings(tb, sResource, sCode, sFormName) + Next + ElseIf TypeOf ctl Is Label Then + sResource &= sFormName & "_" & ctl.Name & vbTab & ctl.Text & vbCrLf + sCode &= ctl.Name & ".Text = " & sFormName & "_" & ctl.Name & vbCrLf + ElseIf TypeOf ctl Is Button Then + sResource &= sFormName & "_" & ctl.Name & vbTab & ctl.Text & vbCrLf + sCode &= ctl.Name & ".Text = " & sFormName & "_" & ctl.Name & vbCrLf + ElseIf TypeOf ctl Is RadioButton Then + sResource &= sFormName & "_" & ctl.Name & vbTab & ctl.Text & vbCrLf + sCode &= ctl.Name & ".Text = " & sFormName & "_" & ctl.Name & vbCrLf + ElseIf TypeOf ctl Is CheckBox Then + sResource &= sFormName & "_" & ctl.Name & vbTab & ctl.Text & vbCrLf + sCode &= ctl.Name & ".Text = " & sFormName & "_" & ctl.Name & vbCrLf + End If + Next + End Sub + End Class diff --git a/GBM/Managers/mgrHash.vb b/GBM/Managers/mgrHash.vb index 02ec5e6..c641c98 100644 --- a/GBM/Managers/mgrHash.vb +++ b/GBM/Managers/mgrHash.vb @@ -1,5 +1,4 @@ Imports System.IO -Imports System.Security Imports System.Security.Cryptography Public Class mgrHash diff --git a/GBM/Managers/mgrManifest.vb b/GBM/Managers/mgrManifest.vb index a411102..3bb5610 100644 --- a/GBM/Managers/mgrManifest.vb +++ b/GBM/Managers/mgrManifest.vb @@ -1,6 +1,4 @@ -Imports System.IO - -Public Class mgrManifest +Public Class mgrManifest Public Shared Function ReadManifest(ByVal iSelectDB As mgrSQLite.Database) As SortedList Dim oDatabase As New mgrSQLite(iSelectDB) diff --git a/GBM/Managers/mgrMonitorList.vb b/GBM/Managers/mgrMonitorList.vb index 5758215..2485354 100644 --- a/GBM/Managers/mgrMonitorList.vb +++ b/GBM/Managers/mgrMonitorList.vb @@ -1,4 +1,5 @@ -Imports System.IO +Imports GBM.My.Resources +Imports System.IO Public Class mgrMonitorList @@ -23,9 +24,7 @@ Public Class mgrMonitorList 'If the remote database actually contains a list, then ask what to do If iGameCount > 0 Then - If MsgBox("GBM data already exists in the backup folder." & vbCrLf & vbCrLf & _ - "Do you want to make your local game list the new master game list in this folder? (Recommended)" & vbCrLf & vbCrLf & _ - "Choosing No will sync your local game list to the current master game list in this folder.", MsgBoxStyle.YesNo, "Game Backup Monitor") = MsgBoxResult.Yes Then + If mgrCommon.ShowMessage(mgrMonitorList_ConfirmExistingData, MsgBoxStyle.YesNo) = MsgBoxResult.Yes Then mgrMonitorList.SyncMonitorLists() Else mgrMonitorList.SyncMonitorLists(False) @@ -45,7 +44,7 @@ Public Class mgrMonitorList Dim oStringFilters As New Hashtable Dim eCurrentFilter As frmFilter.eFilterType = frmFilter.eFilterType.NoFilter - If MsgBox("Would you like to apply a filter to your export?", MsgBoxStyle.YesNo, "Game Backup Monitor") = MsgBoxResult.Yes Then + If mgrCommon.ShowMessage(mgrMonitorList_ConfirmApplyFilter, MsgBoxStyle.YesNo) = MsgBoxResult.Yes Then Dim frm As New frmFilter frm.ShowDialog() oTagFilters = frm.TagFilters @@ -56,9 +55,9 @@ Public Class mgrMonitorList oList = ReadListForExport(oTagFilters, oStringFilters, eCurrentFilter) bSuccess = mgrXML.SerializeAndExport(oList, sLocation) - + If bSuccess Then - MsgBox("Export Complete. " & oList.Count & " item(s) have been exported.", MsgBoxStyle.Information, "Game Backup Monitor") + mgrCommon.ShowMessage(mgrMonitorList_ExportComplete, oList.Count, MsgBoxStyle.Information) End If End Sub @@ -130,9 +129,9 @@ Public Class mgrMonitorList Cursor.Current = Cursors.WaitCursor If bToRemote Then - RaiseEvent UpdateLog("A sync to the master game list has been triggered.", False, ToolTipIcon.Info, True) + RaiseEvent UpdateLog(mgrMonitorList_SyncToMaster, False, ToolTipIcon.Info, True) Else - RaiseEvent UpdateLog("A sync from the master game list has been triggered.", False, ToolTipIcon.Info, True) + RaiseEvent UpdateLog(mgrMonitorList_SyncFromMaster, False, ToolTipIcon.Info, True) End If 'Add / Update Sync @@ -157,7 +156,7 @@ Public Class mgrMonitorList If bToRemote Then DoListAddUpdateSync(hshSyncItems, mgrSQLite.Database.Remote) - + Else DoListAddUpdateSync(hshSyncItems, mgrSQLite.Database.Local) End If @@ -192,7 +191,7 @@ Public Class mgrMonitorList DoListDeleteSync(hshDeleteItems, mgrSQLite.Database.Local) End If - RaiseEvent UpdateLog(hshDeleteItems.Count + hshSyncItems.Count + iChanges & " change(s) synced.", False, ToolTipIcon.Info, True) + RaiseEvent UpdateLog(mgrCommon.FormatString(mgrMonitorList_SyncChanges, (hshDeleteItems.Count + hshSyncItems.Count + iChanges).ToString), False, ToolTipIcon.Info, True) Cursor.Current = Cursors.Default Application.DoEvents() End Sub @@ -233,10 +232,10 @@ Public Class mgrMonitorList mgrTags.DoTagAddImport(frm.ImportData) Cursor.Current = Cursors.Default - MsgBox("Import Complete.", MsgBoxStyle.Information, "Game Backup Monitor") + mgrCommon.ShowMessage(mgrMonitorList_ImportComplete, MsgBoxStyle.Information) End If Else - MsgBox("This list does not contain any new games to import.", MsgBoxStyle.Information, "Game Backup Monitor") + mgrCommon.ShowMessage(mgrMonitorList_ImportNothing, MsgBoxStyle.Information) End If Application.DoEvents() @@ -249,7 +248,7 @@ Public Class mgrMonitorList ImportMonitorList(sPath, True) Return True Else - MsgBox("There's no response from:" & vbCrLf & vbCrLf & sPath & vbCrLf & vbCrLf & "Either the server is not responding or the URL is invalid.") + mgrCommon.ShowMessage(mgrMonitorList_WebNoReponse, sPath, MsgBoxStyle.Exclamation) Return False End If Else @@ -257,7 +256,7 @@ Public Class mgrMonitorList ImportMonitorList(sPath) Return True Else - MsgBox("The file:" & vbCrLf & sPath & vbCrLf & "cannot be found.") + mgrCommon.ShowMessage(mgrMonitorList_FileNotFound, sPath, MsgBoxStyle.Exclamation) Return False End If End If diff --git a/GBM/Managers/mgrPath.vb b/GBM/Managers/mgrPath.vb index 8fcb84b..65995ed 100644 --- a/GBM/Managers/mgrPath.vb +++ b/GBM/Managers/mgrPath.vb @@ -1,4 +1,5 @@ -Imports System.IO +Imports GBM.My.Resources +Imports System.IO Imports System.Text.RegularExpressions Imports System.Reflection @@ -8,10 +9,6 @@ Public Class mgrPath Private Shared sDBLocation As String = sSettingsRoot & "\gbm.s3db" Private Shared sIncludeFile As String = sSettingsRoot & "\gbm_include.txt" Private Shared sExcludeFile As String = sSettingsRoot & "\gbm_exclude.txt" - Private Shared sOfficialWebURL As String = "http://mikemaximus.github.io/gbm-web/" - Private Shared sOfficialImportURL As String = "http://mikemaximus.github.io/gbm-web/GBM_Official.xml" - Private Shared sOfficialManualURL As String = "http://mikemaximus.github.io/gbm-web/manual.html" - Private Shared sOfficialUpdatesURL As String = "https://github.com/MikeMaximus/gbm/releases" Private Shared sRemoteDatabaseLocation As String Private Shared hshCustomVariables As Hashtable Private Shared oReleaseType As ProcessorArchitecture = AssemblyName.GetAssemblyName(Application.ExecutablePath()).ProcessorArchitecture @@ -76,30 +73,6 @@ Public Class mgrPath End Get End Property - Shared ReadOnly Property OfficialWebURL As String - Get - Return sOfficialWebURL - End Get - End Property - - Shared ReadOnly Property OfficialManualURL As String - Get - Return sOfficialManualURL - End Get - End Property - - Shared ReadOnly Property OfficialUpdatesURL As String - Get - Return sOfficialUpdatesURL - End Get - End Property - - Shared ReadOnly Property OfficialImportURL As String - Get - Return sOfficialImportURL - End Get - End Property - Shared ReadOnly Property SettingsRoot As String Get Return sSettingsRoot @@ -325,11 +298,11 @@ Public Class mgrPath hshCustomVariables = mgrVariables.ReadVariables End Sub - Public Shared Function SetManualgamePath() As String + Public Shared Function SetManualGamePath() As String Dim sDefaultFolder As String = Environment.GetFolderPath(Environment.SpecialFolder.Desktop) Dim sNewPath As String - sNewPath = mgrCommon.OpenFolderBrowser("Choose the game folder containing the executable.", sDefaultFolder, False) + sNewPath = mgrCommon.OpenFolderBrowser(mgrPath_ChoosePath, sDefaultFolder, False) Return sNewPath End Function @@ -345,25 +318,24 @@ Public Class mgrPath 'We can't automatically search for certain game types If bNoAuto Then - sMessage = sSearchReason & vbCrLf & vbCrLf & "Do you wish to manually set the game path? (Path will be saved)" + sMessage = mgrCommon.FormatString(mgrPath_ConfirmManualPath, sSearchReason) - If MsgBox(sMessage, MsgBoxStyle.YesNo, "Game Backup Monitor") = MsgBoxResult.Yes Then + If mgrCommon.ShowMessage(sMessage, MsgBoxStyle.YesNo) = MsgBoxResult.Yes Then sFolder = SetManualgamePath() End If Return sFolder End If - sMessage = sSearchReason & vbCrLf & vbCrLf & "Do you wish to automatically search for the game path? (Path will be saved)" + sMessage = mgrCommon.FormatString(mgrPath_ConfirmAutoPath, sSearchReason) - If MsgBox(sMessage, MsgBoxStyle.YesNo, "Game Backup Monitor") = MsgBoxResult.Yes Then + If mgrCommon.ShowMessage(sMessage, MsgBoxStyle.YesNo) = MsgBoxResult.Yes Then frmFind.ShowDialog() If frmFind.FoundItem <> String.Empty Then sFolder = IO.Path.GetDirectoryName(frmFind.FoundItem) - sMessage = sGameName & " was located in the following folder:" & vbCrLf & vbCrLf & _ - sFolder & vbCrLf & vbCrLf & "Is this correct?" - If MsgBox(sMessage, MsgBoxStyle.YesNo, "Game Backup Monitor") = MsgBoxResult.Yes Then + sMessage = mgrCommon.FormatString(mgrPath_ConfirmPathCorrect, New String() {sGameName, sFolder}) + If mgrCommon.ShowMessage(sMessage, MsgBoxStyle.YesNo) = MsgBoxResult.Yes Then Return sFolder Else sFolder = String.Empty @@ -373,13 +345,12 @@ Public Class mgrPath End If If bSearchFailed Then - sMessage = "The search failed to locate the path for " & sGameName & "." & vbCrLf & vbCrLf & _ - "Do you wish to manually set the game path? (Path will be saved)" + sMessage = mgrCommon.FormatString(mgrPath_ConfirmAutoFailure, sGameName) Else - sMessage = "Do you wish to manually set the game path? (Path will be saved)" + sMessage = mgPath_ConfirmManualPathNoParam End If - If MsgBox(sMessage, MsgBoxStyle.YesNo, "Game Backup Monitor") = MsgBoxResult.Yes Then + If mgrCommon.ShowMessage(sMessage, MsgBoxStyle.YesNo) = MsgBoxResult.Yes Then sFolder = SetManualgamePath() End If End If @@ -391,9 +362,7 @@ Public Class mgrPath Dim dBrowser As FolderBrowserDialog If Not Directory.Exists(sBackupPath) Then - If MsgBox("The backup location " & sBackupPath & " is not available." & vbCrLf & _ - "It may be on an external or network drive that isn't connected." & vbCrLf & vbCrLf & _ - "Do you want to select another backup location and continue?", MsgBoxStyle.YesNo, "Game Backup Monitor") = MsgBoxResult.Yes Then + If mgrCommon.ShowMessage(mgrPath_ConfirmBackupLocation, sBackupPath, MsgBoxStyle.YesNo) = MsgBoxResult.Yes Then dBrowser = New FolderBrowserDialog dBrowser.SelectedPath = Environment.GetFolderPath(Environment.SpecialFolder.MyDocuments) If dBrowser.ShowDialog = DialogResult.OK Then diff --git a/GBM/Managers/mgrRestore.vb b/GBM/Managers/mgrRestore.vb index 371cdfe..43e794e 100644 --- a/GBM/Managers/mgrRestore.vb +++ b/GBM/Managers/mgrRestore.vb @@ -1,4 +1,5 @@ -Imports System.IO +Imports GBM.My.Resources +Imports System.IO Public Class mgrRestore @@ -31,15 +32,14 @@ Public Class mgrRestore Dim oResult As MsgBoxResult If oCheckBackup.RestorePath <> oCheckGame.Path Then - oResult = MsgBox("The restore path for " & oCheckBackup.CroppedName & " does not match it's current save path." & vbCrLf & vbCrLf & _ - "Do you want to restore to the current save path instead? (Recommended)", MsgBoxStyle.YesNoCancel, "Game Backup Monitor") + oResult = mgrCommon.ShowMessage(mgrRestore_ConfirmPathMismatch, oCheckBackup.CroppedName, MsgBoxStyle.YesNoCancel) If oResult = MsgBoxResult.Yes Then If Path.IsPathRooted(oCheckGame.Path) Then oCheckBackup.AbsolutePath = True oCheckBackup.RestorePath = oCheckGame.Path Else oCheckBackup.RestorePath = oCheckGame.Path - End If + End If ElseIf oResult = MsgBoxResult.Cancel Then Return False End If @@ -64,7 +64,7 @@ Public Class mgrRestore Else sProcess = oGame.TrueProcess If mgrCommon.IsProcessNotSearchable(oGame) Then bNoAuto = True - sRestorePath = mgrPath.ProcessPathSearch(oRestoreInfo.Name, sProcess, oRestoreInfo.Name & " uses a relative path and has never been detected on this computer.", bNoAuto) + sRestorePath = mgrPath.ProcessPathSearch(oRestoreInfo.Name, sProcess, mgrCommon.FormatString(mgrRestore_RelativeNeedPath, oRestoreInfo.Name), bNoAuto) If sRestorePath <> String.Empty Then 'Update the process path in game object, save it, and make sure a monitor list reload is triggered @@ -198,16 +198,15 @@ Public Class mgrRestore 'Check if restore location exists, prompt to create if it doesn't. If Not Directory.Exists(sExtractPath) Then - If MsgBox("The restore path " & sExtractPath & " does not exist." & vbCrLf & vbCrLf & _ - "Do you want to create the folder and continue?", MsgBoxStyle.YesNo, "Game Backup Monitor") = MsgBoxResult.Yes Then + If mgrCommon.ShowMessage(mgrRestore_ConfirmCreatePath, sExtractPath, MsgBoxStyle.YesNo) = MsgBoxResult.Yes Then Try Directory.CreateDirectory(sExtractPath) Catch ex As Exception - RaiseEvent UpdateLog("The restore path could not be created due to an unexpected error." & vbCrLf & ex.Message, False, ToolTipIcon.Error, True) + RaiseEvent UpdateLog(mgrCommon.FormatString(mgrRestore_ErrorCreatePath, ex.Message), False, ToolTipIcon.Error, True) bDoRestore = False End Try Else - RaiseEvent UpdateLog("Restored Aborted. The path " & sExtractPath & " does not exist.", False, ToolTipIcon.Error, True) + RaiseEvent UpdateLog(mgrCommon.FormatString(mgrRestore_ErrorNoPath, sExtractPath), False, ToolTipIcon.Error, True) bDoRestore = False End If End If @@ -217,17 +216,16 @@ Public Class mgrRestore If oBackupInfo.CheckSum <> String.Empty Then sHash = mgrHash.Generate_SHA256_Hash(sBackupFile) If sHash <> oBackupInfo.CheckSum Then - RaiseEvent UpdateLog("The backup file for " & oBackupInfo.Name & " has failed the file integrity check.", False, ToolTipIcon.Info, True) - If MsgBox("The backup file for " & oBackupInfo.Name & " has failed the file intergity check. It may be corrupted, not exist or been modified by another application." & vbCrLf & vbCrLf & _ - "Do you still want to restore this backup? (Not Recommended)", MsgBoxStyle.YesNo, "Game Backup Monitor") = MsgBoxResult.No Then - RaiseEvent UpdateLog("Restored Aborted by user due to a failed file integrity check.", False, ToolTipIcon.Info, True) + RaiseEvent UpdateLog(mgrCommon.FormatString(mgrRestore_ErrorFailedCheck, oBackupInfo.Name), False, ToolTipIcon.Info, True) + If mgrCommon.ShowMessage(mgrRestore_ConfirmFailedCheck, oBackupInfo.Name, MsgBoxStyle.YesNo) = MsgBoxResult.No Then + RaiseEvent UpdateLog(mgrRestore_ErrorCheckAbort, False, ToolTipIcon.Info, True) bDoRestore = False End If Else - RaiseEvent UpdateLog(oBackupInfo.Name & " backup has been verified.", False, ToolTipIcon.Info, True) + RaiseEvent UpdateLog(mgrCommon.FormatString(mgrRestore_Verified, oBackupInfo.Name), False, ToolTipIcon.Info, True) End If Else - RaiseEvent UpdateLog(oBackupInfo.Name & " has no stored checksum, verification has been skipped.", False, ToolTipIcon.Info, True) + RaiseEvent UpdateLog(mgrCommon.FormatString(mgrRestore_NoVerify, oBackupInfo.Name), False, ToolTipIcon.Info, True) End If End If @@ -240,11 +238,11 @@ Public Class mgrRestore prs7z.StartInfo.RedirectStandardOutput = True prs7z.StartInfo.CreateNoWindow = True prs7z.Start() - RaiseEvent UpdateLog("Restore to " & sExtractPath & " in progress...", False, ToolTipIcon.Info, True) + RaiseEvent UpdateLog(mgrCommon.FormatString(mgrRestore_RestoreInProgress, sExtractPath), False, ToolTipIcon.Info, True) While Not prs7z.StandardOutput.EndOfStream If CancelOperation Then prs7z.Kill() - RaiseEvent UpdateLog("Restored Aborted. The saved games for " & oBackupInfo.Name & " may now be invalid.", True, ToolTipIcon.Error, True) + RaiseEvent UpdateLog(mgrCommon.FormatString(mgrRestore_ErrorFullAbort, oBackupInfo.Name), True, ToolTipIcon.Error, True) Exit While End If RaiseEvent UpdateLog(prs7z.StandardOutput.ReadLine, False, ToolTipIcon.Info, False) @@ -252,16 +250,16 @@ Public Class mgrRestore prs7z.WaitForExit() If Not CancelOperation Then If prs7z.ExitCode = 0 Then - RaiseEvent UpdateLog(oBackupInfo.Name & " backup restored.", False, ToolTipIcon.Info, True) + RaiseEvent UpdateLog(mgrCommon.FormatString(mgrRestore_RestoreComplete, oBackupInfo.Name), False, ToolTipIcon.Info, True) bRestoreCompleted = True Else - RaiseEvent UpdateLog(oBackupInfo.Name & " restore finished with warnings or errors.", True, ToolTipIcon.Warning, True) + RaiseEvent UpdateLog(mgrCommon.FormatString(mgrRestore_RestoreWarnings, oBackupInfo.Name), True, ToolTipIcon.Warning, True) bRestoreCompleted = False End If End If prs7z.Dispose() Else - RaiseEvent UpdateLog("Restore Aborted. The backup file could not be found.", True, ToolTipIcon.Error, True) + RaiseEvent UpdateLog(mgrRestore_ErrorNoBackup, True, ToolTipIcon.Error, True) End If If bRestoreCompleted Then @@ -273,13 +271,13 @@ Public Class mgrRestore End If End If Catch ex As Exception - RaiseEvent UpdateLog("An unexpected error occured during the restore process." & vbCrLf & ex.Message, False, ToolTipIcon.Error, True) + RaiseEvent UpdateLog(mgrCommon.FormatString(mgrRestore_ErrorOtherFailure, ex.Message), False, ToolTipIcon.Error, True) End Try If bRestoreCompleted Then - RaiseEvent SetLastAction(oBackupInfo.CroppedName & " backup restored") + RaiseEvent SetLastAction(mgrCommon.FormatString(mgrRestore_ActionComplete, oBackupInfo.CroppedName)) Else - RaiseEvent SetLastAction(oBackupInfo.CroppedName & " restore failed") + RaiseEvent SetLastAction(mgrCommon.FormatString(mgrRestore_ActionFailed, oBackupInfo.CroppedName)) End If End If Next diff --git a/GBM/Managers/mgrSQLite.vb b/GBM/Managers/mgrSQLite.vb index 62bc26b..99448b9 100644 --- a/GBM/Managers/mgrSQLite.vb +++ b/GBM/Managers/mgrSQLite.vb @@ -1,4 +1,5 @@ -Imports System.IO +Imports GBM.My.Resources +Imports System.IO Imports System.Data.SQLite Public Class mgrSQLite @@ -39,7 +40,7 @@ Public Class mgrSQLite File.Copy(mgrPath.RemoteDatabaseLocation, sNewFile, False) End Select Catch ex As Exception - MsgBox("An error occured creating a backup of the database file at " & sNewFile & vbCrLf & vbCrLf & ex.Message) + mgrCommon.ShowMessage(mgrSQLite_ErrorBackupFailure, New String() {sNewFile, ex.Message}, MsgBoxStyle.Exclamation) End Try End Sub @@ -75,9 +76,9 @@ Public Class mgrSQLite "SupressBackup BOOLEAN NOT NULL, SupressBackupThreshold INTEGER NOT NULL);" 'Add Tables (Monitor List) - sSql &= "CREATE TABLE monitorlist (MonitorID TEXT NOT NULL UNIQUE, Name TEXT NOT NULL, Process TEXT NOT NULL, Path TEXT, " & _ - "AbsolutePath BOOLEAN NOT NULL, FolderSave BOOLEAN NOT NULL, FileType TEXT, TimeStamp BOOLEAN NOT NULL, ExcludeList TEXT NOT NULL, " & _ - "ProcessPath TEXT, Icon TEXT, Hours REAL, Version TEXT, Company TEXT, Enabled BOOLEAN NOT NULL, MonitorOnly BOOLEAN NOT NULL, " & _ + sSql &= "CREATE TABLE monitorlist (MonitorID TEXT NOT NULL UNIQUE, Name TEXT NOT NULL, Process TEXT NOT NULL, Path TEXT, " & + "AbsolutePath BOOLEAN NOT NULL, FolderSave BOOLEAN NOT NULL, FileType TEXT, TimeStamp BOOLEAN NOT NULL, ExcludeList TEXT NOT NULL, " & + "ProcessPath TEXT, Icon TEXT, Hours REAL, Version TEXT, Company TEXT, Enabled BOOLEAN NOT NULL, MonitorOnly BOOLEAN NOT NULL, " & "PRIMARY KEY(Name, Process));" 'Add Tables (Tags) @@ -90,7 +91,7 @@ Public Class mgrSQLite sSql &= "CREATE TABLE variables (VariableID TEXT NOT NULL UNIQUE, Name TEXT NOT NULL PRIMARY KEY, Path TEXT NOT NULL);" 'Add Tables (Local Manifest) - sSql &= "CREATE TABLE manifest (ManifestID TEXT NOT NULL UNIQUE, Name TEXT NOT NULL PRIMARY KEY, FileName TEXT NOT NULL, RestorePath TEXT NOT NULL, " & _ + sSql &= "CREATE TABLE manifest (ManifestID TEXT NOT NULL UNIQUE, Name TEXT NOT NULL PRIMARY KEY, FileName TEXT NOT NULL, RestorePath TEXT NOT NULL, " & "AbsolutePath BOOLEAN NOT NULL, DateUpdated TEXT NOT NULL, UpdatedBy TEXT NOT NULL, CheckSum TEXT);" 'Set Version @@ -98,8 +99,8 @@ Public Class mgrSQLite RunParamQuery(sSql, New Hashtable) Return True - Catch e As Exception - MsgBox("An error has occured attempting to create the local application database: " & vbCrLf & vbCrLf & e.Message) + Catch ex As Exception + mgrCommon.ShowMessage(mgrSQLite_ErrorCreatingLocalDB, ex.Message, MsgBoxStyle.Critical) Return False End Try End Function @@ -112,13 +113,13 @@ Public Class mgrSQLite SQLiteConnection.CreateFile(sDatabaseLocation) 'Add Tables (Remote Monitor List) - sSql = "CREATE TABLE monitorlist (MonitorID TEXT NOT NULL UNIQUE, Name TEXT NOT NULL, Process TEXT NOT NULL, Path TEXT, " & _ - "AbsolutePath BOOLEAN NOT NULL, FolderSave BOOLEAN NOT NULL, FileType TEXT, TimeStamp BOOLEAN NOT NULL, ExcludeList TEXT NOT NULL, " & _ - "ProcessPath TEXT, Icon TEXT, Hours REAL, Version TEXT, Company TEXT, Enabled BOOLEAN NOT NULL, MonitorOnly BOOLEAN NOT NULL, " & _ + sSql = "CREATE TABLE monitorlist (MonitorID TEXT NOT NULL UNIQUE, Name TEXT NOT NULL, Process TEXT NOT NULL, Path TEXT, " & + "AbsolutePath BOOLEAN NOT NULL, FolderSave BOOLEAN NOT NULL, FileType TEXT, TimeStamp BOOLEAN NOT NULL, ExcludeList TEXT NOT NULL, " & + "ProcessPath TEXT, Icon TEXT, Hours REAL, Version TEXT, Company TEXT, Enabled BOOLEAN NOT NULL, MonitorOnly BOOLEAN NOT NULL, " & "PRIMARY KEY(Name, Process));" 'Add Tables (Remote Manifest) - sSql &= "CREATE TABLE manifest (ManifestID TEXT NOT NULL UNIQUE, Name TEXT NOT NULL PRIMARY KEY, FileName TEXT NOT NULL, RestorePath TEXT NOT NULL, " & _ + sSql &= "CREATE TABLE manifest (ManifestID TEXT NOT NULL UNIQUE, Name TEXT NOT NULL PRIMARY KEY, FileName TEXT NOT NULL, RestorePath TEXT NOT NULL, " & "AbsolutePath BOOLEAN NOT NULL, DateUpdated TEXT NOT NULL, UpdatedBy TEXT NOT NULL, CheckSum TEXT);" 'Add Tables (Remote Tags) @@ -132,8 +133,8 @@ Public Class mgrSQLite RunParamQuery(sSql, New Hashtable) Return True - Catch e As Exception - MsgBox("An error has occured attempting to create the remote application database: " & vbCrLf & vbCrLf & e.Message) + Catch ex As Exception + mgrCommon.ShowMessage(mgrSQLite_ErrorCreatingRemoteDB, ex.Message, MsgBoxStyle.Critical) Return False End Try End Function @@ -180,12 +181,12 @@ Public Class mgrSQLite BuildParams(command, hshParams) trans = db.BeginTransaction() - Try + Try command.ExecuteNonQuery() trans.Commit() - Catch e As Exception + Catch ex As Exception trans.Rollback() - MsgBox("An error has occured attempting run the query." & vbCrLf & vbCrLf & sSQL & vbCrLf & vbCrLf & e.Message) + mgrCommon.ShowMessage(mgrSQLite_ErrorQueryFailure, New String() {sSQL, ex.Message}, MsgBoxStyle.Exclamation) Return False Finally command.Dispose() @@ -209,9 +210,9 @@ Public Class mgrSQLite command.ExecuteNonQuery() Next trans.Commit() - Catch e As Exception + Catch ex As Exception trans.Rollback() - MsgBox("An error has occured attempting run the query." & vbCrLf & vbCrLf & sSQL & vbCrLf & vbCrLf & e.Message) + mgrCommon.ShowMessage(mgrSQLite_ErrorQueryFailure, New String() {sSQL, ex.Message}, MsgBoxStyle.Exclamation) Return False Finally command.Dispose() @@ -233,8 +234,8 @@ Public Class mgrSQLite Try adapter = New SQLiteDataAdapter(command) adapter.Fill(oData) - Catch e As Exception - MsgBox("An error has occured attempting run the query." & vbCrLf & vbCrLf & sSQL & vbCrLf & vbCrLf & e.Message) + Catch ex As Exception + mgrCommon.ShowMessage(mgrSQLite_ErrorQueryFailure, New String() {sSQL, ex.Message}, MsgBoxStyle.Exclamation) Finally command.Dispose() Disconnect() @@ -396,7 +397,7 @@ Public Class mgrSQLite RunParamQuery(sSQL, New Hashtable) 'Upgrade IDs to GUIDs - UpgradeToGUID("monitorlist", "MonitorID") + UpgradeToGUID("monitorlist", "MonitorID") UpgradeToGUID("manifest", "ManifestID") 'Run a compact due to the large operations @@ -523,8 +524,8 @@ Public Class mgrSQLite Try command.ExecuteNonQuery() - Catch e As Exception - MsgBox("An error has occured attempting run the query." & vbCrLf & vbCrLf & sSQL & vbCrLf & vbCrLf & e.Message) + Catch ex As Exception + mgrCommon.ShowMessage(mgrSQLite_ErrorQueryFailure, New String() {sSQL, ex.Message}, MsgBoxStyle.Exclamation) Finally command.Dispose() Disconnect() diff --git a/GBM/Managers/mgrXML.vb b/GBM/Managers/mgrXML.vb index 6cf2912..b9c29ec 100644 --- a/GBM/Managers/mgrXML.vb +++ b/GBM/Managers/mgrXML.vb @@ -1,4 +1,5 @@ -Imports System.Xml.Serialization +Imports GBM.My.Resources +Imports System.Xml.Serialization Imports System.IO Imports System.Net @@ -60,7 +61,7 @@ Public Class mgrXML oList = oSerializer.Deserialize(oReader) oReader.Close() Catch ex As Exception - MsgBox("The XML file cannot be read, it may be an invalid format or corrupted." & vbCrLf & vbCrLf & ex.Message, MsgBoxStyle.Exclamation, "Game Backup Monitor") + mgrCommon.ShowMessage(mgrXML_ErrorImportFailure, ex.Message, MsgBoxStyle.Exclamation) End Try Return oList @@ -75,10 +76,10 @@ Public Class mgrXML oWriter = New StreamWriter(sLocation) oSerializer.Serialize(oWriter.BaseStream, oList) oWriter.Flush() - oWriter.Close() + oWriter.Close() Return True Catch ex As Exception - MsgBox("An error occured exporting the XML data." & vbCrLf & vbCrLf & ex.Message, MsgBoxStyle.Exclamation, "Game Backup Monitor") + mgrCommon.ShowMessage(mgrXML_ErrorExportFailure, ex.Message, MsgBoxStyle.Exclamation) Return False End Try End Function diff --git a/GBM/My Project/AssemblyInfo.vb b/GBM/My Project/AssemblyInfo.vb index 9fa0d2b..2aa5150 100644 --- a/GBM/My Project/AssemblyInfo.vb +++ b/GBM/My Project/AssemblyInfo.vb @@ -1,3 +1,5 @@ +Imports System.Resources + Imports System Imports System.Reflection Imports System.Runtime.InteropServices @@ -15,10 +17,10 @@ Imports System.Runtime.InteropServices - + 'The following GUID is for the ID of the typelib if this project is exposed to COM - + ' Version information for an assembly consists of the following four values: ' @@ -33,3 +35,5 @@ Imports System.Runtime.InteropServices + + \ No newline at end of file diff --git a/GBM/My Project/Resources.Designer.vb b/GBM/My Project/Resources.Designer.vb index 994de47..bd5a9c8 100644 --- a/GBM/My Project/Resources.Designer.vb +++ b/GBM/My Project/Resources.Designer.vb @@ -61,32 +61,3440 @@ Namespace My.Resources End Property ''' - ''' Looks up a localized resource of type System.Drawing.Bitmap. + ''' Looks up a localized string similar to There are unsaved changes on this form. Do you want to save?. ''' - Friend ReadOnly Property Admin() As System.Drawing.Bitmap + Friend ReadOnly Property App_ConfirmDirty() As String Get - Dim obj As Object = ResourceManager.GetObject("Admin", resourceCulture) - Return CType(obj,System.Drawing.Bitmap) + Return ResourceManager.GetString("App_ConfirmDirty", resourceCulture) End Get End Property ''' - ''' Looks up a localized resource of type System.Drawing.Bitmap. + ''' Looks up a localized string similar to 2015 Michael J. Seiferling. ''' - Friend ReadOnly Property Clock() As System.Drawing.Bitmap + Friend ReadOnly Property App_Copyright() As String Get - Dim obj As Object = ResourceManager.GetObject("Clock", resourceCulture) - Return CType(obj,System.Drawing.Bitmap) + Return ResourceManager.GetString("App_Copyright", resourceCulture) End Get End Property ''' - ''' Looks up a localized resource of type System.Drawing.Bitmap. + ''' Looks up a localized string similar to [PARAM] KB. ''' - Friend ReadOnly Property Detected() As System.Drawing.Bitmap + Friend ReadOnly Property App_KB() As String Get - Dim obj As Object = ResourceManager.GetObject("Detected", resourceCulture) - Return CType(obj,System.Drawing.Bitmap) + Return ResourceManager.GetString("App_KB", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to [PARAM] MB. + ''' + Friend ReadOnly Property App_MB() As String + Get + Return ResourceManager.GetString("App_MB", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to Game Backup Monitor. + ''' + Friend ReadOnly Property App_NameLong() As String + Get + Return ResourceManager.GetString("App_NameLong", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to GBM. + ''' + Friend ReadOnly Property App_NameShort() As String + Get + Return ResourceManager.GetString("App_NameShort", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to http://mikemaximus.github.io/gbm-web/GBM_Official.xml. + ''' + Friend ReadOnly Property App_URLImport() As String + Get + Return ResourceManager.GetString("App_URLImport", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to http://mikemaximus.github.io/gbm-web/manual.html. + ''' + Friend ReadOnly Property App_URLManual() As String + Get + Return ResourceManager.GetString("App_URLManual", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to https://github.com/MikeMaximus/gbm/releases. + ''' + Friend ReadOnly Property App_URLUpdates() As String + Get + Return ResourceManager.GetString("App_URLUpdates", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to http://mikemaximus.github.io/gbm-web/. + ''' + Friend ReadOnly Property App_URLWebsite() As String + Get + Return ResourceManager.GetString("App_URLWebsite", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to &Back. + ''' + Friend ReadOnly Property frmAddWizard_btnBack() As String + Get + Return ResourceManager.GetString("frmAddWizard_btnBack", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to &Cancel. + ''' + Friend ReadOnly Property frmAddWizard_btnCancel() As String + Get + Return ResourceManager.GetString("frmAddWizard_btnCancel", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to Choose items to e&xclude.... + ''' + Friend ReadOnly Property frmAddWizard_btnExclude() As String + Get + Return ResourceManager.GetString("frmAddWizard_btnExclude", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to Choose items to in&clude.... + ''' + Friend ReadOnly Property frmAddWizard_btnInclude() As String + Get + Return ResourceManager.GetString("frmAddWizard_btnInclude", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to &Next. + ''' + Friend ReadOnly Property frmAddWizard_btnNext() As String + Get + Return ResourceManager.GetString("frmAddWizard_btnNext", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to &Finish. + ''' + Friend ReadOnly Property frmAddWizard_btnNext_Finish() As String + Get + Return ResourceManager.GetString("frmAddWizard_btnNext_Finish", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to .... + ''' + Friend ReadOnly Property frmAddWizard_btnProcessBrowse() As String + Get + Return ResourceManager.GetString("frmAddWizard_btnProcessBrowse", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to .... + ''' + Friend ReadOnly Property frmAddWizard_btnSaveBrowse() As String + Get + Return ResourceManager.GetString("frmAddWizard_btnSaveBrowse", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to Save Entire Folder. + ''' + Friend ReadOnly Property frmAddWizard_chkFolderSave() As String + Get + Return ResourceManager.GetString("frmAddWizard_chkFolderSave", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to Time Stamp Backup. + ''' + Friend ReadOnly Property frmAddWizard_chkTimeStamp() As String + Get + Return ResourceManager.GetString("frmAddWizard_chkTimeStamp", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to Choose exe file that starts the game. + ''' + Friend ReadOnly Property frmAddWizard_ChooseProcess() As String + Get + Return ResourceManager.GetString("frmAddWizard_ChooseProcess", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to Choose the game save folder:. + ''' + Friend ReadOnly Property frmAddWizard_ChooseSavePath() As String + Get + Return ResourceManager.GetString("frmAddWizard_ChooseSavePath", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to [PARAM] has been saved.[BR][BR]Would you like to add tags for [PARAM]?. + ''' + Friend ReadOnly Property frmAddWizard_ConfirmSaveTags() As String + Get + Return ResourceManager.GetString("frmAddWizard_ConfirmSaveTags", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to The path to the executable must be a full path.. + ''' + Friend ReadOnly Property frmAddWizard_ErrorBadProcessPath() As String + Get + Return ResourceManager.GetString("frmAddWizard_ErrorBadProcessPath", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to The selected path must be a full path.. + ''' + Friend ReadOnly Property frmAddWizard_ErrorBadSavePath() As String + Get + Return ResourceManager.GetString("frmAddWizard_ErrorBadSavePath", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to A game with this exact name and process already exists.. + ''' + Friend ReadOnly Property frmAddWizard_ErrorGameDupe() As String + Get + Return ResourceManager.GetString("frmAddWizard_ErrorGameDupe", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to The file you selected is not an executable file.. + ''' + Friend ReadOnly Property frmAddWizard_ErrorNotAProcess() As String + Get + Return ResourceManager.GetString("frmAddWizard_ErrorNotAProcess", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to This file is not a shorcut.. + ''' + Friend ReadOnly Property frmAddWizard_ErrorNotAShortcut() As String + Get + Return ResourceManager.GetString("frmAddWizard_ErrorNotAShortcut", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to The selected executable file does not exist.. + ''' + Friend ReadOnly Property frmAddWizard_ErrorProcessNotExist() As String + Get + Return ResourceManager.GetString("frmAddWizard_ErrorProcessNotExist", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to The folder you selected does not exist or is not a valid folder.. + ''' + Friend ReadOnly Property frmAddWizard_ErrorSavePathNotExist() As String + Get + Return ResourceManager.GetString("frmAddWizard_ErrorSavePathNotExist", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to You must enter a valid game name.. + ''' + Friend ReadOnly Property frmAddWizard_ErrorValidName() As String + Get + Return ResourceManager.GetString("frmAddWizard_ErrorValidName", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to You must select the game's executable file (.exe) to continue.. + ''' + Friend ReadOnly Property frmAddWizard_ErrorValidProcess() As String + Get + Return ResourceManager.GetString("frmAddWizard_ErrorValidProcess", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to You must select the game's save file path to continue. + ''' + Friend ReadOnly Property frmAddWizard_ErrorValidSavePath() As String + Get + Return ResourceManager.GetString("frmAddWizard_ErrorValidSavePath", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to You must choose items to include in the backup, or choose to save the entire folder.. + ''' + Friend ReadOnly Property frmAddWizard_ErrorValidSaveType() As String + Get + Return ResourceManager.GetString("frmAddWizard_ErrorValidSaveType", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to An error occured working with the shortcut file.[BR][BR][PARAM]. + ''' + Friend ReadOnly Property frmAddWizard_ErrorWithShortcut() As String + Get + Return ResourceManager.GetString("frmAddWizard_ErrorWithShortcut", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to Exclude. + ''' + Friend ReadOnly Property frmAddWizard_Exclude() As String + Get + Return ResourceManager.GetString("frmAddWizard_Exclude", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to Executable. + ''' + Friend ReadOnly Property frmAddWizard_Executable() As String + Get + Return ResourceManager.GetString("frmAddWizard_Executable", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to Add Game Wizard. + ''' + Friend ReadOnly Property frmAddWizard_FormName() As String + Get + Return ResourceManager.GetString("frmAddWizard_FormName", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to Include. + ''' + Friend ReadOnly Property frmAddWizard_Include() As String + Get + Return ResourceManager.GetString("frmAddWizard_Include", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to [PARAM] item(s) selected. + ''' + Friend ReadOnly Property frmAddWizard_ItemsSelectedMulti() As String + Get + Return ResourceManager.GetString("frmAddWizard_ItemsSelectedMulti", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to 0 item(s) selected. + ''' + Friend ReadOnly Property frmAddWizard_ItemsSelectedNone() As String + Get + Return ResourceManager.GetString("frmAddWizard_ItemsSelectedNone", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to Drag a shortcut here to complete this step.. + ''' + Friend ReadOnly Property frmAddWizard_lblDrag1() As String + Get + Return ResourceManager.GetString("frmAddWizard_lblDrag1", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to Drag a shortcut here to complete this step.. + ''' + Friend ReadOnly Property frmAddWizard_lblDrag2() As String + Get + Return ResourceManager.GetString("frmAddWizard_lblDrag2", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to Save Path. + ''' + Friend ReadOnly Property frmAddWizard_lblExcludePath() As String + Get + Return ResourceManager.GetString("frmAddWizard_lblExcludePath", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to Saved Game Folder:. + ''' + Friend ReadOnly Property frmAddWizard_lblExcludePathTitle() As String + Get + Return ResourceManager.GetString("frmAddWizard_lblExcludePathTitle", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to Save Path. + ''' + Friend ReadOnly Property frmAddWizard_lblIncludePath() As String + Get + Return ResourceManager.GetString("frmAddWizard_lblIncludePath", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to Saved Game Folder:. + ''' + Friend ReadOnly Property frmAddWizard_lblIncludePathTitle() As String + Get + Return ResourceManager.GetString("frmAddWizard_lblIncludePathTitle", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to The name will be automatically filtered for length and invalid characters. . + ''' + Friend ReadOnly Property frmAddWizard_lblStep1Instructions() As String + Get + Return ResourceManager.GetString("frmAddWizard_lblStep1Instructions", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to Enter the name of the game to monitor:. + ''' + Friend ReadOnly Property frmAddWizard_lblStep1Intro() As String + Get + Return ResourceManager.GetString("frmAddWizard_lblStep1Intro", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to Game Name. + ''' + Friend ReadOnly Property frmAddWizard_lblStep1Title() As String + Get + Return ResourceManager.GetString("frmAddWizard_lblStep1Title", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to Some games use launchers. Do not monitor launchers, be sure to choose the game's actual exe file.. + ''' + Friend ReadOnly Property frmAddWizard_lblStep2Instructions() As String + Get + Return ResourceManager.GetString("frmAddWizard_lblStep2Instructions", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to Choose the game's executable file or shortcut:. + ''' + Friend ReadOnly Property frmAddWizard_lblStep2Intro() As String + Get + Return ResourceManager.GetString("frmAddWizard_lblStep2Intro", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to Process to Monitor. + ''' + Friend ReadOnly Property frmAddWizard_lblStep2Title() As String + Get + Return ResourceManager.GetString("frmAddWizard_lblStep2Title", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to Choose any file types, specific files or folders you wish to include in the backup. If you're unsure, go back a step and choose to save the entire folder. . + ''' + Friend ReadOnly Property frmAddWizard_lblStep3aInstructions() As String + Get + Return ResourceManager.GetString("frmAddWizard_lblStep3aInstructions", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to Choose Files to Backup. + ''' + Friend ReadOnly Property frmAddWizard_lblStep3aTitle() As String + Get + Return ResourceManager.GetString("frmAddWizard_lblStep3aTitle", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to If you're unsure of exactly which files to backup, make sure Save Entire Folder is checked. You can also time stamp your backup files to make incremental backups.. + ''' + Friend ReadOnly Property frmAddWizard_lblStep3Instructions() As String + Get + Return ResourceManager.GetString("frmAddWizard_lblStep3Instructions", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to Choose the location of your game's save files:. + ''' + Friend ReadOnly Property frmAddWizard_lblStep3Intro() As String + Get + Return ResourceManager.GetString("frmAddWizard_lblStep3Intro", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to Game Backup Path. + ''' + Friend ReadOnly Property frmAddWizard_lblStep3Title() As String + Get + Return ResourceManager.GetString("frmAddWizard_lblStep3Title", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to Choose any file types, specific files or folders you wish to exclude from the backup. You may choose multiple items to exclude. This step can be skipped.. + ''' + Friend ReadOnly Property frmAddWizard_lblStep4Instructions() As String + Get + Return ResourceManager.GetString("frmAddWizard_lblStep4Instructions", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to Exclude Files or Folders. + ''' + Friend ReadOnly Property frmAddWizard_lblStep4Title() As String + Get + Return ResourceManager.GetString("frmAddWizard_lblStep4Title", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to Verify your settings below and click Finish to save.. + ''' + Friend ReadOnly Property frmAddWizard_lblStep5Intro() As String + Get + Return ResourceManager.GetString("frmAddWizard_lblStep5Intro", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to Summary of your Game. + ''' + Friend ReadOnly Property frmAddWizard_lblStep5Title() As String + Get + Return ResourceManager.GetString("frmAddWizard_lblStep5Title", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to None. + ''' + Friend ReadOnly Property frmAddWizard_None() As String + Get + Return ResourceManager.GetString("frmAddWizard_None", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to Absolute Path. + ''' + Friend ReadOnly Property frmAddWizard_Summary_AbsolutePath() As String + Get + Return ResourceManager.GetString("frmAddWizard_Summary_AbsolutePath", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to Excluded Items. + ''' + Friend ReadOnly Property frmAddWizard_Summary_Exclude() As String + Get + Return ResourceManager.GetString("frmAddWizard_Summary_Exclude", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to Folder Save. + ''' + Friend ReadOnly Property frmAddWizard_Summary_FolderSave() As String + Get + Return ResourceManager.GetString("frmAddWizard_Summary_FolderSave", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to Included Items. + ''' + Friend ReadOnly Property frmAddWizard_Summary_Include() As String + Get + Return ResourceManager.GetString("frmAddWizard_Summary_Include", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to Name. + ''' + Friend ReadOnly Property frmAddWizard_Summary_Name() As String + Get + Return ResourceManager.GetString("frmAddWizard_Summary_Name", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to Process. + ''' + Friend ReadOnly Property frmAddWizard_Summary_Process() As String + Get + Return ResourceManager.GetString("frmAddWizard_Summary_Process", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to Save Path. + ''' + Friend ReadOnly Property frmAddWizard_Summary_SavePath() As String + Get + Return ResourceManager.GetString("frmAddWizard_Summary_SavePath", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to Timestamp. + ''' + Friend ReadOnly Property frmAddWizard_Summary_Timestamp() As String + Get + Return ResourceManager.GetString("frmAddWizard_Summary_Timestamp", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to &Cancel. + ''' + Friend ReadOnly Property frmAdvancedImport_btnCancel() As String + Get + Return ResourceManager.GetString("frmAdvancedImport_btnCancel", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to &Import. + ''' + Friend ReadOnly Property frmAdvancedImport_btnImport() As String + Get + Return ResourceManager.GetString("frmAdvancedImport_btnImport", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to Import Game Configurations. + ''' + Friend ReadOnly Property frmAdvancedImport_FormName() As String + Get + Return ResourceManager.GetString("frmAdvancedImport_FormName", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to [PARAM] new configurations available.. + ''' + Friend ReadOnly Property frmAdvancedImport_NewConfigs() As String + Get + Return ResourceManager.GetString("frmAdvancedImport_NewConfigs", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to [PARAM] Selected. + ''' + Friend ReadOnly Property frmAdvancedImport_Selected() As String + Get + Return ResourceManager.GetString("frmAdvancedImport_Selected", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to &Cancel. + ''' + Friend ReadOnly Property frmChooseGame_btnCancel() As String + Get + Return ResourceManager.GetString("frmChooseGame_btnCancel", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to C&hoose Game. + ''' + Friend ReadOnly Property frmChooseGame_btnChoose() As String + Get + Return ResourceManager.GetString("frmChooseGame_btnChoose", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to Choose Game. + ''' + Friend ReadOnly Property frmChooseGame_FormName() As String + Get + Return ResourceManager.GetString("frmChooseGame_FormName", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to Please choose the game you were playing:. + ''' + Friend ReadOnly Property frmChooseGame_lblChoose() As String + Get + Return ResourceManager.GetString("frmChooseGame_lblChoose", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to &Cancel. + ''' + Friend ReadOnly Property frmFileFolderSearch_btnCancel() As String + Get + Return ResourceManager.GetString("frmFileFolderSearch_btnCancel", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to Search. + ''' + Friend ReadOnly Property frmFileFolderSearch_FormName() As String + Get + Return ResourceManager.GetString("frmFileFolderSearch_FormName", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to The location was not found on the [PARAM] drive. Do you wish to search the [PARAM] drive?. + ''' + Friend ReadOnly Property frmFileFolderSearch_SwitchDrives() As String + Get + Return ResourceManager.GetString("frmFileFolderSearch_SwitchDrives", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to >. + ''' + Friend ReadOnly Property frmFilter_btnAdd() As String + Get + Return ResourceManager.GetString("frmFilter_btnAdd", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to &OK. + ''' + Friend ReadOnly Property frmFilter_btnOK() As String + Get + Return ResourceManager.GetString("frmFilter_btnOK", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to <. + ''' + Friend ReadOnly Property frmFilter_btnRemove() As String + Get + Return ResourceManager.GetString("frmFilter_btnRemove", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to Custom Filter. + ''' + Friend ReadOnly Property frmFilter_FormName() As String + Get + Return ResourceManager.GetString("frmFilter_FormName", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to Options. + ''' + Friend ReadOnly Property frmFilter_grpGameInfoOptions() As String + Get + Return ResourceManager.GetString("frmFilter_grpGameInfoOptions", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to Options. + ''' + Friend ReadOnly Property frmFilter_grpTagOptions() As String + Get + Return ResourceManager.GetString("frmFilter_grpTagOptions", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to Company:. + ''' + Friend ReadOnly Property frmFilter_lblCompany() As String + Get + Return ResourceManager.GetString("frmFilter_lblCompany", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to Current Filter. + ''' + Friend ReadOnly Property frmFilter_lblGameTags() As String + Get + Return ResourceManager.GetString("frmFilter_lblGameTags", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to Name:. + ''' + Friend ReadOnly Property frmFilter_lblName() As String + Get + Return ResourceManager.GetString("frmFilter_lblName", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to Process:. + ''' + Friend ReadOnly Property frmFilter_lblProcess() As String + Get + Return ResourceManager.GetString("frmFilter_lblProcess", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to Available Tags. + ''' + Friend ReadOnly Property frmFilter_lblTags() As String + Get + Return ResourceManager.GetString("frmFilter_lblTags", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to All Tags. + ''' + Friend ReadOnly Property frmFilter_optAll() As String + Get + Return ResourceManager.GetString("frmFilter_optAll", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to And. + ''' + Friend ReadOnly Property frmFilter_optAnd() As String + Get + Return ResourceManager.GetString("frmFilter_optAnd", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to Any Tag. + ''' + Friend ReadOnly Property frmFilter_optAny() As String + Get + Return ResourceManager.GetString("frmFilter_optAny", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to Game Information. + ''' + Friend ReadOnly Property frmFilter_optGameInfo() As String + Get + Return ResourceManager.GetString("frmFilter_optGameInfo", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to Or. + ''' + Friend ReadOnly Property frmFilter_optOr() As String + Get + Return ResourceManager.GetString("frmFilter_optOr", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to Tag. + ''' + Friend ReadOnly Property frmFilter_optTag() As String + Get + Return ResourceManager.GetString("frmFilter_optTag", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to [PARAM] by [PARAM]. + ''' + Friend ReadOnly Property frmGameManager_BackupTimeAndName() As String + Get + Return ResourceManager.GetString("frmGameManager_BackupTimeAndName", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to +. + ''' + Friend ReadOnly Property frmGameManager_btnAdd() As String + Get + Return ResourceManager.GetString("frmGameManager_btnAdd", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to .... + ''' + Friend ReadOnly Property frmGameManager_btnAppPathBrowse() As String + Get + Return ResourceManager.GetString("frmGameManager_btnAppPathBrowse", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to &Backup. + ''' + Friend ReadOnly Property frmGameManager_btnBackup() As String + Get + Return ResourceManager.GetString("frmGameManager_btnBackup", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to &Cancel. + ''' + Friend ReadOnly Property frmGameManager_btnCancel() As String + Get + Return ResourceManager.GetString("frmGameManager_btnCancel", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to C&lose. + ''' + Friend ReadOnly Property frmGameManager_btnClose() As String + Get + Return ResourceManager.GetString("frmGameManager_btnClose", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to -. + ''' + Friend ReadOnly Property frmGameManager_btnDelete() As String + Get + Return ResourceManager.GetString("frmGameManager_btnDelete", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to &Delete Backup. + ''' + Friend ReadOnly Property frmGameManager_btnDeleteBackup() As String + Get + Return ResourceManager.GetString("frmGameManager_btnDeleteBackup", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to E&xclude Items.... + ''' + Friend ReadOnly Property frmGameManager_btnExclude() As String + Get + Return ResourceManager.GetString("frmGameManager_btnExclude", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to &Export. + ''' + Friend ReadOnly Property frmGameManager_btnExport() As String + Get + Return ResourceManager.GetString("frmGameManager_btnExport", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to .... + ''' + Friend ReadOnly Property frmGameManager_btnIconBrowse() As String + Get + Return ResourceManager.GetString("frmGameManager_btnIconBrowse", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to &Import. + ''' + Friend ReadOnly Property frmGameManager_btnImport() As String + Get + Return ResourceManager.GetString("frmGameManager_btnImport", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to In&clude Items.... + ''' + Friend ReadOnly Property frmGameManager_btnInclude() As String + Get + Return ResourceManager.GetString("frmGameManager_btnInclude", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to &Mark as Restored. + ''' + Friend ReadOnly Property frmGameManager_btnMarkAsRestored() As String + Get + Return ResourceManager.GetString("frmGameManager_btnMarkAsRestored", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to &Open Backup File. + ''' + Friend ReadOnly Property frmGameManager_btnOpenBackupFile() As String + Get + Return ResourceManager.GetString("frmGameManager_btnOpenBackupFile", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to O&pen Restore Path. + ''' + Friend ReadOnly Property frmGameManager_btnOpenRestorePath() As String + Get + Return ResourceManager.GetString("frmGameManager_btnOpenRestorePath", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to .... + ''' + Friend ReadOnly Property frmGameManager_btnProcessBrowse() As String + Get + Return ResourceManager.GetString("frmGameManager_btnProcessBrowse", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to &Restore. + ''' + Friend ReadOnly Property frmGameManager_btnRestore() As String + Get + Return ResourceManager.GetString("frmGameManager_btnRestore", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to &Save. + ''' + Friend ReadOnly Property frmGameManager_btnSave() As String + Get + Return ResourceManager.GetString("frmGameManager_btnSave", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to .... + ''' + Friend ReadOnly Property frmGameManager_btnSavePathBrowse() As String + Get + Return ResourceManager.GetString("frmGameManager_btnSavePathBrowse", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to Tags.... + ''' + Friend ReadOnly Property frmGameManager_btnTags() As String + Get + Return ResourceManager.GetString("frmGameManager_btnTags", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to Monitor this game. + ''' + Friend ReadOnly Property frmGameManager_chkEnabled() As String + Get + Return ResourceManager.GetString("frmGameManager_chkEnabled", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to Save entire folder. + ''' + Friend ReadOnly Property frmGameManager_chkFolderSave() As String + Get + Return ResourceManager.GetString("frmGameManager_chkFolderSave", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to Monitor only. + ''' + Friend ReadOnly Property frmGameManager_chkMonitorOnly() As String + Get + Return ResourceManager.GetString("frmGameManager_chkMonitorOnly", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to Timestamp each backup. + ''' + Friend ReadOnly Property frmGameManager_chkTimeStamp() As String + Get + Return ResourceManager.GetString("frmGameManager_chkTimeStamp", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to Choose a custom icon for the game. + ''' + Friend ReadOnly Property frmGameManager_ChooseCustomIcon() As String + Get + Return ResourceManager.GetString("frmGameManager_ChooseCustomIcon", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to Choose exe file that starts the application. + ''' + Friend ReadOnly Property frmGameManager_ChooseExe() As String + Get + Return ResourceManager.GetString("frmGameManager_ChooseExe", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to Choose the location of application's exe file:. + ''' + Friend ReadOnly Property frmGameManager_ChooseExePath() As String + Get + Return ResourceManager.GetString("frmGameManager_ChooseExePath", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to Choose a location for the export file. + ''' + Friend ReadOnly Property frmGameManager_ChooseExportXML() As String + Get + Return ResourceManager.GetString("frmGameManager_ChooseExportXML", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to Choose a valid xml file to import. + ''' + Friend ReadOnly Property frmGameManager_ChooseImportXML() As String + Get + Return ResourceManager.GetString("frmGameManager_ChooseImportXML", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to Choose the saved game folder:. + ''' + Friend ReadOnly Property frmGameManager_ChooseSaveFolder() As String + Get + Return ResourceManager.GetString("frmGameManager_ChooseSaveFolder", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to &File.... + ''' + Friend ReadOnly Property frmGameManager_cmsFile() As String + Get + Return ResourceManager.GetString("frmGameManager_cmsFile", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to &Official List.... + ''' + Friend ReadOnly Property frmGameManager_cmsOfficial() As String + Get + Return ResourceManager.GetString("frmGameManager_cmsOfficial", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to Are you sure you want to run a backup for [PARAM]? This will close the form.. + ''' + Friend ReadOnly Property frmGameManager_ConfirmBackup() As String + Get + Return ResourceManager.GetString("frmGameManager_ConfirmBackup", 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]?. + ''' + Friend ReadOnly Property frmGameManager_ConfirmBackupDelete() As String + Get + Return ResourceManager.GetString("frmGameManager_ConfirmBackupDelete", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to The backup folder [PARAM] still contains [PARAM] directories and [PARAM] files.[BR][BR]Do you want to delete the contents and remove the sub-folder for this game?. + ''' + Friend ReadOnly Property frmGameManager_ConfirmBackupFolderDelete() As String + Get + Return ResourceManager.GetString("frmGameManager_ConfirmBackupFolderDelete", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to Are you sure you want to delete [PARAM]? This cannot be undone.[BR][BR]This will not delete any backup files that already exist for this game.. + ''' + Friend ReadOnly Property frmGameManager_ConfirmGameDelete() As String + Get + Return ResourceManager.GetString("frmGameManager_ConfirmGameDelete", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to Do you want to mark [PARAM] as restored? This cannot be undone.. + ''' + Friend ReadOnly Property frmGameManager_ConfirmMark() As String + Get + Return ResourceManager.GetString("frmGameManager_ConfirmMark", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to Are you sure you want to run a backup for [PARAM] games? This will close the form.. + ''' + Friend ReadOnly Property frmGameManager_ConfirmMultiBackup() As String + Get + Return ResourceManager.GetString("frmGameManager_ConfirmMultiBackup", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to Are you sure you want to delete the [PARAM] selected games? This cannot be undone.. + ''' + Friend ReadOnly Property frmGameManager_ConfirmMultiGameDelete() As String + Get + Return ResourceManager.GetString("frmGameManager_ConfirmMultiGameDelete", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to Do you want to mark [PARAM] games as restored? This cannot be undone.. + ''' + Friend ReadOnly Property frmGameManager_ConfirmMultiMark() As String + Get + Return ResourceManager.GetString("frmGameManager_ConfirmMultiMark", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to Are you sure you want to restore the backups for [PARAM] games? This will close the form.. + ''' + Friend ReadOnly Property frmGameManager_ConfirmMultiRestore() As String + Get + Return ResourceManager.GetString("frmGameManager_ConfirmMultiRestore", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to Are you sure you want to save the following changes to [PARAM] selected games?[BR][BR]Monitor this game: [PARAM][BR]Monitor only: [PARAM]. + ''' + Friend ReadOnly Property frmGameManager_ConfirmMultiSave() As String + Get + Return ResourceManager.GetString("frmGameManager_ConfirmMultiSave", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to Would you like to choose games to import from the official list?[BR][BR]This requires an active internet connection.. + ''' + Friend ReadOnly Property frmGameManager_ConfirmOfficialImport() As String + Get + Return ResourceManager.GetString("frmGameManager_ConfirmOfficialImport", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to Are you sure you want to restore the backup for [PARAM]? This will close the form.. + ''' + Friend ReadOnly Property frmGameManager_ConfirmRestore() As String + Get + Return ResourceManager.GetString("frmGameManager_ConfirmRestore", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to [PARAM] is already up to date.[BR][BR]Would you like to restore this backup anyway?. + ''' + Friend ReadOnly Property frmGameManager_ConfirmRestoreAnyway() As String + Get + Return ResourceManager.GetString("frmGameManager_ConfirmRestoreAnyway", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to A game with this exact name and process already exists.. + ''' + Friend ReadOnly Property frmGameManager_ErrorGameDupe() As String + Get + Return ResourceManager.GetString("frmGameManager_ErrorGameDupe", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to The selected game(s) have no backup data.. + ''' + Friend ReadOnly Property frmGameManager_ErrorNoBackupData() As String + Get + Return ResourceManager.GetString("frmGameManager_ErrorNoBackupData", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to The backup file does not exist.. + ''' + Friend ReadOnly Property frmGameManager_ErrorNoBackupExists() As String + Get + Return ResourceManager.GetString("frmGameManager_ErrorNoBackupExists", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to You must choose items to include in the backup, or choose to save the entire folder.. + ''' + Friend ReadOnly Property frmGameManager_ErrorNoItems() As String + Get + Return ResourceManager.GetString("frmGameManager_ErrorNoItems", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to The restore path does not exist.. + ''' + Friend ReadOnly Property frmGameManager_ErrorNoRestorePathExists() As String + Get + Return ResourceManager.GetString("frmGameManager_ErrorNoRestorePathExists", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to [PARAM] uses a relative path and the game path has not been set.. + ''' + Friend ReadOnly Property frmGameManager_ErrorPathNotSet() As String + Get + Return ResourceManager.GetString("frmGameManager_ErrorPathNotSet", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to You must enter a valid game name.. + ''' + Friend ReadOnly Property frmGameManager_ErrorValidName() As String + Get + Return ResourceManager.GetString("frmGameManager_ErrorValidName", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to You must enter a valid process name.. + ''' + Friend ReadOnly Property frmGameManager_ErrorValidProcess() As String + Get + Return ResourceManager.GetString("frmGameManager_ErrorValidProcess", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to Exclude. + ''' + Friend ReadOnly Property frmGameManager_Exclude() As String + Get + Return ResourceManager.GetString("frmGameManager_Exclude", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to E&xclude. + ''' + Friend ReadOnly Property frmGameManager_ExcludeShortcut() As String + Get + Return ResourceManager.GetString("frmGameManager_ExcludeShortcut", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to Executable. + ''' + Friend ReadOnly Property frmGameManager_Executable() As String + Get + Return ResourceManager.GetString("frmGameManager_Executable", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to Game Manager. + ''' + Friend ReadOnly Property frmGameManager_FormName() As String + Get + Return ResourceManager.GetString("frmGameManager_FormName", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to Configuration. + ''' + Friend ReadOnly Property frmGameManager_grpConfig() As String + Get + Return ResourceManager.GetString("frmGameManager_grpConfig", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to Game Information. + ''' + Friend ReadOnly Property frmGameManager_grpExtra() As String + Get + Return ResourceManager.GetString("frmGameManager_grpExtra", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to Games Filter. + ''' + Friend ReadOnly Property frmGameManager_grpFilter() As String + Get + Return ResourceManager.GetString("frmGameManager_grpFilter", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to Backup Information. + ''' + Friend ReadOnly Property frmGameManager_grpStats() As String + Get + Return ResourceManager.GetString("frmGameManager_grpStats", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to Icon. + ''' + Friend ReadOnly Property frmGameManager_Icon() As String + Get + Return ResourceManager.GetString("frmGameManager_Icon", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to Include. + ''' + Friend ReadOnly Property frmGameManager_Include() As String + Get + Return ResourceManager.GetString("frmGameManager_Include", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to In&clude. + ''' + Friend ReadOnly Property frmGameManager_IncludeShortcut() As String + Get + Return ResourceManager.GetString("frmGameManager_IncludeShortcut", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to Items.... + ''' + Friend ReadOnly Property frmGameManager_Items() As String + Get + Return ResourceManager.GetString("frmGameManager_Items", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to Items... ([PARAM]). + ''' + Friend ReadOnly Property frmGameManager_ItemsExist() As String + Get + Return ResourceManager.GetString("frmGameManager_ItemsExist", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to Company:. + ''' + Friend ReadOnly Property frmGameManager_lblCompany() As String + Get + Return ResourceManager.GetString("frmGameManager_lblCompany", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to Current Backup:. + ''' + Friend ReadOnly Property frmGameManager_lblCurrentBackup() As String + Get + Return ResourceManager.GetString("frmGameManager_lblCurrentBackup", resourceCulture) + 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:. + ''' + Friend ReadOnly Property frmGameManager_lblGamePath() As String + Get + Return ResourceManager.GetString("frmGameManager_lblGamePath", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to Hours:. + ''' + Friend ReadOnly Property frmGameManager_lblHours() As String + Get + Return ResourceManager.GetString("frmGameManager_lblHours", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to Icon:. + ''' + Friend ReadOnly Property frmGameManager_lblIcon() As String + Get + Return ResourceManager.GetString("frmGameManager_lblIcon", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to Local Backup:. + ''' + Friend ReadOnly Property frmGameManager_lblLastBackup() As String + Get + Return ResourceManager.GetString("frmGameManager_lblLastBackup", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to Name:. + ''' + Friend ReadOnly Property frmGameManager_lblName() As String + Get + Return ResourceManager.GetString("frmGameManager_lblName", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to Process:. + ''' + Friend ReadOnly Property frmGameManager_lblProcess() As String + Get + Return ResourceManager.GetString("frmGameManager_lblProcess", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to Restore Path:. + ''' + Friend ReadOnly Property frmGameManager_lblRestorePath() As String + Get + Return ResourceManager.GetString("frmGameManager_lblRestorePath", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to Save Path:. + ''' + Friend ReadOnly Property frmGameManager_lblSavePath() As String + Get + Return ResourceManager.GetString("frmGameManager_lblSavePath", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to Version:. + ''' + Friend ReadOnly Property frmGameManager_lblVersion() As String + Get + Return ResourceManager.GetString("frmGameManager_lblVersion", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to Never. + ''' + Friend ReadOnly Property frmGameManager_Never() As String + Get + Return ResourceManager.GetString("frmGameManager_Never", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to All. + ''' + Friend ReadOnly Property frmGameManager_optAllGames() As String + Get + Return ResourceManager.GetString("frmGameManager_optAllGames", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to Backups Only. + ''' + Friend ReadOnly Property frmGameManager_optBackupData() As String + Get + Return ResourceManager.GetString("frmGameManager_optBackupData", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to Custom. + ''' + Friend ReadOnly Property frmGameManager_optCustom() As String + Get + Return ResourceManager.GetString("frmGameManager_optCustom", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to New Saves Pending. + ''' + Friend ReadOnly Property frmGameManager_optPendingRestores() As String + Get + Return ResourceManager.GetString("frmGameManager_optPendingRestores", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to Out of Sync. + ''' + Friend ReadOnly Property frmGameManager_OutofSync() As String + Get + Return ResourceManager.GetString("frmGameManager_OutofSync", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to Up to Date!. + ''' + Friend ReadOnly Property frmGameManager_UpToDate() As String + Get + Return ResourceManager.GetString("frmGameManager_UpToDate", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to XML. + ''' + Friend ReadOnly Property frmGameManager_XML() As String + Get + Return ResourceManager.GetString("frmGameManager_XML", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to >. + ''' + Friend ReadOnly Property frmGameTags_btnAdd() As String + Get + Return ResourceManager.GetString("frmGameTags_btnAdd", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to &Close. + ''' + Friend ReadOnly Property frmGameTags_btnClose() As String + Get + Return ResourceManager.GetString("frmGameTags_btnClose", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to Setup &Tags.... + ''' + Friend ReadOnly Property frmGameTags_btnOpenTags() As String + Get + Return ResourceManager.GetString("frmGameTags_btnOpenTags", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to <. + ''' + Friend ReadOnly Property frmGameTags_btnRemove() As String + Get + Return ResourceManager.GetString("frmGameTags_btnRemove", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to Edit Tags for Multiple Games. + ''' + Friend ReadOnly Property frmGameTags_FormNameMulti() As String + Get + Return ResourceManager.GetString("frmGameTags_FormNameMulti", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to Edit Tags for [PARAM]. + ''' + Friend ReadOnly Property frmGameTags_FormNameSingle() As String + Get + Return ResourceManager.GetString("frmGameTags_FormNameSingle", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to Current Tags. + ''' + Friend ReadOnly Property frmGameTags_lblGameTags() As String + Get + Return ResourceManager.GetString("frmGameTags_lblGameTags", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to Available Tags. + ''' + Friend ReadOnly Property frmGameTags_lblTags() As String + Get + Return ResourceManager.GetString("frmGameTags_lblTags", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to Choose the location of the saved game folder:. + ''' + Friend ReadOnly Property frmIncludeExclude_BrowseSaveFolder() As String + Get + Return ResourceManager.GetString("frmIncludeExclude_BrowseSaveFolder", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to >. + ''' + Friend ReadOnly Property frmIncludeExclude_btnAdd() As String + Get + Return ResourceManager.GetString("frmIncludeExclude_btnAdd", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to .... + ''' + Friend ReadOnly Property frmIncludeExclude_btnBrowse() As String + Get + Return ResourceManager.GetString("frmIncludeExclude_btnBrowse", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to &Cancel. + ''' + Friend ReadOnly Property frmIncludeExclude_btnCancel() As String + Get + Return ResourceManager.GetString("frmIncludeExclude_btnCancel", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to Raw &Edit. + ''' + Friend ReadOnly Property frmIncludeExclude_btnRawEdit() As String + Get + Return ResourceManager.GetString("frmIncludeExclude_btnRawEdit", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to <. + ''' + Friend ReadOnly Property frmIncludeExclude_btnRemove() As String + Get + Return ResourceManager.GetString("frmIncludeExclude_btnRemove", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to &Save. + ''' + Friend ReadOnly Property frmIncludeExclude_btnSave() As String + Get + Return ResourceManager.GetString("frmIncludeExclude_btnSave", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to Add Custom Item. + ''' + Friend ReadOnly Property frmIncludeExclude_cmsAdd() As String + Get + Return ResourceManager.GetString("frmIncludeExclude_cmsAdd", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to Edit. + ''' + Friend ReadOnly Property frmIncludeExclude_cmsEdit() As String + Get + Return ResourceManager.GetString("frmIncludeExclude_cmsEdit", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to Remove. + ''' + Friend ReadOnly Property frmIncludeExclude_cmsRemove() As String + Get + Return ResourceManager.GetString("frmIncludeExclude_cmsRemove", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to Custom Item. + ''' + Friend ReadOnly Property frmIncludeExclude_CustomItem() As String + Get + Return ResourceManager.GetString("frmIncludeExclude_CustomItem", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to An unexpected error occured while reading the file system:[BR][BR][PARAM]. + ''' + Friend ReadOnly Property frmIncludeExclude_ErrorFileSystemRead() As String + Get + Return ResourceManager.GetString("frmIncludeExclude_ErrorFileSystemRead", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to [PARAM] Builder. + ''' + Friend ReadOnly Property frmIncludeExclude_FormName() As String + Get + Return ResourceManager.GetString("frmIncludeExclude_FormName", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to [PARAM] Options. + ''' + Friend ReadOnly Property frmIncludeExclude_grpFileOptions() As String + Get + Return ResourceManager.GetString("frmIncludeExclude_grpFileOptions", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to [PARAM] Items. + ''' + Friend ReadOnly Property frmIncludeExclude_lblItems() As String + Get + Return ResourceManager.GetString("frmIncludeExclude_lblItems", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to Saved Game Explorer. + ''' + Friend ReadOnly Property frmIncludeExclude_lblSaveFolder() As String + Get + Return ResourceManager.GetString("frmIncludeExclude_lblSaveFolder", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to File Types. + ''' + Friend ReadOnly Property frmIncludeExclude_optFileTypes() As String + Get + Return ResourceManager.GetString("frmIncludeExclude_optFileTypes", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to Individual Files. + ''' + Friend ReadOnly Property frmIncludeExclude_optIndividualFiles() As String + Get + Return ResourceManager.GetString("frmIncludeExclude_optIndividualFiles", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to Items are semi-colon delimited.. + ''' + Friend ReadOnly Property frmIncludeExclude_RawEditInfo() As String + Get + Return ResourceManager.GetString("frmIncludeExclude_RawEditInfo", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to [PARAM] Raw Edit. + ''' + Friend ReadOnly Property frmIncludeExclude_RawEditTitle() As String + Get + Return ResourceManager.GetString("frmIncludeExclude_RawEditTitle", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to Click here to set the saved game folder.. + ''' + Friend ReadOnly Property frmIncludeExclude_ToolTipBrowse() As String + Get + Return ResourceManager.GetString("frmIncludeExclude_ToolTipBrowse", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to Set the saved game folder using the button above.. + ''' + Friend ReadOnly Property frmIncludeExclude_ToolTipFiles() As String + Get + Return ResourceManager.GetString("frmIncludeExclude_ToolTipFiles", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to The saved game folder could not be determined or does not exist.. + ''' + Friend ReadOnly Property frmIncludeExclude_ToolTipFolder() As String + Get + Return ResourceManager.GetString("frmIncludeExclude_ToolTipFolder", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to Saved Game Explorer. + ''' + Friend ReadOnly Property frmIncludeExclude_ToolTipTitle() As String + Get + Return ResourceManager.GetString("frmIncludeExclude_ToolTipTitle", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to Game Backup Monitor[BR]Version: [PARAM] Beta ([PARAM])[BR]Build: [PARAM][BR][PARAM][BR][BR]This program comes with ABSOLUTELY NO WARRANTY.[BR]This is free software, and you are welcome to redistribute it under certain conditions.[BR][BR]See gpl-3.0.html in the program folder for details.. + ''' + Friend ReadOnly Property frmMain_About() As String + Get + Return ResourceManager.GetString("frmMain_About", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to Backup in Progress.... + ''' + Friend ReadOnly Property frmMain_BackupInProgress() As String + Get + Return ResourceManager.GetString("frmMain_BackupInProgress", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to &Cancel. + ''' + Friend ReadOnly Property frmMain_btnCancelOperation() As String + Get + Return ResourceManager.GetString("frmMain_btnCancelOperation", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to Hide &Log. + ''' + Friend ReadOnly Property frmMain_btnToggleLog_Hide() As String + Get + Return ResourceManager.GetString("frmMain_btnToggleLog_Hide", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to Show &Log. + ''' + Friend ReadOnly Property frmMain_btnToggleLog_Show() As String + Get + Return ResourceManager.GetString("frmMain_btnToggleLog_Show", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to Choose icon for [PARAM]. + ''' + Friend ReadOnly Property frmMain_ChooseIcon() As String + Get + Return ResourceManager.GetString("frmMain_ChooseIcon", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to Do you wish to backup data from [PARAM]?. + ''' + Friend ReadOnly Property frmMain_ConfirmBackup() As String + Get + Return ResourceManager.GetString("frmMain_ConfirmBackup", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to This tool removes orphaned backup information from the local manifest based on the current backup folder. Data can become orphaned when backups are deleted by various computers that share the same backup folder on a cloud or network.[BR][BR]When alternating between different backup folders you should NOT use this tool.[BR][BR]Do you wish to proceed?. + ''' + Friend ReadOnly Property frmMain_ConfirmManifestClean() As String + Get + Return ResourceManager.GetString("frmMain_ConfirmManifestClean", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to Do you wish to cancel the monitoring of [PARAM]?[BR][BR]Warning: When monitoring is cancelled, session time is NOT saved.. + ''' + Friend ReadOnly Property frmMain_ConfirmMonitorCancel() As String + Get + Return ResourceManager.GetString("frmMain_ConfirmMonitorCancel", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to This will rebuild all databases and shrink them to an optimal size.[BR]This should only be used if your gbm.s3db files are becoming very large.[BR][BR]Do you wish to continue?. + ''' + Friend ReadOnly Property frmMain_ConfirmRebuild() As String + Get + Return ResourceManager.GetString("frmMain_ConfirmRebuild", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to Do you want to restart Game Backup Monitor as Administrator?. + ''' + Friend ReadOnly Property frmMain_ConfirmRunAsAdmin() As String + Get + Return ResourceManager.GetString("frmMain_ConfirmRunAsAdmin", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to [PARAM] is a 64-bit game, GBM cannot detect the required information to save your backup.. + ''' + Friend ReadOnly Property frmMain_Error64Backup() As String + Get + Return ResourceManager.GetString("frmMain_Error64Backup", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to 7-Zip was not found in the Game Backup Monitor utilities folder. The application cannot continue.. + ''' + Friend ReadOnly Property frmMain_Error7zip() As String + Get + Return ResourceManager.GetString("frmMain_Error7zip", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to [PARAM] is running as Administrator and GBM is not, GBM cannot detect the required information to save your backup.. + ''' + Friend ReadOnly Property frmMain_ErrorAdminBackup() As String + Get + Return ResourceManager.GetString("frmMain_ErrorAdminBackup", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to [PARAM] is running as Administrator and GBM is not.[BR]You cannot cancel monitoring at this time.[BR][BR]Run GBM as Administrator to prevent this issue.. + ''' + Friend ReadOnly Property frmMain_ErrorAdminDetect() As String + Get + Return ResourceManager.GetString("frmMain_ErrorAdminDetect", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to Game Backup Monitor is already running as Administrator.. + ''' + Friend ReadOnly Property frmMain_ErrorAlreadyAdmin() As String + Get + Return ResourceManager.GetString("frmMain_ErrorAlreadyAdmin", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to GBM is running from a new location, the Windows startup entry has been updated.. + ''' + Friend ReadOnly Property frmMain_ErrorAppLocationChanged() As String + Get + Return ResourceManager.GetString("frmMain_ErrorAppLocationChanged", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to [PARAM] backup was cancelled.. + ''' + Friend ReadOnly Property frmMain_ErrorBackupCancel() As String + Get + Return ResourceManager.GetString("frmMain_ErrorBackupCancel", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to [PARAM] backup was cancelled due to session length.. + ''' + Friend ReadOnly Property frmMain_ErrorBackupSessionLength() As String + Get + Return ResourceManager.GetString("frmMain_ErrorBackupSessionLength", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to [PARAM] backup was cancelled due to unknown path.. + ''' + Friend ReadOnly Property frmMain_ErrorBackupUnknownPath() As String + Get + Return ResourceManager.GetString("frmMain_ErrorBackupUnknownPath", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to The following monitored game(s) contain a custom path variable that is not set.[BR][PARAM][BR][BR]You will encounter backup/restore errors with these games until the variables are set.. + ''' + Friend ReadOnly Property frmMain_ErrorCustomVariable() As String + Get + Return ResourceManager.GetString("frmMain_ErrorCustomVariable", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to Your local GBM data (Version [PARAM]) is too new for your version of GBM (Version [PARAM]).[BR][BR]Please upgrade GBM or restore the database file appropriate for your version. The application cannot proceed.. + ''' + Friend ReadOnly Property frmMain_ErrorDBVerLocal() As String + Get + Return ResourceManager.GetString("frmMain_ErrorDBVerLocal", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to The GBM data (Version [PARAM]) in your backup folder is too new for your version of GBM (Version [PARAM])[BR][BR]All computers sharing a backup folder must use the same version of GBM. The application cannot proceed.. + ''' + Friend ReadOnly Property frmMain_ErrorDBVerRemote() As String + Get + Return ResourceManager.GetString("frmMain_ErrorDBVerRemote", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to Multiple possible 64-bit games have been detected, GBM cannot detect the path to identify your game or save your backup.[BR][BR]Please install the 64-bit version of GBM to detect and backup this game properly.. + ''' + Friend ReadOnly Property frmMain_ErrorMulti64() As String + Get + Return ResourceManager.GetString("frmMain_ErrorMulti64", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to Multiple possible games have been detected running as Administrator and GBM is not, GBM cannot detect the path to identify your game or save your backup.[BR][BR]Please run GBM as Administrator to properly detect and backup this game.. + ''' + Friend ReadOnly Property frmMain_ErrorMultiAdmin() As String + Get + Return ResourceManager.GetString("frmMain_ErrorMultiAdmin", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to [PARAM] uses a relative path and has never been detected on this computer.. + ''' + Friend ReadOnly Property frmMain_ErrorRelativePath() As String + Get + Return ResourceManager.GetString("frmMain_ErrorRelativePath", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to [PARAM] restore was cancelled due to a restore path issue.. + ''' + Friend ReadOnly Property frmMain_ErrorRestorePath() As String + Get + Return ResourceManager.GetString("frmMain_ErrorRestorePath", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to An error occured creating application settings folder. The application cannot proceed.[BR][BR][PARAM]. + ''' + Friend ReadOnly Property frmMain_ErrorSettingsFolder() As String + Get + Return ResourceManager.GetString("frmMain_ErrorSettingsFolder", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to [PARAM] (Executable Path). + ''' + Friend ReadOnly Property frmMain_ExePath() As String + Get + Return ResourceManager.GetString("frmMain_ExePath", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to Are you sure you want to exit? Your games will no longer be monitored.. + ''' + Friend ReadOnly Property frmMain_Exit() As String + Get + Return ResourceManager.GetString("frmMain_Exit", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to [PARAM] Detected. + ''' + Friend ReadOnly Property frmMain_GameDetected() As String + Get + Return ResourceManager.GetString("frmMain_GameDetected", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to [PARAM] has ended.. + ''' + Friend ReadOnly Property frmMain_GameEnded() As String + Get + Return ResourceManager.GetString("frmMain_GameEnded", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to Game List ([PARAM]) Loaded.. + ''' + Friend ReadOnly Property frmMain_GameListLoaded() As String + Get + Return ResourceManager.GetString("frmMain_GameListLoaded", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to &File. + ''' + Friend ReadOnly Property frmMain_gMonFile() As String + Get + Return ResourceManager.GetString("frmMain_gMonFile", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to &Exit. + ''' + Friend ReadOnly Property frmMain_gMonFileExit() As String + Get + Return ResourceManager.GetString("frmMain_gMonFileExit", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to Cancel &Monitoring. + ''' + Friend ReadOnly Property frmMain_gMonFileMonitor_Cancel() As String + Get + Return ResourceManager.GetString("frmMain_gMonFileMonitor_Cancel", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to Start &Monitoring. + ''' + Friend ReadOnly Property frmMain_gMonFileMonitor_Start() As String + Get + Return ResourceManager.GetString("frmMain_gMonFileMonitor_Start", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to Stop &Monitoring. + ''' + Friend ReadOnly Property frmMain_gMonFileMonitor_Stop() As String + Get + Return ResourceManager.GetString("frmMain_gMonFileMonitor_Stop", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to &Settings.... + ''' + Friend ReadOnly Property frmMain_gMonFileSettings() As String + Get + Return ResourceManager.GetString("frmMain_gMonFileSettings", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to &Help. + ''' + Friend ReadOnly Property frmMain_gMonHelp() As String + Get + Return ResourceManager.GetString("frmMain_gMonHelp", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to &About Game Backup Monitor. + ''' + Friend ReadOnly Property frmMain_gMonHelpAbout() As String + Get + Return ResourceManager.GetString("frmMain_gMonHelpAbout", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to &Check for Updates.... + ''' + Friend ReadOnly Property frmMain_gMonHelpCheckForUpdates() As String + Get + Return ResourceManager.GetString("frmMain_gMonHelpCheckForUpdates", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to Online &Manual.... + ''' + Friend ReadOnly Property frmMain_gMonHelpManual() As String + Get + Return ResourceManager.GetString("frmMain_gMonHelpManual", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to &Official Web Site.... + ''' + Friend ReadOnly Property frmMain_gMonHelpWebSite() As String + Get + Return ResourceManager.GetString("frmMain_gMonHelpWebSite", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to &Setup. + ''' + Friend ReadOnly Property frmMain_gMonSetup() As String + Get + Return ResourceManager.GetString("frmMain_gMonSetup", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to Add Game &Wizard.... + ''' + Friend ReadOnly Property frmMain_gMonSetupAddWizard() As String + Get + Return ResourceManager.GetString("frmMain_gMonSetupAddWizard", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to Custom &Path Variables.... + ''' + Friend ReadOnly Property frmMain_gMonSetupCustomVariables() As String + Get + Return ResourceManager.GetString("frmMain_gMonSetupCustomVariables", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to &Game Manager.... + ''' + Friend ReadOnly Property frmMain_gMonSetupGameManager() As String + Get + Return ResourceManager.GetString("frmMain_gMonSetupGameManager", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to &Tags.... + ''' + Friend ReadOnly Property frmMain_gMonSetupTags() As String + Get + Return ResourceManager.GetString("frmMain_gMonSetupTags", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to Monitor Status:. + ''' + Friend ReadOnly Property frmMain_gMonStripStatusButton() As String + Get + Return ResourceManager.GetString("frmMain_gMonStripStatusButton", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to Click to toggle monitoring on or off.. + ''' + Friend ReadOnly Property frmMain_gMonStripStatusButtonToolTip() As String + Get + Return ResourceManager.GetString("frmMain_gMonStripStatusButtonToolTip", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to &Tools. + ''' + Friend ReadOnly Property frmMain_gMonTools() As String + Get + Return ResourceManager.GetString("frmMain_gMonTools", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to Clea&n Local Manifest. + ''' + Friend ReadOnly Property frmMain_gMonToolsCleanMan() As String + Get + Return ResourceManager.GetString("frmMain_gMonToolsCleanMan", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to &Compact Databases. + ''' + Friend ReadOnly Property frmMain_gMonToolsCompact() As String + Get + Return ResourceManager.GetString("frmMain_gMonToolsCompact", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to Show / Hide. + ''' + Friend ReadOnly Property frmMain_gMonTrayShow() As String + Get + Return ResourceManager.GetString("frmMain_gMonTrayShow", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to Icon files (*.ico)|*.ico. + ''' + Friend ReadOnly Property frmMain_IconFilter() As String + Get + Return ResourceManager.GetString("frmMain_IconFilter", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to Last Game: [PARAM]. + ''' + Friend ReadOnly Property frmMain_LastGame() As String + Get + Return ResourceManager.GetString("frmMain_LastGame", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to Last Action:. + ''' + Friend ReadOnly Property frmMain_lblLastActionTitle() As String + Get + Return ResourceManager.GetString("frmMain_lblLastActionTitle", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to Local Database Vacuum Completed: [PARAM] KB. + ''' + Friend ReadOnly Property frmMain_LocalCompactComplete() As String + Get + Return ResourceManager.GetString("frmMain_LocalCompactComplete", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to Local Database Vacuum Initialized: [PARAM] KB. + ''' + Friend ReadOnly Property frmMain_LocalCompactInit() As String + Get + Return ResourceManager.GetString("frmMain_LocalCompactInit", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to The local manifest is clean.. + ''' + Friend ReadOnly Property frmMain_ManifestAreadyClean() As String + Get + Return ResourceManager.GetString("frmMain_ManifestAreadyClean", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to [PARAM] entry was removed from local manfiest.. + ''' + Friend ReadOnly Property frmMain_ManifestRemovedEntry() As String + Get + Return ResourceManager.GetString("frmMain_ManifestRemovedEntry", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to [PARAM] entries were removed from the local manifest.. + ''' + Friend ReadOnly Property frmMain_ManifestTotalRemoved() As String + Get + Return ResourceManager.GetString("frmMain_ManifestTotalRemoved", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to A manaul backup of [PARAM] was triggered.. + ''' + Friend ReadOnly Property frmMain_ManualBackup() As String + Get + Return ResourceManager.GetString("frmMain_ManualBackup", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to The master game list has been changed by a program other than GBM.. + ''' + Friend ReadOnly Property frmMain_MasterListChanged() As String + Get + Return ResourceManager.GetString("frmMain_MasterListChanged", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to Monitoring of [PARAM] was cancelled.. + ''' + Friend ReadOnly Property frmMain_MonitorCancel() As String + Get + Return ResourceManager.GetString("frmMain_MonitorCancel", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to [PARAM] monitoring ended.. + ''' + Friend ReadOnly Property frmMain_MonitorEnded() As String + Get + Return ResourceManager.GetString("frmMain_MonitorEnded", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to Multiple Games. + ''' + Friend ReadOnly Property frmMain_MultipleGames() As String + Get + Return ResourceManager.GetString("frmMain_MultipleGames", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to Multiple Games Detected. + ''' + Friend ReadOnly Property frmMain_MultipleGamesDetected() As String + Get + Return ResourceManager.GetString("frmMain_MultipleGamesDetected", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to [PARAM] New Saves Pending. + ''' + Friend ReadOnly Property frmMain_NewSaveNotificationMulti() As String + Get + Return ResourceManager.GetString("frmMain_NewSaveNotificationMulti", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to [PARAM] New Save Pending. + ''' + Friend ReadOnly Property frmMain_NewSaveNotificationSingle() As String + Get + Return ResourceManager.GetString("frmMain_NewSaveNotificationSingle", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to Game details are unavailable.. + ''' + Friend ReadOnly Property frmMain_NoDetails() As String + Get + Return ResourceManager.GetString("frmMain_NoDetails", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to No Game Detected. + ''' + Friend ReadOnly Property frmMain_NoGameDetected() As String + Get + Return ResourceManager.GetString("frmMain_NoGameDetected", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to N/A. + ''' + Friend ReadOnly Property frmMain_NotAvailable() As String + Get + Return ResourceManager.GetString("frmMain_NotAvailable", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to Not Scanning. + ''' + Friend ReadOnly Property frmMain_NotScanning() As String + Get + Return ResourceManager.GetString("frmMain_NotScanning", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to Remote Database Vacuum Completed: [PARAM] KB. + ''' + Friend ReadOnly Property frmMain_RemoteCompactComplete() As String + Get + Return ResourceManager.GetString("frmMain_RemoteCompactComplete", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to Remote Database Vacuum Initialized: [PARAM] KB. + ''' + Friend ReadOnly Property frmMain_RemoteCompactInit() As String + Get + Return ResourceManager.GetString("frmMain_RemoteCompactInit", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to Restore in progress.... + ''' + Friend ReadOnly Property frmMain_RestoreInProgress() As String + Get + Return ResourceManager.GetString("frmMain_RestoreInProgress", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to GBM is running with Administrator privileges.. + ''' + Friend ReadOnly Property frmMain_RunningAsAdmin() As String + Get + Return ResourceManager.GetString("frmMain_RunningAsAdmin", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to GBM is running with normal privileges. Click to restart as Administrator.. + ''' + Friend ReadOnly Property frmMain_RunningAsNormal() As String + Get + Return ResourceManager.GetString("frmMain_RunningAsNormal", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to [PARAM] hours. + ''' + Friend ReadOnly Property frmMain_SessionHours() As String + Get + Return ResourceManager.GetString("frmMain_SessionHours", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to [PARAM] minutes. + ''' + Friend ReadOnly Property frmMain_SessionMinutes() As String + Get + Return ResourceManager.GetString("frmMain_SessionMinutes", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to the unidentified game. + ''' + Friend ReadOnly Property frmMain_UnknownGame() As String + Get + Return ResourceManager.GetString("frmMain_UnknownGame", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to The unidentified game has ended.. + ''' + Friend ReadOnly Property frmMain_UnknownGameEnded() As String + Get + Return ResourceManager.GetString("frmMain_UnknownGameEnded", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to Updated by [PARAM] on [PARAM]. + ''' + Friend ReadOnly Property frmMain_UpdatedBy() As String + Get + Return ResourceManager.GetString("frmMain_UpdatedBy", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to Choose a backup folder:. + ''' + Friend ReadOnly Property frmSettings_BrowseFolder() As String + Get + Return ResourceManager.GetString("frmSettings_BrowseFolder", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to .... + ''' + Friend ReadOnly Property frmSettings_btnBackupFolder() As String + Get + Return ResourceManager.GetString("frmSettings_btnBackupFolder", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to &Cancel. + ''' + Friend ReadOnly Property frmSettings_btnCancel() As String + Get + Return ResourceManager.GetString("frmSettings_btnCancel", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to &Save. + ''' + Friend ReadOnly Property frmSettings_btnSave() As String + Get + Return ResourceManager.GetString("frmSettings_btnSave", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to Disable backup confirmation. + ''' + Friend ReadOnly Property frmSettings_chkBackupConfirm() As String + Get + Return ResourceManager.GetString("frmSettings_chkBackupConfirm", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to Verify backup files with a checksum. + ''' + Friend ReadOnly Property frmSettings_chkCheckSum() As String + Get + Return ResourceManager.GetString("frmSettings_chkCheckSum", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to Create a sub-folder for each game. + ''' + Friend ReadOnly Property frmSettings_chkCreateFolder() As String + Get + Return ResourceManager.GetString("frmSettings_chkCreateFolder", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to Start monitoring at launch. + ''' + Friend ReadOnly Property frmSettings_chkMonitorOnStartup() As String + Get + Return ResourceManager.GetString("frmSettings_chkMonitorOnStartup", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to Show overwrite warning. + ''' + Friend ReadOnly Property frmSettings_chkOverwriteWarning() As String + Get + Return ResourceManager.GetString("frmSettings_chkOverwriteWarning", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to Notify when there are new backup files to restore. + ''' + Friend ReadOnly Property frmSettings_chkRestoreOnLaunch() As String + Get + Return ResourceManager.GetString("frmSettings_chkRestoreOnLaunch", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to Show detection notifications. + ''' + Friend ReadOnly Property frmSettings_chkShowDetectionTips() As String + Get + Return ResourceManager.GetString("frmSettings_chkShowDetectionTips", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to Start to system tray. + ''' + Friend ReadOnly Property frmSettings_chkStartToTray() As String + Get + Return ResourceManager.GetString("frmSettings_chkStartToTray", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to Start with Windows. + ''' + Friend ReadOnly Property frmSettings_chkStartWindows() As String + Get + Return ResourceManager.GetString("frmSettings_chkStartWindows", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to Backup only when session time exceeds. + ''' + Friend ReadOnly Property frmSettings_chkSupressBackup() As String + Get + Return ResourceManager.GetString("frmSettings_chkSupressBackup", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to Sync game list data with backup folder. + ''' + Friend ReadOnly Property frmSettings_chkSync() As String + Get + Return ResourceManager.GetString("frmSettings_chkSync", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to Enable time tracking. + ''' + Friend ReadOnly Property frmSettings_chkTimeTracking() As String + Get + Return ResourceManager.GetString("frmSettings_chkTimeTracking", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to The backup folder does not exist. Please choose a valid backup folder.. + ''' + Friend ReadOnly Property frmSettings_ErrorBackupFolder() As String + Get + Return ResourceManager.GetString("frmSettings_ErrorBackupFolder", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to Settings. + ''' + Friend ReadOnly Property frmSettings_FormName() As String + Get + Return ResourceManager.GetString("frmSettings_FormName", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to Backup and Restore. + ''' + Friend ReadOnly Property frmSettings_grpBackup() As String + Get + Return ResourceManager.GetString("frmSettings_grpBackup", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to General. + ''' + Friend ReadOnly Property frmSettings_grpGeneral() As String + Get + Return ResourceManager.GetString("frmSettings_grpGeneral", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to Paths. + ''' + Friend ReadOnly Property frmSettings_grpPaths() As String + Get + Return ResourceManager.GetString("frmSettings_grpPaths", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to Backup Folder. + ''' + Friend ReadOnly Property frmSettings_lblBackupFolder() As String + Get + Return ResourceManager.GetString("frmSettings_lblBackupFolder", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to minutes. + ''' + Friend ReadOnly Property frmSettings_lblMinutes() As String + Get + Return ResourceManager.GetString("frmSettings_lblMinutes", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to Choose a backup folder:. + ''' + Friend ReadOnly Property frmStartUpWizard_BrowseFolder() As String + Get + Return ResourceManager.GetString("frmStartUpWizard_BrowseFolder", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to &Back. + ''' + Friend ReadOnly Property frmStartUpWizard_btnBack() As String + Get + Return ResourceManager.GetString("frmStartUpWizard_btnBack", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to Import from Official List. + ''' + Friend ReadOnly Property frmStartUpWizard_btnDownloadList() As String + Get + Return ResourceManager.GetString("frmStartUpWizard_btnDownloadList", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to .... + ''' + Friend ReadOnly Property frmStartUpWizard_btnFolderBrowse() As String + Get + Return ResourceManager.GetString("frmStartUpWizard_btnFolderBrowse", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to &Next. + ''' + Friend ReadOnly Property frmStartUpWizard_btnNext() As String + Get + Return ResourceManager.GetString("frmStartUpWizard_btnNext", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to &Finish. + ''' + Friend ReadOnly Property frmStartUpWizard_btnNext_Finish() As String + Get + Return ResourceManager.GetString("frmStartUpWizard_btnNext_Finish", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to Game Manager. + ''' + Friend ReadOnly Property frmStartUpWizard_btnOpenMonitorList() As String + Get + Return ResourceManager.GetString("frmStartUpWizard_btnOpenMonitorList", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to Add Game Wizard. + ''' + Friend ReadOnly Property frmStartUpWizard_btnOpenWizard() As String + Get + Return ResourceManager.GetString("frmStartUpWizard_btnOpenWizard", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to Create a sub-folder for each game. + ''' + Friend ReadOnly Property frmStartUpWizard_chkCreateFolder() As String + Get + Return ResourceManager.GetString("frmStartUpWizard_chkCreateFolder", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to Import any existing GBM data in the backup folder. + ''' + Friend ReadOnly Property frmStartUpWizard_chkSync() As String + Get + Return ResourceManager.GetString("frmStartUpWizard_chkSync", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to Would you like to choose games to import from the official list?[BR][BR]This requires an active internet connection.. + ''' + Friend ReadOnly Property frmStartUpWizard_ConfirmOfficialImport() As String + Get + Return ResourceManager.GetString("frmStartUpWizard_ConfirmOfficialImport", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to The selected path must be a full path.. + ''' + Friend ReadOnly Property frmStartUpWizard_ErrorBadFolder() As String + Get + Return ResourceManager.GetString("frmStartUpWizard_ErrorBadFolder", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to You must select a backup path to continue.. + ''' + Friend ReadOnly Property frmStartUpWizard_ErrorNoFolder() As String + Get + Return ResourceManager.GetString("frmStartUpWizard_ErrorNoFolder", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to The folder you selected does not exist or is not a valid folder.. + ''' + Friend ReadOnly Property frmStartUpWizard_ErrorNoFolderExists() As String + Get + Return ResourceManager.GetString("frmStartUpWizard_ErrorNoFolderExists", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to Existing data was detected in the backup folder and has been imported.. + ''' + Friend ReadOnly Property frmStartUpWizard_ExistingData() As String + Get + Return ResourceManager.GetString("frmStartUpWizard_ExistingData", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to GBM Setup. + ''' + Friend ReadOnly Property frmStartUpWizard_FormName() As String + Get + Return ResourceManager.GetString("frmStartUpWizard_FormName", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to This guide will help you through some quick and easy steps to get started.. + ''' + Friend ReadOnly Property frmStartUpWizard_lblStep1Instructions() As String + Get + Return ResourceManager.GetString("frmStartUpWizard_lblStep1Instructions", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to If you'd like to learn about advanced features or have any other questions before you get started, there is a detailed online manual available.. + ''' + Friend ReadOnly Property frmStartUpWizard_lblStep1Instructions2() As String + Get + Return ResourceManager.GetString("frmStartUpWizard_lblStep1Instructions2", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to Welcome to GBM. + ''' + Friend ReadOnly Property frmStartUpWizard_lblStep1Title() As String + Get + Return ResourceManager.GetString("frmStartUpWizard_lblStep1Title", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to GBM will store all your backup files along with a manifest database (gbm.s3db) in this location. . + ''' + Friend ReadOnly Property frmStartUpWizard_lblStep2Instructions() As String + Get + Return ResourceManager.GetString("frmStartUpWizard_lblStep2Instructions", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to Choose where GBM saves your backup files:. + ''' + Friend ReadOnly Property frmStartUpWizard_lblStep2Intro() As String + Get + Return ResourceManager.GetString("frmStartUpWizard_lblStep2Intro", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to Backup Location. + ''' + Friend ReadOnly Property frmStartUpWizard_lblStep2Title() As String + Get + Return ResourceManager.GetString("frmStartUpWizard_lblStep2Title", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to Before you can start monitoring for games, they need to be configured so GBM knows what to look for and how to handle them. You can download pre-made configurations from the official list or add them all yourself using the tools below. You can also skip this step for now!. + ''' + Friend ReadOnly Property frmStartUpWizard_lblStep3Intro() As String + Get + Return ResourceManager.GetString("frmStartUpWizard_lblStep3Intro", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to Monitoring Games. + ''' + Friend ReadOnly Property frmStartUpWizard_lblStep3Title() As String + Get + Return ResourceManager.GetString("frmStartUpWizard_lblStep3Title", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to GBM will automatically monitor and backup your games each time they are closed.. + ''' + Friend ReadOnly Property frmStartUpWizard_lblStep4Instructions() As String + Get + Return ResourceManager.GetString("frmStartUpWizard_lblStep4Instructions", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to Remember that GBM can only currently monitor one game at a time.. + ''' + Friend ReadOnly Property frmStartUpWizard_lblStep4Instructions2() As String + Get + Return ResourceManager.GetString("frmStartUpWizard_lblStep4Instructions2", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to You can change anything you've setup in this wizard and find more settings and features by exploring the menus. Thanks!. + ''' + Friend ReadOnly Property frmStartUpWizard_lblStep4Instructions3() As String + Get + Return ResourceManager.GetString("frmStartUpWizard_lblStep4Instructions3", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to Finished!. + ''' + Friend ReadOnly Property frmStartUpWizard_lblStep4Title() As String + Get + Return ResourceManager.GetString("frmStartUpWizard_lblStep4Title", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to Game Backup Monitor Manual. + ''' + Friend ReadOnly Property frmStartUpWizard_llbManual() As String + Get + Return ResourceManager.GetString("frmStartUpWizard_llbManual", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to +. + ''' + Friend ReadOnly Property frmTags_btnAdd() As String + Get + Return ResourceManager.GetString("frmTags_btnAdd", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to &Cancel. + ''' + Friend ReadOnly Property frmTags_btnCancel() As String + Get + Return ResourceManager.GetString("frmTags_btnCancel", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to C&lose. + ''' + Friend ReadOnly Property frmTags_btnClose() As String + Get + Return ResourceManager.GetString("frmTags_btnClose", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to -. + ''' + Friend ReadOnly Property frmTags_btnDelete() As String + Get + Return ResourceManager.GetString("frmTags_btnDelete", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to &Save. + ''' + Friend ReadOnly Property frmTags_btnSave() As String + Get + Return ResourceManager.GetString("frmTags_btnSave", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to Are you sure you want to delete [PARAM]? This cannot be undone.[BR][BR]All games using this tag will have it removed.. + ''' + Friend ReadOnly Property frmTags_ConfirmDelete() As String + Get + Return ResourceManager.GetString("frmTags_ConfirmDelete", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to A tag with this name already exists.. + ''' + Friend ReadOnly Property frmTags_ErrorTagDupe() As String + Get + Return ResourceManager.GetString("frmTags_ErrorTagDupe", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to You must enter a valid tag name.. + ''' + Friend ReadOnly Property frmTags_ErrorValidName() As String + Get + Return ResourceManager.GetString("frmTags_ErrorValidName", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to Tags. + ''' + Friend ReadOnly Property frmTags_FormName() As String + Get + Return ResourceManager.GetString("frmTags_FormName", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to Configuration. + ''' + Friend ReadOnly Property frmTags_grpTag() As String + Get + Return ResourceManager.GetString("frmTags_grpTag", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to Name:. + ''' + Friend ReadOnly Property frmTags_lblName() As String + Get + Return ResourceManager.GetString("frmTags_lblName", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to +. + ''' + Friend ReadOnly Property frmVariableManager_btnAdd() As String + Get + Return ResourceManager.GetString("frmVariableManager_btnAdd", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to &Cancel. + ''' + Friend ReadOnly Property frmVariableManager_btnCancel() As String + Get + Return ResourceManager.GetString("frmVariableManager_btnCancel", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to C&lose. + ''' + Friend ReadOnly Property frmVariableManager_btnClose() As String + Get + Return ResourceManager.GetString("frmVariableManager_btnClose", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to -. + ''' + Friend ReadOnly Property frmVariableManager_btnDelete() As String + Get + Return ResourceManager.GetString("frmVariableManager_btnDelete", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to .... + ''' + Friend ReadOnly Property frmVariableManager_btnPathBrowse() As String + Get + Return ResourceManager.GetString("frmVariableManager_btnPathBrowse", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to &Save. + ''' + Friend ReadOnly Property frmVariableManager_btnSave() As String + Get + Return ResourceManager.GetString("frmVariableManager_btnSave", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to Are you sure you want to delete [PARAM]? This cannot be undone.. + ''' + Friend ReadOnly Property frmVariableManager_ConfirmDelete() As String + Get + Return ResourceManager.GetString("frmVariableManager_ConfirmDelete", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to You must enter a valid variable name.. + ''' + Friend ReadOnly Property frmVariableManager_ErrorValidName() As String + Get + Return ResourceManager.GetString("frmVariableManager_ErrorValidName", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to You must enter a valid path.. + ''' + Friend ReadOnly Property frmVariableManager_ErrorValidPath() As String + Get + Return ResourceManager.GetString("frmVariableManager_ErrorValidPath", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to A custom variable with this name already exists.. + ''' + Friend ReadOnly Property frmVariableManager_ErrorVariableDupe() As String + Get + Return ResourceManager.GetString("frmVariableManager_ErrorVariableDupe", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to Custom Variable Manager. + ''' + Friend ReadOnly Property frmVariableManager_FormName() As String + Get + Return ResourceManager.GetString("frmVariableManager_FormName", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to Configuration. + ''' + Friend ReadOnly Property frmVariableManager_grpVariable() As String + Get + Return ResourceManager.GetString("frmVariableManager_grpVariable", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to Name:. + ''' + Friend ReadOnly Property frmVariableManager_lblName() As String + Get + Return ResourceManager.GetString("frmVariableManager_lblName", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to Path:. + ''' + Friend ReadOnly Property frmVariableManager_lblPath() As String + Get + Return ResourceManager.GetString("frmVariableManager_lblPath", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to Choose the path the variable represents:. + ''' + Friend ReadOnly Property frmVariableManager_PathBrowse() As String + Get + Return ResourceManager.GetString("frmVariableManager_PathBrowse", resourceCulture) End Get End Property @@ -123,9 +3531,9 @@ Namespace My.Resources ''' ''' Looks up a localized resource of type System.Drawing.Bitmap. ''' - Friend ReadOnly Property Inbox() As System.Drawing.Bitmap + Friend ReadOnly Property Icon_Admin() As System.Drawing.Bitmap Get - Dim obj As Object = ResourceManager.GetObject("Inbox", resourceCulture) + Dim obj As Object = ResourceManager.GetObject("Icon_Admin", resourceCulture) Return CType(obj,System.Drawing.Bitmap) End Get End Property @@ -133,9 +3541,9 @@ Namespace My.Resources ''' ''' Looks up a localized resource of type System.Drawing.Bitmap. ''' - Friend ReadOnly Property Ready() As System.Drawing.Bitmap + Friend ReadOnly Property Icon_Clock() As System.Drawing.Bitmap Get - Dim obj As Object = ResourceManager.GetObject("Ready", resourceCulture) + Dim obj As Object = ResourceManager.GetObject("Icon_Clock", resourceCulture) Return CType(obj,System.Drawing.Bitmap) End Get End Property @@ -143,9 +3551,9 @@ Namespace My.Resources ''' ''' Looks up a localized resource of type System.Drawing.Bitmap. ''' - Friend ReadOnly Property Searching() As System.Drawing.Bitmap + Friend ReadOnly Property Icon_Detected() As System.Drawing.Bitmap Get - Dim obj As Object = ResourceManager.GetObject("Searching", resourceCulture) + Dim obj As Object = ResourceManager.GetObject("Icon_Detected", resourceCulture) Return CType(obj,System.Drawing.Bitmap) End Get End Property @@ -153,9 +3561,9 @@ Namespace My.Resources ''' ''' Looks up a localized resource of type System.Drawing.Bitmap. ''' - Friend ReadOnly Property Stopped() As System.Drawing.Bitmap + Friend ReadOnly Property Icon_Inbox() As System.Drawing.Bitmap Get - Dim obj As Object = ResourceManager.GetObject("Stopped", resourceCulture) + Dim obj As Object = ResourceManager.GetObject("Icon_Inbox", resourceCulture) Return CType(obj,System.Drawing.Bitmap) End Get End Property @@ -163,9 +3571,9 @@ Namespace My.Resources ''' ''' Looks up a localized resource of type System.Drawing.Bitmap. ''' - Friend ReadOnly Property Unknown() As System.Drawing.Bitmap + Friend ReadOnly Property Icon_Ready() As System.Drawing.Bitmap Get - Dim obj As Object = ResourceManager.GetObject("Unknown", resourceCulture) + Dim obj As Object = ResourceManager.GetObject("Icon_Ready", resourceCulture) Return CType(obj,System.Drawing.Bitmap) End Get End Property @@ -173,9 +3581,9 @@ Namespace My.Resources ''' ''' Looks up a localized resource of type System.Drawing.Bitmap. ''' - Friend ReadOnly Property User() As System.Drawing.Bitmap + Friend ReadOnly Property Icon_Searching() As System.Drawing.Bitmap Get - Dim obj As Object = ResourceManager.GetObject("User", resourceCulture) + Dim obj As Object = ResourceManager.GetObject("Icon_Searching", resourceCulture) Return CType(obj,System.Drawing.Bitmap) End Get End Property @@ -183,11 +3591,581 @@ Namespace My.Resources ''' ''' Looks up a localized resource of type System.Drawing.Bitmap. ''' - Friend ReadOnly Property Working() As System.Drawing.Bitmap + Friend ReadOnly Property Icon_Stopped() As System.Drawing.Bitmap Get - Dim obj As Object = ResourceManager.GetObject("Working", resourceCulture) + Dim obj As Object = ResourceManager.GetObject("Icon_Stopped", resourceCulture) Return CType(obj,System.Drawing.Bitmap) End Get End Property + + ''' + ''' Looks up a localized resource of type System.Drawing.Bitmap. + ''' + Friend ReadOnly Property Icon_Unknown() As System.Drawing.Bitmap + Get + Dim obj As Object = ResourceManager.GetObject("Icon_Unknown", resourceCulture) + Return CType(obj,System.Drawing.Bitmap) + End Get + End Property + + ''' + ''' Looks up a localized resource of type System.Drawing.Bitmap. + ''' + Friend ReadOnly Property Icon_User() As System.Drawing.Bitmap + Get + Dim obj As Object = ResourceManager.GetObject("Icon_User", resourceCulture) + Return CType(obj,System.Drawing.Bitmap) + End Get + End Property + + ''' + ''' Looks up a localized resource of type System.Drawing.Bitmap. + ''' + Friend ReadOnly Property Icon_Working() As System.Drawing.Bitmap + Get + Dim obj As Object = ResourceManager.GetObject("Icon_Working", resourceCulture) + Return CType(obj,System.Drawing.Bitmap) + End Get + End Property + + ''' + ''' Looks up a localized string similar to Do you wish to manually set the game path? (Path will be saved). + ''' + Friend ReadOnly Property mgPath_ConfirmManualPathNoParam() As String + Get + Return ResourceManager.GetString("mgPath_ConfirmManualPathNoParam", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to [PARAM] backup completed. + ''' + Friend ReadOnly Property mgrBackup_ActionComplete() As String + Get + Return ResourceManager.GetString("mgrBackup_ActionComplete", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to [PARAM] backup failed. + ''' + Friend ReadOnly Property mgrBackup_ActionFailed() As String + Get + Return ResourceManager.GetString("mgrBackup_ActionFailed", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to [PARAM] backup completed.. + ''' + Friend ReadOnly Property mgrBackup_BackupComplete() As String + Get + Return ResourceManager.GetString("mgrBackup_BackupComplete", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to Backup of [PARAM] in progress.... + ''' + Friend ReadOnly Property mgrBackup_BackupInProgress() As String + Get + Return ResourceManager.GetString("mgrBackup_BackupInProgress", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to [PARAM] backup finished with warnings or errors.. + ''' + Friend ReadOnly Property mgrBackup_BackupWarnings() As String + Get + Return ResourceManager.GetString("mgrBackup_BackupWarnings", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to The manifest shows the backup folder contains a backup for [PARAM] that has not been restored on this computer.[BR][BR]Do you want to overwrite this file anyway?. + ''' + Friend ReadOnly Property mgrBackup_ConfirmManifestConflict() As String + Get + Return ResourceManager.GetString("mgrBackup_ConfirmManifestConflict", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to A file with the same name already exists in the backup folder.[BR][BR]Do you want to overwrite this file?. + ''' + Friend ReadOnly Property mgrBackup_ConfirmOverwrite() As String + Get + Return ResourceManager.GetString("mgrBackup_ConfirmOverwrite", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to An error occured creating a file list: [PARAM]. + ''' + Friend ReadOnly Property mgrBackup_ErrorFileList() As String + Get + Return ResourceManager.GetString("mgrBackup_ErrorFileList", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to Backup aborted. The backup file for [PARAM] may be unusable.. + ''' + Friend ReadOnly Property mgrBackup_ErrorFullAbort() As String + Get + Return ResourceManager.GetString("mgrBackup_ErrorFullAbort", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to Backup aborted by user due to manifest conflict.. + ''' + Friend ReadOnly Property mgrBackup_ErrorManifestConflict() As String + Get + Return ResourceManager.GetString("mgrBackup_ErrorManifestConflict", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to The manifest update for [PARAM] failed.. + ''' + Friend ReadOnly Property mgrBackup_ErrorManifestFailure() As String + Get + Return ResourceManager.GetString("mgrBackup_ErrorManifestFailure", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to Backup aborted. The saved game path for [PARAM] does not exist.. + ''' + Friend ReadOnly Property mgrBackup_ErrorNoSavePath() As String + Get + Return ResourceManager.GetString("mgrBackup_ErrorNoSavePath", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to An unexpected error occured during the backup of [PARAM].[BR][PARAM]. + ''' + Friend ReadOnly Property mgrBackup_ErrorOtherFailure() As String + Get + Return ResourceManager.GetString("mgrBackup_ErrorOtherFailure", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to [PARAM] backup aborted by user due to overwrite.. + ''' + Friend ReadOnly Property mgrBackup_ErrorOverwriteAbort() As String + Get + Return ResourceManager.GetString("mgrBackup_ErrorOverwriteAbort", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to Backup aborted. A failure occured while creating a backup sub-folder for [PARAM].[BR][PARAM]. + ''' + Friend ReadOnly Property mgrBackup_ErrorSubFolderCreate() As String + Get + Return ResourceManager.GetString("mgrBackup_ErrorSubFolderCreate", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to Generating SHA-256 hash for [PARAM] backup file.. + ''' + Friend ReadOnly Property mgrBackup_GenerateHash() As String + Get + Return ResourceManager.GetString("mgrBackup_GenerateHash", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to [PARAM] files (*.[PARAM])|*.[PARAM]. + ''' + Friend ReadOnly Property mgrCommon_FilesFilter() As String + Get + Return ResourceManager.GetString("mgrCommon_FilesFilter", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to No. + ''' + Friend ReadOnly Property mgrCommon_No() As String + Get + Return ResourceManager.GetString("mgrCommon_No", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to Yes. + ''' + Friend ReadOnly Property mgrCommon_Yes() As String + Get + Return ResourceManager.GetString("mgrCommon_Yes", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to Would you like to apply a filter to your export?. + ''' + Friend ReadOnly Property mgrMonitorList_ConfirmApplyFilter() As String + Get + Return ResourceManager.GetString("mgrMonitorList_ConfirmApplyFilter", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to GBM data already exists in the backup folder.[BR][BR]Do you want to make your local game list the new master game list in this folder? (Recommended)[BR][BR]Choosing No will sync your local game list to the current master game list in this folder.. + ''' + Friend ReadOnly Property mgrMonitorList_ConfirmExistingData() As String + Get + Return ResourceManager.GetString("mgrMonitorList_ConfirmExistingData", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to Export Complete. [PARAM] item(s) have been exported.. + ''' + Friend ReadOnly Property mgrMonitorList_ExportComplete() As String + Get + Return ResourceManager.GetString("mgrMonitorList_ExportComplete", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to The file:[BR][PARAM][BR]cannot be found.. + ''' + Friend ReadOnly Property mgrMonitorList_FileNotFound() As String + Get + Return ResourceManager.GetString("mgrMonitorList_FileNotFound", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to Import Complete.. + ''' + Friend ReadOnly Property mgrMonitorList_ImportComplete() As String + Get + Return ResourceManager.GetString("mgrMonitorList_ImportComplete", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to This list does not contain any new games to import.. + ''' + Friend ReadOnly Property mgrMonitorList_ImportNothing() As String + Get + Return ResourceManager.GetString("mgrMonitorList_ImportNothing", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to [PARAM] change(s) synced.. + ''' + Friend ReadOnly Property mgrMonitorList_SyncChanges() As String + Get + Return ResourceManager.GetString("mgrMonitorList_SyncChanges", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to A sync from the master game list has been triggered.. + ''' + Friend ReadOnly Property mgrMonitorList_SyncFromMaster() As String + Get + Return ResourceManager.GetString("mgrMonitorList_SyncFromMaster", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to A sync to the master game list has been triggered.. + ''' + Friend ReadOnly Property mgrMonitorList_SyncToMaster() As String + Get + Return ResourceManager.GetString("mgrMonitorList_SyncToMaster", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to There's no response from:[BR][PARAM][BR]Either the server is not responding or the URL is invalid.. + ''' + Friend ReadOnly Property mgrMonitorList_WebNoReponse() As String + Get + Return ResourceManager.GetString("mgrMonitorList_WebNoReponse", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to Choose the game folder containing the executable.. + ''' + Friend ReadOnly Property mgrPath_ChoosePath() As String + Get + Return ResourceManager.GetString("mgrPath_ChoosePath", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to The search failed to locate the path for [PARAM].[BR][BR]Do you wish to manually set the game path? (Path will be saved). + ''' + Friend ReadOnly Property mgrPath_ConfirmAutoFailure() As String + Get + Return ResourceManager.GetString("mgrPath_ConfirmAutoFailure", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to [PARAM][BR][BR]Do you wish to automatically search for the game path? (Path will be saved)". + ''' + Friend ReadOnly Property mgrPath_ConfirmAutoPath() As String + Get + Return ResourceManager.GetString("mgrPath_ConfirmAutoPath", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to The backup location [PARAM] is not available.[BR]It may be on an external or network drive that isn't connected.[BR][BR]Do you want to select another backup location and continue?. + ''' + Friend ReadOnly Property mgrPath_ConfirmBackupLocation() As String + Get + Return ResourceManager.GetString("mgrPath_ConfirmBackupLocation", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to [PARAM][BR][BR]Do you wish to manually set the game path? (Path will be saved). + ''' + Friend ReadOnly Property mgrPath_ConfirmManualPath() As String + Get + Return ResourceManager.GetString("mgrPath_ConfirmManualPath", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to [PARAM] was located in the following folder:[BR][BR][PARAM][BR][BR]Is this correct?. + ''' + Friend ReadOnly Property mgrPath_ConfirmPathCorrect() As String + Get + Return ResourceManager.GetString("mgrPath_ConfirmPathCorrect", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to [PARAM] backup restored. + ''' + Friend ReadOnly Property mgrRestore_ActionComplete() As String + Get + Return ResourceManager.GetString("mgrRestore_ActionComplete", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to [PARAM] restore failed. + ''' + Friend ReadOnly Property mgrRestore_ActionFailed() As String + Get + Return ResourceManager.GetString("mgrRestore_ActionFailed", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to The restore path [PARAM] does not exist.[BR][BR]Do you want to create the folder and continue?". + ''' + Friend ReadOnly Property mgrRestore_ConfirmCreatePath() As String + Get + Return ResourceManager.GetString("mgrRestore_ConfirmCreatePath", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to The backup file for [PARAM] has failed the file intergity check. It may be corrupted, not exist or been modified by another application.[BR][BR]Do you still want to restore this backup? (Not Recommended). + ''' + Friend ReadOnly Property mgrRestore_ConfirmFailedCheck() As String + Get + Return ResourceManager.GetString("mgrRestore_ConfirmFailedCheck", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to The restore path for [PARAM] does not match it's current save path.[BR][BR]Do you want to restore to the current save path instead? (Recommended)". + ''' + Friend ReadOnly Property mgrRestore_ConfirmPathMismatch() As String + Get + Return ResourceManager.GetString("mgrRestore_ConfirmPathMismatch", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to Restored aborted by user due to a failed file integrity check.. + ''' + Friend ReadOnly Property mgrRestore_ErrorCheckAbort() As String + Get + Return ResourceManager.GetString("mgrRestore_ErrorCheckAbort", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to The restore path could not be created due to an unexpected error.[BR][PARAM]. + ''' + Friend ReadOnly Property mgrRestore_ErrorCreatePath() As String + Get + Return ResourceManager.GetString("mgrRestore_ErrorCreatePath", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to The backup file for [PARAM] has failed the file integrity check.. + ''' + Friend ReadOnly Property mgrRestore_ErrorFailedCheck() As String + Get + Return ResourceManager.GetString("mgrRestore_ErrorFailedCheck", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to Restore aborted. The saved games for [PARAM] may now be invalid.. + ''' + Friend ReadOnly Property mgrRestore_ErrorFullAbort() As String + Get + Return ResourceManager.GetString("mgrRestore_ErrorFullAbort", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to Restore aborted. The backup file could not be found.. + ''' + Friend ReadOnly Property mgrRestore_ErrorNoBackup() As String + Get + Return ResourceManager.GetString("mgrRestore_ErrorNoBackup", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to Restored aborted. The path [PARAM] does not exist.. + ''' + Friend ReadOnly Property mgrRestore_ErrorNoPath() As String + Get + Return ResourceManager.GetString("mgrRestore_ErrorNoPath", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to An unexpected error occured during the restore process.[BR][PARAM]. + ''' + Friend ReadOnly Property mgrRestore_ErrorOtherFailure() As String + Get + Return ResourceManager.GetString("mgrRestore_ErrorOtherFailure", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to [PARAM] has no stored checksum, verification has been skipped.. + ''' + Friend ReadOnly Property mgrRestore_NoVerify() As String + Get + Return ResourceManager.GetString("mgrRestore_NoVerify", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to [PARAM] uses a relative path and has never been detected on this computer.. + ''' + Friend ReadOnly Property mgrRestore_RelativeNeedPath() As String + Get + Return ResourceManager.GetString("mgrRestore_RelativeNeedPath", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to [PARAM] backup restored.. + ''' + Friend ReadOnly Property mgrRestore_RestoreComplete() As String + Get + Return ResourceManager.GetString("mgrRestore_RestoreComplete", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to Restore to [PARAM] in progress.... + ''' + Friend ReadOnly Property mgrRestore_RestoreInProgress() As String + Get + Return ResourceManager.GetString("mgrRestore_RestoreInProgress", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to [PARAM] restore finished with warnings or errors.. + ''' + Friend ReadOnly Property mgrRestore_RestoreWarnings() As String + Get + Return ResourceManager.GetString("mgrRestore_RestoreWarnings", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to [PARAM] backup has been verified.. + ''' + Friend ReadOnly Property mgrRestore_Verified() As String + Get + Return ResourceManager.GetString("mgrRestore_Verified", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to An error occured creating a backup of the database file at [PARAM][BR][BR][PARAM]. + ''' + Friend ReadOnly Property mgrSQLite_ErrorBackupFailure() As String + Get + Return ResourceManager.GetString("mgrSQLite_ErrorBackupFailure", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to An error has occured attempting to create the local application database:[BR][BR][PARAM]. + ''' + Friend ReadOnly Property mgrSQLite_ErrorCreatingLocalDB() As String + Get + Return ResourceManager.GetString("mgrSQLite_ErrorCreatingLocalDB", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to An error has occured attempting to create the remote application database:[BR][BR][PARAM]. + ''' + Friend ReadOnly Property mgrSQLite_ErrorCreatingRemoteDB() As String + Get + Return ResourceManager.GetString("mgrSQLite_ErrorCreatingRemoteDB", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to An error has occured attempting run the query.[BR][BR][PARAM][BR][BR][PARAM]. + ''' + Friend ReadOnly Property mgrSQLite_ErrorQueryFailure() As String + Get + Return ResourceManager.GetString("mgrSQLite_ErrorQueryFailure", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to An error occured exporting the XML data.[BR][BR][PARAM]. + ''' + Friend ReadOnly Property mgrXML_ErrorExportFailure() As String + Get + Return ResourceManager.GetString("mgrXML_ErrorExportFailure", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to The XML file cannot be read, it may be an invalid format or corrupted.[BR][BR][PARAM]. + ''' + Friend ReadOnly Property mgrXML_ErrorImportFailure() As String + Get + Return ResourceManager.GetString("mgrXML_ErrorImportFailure", resourceCulture) + End Get + End Property End Module End Namespace diff --git a/GBM/My Project/Resources.resx b/GBM/My Project/Resources.resx index e72d77e..29ff636 100644 --- a/GBM/My Project/Resources.resx +++ b/GBM/My Project/Resources.resx @@ -118,15 +118,216 @@ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - + ..\Resources\Admin.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - + + Game Backup Monitor[BR]Version: [PARAM] Beta ([PARAM])[BR]Build: [PARAM][BR][PARAM][BR][BR]This program comes with ABSOLUTELY NO WARRANTY.[BR]This is free software, and you are welcome to redistribute it under certain conditions.[BR][BR]See gpl-3.0.html in the program folder for details. + + + The local manifest is clean. + + + [PARAM] entry was removed from local manfiest. + + + [PARAM] entries were removed from the local manifest. + + + This tool removes orphaned backup information from the local manifest based on the current backup folder. Data can become orphaned when backups are deleted by various computers that share the same backup folder on a cloud or network.[BR][BR]When alternating between different backup folders you should NOT use this tool.[BR][BR]Do you wish to proceed? + + + This will rebuild all databases and shrink them to an optimal size.[BR]This should only be used if your gbm.s3db files are becoming very large.[BR][BR]Do you wish to continue? + + + 2015 Michael J. Seiferling + + + Are you sure you want to exit? Your games will no longer be monitored. + + + Local Database Vacuum Completed: [PARAM] KB + + + Local Database Vacuum Initialized: [PARAM] KB + + + Game Backup Monitor + + + GBM + + + Remote Database Vacuum Completed: [PARAM] KB + + + Remote Database Vacuum Initialized: [PARAM] KB + + ..\Resources\Clock.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - + ..\Resources\Detected.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + Backup in Progress... + + + Hide &Log + + + Show &Log + + + Choose icon for [PARAM] + + + Do you wish to backup data from [PARAM]? + + + Do you wish to cancel the monitoring of [PARAM]?[BR][BR]Warning: When monitoring is cancelled, session time is NOT saved. + + + Do you want to restart Game Backup Monitor as Administrator? + + + [PARAM] is a 64-bit game, GBM cannot detect the required information to save your backup. + + + 7-Zip was not found in the Game Backup Monitor utilities folder. The application cannot continue. + + + [PARAM] is running as Administrator and GBM is not, GBM cannot detect the required information to save your backup. + + + [PARAM] is running as Administrator and GBM is not.[BR]You cannot cancel monitoring at this time.[BR][BR]Run GBM as Administrator to prevent this issue. + + + Game Backup Monitor is already running as Administrator. + + + GBM is running from a new location, the Windows startup entry has been updated. + + + [PARAM] backup was cancelled. + + + [PARAM] backup was cancelled due to session length. + + + [PARAM] backup was cancelled due to unknown path. + + + The following monitored game(s) contain a custom path variable that is not set.[BR][PARAM][BR][BR]You will encounter backup/restore errors with these games until the variables are set. + + + Your local GBM data (Version [PARAM]) is too new for your version of GBM (Version [PARAM]).[BR][BR]Please upgrade GBM or restore the database file appropriate for your version. The application cannot proceed. + + + The GBM data (Version [PARAM]) in your backup folder is too new for your version of GBM (Version [PARAM])[BR][BR]All computers sharing a backup folder must use the same version of GBM. The application cannot proceed. + + + Multiple possible 64-bit games have been detected, GBM cannot detect the path to identify your game or save your backup.[BR][BR]Please install the 64-bit version of GBM to detect and backup this game properly. + + + Multiple possible games have been detected running as Administrator and GBM is not, GBM cannot detect the path to identify your game or save your backup.[BR][BR]Please run GBM as Administrator to properly detect and backup this game. + + + [PARAM] uses a relative path and has never been detected on this computer. + + + [PARAM] restore was cancelled due to a restore path issue. + + + An error occured creating application settings folder. The application cannot proceed.[BR][BR][PARAM] + + + [PARAM] (Executable Path) + + + [PARAM] Detected + + + [PARAM] has ended. + + + Game List ([PARAM]) Loaded. + + + Cancel &Monitoring + + + Start &Monitoring + + + Stop &Monitoring + + + Icon files (*.ico)|*.ico + + + Last Game: [PARAM] + + + A manaul backup of [PARAM] was triggered. + + + The master game list has been changed by a program other than GBM. + + + Monitoring of [PARAM] was cancelled. + + + [PARAM] monitoring ended. + + + Multiple Games + + + Multiple Games Detected + + + [PARAM] New Saves Pending + + + [PARAM] New Save Pending + + + Game details are unavailable. + + + No Game Detected + + + N/A + + + Not Scanning + + + Restore in progress... + + + GBM is running with Administrator privileges. + + + GBM is running with normal privileges. Click to restart as Administrator. + + + [PARAM] hours + + + [PARAM] minutes + + + the unidentified game + + + The unidentified game has ended. + + + Updated by [PARAM] on [PARAM] + ..\Resources\GBM_Tray_Detected.ico;System.Drawing.Icon, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a @@ -136,25 +337,1150 @@ ..\Resources\GBM_Tray_Stopped.ico;System.Drawing.Icon, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - + ..\Resources\Inbox.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - + ..\Resources\Ready.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - + ..\Resources\Searching.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - + ..\Resources\Stopped.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - + ..\Resources\Unknown.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - + ..\Resources\User.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - + ..\Resources\Working.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + &Cancel + + + &File + + + &Exit + + + &Settings... + + + &Help + + + &About Game Backup Monitor + + + &Check for Updates... + + + Online &Manual... + + + &Official Web Site... + + + &Setup + + + Add Game &Wizard... + + + Custom &Path Variables... + + + &Game Manager... + + + &Tags... + + + Monitor Status: + + + &Tools + + + Clea&n Local Manifest + + + &Compact Databases + + + Show / Hide + + + Last Action: + + + Click to toggle monitoring on or off. + + + There are unsaved changes on this form. Do you want to save? + + + [PARAM] KB + + + [PARAM] MB + + + [PARAM] by [PARAM] + + + + + + + ... + + + &Backup + + + &Cancel + + + C&lose + + + - + + + &Delete Backup + + + E&xclude Items... + + + &Export + + + ... + + + &Import + + + In&clude Items... + + + &Mark as Restored + + + &Open Backup File + + + O&pen Restore Path + + + ... + + + &Restore + + + &Save + + + ... + + + Tags... + + + Monitor this game + + + Save entire folder + + + Monitor only + + + Timestamp each backup + + + Choose a custom icon for the game + + + Choose exe file that starts the application + + + Choose the location of application's exe file: + + + Choose a location for the export file + + + Choose a valid xml file to import + + + Choose the saved game folder: + + + Are you sure you want to run a backup for [PARAM]? This will close the form. + + + 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]? + + + The backup folder [PARAM] still contains [PARAM] directories and [PARAM] files.[BR][BR]Do you want to delete the contents and remove the sub-folder for this game? + + + Are you sure you want to delete [PARAM]? This cannot be undone.[BR][BR]This will not delete any backup files that already exist for this game. + + + Do you want to mark [PARAM] as restored? This cannot be undone. + + + Are you sure you want to run a backup for [PARAM] games? This will close the form. + + + Are you sure you want to delete the [PARAM] selected games? This cannot be undone. + + + Do you want to mark [PARAM] games as restored? This cannot be undone. + + + Are you sure you want to restore the backups for [PARAM] games? This will close the form. + + + Are you sure you want to save the following changes to [PARAM] selected games?[BR][BR]Monitor this game: [PARAM][BR]Monitor only: [PARAM] + + + Would you like to choose games to import from the official list?[BR][BR]This requires an active internet connection. + + + Are you sure you want to restore the backup for [PARAM]? This will close the form. + + + [PARAM] is already up to date.[BR][BR]Would you like to restore this backup anyway? + + + A game with this exact name and process already exists. + + + The selected game(s) have no backup data. + + + The backup file does not exist. + + + You must choose items to include in the backup, or choose to save the entire folder. + + + The restore path does not exist. + + + [PARAM] uses a relative path and the game path has not been set. + + + You must enter a valid game name. + + + You must enter a valid process name. + + + Exclude + + + E&xclude + + + Executable + + + Game Manager + + + Icon + + + Include + + + In&clude + + + Items... + + + Items... ([PARAM]) + + + Company: + + + Current Backup: + + + Backup Size: + + + Game Path: + + + Hours: + + + Icon: + + + Local Backup: + + + Name: + + + Process: + + + Restore Path: + + + Save Path: + + + Version: + + + Never + + + All + + + Backups Only + + + Custom + + + New Saves Pending + + + Out of Sync + + + Up to Date! + + + XML + + + &File... + + + &Official List... + + + &Back + + + &Cancel + + + Choose items to e&xclude... + + + Choose items to in&clude... + + + &Next + + + &Finish + + + ... + + + ... + + + Save Entire Folder + + + Time Stamp Backup + + + Choose exe file that starts the game + + + Choose the game save folder: + + + [PARAM] has been saved.[BR][BR]Would you like to add tags for [PARAM]? + + + The path to the executable must be a full path. + + + The selected path must be a full path. + + + A game with this exact name and process already exists. + + + The file you selected is not an executable file. + + + This file is not a shorcut. + + + The selected executable file does not exist. + + + The folder you selected does not exist or is not a valid folder. + + + You must enter a valid game name. + + + You must select the game's executable file (.exe) to continue. + + + You must select the game's save file path to continue + + + You must choose items to include in the backup, or choose to save the entire folder. + + + An error occured working with the shortcut file.[BR][BR][PARAM] + + + Exclude + + + Executable + + + Add Game Wizard + + + Include + + + [PARAM] item(s) selected + + + 0 item(s) selected + + + Drag a shortcut here to complete this step. + + + Drag a shortcut here to complete this step. + + + Save Path + + + Saved Game Folder: + + + Save Path + + + Saved Game Folder: + + + The name will be automatically filtered for length and invalid characters. + + + Enter the name of the game to monitor: + + + Game Name + + + Some games use launchers. Do not monitor launchers, be sure to choose the game's actual exe file. + + + Choose the game's executable file or shortcut: + + + Process to Monitor + + + Choose any file types, specific files or folders you wish to include in the backup. If you're unsure, go back a step and choose to save the entire folder. + + + Choose Files to Backup + + + If you're unsure of exactly which files to backup, make sure Save Entire Folder is checked. You can also time stamp your backup files to make incremental backups. + + + Choose the location of your game's save files: + + + Game Backup Path + + + Choose any file types, specific files or folders you wish to exclude from the backup. You may choose multiple items to exclude. This step can be skipped. + + + Exclude Files or Folders + + + Verify your settings below and click Finish to save. + + + Summary of your Game + + + None + + + Absolute Path + + + Excluded Items + + + Folder Save + + + Included Items + + + Name + + + Process + + + Save Path + + + Timestamp + + + &Cancel + + + &Import + + + Import Game Configurations + + + [PARAM] new configurations available. + + + [PARAM] Selected + + + &Cancel + + + C&hoose Game + + + Choose Game + + + Please choose the game you were playing: + + + &Cancel + + + Search + + + The location was not found on the [PARAM] drive. Do you wish to search the [PARAM] drive? + + + > + + + &OK + + + < + + + Custom Filter + + + Company: + + + Current Filter + + + Name: + + + Process: + + + Available Tags + + + All Tags + + + And + + + Any Tag + + + Game Information + + + Or + + + Tag + + + > + + + &Close + + + Setup &Tags... + + + < + + + Edit Tags for Multiple Games + + + Edit Tags for [PARAM] + + + Current Tags + + + Available Tags + + + Choose the location of the saved game folder: + + + > + + + ... + + + &Cancel + + + Raw &Edit + + + < + + + &Save + + + Custom Item + + + An unexpected error occured while reading the file system:[BR][BR][PARAM] + + + [PARAM] Builder + + + [PARAM] Options + + + [PARAM] Items + + + Saved Game Explorer + + + File Types + + + Individual Files + + + Items are semi-colon delimited. + + + [PARAM] Raw Edit + + + Click here to set the saved game folder. + + + Set the saved game folder using the button above. + + + The saved game folder could not be determined or does not exist. + + + Saved Game Explorer + + + Options + + + Options + + + Configuration + + + Game Information + + + Games Filter + + + Backup Information + + + http://mikemaximus.github.io/gbm-web/GBM_Official.xml + + + http://mikemaximus.github.io/gbm-web/manual.html + + + https://github.com/MikeMaximus/gbm/releases + + + http://mikemaximus.github.io/gbm-web/ + + + Add Custom Item + + + Edit + + + Remove + + + Choose a backup folder: + + + ... + + + &Cancel + + + &Save + + + Disable backup confirmation + + + Verify backup files with a checksum + + + Create a sub-folder for each game + + + Start monitoring at launch + + + Show overwrite warning + + + Notify when there are new backup files to restore + + + Show detection notifications + + + Start to system tray + + + Start with Windows + + + Backup only when session time exceeds + + + Sync game list data with backup folder + + + Enable time tracking + + + The backup folder does not exist. Please choose a valid backup folder. + + + Settings + + + Backup and Restore + + + General + + + Paths + + + Backup Folder + + + minutes + + + Choose a backup folder: + + + &Back + + + Import from Official List + + + ... + + + &Next + + + &Finish + + + Game Manager + + + Add Game Wizard + + + Create a sub-folder for each game + + + Import any existing GBM data in the backup folder + + + Would you like to choose games to import from the official list?[BR][BR]This requires an active internet connection. + + + The selected path must be a full path. + + + You must select a backup path to continue. + + + The folder you selected does not exist or is not a valid folder. + + + Existing data was detected in the backup folder and has been imported. + + + GBM Setup + + + This guide will help you through some quick and easy steps to get started. + + + If you'd like to learn about advanced features or have any other questions before you get started, there is a detailed online manual available. + + + Welcome to GBM + + + GBM will store all your backup files along with a manifest database (gbm.s3db) in this location. + + + Choose where GBM saves your backup files: + + + Backup Location + + + Before you can start monitoring for games, they need to be configured so GBM knows what to look for and how to handle them. You can download pre-made configurations from the official list or add them all yourself using the tools below. You can also skip this step for now! + + + Monitoring Games + + + GBM will automatically monitor and backup your games each time they are closed. + + + Remember that GBM can only currently monitor one game at a time. + + + You can change anything you've setup in this wizard and find more settings and features by exploring the menus. Thanks! + + + Finished! + + + Game Backup Monitor Manual + + + + + + + &Cancel + + + C&lose + + + - + + + &Save + + + Are you sure you want to delete [PARAM]? This cannot be undone.[BR][BR]All games using this tag will have it removed. + + + A tag with this name already exists. + + + You must enter a valid tag name. + + + Tags + + + Configuration + + + Name: + + + + + + + &Cancel + + + C&lose + + + - + + + ... + + + &Save + + + Are you sure you want to delete [PARAM]? This cannot be undone. + + + You must enter a valid variable name. + + + You must enter a valid path. + + + A custom variable with this name already exists. + + + Custom Variable Manager + + + Configuration + + + Name: + + + Path: + + + Choose the path the variable represents: + + + Do you wish to manually set the game path? (Path will be saved) + + + [PARAM] backup completed + + + [PARAM] backup failed + + + [PARAM] backup completed. + + + Backup of [PARAM] in progress... + + + [PARAM] backup finished with warnings or errors. + + + The manifest shows the backup folder contains a backup for [PARAM] that has not been restored on this computer.[BR][BR]Do you want to overwrite this file anyway? + + + A file with the same name already exists in the backup folder.[BR][BR]Do you want to overwrite this file? + + + An error occured creating a file list: [PARAM] + + + Backup aborted. The backup file for [PARAM] may be unusable. + + + Backup aborted by user due to manifest conflict. + + + The manifest update for [PARAM] failed. + + + Backup aborted. The saved game path for [PARAM] does not exist. + + + An unexpected error occured during the backup of [PARAM].[BR][PARAM] + + + [PARAM] backup aborted by user due to overwrite. + + + Backup aborted. A failure occured while creating a backup sub-folder for [PARAM].[BR][PARAM] + + + Generating SHA-256 hash for [PARAM] backup file. + + + [PARAM] files (*.[PARAM])|*.[PARAM] + + + No + + + Yes + + + Would you like to apply a filter to your export? + + + GBM data already exists in the backup folder.[BR][BR]Do you want to make your local game list the new master game list in this folder? (Recommended)[BR][BR]Choosing No will sync your local game list to the current master game list in this folder. + + + Export Complete. [PARAM] item(s) have been exported. + + + The file:[BR][PARAM][BR]cannot be found. + + + Import Complete. + + + This list does not contain any new games to import. + + + [PARAM] change(s) synced. + + + A sync from the master game list has been triggered. + + + A sync to the master game list has been triggered. + + + There's no response from:[BR][PARAM][BR]Either the server is not responding or the URL is invalid. + + + Choose the game folder containing the executable. + + + The search failed to locate the path for [PARAM].[BR][BR]Do you wish to manually set the game path? (Path will be saved) + + + [PARAM][BR][BR]Do you wish to automatically search for the game path? (Path will be saved)" + + + The backup location [PARAM] is not available.[BR]It may be on an external or network drive that isn't connected.[BR][BR]Do you want to select another backup location and continue? + + + [PARAM][BR][BR]Do you wish to manually set the game path? (Path will be saved) + + + [PARAM] was located in the following folder:[BR][BR][PARAM][BR][BR]Is this correct? + + + [PARAM] backup restored + + + [PARAM] restore failed + + + The restore path [PARAM] does not exist.[BR][BR]Do you want to create the folder and continue?" + + + The backup file for [PARAM] has failed the file intergity check. It may be corrupted, not exist or been modified by another application.[BR][BR]Do you still want to restore this backup? (Not Recommended) + + + The restore path for [PARAM] does not match it's current save path.[BR][BR]Do you want to restore to the current save path instead? (Recommended)" + + + Restored aborted by user due to a failed file integrity check. + + + The restore path could not be created due to an unexpected error.[BR][PARAM] + + + The backup file for [PARAM] has failed the file integrity check. + + + Restore aborted. The saved games for [PARAM] may now be invalid. + + + Restore aborted. The backup file could not be found. + + + Restored aborted. The path [PARAM] does not exist. + + + An unexpected error occured during the restore process.[BR][PARAM] + + + [PARAM] has no stored checksum, verification has been skipped. + + + [PARAM] uses a relative path and has never been detected on this computer. + + + [PARAM] backup restored. + + + Restore to [PARAM] in progress... + + + [PARAM] restore finished with warnings or errors. + + + [PARAM] backup has been verified. + + + An error occured creating a backup of the database file at [PARAM][BR][BR][PARAM] + + + An error has occured attempting to create the local application database:[BR][BR][PARAM] + + + An error has occured attempting to create the remote application database:[BR][BR][PARAM] + + + An error has occured attempting run the query.[BR][BR][PARAM][BR][BR][PARAM] + + + An error occured exporting the XML data.[BR][BR][PARAM] + + + The XML file cannot be read, it may be an invalid format or corrupted.[BR][BR][PARAM] + \ No newline at end of file