Translate UI into English and french; Extend resources and outsource hardcoded String form codebase into resources.
This commit is contained in:
@@ -35,7 +35,7 @@ Public Class frmEnvelopeMainData
|
||||
Dim oTypes = EnvelopeTypeModel.List()
|
||||
|
||||
If oTypes.Count = 0 Then
|
||||
MsgBox("No templates in Database!", MsgBoxStyle.Exclamation, Text)
|
||||
MsgBox(Resources.Envelope.No_template, MsgBoxStyle.Exclamation, Text)
|
||||
Close()
|
||||
Exit Sub
|
||||
End If
|
||||
@@ -91,7 +91,7 @@ Public Class frmEnvelopeMainData
|
||||
cmbEmailToReceivers.SelectedIndex = Convert.ToInt32(Envelope.FinalEmailToReceivers)
|
||||
End If
|
||||
Catch ex As Exception
|
||||
MsgBox(ex.Message, MsgBoxStyle.Critical, "Unexpected Error loading form:")
|
||||
MsgBox(ex.Message, MsgBoxStyle.Critical, Resources.Envelope.Unexpected_Error)
|
||||
End Try
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user