From a2b81180b80d05ecb5ee2e0e7813c7916215737e Mon Sep 17 00:00:00 2001 From: DB p Date: Fri, 9 Dec 2022 07:05:30 +0900 Subject: [PATCH 1/3] Change Hardcoded Text to string --- Flow.Launcher/ViewModel/MainViewModel.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Flow.Launcher/ViewModel/MainViewModel.cs b/Flow.Launcher/ViewModel/MainViewModel.cs index 4db8e3df3b7..d1f8132da20 100644 --- a/Flow.Launcher/ViewModel/MainViewModel.cs +++ b/Flow.Launcher/ViewModel/MainViewModel.cs @@ -803,7 +803,7 @@ private Result ContextMenuTopMost(Result result) Action = _ => { _topMostRecord.AddOrUpdate(result); - App.API.ShowMsg("Success"); + App.API.ShowMsg(InternationalizationManager.Instance.GetTranslation("success")); return false; } }; From 649b55fae58ec5e3bad3b274b9cf18e27ac215c3 Mon Sep 17 00:00:00 2001 From: DB p Date: Fri, 9 Dec 2022 07:22:09 +0900 Subject: [PATCH 2/3] Changed Hardcoded Text in WelcomeWindow Title --- Flow.Launcher/WelcomeWindow.xaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Flow.Launcher/WelcomeWindow.xaml b/Flow.Launcher/WelcomeWindow.xaml index d797a623b01..41a6e934b4a 100644 --- a/Flow.Launcher/WelcomeWindow.xaml +++ b/Flow.Launcher/WelcomeWindow.xaml @@ -8,12 +8,12 @@ xmlns:ui="http://schemas.modernwpf.com/2019" Name="FlowWelcomeWindow" Title="Welcome to Flow Launcher" - Activated="OnActivated" Width="550" Height="650" - MouseDown="window_MouseDown" + Activated="OnActivated" Background="{DynamicResource Color00B}" Foreground="{DynamicResource PopupTextColor}" + MouseDown="window_MouseDown" WindowStartupLocation="CenterScreen" mc:Ignorable="d"> @@ -48,7 +48,7 @@ VerticalAlignment="Center" FontSize="12" Foreground="{DynamicResource Color05B}" - Text="Welcome to Flow Launcher" /> + Text="{DynamicResource Welcome_Page1_Title}" />