diff --git a/src/Atc.Wpf.Components/Atc.Wpf.Components.csproj b/src/Atc.Wpf.Components/Atc.Wpf.Components.csproj index 4e9995d8..22b1504b 100644 --- a/src/Atc.Wpf.Components/Atc.Wpf.Components.csproj +++ b/src/Atc.Wpf.Components/Atc.Wpf.Components.csproj @@ -57,4 +57,78 @@ + + + DualListSelector.resx + True + True + + + JsonViewer.resx + True + True + + + Miscellaneous.resx + True + True + + + TerminalViewer.resx + True + True + + + + + + Designer + PublicResXFileCodeGenerator + + + Designer + PublicResXFileCodeGenerator + + + DualListSelector.Designer.cs + PublicResXFileCodeGenerator + + + Designer + PublicResXFileCodeGenerator + + + Designer + PublicResXFileCodeGenerator + + + JsonViewer.Designer.cs + PublicResXFileCodeGenerator + + + Designer + PublicResXFileCodeGenerator + + + Designer + PublicResXFileCodeGenerator + + + Miscellaneous.Designer.cs + PublicResXFileCodeGenerator + + + Designer + PublicResXFileCodeGenerator + + + Designer + PublicResXFileCodeGenerator + + + TerminalViewer.Designer.cs + PublicResXFileCodeGenerator + + + \ No newline at end of file diff --git a/src/Atc.Wpf.Components/Dialogs/BasicApplicationSettingsDialogBox.xaml b/src/Atc.Wpf.Components/Dialogs/BasicApplicationSettingsDialogBox.xaml index 99b24bb0..d7213213 100644 --- a/src/Atc.Wpf.Components/Dialogs/BasicApplicationSettingsDialogBox.xaml +++ b/src/Atc.Wpf.Components/Dialogs/BasicApplicationSettingsDialogBox.xaml @@ -3,6 +3,7 @@ xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:atc="https://github.com/atc-net/atc-wpf/tree/main/schemas" + xmlns:atcTranslation="https://github.com/atc-net/atc-wpf/tree/main/schemas/translations" xmlns:atcValueConverters="https://github.com/atc-net/atc-wpf/tree/main/schemas/value-converters" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:dialogs="clr-namespace:Atc.Wpf.Theming.Themes.Dialogs;assembly=Atc.Wpf.Theming" @@ -51,7 +52,7 @@ Background="{DynamicResource AtcApps.Brushes.ThemeBackground}" Command="{Binding Path=OkCommand}" CommandParameter="{Binding ElementName=DialogApplicationSettings}" - Content="OK" + Content="{atcTranslation:Resx ResxName=Atc.Wpf.Resources.Word, Key=Ok}" Foreground="{DynamicResource AtcApps.Brushes.Text}" IsDefault="True" /> @@ -34,13 +34,13 @@ Height="16" Margin="1,1,0,0" Source="pack://application:,,,/Atc.Wpf.Components;component/Resources/Images/scrollrefresh.png" - ToolTip="{atcTranslation:Resx ResxName=Atc.Wpf.Controls.Resources.Miscellaneous, + ToolTip="{atcTranslation:Resx ResxName=Atc.Wpf.Resources.Word, Key=Auto}" /> @@ -78,7 +78,7 @@ Height="16" Margin="1,1,0,0" Source="pack://application:,,,/Atc.Wpf.Components;component/Resources/Images/error.png" - ToolTip="{atcTranslation:Resx ResxName=Atc.Wpf.Controls.Resources.Miscellaneous, + ToolTip="{atcTranslation:Resx ResxName=Atc.Wpf.Resources.Word, Key=Errors}" /> @@ -88,7 +88,7 @@ Height="16" Margin="1,1,0,0" Source="pack://application:,,,/Atc.Wpf.Components;component/Resources/Images/warning.png" - ToolTip="{atcTranslation:Resx ResxName=Atc.Wpf.Controls.Resources.Miscellaneous, + ToolTip="{atcTranslation:Resx ResxName=Atc.Wpf.Resources.Word, Key=Warnings}" /> @@ -98,7 +98,7 @@ Height="16" Margin="1,1,0,0" Source="pack://application:,,,/Atc.Wpf.Components;component/Resources/Images/information.png" - ToolTip="{atcTranslation:Resx ResxName=Atc.Wpf.Controls.Resources.Miscellaneous, + ToolTip="{atcTranslation:Resx ResxName=Atc.Wpf.Resources.Word, Key=Information}" /> @@ -115,7 +115,7 @@