From 83a6be654d45cce7f610399220aea0672c5d13f5 Mon Sep 17 00:00:00 2001 From: DB p Date: Sat, 6 Nov 2021 20:36:47 +0900 Subject: [PATCH 1/6] Adjust Window Button Style --- .../UserSettings/Settings.cs | 10 +- Flow.Launcher/Languages/en.xaml | 57 +-- Flow.Launcher/SelectFileManagerWindow.xaml | 324 +++++++++--------- 3 files changed, 192 insertions(+), 199 deletions(-) diff --git a/Flow.Launcher.Infrastructure/UserSettings/Settings.cs b/Flow.Launcher.Infrastructure/UserSettings/Settings.cs index 48a764027..6c6a01f82 100644 --- a/Flow.Launcher.Infrastructure/UserSettings/Settings.cs +++ b/Flow.Launcher.Infrastructure/UserSettings/Settings.cs @@ -58,12 +58,16 @@ namespace Flow.Launcher.Infrastructure.UserSettings new() { Name = "Total Commander", - Path = @"C:\Program Files\TOTALCMD\totalcommander.exe" + Path = @"C:\Program Files\totalcmd\TOTALCMD64.exe", + FileArgument = "\"%d\"", + DirectoryArgument = "\"%d\"" }, new() { - Name = "Dopus", - Path = @"c:\programe files\dopus\dopus.exe" + Name = "Directory Opus", + Path = @"C:\Program Files\GPSoftware\Directory Opus\dopus.exe", + FileArgument = "\"%d\"", + DirectoryArgument = "\"%d\"" } }; diff --git a/Flow.Launcher/Languages/en.xaml b/Flow.Launcher/Languages/en.xaml index 260c69b04..47779cb1a 100644 --- a/Flow.Launcher/Languages/en.xaml +++ b/Flow.Launcher/Languages/en.xaml @@ -1,7 +1,8 @@ - - + + Failed to register hotkey: {0} Could not start {0} Invalid Flow Launcher plugin file format @@ -15,7 +16,7 @@ Exit Close - + Flow Launcher Settings General Portable Mode @@ -44,7 +45,7 @@ Allows using Pinyin to search. Pinyin is the standard system of romanized spelling for translating Chinese Shadow effect is not allowed while current theme has blur effect enabled - + Plugins Find more plugins On @@ -62,12 +63,12 @@ Query time: - + Plugin Store Refresh Install - + Theme Theme Gallery How to create a theme @@ -81,7 +82,7 @@ Theme Folder Open Theme Folder - + Hotkey Flow Launcher Hotkey Enter shortcut to show/hide Flow Launcher. @@ -102,7 +103,7 @@ Use Segoe Fluent Icons Use Segoe Fluent Icons for query results where supported - + HTTP Proxy Enable HTTP Proxy HTTP Server @@ -118,7 +119,7 @@ Proxy configured correctly Proxy connection failed - + About Website Version @@ -127,27 +128,27 @@ New version {0} is available, would you like to restart Flow Launcher to use the update? Check updates failed, please check your connection and proxy settings to api.github.com. - Download updates failed, please check your connection and proxy settings to github-cloud.s3.amazonaws.com, + Download updates failed, please check your connection and proxy settings to github-cloud.s3.amazonaws.com, or go to https://github.com/Flow-Launcher/Flow.Launcher/releases to download updates manually. Release Notes Usage Tips: - + Select File Manager - Please specify the file location of the file manager you using and add arguments (optional) if necessary. + Please specify the file location of the file manager you using and add arguments if necessary. The default arguments is "%d", and a path is entered at that location. For example, If a command is required such as "totalcmd.exe /A c:\windows", Argument is /A "%d". File Manager Profile Name - Path - Argument For Directory - Argument For File Parent Directory + File Manager Path + Argument For Folder + Arg For Folder Containing File - + Change Priority Greater the number, the higher the result will be ranked. Try setting it as 5. If you want the results to be lower than any other plugin's, provide a negative number Please provide an valid integer for Priority! - + Old Action Keyword New Action Keyword Cancel @@ -157,9 +158,9 @@ This new Action Keyword is already assigned to another plugin, please choose a different one Success Completed successfully - Enter the action keyword you need to start the plug-in. Use * if you don't want to specify an action keyword. In the case, The plug-in works without keywords. + Enter the action keyword you need to start the plug-in. Use * if you don't want to specify an action keyword. In the case, The plug-in works without keywords. - + Custom Query Hotkey Press the custom hotkey to automatically insert the specified query. Preview @@ -167,10 +168,10 @@ Invalid plugin hotkey Update - + Hotkey Unavailable - + Version Time Please tell us how application crashed so we can fix it @@ -186,16 +187,18 @@ Failed to send report Flow Launcher got an error - + Please wait... - + Checking for new update You already have the latest Flow Launcher version Update found Updating... - Flow Launcher was not able to move your user profile data to the new update version. - Please manually move your profile data folder from {0} to {1} + + Flow Launcher was not able to move your user profile data to the new update version. + Please manually move your profile data folder from {0} to {1} + New Update New Flow Launcher release {0} is now available An error occurred while trying to install software updates diff --git a/Flow.Launcher/SelectFileManagerWindow.xaml b/Flow.Launcher/SelectFileManagerWindow.xaml index 5c2521682..f2ea12b23 100644 --- a/Flow.Launcher/SelectFileManagerWindow.xaml +++ b/Flow.Launcher/SelectFileManagerWindow.xaml @@ -1,76 +1,93 @@ - + - + - + - + - - + + -