From 2c0656142ab6bfae98d1c6348b0391b535a58049 Mon Sep 17 00:00:00 2001 From: Clint Rutkas Date: Wed, 11 Nov 2020 13:35:42 -0800 Subject: [PATCH] added in a few comments. pointed automatedname to static resource --- src/modules/imageresizer/ui/Properties/Resources.resx | 4 ++++ src/modules/imageresizer/ui/Views/MainWindow.xaml | 3 +-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/src/modules/imageresizer/ui/Properties/Resources.resx b/src/modules/imageresizer/ui/Properties/Resources.resx index 5b534e0a31..48d127c9f6 100644 --- a/src/modules/imageresizer/ui/Properties/Resources.resx +++ b/src/modules/imageresizer/ui/Properties/Resources.resx @@ -125,9 +125,11 @@ Delete + remove a file Encoding + encoding a file to a different format _Fallback encoder: @@ -137,6 +139,7 @@ File + as in file name _Filename: @@ -206,6 +209,7 @@ Image Resizer + Product name, do not loc (auto) diff --git a/src/modules/imageresizer/ui/Views/MainWindow.xaml b/src/modules/imageresizer/ui/Views/MainWindow.xaml index 0fd52c79f3..986c2a2543 100644 --- a/src/modules/imageresizer/ui/Views/MainWindow.xaml +++ b/src/modules/imageresizer/ui/Views/MainWindow.xaml @@ -16,8 +16,7 @@ ui:WindowHelper.UseModernWindowStyle="True" ui:TitleBar.IsIconVisible="True" ui:TitleBar.Background="{DynamicResource PrimaryBackgroundBrush}" - AutomationProperties.Name="Image Resizer" - > + AutomationProperties.Name="{x:Static p:Resources.ImageResizer}">