Rest wurde ins Deutsche übersetzt.

This commit is contained in:
ja
2021-11-08 14:23:59 +01:00
parent c151c371c7
commit 9485776b2b

View File

@@ -315,11 +315,11 @@ Partial Class CustomsAviso
Try Try
Absender = txt_Absender.Text Absender = txt_Absender.Text
Catch ex As FormatException Catch ex As FormatException
MsgBox("This data is not valid!", MsgBoxStyle.Critical) MsgBox("Diese Daten können nicht validiert werden", MsgBoxStyle.Critical)
End Try End Try
Else Else
regexval_txt_Absender.ForeColor = Drawing.Color.Red regexval_txt_Absender.ForeColor = Drawing.Color.Red
regexval_txt_Absender.ErrorMessage = "The sender is malformed. Plaese check the name." regexval_txt_Absender.ErrorMessage = "Der Absender ist nicht richtig formatiert."
End If End If
ElseIf txt_Empfaenger.Text IsNot "" Then ElseIf txt_Empfaenger.Text IsNot "" Then
txt_Empfaenger.ValidateRequestMode = UI.ValidateRequestMode.Enabled txt_Empfaenger.ValidateRequestMode = UI.ValidateRequestMode.Enabled
@@ -329,11 +329,11 @@ Partial Class CustomsAviso
Try Try
Empfaenger = txt_Empfaenger.Text Empfaenger = txt_Empfaenger.Text
Catch ex As FormatException Catch ex As FormatException
MsgBox("This data is not valid!", MsgBoxStyle.Critical) MsgBox("Diese Daten können nicht validiert werden", MsgBoxStyle.Critical)
End Try End Try
Else Else
regexval_txt_Empfaenger.ForeColor = Drawing.Color.Red regexval_txt_Empfaenger.ForeColor = Drawing.Color.Red
regexval_txt_Empfaenger.ErrorMessage = "The reciever is malformed. Plaese check the name." regexval_txt_Empfaenger.ErrorMessage = "Der Empfänger ist nicht richtig formatiert."
End If End If
ElseIf txt_KdNrAuftrag.Text IsNot "" Then ElseIf txt_KdNrAuftrag.Text IsNot "" Then
txt_KdNrAuftrag.ValidateRequestMode = UI.ValidateRequestMode.Enabled txt_KdNrAuftrag.ValidateRequestMode = UI.ValidateRequestMode.Enabled
@@ -343,11 +343,11 @@ Partial Class CustomsAviso
Try Try
KDNAFNR = txt_KdNrAuftrag.Text KDNAFNR = txt_KdNrAuftrag.Text
Catch ex As FormatException Catch ex As FormatException
MsgBox("This data is not valid!", MsgBoxStyle.Critical) MsgBox("Diese Daten können nicht validiert werden", MsgBoxStyle.Critical)
End Try End Try
Else Else
regexval_txt_KdNrAuftrag.ForeColor = Drawing.Color.Red regexval_txt_KdNrAuftrag.ForeColor = Drawing.Color.Red
regexval_txt_KdNrAuftrag.ErrorMessage = "The Customer Order ID is not right." regexval_txt_KdNrAuftrag.ErrorMessage = "Die Kundenummer ist nicht richtig formatiert."
End If End If
ElseIf txt_LKWNr.Text IsNot "" Then ElseIf txt_LKWNr.Text IsNot "" Then
txt_LKWNr.ValidateRequestMode = UI.ValidateRequestMode.Enabled txt_LKWNr.ValidateRequestMode = UI.ValidateRequestMode.Enabled
@@ -357,11 +357,11 @@ Partial Class CustomsAviso
Try Try
LKWNR = txt_LKWNr.Text LKWNR = txt_LKWNr.Text
Catch ex As FormatException Catch ex As FormatException
MsgBox("This data is not valid!", MsgBoxStyle.Critical) MsgBox("Diese Daten können nicht validiert werden", MsgBoxStyle.Critical)
End Try End Try
Else Else
regexval_txt_LKW.ForeColor = Drawing.Color.Red regexval_txt_LKW.ForeColor = Drawing.Color.Red
regexval_txt_LKW.ErrorMessage = "The truck License plate is malformed!" regexval_txt_LKW.ErrorMessage = "Das LKW Kennzeichen ist nicht richtig formatiert.!"
End If End If
ElseIf txt_Absender_M.Text IsNot "" Then ElseIf txt_Absender_M.Text IsNot "" Then
txt_Absender_M.ValidateRequestMode = UI.ValidateRequestMode.Enabled txt_Absender_M.ValidateRequestMode = UI.ValidateRequestMode.Enabled
@@ -371,11 +371,11 @@ Partial Class CustomsAviso
Try Try
Absender = txt_Absender_M.Text Absender = txt_Absender_M.Text
Catch ex As FormatException Catch ex As FormatException
MsgBox("This data is not valid!", MsgBoxStyle.Critical) MsgBox("Diese Daten können nicht validiert werden", MsgBoxStyle.Critical)
End Try End Try
Else Else
regval_txt_Absender_M.ForeColor = Drawing.Color.Red regval_txt_Absender_M.ForeColor = Drawing.Color.Red
regval_txt_Absender_M.ErrorMessage = "The sender is malformed. Plaese check the name." regval_txt_Absender_M.ErrorMessage = "The sender ist nicht richtig formatiert."
End If End If
ElseIf txt_Empfaenger_M.Text IsNot "" Then ElseIf txt_Empfaenger_M.Text IsNot "" Then
txt_Empfaenger_M.ValidateRequestMode = UI.ValidateRequestMode.Enabled txt_Empfaenger_M.ValidateRequestMode = UI.ValidateRequestMode.Enabled
@@ -385,11 +385,11 @@ Partial Class CustomsAviso
Try Try
Empfaenger = txt_Empfaenger_M.Text Empfaenger = txt_Empfaenger_M.Text
Catch ex As FormatException Catch ex As FormatException
MsgBox("This data is not valid!", MsgBoxStyle.Critical) MsgBox("Diese Daten können nicht validiert werden", MsgBoxStyle.Critical)
End Try End Try
Else Else
regval_txt_Empfaenger_M.ForeColor = Drawing.Color.Red regval_txt_Empfaenger_M.ForeColor = Drawing.Color.Red
regval_txt_Empfaenger_M.ErrorMessage = "The reciever is malformed. Plaese check the name." regval_txt_Empfaenger_M.ErrorMessage = "Der Empfänger ist nicht richtig formatiert."
End If End If
ElseIf txt_KdNrAuftrag_M.Text IsNot "" Then ElseIf txt_KdNrAuftrag_M.Text IsNot "" Then
txt_KdNrAuftrag_M.ValidateRequestMode = UI.ValidateRequestMode.Enabled txt_KdNrAuftrag_M.ValidateRequestMode = UI.ValidateRequestMode.Enabled
@@ -399,11 +399,11 @@ Partial Class CustomsAviso
Try Try
KDNAFNR = txt_KdNrAuftrag_M.Text KDNAFNR = txt_KdNrAuftrag_M.Text
Catch ex As FormatException Catch ex As FormatException
MsgBox("This data is not valid!", MsgBoxStyle.Critical) MsgBox("Diese Daten können nicht validiert werden", MsgBoxStyle.Critical)
End Try End Try
Else Else
regval_txt_KdNrAuftrag_M.ForeColor = Drawing.Color.Red regval_txt_KdNrAuftrag_M.ForeColor = Drawing.Color.Red
regval_txt_KdNrAuftrag_M.ErrorMessage = "The Customer Oder ID is malformed." regval_txt_KdNrAuftrag_M.ErrorMessage = "Die Kundennummer ist nicht richtig formatiert."
End If End If
ElseIf txt_LKWNr_M.Text IsNot "" Then ElseIf txt_LKWNr_M.Text IsNot "" Then
txt_LKWNr_M.ValidateRequestMode = UI.ValidateRequestMode.Enabled txt_LKWNr_M.ValidateRequestMode = UI.ValidateRequestMode.Enabled
@@ -413,12 +413,12 @@ Partial Class CustomsAviso
Try Try
LKWNR = txt_LKWNr_M.Text LKWNR = txt_LKWNr_M.Text
Catch ex As FormatException Catch ex As FormatException
MsgBox("This data is not valid!", MsgBoxStyle.Critical) MsgBox("Diese Daten können nicht validiert werden", MsgBoxStyle.Critical)
End Try End Try
End If End If
Else Else
regexval_txt_LKWNr_M.ForeColor = Drawing.Color.Red regexval_txt_LKWNr_M.ForeColor = Drawing.Color.Red
regexval_txt_LKWNr_M.ErrorMessage = "The LKW License plate is malformed!" regexval_txt_LKWNr_M.ErrorMessage = "Das LKW Kennzeichen ist nicht richtig formatiert!"
End If End If
If rbt_Alle.Checked = True Then If rbt_Alle.Checked = True Then
pickdate1.ValidateRequestMode = UI.ValidateRequestMode.Enabled pickdate1.ValidateRequestMode = UI.ValidateRequestMode.Enabled