diff --git a/GBM/Forms/frmGameManager.vb b/GBM/Forms/frmGameManager.vb
index 9e8face..ee3297b 100644
--- a/GBM/Forms/frmGameManager.vb
+++ b/GBM/Forms/frmGameManager.vb
@@ -1215,7 +1215,7 @@ Public Class frmGameManager
Private Sub ImportOfficialGameList()
If mgrCommon.ShowMessage(frmGameManager_ConfirmOfficialImport, MsgBoxStyle.YesNo) = MsgBoxResult.Yes Then
- If mgrMonitorList.DoImport(mgrPath.OfficialImportURL) Then
+ If mgrMonitorList.DoImport(App_URLImport) Then
LoadData()
End If
End If
diff --git a/GBM/Forms/frmMain.vb b/GBM/Forms/frmMain.vb
index 00b25d9..6741918 100644
--- a/GBM/Forms/frmMain.vb
+++ b/GBM/Forms/frmMain.vb
@@ -628,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()
diff --git a/GBM/Forms/frmStartUpWizard.vb b/GBM/Forms/frmStartUpWizard.vb
index 5909625..82de3e7 100644
--- a/GBM/Forms/frmStartUpWizard.vb
+++ b/GBM/Forms/frmStartUpWizard.vb
@@ -99,7 +99,7 @@ Public Class frmStartUpWizard
Private Sub DownloadSettings()
If mgrCommon.ShowMessage(frmStartUpWizard_ConfirmOfficialImport, MsgBoxStyle.YesNo) = MsgBoxResult.Yes Then
- If mgrMonitorList.DoImport(mgrPath.OfficialImportURL) Then
+ If mgrMonitorList.DoImport(App_URLImport) Then
oGameData = mgrMonitorList.ReadList(mgrMonitorList.eListTypes.FullList)
If oSettings.Sync Then mgrMonitorList.SyncMonitorLists()
End If
diff --git a/GBM/Managers/mgrBackup.vb b/GBM/Managers/mgrBackup.vb
index 4b0fce0..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 mgrCommon.ShowMessage("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) = 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 mgrCommon.ShowMessage("A file with the same name already exists in the backup folder." & vbCrLf & vbCrLf & "Do you want to overwrite this file?", MsgBoxStyle.YesNo) = 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 4fb8112..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
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 ff56a00..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 mgrCommon.ShowMessage("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) = 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 mgrCommon.ShowMessage("Would you like to apply a filter to your export?", MsgBoxStyle.YesNo) = MsgBoxResult.Yes Then
+ If mgrCommon.ShowMessage(mgrMonitorList_ConfirmApplyFilter, MsgBoxStyle.YesNo) = MsgBoxResult.Yes Then
Dim frm As New frmFilter
frm.ShowDialog()
oTagFilters = frm.TagFilters
@@ -58,7 +57,7 @@ Public Class mgrMonitorList
bSuccess = mgrXML.SerializeAndExport(oList, sLocation)
If bSuccess Then
- mgrCommon.ShowMessage("Export Complete. " & oList.Count & " item(s) have been exported.", MsgBoxStyle.Information)
+ 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
@@ -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
- mgrCommon.ShowMessage("Import Complete.", MsgBoxStyle.Information)
+ mgrCommon.ShowMessage(mgrMonitorList_ImportComplete, MsgBoxStyle.Information)
End If
Else
- mgrCommon.ShowMessage("This list does not contain any new games to import.", MsgBoxStyle.Information)
+ mgrCommon.ShowMessage(mgrMonitorList_ImportNothing, MsgBoxStyle.Information)
End If
Application.DoEvents()
@@ -249,7 +248,7 @@ Public Class mgrMonitorList
ImportMonitorList(sPath, True)
Return True
Else
- mgrCommon.ShowMessage("There's no response from:" & vbCrLf & vbCrLf & sPath & vbCrLf & vbCrLf & "Either the server is not responding or the URL is invalid.", MsgBoxStyle.Exclamation)
+ mgrCommon.ShowMessage(mgrMonitorList_WebNoReponse, sPath, MsgBoxStyle.Exclamation)
Return False
End If
Else
@@ -257,7 +256,7 @@ Public Class mgrMonitorList
ImportMonitorList(sPath)
Return True
Else
- mgrCommon.ShowMessage("The file:" & vbCrLf & sPath & vbCrLf & "cannot be found.", MsgBoxStyle.Exclamation)
+ 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 c683071..65995ed 100644
--- a/GBM/Managers/mgrPath.vb
+++ b/GBM/Managers/mgrPath.vb
@@ -9,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 = App_URLWebsite
- Private Shared sOfficialImportURL As String = App_URLImport
- Private Shared sOfficialManualURL As String = App_URLManual
- Private Shared sOfficialUpdatesURL As String = App_URLUpdates
Private Shared sRemoteDatabaseLocation As String
Private Shared hshCustomVariables As Hashtable
Private Shared oReleaseType As ProcessorArchitecture = AssemblyName.GetAssemblyName(Application.ExecutablePath()).ProcessorArchitecture
@@ -77,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
@@ -326,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
@@ -346,7 +318,7 @@ 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 mgrCommon.ShowMessage(sMessage, MsgBoxStyle.YesNo) = MsgBoxResult.Yes Then
sFolder = SetManualgamePath()
@@ -355,15 +327,14 @@ Public Class mgrPath
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 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?"
+ sMessage = mgrCommon.FormatString(mgrPath_ConfirmPathCorrect, New String() {sGameName, sFolder})
If mgrCommon.ShowMessage(sMessage, MsgBoxStyle.YesNo) = MsgBoxResult.Yes Then
Return sFolder
Else
@@ -374,10 +345,9 @@ 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 mgrCommon.ShowMessage(sMessage, MsgBoxStyle.YesNo) = MsgBoxResult.Yes Then
@@ -392,9 +362,7 @@ Public Class mgrPath
Dim dBrowser As FolderBrowserDialog
If Not Directory.Exists(sBackupPath) Then
- If mgrCommon.ShowMessage("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) = 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 eaa460b..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,8 +32,7 @@ Public Class mgrRestore
Dim oResult As MsgBoxResult
If oCheckBackup.RestorePath <> oCheckGame.Path Then
- oResult = mgrCommon.ShowMessage("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)
+ oResult = mgrCommon.ShowMessage(mgrRestore_ConfirmPathMismatch, oCheckBackup.CroppedName, MsgBoxStyle.YesNoCancel)
If oResult = MsgBoxResult.Yes Then
If Path.IsPathRooted(oCheckGame.Path) Then
oCheckBackup.AbsolutePath = True
@@ -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 mgrCommon.ShowMessage("The restore path " & sExtractPath & " does not exist." & vbCrLf & vbCrLf & _
- "Do you want to create the folder and continue?", MsgBoxStyle.YesNo) = 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 mgrCommon.ShowMessage("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) = 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 87e2eac..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
- mgrCommon.ShowMessage("An error occured creating a backup of the database file at " & sNewFile & vbCrLf & vbCrLf & ex.Message, MsgBoxStyle.Exclamation)
+ 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
- mgrCommon.ShowMessage("An error has occured attempting to create the local application database: " & vbCrLf & vbCrLf & e.Message, MsgBoxStyle.Critical)
+ 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
- mgrCommon.ShowMessage("An error has occured attempting to create the remote application database: " & vbCrLf & vbCrLf & e.Message, MsgBoxStyle.Critical)
+ Catch ex As Exception
+ mgrCommon.ShowMessage(mgrSQLite_ErrorCreatingRemoteDB, ex.Message, MsgBoxStyle.Critical)
Return False
End Try
End Function
@@ -183,9 +184,9 @@ Public Class mgrSQLite
Try
command.ExecuteNonQuery()
trans.Commit()
- Catch e As Exception
+ Catch ex As Exception
trans.Rollback()
- mgrCommon.ShowMessage("An error has occured attempting run the query." & vbCrLf & vbCrLf & sSQL & vbCrLf & vbCrLf & e.Message, MsgBoxStyle.Exclamation)
+ 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()
- mgrCommon.ShowMessage("An error has occured attempting run the query." & vbCrLf & vbCrLf & sSQL & vbCrLf & vbCrLf & e.Message, MsgBoxStyle.Exclamation)
+ 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
- mgrCommon.ShowMessage("An error has occured attempting run the query." & vbCrLf & vbCrLf & sSQL & vbCrLf & vbCrLf & e.Message, MsgBoxStyle.Exclamation)
+ Catch ex As Exception
+ mgrCommon.ShowMessage(mgrSQLite_ErrorQueryFailure, New String() {sSQL, ex.Message}, MsgBoxStyle.Exclamation)
Finally
command.Dispose()
Disconnect()
@@ -523,8 +524,8 @@ Public Class mgrSQLite
Try
command.ExecuteNonQuery()
- Catch e As Exception
- mgrCommon.ShowMessage("An error has occured attempting run the query." & vbCrLf & vbCrLf & sSQL & vbCrLf & vbCrLf & e.Message, MsgBoxStyle.Exclamation)
+ 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 f7a3e6f..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
- mgrCommon.ShowMessage("The XML file cannot be read, it may be an invalid format or corrupted." & vbCrLf & vbCrLf & ex.Message, MsgBoxStyle.Exclamation)
+ mgrCommon.ShowMessage(mgrXML_ErrorImportFailure, ex.Message, MsgBoxStyle.Exclamation)
End Try
Return oList
@@ -78,7 +79,7 @@ Public Class mgrXML
oWriter.Close()
Return True
Catch ex As Exception
- mgrCommon.ShowMessage("An error occured exporting the XML data." & vbCrLf & vbCrLf & ex.Message, MsgBoxStyle.Exclamation)
+ mgrCommon.ShowMessage(mgrXML_ErrorExportFailure, ex.Message, MsgBoxStyle.Exclamation)
Return False
End Try
End Function
diff --git a/GBM/My Project/Resources.Designer.vb b/GBM/My Project/Resources.Designer.vb
index 8af2685..bd5a9c8 100644
--- a/GBM/My Project/Resources.Designer.vb
+++ b/GBM/My Project/Resources.Designer.vb
@@ -3627,5 +3627,545 @@ Namespace My.Resources
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 d82a91c..29ff636 100644
--- a/GBM/My Project/Resources.resx
+++ b/GBM/My Project/Resources.resx
@@ -1303,4 +1303,184 @@
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