diff --git a/src/BreCalClient/Resources/Resources.Designer.cs b/src/BreCalClient/Resources/Resources.Designer.cs index 7a002ab..fc437e3 100644 --- a/src/BreCalClient/Resources/Resources.Designer.cs +++ b/src/BreCalClient/Resources/Resources.Designer.cs @@ -596,6 +596,15 @@ namespace BreCalClient.Resources { } } + /// + /// Looks up a localized string similar to Draft. + /// + public static string textDraftNoUnit { + get { + return ResourceManager.GetString("textDraftNoUnit", resourceCulture); + } + } + /// /// Looks up a localized string similar to Edit. /// @@ -1064,6 +1073,15 @@ namespace BreCalClient.Resources { } } + /// + /// Looks up a localized string similar to Position. + /// + public static string textPosition { + get { + return ResourceManager.GetString("textPosition", resourceCulture); + } + } + /// /// Looks up a localized string similar to Rain sensitive cargo. /// diff --git a/src/BreCalClient/Resources/Resources.de.resx b/src/BreCalClient/Resources/Resources.de.resx index c28930b..89a8857 100644 --- a/src/BreCalClient/Resources/Resources.de.resx +++ b/src/BreCalClient/Resources/Resources.de.resx @@ -235,6 +235,9 @@ Tiefgang (m) + + Tiefgang + Bearbeiten diff --git a/src/BreCalClient/Resources/Resources.resx b/src/BreCalClient/Resources/Resources.resx index 0a0154d..0bd3666 100644 --- a/src/BreCalClient/Resources/Resources.resx +++ b/src/BreCalClient/Resources/Resources.resx @@ -604,4 +604,10 @@ No port assigned to this participant + + Position + + + Draft + \ No newline at end of file diff --git a/src/BreCalClient/ShipcallControl.xaml b/src/BreCalClient/ShipcallControl.xaml index cc55bdc..3bbd8b8 100644 --- a/src/BreCalClient/ShipcallControl.xaml +++ b/src/BreCalClient/ShipcallControl.xaml @@ -69,27 +69,26 @@ - + - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + diff --git a/src/BreCalClient/ShipcallControl.xaml.cs b/src/BreCalClient/ShipcallControl.xaml.cs index 7c115ab..ddc31dd 100644 --- a/src/BreCalClient/ShipcallControl.xaml.cs +++ b/src/BreCalClient/ShipcallControl.xaml.cs @@ -269,7 +269,7 @@ namespace BreCalClient this.imageEvaluation.ToolTip = null; this.textBlockBerth.Text = this.ShipcallControlModel?.GetBerthText(null); - this.textBlockDraft.Text = (this.ShipcallControlModel?.Shipcall?.Draft != null) ? this.ShipcallControlModel?.Shipcall?.Draft.Value.ToString("N1") : "-"; + this.textBlockDraft.Text = (this.ShipcallControlModel?.Shipcall?.Draft != null) ? $"{this.ShipcallControlModel?.Shipcall?.Draft.Value.ToString("N1")} m" : "-"; this.textBlockETA.Text = this.ShipcallControlModel?.GetETAETD(true); this.textBlockIMO.Text = this.ShipcallControlModel?.Ship?.Imo.ToString();