mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
Fix typo 'seperator'
This commit is contained in:
parent
1d625c9134
commit
13fcdc60fa
6 changed files with 21 additions and 21 deletions
|
|
@ -448,7 +448,7 @@ namespace Flow.Launcher.Core.Plugin
|
||||||
{
|
{
|
||||||
var sep = new Separator();
|
var sep = new Separator();
|
||||||
|
|
||||||
sep.SetResourceReference(Separator.StyleProperty, "SettingPanelSeperatorStyle");
|
sep.SetResourceReference(Separator.StyleProperty, "SettingPanelSeparatorStyle");
|
||||||
|
|
||||||
contentControl = sep;
|
contentControl = sep;
|
||||||
|
|
||||||
|
|
@ -458,7 +458,7 @@ namespace Flow.Launcher.Core.Plugin
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
// If type is textBlock or seperator, we just add the content control to the main grid
|
// If type is textBlock or separator, we just add the content control to the main grid
|
||||||
if (panel == null)
|
if (panel == null)
|
||||||
{
|
{
|
||||||
// Add the content control to the column 0, row rowCount and columnSpan 2 of the main grid
|
// Add the content control to the column 0, row rowCount and columnSpan 2 of the main grid
|
||||||
|
|
@ -498,7 +498,7 @@ namespace Flow.Launcher.Core.Plugin
|
||||||
|
|
||||||
private static bool NeedSaveInSettings(string type)
|
private static bool NeedSaveInSettings(string type)
|
||||||
{
|
{
|
||||||
return type != "textBlock" && type != "seperator" && type != "hyperlink";
|
return type != "textBlock" && type != "separator" && type != "hyperlink";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -5596,7 +5596,7 @@
|
||||||
<Thickness x:Key="SettingPanelItemLeftTopBottomMargin">9,4.5,0,4.5</Thickness>
|
<Thickness x:Key="SettingPanelItemLeftTopBottomMargin">9,4.5,0,4.5</Thickness>
|
||||||
<Thickness x:Key="SettingPanelItemRightTopBottomMargin">0,4.5,9,4.5</Thickness>
|
<Thickness x:Key="SettingPanelItemRightTopBottomMargin">0,4.5,9,4.5</Thickness>
|
||||||
|
|
||||||
<Style x:Key="SettingPanelSeperatorStyle" TargetType="Separator">
|
<Style x:Key="SettingPanelSeparatorStyle" TargetType="Separator">
|
||||||
<Setter Property="Margin" Value="-70 13.5 -18 13.5" />
|
<Setter Property="Margin" Value="-70 13.5 -18 13.5" />
|
||||||
<Setter Property="Height" Value="1" />
|
<Setter Property="Height" Value="1" />
|
||||||
<Setter Property="VerticalAlignment" Value="Top" />
|
<Setter Property="VerticalAlignment" Value="Top" />
|
||||||
|
|
|
||||||
|
|
@ -155,16 +155,16 @@ namespace Flow.Launcher.Plugin.Calculator
|
||||||
return value.ToString(numberFormatInfo);
|
return value.ToString(numberFormatInfo);
|
||||||
}
|
}
|
||||||
|
|
||||||
private string GetDecimalSeparator()
|
private static string GetDecimalSeparator()
|
||||||
{
|
{
|
||||||
string systemDecimalSeperator = CultureInfo.CurrentCulture.NumberFormat.NumberDecimalSeparator;
|
string systemDecimalSeparator = CultureInfo.CurrentCulture.NumberFormat.NumberDecimalSeparator;
|
||||||
switch (_settings.DecimalSeparator)
|
return _settings.DecimalSeparator switch
|
||||||
{
|
{
|
||||||
case DecimalSeparator.UseSystemLocale: return systemDecimalSeperator;
|
DecimalSeparator.UseSystemLocale => systemDecimalSeparator,
|
||||||
case DecimalSeparator.Dot: return dot;
|
DecimalSeparator.Dot => dot,
|
||||||
case DecimalSeparator.Comma: return comma;
|
DecimalSeparator.Comma => comma,
|
||||||
default: return systemDecimalSeperator;
|
_ => systemDecimalSeparator,
|
||||||
}
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
private bool IsBracketComplete(string query)
|
private bool IsBracketComplete(string query)
|
||||||
|
|
|
||||||
|
|
@ -334,7 +334,7 @@
|
||||||
Grid.Column="0"
|
Grid.Column="0"
|
||||||
Grid.ColumnSpan="2"
|
Grid.ColumnSpan="2"
|
||||||
Orientation="Vertical">
|
Orientation="Vertical">
|
||||||
<Separator Style="{StaticResource SettingPanelSeperatorStyle}" />
|
<Separator Style="{StaticResource SettingPanelSeparatorStyle}" />
|
||||||
<TextBlock Style="{StaticResource HeaderTextBlockStyle}" Text="{DynamicResource plugin_explorer_native_context_menu_header}" />
|
<TextBlock Style="{StaticResource HeaderTextBlockStyle}" Text="{DynamicResource plugin_explorer_native_context_menu_header}" />
|
||||||
</StackPanel>
|
</StackPanel>
|
||||||
|
|
||||||
|
|
@ -390,7 +390,7 @@
|
||||||
Grid.Column="0"
|
Grid.Column="0"
|
||||||
Grid.ColumnSpan="2"
|
Grid.ColumnSpan="2"
|
||||||
Orientation="Vertical">
|
Orientation="Vertical">
|
||||||
<Separator Style="{StaticResource SettingPanelSeperatorStyle}" />
|
<Separator Style="{StaticResource SettingPanelSeparatorStyle}" />
|
||||||
<TextBlock Style="{StaticResource HeaderTextBlockStyle}" Text="{DynamicResource plugin_explorer_previewpanel_setting_header}" />
|
<TextBlock Style="{StaticResource HeaderTextBlockStyle}" Text="{DynamicResource plugin_explorer_previewpanel_setting_header}" />
|
||||||
</StackPanel>
|
</StackPanel>
|
||||||
|
|
||||||
|
|
@ -470,7 +470,7 @@
|
||||||
Grid.Column="0"
|
Grid.Column="0"
|
||||||
Grid.ColumnSpan="2"
|
Grid.ColumnSpan="2"
|
||||||
Orientation="Vertical">
|
Orientation="Vertical">
|
||||||
<Separator Style="{StaticResource SettingPanelSeperatorStyle}" />
|
<Separator Style="{StaticResource SettingPanelSeparatorStyle}" />
|
||||||
<TextBlock Style="{StaticResource HeaderTextBlockStyle}" Text="{DynamicResource plugin_explorer_everything_setting_header}" />
|
<TextBlock Style="{StaticResource HeaderTextBlockStyle}" Text="{DynamicResource plugin_explorer_everything_setting_header}" />
|
||||||
</StackPanel>
|
</StackPanel>
|
||||||
|
|
||||||
|
|
@ -549,7 +549,7 @@
|
||||||
Grid.Column="0"
|
Grid.Column="0"
|
||||||
Grid.ColumnSpan="2"
|
Grid.ColumnSpan="2"
|
||||||
Orientation="Vertical">
|
Orientation="Vertical">
|
||||||
<Separator Style="{StaticResource SettingPanelSeperatorStyle}" />
|
<Separator Style="{StaticResource SettingPanelSeparatorStyle}" />
|
||||||
<TextBlock Style="{StaticResource HeaderTextBlockStyle}" Text="{DynamicResource plugin_explorer_manageactionkeywords_header}" />
|
<TextBlock Style="{StaticResource HeaderTextBlockStyle}" Text="{DynamicResource plugin_explorer_manageactionkeywords_header}" />
|
||||||
</StackPanel>
|
</StackPanel>
|
||||||
|
|
||||||
|
|
@ -586,7 +586,7 @@
|
||||||
Grid.Column="0"
|
Grid.Column="0"
|
||||||
Grid.ColumnSpan="2"
|
Grid.ColumnSpan="2"
|
||||||
Orientation="Vertical">
|
Orientation="Vertical">
|
||||||
<Separator Style="{StaticResource SettingPanelSeperatorStyle}" />
|
<Separator Style="{StaticResource SettingPanelSeparatorStyle}" />
|
||||||
<TextBlock Style="{StaticResource HeaderTextBlockStyle}" Text="{DynamicResource plugin_explorer_quickaccesslinks_header}" />
|
<TextBlock Style="{StaticResource HeaderTextBlockStyle}" Text="{DynamicResource plugin_explorer_quickaccesslinks_header}" />
|
||||||
</StackPanel>
|
</StackPanel>
|
||||||
|
|
||||||
|
|
@ -642,7 +642,7 @@
|
||||||
Grid.Column="0"
|
Grid.Column="0"
|
||||||
Grid.ColumnSpan="2"
|
Grid.ColumnSpan="2"
|
||||||
Orientation="Vertical">
|
Orientation="Vertical">
|
||||||
<Separator Style="{StaticResource SettingPanelSeperatorStyle}" />
|
<Separator Style="{StaticResource SettingPanelSeparatorStyle}" />
|
||||||
<TextBlock Style="{StaticResource HeaderTextBlockStyle}" Text="{DynamicResource plugin_explorer_indexsearchexcludedpaths_header}" />
|
<TextBlock Style="{StaticResource HeaderTextBlockStyle}" Text="{DynamicResource plugin_explorer_indexsearchexcludedpaths_header}" />
|
||||||
</StackPanel>
|
</StackPanel>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -58,7 +58,7 @@
|
||||||
Grid.Row="1"
|
Grid.Row="1"
|
||||||
HorizontalAlignment="Stretch"
|
HorizontalAlignment="Stretch"
|
||||||
Orientation="Vertical">
|
Orientation="Vertical">
|
||||||
<Separator Style="{StaticResource SettingPanelSeperatorStyle}" />
|
<Separator Style="{StaticResource SettingPanelSeparatorStyle}" />
|
||||||
<DockPanel HorizontalAlignment="Stretch" LastChildFill="True">
|
<DockPanel HorizontalAlignment="Stretch" LastChildFill="True">
|
||||||
<TextBlock
|
<TextBlock
|
||||||
MinWidth="120"
|
MinWidth="120"
|
||||||
|
|
@ -90,7 +90,7 @@
|
||||||
ToolTip="{DynamicResource flowlauncher_plugin_program_enable_hideduplicatedwindowsapp_tooltip}" />
|
ToolTip="{DynamicResource flowlauncher_plugin_program_enable_hideduplicatedwindowsapp_tooltip}" />
|
||||||
</WrapPanel>
|
</WrapPanel>
|
||||||
</DockPanel>
|
</DockPanel>
|
||||||
<Separator Style="{StaticResource SettingPanelSeperatorStyle}" />
|
<Separator Style="{StaticResource SettingPanelSeparatorStyle}" />
|
||||||
<StackPanel
|
<StackPanel
|
||||||
HorizontalAlignment="Left"
|
HorizontalAlignment="Left"
|
||||||
VerticalAlignment="Center"
|
VerticalAlignment="Center"
|
||||||
|
|
|
||||||
|
|
@ -122,7 +122,7 @@
|
||||||
Content="{DynamicResource flowlauncher_plugin_websearch_add}" />
|
Content="{DynamicResource flowlauncher_plugin_websearch_add}" />
|
||||||
</StackPanel>
|
</StackPanel>
|
||||||
|
|
||||||
<Separator Grid.Row="2" Style="{StaticResource SettingPanelSeperatorStyle}" />
|
<Separator Grid.Row="2" Style="{StaticResource SettingPanelSeparatorStyle}" />
|
||||||
|
|
||||||
<DockPanel
|
<DockPanel
|
||||||
Grid.Row="3"
|
Grid.Row="3"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue