From ec65355473ba16ecd5a804a4255f9b624b62436c Mon Sep 17 00:00:00 2001 From: Daniel Schick Date: Mon, 22 Apr 2024 09:11:02 +0200 Subject: [PATCH] localized the shipcall type combobox selection --- src/BreCalClient/EditShipcallControl.xaml | 9 +-- src/BreCalClient/EditShipcallControl.xaml.cs | 20 ++++-- src/BreCalClient/EnumHelper.cs | 71 +++++++++++++++++++ src/BreCalClient/HistoryDialog.xaml.cs | 4 +- .../Resources/Resources.Designer.cs | 45 ++++++++++++ src/BreCalClient/Resources/Resources.de.resx | 15 ++++ src/BreCalClient/Resources/Resources.resx | 15 ++++ src/BreCalClient/SearchFilterControl.xaml | 6 +- src/BreCalClient/SearchFilterControl.xaml.cs | 19 +++-- src/BreCalClient/ShipListDialog.xaml | 2 +- 10 files changed, 187 insertions(+), 19 deletions(-) create mode 100644 src/BreCalClient/EnumHelper.cs diff --git a/src/BreCalClient/EditShipcallControl.xaml b/src/BreCalClient/EditShipcallControl.xaml index 101eeac..6ebe2cf 100644 --- a/src/BreCalClient/EditShipcallControl.xaml +++ b/src/BreCalClient/EditShipcallControl.xaml @@ -4,13 +4,14 @@ xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:local="clr-namespace:BreCalClient" - xmlns:p = "clr-namespace:BreCalClient.Resources" - xmlns:db="clr-namespace:BreCalClient;assembly=BreCalClient" + xmlns:p = "clr-namespace:BreCalClient.Resources" + xmlns:api="clr-namespace:BreCalClient.misc.Model" xmlns:xctk="http://schemas.xceed.com/wpf/xaml/toolkit" mc:Ignorable="d" Left="{local:SettingBinding W1Left}" Top="{local:SettingBinding W1Top}" Title="{x:Static p:Resources.textEditShipcall}" Height="270" Width="800" Loaded="Window_Loaded" ResizeMode="NoResize" Icon="Resources/containership.ico"> + @@ -45,8 +46,8 @@