From 2dabc38a75b01c9a99799d6792bd63b57651eb4e Mon Sep 17 00:00:00 2001 From: DB p Date: Wed, 21 Dec 2022 19:06:00 +0900 Subject: [PATCH] - Change Default Context menu header to translatable - Add Undo Command and icons in context menu items - Applied Contextmenu to textboxes --- Flow.Launcher/Languages/en.xaml | 4 ++- .../Resources/CustomControlTemplate.xaml | 36 ++++++++++++++++++- Flow.Launcher/SettingWindow.xaml | 4 ++- .../Languages/ko.xaml | 4 +-- 4 files changed, 43 insertions(+), 5 deletions(-) diff --git a/Flow.Launcher/Languages/en.xaml b/Flow.Launcher/Languages/en.xaml index 3350a4499..550b73f85 100644 --- a/Flow.Launcher/Languages/en.xaml +++ b/Flow.Launcher/Languages/en.xaml @@ -18,6 +18,8 @@ Copy Cut Paste + Undo + Select All File Folder Text @@ -68,7 +70,7 @@ Search with Pinyin Allows using Pinyin to search. Pinyin is the standard system of romanized spelling for translating Chinese. Always Preview - Always open preview panel when Flow starts. Press F1 to toggle preview. + Always open preview panel when Flow starts. Press F1 to toggle preview. Shadow effect is not allowed while current theme has blur effect enabled diff --git a/Flow.Launcher/Resources/CustomControlTemplate.xaml b/Flow.Launcher/Resources/CustomControlTemplate.xaml index 451dc5344..1031ab32d 100644 --- a/Flow.Launcher/Resources/CustomControlTemplate.xaml +++ b/Flow.Launcher/Resources/CustomControlTemplate.xaml @@ -4,6 +4,30 @@ xmlns:system="clr-namespace:System;assembly=mscorlib" xmlns:ui="http://schemas.modernwpf.com/2019"> + + + + + + + + + + + + + + + + + + + + + + + + - + + + + diff --git a/Flow.Launcher/SettingWindow.xaml b/Flow.Launcher/SettingWindow.xaml index ebca70462..f10964fe0 100644 --- a/Flow.Launcher/SettingWindow.xaml +++ b/Flow.Launcher/SettingWindow.xaml @@ -3,9 +3,9 @@ xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:converters="clr-namespace:Flow.Launcher.Converters" + xmlns:core="clr-namespace:Flow.Launcher.Core.Resource;assembly=Flow.Launcher.Core" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:flowlauncher="clr-namespace:Flow.Launcher" - xmlns:core="clr-namespace:Flow.Launcher.Core.Resource;assembly=Flow.Launcher.Core" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:scm="clr-namespace:System.ComponentModel;assembly=WindowsBase" xmlns:sys="clr-namespace:System;assembly=mscorlib" @@ -1039,6 +1039,7 @@ Height="34" Margin="0,5,26,0" HorizontalAlignment="Right" + ContextMenu="{StaticResource TextBoxContextMenu}" DockPanel.Dock="Right" FontSize="14" KeyDown="PluginFilterTxb_OnKeyDown" @@ -1430,6 +1431,7 @@ Height="34" Margin="0,0,26,0" HorizontalAlignment="Right" + ContextMenu="{StaticResource TextBoxContextMenu}" DockPanel.Dock="Right" FontSize="14" KeyDown="PluginStoreFilterTxb_OnKeyDown" diff --git a/Plugins/Flow.Launcher.Plugin.Explorer/Languages/ko.xaml b/Plugins/Flow.Launcher.Plugin.Explorer/Languages/ko.xaml index b2f6c54c1..f2f7d3a4d 100644 --- a/Plugins/Flow.Launcher.Plugin.Explorer/Languages/ko.xaml +++ b/Plugins/Flow.Launcher.Plugin.Explorer/Languages/ko.xaml @@ -39,11 +39,11 @@ 검색: 경로 검색: 파일 내용 검색: - Index Search: + 색인 검색: 빠른 접근: 현재 액션 키워드 완료 - 활성 + 사용 When disabled Flow will not execute this search option, and will additionally revert back to '*' to free up the action keyword Everything 윈도우 색인