From fbc9e12b8da743469b478039586d6239f57f6e0a Mon Sep 17 00:00:00 2001 From: Jonathan Horvath Date: Fri, 27 Jun 2025 17:52:20 -0400 Subject: [PATCH 01/12] Update more pages to use localization --- src/Core/Resources/Resources.resx | 24 +++++++++++++++++++ .../Views/Controls/FileTransferControl.xaml | 11 +++++---- .../Controls/SetCommunicationControl.xaml | 5 ++-- .../Views/Controls/SetReaderLedControl.xaml | 3 ++- 4 files changed, 35 insertions(+), 8 deletions(-) diff --git a/src/Core/Resources/Resources.resx b/src/Core/Resources/Resources.resx index 8a32b24..bd8b910 100644 --- a/src/Core/Resources/Resources.resx +++ b/src/Core/Resources/Resources.resx @@ -257,6 +257,30 @@ Device Action Header for device action section + + LED Color + Label for LED color selection + + + Selected File + Label for file selection in file transfer + + + Browse + Button text for file browser + + + Progress + Label for file transfer progress + + + Bytes/ + Text between transferred and total bytes + + + Bytes + Text for bytes unit + diff --git a/src/UI/Windows/Views/Controls/FileTransferControl.xaml b/src/UI/Windows/Views/Controls/FileTransferControl.xaml index 44a8ad0..0add7c5 100644 --- a/src/UI/Windows/Views/Controls/FileTransferControl.xaml +++ b/src/UI/Windows/Views/Controls/FileTransferControl.xaml @@ -5,6 +5,7 @@ xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:models="clr-namespace:OSDPBench.Core.Models;assembly=OSDPBench.Core" xmlns:converters="clr-namespace:OSDPBench.Windows.Converters" + xmlns:markup="clr-namespace:OSDPBench.Windows.Markup" d:DataContext="{d:DesignInstance models:FileTransferParameters, IsDesignTimeCreatable=false}" mc:Ignorable="d" @@ -29,10 +30,10 @@ -