Added one-time warning for #150
This commit is contained in:
@@ -1553,6 +1553,13 @@ Public Class frmGameManager
|
||||
Dim sFile As String
|
||||
Dim sFiles As String()
|
||||
|
||||
'Show one time warning
|
||||
If Not (oSettings.SuppressMessages And mgrSettings.eSuppressMessages.BackupImport) = mgrSettings.eSuppressMessages.BackupImport Then
|
||||
mgrCommon.ShowMessage(frmGameManager_WarningImportBackup, MsgBoxStyle.Information)
|
||||
oSettings.SuppressMessages = oSettings.SetMessageField(oSettings.SuppressMessages, mgrSettings.eSuppressMessages.BackupImport)
|
||||
oSettings.SaveSettings()
|
||||
End If
|
||||
|
||||
ImportBackupList.Clear()
|
||||
|
||||
sFiles = mgrCommon.OpenMultiFileBrowser("GM_ImportBackup", frmGameManager_Choose7zImport, "7z",
|
||||
|
||||
@@ -30,6 +30,7 @@ Public Class mgrSettings
|
||||
<Flags()> Public Enum eSuppressMessages
|
||||
None = 0
|
||||
GameIDSync = 1
|
||||
BackupImport = 2
|
||||
End Enum
|
||||
|
||||
Property StartWithWindows As Boolean
|
||||
|
||||
Generated
+9
@@ -2445,6 +2445,15 @@ Namespace My.Resources
|
||||
End Get
|
||||
End Property
|
||||
|
||||
'''<summary>
|
||||
''' Looks up a localized string similar to This feature is intended to import 7-Zip backup archives compatible with the selected game configuration.[BR][BR]GBM does NOT verify these files, you should only use files created by GBM or other compatible archives that were created using the same settings as the current game configuration.[BR][BR]This message will only be shown once..
|
||||
'''</summary>
|
||||
Friend ReadOnly Property frmGameManager_WarningImportBackup() As String
|
||||
Get
|
||||
Return ResourceManager.GetString("frmGameManager_WarningImportBackup", resourceCulture)
|
||||
End Get
|
||||
End Property
|
||||
|
||||
'''<summary>
|
||||
''' Looks up a localized string similar to XML.
|
||||
'''</summary>
|
||||
|
||||
@@ -2248,4 +2248,7 @@
|
||||
<data name="frmGameManager_btnProcesses" xml:space="preserve">
|
||||
<value>Pro&cesses...</value>
|
||||
</data>
|
||||
<data name="frmGameManager_WarningImportBackup" xml:space="preserve">
|
||||
<value>This feature is intended to import 7-Zip backup archives compatible with the selected game configuration.[BR][BR]GBM does NOT verify these files, you should only use files created by GBM or other compatible archives that were created using the same settings as the current game configuration.[BR][BR]This message will only be shown once.</value>
|
||||
</data>
|
||||
</root>
|
||||
Reference in New Issue
Block a user