From 67027eb74b392380e588e00a1e801394bd6514bd Mon Sep 17 00:00:00 2001 From: Kevin Zhang Date: Tue, 17 Aug 2021 00:50:36 +0800 Subject: [PATCH 001/288] Allow JsonRPCPlugin.cs to have setting control --- Flow.Launcher.Core/Plugin/JsonPRCModel.cs | 2 +- Flow.Launcher.Core/Plugin/JsonRPCPlugin.cs | 130 ++++++++++++++++++++- Flow.Launcher.Core/Plugin/PythonPlugin.cs | 7 +- 3 files changed, 128 insertions(+), 11 deletions(-) diff --git a/Flow.Launcher.Core/Plugin/JsonPRCModel.cs b/Flow.Launcher.Core/Plugin/JsonPRCModel.cs index 5232e46da..3dcefc094 100644 --- a/Flow.Launcher.Core/Plugin/JsonPRCModel.cs +++ b/Flow.Launcher.Core/Plugin/JsonPRCModel.cs @@ -45,7 +45,7 @@ namespace Flow.Launcher.Core.Plugin public string DebugMessage { get; set; } } - + public class JsonRPCRequestModel { public string Method { get; set; } diff --git a/Flow.Launcher.Core/Plugin/JsonRPCPlugin.cs b/Flow.Launcher.Core/Plugin/JsonRPCPlugin.cs index 65977219d..d1bfaee21 100644 --- a/Flow.Launcher.Core/Plugin/JsonRPCPlugin.cs +++ b/Flow.Launcher.Core/Plugin/JsonRPCPlugin.cs @@ -1,4 +1,6 @@ -using Flow.Launcher.Core.Resource; +using Accessibility; +using Flow.Launcher.Core.Resource; +using Flow.Launcher.Infrastructure; using System; using System.Collections.Generic; using System.Diagnostics; @@ -8,12 +10,22 @@ using System.Reflection; using System.Text.Json; using System.Threading; using System.Threading.Tasks; -using System.Windows.Forms; using Flow.Launcher.Infrastructure.Logger; +using Flow.Launcher.Infrastructure.UserSettings; using Flow.Launcher.Plugin; using ICSharpCode.SharpZipLib.Zip; using JetBrains.Annotations; using Microsoft.IO; +using System.Text.Json.Serialization; +using System.Windows; +using System.Windows.Controls; +using System.Windows.Forms; +using CheckBox = System.Windows.Controls.CheckBox; +using Control = System.Windows.Controls.Control; +using Label = System.Windows.Controls.Label; +using Orientation = System.Windows.Controls.Orientation; +using TextBox = System.Windows.Controls.TextBox; +using UserControl = System.Windows.Controls.UserControl; namespace Flow.Launcher.Core.Plugin { @@ -21,7 +33,7 @@ namespace Flow.Launcher.Core.Plugin /// Represent the plugin that using JsonPRC /// every JsonRPC plugin should has its own plugin instance /// - internal abstract class JsonRPCPlugin : IAsyncPlugin, IContextMenu + internal abstract class JsonRPCPlugin : IAsyncPlugin, IContextMenu, ISettingProvider, ISavable { protected PluginInitContext context; public const string JsonRPC = "JsonRPC"; @@ -35,6 +47,8 @@ namespace Flow.Launcher.Core.Plugin private static readonly RecyclableMemoryStreamManager BufferManager = new(); + private string SettingPath => Path.Combine(DataLocation.PluginSettingsDirectory, context.CurrentPluginMetadata.Name, "Setting.json"); + public List LoadContextMenus(Result selectedResult) { var request = new JsonRPCRequestModel @@ -58,6 +72,7 @@ namespace Flow.Launcher.Core.Plugin new JsonObjectConverter() } }; + private Dictionary Settings { get; set; } private async Task> DeserializedResultAsync(Stream output) { @@ -292,10 +307,115 @@ namespace Flow.Launcher.Core.Plugin return await DeserializedResultAsync(output); } - public virtual Task InitAsync(PluginInitContext context) + public async Task InitSettingAsync() + { + if (File.Exists(SettingPath)) + Settings = await JsonSerializer.DeserializeAsync>(File.OpenRead(SettingPath), options); + + var request = new JsonRPCRequestModel() + { + Method = "get_setting_template" + }; + await using var result = await RequestAsync(request); + if (result.Length == 0) + return; + var settingsTemplate = await JsonSerializer.DeserializeAsync>(result, options) ?? + new(); + + Settings ??= new(); + + foreach (var (key, element) in settingsTemplate) + { + if (!Settings.ContainsKey(key)) + { + Settings[key] = element.ValueKind switch + { + JsonValueKind.True or JsonValueKind.False => element.GetBoolean(), + JsonValueKind.String or JsonValueKind.Number => element.GetString(), + JsonValueKind.Null => throw new ArgumentNullException(), + _ => throw new ArgumentOutOfRangeException() + }; + } + } + } + + public virtual async Task InitAsync(PluginInitContext context) { this.context = context; - return Task.CompletedTask; + await InitSettingAsync(); + } + private static Thickness settingControlMargin = new(10); + public Control CreateSettingPanel() + { + if (Settings == null) + return new(); + var settingWindow = new UserControl(); + var mainPanel = new StackPanel + { + Margin = settingControlMargin, + Orientation = Orientation.Vertical + }; + settingWindow.Content = mainPanel; + foreach (var (key, value) in Settings) + { + var panel = new StackPanel + { + Orientation = Orientation.Horizontal, + Margin = settingControlMargin + }; + var name = new Label + { + Content = key, + VerticalAlignment = VerticalAlignment.Center + }; + UIElement content = null; + switch (value) + { + case int i: + case double d: + throw new TypeAccessException(); + case string s: + var textBox = new TextBox + { + Text = s, + Margin = settingControlMargin, + VerticalAlignment = VerticalAlignment.Center + }; + textBox.TextChanged += (_, _) => + { + Settings[key] = textBox.Text; + }; + content = textBox; + break; + case bool b: + var checkBox = new CheckBox + { + IsChecked = b, + Margin = settingControlMargin, + VerticalAlignment = VerticalAlignment.Center + }; + checkBox.Click += (_, _) => + { + Settings[key] = checkBox.IsChecked; + }; + content = checkBox; + break; + default: + throw new ArgumentOutOfRangeException(); + } + panel.Children.Add(name); + panel.Children.Add(content); + mainPanel.Children.Add(panel); + } + return settingWindow; + } + public void Save() + { + if (Settings != null) + { + Helper.ValidateDirectory(Path.Combine(DataLocation.PluginSettingsDirectory, context.CurrentPluginMetadata.Name)); + File.WriteAllText(SettingPath, JsonSerializer.Serialize(Settings)); + } } } } \ No newline at end of file diff --git a/Flow.Launcher.Core/Plugin/PythonPlugin.cs b/Flow.Launcher.Core/Plugin/PythonPlugin.cs index 5711ed6aa..968c0ab23 100644 --- a/Flow.Launcher.Core/Plugin/PythonPlugin.cs +++ b/Flow.Launcher.Core/Plugin/PythonPlugin.cs @@ -46,15 +46,12 @@ namespace Flow.Launcher.Core.Plugin // TODO: Async Action return Execute(_startInfo); } - public override Task InitAsync(PluginInitContext context) + public override async Task InitAsync(PluginInitContext context) { - this.context = context; _startInfo.ArgumentList.Add(context.CurrentPluginMetadata.ExecuteFilePath); _startInfo.ArgumentList.Add(""); - + await base.InitAsync(context); _startInfo.WorkingDirectory = context.CurrentPluginMetadata.PluginDirectory; - - return Task.CompletedTask; } } } \ No newline at end of file From 42e0b366c0eff6874dd72f1a0a39a60373d66182 Mon Sep 17 00:00:00 2001 From: Jeremy Date: Mon, 27 Sep 2021 20:57:59 +1000 Subject: [PATCH 002/288] version bump --- Flow.Launcher.Plugin/Flow.Launcher.Plugin.csproj | 8 ++++---- appveyor.yml | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Flow.Launcher.Plugin/Flow.Launcher.Plugin.csproj b/Flow.Launcher.Plugin/Flow.Launcher.Plugin.csproj index 67c76d006..564fef4b5 100644 --- a/Flow.Launcher.Plugin/Flow.Launcher.Plugin.csproj +++ b/Flow.Launcher.Plugin/Flow.Launcher.Plugin.csproj @@ -14,10 +14,10 @@ - 2.0.0 - 2.0.0 - 2.0.0 - 2.0.0 + 2.1.0 + 2.1.0 + 2.1.0 + 2.1.0 Flow.Launcher.Plugin Flow-Launcher MIT diff --git a/appveyor.yml b/appveyor.yml index b45b40186..8c4be2d84 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -1,4 +1,4 @@ -version: '1.8.3.{build}' +version: '1.9.0.{build}' init: - ps: | From 054d1650e64f809078eede5cd14ec9338e18eeae Mon Sep 17 00:00:00 2001 From: Kevin Zhang Date: Sat, 30 Oct 2021 13:46:57 -0500 Subject: [PATCH 003/288] Use Yaml as configuration file --- .../Plugin/JsonRPCConfigurationModel.cs | 42 +++++ Flow.Launcher.Core/Plugin/JsonRPCPlugin.cs | 173 ++++++++++++------ 2 files changed, 164 insertions(+), 51 deletions(-) create mode 100644 Flow.Launcher.Core/Plugin/JsonRPCConfigurationModel.cs diff --git a/Flow.Launcher.Core/Plugin/JsonRPCConfigurationModel.cs b/Flow.Launcher.Core/Plugin/JsonRPCConfigurationModel.cs new file mode 100644 index 000000000..7eb5ab9c3 --- /dev/null +++ b/Flow.Launcher.Core/Plugin/JsonRPCConfigurationModel.cs @@ -0,0 +1,42 @@ +using System.Collections.Generic; + +namespace Flow.Launcher.Core.Plugin +{ + public class JsonRpcConfigurationModel + { + public List Body { get; set; } + public void Deconstruct(out List Body) + { + Body = this.Body; + } + } + + public class SettingField + { + public string Type { get; set; } + public FieldAttributes Attributes { get; set; } + public void Deconstruct(out string Type, out FieldAttributes attributes) + { + Type = this.Type; + attributes = this.Attributes; + } + } + public class FieldAttributes + { + public string Name { get; set; } + public string Label { get; set; } + public string Description { get; set; } + public bool Validation { get; set; } + public List Options { get; set; } + public string DefaultValue { get; set; } + public void Deconstruct(out string Name, out string Label, out string Description, out bool Validation, out List Options, out string DefaultValue) + { + Name = this.Name; + Label = this.Label; + Description = this.Description; + Validation = this.Validation; + Options = this.Options; + DefaultValue = this.DefaultValue; + } + } +} \ No newline at end of file diff --git a/Flow.Launcher.Core/Plugin/JsonRPCPlugin.cs b/Flow.Launcher.Core/Plugin/JsonRPCPlugin.cs index d1bfaee21..ce5e8ed7f 100644 --- a/Flow.Launcher.Core/Plugin/JsonRPCPlugin.cs +++ b/Flow.Launcher.Core/Plugin/JsonRPCPlugin.cs @@ -19,7 +19,8 @@ using Microsoft.IO; using System.Text.Json.Serialization; using System.Windows; using System.Windows.Controls; -using System.Windows.Forms; +using YamlDotNet.Serialization; +using YamlDotNet.Serialization.NamingConventions; using CheckBox = System.Windows.Controls.CheckBox; using Control = System.Windows.Controls.Control; using Label = System.Windows.Controls.Label; @@ -47,6 +48,7 @@ namespace Flow.Launcher.Core.Plugin private static readonly RecyclableMemoryStreamManager BufferManager = new(); + private string SettingConfigurationPath => Path.Combine(context.CurrentPluginMetadata.PluginDirectory, "SettingConfiguration.yaml"); private string SettingPath => Path.Combine(DataLocation.PluginSettingsDirectory, context.CurrentPluginMetadata.Name, "Setting.json"); public List LoadContextMenus(Result selectedResult) @@ -309,32 +311,22 @@ namespace Flow.Launcher.Core.Plugin public async Task InitSettingAsync() { + if (!File.Exists(SettingConfigurationPath)) + return; + if (File.Exists(SettingPath)) Settings = await JsonSerializer.DeserializeAsync>(File.OpenRead(SettingPath), options); - var request = new JsonRPCRequestModel() - { - Method = "get_setting_template" - }; - await using var result = await RequestAsync(request); - if (result.Length == 0) - return; - var settingsTemplate = await JsonSerializer.DeserializeAsync>(result, options) ?? - new(); + var deserializer = new DeserializerBuilder().WithNamingConvention(CamelCaseNamingConvention.Instance).Build(); + _settingsTemplate = deserializer.Deserialize(await File.ReadAllTextAsync(SettingConfigurationPath)); - Settings ??= new(); + Settings ??= new Dictionary(); - foreach (var (key, element) in settingsTemplate) + foreach (var (type, attribute) in _settingsTemplate.Body) { - if (!Settings.ContainsKey(key)) + if (!Settings.ContainsKey(attribute.Name)) { - Settings[key] = element.ValueKind switch - { - JsonValueKind.True or JsonValueKind.False => element.GetBoolean(), - JsonValueKind.String or JsonValueKind.Number => element.GetString(), - JsonValueKind.Null => throw new ArgumentNullException(), - _ => throw new ArgumentOutOfRangeException() - }; + Settings[attribute.Name] = attribute.DefaultValue; } } } @@ -344,7 +336,8 @@ namespace Flow.Launcher.Core.Plugin this.context = context; await InitSettingAsync(); } - private static Thickness settingControlMargin = new(10); + private static readonly Thickness settingControlMargin = new(10); + private JsonRpcConfigurationModel _settingsTemplate; public Control CreateSettingPanel() { if (Settings == null) @@ -352,61 +345,139 @@ namespace Flow.Launcher.Core.Plugin var settingWindow = new UserControl(); var mainPanel = new StackPanel { - Margin = settingControlMargin, - Orientation = Orientation.Vertical + Margin = settingControlMargin, Orientation = Orientation.Vertical }; settingWindow.Content = mainPanel; - foreach (var (key, value) in Settings) + + foreach (var (type, attribute) in _settingsTemplate.Body) { var panel = new StackPanel { Orientation = Orientation.Horizontal, Margin = settingControlMargin }; - var name = new Label + var name = new Label() { - Content = key, - VerticalAlignment = VerticalAlignment.Center + Content = attribute.Label, + Margin = settingControlMargin }; - UIElement content = null; - switch (value) + + Control contentControl; + + switch (type) { - case int i: - case double d: - throw new TypeAccessException(); - case string s: - var textBox = new TextBox + case "Input": { - Text = s, - Margin = settingControlMargin, - VerticalAlignment = VerticalAlignment.Center - }; - textBox.TextChanged += (_, _) => + var textBox = new TextBox() + { + Width = 300, Text = Settings[attribute.Name] as string ?? string.Empty, + Margin = settingControlMargin + }; + textBox.TextChanged += (_, _) => + { + Settings[attribute.Name] = textBox.Text; + }; + contentControl = textBox; + break; + } + case "textarea": { - Settings[key] = textBox.Text; - }; - content = textBox; - break; - case bool b: + var textBox = new TextBox() + { + Width = 300, + Height = 100, + Margin = settingControlMargin, + TextWrapping = TextWrapping.WrapWithOverflow, + Text = Settings[attribute.Name] as string ?? string.Empty + }; + textBox.TextChanged += (sender, _) => + { + Settings[attribute.Name] = ((TextBox)sender).Text; + }; + contentControl = textBox; + break; + } + case "dropdown": + { + var comboBox = new ComboBox() + { + ItemsSource = attribute.Options, SelectedItem = Settings[attribute.Name], + Margin = settingControlMargin + }; + comboBox.SelectionChanged += (sender, _) => + { + Settings[attribute.Name] = (string)((ComboBox)sender).SelectedItem; + }; + contentControl = comboBox; + break; + } + case "checkbox": var checkBox = new CheckBox { - IsChecked = b, - Margin = settingControlMargin, - VerticalAlignment = VerticalAlignment.Center + IsChecked = Settings[attribute.Name] is bool isChecked ? isChecked : bool.Parse(attribute.DefaultValue), + Margin = settingControlMargin }; checkBox.Click += (_, _) => { - Settings[key] = checkBox.IsChecked; + Settings[attribute.Name] = !((bool)Settings[attribute.Name]); }; - content = checkBox; + contentControl = checkBox; break; default: - throw new ArgumentOutOfRangeException(); + continue; } panel.Children.Add(name); - panel.Children.Add(content); + panel.Children.Add(contentControl); mainPanel.Children.Add(panel); } + + // foreach (var (key, value) in Settings) + // { + // var panel = new StackPanel + // { + // Orientation = Orientation.Horizontal, Margin = settingControlMargin + // }; + // var name = new Label + // { + // Content = key, VerticalAlignment = VerticalAlignment.Center + // }; + // UIElement content = null; + // switch (value) + // { + // case int i: + // case double d: + // throw new TypeAccessException(); + // case string s: + // var textBox = new TextBox + // { + // Text = s, + // Margin = settingControlMargin, + // VerticalAlignment = VerticalAlignment.Center + // }; + // textBox.TextChanged += (_, _) => + // { + // Settings[key] = textBox.Text; + // }; + // content = textBox; + // break; + // case bool b: + // var checkBox = new CheckBox + // { + // IsChecked = b, + // Margin = settingControlMargin, + // VerticalAlignment = VerticalAlignment.Center + // }; + // checkBox.Click += (_, _) => + // { + // Settings[key] = checkBox.IsChecked; + // }; + // content = checkBox; + // break; + // default: + // throw new ArgumentOutOfRangeException(); + // } + // + // } return settingWindow; } public void Save() From 9cd3f90ec43353b2f60becf98889f056bc65b132 Mon Sep 17 00:00:00 2001 From: Kevin Zhang Date: Sat, 30 Oct 2021 16:17:33 -0500 Subject: [PATCH 004/288] Change some configuration and refactor code --- Flow.Launcher.Core/Plugin/JsonRPCPlugin.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Flow.Launcher.Core/Plugin/JsonRPCPlugin.cs b/Flow.Launcher.Core/Plugin/JsonRPCPlugin.cs index ce5e8ed7f..358f2956f 100644 --- a/Flow.Launcher.Core/Plugin/JsonRPCPlugin.cs +++ b/Flow.Launcher.Core/Plugin/JsonRPCPlugin.cs @@ -48,8 +48,8 @@ namespace Flow.Launcher.Core.Plugin private static readonly RecyclableMemoryStreamManager BufferManager = new(); - private string SettingConfigurationPath => Path.Combine(context.CurrentPluginMetadata.PluginDirectory, "SettingConfiguration.yaml"); - private string SettingPath => Path.Combine(DataLocation.PluginSettingsDirectory, context.CurrentPluginMetadata.Name, "Setting.json"); + private string SettingConfigurationPath => Path.Combine(context.CurrentPluginMetadata.PluginDirectory, "SettingsTemplate.yaml"); + private string SettingPath => Path.Combine(DataLocation.PluginSettingsDirectory, context.CurrentPluginMetadata.Name, "Settings.json"); public List LoadContextMenus(Result selectedResult) { @@ -417,9 +417,9 @@ namespace Flow.Launcher.Core.Plugin IsChecked = Settings[attribute.Name] is bool isChecked ? isChecked : bool.Parse(attribute.DefaultValue), Margin = settingControlMargin }; - checkBox.Click += (_, _) => + checkBox.Click += (sender, _) => { - Settings[attribute.Name] = !((bool)Settings[attribute.Name]); + Settings[attribute.Name] = ((CheckBox) sender).IsChecked; }; contentControl = checkBox; break; From 78af09acff7d4745de5c84baaadc4a36ccd4dfb3 Mon Sep 17 00:00:00 2001 From: DB p Date: Mon, 8 Nov 2021 11:11:25 +0900 Subject: [PATCH 005/288] Add Browser Item Area --- Flow.Launcher/SettingWindow.xaml | 41 ++++++++++++++++++++++++++++---- 1 file changed, 37 insertions(+), 4 deletions(-) diff --git a/Flow.Launcher/SettingWindow.xaml b/Flow.Launcher/SettingWindow.xaml index c567812f8..fa2bb1acc 100644 --- a/Flow.Launcher/SettingWindow.xaml +++ b/Flow.Launcher/SettingWindow.xaml @@ -681,10 +681,7 @@ - + + +  + + + + + + + + + + + + Date: Mon, 8 Nov 2021 18:40:20 +0900 Subject: [PATCH 006/288] Add Browser Setting Popup --- Flow.Launcher/Languages/en.xaml | 12 ++ Flow.Launcher/SelectBrowserWindow.xaml | 214 ++++++++++++++++++++++ Flow.Launcher/SelectBrowserWindow.xaml.cs | 45 +++++ Flow.Launcher/SettingWindow.xaml | 143 ++++++++------- Flow.Launcher/SettingWindow.xaml.cs | 6 + 5 files changed, 349 insertions(+), 71 deletions(-) create mode 100644 Flow.Launcher/SelectBrowserWindow.xaml create mode 100644 Flow.Launcher/SelectBrowserWindow.xaml.cs diff --git a/Flow.Launcher/Languages/en.xaml b/Flow.Launcher/Languages/en.xaml index 289aec337..6c3fbe777 100644 --- a/Flow.Launcher/Languages/en.xaml +++ b/Flow.Launcher/Languages/en.xaml @@ -36,6 +36,8 @@ Disable Flow Launcher activation when a full screen application is active (Recommended for games). Default File Manager Select the file manager to use when opening the folder. + Default Web Browser + Setting for New Tab, New Window, Private Mode. Python Directory Auto Update Select @@ -145,6 +147,16 @@ Arguments For Folder Arguments For File + + Default Web Browser + The default setting follows the OS default browser setting. If specified separately, flow uses that browser. + Browser + Browser Name + Browser Path + New Window + New Tab + Priviate Mode + 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 diff --git a/Flow.Launcher/SelectBrowserWindow.xaml b/Flow.Launcher/SelectBrowserWindow.xaml new file mode 100644 index 000000000..9a435c996 --- /dev/null +++ b/Flow.Launcher/SelectBrowserWindow.xaml @@ -0,0 +1,214 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Flow.Launcher/SelectBrowserWindow.xaml.cs b/Flow.Launcher/SelectBrowserWindow.xaml.cs new file mode 100644 index 000000000..1f79b463b --- /dev/null +++ b/Flow.Launcher/SelectBrowserWindow.xaml.cs @@ -0,0 +1,45 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Windows; +using System.Windows.Controls; +using System.Windows.Data; +using System.Windows.Documents; +using System.Windows.Input; +using System.Windows.Media; +using System.Windows.Media.Imaging; +using System.Windows.Shapes; + +namespace Flow.Launcher +{ + /// + /// SelectBrowserWindow.xaml에 대한 상호 작용 논리 + /// + public partial class SelectBrowserWindow : Window + { + public SelectBrowserWindow() + { + InitializeComponent(); + } + + private void btnCancel_Click(object sender, RoutedEventArgs e) + { + } + + private void btnDone_Click(object sender, RoutedEventArgs e) + { + } + + private void btnAdd_Click(object sender, RoutedEventArgs e) + { + } + + private void btnDelete_Click(object sender, RoutedEventArgs e) + { + } + } + + +} diff --git a/Flow.Launcher/SettingWindow.xaml b/Flow.Launcher/SettingWindow.xaml index 761dec1d7..7ef751df3 100644 --- a/Flow.Launcher/SettingWindow.xaml +++ b/Flow.Launcher/SettingWindow.xaml @@ -688,78 +688,79 @@ - - - - - - - - - - -  - - - - - - - - - - - - - -  - - + + + + + + + + + + + + + + + + + + + diff --git a/Flow.Launcher/WelcomeWindow.xaml.cs b/Flow.Launcher/WelcomeWindow.xaml.cs index c946ae900..e150afce6 100644 --- a/Flow.Launcher/WelcomeWindow.xaml.cs +++ b/Flow.Launcher/WelcomeWindow.xaml.cs @@ -23,5 +23,10 @@ namespace Flow.Launcher { InitializeComponent(); } + + private void BtnCancel_OnClick(object sender, RoutedEventArgs e) + { + Close(); + } } } From 699bcfd8e5881859454413b641b2afc0238449b5 Mon Sep 17 00:00:00 2001 From: DB p Date: Tue, 30 Nov 2021 16:38:21 +0900 Subject: [PATCH 023/288] add button and adjust color --- Flow.Launcher/WelcomeWindow.xaml | 41 ++++++++++++++++++++++++++--- Flow.Launcher/WelcomeWindow.xaml.cs | 28 ++++++++++++++++++++ 2 files changed, 65 insertions(+), 4 deletions(-) diff --git a/Flow.Launcher/WelcomeWindow.xaml b/Flow.Launcher/WelcomeWindow.xaml index e8fdba4d0..21137e159 100644 --- a/Flow.Launcher/WelcomeWindow.xaml +++ b/Flow.Launcher/WelcomeWindow.xaml @@ -5,15 +5,17 @@ xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:local="clr-namespace:Flow.Launcher" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" + xmlns:ui="http://schemas.modernwpf.com/2019" Name="FlowWelcomeWindow" Title="Welcome to Flow Launcher" Width="550" Height="650" - Background="{DynamicResource PopuBGColor}" + Background="{DynamicResource Color00B}" Foreground="{DynamicResource PopupTextColor}" ResizeMode="NoResize" WindowStartupLocation="CenterScreen" mc:Ignorable="d"> + @@ -70,14 +72,45 @@ - + + + + + + + + + + - + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Plugins/Flow.Launcher.Plugin.BrowserBookmark/Views/SettingsControl.xaml b/Plugins/Flow.Launcher.Plugin.BrowserBookmark/Views/SettingsControl.xaml index 1ee02fa43..6762ca345 100644 --- a/Plugins/Flow.Launcher.Plugin.BrowserBookmark/Views/SettingsControl.xaml +++ b/Plugins/Flow.Launcher.Plugin.BrowserBookmark/Views/SettingsControl.xaml @@ -10,71 +10,12 @@ mc:Ignorable="d"> - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Plugins/Flow.Launcher.Plugin.Explorer/Views/ActionKeywordSetting.xaml.cs b/Plugins/Flow.Launcher.Plugin.Explorer/Views/ActionKeywordSetting.xaml.cs index 23f8f13cd..27e4a0b9a 100644 --- a/Plugins/Flow.Launcher.Plugin.Explorer/Views/ActionKeywordSetting.xaml.cs +++ b/Plugins/Flow.Launcher.Plugin.Explorer/Views/ActionKeywordSetting.xaml.cs @@ -100,6 +100,10 @@ namespace Flow.Launcher.Plugin.Explorer.Views MessageBox.Show(settingsViewModel.Context.API.GetTranslation("newActionKeywordsHasBeenAssigned")); } + private void BtnCancel_OnClick(object sender, RoutedEventArgs e) + { + Close(); + } private void TxtCurrentActionKeyword_OnKeyDown(object sender, KeyEventArgs e) { if (e.Key == Key.Enter) diff --git a/Plugins/Flow.Launcher.Plugin.Explorer/Views/ExplorerSettings.xaml b/Plugins/Flow.Launcher.Plugin.Explorer/Views/ExplorerSettings.xaml index 50171a363..ce8ecb6ff 100644 --- a/Plugins/Flow.Launcher.Plugin.Explorer/Views/ExplorerSettings.xaml +++ b/Plugins/Flow.Launcher.Plugin.Explorer/Views/ExplorerSettings.xaml @@ -1,82 +1,145 @@ - + - + - + - + - - + + + + + + + + + + - - + + - + - - + + - + + Drop="lbxAccessLinks_Drop" + ItemTemplate="{StaticResource ListViewTemplateAccessLinks}" /> - + + Drop="lbxAccessLinks_Drop" + ItemTemplate="{StaticResource ListViewTemplateExcludedPaths}" /> - - + + - - + + + + + - - - - - - - - - - - - - - - - - New Tab - New Window - - - + + + + + + + + + + + + + + + + + + + + New Tab + New Window + + + + + + + - - - - + + + + + + diff --git a/Flow.Launcher/SettingWindow.xaml b/Flow.Launcher/SettingWindow.xaml index 8c7b34e9c..11d48235e 100644 --- a/Flow.Launcher/SettingWindow.xaml +++ b/Flow.Launcher/SettingWindow.xaml @@ -52,9 +52,15 @@ - + - + @@ -90,7 +96,10 @@ - - @@ -241,19 +253,21 @@ - - + + @@ -311,19 +325,21 @@ - - + + @@ -796,38 +812,35 @@ Content="{Binding Settings.CustomExplorer.Name}" /> - -  - - - - - - - - - - - - + ForceCursor="True" + Style="{DynamicResource AccentButtonStyle}" /> From 40d7baac86f02cb8c62b88bd4ccc806004f1ce13 Mon Sep 17 00:00:00 2001 From: DB p Date: Tue, 7 Dec 2021 19:33:11 +0900 Subject: [PATCH 127/288] Add Chrome, Edge, Firefox Browser Profile --- .../UserSettings/Settings.cs | 25 +++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/Flow.Launcher.Infrastructure/UserSettings/Settings.cs b/Flow.Launcher.Infrastructure/UserSettings/Settings.cs index 2bbed1f3b..0d39d6663 100644 --- a/Flow.Launcher.Infrastructure/UserSettings/Settings.cs +++ b/Flow.Launcher.Infrastructure/UserSettings/Settings.cs @@ -104,6 +104,31 @@ namespace Flow.Launcher.Infrastructure.UserSettings PrivateArg = "", EnablePrivate = false, Editable = false + }, + new() + { + Name = "Google Chrome", + Path = "chrome", + PrivateArg = "-incognito", + EnablePrivate = false, + Editable = false + }, + new() + { + Name = "Mozilla Firefox", + Path = "firefox", + PrivateArg = "-private", + EnablePrivate = false, + Editable = false + } + , + new() + { + Name = "MS Edge", + Path = "msedge", + PrivateArg = "-inprivate", + EnablePrivate = false, + Editable = false } }; From ba2853b5c19055c02ac399005dde1b21cf1ea8cd Mon Sep 17 00:00:00 2001 From: DB p Date: Tue, 7 Dec 2021 19:40:01 +0900 Subject: [PATCH 128/288] Fix Edge Private arg --- Flow.Launcher.Infrastructure/UserSettings/Settings.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Flow.Launcher.Infrastructure/UserSettings/Settings.cs b/Flow.Launcher.Infrastructure/UserSettings/Settings.cs index 0d39d6663..8ecd6dc4b 100644 --- a/Flow.Launcher.Infrastructure/UserSettings/Settings.cs +++ b/Flow.Launcher.Infrastructure/UserSettings/Settings.cs @@ -126,7 +126,7 @@ namespace Flow.Launcher.Infrastructure.UserSettings { Name = "MS Edge", Path = "msedge", - PrivateArg = "-inprivate", + PrivateArg = "-inPrivate", EnablePrivate = false, Editable = false } From f741420f952a8fc2915455f396a9dc718c546b7e Mon Sep 17 00:00:00 2001 From: Jeremy Date: Wed, 8 Dec 2021 08:01:16 +1100 Subject: [PATCH 129/288] retrieve path with action keywrod --- .../Search/ResultManager.cs | 26 +++++++++++++------ 1 file changed, 18 insertions(+), 8 deletions(-) diff --git a/Plugins/Flow.Launcher.Plugin.Explorer/Search/ResultManager.cs b/Plugins/Flow.Launcher.Plugin.Explorer/Search/ResultManager.cs index 9b77b57a0..63310bebd 100644 --- a/Plugins/Flow.Launcher.Plugin.Explorer/Search/ResultManager.cs +++ b/Plugins/Flow.Launcher.Plugin.Explorer/Search/ResultManager.cs @@ -13,19 +13,26 @@ namespace Flow.Launcher.Plugin.Explorer.Search { private static PluginInitContext Context; private static Settings Settings { get; set; } - public static object Keyword { get; private set; } public static void Init(PluginInitContext context, Settings settings) { Context = context; Settings = settings; - Keyword = Settings.SearchActionKeywordEnabled ? Settings.SearchActionKeyword : Settings.PathSearchActionKeyword; - Keyword = Keyword.ToString() == Query.GlobalPluginWildcardSign ? string.Empty : Keyword + " "; } - public static string ChangeToPath(string path) + private static string GetPathWithActionKeyword(string path, ResultType type) { - return path.EndsWith(Constants.DirectorySeperator) ? path : path + Constants.DirectorySeperator; + // one of it is enabled + var keyword = Settings.SearchActionKeywordEnabled ? Settings.SearchActionKeyword : Settings.PathSearchActionKeyword; + + keyword = keyword == Query.GlobalPluginWildcardSign ? string.Empty : keyword + " "; + + var formatted_path = path; + + if (type == ResultType.Folder) + formatted_path = path.EndsWith(Constants.DirectorySeperator) ? path : path + Constants.DirectorySeperator; + + return $"{keyword}{formatted_path}"; } internal static Result CreateFolderResult(string title, string subtitle, string path, Query query, int score = 0, bool showIndexState = false, bool windowsIndexed = false) @@ -35,7 +42,7 @@ namespace Flow.Launcher.Plugin.Explorer.Search Title = title, IcoPath = path, SubTitle = subtitle, - AutoCompleteText = $"{Keyword}{ChangeToPath(path)}", + AutoCompleteText = GetPathWithActionKeyword(path, ResultType.Folder), TitleHighlightData = StringMatcher.FuzzySearch(query.Search, title).MatchData, Action = c => { @@ -52,7 +59,9 @@ namespace Flow.Launcher.Plugin.Explorer.Search return false; } } - Context.API.ChangeQuery($"{Keyword}{ChangeToPath(path)}"); + + Context.API.ChangeQuery(GetPathWithActionKeyword(path, ResultType.Folder)); + return false; }, Score = score, @@ -100,6 +109,7 @@ namespace Flow.Launcher.Plugin.Explorer.Search Title = title, SubTitle = $"Use > to search within {subtitleFolderName}, " + $"* to search for file extensions or >* to combine both searches.", + AutoCompleteText = GetPathWithActionKeyword(retrievedDirectoryPath, ResultType.Folder), IcoPath = retrievedDirectoryPath, Score = 500, Action = c => @@ -126,7 +136,7 @@ namespace Flow.Launcher.Plugin.Explorer.Search Title = Path.GetFileName(filePath), SubTitle = filePath, IcoPath = filePath, - AutoCompleteText = filePath, + AutoCompleteText = GetPathWithActionKeyword(filePath, ResultType.File), TitleHighlightData = StringMatcher.FuzzySearch(query.Search, Path.GetFileName(filePath)).MatchData, Score = score, Action = c => From b2867620626decdf854289fa3e89f88355046a1c Mon Sep 17 00:00:00 2001 From: Kevin Zhang <45326534+taooceros@users.noreply.github.com> Date: Tue, 7 Dec 2021 23:21:03 -0600 Subject: [PATCH 130/288] Update Plugins/Flow.Launcher.Plugin.WebSearch/SettingsControl.xaml.cs Co-authored-by: Jeremy Wu --- Plugins/Flow.Launcher.Plugin.WebSearch/SettingsControl.xaml.cs | 1 - 1 file changed, 1 deletion(-) diff --git a/Plugins/Flow.Launcher.Plugin.WebSearch/SettingsControl.xaml.cs b/Plugins/Flow.Launcher.Plugin.WebSearch/SettingsControl.xaml.cs index d2af6eb6d..c50fea52e 100644 --- a/Plugins/Flow.Launcher.Plugin.WebSearch/SettingsControl.xaml.cs +++ b/Plugins/Flow.Launcher.Plugin.WebSearch/SettingsControl.xaml.cs @@ -21,7 +21,6 @@ namespace Flow.Launcher.Plugin.WebSearch _context = context; _settings = viewModel.Settings; DataContext = viewModel; - } private void OnAddSearchSearchClick(object sender, RoutedEventArgs e) From 8ba52ff2446f7a2de174e0fd0944c0ad6e8d4e86 Mon Sep 17 00:00:00 2001 From: Kevin Zhang <45326534+taooceros@users.noreply.github.com> Date: Tue, 7 Dec 2021 23:21:14 -0600 Subject: [PATCH 131/288] Update Flow.Launcher/SettingWindow.xaml.cs Co-authored-by: Jeremy Wu --- Flow.Launcher/SettingWindow.xaml.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Flow.Launcher/SettingWindow.xaml.cs b/Flow.Launcher/SettingWindow.xaml.cs index 30e00da3c..ca5f28855 100644 --- a/Flow.Launcher/SettingWindow.xaml.cs +++ b/Flow.Launcher/SettingWindow.xaml.cs @@ -122,8 +122,8 @@ namespace Flow.Launcher private void OnSelectDefaultBrowserClick(object sender, RoutedEventArgs e) { - SelectBrowserWindow test = new SelectBrowserWindow(settings); - test.ShowDialog(); + var browserWindow = new SelectBrowserWindow(settings); + browserWindow.ShowDialog(); } #endregion From 127888137bfab26c151bc6b5bed1d47e04796b6a Mon Sep 17 00:00:00 2001 From: Kevin Zhang <45326534+taooceros@users.noreply.github.com> Date: Tue, 7 Dec 2021 23:21:37 -0600 Subject: [PATCH 132/288] Update Flow.Launcher/SelectBrowserWindow.xaml.cs Co-authored-by: Jeremy Wu --- Flow.Launcher/SelectBrowserWindow.xaml.cs | 3 --- 1 file changed, 3 deletions(-) diff --git a/Flow.Launcher/SelectBrowserWindow.xaml.cs b/Flow.Launcher/SelectBrowserWindow.xaml.cs index 32d79e569..5ab888527 100644 --- a/Flow.Launcher/SelectBrowserWindow.xaml.cs +++ b/Flow.Launcher/SelectBrowserWindow.xaml.cs @@ -18,9 +18,6 @@ using System.Windows.Shapes; namespace Flow.Launcher { - /// - /// SelectBrowserWindow.xaml에 대한 상호 작용 논리 - /// public partial class SelectBrowserWindow : Window, INotifyPropertyChanged { private int selectedCustomExplorerIndex; From 171a5015db8c1e8301e2b8bbac53dff0044244db Mon Sep 17 00:00:00 2001 From: Kevin Zhang <45326534+taooceros@users.noreply.github.com> Date: Tue, 7 Dec 2021 23:21:44 -0600 Subject: [PATCH 133/288] Update Flow.Launcher.Plugin/Interfaces/IPublicAPI.cs Co-authored-by: Jeremy Wu --- Flow.Launcher.Plugin/Interfaces/IPublicAPI.cs | 1 - 1 file changed, 1 deletion(-) diff --git a/Flow.Launcher.Plugin/Interfaces/IPublicAPI.cs b/Flow.Launcher.Plugin/Interfaces/IPublicAPI.cs index a07071d1e..f87ca3969 100644 --- a/Flow.Launcher.Plugin/Interfaces/IPublicAPI.cs +++ b/Flow.Launcher.Plugin/Interfaces/IPublicAPI.cs @@ -213,7 +213,6 @@ namespace Flow.Launcher.Plugin /// Extra FileName Info public void OpenDirectory(string DirectoryPath, string FileName = null); - public void OpenUrl(string url); } } From d2bb1e88e507997eb9a3756ac7b261bca6177ae2 Mon Sep 17 00:00:00 2001 From: Kevin Zhang <45326534+taooceros@users.noreply.github.com> Date: Tue, 7 Dec 2021 23:22:23 -0600 Subject: [PATCH 134/288] Update Flow.Launcher.Infrastructure/UserSettings/CustomBrowserViewModel.cs Co-authored-by: Jeremy Wu --- .../UserSettings/CustomBrowserViewModel.cs | 1 - 1 file changed, 1 deletion(-) diff --git a/Flow.Launcher.Infrastructure/UserSettings/CustomBrowserViewModel.cs b/Flow.Launcher.Infrastructure/UserSettings/CustomBrowserViewModel.cs index 7ce1dd656..1cf62873c 100644 --- a/Flow.Launcher.Infrastructure/UserSettings/CustomBrowserViewModel.cs +++ b/Flow.Launcher.Infrastructure/UserSettings/CustomBrowserViewModel.cs @@ -25,7 +25,6 @@ namespace Flow.Launcher.Infrastructure.UserSettings } } - } From 233a3382961965c4a5152a28919d535a34b6eb87 Mon Sep 17 00:00:00 2001 From: Kevin Zhang <45326534+taooceros@users.noreply.github.com> Date: Tue, 7 Dec 2021 23:22:34 -0600 Subject: [PATCH 135/288] Update Flow.Launcher.Infrastructure/UserSettings/CustomBrowserViewModel.cs Co-authored-by: Jeremy Wu --- .../UserSettings/CustomBrowserViewModel.cs | 1 - 1 file changed, 1 deletion(-) diff --git a/Flow.Launcher.Infrastructure/UserSettings/CustomBrowserViewModel.cs b/Flow.Launcher.Infrastructure/UserSettings/CustomBrowserViewModel.cs index 1cf62873c..30b7c5a68 100644 --- a/Flow.Launcher.Infrastructure/UserSettings/CustomBrowserViewModel.cs +++ b/Flow.Launcher.Infrastructure/UserSettings/CustomBrowserViewModel.cs @@ -23,7 +23,6 @@ namespace Flow.Launcher.Infrastructure.UserSettings Editable = Editable }; } - } } From cbd23373c300205fb14fa1dca07a45c91df401d1 Mon Sep 17 00:00:00 2001 From: Kevin Zhang <45326534+taooceros@users.noreply.github.com> Date: Tue, 7 Dec 2021 23:24:15 -0600 Subject: [PATCH 136/288] Update Flow.Launcher/PublicAPIInstance.cs Co-authored-by: Jeremy Wu --- Flow.Launcher/PublicAPIInstance.cs | 1 - 1 file changed, 1 deletion(-) diff --git a/Flow.Launcher/PublicAPIInstance.cs b/Flow.Launcher/PublicAPIInstance.cs index 606143bff..238a57cbc 100644 --- a/Flow.Launcher/PublicAPIInstance.cs +++ b/Flow.Launcher/PublicAPIInstance.cs @@ -211,7 +211,6 @@ namespace Flow.Launcher public void OpenUrl(string url) { - using var process = new Process(); var browserInfo = _settingsVM.Settings.CustomBrowser; var path = browserInfo.Path == "*" ? "" : browserInfo.Path; From 7bf6a7d1411aa19e36ec7f2d5a6564b653b57a27 Mon Sep 17 00:00:00 2001 From: Kevin Zhang <45326534+taooceros@users.noreply.github.com> Date: Wed, 8 Dec 2021 02:49:32 -0600 Subject: [PATCH 137/288] Update crowdin translations (#871) Update crowdin translations (#871) --- Flow.Launcher/Languages/pt-pt.xaml | 231 +++++ Flow.Launcher/Languages/sk.xaml | 56 +- Flow.Launcher/Languages/zh-cn.xaml | 445 ++++++---- .../Languages/pt-pt.xaml | 21 + .../Languages/pt-pt.xaml | 15 + .../Languages/zh-cn.xaml | 2 +- .../Languages/pt-pt.xaml | 67 ++ .../Languages/pt-pt.xaml | 7 + .../Languages/pt-pt.xaml | 48 ++ .../Languages/sk.xaml | 2 +- .../Languages/pt-pt.xaml | 11 + .../Languages/pt-pt.xaml | 58 ++ .../Languages/sk.xaml | 9 +- .../Languages/pt-pt.xaml | 15 + .../Languages/zh-cn.xaml | 2 +- .../Languages/pt-pt.xaml | 37 + .../Languages/pt-pt.xaml | 17 + .../Languages/zh-cn.xaml | 2 +- .../Languages/pt-pt.xaml | 43 + .../Properties/Resources.pt-PT.resx | 801 ++++++++++++------ 20 files changed, 1458 insertions(+), 431 deletions(-) create mode 100644 Flow.Launcher/Languages/pt-pt.xaml create mode 100644 Plugins/Flow.Launcher.Plugin.BrowserBookmark/Languages/pt-pt.xaml create mode 100644 Plugins/Flow.Launcher.Plugin.Calculator/Languages/pt-pt.xaml create mode 100644 Plugins/Flow.Launcher.Plugin.Explorer/Languages/pt-pt.xaml create mode 100644 Plugins/Flow.Launcher.Plugin.PluginIndicator/Languages/pt-pt.xaml create mode 100644 Plugins/Flow.Launcher.Plugin.PluginsManager/Languages/pt-pt.xaml create mode 100644 Plugins/Flow.Launcher.Plugin.ProcessKiller/Languages/pt-pt.xaml create mode 100644 Plugins/Flow.Launcher.Plugin.Program/Languages/pt-pt.xaml create mode 100644 Plugins/Flow.Launcher.Plugin.Shell/Languages/pt-pt.xaml create mode 100644 Plugins/Flow.Launcher.Plugin.Sys/Languages/pt-pt.xaml create mode 100644 Plugins/Flow.Launcher.Plugin.Url/Languages/pt-pt.xaml create mode 100644 Plugins/Flow.Launcher.Plugin.WebSearch/Languages/pt-pt.xaml diff --git a/Flow.Launcher/Languages/pt-pt.xaml b/Flow.Launcher/Languages/pt-pt.xaml new file mode 100644 index 000000000..0bee02ace --- /dev/null +++ b/Flow.Launcher/Languages/pt-pt.xaml @@ -0,0 +1,231 @@ + + + + Falha ao registar tecla de atalho: {0} + Não foi possível iniciar {0} + Formato do ficheiro inválido como plugin + Definir como principal para esta consulta + Cancelar como principal para esta consulta + Executar consulta: {0} + Última execução: {0} + Abrir + Definições + Acerca + Sair + Fechar + Modo de jogo + Suspender utilização de teclas de atalho + + + Definições Flow launcher + Geral + Modo portátil + Guardar todas as definições e dados do utilizador numa pasta (indicado se utilizar discos amovíveis ou serviços cloud) + Iniciar Flow launcher ao arrancar o sistema + Ocultar Flow launcher ao perder o foco + Não notificar acerca de novas versões + Memorizar localização anterior + Idioma + Estilo da última consulta + Mostrar/ocultar resultados anteriores ao reiniciar Flow Launcher + Manter última consulta + Selecionar última consulta + Limpar última consulta + N.º máximo de resultados + Ignorar teclas de atalho se em ecrã completo + Desativar ativação do Flow Launcher se alguma aplicação estiver em ecrã completo (recomendado para jogos) + Gestor de ficheiros padrão + Selecione o gestor de ficheiros utilizado para abrir a página + Diretório Python + Atualização automática + Selecionar + Ocultar Flow Launcher no arranque + Ocultar ícone da bandeja + Precisão da pesquisa + Altera a precisão mínima necessário para obter resultados + Utilizar Pinyin + Permitir Pinyin para a pesquisa. Pinyin é o sistema padrão da ortografia romanizada para tradução de mandarim + O efeito sombra não é permitido com este tema porque o efeito desfocar está ativo + + + Plugins + Mais plugins + Ativar + Desativar + Definição de palavra-chave + Palavra-chave da ação + Palavra-chave atual + Nova palavra-chave + Prioridade atual + Nova prioridade + Prioridade + Diretório de plugins + Autor: + Tempo de inicialização: + Tempo de consulta: + | Versão + Site + + + + Loja de plugins + Recarregar + Instalar + + + Tema + Galeria de temas + Como criar um tema + Olá + Tipo de letra da caixa de pesquisa + Tipo de letra dos resultados + Modo da janela + Opacidade + O tema {0} não existe e será utilizado o tema padrão + Não foi possível carregar o tema {0}, será utilizado o tema padrão + Pasta de temas + Abrir pasta de temas + Esquema de cores + Padrão do sistema + Claro + Escuro + Efeitos sonoros + Reproduzir um som ao abrir a janela de pesquisa + Animação + Utilizar animações na aplicação + + + Tecla de atalho + Tecla de atalho Flow Launcher + Introduza o atalho para mostrar/ocultar Flow launcher + Tecla modificadora para os resultados + Selecione a tecla modificadora para abrir o resultado através do teclado + Mostrar tecla de atalho + Mostrar tecla de atalho em conjunto com os resultados. + Tecla de atalho personalizada + Consulta + Eliminar + Editar + Adicionar + Selecione um item + Tem a certeza de que deseja remover a tecla de atalho do plugin {0}? + Efeito de sombra da janela + Este efeito intensifica a utilização da GPU. Não deve ativar esta opção se o desempenho do seu computador for fraco. + Largura da janela + Utilizar ícones Segoe Fluent + Se possível, utilizar ícones Segoe Fluent para os resultados + + + Proxy HTTP + Ativar proxy HTTP + Servidor HTTP + Porta + Nome de utilizador + Palavra-passe + Testar + Guardar + Campo Servidor não pode estar vazio + Campo Porta não pode estar vazio + Formato de porta inválido + Configuração proxy guardada com sucesso + Proxy configurado corretamente + Falha na ligação ao proxy + + + Acerca + Site + GitHub + Documentos + Versão + Ativou o Flow Launcher {0} vezes + Procurar atualizações + Está disponível a versão {0}. Gostaria de reiniciar Flow Launcher para atualizar a sua versão? + Erro ao procurar atualizações. Verifique a sua ligação e as definições do proxy estabelecidas para api.github.com + + Não foi possível descarregar a atualização. Verifique a sua ligação e as definições do proxy estabelecidas para github-cloud.s3.amazonaws.com ou aceda a https://github.com/Flow-Launcher/Flow.Launcher/releases para descarregar a atualização. + + Notas da versão + Dicas de utilização + DevTools + Pasta de definições + Pasta de registos + + + Selecione o gestor de ficheiros + Especifique a localização do executável do gestor de ficheiros e, eventualmente, alguns argumentos. Os argumentos padrão são "%d" e o caminho é introduzido nesse local. Por exemplo, se necessitar de um comando como "totalcmd.exe /A c:\windows", o argumento é /A "%d". + "%f" é o argumento que representa o caminho do ficheiro. É utilizado para dar ênfase ao nome do ficheiro ou da pasta se utilizar um gestor de ficheiros não nativo. Este argumento apenas está disponível para o item "Arg para ficheiro". Se o seu gestor de ficheiros não possuir esta funcionalidade, pode utilizar "%d". + Gestor de ficheiros + Nome do perfil + Caminho do gestor de ficheiros + Argumento para pasta + Argumento para ficheiro + + + Alterar prioridade + Quanto maior for o número, melhor avaliação terá o resultado. Experimente com o número 5. Se quiser que os resultados sejam inferiores aos dos outros plugins, indique um número negativo. + Tem que indicar um valor inteiro para a prioridade! + + + Palavra-chave atual + Nova palavra-chave + Cancelar + Feito + Plugin não encontrado + A nova palavra-chave não pode estar vazia + Esta palavra-chave já está associada a um plugin. Por favor escolha outra. + Sucesso + Terminado com sucesso + Introduza a palavra-chave a utilizar para iniciar o plugin. Utilize * se não quiser utilizar esta funcionalidade e o plugin não será ativada com palavras-chave. + + + Tecla de atalho personalizada + Prima a tecla de atalho personalizada para introduzir automaticamente a consulta especificada + Antevisão + Tecla de atalho indisponível, por favor escolha outra + Tecla de atalho inválida + Atualizar + + + Tecla de atalho indisponível + + + Versão + Hora + Indique-nos, por favor, como é que o erro ocorreu para que o possamos corrigir + Enviar relatório + Cancelar + Geral + Exceções + Tipo de exceção + Origem + Stack Trace + A enviar + Relatório enviado com sucesso + Falha ao enviar o relatório + Ocorreu um erro + + + Por favor aguarde... + + + A procurar atualizações... + A sua versão de Flow Launcher é a mais recente + Atualização encontrada + A atualizar... + + Flow Launcher não conseguiu mover o seu perfil de dados para a nova versão. +Queira por favor mover a pasta do seu perfil de {0} para {1} + + Nova atualização + Está disponível a versão {0} do Flow Launcher + Ocorreu um erro ao tentar instalar as atualizações + Atualizar + Cancelar + Falha ao atualizar + Verifique a sua ligação e as definições do proxy estabelecidas para github-cloud.s3.amazonaws.com + Esta atualização irá reiniciar o Flow Launcher + Os seguintes ficheiros serão atualizados + Atualizar ficheiros + Atualizar descrição + + diff --git a/Flow.Launcher/Languages/sk.xaml b/Flow.Launcher/Languages/sk.xaml index 05f9228ba..aea9f1d64 100644 --- a/Flow.Launcher/Languages/sk.xaml +++ b/Flow.Launcher/Languages/sk.xaml @@ -60,7 +60,7 @@ Nová priorita: Priorita Priečinok s pluginmi - Autor: + od Príprava: Čas dopytu: | Verzia @@ -85,10 +85,10 @@ Nepodarilo sa nečítať motív {0}, návrat na predvolený motív Priečinok s motívmi Otvoriť priečinok s motívmi - Tmavý režim - Predvolené systémom - Svetlý - Tmavý + Farebná schéma + Predvolené systémom + Svetlý + Tmavý Zvukový efekt Po otvorení okna vyhľadávania prehrať krátky zvuk Animácia @@ -115,7 +115,6 @@ Použiť ikony Segoe Fluent Použiť ikony Segoe Fluent, ak sú podporované - HTTP proxy Povoliť HTTP Proxy @@ -147,15 +146,16 @@ alebo prejdite na https://github.com/Flow-Launcher/Flow.Launcher/releases pre manuálne stiahnutie aktualizácie. Poznámky k vydaniu - Tipy na používanie: + Tipy na používanie Nástroje pre vývojárov Priečinok s nastaveniami Priečinok s logmi + Sprievodca Vyberte správcu súborov - Zadajte umiestnenie súboru správcu súborov, ktorého používate, a v prípade potreby pridajte argumenty. Predvolené argumenty sú "%d" a cesta sa zadáva na tomto mieste. Napríklad, ak sa vyžaduje príkaz, ako napríklad "totalcmd.exe /A c:\windows", argument je /A "%d". - "%f" je argument, ktorý predstavuje cestu k súboru. Používa sa na zvýraznenie názvu súboru/priečinka pri otváraní konkrétneho umiestnenia súboru v správcovi súborov tretej strany. Tento argument je k dispozícii len v položke "Arg pre súbor". Ak správca súborov nemá túto funkciu, môžete použiť "%d". + Zadajte umiestnenie súboru správcu súborov, ktorý používate, a v prípade potreby pridajte argumenty. Predvolené argumenty sú "%d" a cesta sa zadáva na tomto mieste. Napríklad, ak sa vyžaduje príkaz, ako napríklad "totalcmd.exe /A c:\windows", argument je /A "%d". + "%f" je argument, ktorý predstavuje cestu k súboru. Používa sa na zvýraznenie názvu súboru/priečinka pri otváraní konkrétneho umiestnenia súboru v správcovi súborov tretej strany. Tento argument je k dispozícii len v položke "Arg. pre súbor". Ak správca súborov nemá túto funkciu, môžete použiť "%d". Správca súborov Názov profilu Cesta k správcovi súborov @@ -177,7 +177,6 @@ Nová skratka pre akciu bola priradená pre iný plugin, prosím, zvoľte inú skratku Úspešné Úspešne dokončené - Zadajte skratku akcie, ktorá je potrebná na spustenie pluginu. Ak nechcete zadať skratku akcie, použite *. V tom prípade plugin funguje bez kľúčových slov. @@ -204,7 +203,6 @@ Trasovanie zásobníka Odosiela sa Hlásenie bolo úspešne odoslané - Odoslanie hlásenia zlyhalo Flow Launcher zaznamenal chybu @@ -232,4 +230,40 @@ Aktualizovať súbory Aktualizovať popis + + Preskočiť + Vitajte vo Flow Launcheri + Dobrý deň, toto je prvýkrát, čo spúšťate Flow Launcher! + Pred spustením vám tento sprievodca pomôže s nastavením aplikácie Flow Launcher. Ak chcete, môžete ho preskočiť. Vyberte si jazyk + Vyhľadávajte a spúšťajte všetky súbory a aplikácie v počítači + Vyhľadávajte vo všetkých aplikáciách, súboroch, záložkách, YouTube, Twitteri a ďalších. Všetko z pohodlia klávesnice bez toho, aby ste sa dotkli myši. + Flow Launcher sa spúšťa pomocou dole uvedenej klávesovej skratky, poďte si to vyskúšať. Ak ju chcete zmeniť, kliknite na vstupné pole a stlačte požadovanú klávesovú skratku na klávesnici. + Klávesové skratky + Kľúčové slovo akcie a príkazy + Vyhľadávajte na webe, spúšťajte aplikácie alebo spúšťajte rôzne funkcie pomocou pluginov Flow Launchera. Niektoré funkcie sa začínajú kľúčovým slovom akcie a v prípade potreby ich možno použiť aj bez kľúčových slov akcie. Vyskúšajte nižšie uvedené dopyty v aplikácii Flow Launcher. + Spustite Flow Launcher + Hotovo. Užite si Flow Launcher. Nezabudnite na klávesovú skratku na spustenie :) + + + + Späť/kontextová ponuka + Navigácia medzi položkami + Otvoriť kontextovú ponuku + Otvoriť umiestnenie priečinka + Spustiť ako správca + História dopytov + Návrat na výsledky z kontextovej ponuky + Otvoriť/spustiť vybranú položku + Otvoriť okno s nastaveniami + Znova načítať údaje pluginov + + Počasie + Počasie na Googli + > ping 8.8.8.8 + Príkazový riadok + Bluetooth + Bluetooth v nastaveniach Windowsu + sn + Sticky Notes + diff --git a/Flow.Launcher/Languages/zh-cn.xaml b/Flow.Launcher/Languages/zh-cn.xaml index 0c2307dc5..01cd97467 100644 --- a/Flow.Launcher/Languages/zh-cn.xaml +++ b/Flow.Launcher/Languages/zh-cn.xaml @@ -1,176 +1,269 @@ - - - 注册热键:{0} 失败 - 启动命令 {0} 失败 - Flow Launcher插件格式错误 - 在当前查询中置顶 - 取消置顶 - 执行查询:{0} - 上次执行时间:{0} - 打开 - 设置 - 关于 - 退出 - - - Flow Launcher设置 - 通用 - 便携模式 - 开机自动启动 - 失去焦点时自动隐藏Flow Launcher - 不显示新版本提示 - 记住上次启动位置 - 语言 - 上次搜索关键字模式 - 保留上次搜索关键字 - 选择上次搜索关键字 - 清空上次搜索关键字 - 最大结果显示个数 - 全屏模式下忽略热键 - Python 路径 - 自动更新 - 选择 - 启动时不显示主窗口 - 隐藏任务栏图标 - 查询搜索精度 - 启动拼音搜索 - 允许使用拼音进行搜索。 - - - 插件 - 浏览更多插件 - 启用 - 禁用 - 触发关键字 - 当前操作关键字: - 新动作关键字: - 当前优先级: - 新优先级: - 插件目录 - 作者 - 加载耗时 - 查询耗时 - - - 主题 - 浏览更多主题 - 在这里输入 - 查询框字体 - 结果项字体 - 窗口模式 - 透明度 - 无法找到主题 {0} ,切换为默认主题 - 无法加载主题 {0} ,切换为默认主题 - - - 热键 - Flow Launcher激活热键 - 开放结果修饰符 - 显示热键 - 自定义查询热键 - 删除 - 编辑 - 增加 - 请选择一项 - 你确定要删除插件 {0} 的热键吗? - 查询窗口阴影效果 - 阴影效果将占用大量的GPU资源。 如果您的计算机性能有限,则不建议使用。 - - - HTTP 代理 - 启用 HTTP 代理 - HTTP 服务器 - 端口 - 用户名 - 密码 - 测试代理 - 保存 - 服务器不能为空 - 端口不能为空 - 非法的端口格式 - 保存代理设置成功 - 代理设置正确 - 代理连接失败 - - - 关于 - 网站 - 版本 - 你已经激活了Flow Launcher {0} 次 - 检查更新 - 发现新版本 {0} , 请重启 Flow Launcher。 - 下载更新失败,请检查您与 api.github.com 的连接状态或检查代理设置。 - - 下载更新失败,请检查您与 github-cloud.s3.amazonaws.com 的连接状态或检查代理设置, - 或访问 https://github.com/Flow-Launcher/Flow.Launcher/releases 手动下载更新。 - - 更新说明: - 使用技巧: - - - 数字越大,结果排名越高。如果你想要结果比任何其他插件的低,请使用负数 - 请提供有效的整数作为优先级设置值! - - - 旧触发关键字 - 新触发关键字 - 取消 - 确定 - 找不到指定的插件 - 新触发关键字不能为空 - 新触发关键字已经被指派给其他插件了,请换一个关键字 - 成功 - 成功完成 - 如果你不想设置触发关键字,可以使用*代替 - - - 自定义插件热键 - 预览 - 热键不可用,请选择一个新的热键 - 插件热键不合法 - 更新 - - - 热键不可用 - - - 版本 - 时间 - 请告诉我们如何重现此问题,以便我们进行修复 - 发送报告 - 取消 - 基本信息 - 异常信息 - 异常类型 - 异常源 - 堆栈信息 - 发送中 - 发送成功 - 发送失败 - Flow Launcher出错啦 - - - 请稍等... - - - 检查新的更新 - 您已经拥有最新的Flow Launcher版本 - 检查到更新 - 更新中... - Flow Launcher无法将您的用户配置文件数据移动到新的更新版本中。 - 请手动将您的用户配置文件数据文件夹从 {0} 到 {1} - 新的更新 - 发现Flow Launcher新版本 V{0} - 尝试安装软件更新时发生错误 - 更新 - 取消 - 更新错误 - 检查网络是否可以连接至github-cloud.s3.amazonaws.com. - 此次更新需要重启Flow Launcher - 下列文件会被更新 - 更新文件 - 更新日志 - - \ No newline at end of file + + + + 注册热键:{0} 失败 + 启动命令 {0} 失败 + 无效的 Flow Launcher 插件文件格式 + 在当前查询中置顶 + 取消置顶 + 执行查询:{0} + 上次执行时间:{0} + 打开 + 设置 + 关于 + 退出 + 关闭 + 游戏模式 + 暂停使用快捷键。 + + + Flow Launcher设置 + 通用 + 便携模式 + 将所有设置和用户数据存储在一个文件夹中 (可用于可移除驱动器或云服务)。 + 开机自启 + 失去焦点时自动隐藏Flow Launcher + 不显示新版本提示 + 记住上次启动位置 + 语言 + 再次激活时 + 重启Flow Launcher时显示/隐藏以前的结果。 + 保留上次搜索关键字 + 选择上次搜索关键字 + 清空上次搜索关键字 + 最大结果显示个数 + 全屏模式下忽略热键 + 当全屏应用程序激活时禁用快捷键。 + 默认文件管理器 + 选择打开文件夹时要使用的文件管理器。 + Python 路径 + 自动更新 + 选择 + 系统启动时不显示主窗口 + 隐藏任务栏图标 + 查询搜索精度 + 更改匹配成功所需的最低分数。 + 启动拼音搜索 + 允许使用拼音进行搜索 + 当前主题已启用模糊效果,不允许启用阴影效果 + + + 插件 + 浏览更多插件 + 启用 + 禁用 + 动作关键字设置 + 触发关键字 + 当前触发关键字 + 新触发关键字 + 当前优先级 + 新优先级 + 优先级 + 插件目录 + 出自 + 加载耗时: + 查询耗时: + | 版本 + 官方网站 + + + + 插件商店 + 刷新 + 安装 + + + 主题 + 浏览更多主题 + 如何创建一个主题 + 你好! + 查询框字体 + 结果项字体 + 窗口模式 + 透明度 + 无法找到主题 {0} ,切换为默认主题 + 无法加载主题 {0} ,切换为默认主题 + 主题目录 + 打开主题目录... + 颜色主题 + 跟随系统 + 浅色 + 深色 + 音效 + 启用激活音效 + 动画 + 启用动画 + + + 热键 + Flow Launcher激活热键 + 输入显示/隐藏Flow Launcher的快捷键。 + 开放结果修饰符 + 指定修饰符用于打开指定的选项。 + 显示热键 + 显示热键用于快速选择选项。 + 自定义查询热键 + 查询 + 删除 + 编辑 + 增加 + 请选择一项 + 你确定要删除插件 {0} 的热键吗? + 查询窗口阴影效果 + 阴影效果将占用大量的GPU资源。 如果您的计算机性能有限,则不建议使用。 + 窗口宽度 + 使用Segoe Fluent图标 + 在支持时在选项中显示 Segoe Fluent 图标 + + + HTTP 代理 + 启用 HTTP 代理 + HTTP 服务器 + 端口 + 用户名 + 密码 + 测试代理 + 保存 + 服务器不能为空 + 端口不能为空 + 非法的端口格式 + 保存代理设置成功 + 代理设置正确 + 代理连接失败 + + + 关于 + 网站 + Github + 文档 + 版本 + 你已经激活了Flow Launcher {0} 次 + 检查更新 + 发现新版本 {0} , 请重启 Flow Launcher + 下载更新失败,请检查您与 api.github.com 的连接状态或检查代理设置 + + 下载更新失败,请检查您与 github-cloud.s3.amazonaws.com 的连接状态或检查代理设置, + 或访问 https://github.com/Flow-Launcher/Flow.Launcher/releases 手动下载更新 + + 更新说明: + 使用技巧: + 开发工具 + 设置目录 + 日志目录 + 向导 + + + 默认文件管理器 + 请指定文件管理器的文件位置,并在必要时修改参数。 默认参数是%d",作为占位符代表文件路径。 例如命令 “totalcmd.exe /A c:\winds”,参数是 /A "%d”。 + %f是一个表示文件路径的参数。 它用于在第三方文件管理器中打开特定文件位置时强调文件/文件夹名称。 此参数仅在“选中文件参数”项目中可用。 如果文件管理器没有该功能,“%d” 仍然可用。 + 文件管理器 + 档案名称 + 文件管理器路径 + 文件夹路径参数 + 选中文件路径参数 + + + 更改优先级 + 数字越大,结果排名越高。如果你想要结果比任何其他插件的低,请使用负数 + 请提供有效的整数作为优先级设置值 + + + 旧触发关键字 + 新触发关键字 + 取消 + 确认 + 找不到指定的插件 + 新触发关键字不能为空 + 此触发关键字已经被指派给其他插件了,请换一个关键字 + 成功 + 成功完成 + 如果你不想设置触发关键字,可以使用*代替 + + + 自定义插件热键 + 按下自定义快捷键激活Flow Launcher并插入指定的查询前缀。 + 预览 + 热键不可用,请选择一个新的热键 + 插件热键不合法 + 更新 + + + 热键不可用 + + + 版本 + 时间 + 请告诉我们如何重现此问题,以便我们进行修复 + 发送报告 + 取消 + 基本信息 + 异常信息 + 异常类型 + 异常源 + 堆栈信息 + 发送中 + 发送成功 + 发送失败 + Flow Launcher出错啦 + + + 请稍等... + + + 检查新的更新 + 您已经拥有最新的Flow Launcher版本 + 检查到更新 + 更新中... + + Flow Launcher无法将您的用户配置文件数据移动到新的更新版本中。 + 请手动将您的用户配置文件数据文件夹从 {0} 到 {1} + + 新的更新 + 发现Flow Launcher新版本 V{0} + 尝试安装软件更新时发生错误 + 更新 + 取消 + 更新失败 + 检查网络是否可以连接至github-cloud.s3.amazonaws.com. + 此次更新需要重启Flow Launcher + 下列文件会被更新 + 更新文件 + 更新日志 + + + 跳过 + 欢迎使用Flow Launcher + 你好,这是你第一次运行Flow Launcher! + 在启动前,这个向导将有助于设置Flow Launcher。如果您愿意,您可以跳过。请选择一种语言 + 搜索并运行您PC上的文件和应用程序 + 搜索所有应用程序、 文件、 书签、 YouTube、 Twitter等。所有都只需要键盘而不需要触摸鼠标。 + Flow Launcher默认使用下面的快捷键激活。 要更改它,请点击输入并按键盘上所需的热键。 + 快捷键 + 动作关键词和命令 + 通过Flow Launcher 插件搜索网站、启动应用程序或运行各种功能。 某些函数起始于一个动作关键词,如有必要,它们可以在没有动作关键词的情况下使用。欢迎尝试一下的查询语句。 + 开始使用Flow Launcher + 完成了!享受Flow Launcher。不要忘记激活快捷键 :) + + + + 返回/上下文菜单 + 选项导航 + 打开菜单目录 + 打开所在目录 + 以管理员身份运行 + 查询历史 + 返回查询界面 + 打开/运行选中项目 + 打开设置窗口 + 重新加载插件数据 + + 天气 + 谷歌天气结果 + > ping 8.8.8.8 + 命令行命令 + Bluetooth + Windows 设置中的蓝牙 + sn + Sticky Notes + + diff --git a/Plugins/Flow.Launcher.Plugin.BrowserBookmark/Languages/pt-pt.xaml b/Plugins/Flow.Launcher.Plugin.BrowserBookmark/Languages/pt-pt.xaml new file mode 100644 index 000000000..259f34c85 --- /dev/null +++ b/Plugins/Flow.Launcher.Plugin.BrowserBookmark/Languages/pt-pt.xaml @@ -0,0 +1,21 @@ + + + + + Marcadores do navegador + Pesquisar nos marcadores do navegador + + + Abrir marcadores em: + Nova janela + Novo separador + Caminho do navegador: + Escolher + Copiar URL + Copiar URL do marcador para área de transferência + Carregar navegador de: + Nome do navegador + Caminho do diretório de dados + Adicionar + Eliminar + diff --git a/Plugins/Flow.Launcher.Plugin.Calculator/Languages/pt-pt.xaml b/Plugins/Flow.Launcher.Plugin.Calculator/Languages/pt-pt.xaml new file mode 100644 index 000000000..4f9e7c617 --- /dev/null +++ b/Plugins/Flow.Launcher.Plugin.Calculator/Languages/pt-pt.xaml @@ -0,0 +1,15 @@ + + + + Calculadora + Permite a execução de cálculos matemáticos (experimente 5*3-2) + Não é número (NN) + Expressão errada ou incompleta (esqueceu-se de algum parêntese?) + Copiar número para a área de transferência + Separador decimal + O separador decimal a ser usado no resultado. + Utilizar definições do sistema + Vírgula (,) + Ponto (.) + N.º máximo de casas decimais + diff --git a/Plugins/Flow.Launcher.Plugin.Calculator/Languages/zh-cn.xaml b/Plugins/Flow.Launcher.Plugin.Calculator/Languages/zh-cn.xaml index 0fd0e8791..a73bc63f2 100644 --- a/Plugins/Flow.Launcher.Plugin.Calculator/Languages/zh-cn.xaml +++ b/Plugins/Flow.Launcher.Plugin.Calculator/Languages/zh-cn.xaml @@ -7,7 +7,7 @@ 表达错误或不完整(您是否忘记了一些括号?) 将结果复制到剪贴板 十进制分隔符 - 在输出中使用的十进制分隔符。 + 在输出中使用的十进制分隔符 使用系统区域设置 逗号(,) 点(.) diff --git a/Plugins/Flow.Launcher.Plugin.Explorer/Languages/pt-pt.xaml b/Plugins/Flow.Launcher.Plugin.Explorer/Languages/pt-pt.xaml new file mode 100644 index 000000000..6d5160f2a --- /dev/null +++ b/Plugins/Flow.Launcher.Plugin.Explorer/Languages/pt-pt.xaml @@ -0,0 +1,67 @@ + + + + + Primeiro, escolha uma selação + Selecione a ligação para a pasta + Tem a certeza de que deseja eliminar {0}? + Tem certeza de que deseja eliminar permanentemente {0}? + Eliminada com sucesso + {0} foi eliminada com sucesso + A atribuição de uma palavra-chave global pode devolver demasiados resultados. deve escolher uma palavra-chave específica. + Se o plugin Acesso rápido estiver ativo, não pode ser definido como palavra-chave global. Por favor escolha outra. + Parece que o serviço de pesquisa Windows não está em execução. + Para corrigir, inicie o serviço Windows Search. Selecione aqui para remover este aviso. + A mensagem de aviso foi desativada. Como alternativa ao serviço de pesquisa Windows, gostaria de instalar o plugin Everything?{0}{0}Selecione 'Sim' para instalar ou 'Não' para não instalar. + Alternativa + + + Eliminar + Editar + Adicionar + Personalizar palavras-chave + Ligações de acesso rápido + Caminhos excluídos do índice de pesquisa + Opções de indexação + Pesquisar: + Pesquisa de caminho: + Pesquisa no conteúdo dos ficheiros: + Pesquisa no índice: + Acesso rápido: + Palavra-chave atual: + Feito + Ativo + Se desativar a opção, o Flow Launcher não irá executar esta opção de pesquisa e utilizará '*' para libertar a palavra-chave + + + Explorador + Pesquisar e gerir ficheiros e pastas. O explorador utiliza o índice de pesquisa Windows. + + + Copiar caminho + Copiar + Eliminar + Caminho: + Eliminar seleção + Executar com outro utilizador + Executar ações com uma conta de utilizador diferente + Abrir pasta de destino + Abre a localização que contém o ficheiro ou a pasta + Abrir com o editor: + Excluir diretório do índice de pesquisas + Excluído do índice de pesquisa + Abrir opções de indexação do Windows + Gerir ficheiros e pastas indexadas + Não foi possível abrir as opções de indexação do Windows + Adicionar ao acesso rápido + Adicionar {0} ao acesso rápido + Adicionado com sucesso + Adicionado com sucesso ao acesso rápido + Removido com sucesso + Removido com sucesso do acesso rápido + Adicionar ao acesso rápido para que possa ser aberto com a palavra-chave de ativação da pesquisa no explorador + Remover do acesso rápido + Remover do acesso rápido + Remover {0} do acesso rápido + + diff --git a/Plugins/Flow.Launcher.Plugin.PluginIndicator/Languages/pt-pt.xaml b/Plugins/Flow.Launcher.Plugin.PluginIndicator/Languages/pt-pt.xaml new file mode 100644 index 000000000..355f709fa --- /dev/null +++ b/Plugins/Flow.Launcher.Plugin.PluginIndicator/Languages/pt-pt.xaml @@ -0,0 +1,7 @@ + + + + Plugin Indicador + Disponibiliza sugestões de palavras-chave para os plugins + + diff --git a/Plugins/Flow.Launcher.Plugin.PluginsManager/Languages/pt-pt.xaml b/Plugins/Flow.Launcher.Plugin.PluginsManager/Languages/pt-pt.xaml new file mode 100644 index 000000000..81c05b286 --- /dev/null +++ b/Plugins/Flow.Launcher.Plugin.PluginsManager/Languages/pt-pt.xaml @@ -0,0 +1,48 @@ + + + + + Descarregar plugin + Descarregado com sucesso + Erro: não foi possível descarregar o plugin + {0} de {1} {2}{3}Tem a certeza de que pretende desinstalar este plugin? Após a desinstalação, Flow Launcher será reiniciado. + {0} de{1} {2}{3}Tem a certeza de que pretende instalar este plugin? Após a instalação, Flow Launcher será reiniciado. + Instalador de plugins + Descarregar e instalar {0} + Desinstalador de plugins + Plugin instalado com sucesso. Por favor aguarde, estamos a reiniciar Flow launcher... + Não foi possível localizar o ficheiro plugin.json a partir do ficheiro extraído. + Erro: já está instalado um plugin com uma versão igual ou superior a {0}. + Erro ao instalar o plugin + Ocorreu um erro ao tentar instalar {0} + Não existem atualizações + Todos os plugins estão instalados + {0} de {1} {2}{3}Tem a certeza de que pretende atualizar este plugin? Após a atualização, Flow Launcher será reiniciado. + Atualização de plugin + Existe uma atualização para este plugin. Deseja ver? + Este plugin já está instalado + Erro ao descarregar o manifesto do plugin + Verifique se consegue estabelecer ligação a github.com. Este erro significa que pode não ser possível instalar ou atualizar os plugins. + Instalar a partir de fontes desconhecidas + Está a instalar este plugin a partir de uma fonte desconhecida o que pode ser perigoso!{0}{0}Certifique-se de que este plugin é seguro.{0}{0}Ainda assim, pretende continuar com a instalação?{0}{0}(Pode desativar este aviso nas definições da aplicação) + + + + + Gestor de plugins + Módulo para instalar, desinstalar e atualizar os plugins do Flow Launcher + Autor desconhecido + + + Abrir site + Aceder ao site do plugin + Ver código fonte + Consultar o código fonte do plugin + Sugerir uma melhoria ou reportar um erro + Possibilidade de sugerir uma melhoria ou reportar um erro ao programador + Ir para o repositório de plugins + Aceda ao repositório para ver os plugins submetidos pela comunidade + + + Aviso ao instalar de fontes desconhecidas + diff --git a/Plugins/Flow.Launcher.Plugin.PluginsManager/Languages/sk.xaml b/Plugins/Flow.Launcher.Plugin.PluginsManager/Languages/sk.xaml index 6678fcbda..cca5f54b2 100644 --- a/Plugins/Flow.Launcher.Plugin.PluginsManager/Languages/sk.xaml +++ b/Plugins/Flow.Launcher.Plugin.PluginsManager/Languages/sk.xaml @@ -3,7 +3,7 @@ Sťahovanie pluginu - Úspešne stiahnut + Úspešne stiahnuté Chyba: Nepodarilo sa stiahnuť plugin {0} od {1} {2}{3}Chcete odinštalovať tento plugin? Po odinštalovaní sa Flow automaticky reštartuje. {0} by {1} {2}{3}Chcete nainštalovať tento plugin? Po nainštalovaní sa Flow automaticky reštartuje. diff --git a/Plugins/Flow.Launcher.Plugin.ProcessKiller/Languages/pt-pt.xaml b/Plugins/Flow.Launcher.Plugin.ProcessKiller/Languages/pt-pt.xaml new file mode 100644 index 000000000..9c4fe7be0 --- /dev/null +++ b/Plugins/Flow.Launcher.Plugin.ProcessKiller/Languages/pt-pt.xaml @@ -0,0 +1,11 @@ + + + + Terminador de processos + Terminar todos os processos do Flow Launcher + + terminar todas as instâncias de {0} + terminar {0} processos + terminar todas as instâncias + + diff --git a/Plugins/Flow.Launcher.Plugin.Program/Languages/pt-pt.xaml b/Plugins/Flow.Launcher.Plugin.Program/Languages/pt-pt.xaml new file mode 100644 index 000000000..9ff644472 --- /dev/null +++ b/Plugins/Flow.Launcher.Plugin.Program/Languages/pt-pt.xaml @@ -0,0 +1,58 @@ + + + + + Eliminar + Editar + Adicionar + Desativar + Localização + Todos os programas + Sufixos de ficheiros + Reindexar + Indexação + Indexar menu Iniciar + Se ativada, Flow Launcher irá carregar os programas do menu Iniciar + Indexar registo + Se ativada, Flow Launcher irá carregar os programas do registo + Ocultar caminho da aplicação + Para ficheiros executásseis, tais como UWP ou lnk, ocultar o caminho do ficheiro + Pesquisar na descrição dos programas + Se ativada, Flow Launcher irá analisar também a descrição dos programas + Sufixos + Profundidade máxima + + Diretório + Explorar + Sufixos de ficheiros: + Profundidade máxima de pesquisa (-1 é ilimitada): + + Por favor selecione uma origem de programas + Tem a certeza de que deseja remover as origens selecionadas? + + OK + Flow Launcher apena irá indexar os ficheiros que possuam os seguintes sufixos (separe cada sufixo com ';') + Sufixos de ficheiros indexados com sucesso + Não pode indicar sufixos vazios + + Executar com outro utilizador + Executar como administrador + Abrir pasta de destino + Desativar exibição deste programa + + Programa + Pesquisa de programas com o Flow Launcher + + Caminho inválido + + Explorador personalizado + Argumentos + Pode utilizar um gestor de ficheiros personalizado para abrir a pasta de destino, introduzindo a variável de ambiente do gestor de ficheiros a utilizar. Deve utilizar a linha de comandos para testar se a variável de ambiente está disponível. + Introduza os argumentos personalizados para o gestor de ficheiros personalizado. %s para diretório superior e %f para o caminho completo (apenas funcional em sistemas 32 bits) Consulte o site do gestor de ficheiros para detalhes. + + + Sucesso + Desativou com sucesso a exibição deste programa nas suas consultas + Não é suposto que esta aplicação seja executada como administrador + + diff --git a/Plugins/Flow.Launcher.Plugin.Program/Languages/sk.xaml b/Plugins/Flow.Launcher.Plugin.Program/Languages/sk.xaml index aa65dd336..6091c3f5c 100644 --- a/Plugins/Flow.Launcher.Plugin.Program/Languages/sk.xaml +++ b/Plugins/Flow.Launcher.Plugin.Program/Languages/sk.xaml @@ -1,7 +1,7 @@  - + Odstrániť Upraviť Pridať @@ -15,6 +15,8 @@ Ak je povolené, Flow načíta programy z ponuky Štart Indexovať databázu Registry Ak je povolené, Flow načíta programy z databázy Registry + Skryť cestu k aplikácii + Pre spustiteľné súbory ako sú UWP alebo odkazy nezobrazovať cestu k súborom Povoliť popis programu Zakázaním tejto funkcie sa tiež zastaví vyhľadávanie popisu programu cez Flow Prípony @@ -30,8 +32,7 @@ Aktualizovať Flow Launcher bude indexovať iba súbory s nasledujúcimi príponami: - (Každú príponu oddeľte ;) - Prípony boli úspešne aktualizovan + Prípony boli úspešne aktualizované Súbor s príponami nemôže byť prázdny Spustiť ako iný používateľ @@ -49,7 +50,7 @@ Môžete si prispôsobiť otváranie umiestnenia priečinka vložením Premenných prostredia, ktoré chcete použiť. Dostupnosť premenných prostredia môžete vyskúšať cez príkazový riadok. Zadajte argumenty, ktoré chcete pridať pre správcu súborov. %s pre rodičovský priečinok, %f pre celú cestu (funguje iba pre win32). Pre podrobnosti pozrite webovú stránku správcu súborov. - + Úspešné Úspešne zakázané zobrazovanie tohto programu vo výsledkoch vyhľadávania Táto aplikácia nie je určená na spustenie ako správca diff --git a/Plugins/Flow.Launcher.Plugin.Shell/Languages/pt-pt.xaml b/Plugins/Flow.Launcher.Plugin.Shell/Languages/pt-pt.xaml new file mode 100644 index 000000000..d69c37192 --- /dev/null +++ b/Plugins/Flow.Launcher.Plugin.Shell/Languages/pt-pt.xaml @@ -0,0 +1,15 @@ + + + + Substituir Win+R + Não fechar linha de comandos depois de executar o comando + Executar sempre como administrador + Executar com outro utilizador + Consola + Permite a execução de comandos do sistema no Flow Launcher. Deve iniciar o comando o '>' + este comando foi executado {0} vezes + executar comando através de uma consola + Executar como administrador + Copiar comando + Mostrar apenas o número dos comandos mais usados: + diff --git a/Plugins/Flow.Launcher.Plugin.Shell/Languages/zh-cn.xaml b/Plugins/Flow.Launcher.Plugin.Shell/Languages/zh-cn.xaml index f66159527..076c93df7 100644 --- a/Plugins/Flow.Launcher.Plugin.Shell/Languages/zh-cn.xaml +++ b/Plugins/Flow.Launcher.Plugin.Shell/Languages/zh-cn.xaml @@ -11,5 +11,5 @@ 执行此命令 以管理员身份运行 复制命令 - 显示最常用的命令个数: + 显示最常用的命令个数 diff --git a/Plugins/Flow.Launcher.Plugin.Sys/Languages/pt-pt.xaml b/Plugins/Flow.Launcher.Plugin.Sys/Languages/pt-pt.xaml new file mode 100644 index 000000000..94713bd4a --- /dev/null +++ b/Plugins/Flow.Launcher.Plugin.Sys/Languages/pt-pt.xaml @@ -0,0 +1,37 @@ + + + + + Comando + Descrição + + Desligar + Reiniciar + Reinicia o computador com as opções de arranque para os modos de segurança e de depuração assim como outras opções + Sair + Bloquear + Fechar Flow Launcher + Reiniciar Flow Launcher + Ajustar esta aplicação + Suspender + Esvaziar reciclagem + Hibernar + Guardar definições do Flow Launcher + Recarrega os dados do plugin com o novo conteúdo + Abrir localização dos registos do Flow Launcher + Procurar por novas versões do Flow Launcher + Aceda à documentação para mais informações e dicas de utilização + Abrir localização onde as definições do Flow Launcher estão guardadas + + + Sucesso + Todas as definições guardadas + Recarregar todos os dados aplicáveis ao plugin + Tem certeza de que deseja desligar o computador? + Tem a certeza que deseja reiniciar o computador? + Tem certeza de que deseja reiniciar o computador com as opções avançadas de arranque? + + Comandos do sistema + Disponibiliza os comandos relacionados com o sistema tais como: desligar, bloquear, reiniciar... + + diff --git a/Plugins/Flow.Launcher.Plugin.Url/Languages/pt-pt.xaml b/Plugins/Flow.Launcher.Plugin.Url/Languages/pt-pt.xaml new file mode 100644 index 000000000..b94eb1f80 --- /dev/null +++ b/Plugins/Flow.Launcher.Plugin.Url/Languages/pt-pt.xaml @@ -0,0 +1,17 @@ + + + + Abrir pesquisa em: + Nova janela + Novo separador + + Abrir URL:{0} + Impossível abrir URL:{0} + + URL + Abrir o URL no Flow Launcher + + Defina o caminho do navegador: + Escolher + Aplicação(*.exe)|*.exe|Todos os ficheiros|*.* + diff --git a/Plugins/Flow.Launcher.Plugin.Url/Languages/zh-cn.xaml b/Plugins/Flow.Launcher.Plugin.Url/Languages/zh-cn.xaml index 3dd1b5043..d107c6410 100644 --- a/Plugins/Flow.Launcher.Plugin.Url/Languages/zh-cn.xaml +++ b/Plugins/Flow.Launcher.Plugin.Url/Languages/zh-cn.xaml @@ -1,7 +1,7 @@  - 使用以下位置打开: + 使用以下位置打开 新窗户 新标签 diff --git a/Plugins/Flow.Launcher.Plugin.WebSearch/Languages/pt-pt.xaml b/Plugins/Flow.Launcher.Plugin.WebSearch/Languages/pt-pt.xaml new file mode 100644 index 000000000..16b1a89a1 --- /dev/null +++ b/Plugins/Flow.Launcher.Plugin.WebSearch/Languages/pt-pt.xaml @@ -0,0 +1,43 @@ + + + + Definição do motor de pesquisa + Abrir pesquisa em: + Nova janela + Novo separador + Caminho do navegador: + Escolher + Eliminar + Editar + Adicionar + Confirmar + Palavra-chave da ação + URL + Pesquisar + Utilizar conclusão automática da consulta: + Preencher dados a partir de: + Selecione uma pesquisa web + Tem a certeza de que deseja remover {0}? + Se quiser, também pode adicionar um serviço web personalizado ao Flow Launcher. Por exemplo, pode utilizar o seguinte formato URL para pesquisar por 'casino' no Netflix: "https://www.netflix.com/search?q=Casino". Para o fazer, altere o termo de pesquisa 'Casino' como indicado a seguir. + https://www.netflix.com/search?q={q} + Adicione o URL à secção abaixo. Agora, já pode utilizar o Flow Launcher para pesquisar no Netflix. + + + + Título + Ativar + Selecionar ícone + Ícone + Cancelar + Pesquisa web inválida + Introduza um título + Introduza a palavra-chave da ação + Introduza um URL + A palavra-chave já existe. Por favor escolha outra + Sucesso + Dica: não é necessário colocar imagens personalizadas neste diretório pois se Flow Launcher for atualizado, estas serão perdidas. O Flow irá copiar todas as imagens que estejam fora deste diretório para em todas as pesquisas Web. + + Pesquisas web + Permite pesquisar diretamente na web + + diff --git a/Plugins/Flow.Launcher.Plugin.WindowsSettings/Properties/Resources.pt-PT.resx b/Plugins/Flow.Launcher.Plugin.WindowsSettings/Properties/Resources.pt-PT.resx index 8f8023c1f..b75011a81 100644 --- a/Plugins/Flow.Launcher.Plugin.WindowsSettings/Properties/Resources.pt-PT.resx +++ b/Plugins/Flow.Launcher.Plugin.WindowsSettings/Properties/Resources.pt-PT.resx @@ -59,46 +59,46 @@ : using a System.ComponentModel.TypeConverter : and then encoded with base64 encoding. --> - - + + - + - - - - + + + + - - + + - - + + - - - - + + + + - + - + @@ -118,58 +118,79 @@ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - Sobre + Acerca + Area System - - Aceder a trabalho ou escola + + access.cpl + File name, Should not translated - Opções de Acessibilidade + Opções de acessibilidade + Area Control Panel (legacy settings) Aplicações de acessórios + Area Privacy + + + Aceder a trabalho ou escola + Area UserAccounts Informações da conta + Area Privacy Contas + Area SurfaceHub - Centro de Ações + Centro de ação + Area Control Panel (legacy settings) Ativação + Area UpdateAndSecurity Histórico da atividade + Area Privacy - Adicionar Hardware + Adicionar hardware + Area Control Panel (legacy settings) - Adicionar/Remover Programas + Adicionar/remover programas + Area Control Panel (legacy settings) Adicionar o seu telemóvel + Area Phone - Ferramentas Administrativas + Ferramentas administrativas + Area System - Definições avançadas de visualização + Definições avançadas de exibição + Area System, only available on devices that support advanced display options Gráficos avançados - ID de Publicidade + ID de publicidade + Area Privacy, Deprecated in Windows 10, version 1809 and later - Modo de avião + Modo avião + Area NetworkAndInternet Alt+Tab + Means the key combination "Tabulator+Alt" on the keyboard Nomes alternativos @@ -180,47 +201,60 @@ Cor da aplicação - - Painel de Controlo - Diagnóstico de aplicações + Area Privacy Funcionalidades da aplicação - - - Definições do sistema - - - Volume das aplicações e preferências do dispositivo + Area Apps Aplicação + Short/modern name for application - Aplicações e Funcionalidades + Aplicações e funcionalidades + Area Apps + + + Definições do sistema + Type of the setting is a "Modern Windows settings". We use the same term as used in start menu search at the moment. Aplicações para sites + Area Apps + + + Volume das aplicações e preferências do dispositivo + Area System, Added in Windows 10, version 1903 + + + appwiz.cpl + File name, Should not translated Área + Mean the settings area or settings category Contas - Ferramentas Administrativas + Ferramentas administrativas + Area Control Panel (legacy settings) - Aspecto e Personalização + Aparência e personalização Aplicações - Relógio e Região + Relógio e região + + + Painel de controlo Cortana @@ -238,10 +272,10 @@ Jogos - Hardware e Som + Hardware e som - Home page + Página inicial Realidade mista @@ -268,7 +302,7 @@ Sistema - Sistema e Segurança + Sistema e segurança Hora e idioma @@ -284,132 +318,181 @@ Áudio + Area EaseOfAccess Alertas de áudio Áudio e voz - - - Reprodução Automática + Area MixedReality, only available if the Mixed Reality Portal app is installed. - Transferências automáticas de ficheiros + Descargas automáticas de ficheiros + Area Privacy + + + Reprodução automática + Area Device Fundo + Area Personalization - Aplicações em Segundo Plano + Aplicações em segundo plano + Area Privacy Cópia de segurança + Area UpdateAndSecurity - Cópia de Segurança e Restauro + Backup e restauro + Area Control Panel (legacy settings) Poupança de bateria + Area System, only available on devices that have a battery, such as a tablet - Definições de Poupança de Bateria + Definições de poupança de bateria + Area System, only available on devices that have a battery, such as a tablet Detalhes de utilização da poupança de bateria Utilização da bateria + Area System, only available on devices that have a battery, such as a tablet - Dispositivos Biométricos + Dispositivos biométricos + Area Control Panel (legacy settings) - Encriptação de Unidade BitLocker + Encriptação BitLocker + Area Control Panel (legacy settings) Luz azul - - Azul-amarelo - Bluetooth + Area Device Dispositivos Bluetooth + Area Control Panel (legacy settings) + + + Azul-amarelo IME Bopomofo + Area TimeAndLanguage + + + bpmf + Should not translated Transmissão + Area Gaming Calendário + Area Privacy Histórico de chamadas + Area Privacy + + + chamadas Câmara + Area Privacy IME Cangjie + Area TimeAndLanguage Caps Lock + Mean the "Caps Lock" key Celular e SIM + Area NetworkAndInternet Escolha as pastas que irão aparecer no Início + Area Personalization - Serviço ao cliente para NetWare + Cliente para NetWare + Area Control Panel (legacy settings) Área de transferência + Area System - Legendagem de áudio + Legendas ocultas + Area EaseOfAccess Filtros de cor + Area EaseOfAccess Gestão de cores + Area Control Panel (legacy settings) Cores + Area Personalization Comando + The command to direct start a setting - Dispositivos Ligados + Dispositivos ligados + Area Device Contactos + Area Privacy + + + Painel de controlo + Type of the setting is a "(legacy) Control Panel setting" Copiar comando - Isolamento do Núcleo + Isolamento de núcleo + Means the protection of the system core Cortana + Area Cortana Cortana nos meus dispositivos + Area Cortana Cortana - Idioma + Area Cortana Gestor de credenciais + Area Control Panel (legacy settings) Vários dispositivos @@ -417,9 +500,6 @@ Dispositivos personalizados - - DNS - Cor escura @@ -428,231 +508,327 @@ Utilização de dados + Area NetworkAndInternet Data e hora + Area TimeAndLanguage Aplicações predefinidas + Area Apps Câmara predefinida + Area Device Localização predefinida + Area Control Panel (legacy settings) Programas predefinidos + Area Control Panel (legacy settings) - Localizações para Guardar Predefinidas + Localizações predefinidas + Area System - Otimização da Entrega + Otimização de entrega + Area UpdateAndSecurity + + + desk.cpl + File name, Should not translated Temas do ambiente de trabalho + Area Control Panel (legacy settings) + + + deuteranopia + Medical: Mean you don't can see red colors Gestor de dispositivos + Area Control Panel (legacy settings) Dispositivos e impressoras + Area Control Panel (legacy settings) DHCP + Should not translated - Dial-up + Ligações + Area NetworkAndInternet Acesso direto + Area NetworkAndInternet, only available if DirectAccess is enabled Abrir diretamente o telefone + Area EaseOfAccess Ecrã + Area EaseOfAccess - Propriedades do ecrã + Propriedades de exibição + Area Control Panel (legacy settings) + + + DNS + Should not translated Documentos + Area Privacy - A duplicar o meu ecrã + Duplicar o ecrã + Area System Durante estas horas + Area System Centro de facilidade de acesso + Area Control Panel (legacy settings) Edição + Means the "Windows Edition" E-mail + Area Privacy Contas de e-mail e aplicações + Area UserAccounts Encriptação + Area System Ambiente + Area MixedReality, only available if the Mixed Reality Portal app is installed. Ethernet + Area NetworkAndInternet - Exploit Protection + Proteção 'exploit' Extras + Area Extra, , only used for setting of 3rd-Party tools Controlo ocular + Area EaseOfAccess Rastreador ocular + Area Privacy, requires eyetracker hardware Família e outras pessoas + Area UserAccounts Feedback e diagnósticos + Area Privacy Sistema de ficheiros + Area Privacy FindFast + Area Control Panel (legacy settings) + + + findfast.cpl + File name, Should not translated - Localizar o meu Dispositivo + Localizar dispositivo + Area UpdateAndSecurity Firewall Auxiliar de concentração – Horas de descanso + Area System Auxiliar de concentração – Momentos de pausa + Area System Opções de pasta + Area Control Panel (legacy settings) Tipos de letra + Area EaseOfAccess Para programadores + Area UpdateAndSecurity - Game bar + Barra de jogo + Area Gaming Controladores de jogo + Area Control Panel (legacy settings) Gravador de jogo + Area Gaming - Modo Jogo + Modo de jogo + Area Gaming Gateway + Should not translated Geral + Area Privacy Obter programas + Area Control Panel (legacy settings) Introdução + Area Control Panel (legacy settings) Reprodução Automática + Area Personalization, Deprecated in Windows 10, version 1809 and later Definições de gráficos + Area System Escala de cinzentos Semana verde + Mean you don't can see green colors - Ecrã do headset de realidade mista + Ecrã de realidade mista + Area MixedReality, only available if the Mixed Reality Portal app is installed. Alto contraste + Area EaseOfAccess Áudio holográfico - Ambiente Holográfico + Ambiente holográfico - Headset Holográfico + Auscultador holográfico - Gestão Holográfica + Gestão holográfica Grupo doméstico + Area Control Panel (legacy settings) ID + MEans The "Windows Identifier" Imagem Opções de indexação + Area Control Panel (legacy settings) + + + inetcpl.cpl + File name, Should not translated Infravermelhos + Area Control Panel (legacy settings) Tinta digital e escrita + Area Privacy Opções de Internet + Area Control Panel (legacy settings) + + + intl.cpl + File name, Should not translated Cores invertidas IP + Should not translated - Navegação Isolada + Navegação isolada - Definições de IME Japão + Definições de IME em japonês + Area TimeAndLanguage, available if the Microsoft Japan input method editor is installed + + + joy.cpl + File name, Should not translated Propriedades do joystick + Area Control Panel (legacy settings) + + + jpnime + Should not translated Teclado + Area EaseOfAccess Teclado numérico - Chaves + Teclas Idioma + Area TimeAndLanguage Cor clara @@ -662,102 +838,155 @@ Localização + Area Privacy Ecrã de bloqueio + Area Personalization Lupa + Area EaseOfAccess - Correio – Microsoft Exchange ou Mensagens do Windows + Correio – Microsoft Exchange ou Windows Messaging + Area Control Panel (legacy settings) + + + main.cpl + File name, Should not translated Gerir redes conhecidas + Area NetworkAndInternet Gerir funcionalidades opcionais + Area Apps Mensagens + Area Privacy - Ligação com tráfego limitado + Ligações limitadas Microfone + Area Privacy Microsoft Mail Post Office + Area Control Panel (legacy settings) + + + mlcfg32.cpl + File name, Should not translated + + + mmsys.cpl + File name, Should not translated Dispositivos móveis Hotspot móvel + Area NetworkAndInternet + + + modem.cpl + File name, Should not translated Mono Mais detalhes + Area Cortana Movimento + Area Privacy Rato + Area EaseOfAccess - Rato e touchpad + Rato e painel de toque + Area Device - Propriedades do Rato, Tipos de Letra, Teclado e Impressoras + Rato, tipos de letra, teclado e propriedades de impressoras + Area Control Panel (legacy settings) Ponteiro do rato + Area EaseOfAccess Propriedades multimédia + Area Control Panel (legacy settings) - Multitasking - - - NFC - - - Transações NFC + Multitarefas + Area System Narrador + Area EaseOfAccess Barra de navegação + Area Personalization + + + netcpl.cpl + File name, Should not translated + + + netsetup.cpl + File name, Should not translated Rede + Area NetworkAndInternet Centro de rede e partilha + Area Control Panel (legacy settings) Ligação de rede + Area Control Panel (legacy settings) Propriedades da rede + Area Control Panel (legacy settings) - Assistente de Configuração de Rede + Assistente de configuração de redes + Area Control Panel (legacy settings) Estado da rede + Area NetworkAndInternet + + + NFC + Area NetworkAndInternet + + + Transações NFC + "NFC should not translated" Luz noturna Definições de luz noturna + Area System Nota @@ -766,25 +995,25 @@ Disponível apenas quando tiver ligado um dispositivo móvel ao seu dispositivo. - Disponível apenas em dispositivos que suportam opções de gráficos avançadas. + Disponível apenas em dispositivos com suporte a opções avançadas de gráficos. Disponível apenas em dispositivos com bateria, como um tablet. - Preterido no Windows 10, versão 1809 (compilação 17763) e posterior. + Descontinuada no Windows 10, versão 1809 (compilação 17763) e posterior. - Só disponível se o Dispositivo de marcação estiver emparelhado. + Disponível apenas com emparelhamento. - Disponível apenas se o DirectAccess estiver ativado. + Disponível apenas se DirectAccess estiver ativo. - Disponível apenas em dispositivos que suportam opções de apresentação avançadas. + Disponível apenas em dispositivos com suporte a opções avançadas de exibição. - Presente apenas se o utilizador estiver inscrito no WIP. + Apenas se o utilizador estiver inscrito no WIP. Requer hardware de rastreio ocular. @@ -799,7 +1028,7 @@ Disponível se o editor de métodos de entrada Wubi da Microsoft estiver instalado. - Disponível apenas se a aplicação Portal de Realidade Mista estiver instalada. + Disponível apenas se a aplicação Mixed Reality Portal estiver instalada. Disponível apenas em dispositivos móveis e se a empresa tiver implementado um pacote de aprovisionamento. @@ -811,13 +1040,13 @@ Adicionado no Windows 10, versão 2004 (compilação 19041). - Só disponível se estiverem instaladas, por exemplo, “aplicações de definições” de terceiros. + Disponível se estiverem instaladas “aplicações de definições” de terceiros. - Disponível apenas se estiver presente hardware de touchpad. + Disponível apenas se estiver presente um painel de toque. - Disponível apenas se o dispositivo tiver um adaptador de Wi-Fi. + Disponível apenas se o dispositivo tiver um adaptador Wi-Fi. O dispositivo deve ter a capacidade Windows Anywhere. @@ -827,342 +1056,479 @@ Notificações + Area Privacy Notificações e ações + Area System Bloqueio Numérico + Mean the "Num Lock" key + + + nwc.cpl + File name, Should not translated + + + odbccp32.cpl + File name, Should not translated - Administrador da Origem de Dados ODBC (32 bits) + Administrador da origem de dados ODBC (32 bits) + Area Control Panel (legacy settings) - Administrador da Origem de Dados ODBC (64 bits) + Administrador da origem de dados ODBC (64 bits) + Area Control Panel (legacy settings) Ficheiros offline + Area Control Panel (legacy settings) - Mapas Offline + Mapas offline + Area Apps - Mapas Offline – Transferir mapas + Mapas offline – Descarregar mapas + Area Apps No ecrã SO + Means the "Operating System" Outros dispositivos + Area Privacy Outras opções + Area EaseOfAccess Outros utilizadores Controlos parentais + Area Control Panel (legacy settings) Palavra-passe + + password.cpl + File name, Should not translated + Propriedades da palavra-passe + Area Control Panel (legacy settings) Dispositivos de caneta e entrada + Area Control Panel (legacy settings) Caneta e toque + Area Control Panel (legacy settings) Caneta e Windows Ink + Area Device - Pessoas Perto de Mim + Pessoas na vizinhança + Area Control Panel (legacy settings) Informações e ferramentas de desempenho + Area Control Panel (legacy settings) Permissões e histórico + Area Cortana Personalização (categoria) + Area Personalization Telefone + Area Phone Telefone e modem + Area Control Panel (legacy settings) Telefone e modem – Opções + Area Control Panel (legacy settings) Chamadas telefónicas + Area Privacy Telefone – Aplicações predefinidas + Area System Imagem Imagens + Area Privacy Definições IME Pinyin + Area TimeAndLanguage, available if the Microsoft Pinyin input method editor is installed Definições de IME Pinyin – léxico de domínio + Area TimeAndLanguage Definições de IME Pinyin – Configuração de teclas + Area TimeAndLanguage Definições IME Pinyin – UDP + Area TimeAndLanguage - A jogar em ecrã inteiro + Jogos em ecrã completo + Area Gaming - Plug-in para pesquisa de definições do Windows + Plug-in para pesquisar nas definições do Windows Definições do Windows Energia e suspensão + Area System + + + powercfg.cpl + File name, Should not translated Opções de energia + Area Control Panel (legacy settings) Apresentação - - Print screen - Impressoras + Area Control Panel (legacy settings) Impressoras e scanners + Area Device + + + Tecla Print Screen + Mean the "Print screen" key Relatórios e soluções de problemas + Area Control Panel (legacy settings) Processador Programas e funcionalidades + Area Control Panel (legacy settings) - A projetar neste PC + Projetar neste PC + Area System + + + protanopia + Medical: Mean you don't can see green colors - A aprovisionar + Aprovisionamento + Area UserAccounts, only available if enterprise has deployed a provisioning package Proximidade + Area NetworkAndInternet Proxy + Area NetworkAndInternet QuickTime + Area TimeAndLanguage Jogo de momentos de pausa Rádios + Area Privacy RAM + Means the Read-Access-Memory (typical the used to inform about the size) Reconhecimento Recuperação + Area UpdateAndSecurity Olhos vermelhos + Mean red eye effect by over-the-night flights Vermelho-verde + Mean the weakness you can't differ between red and green colors Semana vermelha + Mean you don't can see red colors Região + Area TimeAndLanguage + + + Configuração regional + Area TimeAndLanguage + + + Propriedades de configurações regionais + Area Control Panel (legacy settings) Região e idioma + Area Control Panel (legacy settings) - Formatação da região - - - Idioma regional - - - Propriedades de definições regionais + Formatos regionais - Ligações RemoteApp e Ambientes de Trabalho + Ligações remotas + Area Control Panel (legacy settings) - Ambiente de Trabalho Remoto + Ambiente de trabalho remoto + Area System Scanners e câmaras + Area Control Panel (legacy settings) + + + schedtasks + File name, Should not translated - Agendado + Agendadas Tarefas agendadas + Area Control Panel (legacy settings) Rotação do ecrã + Area System Barras de deslocamento Bloqueio de deslocamento + Mean the "Scroll Lock" key SDNS + Should not translated - A pesquisar no Windows + Pesquisar no Windows + Area Cortana SecureDNS + Should not translated - Centro de Segurança + Centro de segurança + Area Control Panel (legacy settings) - Processador de Segurança + Processador de segurança - Limpeza da sessão - - - Configurar um quiosque + Limpeza de sessões + Area SurfaceHub Página inicial de definições + Area Home, Overview-page for all areas of settings + + + Configurar um 'kiosk' + Area UserAccounts Experiências partilhadas - - - Wi-Fi + Area System Atalhos + + Wi-Fi + dont translate this, is a short term to find entries + Opções de início de sessão + Area UserAccounts Opções de início de sessão – Bloqueio dinâmico + Area UserAccounts Tamanho + Size for text and symbols Som + Area System Voz + Area EaseOfAccess Reconhecimento de voz + Area Control Panel (legacy settings) Escrita por voz Iniciar + Area Personalization Locais de início Aplicações de arranque + Area Apps + + + sticpl.cpl + File name, Should not translated Armazenamento + Area System Políticas de armazenamento + Area System - Sensor de Armazenamento + Sensor de armazenamento + Area System + + + nas + Example: Area "System" in System settings Centro de sincronização + Area Control Panel (legacy settings) - Sincronizar as suas definições + Sincronizar as definições + Area UserAccounts + + + sysdm.cpl + File name, Should not translated Sistema + Area Control Panel (legacy settings) - Propriedades do sistema e assistente para Adicionar Novo Hardware + Propriedades do sistema e assistente para adicionar hardware + Area Control Panel (legacy settings) Separador + Means the key "Tabulator" on the keyboard Modo tablet + Area System Definições do tablet PC + Area Control Panel (legacy settings) Conversa Falar com a Cortana + Area Cortana Barra de tarefas + Area Personalization Cor da barra de tarefas Tarefas + Area Privacy - Conferência de Equipa + Conferência de equipas + Area SurfaceHub - Gestão de dispositivos de equipa + Gestão de dispositivos da equipa + Area SurfaceHub Conversão de texto em voz + Area Control Panel (legacy settings) Temas + Area Personalization + + + themes.cpl + File name, Should not translated + + + timedate.cpl + File name, Should not translated - Linha cronológica + Cronologia Toque @@ -1171,130 +1537,174 @@ Feedback de toque - Touchpad + Painel de toque + Area Device Transparência + + tritanopia + Medical: Mean you don't can see yellow and blue colors + - Resolução de Problemas + Resolução de problemas + Area UpdateAndSecurity TruePlay + Area Gaming Escrita + Area Device Desinstalar + Area MixedReality, only available if the Mixed Reality Portal app is installed. USB + Area Device Contas de utilizador + Area Control Panel (legacy settings) Versão + Means The "Windows Version" Reprodução de vídeo + Area Apps Vídeos + Area Privacy - Ambientes de Trabalho Virtuais + Ambientes de trabalho virtuais Vírus + Means the virus in computers and software Ativação por voz + Area Privacy Volume VPN + Area NetworkAndInternet - Padrão de fundo + Papel de parede Cor mais quente Centro de boas-vindas + Area Control Panel (legacy settings) Ecrã de boas-vindas + Area SurfaceHub + + + wgpocpl.cpl + File name, Should not translated Roda + Area Device Wi-Fi + Area NetworkAndInternet, only available if Wi-Fi calling is enabled Chamadas Wi-Fi + Area NetworkAndInternet, only available if Wi-Fi calling is enabled - Definições de Wi-Fi + Definições Wi-Fi + "Wi-Fi" should not translated Limite da janela - Windows Anytime Upgrade + Atualizações Windows Anytime + Area Control Panel (legacy settings) Windows Anywhere + Area UserAccounts, device must be Windows Anywhere-capable Windows CardSpace + Area Control Panel (legacy settings) Windows Defender + Area Control Panel (legacy settings) Firewall do Windows + Area Control Panel (legacy settings) Configuração do Windows Hello – Face + Area UserAccounts Configuração do Windows Hello – Impressão digital + Area UserAccounts Programa Windows Insider + Area UpdateAndSecurity - Windows Mobility Center + Centro de mobilidade do Windows + Area Control Panel (legacy settings) - Windows search + Pesquisa Windows + Area Cortana Segurança do Windows + Area UpdateAndSecurity Windows Update + Area UpdateAndSecurity Windows Update – Opções avançadas + Area UpdateAndSecurity - Windows Update – Verificar se há atualizações + Windows Update – Procurar atualizações + Area UpdateAndSecurity Windows Update – Opções de reinício + Area UpdateAndSecurity Windows Update – Ver atualizações opcionais + Area UpdateAndSecurity Windows Update – Ver histórico de atualizações + Area UpdateAndSecurity Sem fios @@ -1304,107 +1714,26 @@ Aprovisionamento do local de trabalho + Area UserAccounts Definições IME Wubi + Area TimeAndLanguage, available if the Microsoft Wubi input method editor is installed Definições Wubi IME – UDP + Area TimeAndLanguage Rede Xbox + Area Gaming As suas informações + Area UserAccounts - Zoom - - - - - - - - - bpmf - - - chamadas - - - - - - deuteranopia - - - - - - - - - - - - - - - jpnime - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - protanopia - - - schedtasks - - - - - - - - - - - - - - - tritanopia - - - + Ampliar + Mean zooming of things via a magnifier \ No newline at end of file From d9529508941f60d5debe591e391d49ce543d4e5f Mon Sep 17 00:00:00 2001 From: DB p Date: Wed, 8 Dec 2021 17:56:06 +0900 Subject: [PATCH 138/288] remove comment --- .../Views/CustomBrowserSetting.xaml | 62 ------------------- 1 file changed, 62 deletions(-) diff --git a/Plugins/Flow.Launcher.Plugin.BrowserBookmark/Views/CustomBrowserSetting.xaml b/Plugins/Flow.Launcher.Plugin.BrowserBookmark/Views/CustomBrowserSetting.xaml index 5b3478050..8a2a65f26 100644 --- a/Plugins/Flow.Launcher.Plugin.BrowserBookmark/Views/CustomBrowserSetting.xaml +++ b/Plugins/Flow.Launcher.Plugin.BrowserBookmark/Views/CustomBrowserSetting.xaml @@ -126,67 +126,5 @@ - From 932dea0ed3e29945a0d9642e47a37174cc369b16 Mon Sep 17 00:00:00 2001 From: DB p Date: Wed, 8 Dec 2021 18:27:26 +0900 Subject: [PATCH 139/288] Add Checkbox disable when no private arg --- Flow.Launcher/SelectBrowserWindow.xaml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/Flow.Launcher/SelectBrowserWindow.xaml b/Flow.Launcher/SelectBrowserWindow.xaml index 22b5c8e98..85083fa50 100644 --- a/Flow.Launcher/SelectBrowserWindow.xaml +++ b/Flow.Launcher/SelectBrowserWindow.xaml @@ -222,7 +222,17 @@ + IsChecked="{Binding EnablePrivate}"> + + + + From af2277de613f9ae7b140cfcd27e897f9f3f5ac04 Mon Sep 17 00:00:00 2001 From: Jeremy Date: Wed, 8 Dec 2021 21:49:14 +1100 Subject: [PATCH 140/288] add backwards compatibility for open in new browser tab/window --- Flow.Launcher.Plugin/SharedCommands/SearchWeb.cs | 16 ++++++++++++++-- Flow.Launcher/PublicAPIInstance.cs | 4 ++-- 2 files changed, 16 insertions(+), 4 deletions(-) diff --git a/Flow.Launcher.Plugin/SharedCommands/SearchWeb.cs b/Flow.Launcher.Plugin/SharedCommands/SearchWeb.cs index fd1841dda..bd0c620e9 100644 --- a/Flow.Launcher.Plugin/SharedCommands/SearchWeb.cs +++ b/Flow.Launcher.Plugin/SharedCommands/SearchWeb.cs @@ -35,7 +35,7 @@ namespace Flow.Launcher.Plugin.SharedCommands /// Opens search in a new browser. If no browser path is passed in then Chrome is used. /// Leave browser path blank to use Chrome. /// - public static void NewBrowserWindow(this string url, string browserPath = "", bool inPrivate = false, string privateArg = "") + public static void OpenInBrowserWindow(this string url, string browserPath = "", bool inPrivate = false, string privateArg = "") { browserPath = string.IsNullOrEmpty(browserPath) ? GetDefaultBrowserPath() : browserPath; @@ -71,10 +71,16 @@ namespace Flow.Launcher.Plugin.SharedCommands } } + [Obsolete("This is provided for backwards compatibility after 1.9.0 release, e.g. GitHub plugin. Use the new method instead")] + public static void NewBrowserWindow(this string url, string browserPath = "") + { + OpenInBrowserWindow(url, browserPath); + } + /// /// Opens search as a tab in the default browser chosen in Windows settings. /// - public static void NewTabInBrowser(this string url, string browserPath = "", bool inPrivate = false, string privateArg = "") + public static void OpenInBrowserTab(this string url, string browserPath = "", bool inPrivate = false, string privateArg = "") { browserPath = string.IsNullOrEmpty(browserPath) ? GetDefaultBrowserPath() : browserPath; @@ -105,5 +111,11 @@ namespace Flow.Launcher.Plugin.SharedCommands }); } } + + [Obsolete("This is provided for backwards compatibility after 1.9.0 release, e.g. GitHub plugin. Use the new method instead")] + public static void NewTabInBrowser(this string url, string browserPath = "") + { + OpenInBrowserTab(url, browserPath); + } } } \ No newline at end of file diff --git a/Flow.Launcher/PublicAPIInstance.cs b/Flow.Launcher/PublicAPIInstance.cs index 238a57cbc..46f192a91 100644 --- a/Flow.Launcher/PublicAPIInstance.cs +++ b/Flow.Launcher/PublicAPIInstance.cs @@ -217,10 +217,10 @@ namespace Flow.Launcher if (browserInfo.OpenInTab) { - url.NewTabInBrowser(path, browserInfo.EnablePrivate, browserInfo.PrivateArg); + url.OpenInBrowserTab(path, browserInfo.EnablePrivate, browserInfo.PrivateArg); }else { - url.NewBrowserWindow(path, browserInfo.EnablePrivate, browserInfo.PrivateArg); + url.OpenInBrowserWindow(path, browserInfo.EnablePrivate, browserInfo.PrivateArg); } } From 05fd41a1047b47e626cfbeef4ef95e7d27c93095 Mon Sep 17 00:00:00 2001 From: Kevin Zhang Date: Wed, 8 Dec 2021 10:38:37 -0600 Subject: [PATCH 141/288] fix new tab not save issue --- .../UserSettings/CustomBrowserViewModel.cs | 1 + Flow.Launcher/SelectBrowserWindow.xaml | 6 +++--- Flow.Launcher/SelectBrowserWindow.xaml.cs | 12 ++++++------ 3 files changed, 10 insertions(+), 9 deletions(-) diff --git a/Flow.Launcher.Infrastructure/UserSettings/CustomBrowserViewModel.cs b/Flow.Launcher.Infrastructure/UserSettings/CustomBrowserViewModel.cs index 30b7c5a68..83d5b14c9 100644 --- a/Flow.Launcher.Infrastructure/UserSettings/CustomBrowserViewModel.cs +++ b/Flow.Launcher.Infrastructure/UserSettings/CustomBrowserViewModel.cs @@ -18,6 +18,7 @@ namespace Flow.Launcher.Infrastructure.UserSettings { Name = Name, Path = Path, + OpenInTab = OpenInTab, PrivateArg = PrivateArg, EnablePrivate = EnablePrivate, Editable = Editable diff --git a/Flow.Launcher/SelectBrowserWindow.xaml b/Flow.Launcher/SelectBrowserWindow.xaml index 85083fa50..594a4325d 100644 --- a/Flow.Launcher/SelectBrowserWindow.xaml +++ b/Flow.Launcher/SelectBrowserWindow.xaml @@ -107,7 +107,7 @@ Margin="10,0,0,0" Click="btnDelete_Click" Content="{DynamicResource delete}" - IsEnabled="{Binding CustomExplorer.Editable}" /> + IsEnabled="{Binding CustomBrowser.Editable}" /> @@ -197,7 +197,7 @@ VerticalAlignment="Center" Orientation="Horizontal"> New Tab - New Window + New Window selectedCustomExplorerIndex; set + get => selectedCustomBrowserIndex; set { - selectedCustomExplorerIndex = value; - PropertyChanged?.Invoke(this, new(nameof(CustomExplorer))); + selectedCustomBrowserIndex = value; + PropertyChanged?.Invoke(this, new(nameof(CustomBrowser))); } } public ObservableCollection CustomBrowsers { get; set; } - public CustomBrowserViewModel CustomExplorer => CustomBrowsers[SelectedCustomBrowserIndex]; + public CustomBrowserViewModel CustomBrowser => CustomBrowsers[SelectedCustomBrowserIndex]; public SelectBrowserWindow(Settings settings) { Settings = settings; @@ -54,7 +54,7 @@ namespace Flow.Launcher { Settings.CustomBrowserList = CustomBrowsers.ToList(); Settings.CustomBrowserIndex = SelectedCustomBrowserIndex; - Close(); + Cl ose(); } private void btnAdd_Click(object sender, RoutedEventArgs e) From 38a9b9a5cb5320895dfd5394ca62dd66ed06344d Mon Sep 17 00:00:00 2001 From: DB P Date: Thu, 9 Dec 2021 02:13:02 +0900 Subject: [PATCH 142/288] Update SelectBrowserWindow.xaml.cs fix close from cl ose --- Flow.Launcher/SelectBrowserWindow.xaml.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Flow.Launcher/SelectBrowserWindow.xaml.cs b/Flow.Launcher/SelectBrowserWindow.xaml.cs index 9013d2756..37f0c47ae 100644 --- a/Flow.Launcher/SelectBrowserWindow.xaml.cs +++ b/Flow.Launcher/SelectBrowserWindow.xaml.cs @@ -54,7 +54,7 @@ namespace Flow.Launcher { Settings.CustomBrowserList = CustomBrowsers.ToList(); Settings.CustomBrowserIndex = SelectedCustomBrowserIndex; - Cl ose(); + Close(); } private void btnAdd_Click(object sender, RoutedEventArgs e) From 5ea8675c0262a7a69578519f8fa60f99a0989c38 Mon Sep 17 00:00:00 2001 From: Kevin Zhang <45326534+taooceros@users.noreply.github.com> Date: Wed, 8 Dec 2021 16:20:54 -0600 Subject: [PATCH 143/288] Update Flow.Launcher.Core/Plugin/JsonRPCPlugin.cs Co-authored-by: Jeremy Wu --- Flow.Launcher.Core/Plugin/JsonRPCPlugin.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Flow.Launcher.Core/Plugin/JsonRPCPlugin.cs b/Flow.Launcher.Core/Plugin/JsonRPCPlugin.cs index 624c58dec..cde21507e 100644 --- a/Flow.Launcher.Core/Plugin/JsonRPCPlugin.cs +++ b/Flow.Launcher.Core/Plugin/JsonRPCPlugin.cs @@ -40,7 +40,7 @@ namespace Flow.Launcher.Core.Plugin protected PluginInitContext context; public const string JsonRPC = "JsonRPC"; - /// /// The language this JsonRPCPlugin support /// public abstract string SupportedLanguage { get; set; } From 53f965f1f4e4c89e00dde95bf966aa9a256e36d5 Mon Sep 17 00:00:00 2001 From: Kevin Zhang Date: Wed, 8 Dec 2021 17:44:44 -0600 Subject: [PATCH 144/288] remove group to make sure everything static --- Flow.Launcher/SelectBrowserWindow.xaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Flow.Launcher/SelectBrowserWindow.xaml b/Flow.Launcher/SelectBrowserWindow.xaml index 594a4325d..3f0793c53 100644 --- a/Flow.Launcher/SelectBrowserWindow.xaml +++ b/Flow.Launcher/SelectBrowserWindow.xaml @@ -196,8 +196,8 @@ HorizontalAlignment="Left" VerticalAlignment="Center" Orientation="Horizontal"> - New Tab - New Window + New Tab + New Window Date: Wed, 8 Dec 2021 17:51:35 -0600 Subject: [PATCH 145/288] ignore openinnewwindow --- .../UserSettings/CustomBrowserViewModel.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Flow.Launcher.Infrastructure/UserSettings/CustomBrowserViewModel.cs b/Flow.Launcher.Infrastructure/UserSettings/CustomBrowserViewModel.cs index 83d5b14c9..24584115d 100644 --- a/Flow.Launcher.Infrastructure/UserSettings/CustomBrowserViewModel.cs +++ b/Flow.Launcher.Infrastructure/UserSettings/CustomBrowserViewModel.cs @@ -1,4 +1,5 @@ using Flow.Launcher.Plugin; +using System.Text.Json.Serialization; namespace Flow.Launcher.Infrastructure.UserSettings { @@ -9,6 +10,7 @@ namespace Flow.Launcher.Infrastructure.UserSettings public string PrivateArg { get; set; } public bool EnablePrivate { get; set; } public bool OpenInTab { get; set; } = true; + [JsonIgnore] public bool OpenInNewWindow => !OpenInTab; public bool Editable { get; set; } = true; From 721a6580f6036c2e5ed5d3644ed6a3b3c7fb2036 Mon Sep 17 00:00:00 2001 From: Hongtao Zhang Date: Wed, 8 Dec 2021 19:45:38 -0600 Subject: [PATCH 146/288] Change Space Position for NewWindow --- Flow.Launcher.Plugin/SharedCommands/SearchWeb.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Flow.Launcher.Plugin/SharedCommands/SearchWeb.cs b/Flow.Launcher.Plugin/SharedCommands/SearchWeb.cs index bd0c620e9..6c4ac8ebf 100644 --- a/Flow.Launcher.Plugin/SharedCommands/SearchWeb.cs +++ b/Flow.Launcher.Plugin/SharedCommands/SearchWeb.cs @@ -49,7 +49,7 @@ namespace Flow.Launcher.Plugin.SharedCommands var browser = string.IsNullOrEmpty(browserExecutableName) ? "chrome" : browserPath; // Internet Explorer will open url in new browser window, and does not take the --new-window parameter - var browserArguements = (browserExecutableName == "iexplore.exe" ? "" : "--new-window ") + (inPrivate ? $" {privateArg}" : "") + url; + var browserArguements = (browserExecutableName == "iexplore.exe" ? "" : "--new-window ") + (inPrivate ? $"{privateArg} " : "") + url; var psi = new ProcessStartInfo { From 13ccd582cee87c4a5b06aabfa01164c0ed7b541c Mon Sep 17 00:00:00 2001 From: Hongtao Zhang Date: Wed, 8 Dec 2021 21:06:52 -0600 Subject: [PATCH 147/288] move url before options --- Flow.Launcher.Plugin/SharedCommands/SearchWeb.cs | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/Flow.Launcher.Plugin/SharedCommands/SearchWeb.cs b/Flow.Launcher.Plugin/SharedCommands/SearchWeb.cs index 6c4ac8ebf..a744864da 100644 --- a/Flow.Launcher.Plugin/SharedCommands/SearchWeb.cs +++ b/Flow.Launcher.Plugin/SharedCommands/SearchWeb.cs @@ -49,7 +49,7 @@ namespace Flow.Launcher.Plugin.SharedCommands var browser = string.IsNullOrEmpty(browserExecutableName) ? "chrome" : browserPath; // Internet Explorer will open url in new browser window, and does not take the --new-window parameter - var browserArguements = (browserExecutableName == "iexplore.exe" ? "" : "--new-window ") + (inPrivate ? $"{privateArg} " : "") + url; + var browserArguements = (browserExecutableName == "iexplore.exe" ? "" : url + " --new-window ") + (inPrivate ? $"{privateArg}" : ""); var psi = new ProcessStartInfo { @@ -66,7 +66,8 @@ namespace Flow.Launcher.Plugin.SharedCommands { Process.Start(new ProcessStartInfo { - FileName = url, UseShellExecute = true + FileName = url, + UseShellExecute = true }); } } @@ -93,7 +94,7 @@ namespace Flow.Launcher.Plugin.SharedCommands if (!string.IsNullOrEmpty(browserPath)) { psi.FileName = browserPath; - psi.Arguments = (inPrivate ? $"{privateArg} " : "") + url; + psi.Arguments = url + (inPrivate ? $" {privateArg}" : ""); } else { @@ -107,7 +108,8 @@ namespace Flow.Launcher.Plugin.SharedCommands { Process.Start(new ProcessStartInfo { - FileName = url, UseShellExecute = true + FileName = url, + UseShellExecute = true }); } } From 238d4df1097b23a6256a15705c1a4eab5530df0a Mon Sep 17 00:00:00 2001 From: Hongtao Zhang Date: Wed, 8 Dec 2021 21:17:51 -0600 Subject: [PATCH 148/288] Add using for File.OpenRead --- Flow.Launcher.Core/Plugin/JsonRPCPlugin.cs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Flow.Launcher.Core/Plugin/JsonRPCPlugin.cs b/Flow.Launcher.Core/Plugin/JsonRPCPlugin.cs index cde21507e..384418db9 100644 --- a/Flow.Launcher.Core/Plugin/JsonRPCPlugin.cs +++ b/Flow.Launcher.Core/Plugin/JsonRPCPlugin.cs @@ -328,7 +328,10 @@ namespace Flow.Launcher.Core.Plugin return; if (File.Exists(SettingPath)) - Settings = await JsonSerializer.DeserializeAsync>(File.OpenRead(SettingPath), options); + { + await using var fileStream = File.OpenRead(SettingPath); + Settings = await JsonSerializer.DeserializeAsync>(fileStream, options); + } var deserializer = new DeserializerBuilder().WithNamingConvention(CamelCaseNamingConvention.Instance).Build(); _settingsTemplate = deserializer.Deserialize(await File.ReadAllTextAsync(SettingConfigurationPath)); From 581e84228ca446304eecb0460589f4ccc23abd6f Mon Sep 17 00:00:00 2001 From: Hongtao Zhang Date: Wed, 8 Dec 2021 21:06:52 -0600 Subject: [PATCH 149/288] Revert "move url before options" This reverts commit 13ccd582cee87c4a5b06aabfa01164c0ed7b541c. --- Flow.Launcher.Plugin/SharedCommands/SearchWeb.cs | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/Flow.Launcher.Plugin/SharedCommands/SearchWeb.cs b/Flow.Launcher.Plugin/SharedCommands/SearchWeb.cs index a744864da..6c4ac8ebf 100644 --- a/Flow.Launcher.Plugin/SharedCommands/SearchWeb.cs +++ b/Flow.Launcher.Plugin/SharedCommands/SearchWeb.cs @@ -49,7 +49,7 @@ namespace Flow.Launcher.Plugin.SharedCommands var browser = string.IsNullOrEmpty(browserExecutableName) ? "chrome" : browserPath; // Internet Explorer will open url in new browser window, and does not take the --new-window parameter - var browserArguements = (browserExecutableName == "iexplore.exe" ? "" : url + " --new-window ") + (inPrivate ? $"{privateArg}" : ""); + var browserArguements = (browserExecutableName == "iexplore.exe" ? "" : "--new-window ") + (inPrivate ? $"{privateArg} " : "") + url; var psi = new ProcessStartInfo { @@ -66,8 +66,7 @@ namespace Flow.Launcher.Plugin.SharedCommands { Process.Start(new ProcessStartInfo { - FileName = url, - UseShellExecute = true + FileName = url, UseShellExecute = true }); } } @@ -94,7 +93,7 @@ namespace Flow.Launcher.Plugin.SharedCommands if (!string.IsNullOrEmpty(browserPath)) { psi.FileName = browserPath; - psi.Arguments = url + (inPrivate ? $" {privateArg}" : ""); + psi.Arguments = (inPrivate ? $"{privateArg} " : "") + url; } else { @@ -108,8 +107,7 @@ namespace Flow.Launcher.Plugin.SharedCommands { Process.Start(new ProcessStartInfo { - FileName = url, - UseShellExecute = true + FileName = url, UseShellExecute = true }); } } From dbab7b6ab395a012e515416e6785a4c21349e0d9 Mon Sep 17 00:00:00 2001 From: Hongtao Zhang Date: Wed, 8 Dec 2021 21:39:31 -0600 Subject: [PATCH 150/288] Optional Inprivate argument & Comment --- Flow.Launcher.Plugin/Interfaces/IPublicAPI.cs | 5 ++++- Flow.Launcher/PublicAPIInstance.cs | 11 ++++++----- 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/Flow.Launcher.Plugin/Interfaces/IPublicAPI.cs b/Flow.Launcher.Plugin/Interfaces/IPublicAPI.cs index f87ca3969..c5a5231c0 100644 --- a/Flow.Launcher.Plugin/Interfaces/IPublicAPI.cs +++ b/Flow.Launcher.Plugin/Interfaces/IPublicAPI.cs @@ -213,6 +213,9 @@ namespace Flow.Launcher.Plugin /// Extra FileName Info public void OpenDirectory(string DirectoryPath, string FileName = null); - public void OpenUrl(string url); + /// + /// Open Url in the configured default browser for Flow's Settings. + /// + public void OpenUrl(string url, bool? inPrivate = null); } } diff --git a/Flow.Launcher/PublicAPIInstance.cs b/Flow.Launcher/PublicAPIInstance.cs index 46f192a91..f54bc23f0 100644 --- a/Flow.Launcher/PublicAPIInstance.cs +++ b/Flow.Launcher/PublicAPIInstance.cs @@ -114,7 +114,7 @@ namespace Flow.Launcher var startInfo = ShellCommand.SetProcessStartInfo(filename, arguments: args, createNoWindow: true); ShellCommand.Execute(startInfo); } - + public void CopyToClipboard(string text) { Clipboard.SetDataObject(text); @@ -209,7 +209,7 @@ namespace Flow.Launcher explorer.Start(); } - public void OpenUrl(string url) + public void OpenUrl(string url, bool? inPrivate = null) { var browserInfo = _settingsVM.Settings.CustomBrowser; @@ -217,10 +217,11 @@ namespace Flow.Launcher if (browserInfo.OpenInTab) { - url.OpenInBrowserTab(path, browserInfo.EnablePrivate, browserInfo.PrivateArg); - }else + url.OpenInBrowserTab(path, inPrivate ?? browserInfo.EnablePrivate, browserInfo.PrivateArg); + } + else { - url.OpenInBrowserWindow(path, browserInfo.EnablePrivate, browserInfo.PrivateArg); + url.OpenInBrowserWindow(path, inPrivate ?? browserInfo.EnablePrivate, browserInfo.PrivateArg); } } From 27d1796e486dafb9bc66de1165f2a7ecc0258965 Mon Sep 17 00:00:00 2001 From: Hongtao Zhang Date: Wed, 8 Dec 2021 21:48:27 -0600 Subject: [PATCH 151/288] Fix Suggestion Result Action --- Plugins/Flow.Launcher.Plugin.WebSearch/Main.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Plugins/Flow.Launcher.Plugin.WebSearch/Main.cs b/Plugins/Flow.Launcher.Plugin.WebSearch/Main.cs index 1394e8c15..31d56c108 100644 --- a/Plugins/Flow.Launcher.Plugin.WebSearch/Main.cs +++ b/Plugins/Flow.Launcher.Plugin.WebSearch/Main.cs @@ -136,7 +136,7 @@ namespace Flow.Launcher.Plugin.WebSearch ActionKeywordAssigned = searchSource.ActionKeyword == SearchSourceGlobalPluginWildCardSign ? string.Empty : searchSource.ActionKeyword, Action = c => { - searchSource.Url.Replace("{q}", Uri.EscapeDataString(o)); + _context.API.OpenUrl(searchSource.Url.Replace("{q}", Uri.EscapeDataString(o))); return true; } @@ -156,7 +156,7 @@ namespace Flow.Launcher.Plugin.WebSearch _settings = _context.API.LoadSettingJsonStorage(); _viewModel = new SettingsViewModel(_settings); - + var pluginDirectory = _context.CurrentPluginMetadata.PluginDirectory; var bundledImagesDirectory = Path.Combine(pluginDirectory, Images); From b3b85c1868dc464b875234832c81252f44492bb4 Mon Sep 17 00:00:00 2001 From: Jeremy Wu Date: Thu, 9 Dec 2021 19:45:11 +1100 Subject: [PATCH 152/288] update comment --- Flow.Launcher.Plugin/Interfaces/IPublicAPI.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Flow.Launcher.Plugin/Interfaces/IPublicAPI.cs b/Flow.Launcher.Plugin/Interfaces/IPublicAPI.cs index c5a5231c0..442657031 100644 --- a/Flow.Launcher.Plugin/Interfaces/IPublicAPI.cs +++ b/Flow.Launcher.Plugin/Interfaces/IPublicAPI.cs @@ -214,7 +214,7 @@ namespace Flow.Launcher.Plugin public void OpenDirectory(string DirectoryPath, string FileName = null); /// - /// Open Url in the configured default browser for Flow's Settings. + /// Opens the url. The browser and mode used is based on what's configured in Flow's default browser settings. /// public void OpenUrl(string url, bool? inPrivate = null); } From a9844fdb68c74633b136d4fce6f84f5040c72054 Mon Sep 17 00:00:00 2001 From: DB P Date: Thu, 9 Dec 2021 19:00:34 +0900 Subject: [PATCH 153/288] Update readme (#865) updated readme --- Flow.Launcher/SettingWindow.xaml.cs | 2 +- README.md | 278 ++++++++++++++++++++++------ 2 files changed, 226 insertions(+), 54 deletions(-) diff --git a/Flow.Launcher/SettingWindow.xaml.cs b/Flow.Launcher/SettingWindow.xaml.cs index ca5f28855..f17c18441 100644 --- a/Flow.Launcher/SettingWindow.xaml.cs +++ b/Flow.Launcher/SettingWindow.xaml.cs @@ -371,4 +371,4 @@ namespace Flow.Launcher } } -} \ No newline at end of file +} diff --git a/README.md b/README.md index 9fda057c0..690c848f6 100644 --- a/README.md +++ b/README.md @@ -1,86 +1,258 @@

+
- +

+
-![Maintenance](https://img.shields.io/maintenance/yes/3000) -[![Build status](https://ci.appveyor.com/api/projects/status/32r7s2skrgm9ubva?svg=true&retina=true)](https://ci.appveyor.com/project/JohnTheGr8/flow-launcher/branch/dev) -[![Github All Releases](https://img.shields.io/github/downloads/Flow-Launcher/Flow.Launcher/total.svg)](https://github.com/Flow-Launcher/Flow.Launcher/releases) -![GitHub Release Date](https://img.shields.io/github/release-date/Flow-Launcher/Flow.Launcher) -[![GitHub release (latest by date)](https://img.shields.io/github/v/release/Flow-Launcher/Flow.Launcher)](https://github.com/Flow-Launcher/Flow.Launcher/releases/latest) -[![Documentation](https://img.shields.io/badge/Documentation-7389D8)](https://flow-launcher.github.io/docs) -[![Discord](https://img.shields.io/discord/727828229250875472?color=7389D8&labelColor=6A7EC2&label=Community&logo=discord&logoColor=white)](https://discord.gg/AvgAQgh) +

+ + + +
+ + + + +

-Flow Launcher. Dedicated to make your workflow flow more seamlessly. Aimed at being more than an app launcher, it searches, integrates and expands on functionalities. Flow will continue to evolve, designed to be open and built with the community at heart. +

+Dedicated to making your workflow flow more seamless. Search everything from applications, files, bookmarks, YouTube, Twitter and more. Flow will continue to evolve, designed to be open and built with the community at heart. -Remember to star it, flow will love you more :) +

Remember to star it, flow will love you more :)

---- +

SOFTPEDIA EDITOR'S PICK

+ + + + +## 🎉 New Features in 1.9 + +![screenshot](https://user-images.githubusercontent.com/6903107/144855345-45535bc7-7777-4c5a-b8d9-d6ce8adc5e84.png) + +- All New Design. New Themes, New Setting Window. Animation & Sound Effect, Color Scheme aka Dark Mode. +- New Plugins, Plugin Store, Game Mode, Wizard window +- Full changelog + +

- Features • - Getting Started • + Getting StartedFeaturesPlugins • + HotkeysQuestions/SuggestionsDevelopment • - Documentation + Docs

---- + -## Features - -![The Flow](https://user-images.githubusercontent.com/26427004/82151677-fa9c7100-989f-11ea-9143-81de60aaf07d.gif) - -- Search everything from applications, files, bookmarks, YouTube, Twitter and more. All from the comfort of your keyboard without ever touching the mouse. -- Search for file contents. -- Do mathematical calculations and copy the result to clipboard. -- Support search using environment variable paths. -- Run batch and PowerShell commands as Administrator or a different user. -- Support languages from Chinese to Italian and more. -- Support wide range of plugins. -- Prioritise the order of each plugin's results. -- Save file or folder locations for quick access. -- Fully portable. - -[ **SOFTPEDIA EDITOR'S PICK**](https://www.softpedia.com/get/System/Launchers-Shutdown-Tools/Flow-Launcher.shtml) - -## Getting Started +## 🚗 Getting Started ### Installation | [Windows 7+ installer](https://github.com/Flow-Launcher/Flow.Launcher/releases/latest/download/Flow-Launcher-Setup.exe) | [Portable](https://github.com/Flow-Launcher/Flow.Launcher/releases/latest/download/Flow-Launcher-Portable.zip) | `WinGet install "Flow Launcher"` | -| --------------------------------- | --------------------------------- | --------------------------------- | +| :----------------------------------------------------------: | :----------------------------------------------------------: | :------------------------------: | -Windows may complain about security due to code not being signed, this will be completed at a later stage. If you downloaded from this repo, you are good to continue the set up. +> Windows may complain about security due to code not being signed, this will be completed at a later stage. If you downloaded from this repo, you are good to continue the set up. -### Usage -- Open flow's search window: Alt+Space is the default hotkey. -- Open context menu: on the selected result, press Ctrl+O/Shift+Enter. -- Cancel/Return to previous screen: Esc. -- Install/Uninstall/Update plugins: in the search window, type `pm` `install`/`uninstall`/`update` + the plugin name. +And you can download early access version. + + + +## 🎁 Features + +### Applications & Files + + + + +- Search for files or their contents. + + + + +- Support search using environment variable paths. + +### Web Search & Open URL + + + + + +### Browser Bookmarks + + + +### System Commands + + + +- Provides System related commands. shutdown, lock, settings, etc. +- System command list + +### Calculator + + + +- Do mathematical calculations and copy the result to clipboard. + +### Shell Command + + + +- Run batch and PowerShell commands as Administrator or a different user. +- Ctrl+Enter to Run as Administrator. + +### Explorer + + + +- Save file or folder locations for quick access. + +### Window Setting & Control Panel + + + +- Search within Window Settings & Control Panel. + + +### Priority + + + + +- Prioritise the order of each plugin's results. + +### Customization + +![Animation5](https://user-images.githubusercontent.com/6903107/144693887-1b92ed16-dca1-4b7e-8644-5e9524cdfb31.gif) + +- Window size adjustment, animation, and sound +- Color Scheme (aka Dark Mode) + +![themes](https://user-images.githubusercontent.com/6903107/144527796-7c06ca31-d933-4f6b-9eb0-4fb06fa94384.png) + +- There are various themes and you can make it yourself. + +### 💬 Language + +- Support languages from Chinese to Italian and more. +- Support Pinyin. +- Translation support this project in [Crowdin](https://crowdin.com/project/flow-launcher) + +### Portable + +- Fully portable. - Type `flow user data` to open your saved user settings folder. They are located at: - If using roaming: `%APPDATA%\FlowLauncher` - If using portable, by default: `%localappdata%\FlowLauncher\app-\UserData` -- Type `open log location` to open your logs folder, they are saved along with your user settings folder. + - Type `open log location` to open your logs folder, they are saved along with your user settings folder. -[More tips](https://flow-launcher.github.io/docs/#/usage-tips) +### 🎮 Game Mode -### Plugins + -Flow searches files and contents via Windows Index Search, to use **Everything**: `pm install everything`. +- Suspend the hotkey when you are playing games. -If you are using Python plugins, flow will prompt to either select the location or allow Python (Embeddable) to be automatic downloaded for use. + -Vist [here](https://flow-launcher.github.io/docs/#/plugins) for our plugin portfolio. +## 📦 Plugins -If you are keen to write your own plugin for flow, please take a look at our plugin development documentation for [C#](https://flow-launcher.github.io/docs/#/develop-dotnet-plugins) or [Python](https://flow-launcher.github.io/docs/#/develop-py-plugins) +- Support wide range of plugins. Visit [here](https://flow-launcher.github.io/docs/#/plugins) for our plugin portfolio. +- If you are using Python plugins, flow will prompt to either select the location or allow Python (Embeddable) to be automatic downloaded for use. +- Create and publish your own plugin to flow! Take a look at our plugin development documentation for [C#](https://flow-launcher.github.io/docs/#/develop-dotnet-plugins) or [Python](https://flow-launcher.github.io/docs/#/develop-py-plugins) -## Questions/Suggestions +### Everything + -Yes please, let us know in the [Q&A](https://github.com/Flow-Launcher/Flow.Launcher/discussions/categories/q-a) section. +### SpotifyPremium + -**Join our community on [Discord](https://discord.gg/AvgAQgh)!** + +### Steam Search + + + +### Clipboard History + + +### Home Assistant Commander + + +### Colors + + + +### Github + + +### Windows Walker + + +......and more! + + + +### 🛒 Plugin Store + +![pluginstore](https://user-images.githubusercontent.com/6903107/144528115-3b6baa89-f53f-40db-8426-02c4db8dd2b5.png) + +- You can view the full plugin list or quickly install a plugin via the Plugin Store menu in Settings + +- or type `pm` `install`/`uninstall`/`update` + the plugin name in the search window, + + + + +## ⌨️ Hotkeys + +| Hotkey | Description | +| ------------------------------------------------------------ | -------------------------------------------- | +| Alt+ Space | Open Search Box (Default and Configurable) | +| Enter | Execute | +| Ctrl+Shift+Enter | Run As Admin | +| | Scroll up & Down | +| | Back to Result / Open Context Menu | +| Ctrl +o , Shift +Enter | Open Context Menu | +| Tab | Autocomplete | +| Esc | Back to Result & Close | +| Ctrl +i | Open Setting Window | +| F5 | Reload All Plugin Data & Window Search Index | +| Ctrl + h | Open Query History | + + +## System Command List + +| Command | Description | +| ---------------------- | ------------------------------------------------------------ | +| Shutdown | Shutdown computer | +| Restart | Restart computer | +| Restart with advance | Restart the computer with Advanced Boot option for safe and debugging modes | +| Log off | Log off | +| Lock | Lock computer | +| Sleep | Put computer to sleep | +| Hibernate | Hibernate computer | +| Empty Recycle Bin | Empty recycle bin | +| Exit | Close Flow Launcher | +| Save Settings | Save all Flow Launcher settings | +| Restart Flow Launcher | Restart Flow Launcher | +| Settings | Tweak this app | +| Reload Plugin Data | Refreshes plugin data with new content | +| Check For Update | Check for new Flow Launcher update | +| Open Log Location | Open Flow Launcher's log location | +| Flow Launcher Tip | Visit Flow Launcher's documentation for more help and how to use tips | +| Flow Launcher UserData | Open the location where Flow Launcher's settings are stored | + +### 💁‍♂️ Tips + +- [More tips](https://flow-launcher.github.io/docs/#/usage-tips) + + + +## ❔ Questions/Suggestions + +Yes please, let us know in the [Q&A](https://github.com/Flow-Launcher/Flow.Launcher/discussions/categories/q-a) section. **Join our community on [Discord](https://discord.gg/AvgAQgh)!** ## Development @@ -98,8 +270,8 @@ Get in touch if you like to join the Flow-Launcher Team and help build this grea ### Developing/Debugging -Flow Launcher's target framework is .Net 5 +- Flow Launcher's target framework is .Net 5 -Install Visual Studio 2019 +- Install Visual Studio 2019 -Install .Net 5 SDK via Visual Studio installer or manually from [here](https://dotnet.microsoft.com/download/dotnet/thank-you/sdk-5.0.103-windows-x64-installer) +- Install .Net 5 SDK via Visual Studio installer or manually from [here](https://dotnet.microsoft.com/download/dotnet/thank-you/sdk-5.0.103-windows-x64-installer) From f3504b896d1235f0c3f6929f262863bb48d659d0 Mon Sep 17 00:00:00 2001 From: Jeremy Date: Fri, 10 Dec 2021 08:02:32 +1100 Subject: [PATCH 154/288] refresh Nuget publish --- appveyor.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/appveyor.yml b/appveyor.yml index 31b4b4174..98323ba7b 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -47,7 +47,7 @@ deploy: - provider: NuGet artifact: Plugin nupkg api_key: - secure: n80IeWR3pN81p0w4uXq4mO0TdTXoJSHHFL+yTB9YBJ0Wni2DjZGYwOFdaWzW4hRi + secure: M0FYTgnThhthw9FPAI51CR0l5/te1VSh914YbCtOfDTTLYgbA/Ii9R91sc5l5bAN on: APPVEYOR_REPO_TAG: true From 0a35810d04eb84470b29c237feaf82883a060975 Mon Sep 17 00:00:00 2001 From: DB p Date: Fri, 10 Dec 2021 09:21:55 +0900 Subject: [PATCH 155/288] Adjust label width in CustomQueryHotkey Change Done Button Style to Accent --- Flow.Launcher/CustomQueryHotkeySetting.xaml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/Flow.Launcher/CustomQueryHotkeySetting.xaml b/Flow.Launcher/CustomQueryHotkeySetting.xaml index 4ba55b110..b69af88c7 100644 --- a/Flow.Launcher/CustomQueryHotkeySetting.xaml +++ b/Flow.Launcher/CustomQueryHotkeySetting.xaml @@ -82,7 +82,7 @@ @@ -151,7 +151,8 @@ Width="100" Height="32" Margin="5,0,10,0" - Click="btnAdd_OnClick"> + Click="btnAdd_OnClick" + Style="{StaticResource AccentButtonStyle}"> From fac1b3a7ad5744705e970e52529b5b9d67822c83 Mon Sep 17 00:00:00 2001 From: DB p Date: Fri, 10 Dec 2021 10:44:46 +0900 Subject: [PATCH 156/288] Change Checkbox position right to left --- .../Views/PluginsManagerSettings.xaml | 33 ++++++++++--------- 1 file changed, 17 insertions(+), 16 deletions(-) diff --git a/Plugins/Flow.Launcher.Plugin.PluginsManager/Views/PluginsManagerSettings.xaml b/Plugins/Flow.Launcher.Plugin.PluginsManager/Views/PluginsManagerSettings.xaml index d75803066..a62a032f7 100644 --- a/Plugins/Flow.Launcher.Plugin.PluginsManager/Views/PluginsManagerSettings.xaml +++ b/Plugins/Flow.Launcher.Plugin.PluginsManager/Views/PluginsManagerSettings.xaml @@ -1,20 +1,21 @@ - - + + - - + + - - - + From d1047c98dcde718bce8a930f72266770b35ba39b Mon Sep 17 00:00:00 2001 From: DB p Date: Fri, 10 Dec 2021 12:37:09 +0900 Subject: [PATCH 157/288] Change Wizard window to modal (when open in settingwindow only) --- Flow.Launcher/SettingWindow.xaml.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Flow.Launcher/SettingWindow.xaml.cs b/Flow.Launcher/SettingWindow.xaml.cs index f17c18441..338b96406 100644 --- a/Flow.Launcher/SettingWindow.xaml.cs +++ b/Flow.Launcher/SettingWindow.xaml.cs @@ -293,7 +293,7 @@ namespace Flow.Launcher private void OpenWelcomeWindow(object sender, RoutedEventArgs e) { var WelcomeWindow = new WelcomeWindow(settings); - WelcomeWindow.Show(); + WelcomeWindow.ShowDialog(); } private void OpenLogFolder(object sender, RoutedEventArgs e) { From d573c48bbe882445262d5a0464d7c972944f4d7e Mon Sep 17 00:00:00 2001 From: DB p Date: Fri, 10 Dec 2021 12:39:52 +0900 Subject: [PATCH 158/288] Add Autocomplete Key (Page3) in Wizard --- Flow.Launcher/Languages/en.xaml | 1 + .../Resources/Pages/WelcomePage3.xaml | 26 ++++++++++++++++--- 2 files changed, 24 insertions(+), 3 deletions(-) diff --git a/Flow.Launcher/Languages/en.xaml b/Flow.Launcher/Languages/en.xaml index e11cbd5cb..516471ba3 100644 --- a/Flow.Launcher/Languages/en.xaml +++ b/Flow.Launcher/Languages/en.xaml @@ -267,6 +267,7 @@ Run as Admin Query History Back to Result in Context Menu + Autocomplete Open / Run Selected Item Open Setting Window Reload Plugin Data diff --git a/Flow.Launcher/Resources/Pages/WelcomePage3.xaml b/Flow.Launcher/Resources/Pages/WelcomePage3.xaml index b424af3d8..e7920d34e 100644 --- a/Flow.Launcher/Resources/Pages/WelcomePage3.xaml +++ b/Flow.Launcher/Resources/Pages/WelcomePage3.xaml @@ -4,14 +4,14 @@ xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:local="clr-namespace:Flow.Launcher.Resources.Pages" - xmlns:ui="http://schemas.modernwpf.com/2019" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" + xmlns:ui="http://schemas.modernwpf.com/2019" Title="WelcomePage3" mc:Ignorable="d"> - - - From 261fdd05ed83c6ba1d41fec2e0e7f293bb9e1127 Mon Sep 17 00:00:00 2001 From: DB p Date: Sun, 12 Dec 2021 06:17:25 +0900 Subject: [PATCH 168/288] Change Toggle Switch Width to responsive --- .../Resources/CustomControlTemplate.xaml | 377 ++++++++++++++++++ Flow.Launcher/SettingWindow.xaml | 35 +- 2 files changed, 393 insertions(+), 19 deletions(-) diff --git a/Flow.Launcher/Resources/CustomControlTemplate.xaml b/Flow.Launcher/Resources/CustomControlTemplate.xaml index def8c3ba3..a021d5de2 100644 --- a/Flow.Launcher/Resources/CustomControlTemplate.xaml +++ b/Flow.Launcher/Resources/CustomControlTemplate.xaml @@ -1452,7 +1452,384 @@ + 0:0:0.033 + 0:0:0.367 + 0.1,0.9 0.2,1.0 + + + - + + Date: Wed, 15 Dec 2021 12:20:49 +0900 Subject: [PATCH 178/288] Adjust Layout in CustomBrowserSetting in Bookmark Plugin --- .../Views/CustomBrowserSetting.xaml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Plugins/Flow.Launcher.Plugin.BrowserBookmark/Views/CustomBrowserSetting.xaml b/Plugins/Flow.Launcher.Plugin.BrowserBookmark/Views/CustomBrowserSetting.xaml index 4fc12e89f..9a0f0cf92 100644 --- a/Plugins/Flow.Launcher.Plugin.BrowserBookmark/Views/CustomBrowserSetting.xaml +++ b/Plugins/Flow.Launcher.Plugin.BrowserBookmark/Views/CustomBrowserSetting.xaml @@ -74,7 +74,7 @@ - + @@ -94,14 +94,14 @@ Grid.Column="1" Width="120" Height="34" - Margin="5,0,0,0" + Margin="5,0,10,0" HorizontalAlignment="Left" VerticalAlignment="Center" Text="{Binding Name}" /> + Date: Wed, 15 Dec 2021 12:48:56 +0900 Subject: [PATCH 181/288] Add Default Browser Setting Strings in Portugee --- Flow.Launcher/Languages/pt-pt.xaml | 21 ++++++++++++++++++--- 1 file changed, 18 insertions(+), 3 deletions(-) diff --git a/Flow.Launcher/Languages/pt-pt.xaml b/Flow.Launcher/Languages/pt-pt.xaml index 0bee02ace..b14ed3c5d 100644 --- a/Flow.Launcher/Languages/pt-pt.xaml +++ b/Flow.Launcher/Languages/pt-pt.xaml @@ -1,5 +1,8 @@ - - + + Falha ao registar tecla de atalho: {0} Não foi possível iniciar {0} @@ -36,6 +39,8 @@ Desativar ativação do Flow Launcher se alguma aplicação estiver em ecrã completo (recomendado para jogos) Gestor de ficheiros padrão Selecione o gestor de ficheiros utilizado para abrir a página + Default Web Browser + Setting for New Tab, New Window, Private Mode. Diretório Python Atualização automática Selecionar @@ -160,6 +165,16 @@ Argumento para pasta Argumento para ficheiro + + Default Web Browser + The default setting follows the OS default browser setting. If specified separately, flow uses that browser. + Browser + Browser Name + Browser Path + New Window + New Tab + Priviate Mode + Alterar prioridade Quanto maior for o número, melhor avaliação terá o resultado. Experimente com o número 5. Se quiser que os resultados sejam inferiores aos dos outros plugins, indique um número negativo. @@ -214,7 +229,7 @@ A atualizar... Flow Launcher não conseguiu mover o seu perfil de dados para a nova versão. -Queira por favor mover a pasta do seu perfil de {0} para {1} + Queira por favor mover a pasta do seu perfil de {0} para {1} Nova atualização Está disponível a versão {0} do Flow Launcher From 3b5b3abf21af45c917faab84ff06008d6921e1cd Mon Sep 17 00:00:00 2001 From: DB p Date: Wed, 15 Dec 2021 12:51:50 +0900 Subject: [PATCH 182/288] Add BookmarkData Window Title String in portugee --- .../Languages/pt-pt.xaml | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/Plugins/Flow.Launcher.Plugin.BrowserBookmark/Languages/pt-pt.xaml b/Plugins/Flow.Launcher.Plugin.BrowserBookmark/Languages/pt-pt.xaml index 259f34c85..a6e00ba92 100644 --- a/Plugins/Flow.Launcher.Plugin.BrowserBookmark/Languages/pt-pt.xaml +++ b/Plugins/Flow.Launcher.Plugin.BrowserBookmark/Languages/pt-pt.xaml @@ -1,11 +1,15 @@ - - + + - - Marcadores do navegador - Pesquisar nos marcadores do navegador + + Marcadores do navegador + Pesquisar nos marcadores do navegador - + + Bookmmark Data Abrir marcadores em: Nova janela Novo separador From 99650638d81166f7e467cfe0d588bdca06e53f21 Mon Sep 17 00:00:00 2001 From: DB p Date: Wed, 15 Dec 2021 13:36:04 +0900 Subject: [PATCH 183/288] Adjust Color Scheme Button Size --- Flow.Launcher/SettingWindow.xaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Flow.Launcher/SettingWindow.xaml b/Flow.Launcher/SettingWindow.xaml index 27286587a..b3133f814 100644 --- a/Flow.Launcher/SettingWindow.xaml +++ b/Flow.Launcher/SettingWindow.xaml @@ -1934,7 +1934,7 @@ Date: Wed, 15 Dec 2021 13:51:39 +0900 Subject: [PATCH 184/288] Adjust Calculator layout to responsive --- .../Views/CalculatorSettings.xaml | 92 +++++++++++-------- 1 file changed, 52 insertions(+), 40 deletions(-) diff --git a/Plugins/Flow.Launcher.Plugin.Calculator/Views/CalculatorSettings.xaml b/Plugins/Flow.Launcher.Plugin.Calculator/Views/CalculatorSettings.xaml index 01108895d..c0621a2d9 100644 --- a/Plugins/Flow.Launcher.Plugin.Calculator/Views/CalculatorSettings.xaml +++ b/Plugins/Flow.Launcher.Plugin.Calculator/Views/CalculatorSettings.xaml @@ -1,58 +1,70 @@ - + - + - + - - + + - - + + - - + + - + - - - + + From 70e48af298cccce9ebe5b0ffcc5457d0fbfcf000 Mon Sep 17 00:00:00 2001 From: DB p Date: Wed, 15 Dec 2021 18:56:41 +0900 Subject: [PATCH 185/288] Update Korean language --- Flow.Launcher/Languages/ko.xaml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/Flow.Launcher/Languages/ko.xaml b/Flow.Launcher/Languages/ko.xaml index 66d101a5a..bbebe910d 100644 --- a/Flow.Launcher/Languages/ko.xaml +++ b/Flow.Launcher/Languages/ko.xaml @@ -164,6 +164,16 @@ 폴더경로 인수 파일경로 인수 + + 기본 웹 브라우저r + 기본 설정은 OS의 브라우저 설정을 따릅니다. 별도 설정시 Flow Launcher가 해당 브라우저를 사용합니다. + 브라우저 + 브라우저 이름 + 브라우저 경로 + 새 창 + 새 탭 + 프라이빗 모드 + 중요도 변경 높은 수를 넣을수록 상위 결과에 표시됩니다. 5를 시도해보세요. 다른 플러그인 보다 결과를 낮춰 표시하고 싶다면, 그보다 낮은 수를 입력하세요. From 21ddf4c9ef787b6ad135fdfe6a71be6a73d2ef63 Mon Sep 17 00:00:00 2001 From: DB p Date: Wed, 15 Dec 2021 19:02:01 +0900 Subject: [PATCH 186/288] Add Korean Strings --- Flow.Launcher/Languages/ko.xaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Flow.Launcher/Languages/ko.xaml b/Flow.Launcher/Languages/ko.xaml index bbebe910d..9bc8ac762 100644 --- a/Flow.Launcher/Languages/ko.xaml +++ b/Flow.Launcher/Languages/ko.xaml @@ -38,6 +38,8 @@ 게이머라면 켜는 것을 추천합니다. 기본 파일관리자 폴더를 열 때 사용할 파일관리자를 선택하세요. + 기본 웹 브라우저 + 새 탭, 새 창, 프라이빗 모드 설정 Python 디렉토리 자동 업데이트 선택 From 155156f7f1ca31c7c137997d1dfbf73126088852 Mon Sep 17 00:00:00 2001 From: DB p Date: Wed, 15 Dec 2021 19:41:51 +0900 Subject: [PATCH 187/288] Add String in ContextMenu --- Flow.Launcher/Languages/en.xaml | 3 +++ Flow.Launcher/Languages/ko.xaml | 3 +++ Flow.Launcher/MainWindow.xaml | 10 ++++------ 3 files changed, 10 insertions(+), 6 deletions(-) diff --git a/Flow.Launcher/Languages/en.xaml b/Flow.Launcher/Languages/en.xaml index 73c4bb692..ab524b70a 100644 --- a/Flow.Launcher/Languages/en.xaml +++ b/Flow.Launcher/Languages/en.xaml @@ -15,6 +15,9 @@ About Exit Close + Copy + Cut + Paste Game Mode Suspend the use of Hotkeys. diff --git a/Flow.Launcher/Languages/ko.xaml b/Flow.Launcher/Languages/ko.xaml index 9bc8ac762..b26ce82fb 100644 --- a/Flow.Launcher/Languages/ko.xaml +++ b/Flow.Launcher/Languages/ko.xaml @@ -15,6 +15,9 @@ 정보 종료 닫기 + 복사 + 잘라내기 + 붙여넣기 게임 모드 단축키 사용을 일시중단합니다. diff --git a/Flow.Launcher/MainWindow.xaml b/Flow.Launcher/MainWindow.xaml index 129ceeea5..75120322f 100644 --- a/Flow.Launcher/MainWindow.xaml +++ b/Flow.Launcher/MainWindow.xaml @@ -41,9 +41,7 @@ - + - - - + + + Date: Wed, 15 Dec 2021 19:48:33 +0900 Subject: [PATCH 188/288] Adjust Korean String in WindowsSetting --- .../Properties/Resources.ko-KR.resx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Plugins/Flow.Launcher.Plugin.WindowsSettings/Properties/Resources.ko-KR.resx b/Plugins/Flow.Launcher.Plugin.WindowsSettings/Properties/Resources.ko-KR.resx index e5859a469..ccfee5aef 100644 --- a/Plugins/Flow.Launcher.Plugin.WindowsSettings/Properties/Resources.ko-KR.resx +++ b/Plugins/Flow.Launcher.Plugin.WindowsSettings/Properties/Resources.ko-KR.resx @@ -112,10 +112,10 @@ 2.0 - System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + System.Resources.ResXResourceReader, System.Windows.Forms, Version=5.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=5.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 정보 @@ -931,7 +931,7 @@ 게임 전체 화면 재생 - Windows 설정을 검색하는 플러그 인 + Windows 설정을 검색하는 플러그인 Windows 설정 From d7d567e22bb359df11707b67e987aede953b3f1b Mon Sep 17 00:00:00 2001 From: DB p Date: Thu, 16 Dec 2021 00:28:35 +0900 Subject: [PATCH 189/288] Change Searchsource Window layout to responsive (in WebSearch Plugin) --- .../SearchSourceSetting.xaml | 196 +++++++++--------- 1 file changed, 102 insertions(+), 94 deletions(-) diff --git a/Plugins/Flow.Launcher.Plugin.WebSearch/SearchSourceSetting.xaml b/Plugins/Flow.Launcher.Plugin.WebSearch/SearchSourceSetting.xaml index 12228853d..f36db153d 100644 --- a/Plugins/Flow.Launcher.Plugin.WebSearch/SearchSourceSetting.xaml +++ b/Plugins/Flow.Launcher.Plugin.WebSearch/SearchSourceSetting.xaml @@ -69,7 +69,7 @@ Text="{DynamicResource flowlauncher_plugin_websearch_window_title}" TextAlignment="Left" /> - + - - - - - - -