Updated some text and validation on Add Game Wizard

This commit is contained in:
Michael J. Seiferling
2018-03-17 16:10:13 -06:00
parent 52f7088ed7
commit 4d83be9ef3
4 changed files with 10 additions and 7 deletions
+2 -3
View File
@@ -124,9 +124,8 @@ Partial Class frmAddWizard
Me.lblStep1Instructions.Name = "lblStep1Instructions" Me.lblStep1Instructions.Name = "lblStep1Instructions"
Me.lblStep1Instructions.Size = New System.Drawing.Size(303, 85) Me.lblStep1Instructions.Size = New System.Drawing.Size(303, 85)
Me.lblStep1Instructions.TabIndex = 6 Me.lblStep1Instructions.TabIndex = 6
Me.lblStep1Instructions.Text = "The name will be automatically filtered for length and invalid characters. You m" & Me.lblStep1Instructions.Text = "You may drag and drop a shortcut here to complete this step, only Windows shortcu" &
"ay drag and drop a shortcut here to complete this step, only Windows shortcuts a" & "ts are currently supported."
"re currently supported."
' '
'txtName 'txtName
' '
+4
View File
@@ -204,6 +204,8 @@ Public Class frmAddWizard
End Function End Function
Private Function ValidateProcessPath(ByVal strPath As String, ByRef sErrorMessage As String) As Boolean Private Function ValidateProcessPath(ByVal strPath As String, ByRef sErrorMessage As String) As Boolean
strPath = mgrPath.ValidatePathForOS(strPath)
If strPath.Trim = String.Empty Then If strPath.Trim = String.Empty Then
sErrorMessage = frmAddWizard_ErrorValidProcess sErrorMessage = frmAddWizard_ErrorValidProcess
txtProcessPath.Focus() txtProcessPath.Focus()
@@ -232,6 +234,8 @@ Public Class frmAddWizard
End Function End Function
Private Function ValidateSavePath(ByVal strPath As String, ByRef sErrorMessage As String) As Boolean Private Function ValidateSavePath(ByVal strPath As String, ByRef sErrorMessage As String) As Boolean
strPath = mgrPath.ValidatePathForOS(strPath)
If strPath.Trim = String.Empty Then If strPath.Trim = String.Empty Then
sErrorMessage = frmAddWizard_ErrorValidSavePath sErrorMessage = frmAddWizard_ErrorValidSavePath
txtSavePath.Focus() txtSavePath.Focus()
+2 -2
View File
@@ -529,7 +529,7 @@ Namespace My.Resources
End Property End Property
'''<summary> '''<summary>
''' Looks up a localized string similar to The name will be automatically filtered for length and invalid characters. You may drag and drop a shortcut here to complete this step, only Windows shortcuts are currently supported.. ''' Looks up a localized string similar to You may drag and drop a shortcut here to complete this step, only Windows shortcuts are currently supported..
'''</summary> '''</summary>
Friend ReadOnly Property frmAddWizard_lblStep1Instructions() As String Friend ReadOnly Property frmAddWizard_lblStep1Instructions() As String
Get Get
@@ -556,7 +556,7 @@ Namespace My.Resources
End Property End Property
'''<summary> '''<summary>
''' Looks up a localized string similar to Some games use launchers. Do not monitor launchers, be sure to choose the game&apos;s actual exe file. You may drag and drop a shortcut here to complete this step, only Windows shortcuts are currently supported.. ''' Looks up a localized string similar to Some games use launchers. Do not monitor launchers, be sure to choose the game&apos;s actual executable file. You may drag and drop a shortcut here to complete this step, only Windows shortcuts are currently supported..
'''</summary> '''</summary>
Friend ReadOnly Property frmAddWizard_lblStep2Instructions() As String Friend ReadOnly Property frmAddWizard_lblStep2Instructions() As String
Get Get
+2 -2
View File
@@ -773,7 +773,7 @@
<value>Saved Game Folder:</value> <value>Saved Game Folder:</value>
</data> </data>
<data name="frmAddWizard_lblStep1Instructions" xml:space="preserve"> <data name="frmAddWizard_lblStep1Instructions" xml:space="preserve">
<value>The name will be automatically filtered for length and invalid characters. You may drag and drop a shortcut here to complete this step, only Windows shortcuts are currently supported.</value> <value>You may drag and drop a shortcut here to complete this step, only Windows shortcuts are currently supported.</value>
</data> </data>
<data name="frmAddWizard_lblStep1Intro" xml:space="preserve"> <data name="frmAddWizard_lblStep1Intro" xml:space="preserve">
<value>Enter the name of the game to monitor:</value> <value>Enter the name of the game to monitor:</value>
@@ -782,7 +782,7 @@
<value>Game Name</value> <value>Game Name</value>
</data> </data>
<data name="frmAddWizard_lblStep2Instructions" xml:space="preserve"> <data name="frmAddWizard_lblStep2Instructions" xml:space="preserve">
<value>Some games use launchers. Do not monitor launchers, be sure to choose the game's actual exe file. You may drag and drop a shortcut here to complete this step, only Windows shortcuts are currently supported.</value> <value>Some games use launchers. Do not monitor launchers, be sure to choose the game's actual executable file. You may drag and drop a shortcut here to complete this step, only Windows shortcuts are currently supported.</value>
</data> </data>
<data name="frmAddWizard_lblStep2Intro" xml:space="preserve"> <data name="frmAddWizard_lblStep2Intro" xml:space="preserve">
<value>Choose the game's executable file or shortcut:</value> <value>Choose the game's executable file or shortcut:</value>