Restricted backup import functionality for #150
This commit is contained in:
@@ -1938,7 +1938,11 @@ Public Class frmGameManager
|
|||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
Private Sub btnImportBackup_Click(sender As Object, e As EventArgs) Handles btnImportBackup.Click
|
Private Sub btnImportBackup_Click(sender As Object, e As EventArgs) Handles btnImportBackup.Click
|
||||||
|
If CurrentGame.AppendTimeStamp Then
|
||||||
TriggerSelectedImportBackup()
|
TriggerSelectedImportBackup()
|
||||||
|
Else
|
||||||
|
mgrCommon.ShowMessage(frmGameManager_WarningImportBackupSaveMulti, MsgBoxStyle.Information)
|
||||||
|
End If
|
||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
Private Sub chkFolderSave_CheckedChanged(sender As Object, e As EventArgs) Handles chkFolderSave.CheckedChanged
|
Private Sub chkFolderSave_CheckedChanged(sender As Object, e As EventArgs) Handles chkFolderSave.CheckedChanged
|
||||||
|
|||||||
Generated
+10
-1
@@ -2446,7 +2446,7 @@ Namespace My.Resources
|
|||||||
End Property
|
End Property
|
||||||
|
|
||||||
'''<summary>
|
'''<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..
|
''' 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 compatible archives created using the same settings as the current game configuration.[BR][BR]This message will only be shown once..
|
||||||
'''</summary>
|
'''</summary>
|
||||||
Friend ReadOnly Property frmGameManager_WarningImportBackup() As String
|
Friend ReadOnly Property frmGameManager_WarningImportBackup() As String
|
||||||
Get
|
Get
|
||||||
@@ -2454,6 +2454,15 @@ Namespace My.Resources
|
|||||||
End Get
|
End Get
|
||||||
End Property
|
End Property
|
||||||
|
|
||||||
|
'''<summary>
|
||||||
|
''' Looks up a localized string similar to The "Save multiple backups" option must be enabled on this configuration to import backup files..
|
||||||
|
'''</summary>
|
||||||
|
Friend ReadOnly Property frmGameManager_WarningImportBackupSaveMulti() As String
|
||||||
|
Get
|
||||||
|
Return ResourceManager.GetString("frmGameManager_WarningImportBackupSaveMulti", resourceCulture)
|
||||||
|
End Get
|
||||||
|
End Property
|
||||||
|
|
||||||
'''<summary>
|
'''<summary>
|
||||||
''' Looks up a localized string similar to XML.
|
''' Looks up a localized string similar to XML.
|
||||||
'''</summary>
|
'''</summary>
|
||||||
|
|||||||
@@ -2249,9 +2249,12 @@
|
|||||||
<value>Pro&cesses...</value>
|
<value>Pro&cesses...</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="frmGameManager_WarningImportBackup" xml:space="preserve">
|
<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>
|
<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 compatible archives created using the same settings as the current game configuration.[BR][BR]This message will only be shown once.</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="frmVariableManager_ErrorVariableReserved" xml:space="preserve">
|
<data name="frmVariableManager_ErrorVariableReserved" xml:space="preserve">
|
||||||
<value>[PARAM] is a reserved variable, you must enter a different name.</value>
|
<value>[PARAM] is a reserved variable, you must enter a different name.</value>
|
||||||
</data>
|
</data>
|
||||||
|
<data name="frmGameManager_WarningImportBackupSaveMulti" xml:space="preserve">
|
||||||
|
<value>The "Save multiple backups" option must be enabled on this configuration to import backup files.</value>
|
||||||
|
</data>
|
||||||
</root>
|
</root>
|
||||||
Reference in New Issue
Block a user