mirror of
https://github.com/microsoft/terminal.git
synced 2026-07-08 18:16:28 +00:00
Add sections & groupings to global settings
This commit is contained in:
@@ -17,6 +17,7 @@ namespace winrt::Microsoft::Terminal::Settings::Editor::implementation
|
|||||||
{
|
{
|
||||||
INITIALIZE_BINDABLE_ENUM_SETTING(TextMeasurement, TextMeasurement, winrt::Microsoft::Terminal::Control::TextMeasurement, L"Globals_TextMeasurement_", L"Text");
|
INITIALIZE_BINDABLE_ENUM_SETTING(TextMeasurement, TextMeasurement, winrt::Microsoft::Terminal::Control::TextMeasurement, L"Globals_TextMeasurement_", L"Text");
|
||||||
INITIALIZE_BINDABLE_ENUM_SETTING(AmbiguousWidth, AmbiguousWidth, winrt::Microsoft::Terminal::Control::AmbiguousWidth, L"Globals_AmbiguousWidth_", L"Text");
|
INITIALIZE_BINDABLE_ENUM_SETTING(AmbiguousWidth, AmbiguousWidth, winrt::Microsoft::Terminal::Control::AmbiguousWidth, L"Globals_AmbiguousWidth_", L"Text");
|
||||||
|
INITIALIZE_BINDABLE_ENUM_SETTING(GraphicsAPI, GraphicsAPI, winrt::Microsoft::Terminal::Control::GraphicsAPI, L"Globals_GraphicsAPI_", L"Text");
|
||||||
}
|
}
|
||||||
|
|
||||||
bool CompatibilityViewModel::DebugFeaturesAvailable() const noexcept
|
bool CompatibilityViewModel::DebugFeaturesAvailable() const noexcept
|
||||||
|
|||||||
@@ -25,8 +25,11 @@ namespace winrt::Microsoft::Terminal::Settings::Editor::implementation
|
|||||||
|
|
||||||
PERMANENT_OBSERVABLE_PROJECTED_SETTING(_settings.GlobalSettings(), AllowHeadless);
|
PERMANENT_OBSERVABLE_PROJECTED_SETTING(_settings.GlobalSettings(), AllowHeadless);
|
||||||
PERMANENT_OBSERVABLE_PROJECTED_SETTING(_settings.GlobalSettings(), DebugFeaturesEnabled);
|
PERMANENT_OBSERVABLE_PROJECTED_SETTING(_settings.GlobalSettings(), DebugFeaturesEnabled);
|
||||||
|
PERMANENT_OBSERVABLE_PROJECTED_SETTING(_settings.GlobalSettings(), DisablePartialInvalidation);
|
||||||
|
PERMANENT_OBSERVABLE_PROJECTED_SETTING(_settings.GlobalSettings(), SoftwareRendering);
|
||||||
GETSET_BINDABLE_ENUM_SETTING(TextMeasurement, winrt::Microsoft::Terminal::Control::TextMeasurement, _settings.GlobalSettings().TextMeasurement);
|
GETSET_BINDABLE_ENUM_SETTING(TextMeasurement, winrt::Microsoft::Terminal::Control::TextMeasurement, _settings.GlobalSettings().TextMeasurement);
|
||||||
GETSET_BINDABLE_ENUM_SETTING(AmbiguousWidth, winrt::Microsoft::Terminal::Control::AmbiguousWidth, _settings.GlobalSettings().AmbiguousWidth);
|
GETSET_BINDABLE_ENUM_SETTING(AmbiguousWidth, winrt::Microsoft::Terminal::Control::AmbiguousWidth, _settings.GlobalSettings().AmbiguousWidth);
|
||||||
|
GETSET_BINDABLE_ENUM_SETTING(GraphicsAPI, winrt::Microsoft::Terminal::Control::GraphicsAPI, _settings.GlobalSettings().GraphicsAPI);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
Model::CascadiaSettings _settings;
|
Model::CascadiaSettings _settings;
|
||||||
|
|||||||
@@ -23,6 +23,11 @@ namespace Microsoft.Terminal.Settings.Editor
|
|||||||
|
|
||||||
IInspectable CurrentAmbiguousWidth;
|
IInspectable CurrentAmbiguousWidth;
|
||||||
Windows.Foundation.Collections.IObservableVector<Microsoft.Terminal.Settings.Editor.EnumEntry> AmbiguousWidthList { get; };
|
Windows.Foundation.Collections.IObservableVector<Microsoft.Terminal.Settings.Editor.EnumEntry> AmbiguousWidthList { get; };
|
||||||
|
|
||||||
|
IInspectable CurrentGraphicsAPI;
|
||||||
|
Windows.Foundation.Collections.IObservableVector<Microsoft.Terminal.Settings.Editor.EnumEntry> GraphicsAPIList { get; };
|
||||||
|
PERMANENT_OBSERVABLE_PROJECTED_SETTING(Boolean, DisablePartialInvalidation);
|
||||||
|
PERMANENT_OBSERVABLE_PROJECTED_SETTING(Boolean, SoftwareRendering);
|
||||||
}
|
}
|
||||||
|
|
||||||
[default_interface] runtimeclass Compatibility : Windows.UI.Xaml.Controls.Page
|
[default_interface] runtimeclass Compatibility : Windows.UI.Xaml.Controls.Page
|
||||||
|
|||||||
@@ -24,11 +24,15 @@
|
|||||||
</ResourceDictionary>
|
</ResourceDictionary>
|
||||||
</Page.Resources>
|
</Page.Resources>
|
||||||
|
|
||||||
<StackPanel Spacing="2"
|
<StackPanel Style="{StaticResource SettingsStackStyle}">
|
||||||
Style="{StaticResource SettingsStackStyle}">
|
|
||||||
<!-- Allow Headless -->
|
<!-- Allow Headless -->
|
||||||
<local:SettingsCard x:Name="AllowHeadless"
|
<local:SettingsCard x:Name="AllowHeadless"
|
||||||
x:Uid="Globals_AllowHeadless">
|
x:Uid="Globals_AllowHeadless"
|
||||||
|
Margin="0,36,0,0">
|
||||||
|
<local:SettingsCard.HeaderIcon>
|
||||||
|
<FontIcon Glyph="" />
|
||||||
|
</local:SettingsCard.HeaderIcon>
|
||||||
<ToggleSwitch IsOn="{x:Bind ViewModel.AllowHeadless, Mode=TwoWay}"
|
<ToggleSwitch IsOn="{x:Bind ViewModel.AllowHeadless, Mode=TwoWay}"
|
||||||
Style="{StaticResource ToggleSwitchInExpanderStyle}" />
|
Style="{StaticResource ToggleSwitchInExpanderStyle}" />
|
||||||
</local:SettingsCard>
|
</local:SettingsCard>
|
||||||
@@ -36,6 +40,9 @@
|
|||||||
<!-- Text Measurement -->
|
<!-- Text Measurement -->
|
||||||
<local:SettingsCard x:Name="TextMeasurement"
|
<local:SettingsCard x:Name="TextMeasurement"
|
||||||
x:Uid="Globals_TextMeasurement">
|
x:Uid="Globals_TextMeasurement">
|
||||||
|
<local:SettingsCard.HeaderIcon>
|
||||||
|
<FontIcon Glyph="" />
|
||||||
|
</local:SettingsCard.HeaderIcon>
|
||||||
<ComboBox AutomationProperties.AccessibilityView="Content"
|
<ComboBox AutomationProperties.AccessibilityView="Content"
|
||||||
ItemTemplate="{StaticResource EnumComboBoxTemplate}"
|
ItemTemplate="{StaticResource EnumComboBoxTemplate}"
|
||||||
ItemsSource="{x:Bind ViewModel.TextMeasurementList}"
|
ItemsSource="{x:Bind ViewModel.TextMeasurementList}"
|
||||||
@@ -46,6 +53,9 @@
|
|||||||
<!-- Ambiguous Width -->
|
<!-- Ambiguous Width -->
|
||||||
<local:SettingsCard x:Name="AmbiguousWidth"
|
<local:SettingsCard x:Name="AmbiguousWidth"
|
||||||
x:Uid="Globals_AmbiguousWidth">
|
x:Uid="Globals_AmbiguousWidth">
|
||||||
|
<local:SettingsCard.HeaderIcon>
|
||||||
|
<FontIcon Glyph="" />
|
||||||
|
</local:SettingsCard.HeaderIcon>
|
||||||
<ComboBox AutomationProperties.AccessibilityView="Content"
|
<ComboBox AutomationProperties.AccessibilityView="Content"
|
||||||
ItemTemplate="{StaticResource EnumComboBoxTemplate}"
|
ItemTemplate="{StaticResource EnumComboBoxTemplate}"
|
||||||
ItemsSource="{x:Bind ViewModel.AmbiguousWidthList}"
|
ItemsSource="{x:Bind ViewModel.AmbiguousWidthList}"
|
||||||
@@ -53,17 +63,43 @@
|
|||||||
Style="{StaticResource ComboBoxSettingStyle}" />
|
Style="{StaticResource ComboBoxSettingStyle}" />
|
||||||
</local:SettingsCard>
|
</local:SettingsCard>
|
||||||
|
|
||||||
<!-- Debug Features -->
|
<!-- Section: Rendering -->
|
||||||
<local:SettingsCard x:Name="DebugFeaturesEnabled"
|
<TextBlock x:Uid="Compatibility_Section_Rendering"
|
||||||
x:Uid="Globals_DebugFeaturesEnabled"
|
Style="{StaticResource TextBlockSubHeaderStyle}" />
|
||||||
Visibility="{x:Bind ViewModel.DebugFeaturesAvailable}">
|
<!-- Graphics API -->
|
||||||
<ToggleSwitch IsOn="{x:Bind ViewModel.DebugFeaturesEnabled, Mode=TwoWay}"
|
<local:SettingsCard x:Name="GraphicsAPI"
|
||||||
|
x:Uid="Globals_GraphicsAPI">
|
||||||
|
<ComboBox AutomationProperties.AccessibilityView="Content"
|
||||||
|
ItemTemplate="{StaticResource EnumComboBoxTemplate}"
|
||||||
|
ItemsSource="{x:Bind ViewModel.GraphicsAPIList}"
|
||||||
|
SelectedItem="{x:Bind ViewModel.CurrentGraphicsAPI, Mode=TwoWay}"
|
||||||
|
Style="{StaticResource ComboBoxSettingStyle}" />
|
||||||
|
</local:SettingsCard>
|
||||||
|
|
||||||
|
<!-- Disable Partial Invalidation -->
|
||||||
|
<local:SettingsCard x:Name="DisablePartialInvalidation"
|
||||||
|
x:Uid="Globals_DisablePartialInvalidation">
|
||||||
|
<ToggleSwitch IsOn="{x:Bind ViewModel.DisablePartialInvalidation, Mode=TwoWay}"
|
||||||
Style="{StaticResource ToggleSwitchInExpanderStyle}" />
|
Style="{StaticResource ToggleSwitchInExpanderStyle}" />
|
||||||
</local:SettingsCard>
|
</local:SettingsCard>
|
||||||
|
|
||||||
|
<!-- Software Rendering -->
|
||||||
|
<local:SettingsCard x:Name="SoftwareRendering"
|
||||||
|
x:Uid="Globals_SoftwareRendering">
|
||||||
|
<ToggleSwitch IsOn="{x:Bind ViewModel.SoftwareRendering, Mode=TwoWay}"
|
||||||
|
Style="{StaticResource ToggleSwitchInExpanderStyle}" />
|
||||||
|
</local:SettingsCard>
|
||||||
|
|
||||||
|
<!-- Section: Reset -->
|
||||||
|
<TextBlock x:Uid="Compatibility_Section_Troubleshooting"
|
||||||
|
Style="{StaticResource TextBlockSubHeaderStyle}" />
|
||||||
|
|
||||||
<!-- Reset Application State -->
|
<!-- Reset Application State -->
|
||||||
<local:SettingsCard x:Name="ResetApplicationState"
|
<local:SettingsCard x:Name="ResetApplicationState"
|
||||||
x:Uid="Settings_ResetApplicationState">
|
x:Uid="Settings_ResetApplicationState">
|
||||||
|
<local:SettingsCard.HeaderIcon>
|
||||||
|
<FontIcon Glyph="" />
|
||||||
|
</local:SettingsCard.HeaderIcon>
|
||||||
<Button x:Uid="Settings_ResetApplicationStateButton"
|
<Button x:Uid="Settings_ResetApplicationStateButton"
|
||||||
Style="{StaticResource DeleteButtonStyle}">
|
Style="{StaticResource DeleteButtonStyle}">
|
||||||
<Button.Flyout>
|
<Button.Flyout>
|
||||||
@@ -86,6 +122,9 @@
|
|||||||
<!-- Reset to Default Settings -->
|
<!-- Reset to Default Settings -->
|
||||||
<local:SettingsCard x:Name="ResetToDefaultSettings"
|
<local:SettingsCard x:Name="ResetToDefaultSettings"
|
||||||
x:Uid="Settings_ResetToDefaultSettings">
|
x:Uid="Settings_ResetToDefaultSettings">
|
||||||
|
<local:SettingsCard.HeaderIcon>
|
||||||
|
<FontIcon Glyph="" />
|
||||||
|
</local:SettingsCard.HeaderIcon>
|
||||||
<Button x:Uid="Settings_ResetToDefaultSettingsButton"
|
<Button x:Uid="Settings_ResetToDefaultSettingsButton"
|
||||||
Style="{StaticResource DeleteButtonStyle}">
|
Style="{StaticResource DeleteButtonStyle}">
|
||||||
<Button.Flyout>
|
<Button.Flyout>
|
||||||
@@ -104,5 +143,15 @@
|
|||||||
</Button>
|
</Button>
|
||||||
</local:SettingsCard>
|
</local:SettingsCard>
|
||||||
|
|
||||||
|
<!-- Debug Features -->
|
||||||
|
<local:SettingsCard x:Name="DebugFeaturesEnabled"
|
||||||
|
x:Uid="Globals_DebugFeaturesEnabled"
|
||||||
|
Visibility="{x:Bind ViewModel.DebugFeaturesAvailable}">
|
||||||
|
<local:SettingsCard.HeaderIcon>
|
||||||
|
<FontIcon Glyph="" />
|
||||||
|
</local:SettingsCard.HeaderIcon>
|
||||||
|
<ToggleSwitch IsOn="{x:Bind ViewModel.DebugFeaturesEnabled, Mode=TwoWay}"
|
||||||
|
Style="{StaticResource ToggleSwitchInExpanderStyle}" />
|
||||||
|
</local:SettingsCard>
|
||||||
</StackPanel>
|
</StackPanel>
|
||||||
</Page>
|
</Page>
|
||||||
|
|||||||
@@ -18,7 +18,6 @@
|
|||||||
<ResourceDictionary.MergedDictionaries>
|
<ResourceDictionary.MergedDictionaries>
|
||||||
<ResourceDictionary Source="CommonResources.xaml" />
|
<ResourceDictionary Source="CommonResources.xaml" />
|
||||||
</ResourceDictionary.MergedDictionaries>
|
</ResourceDictionary.MergedDictionaries>
|
||||||
|
|
||||||
<DataTemplate x:Key="EnumComboBoxTemplate"
|
<DataTemplate x:Key="EnumComboBoxTemplate"
|
||||||
x:DataType="local:EnumEntry">
|
x:DataType="local:EnumEntry">
|
||||||
<TextBlock Text="{x:Bind EnumName, Mode=OneWay}" />
|
<TextBlock Text="{x:Bind EnumName, Mode=OneWay}" />
|
||||||
@@ -26,11 +25,19 @@
|
|||||||
</ResourceDictionary>
|
</ResourceDictionary>
|
||||||
</Page.Resources>
|
</Page.Resources>
|
||||||
|
|
||||||
<StackPanel Spacing="2"
|
<StackPanel Style="{StaticResource SettingsStackStyle}">
|
||||||
Style="{StaticResource SettingsStackStyle}">
|
|
||||||
|
<!-- Section: Visual style -->
|
||||||
|
<TextBlock x:Uid="Globals_Section_VisualStyle"
|
||||||
|
Style="{StaticResource TextBlockSubHeaderStyle}" />
|
||||||
|
|
||||||
<!-- Theme -->
|
<!-- Theme -->
|
||||||
<local:SettingsCard x:Name="Theme"
|
<local:SettingsExpander x:Name="Theme"
|
||||||
x:Uid="Globals_Theme">
|
x:Uid="Globals_Theme"
|
||||||
|
IsExpanded="True">
|
||||||
|
<local:SettingsExpander.HeaderIcon>
|
||||||
|
<FontIcon Glyph="" />
|
||||||
|
</local:SettingsExpander.HeaderIcon>
|
||||||
<ComboBox AutomationProperties.AccessibilityView="Content"
|
<ComboBox AutomationProperties.AccessibilityView="Content"
|
||||||
ItemsSource="{x:Bind ViewModel.ThemeList, Mode=OneWay}"
|
ItemsSource="{x:Bind ViewModel.ThemeList, Mode=OneWay}"
|
||||||
SelectedItem="{x:Bind ViewModel.CurrentTheme, Mode=TwoWay}"
|
SelectedItem="{x:Bind ViewModel.CurrentTheme, Mode=TwoWay}"
|
||||||
@@ -41,113 +48,150 @@
|
|||||||
</DataTemplate>
|
</DataTemplate>
|
||||||
</ComboBox.ItemTemplate>
|
</ComboBox.ItemTemplate>
|
||||||
</ComboBox>
|
</ComboBox>
|
||||||
</local:SettingsCard>
|
<local:SettingsExpander.Items>
|
||||||
|
<!-- Show Acrylic in Tab Row -->
|
||||||
|
<local:SettingsCard x:Name="AcrylicTabRow"
|
||||||
|
ContentAlignment="Left">
|
||||||
|
<CheckBox x:Uid="Globals_AcrylicTabRow_Checkbox"
|
||||||
|
IsChecked="{x:Bind ViewModel.UseAcrylicInTabRow, Mode=TwoWay}" />
|
||||||
|
</local:SettingsCard>
|
||||||
|
|
||||||
|
<!-- Enable Unfocused Acrylic -->
|
||||||
|
<local:SettingsCard x:Name="EnableUnfocusedAcrylic"
|
||||||
|
ContentAlignment="Left">
|
||||||
|
<CheckBox x:Uid="Globals_EnableUnfocusedAcrylic_Checkbox"
|
||||||
|
IsChecked="{x:Bind ViewModel.EnableUnfocusedAcrylic, Mode=TwoWay}" />
|
||||||
|
</local:SettingsCard>
|
||||||
|
|
||||||
|
<!-- Disable Animations -->
|
||||||
|
<!-- NOTE: the UID is "DisablePaneAnimationsReversed" not "DisablePaneAnimations". See GH#9124 for more details. -->
|
||||||
|
<local:SettingsCard x:Name="DisableAnimations"
|
||||||
|
ContentAlignment="Left">
|
||||||
|
<CheckBox x:Uid="Globals_DisableAnimationsReversed_Checkbox"
|
||||||
|
IsChecked="{x:Bind ViewModel.InvertedDisableAnimations, Mode=TwoWay}" />
|
||||||
|
</local:SettingsCard>
|
||||||
|
</local:SettingsExpander.Items>
|
||||||
|
</local:SettingsExpander>
|
||||||
|
|
||||||
|
<!-- Section: Tabs and layout -->
|
||||||
|
<TextBlock x:Uid="Globals_Section_TabsLayout"
|
||||||
|
Style="{StaticResource TextBlockSubHeaderStyle}" />
|
||||||
|
|
||||||
|
<!-- Show Titlebar -->
|
||||||
|
<local:SettingsExpander x:Name="ShowTitlebar"
|
||||||
|
x:Uid="Globals_ShowTitlebar"
|
||||||
|
IsExpanded="True">
|
||||||
|
<local:SettingsExpander.HeaderIcon>
|
||||||
|
<FontIcon Glyph="" />
|
||||||
|
</local:SettingsExpander.HeaderIcon>
|
||||||
|
<ToggleSwitch IsOn="{x:Bind ViewModel.ShowTabsInTitlebar, Mode=TwoWay}"
|
||||||
|
Style="{StaticResource ToggleSwitchInExpanderStyle}"
|
||||||
|
Toggled="{x:Bind ViewModel.ShowTitlebarToggled}" />
|
||||||
|
<local:SettingsExpander.Items>
|
||||||
|
|
||||||
|
<!-- Always show tabs -->
|
||||||
|
<local:SettingsCard x:Name="AlwaysShowTabs"
|
||||||
|
ContentAlignment="Left">
|
||||||
|
<CheckBox x:Uid="Globals_AlwaysShowTabs_Checkbox"
|
||||||
|
IsChecked="{x:Bind ViewModel.AlwaysShowTabs, Mode=TwoWay}"
|
||||||
|
IsEnabled="{x:Bind mtu:Converters.InvertBoolean(ViewModel.ShowTabsInTitlebar), Mode=OneWay}" />
|
||||||
|
</local:SettingsCard>
|
||||||
|
|
||||||
|
<!-- Show tabs in full screen -->
|
||||||
|
<local:SettingsCard x:Name="ShowTabsFullscreen"
|
||||||
|
ContentAlignment="Left">
|
||||||
|
<CheckBox x:Uid="Globals_ShowTabsFullscreen_Checkbox"
|
||||||
|
IsChecked="{x:Bind ViewModel.ShowTabsFullscreen, Mode=TwoWay}" />
|
||||||
|
</local:SettingsCard>
|
||||||
|
|
||||||
|
<!-- Show Title in Titlebar (use active terminal title as application title) -->
|
||||||
|
<local:SettingsCard x:Name="ShowTitleInTitlebar"
|
||||||
|
ContentAlignment="Left">
|
||||||
|
<CheckBox x:Uid="Globals_ShowTitleInTitlebar_Checkbox"
|
||||||
|
IsChecked="{x:Bind ViewModel.ShowTitleInTitlebar, Mode=TwoWay}" />
|
||||||
|
</local:SettingsCard>
|
||||||
|
|
||||||
|
<!-- Show Admin Shield -->
|
||||||
|
<local:SettingsCard x:Name="ShowAdminShield"
|
||||||
|
ContentAlignment="Left">
|
||||||
|
<CheckBox x:Uid="Globals_ShowAdminShield_Checkbox"
|
||||||
|
IsChecked="{x:Bind ViewModel.ShowAdminShield, Mode=TwoWay}" />
|
||||||
|
</local:SettingsCard>
|
||||||
|
</local:SettingsExpander.Items>
|
||||||
|
</local:SettingsExpander>
|
||||||
|
|
||||||
<!-- Position of new tab -->
|
<!-- Position of new tab -->
|
||||||
<local:SettingsCard x:Name="NewTabPosition"
|
<local:SettingsExpander x:Name="NewTabPosition"
|
||||||
x:Uid="Globals_NewTabPosition">
|
x:Uid="Globals_NewTabPosition"
|
||||||
|
IsExpanded="True">
|
||||||
|
<local:SettingsExpander.HeaderIcon>
|
||||||
|
<FontIcon Glyph="" />
|
||||||
|
</local:SettingsExpander.HeaderIcon>
|
||||||
<ComboBox AutomationProperties.AccessibilityView="Content"
|
<ComboBox AutomationProperties.AccessibilityView="Content"
|
||||||
ItemTemplate="{StaticResource EnumComboBoxTemplate}"
|
ItemTemplate="{StaticResource EnumComboBoxTemplate}"
|
||||||
ItemsSource="{x:Bind ViewModel.NewTabPositionList, Mode=OneWay}"
|
ItemsSource="{x:Bind ViewModel.NewTabPositionList, Mode=OneWay}"
|
||||||
SelectedItem="{x:Bind ViewModel.CurrentNewTabPosition, Mode=TwoWay}"
|
SelectedItem="{x:Bind ViewModel.CurrentNewTabPosition, Mode=TwoWay}"
|
||||||
Style="{StaticResource ComboBoxSettingStyle}" />
|
Style="{StaticResource ComboBoxSettingStyle}" />
|
||||||
</local:SettingsCard>
|
<local:SettingsExpander.Items>
|
||||||
|
<!-- Tab Width Mode -->
|
||||||
|
<local:SettingsCard x:Name="TabWidthMode"
|
||||||
|
x:Uid="Globals_TabWidthMode">
|
||||||
|
<ComboBox AutomationProperties.AccessibilityView="Content"
|
||||||
|
ItemTemplate="{StaticResource EnumComboBoxTemplate}"
|
||||||
|
ItemsSource="{x:Bind ViewModel.TabWidthModeList, Mode=OneWay}"
|
||||||
|
SelectedItem="{x:Bind ViewModel.CurrentTabWidthMode, Mode=TwoWay}"
|
||||||
|
Style="{StaticResource ComboBoxSettingStyle}" />
|
||||||
|
</local:SettingsCard>
|
||||||
|
|
||||||
<!-- Show Titlebar -->
|
</local:SettingsExpander.Items>
|
||||||
<local:SettingsCard x:Name="ShowTitlebar"
|
</local:SettingsExpander>
|
||||||
x:Uid="Globals_ShowTitlebar">
|
|
||||||
<ToggleSwitch IsOn="{x:Bind ViewModel.ShowTabsInTitlebar, Mode=TwoWay}"
|
|
||||||
Style="{StaticResource ToggleSwitchInExpanderStyle}"
|
|
||||||
Toggled="{x:Bind ViewModel.ShowTitlebarToggled}" />
|
|
||||||
</local:SettingsCard>
|
|
||||||
|
|
||||||
<!-- Always show tabs -->
|
<!-- Section: Window behavior -->
|
||||||
<local:SettingsCard x:Name="AlwaysShowTabs"
|
<TextBlock x:Uid="Globals_Section_WindowBehavior"
|
||||||
x:Uid="Globals_AlwaysShowTabs"
|
Style="{StaticResource TextBlockSubHeaderStyle}" />
|
||||||
IsEnabled="{x:Bind mtu:Converters.InvertBoolean(ViewModel.ShowTabsInTitlebar), Mode=OneWay}">
|
|
||||||
<ToggleSwitch IsOn="{x:Bind ViewModel.AlwaysShowTabs, Mode=TwoWay}"
|
|
||||||
Style="{StaticResource ToggleSwitchInExpanderStyle}" />
|
|
||||||
</local:SettingsCard>
|
|
||||||
|
|
||||||
<!-- Show tabs in full screen -->
|
|
||||||
<local:SettingsCard x:Name="ShowTabsFullscreen"
|
|
||||||
x:Uid="Globals_ShowTabsFullscreen">
|
|
||||||
<ToggleSwitch IsOn="{x:Bind ViewModel.ShowTabsFullscreen, Mode=TwoWay}"
|
|
||||||
Style="{StaticResource ToggleSwitchInExpanderStyle}" />
|
|
||||||
</local:SettingsCard>
|
|
||||||
|
|
||||||
<!-- Show Acrylic in Tab Row -->
|
|
||||||
<local:SettingsCard x:Name="AcrylicTabRow"
|
|
||||||
x:Uid="Globals_AcrylicTabRow">
|
|
||||||
<ToggleSwitch IsOn="{x:Bind ViewModel.UseAcrylicInTabRow, Mode=TwoWay}"
|
|
||||||
Style="{StaticResource ToggleSwitchInExpanderStyle}" />
|
|
||||||
</local:SettingsCard>
|
|
||||||
|
|
||||||
<!-- Show Title in Titlebar -->
|
|
||||||
<local:SettingsCard x:Name="ShowTitleInTitlebar"
|
|
||||||
x:Uid="Globals_ShowTitleInTitlebar">
|
|
||||||
<ToggleSwitch IsOn="{x:Bind ViewModel.ShowTitleInTitlebar, Mode=TwoWay}"
|
|
||||||
Style="{StaticResource ToggleSwitchInExpanderStyle}" />
|
|
||||||
</local:SettingsCard>
|
|
||||||
|
|
||||||
<!-- Always on Top -->
|
<!-- Always on Top -->
|
||||||
<local:SettingsCard x:Name="AlwaysOnTop"
|
<local:SettingsCard x:Name="AlwaysOnTop"
|
||||||
x:Uid="Globals_AlwaysOnTop">
|
x:Uid="Globals_AlwaysOnTop">
|
||||||
|
<local:SettingsCard.HeaderIcon>
|
||||||
|
<FontIcon Glyph="" />
|
||||||
|
</local:SettingsCard.HeaderIcon>
|
||||||
<ToggleSwitch IsOn="{x:Bind ViewModel.AlwaysOnTop, Mode=TwoWay}"
|
<ToggleSwitch IsOn="{x:Bind ViewModel.AlwaysOnTop, Mode=TwoWay}"
|
||||||
Style="{StaticResource ToggleSwitchInExpanderStyle}" />
|
Style="{StaticResource ToggleSwitchInExpanderStyle}" />
|
||||||
</local:SettingsCard>
|
</local:SettingsCard>
|
||||||
|
|
||||||
<!-- Tab Width Mode -->
|
|
||||||
<local:SettingsCard x:Name="TabWidthMode"
|
|
||||||
x:Uid="Globals_TabWidthMode">
|
|
||||||
<ComboBox AutomationProperties.AccessibilityView="Content"
|
|
||||||
ItemTemplate="{StaticResource EnumComboBoxTemplate}"
|
|
||||||
ItemsSource="{x:Bind ViewModel.TabWidthModeList, Mode=OneWay}"
|
|
||||||
SelectedItem="{x:Bind ViewModel.CurrentTabWidthMode, Mode=TwoWay}"
|
|
||||||
Style="{StaticResource ComboBoxSettingStyle}" />
|
|
||||||
</local:SettingsCard>
|
|
||||||
|
|
||||||
<!-- Disable Animations -->
|
|
||||||
<!-- NOTE: the UID is "DisablePaneAnimationsReversed" not "DisablePaneAnimations". See GH#9124 for more details. -->
|
|
||||||
<local:SettingsCard x:Name="DisableAnimations"
|
|
||||||
x:Uid="Globals_DisableAnimationsReversed">
|
|
||||||
<ToggleSwitch IsOn="{x:Bind ViewModel.InvertedDisableAnimations, Mode=TwoWay}"
|
|
||||||
Style="{StaticResource ToggleSwitchInExpanderStyle}" />
|
|
||||||
</local:SettingsCard>
|
|
||||||
|
|
||||||
<!-- Always Show Notification Icon -->
|
|
||||||
<local:SettingsCard x:Name="AlwaysShowNotificationIcon"
|
|
||||||
x:Uid="Globals_AlwaysShowNotificationIcon">
|
|
||||||
<ToggleSwitch IsOn="{x:Bind ViewModel.AlwaysShowNotificationIcon, Mode=TwoWay}"
|
|
||||||
Style="{StaticResource ToggleSwitchInExpanderStyle}" />
|
|
||||||
</local:SettingsCard>
|
|
||||||
|
|
||||||
<!-- Minimize To Notification Area -->
|
|
||||||
<local:SettingsCard x:Name="MinimizeToNotificationArea"
|
|
||||||
x:Uid="Globals_MinimizeToNotificationArea">
|
|
||||||
<ToggleSwitch IsOn="{x:Bind ViewModel.MinimizeToNotificationArea, Mode=TwoWay}"
|
|
||||||
Style="{StaticResource ToggleSwitchInExpanderStyle}" />
|
|
||||||
</local:SettingsCard>
|
|
||||||
|
|
||||||
<!-- Automatically hide window -->
|
<!-- Automatically hide window -->
|
||||||
<local:SettingsCard x:Name="AutoHideWindow"
|
<local:SettingsCard x:Name="AutoHideWindow"
|
||||||
x:Uid="Globals_AutoHideWindow">
|
x:Uid="Globals_AutoHideWindow">
|
||||||
|
<local:SettingsCard.HeaderIcon>
|
||||||
|
<FontIcon Glyph="" />
|
||||||
|
</local:SettingsCard.HeaderIcon>
|
||||||
<ToggleSwitch IsOn="{x:Bind ViewModel.AutoHideWindow, Mode=TwoWay}"
|
<ToggleSwitch IsOn="{x:Bind ViewModel.AutoHideWindow, Mode=TwoWay}"
|
||||||
Style="{StaticResource ToggleSwitchInExpanderStyle}" />
|
Style="{StaticResource ToggleSwitchInExpanderStyle}" />
|
||||||
</local:SettingsCard>
|
</local:SettingsCard>
|
||||||
|
|
||||||
<!-- Show Admin Shield -->
|
<!-- Section: System integration & notifications -->
|
||||||
<local:SettingsCard x:Name="ShowAdminShield"
|
<TextBlock x:Uid="Globals_Section_SystemIntegration"
|
||||||
x:Uid="Globals_ShowAdminShield">
|
Style="{StaticResource TextBlockSubHeaderStyle}" />
|
||||||
<ToggleSwitch IsOn="{x:Bind ViewModel.ShowAdminShield, Mode=TwoWay}"
|
|
||||||
Style="{StaticResource ToggleSwitchInExpanderStyle}" />
|
|
||||||
</local:SettingsCard>
|
|
||||||
|
|
||||||
<!-- Enable Unfocused Acrylic -->
|
<!-- Always Show Notification Icon -->
|
||||||
<local:SettingsCard x:Name="EnableUnfocusedAcrylic"
|
<local:SettingsExpander x:Name="AlwaysShowNotificationIcon"
|
||||||
x:Uid="Globals_EnableUnfocusedAcrylic">
|
x:Uid="Globals_AlwaysShowNotificationIcon"
|
||||||
<ToggleSwitch IsOn="{x:Bind ViewModel.EnableUnfocusedAcrylic, Mode=TwoWay}"
|
IsExpanded="True">
|
||||||
|
<local:SettingsExpander.HeaderIcon>
|
||||||
|
<FontIcon Glyph="" />
|
||||||
|
</local:SettingsExpander.HeaderIcon>
|
||||||
|
<ToggleSwitch IsOn="{x:Bind ViewModel.AlwaysShowNotificationIcon, Mode=TwoWay}"
|
||||||
Style="{StaticResource ToggleSwitchInExpanderStyle}" />
|
Style="{StaticResource ToggleSwitchInExpanderStyle}" />
|
||||||
</local:SettingsCard>
|
<local:SettingsExpander.Items>
|
||||||
|
|
||||||
|
<!-- Minimize To Notification Area -->
|
||||||
|
<local:SettingsCard x:Name="MinimizeToNotificationArea"
|
||||||
|
ContentAlignment="Left">
|
||||||
|
<CheckBox x:Uid="Globals_MinimizeToNotificationArea_Checkbox"
|
||||||
|
IsChecked="{x:Bind ViewModel.MinimizeToNotificationArea, Mode=TwoWay}" />
|
||||||
|
</local:SettingsCard>
|
||||||
|
</local:SettingsExpander.Items>
|
||||||
|
</local:SettingsExpander>
|
||||||
</StackPanel>
|
</StackPanel>
|
||||||
</Page>
|
</Page>
|
||||||
|
|||||||
@@ -24,148 +24,210 @@
|
|||||||
</ResourceDictionary>
|
</ResourceDictionary>
|
||||||
</Page.Resources>
|
</Page.Resources>
|
||||||
|
|
||||||
<StackPanel>
|
<StackPanel Style="{StaticResource SettingsStackStyle}">
|
||||||
<StackPanel Spacing="2"
|
|
||||||
Style="{StaticResource SettingsStackStyle}">
|
|
||||||
<!-- Copy On Select -->
|
|
||||||
<local:SettingsCard x:Name="CopyOnSelect"
|
|
||||||
x:Uid="Globals_CopyOnSelect">
|
|
||||||
<ToggleSwitch IsOn="{x:Bind ViewModel.CopyOnSelect, Mode=TwoWay}"
|
|
||||||
Style="{StaticResource ToggleSwitchInExpanderStyle}" />
|
|
||||||
</local:SettingsCard>
|
|
||||||
|
|
||||||
<!-- Copy Format -->
|
<!-- Section: Clipboard and paste behavior -->
|
||||||
<local:SettingsCard x:Name="CopyFormat"
|
<TextBlock x:Uid="Interaction_Section_Clipboard"
|
||||||
x:Uid="Globals_CopyFormat">
|
Style="{StaticResource TextBlockSubHeaderStyle}" />
|
||||||
<ComboBox AutomationProperties.AccessibilityView="Content"
|
|
||||||
ItemTemplate="{StaticResource EnumComboBoxTemplate}"
|
|
||||||
ItemsSource="{x:Bind ViewModel.CopyFormatList, Mode=OneWay}"
|
|
||||||
SelectedItem="{x:Bind ViewModel.CurrentCopyFormat, Mode=TwoWay}"
|
|
||||||
Style="{StaticResource ComboBoxSettingStyle}" />
|
|
||||||
</local:SettingsCard>
|
|
||||||
|
|
||||||
<!-- Trim Block Selection -->
|
<!-- Copy On Select -->
|
||||||
<local:SettingsCard x:Name="TrimBlockSelection"
|
<local:SettingsExpander x:Name="CopyOnSelect"
|
||||||
x:Uid="Globals_TrimBlockSelection">
|
x:Uid="Globals_CopyOnSelect"
|
||||||
<ToggleSwitch IsOn="{x:Bind ViewModel.TrimBlockSelection, Mode=TwoWay}"
|
IsExpanded="True">
|
||||||
Style="{StaticResource ToggleSwitchInExpanderStyle}" />
|
<ToggleSwitch IsOn="{x:Bind ViewModel.CopyOnSelect, Mode=TwoWay}"
|
||||||
</local:SettingsCard>
|
Style="{StaticResource ToggleSwitchInExpanderStyle}" />
|
||||||
|
<local:SettingsExpander.HeaderIcon>
|
||||||
|
<FontIcon Glyph="" />
|
||||||
|
</local:SettingsExpander.HeaderIcon>
|
||||||
|
<local:SettingsExpander.Items>
|
||||||
|
|
||||||
<!-- Trim Paste -->
|
<!-- Trim Block Selection -->
|
||||||
<local:SettingsCard x:Name="TrimPaste"
|
<local:SettingsCard x:Name="TrimBlockSelection"
|
||||||
x:Uid="Globals_TrimPaste">
|
ContentAlignment="Left">
|
||||||
<ToggleSwitch IsOn="{x:Bind ViewModel.TrimPaste, Mode=TwoWay}"
|
<CheckBox x:Uid="Globals_TrimBlockSelection_Checkbox"
|
||||||
Style="{StaticResource ToggleSwitchInExpanderStyle}" />
|
IsChecked="{x:Bind ViewModel.TrimBlockSelection, Mode=TwoWay}" />
|
||||||
</local:SettingsCard>
|
</local:SettingsCard>
|
||||||
|
|
||||||
<!-- Word Delimiters -->
|
<!-- Copy Format -->
|
||||||
<local:SettingsCard x:Name="WordDelimiters"
|
<local:SettingsCard x:Name="CopyFormat"
|
||||||
x:Uid="Globals_WordDelimiters">
|
x:Uid="Globals_CopyFormat">
|
||||||
<TextBox IsSpellCheckEnabled="False"
|
<ComboBox AutomationProperties.AccessibilityView="Content"
|
||||||
Style="{StaticResource TextBoxSettingStyle}"
|
ItemTemplate="{StaticResource EnumComboBoxTemplate}"
|
||||||
Text="{x:Bind ViewModel.WordDelimiters, Mode=TwoWay}" />
|
ItemsSource="{x:Bind ViewModel.CopyFormatList, Mode=OneWay}"
|
||||||
</local:SettingsCard>
|
SelectedItem="{x:Bind ViewModel.CurrentCopyFormat, Mode=TwoWay}"
|
||||||
|
Style="{StaticResource ComboBoxSettingStyle}" />
|
||||||
|
</local:SettingsCard>
|
||||||
|
</local:SettingsExpander.Items>
|
||||||
|
</local:SettingsExpander>
|
||||||
|
|
||||||
<!-- Snap On Resize -->
|
<local:SettingsExpander x:Uid="Interaction_PasteBehavior"
|
||||||
<local:SettingsCard x:Name="SnapToGridOnResize"
|
IsExpanded="True">
|
||||||
x:Uid="Globals_SnapToGridOnResize">
|
<local:SettingsExpander.HeaderIcon>
|
||||||
<ToggleSwitch IsOn="{x:Bind ViewModel.SnapToGridOnResize, Mode=TwoWay}"
|
<FontIcon Glyph="" />
|
||||||
Style="{StaticResource ToggleSwitchInExpanderStyle}" />
|
</local:SettingsExpander.HeaderIcon>
|
||||||
</local:SettingsCard>
|
<local:SettingsExpander.Items>
|
||||||
|
<!-- Trim Paste -->
|
||||||
|
<local:SettingsCard x:Name="TrimPaste"
|
||||||
|
ContentAlignment="Left">
|
||||||
|
<CheckBox x:Uid="Globals_TrimPaste_Checkbox"
|
||||||
|
IsChecked="{x:Bind ViewModel.TrimPaste, Mode=TwoWay}" />
|
||||||
|
</local:SettingsCard>
|
||||||
|
|
||||||
<!-- Tab Switcher Mode -->
|
<!-- Large Paste Warning -->
|
||||||
<local:SettingsCard x:Name="TabSwitcherMode"
|
<local:SettingsCard x:Name="WarnAboutLargePaste"
|
||||||
x:Uid="Globals_TabSwitcherMode">
|
ContentAlignment="Left">
|
||||||
<ComboBox AutomationProperties.AccessibilityView="Content"
|
<CheckBox x:Uid="Globals_WarnAboutLargePaste_Checkbox"
|
||||||
ItemTemplate="{StaticResource EnumComboBoxTemplate}"
|
IsChecked="{x:Bind ViewModel.WarnAboutLargePaste, Mode=TwoWay}" />
|
||||||
ItemsSource="{x:Bind ViewModel.TabSwitcherModeList}"
|
</local:SettingsCard>
|
||||||
SelectedItem="{x:Bind ViewModel.CurrentTabSwitcherMode, Mode=TwoWay}"
|
|
||||||
Style="{StaticResource ComboBoxSettingStyle}" />
|
|
||||||
</local:SettingsCard>
|
|
||||||
|
|
||||||
<!-- Focus Follow Mouse Mode -->
|
<!-- Multi Line Paste Warning -->
|
||||||
<local:SettingsCard x:Name="FocusFollowMouse"
|
<local:SettingsCard x:Name="WarnAboutMultiLinePaste"
|
||||||
x:Uid="Globals_FocusFollowMouse">
|
x:Uid="Globals_WarnAboutMultiLinePaste">
|
||||||
<ToggleSwitch IsOn="{x:Bind ViewModel.FocusFollowMouse, Mode=TwoWay}"
|
<ComboBox AutomationProperties.AccessibilityView="Content"
|
||||||
Style="{StaticResource ToggleSwitchInExpanderStyle}" />
|
ItemTemplate="{StaticResource EnumComboBoxTemplate}"
|
||||||
</local:SettingsCard>
|
ItemsSource="{x:Bind WarnAboutMultiLinePasteList}"
|
||||||
|
SelectedItem="{x:Bind CurrentWarnAboutMultiLinePaste, Mode=TwoWay}"
|
||||||
|
Style="{StaticResource ComboBoxSettingStyle}" />
|
||||||
|
</local:SettingsCard>
|
||||||
|
</local:SettingsExpander.Items>
|
||||||
|
</local:SettingsExpander>
|
||||||
|
|
||||||
<!-- Enable Font Size Changes with Scrolling -->
|
<!-- Section: Text selection & editing -->
|
||||||
<local:SettingsCard x:Name="ScrollToZoom"
|
<TextBlock x:Uid="Interaction_Section_TextSelection"
|
||||||
x:Uid="Globals_ScrollToZoom">
|
Style="{StaticResource TextBlockSubHeaderStyle}" />
|
||||||
<ToggleSwitch IsOn="{x:Bind ViewModel.ScrollToZoom, Mode=TwoWay}"
|
|
||||||
Style="{StaticResource ToggleSwitchInExpanderStyle}" />
|
|
||||||
</local:SettingsCard>
|
|
||||||
|
|
||||||
<!-- Enable Window Opacity Changes with Scrolling -->
|
<!-- Word Delimiters -->
|
||||||
<local:SettingsCard x:Name="ScrollToChangeOpacity"
|
<local:SettingsCard x:Name="WordDelimiters"
|
||||||
x:Uid="Globals_ScrollToChangeOpacity">
|
x:Uid="Globals_WordDelimiters">
|
||||||
<ToggleSwitch IsOn="{x:Bind ViewModel.ScrollToChangeOpacity, Mode=TwoWay}"
|
<local:SettingsCard.HeaderIcon>
|
||||||
Style="{StaticResource ToggleSwitchInExpanderStyle}" />
|
<FontIcon Glyph="" />
|
||||||
</local:SettingsCard>
|
</local:SettingsCard.HeaderIcon>
|
||||||
|
<TextBox IsSpellCheckEnabled="False"
|
||||||
|
Style="{StaticResource TextBoxSettingStyle}"
|
||||||
|
Text="{x:Bind ViewModel.WordDelimiters, Mode=TwoWay}" />
|
||||||
|
</local:SettingsCard>
|
||||||
|
|
||||||
<!-- Detect URLs -->
|
<!-- Enable Color Selection -->
|
||||||
<local:SettingsCard x:Name="DetectURLs"
|
<local:SettingsCard x:Name="EnableColorSelection"
|
||||||
x:Uid="Globals_DetectURLs">
|
x:Uid="Globals_EnableColorSelection">
|
||||||
<ToggleSwitch IsOn="{x:Bind ViewModel.DetectURLs, Mode=TwoWay}"
|
<local:SettingsCard.HeaderIcon>
|
||||||
Style="{StaticResource ToggleSwitchInExpanderStyle}" />
|
<FontIcon Glyph="" />
|
||||||
</local:SettingsCard>
|
</local:SettingsCard.HeaderIcon>
|
||||||
|
<ToggleSwitch IsOn="{x:Bind ViewModel.EnableColorSelection, Mode=TwoWay}"
|
||||||
|
Style="{StaticResource ToggleSwitchInExpanderStyle}" />
|
||||||
|
</local:SettingsCard>
|
||||||
|
|
||||||
<!-- Search Web Default Query URL -->
|
|
||||||
<local:SettingsCard x:Name="SearchWebDefaultQueryUrl"
|
|
||||||
x:Uid="Globals_SearchWebDefaultQueryUrl">
|
|
||||||
<TextBox IsSpellCheckEnabled="False"
|
|
||||||
Style="{StaticResource TextBoxSettingStyle}"
|
|
||||||
Text="{x:Bind ViewModel.SearchWebDefaultQueryUrl, Mode=TwoWay}" />
|
|
||||||
</local:SettingsCard>
|
|
||||||
|
|
||||||
<!-- Enable Color Selection -->
|
<!-- Section: Window and layout behavior -->
|
||||||
<local:SettingsCard x:Name="EnableColorSelection"
|
<TextBlock x:Uid="Interaction_Section_WindowLayout"
|
||||||
x:Uid="Globals_EnableColorSelection">
|
Style="{StaticResource TextBlockSubHeaderStyle}" />
|
||||||
<ToggleSwitch IsOn="{x:Bind ViewModel.EnableColorSelection, Mode=TwoWay}"
|
|
||||||
Style="{StaticResource ToggleSwitchInExpanderStyle}" />
|
|
||||||
</local:SettingsCard>
|
|
||||||
</StackPanel>
|
|
||||||
|
|
||||||
<StackPanel Style="{StaticResource SettingsStackStyle}">
|
<!-- Snap On Resize -->
|
||||||
<!-- Grouping: Warnings -->
|
<local:SettingsCard x:Name="SnapToGridOnResize"
|
||||||
<TextBlock x:Uid="Globals_WarningsHeader"
|
x:Uid="Globals_SnapToGridOnResize">
|
||||||
Style="{StaticResource TextBlockSubHeaderStyle}" />
|
<local:SettingsCard.HeaderIcon>
|
||||||
|
<FontIcon Glyph="" />
|
||||||
|
</local:SettingsCard.HeaderIcon>
|
||||||
|
<ToggleSwitch IsOn="{x:Bind ViewModel.SnapToGridOnResize, Mode=TwoWay}"
|
||||||
|
Style="{StaticResource ToggleSwitchInExpanderStyle}" />
|
||||||
|
</local:SettingsCard>
|
||||||
|
|
||||||
<!-- Confirm Close On -->
|
<!-- Tab Switcher Mode -->
|
||||||
<local:SettingsCard x:Name="ConfirmOnClose"
|
<local:SettingsCard x:Name="TabSwitcherMode"
|
||||||
x:Uid="Globals_ConfirmOnClose">
|
x:Uid="Globals_TabSwitcherMode">
|
||||||
<ComboBox AutomationProperties.AccessibilityView="Content"
|
<local:SettingsCard.HeaderIcon>
|
||||||
ItemTemplate="{StaticResource EnumComboBoxTemplate}"
|
<FontIcon Glyph="" />
|
||||||
ItemsSource="{x:Bind ViewModel.ConfirmOnCloseList}"
|
</local:SettingsCard.HeaderIcon>
|
||||||
SelectedItem="{x:Bind ViewModel.CurrentConfirmOnClose, Mode=TwoWay}"
|
<ComboBox AutomationProperties.AccessibilityView="Content"
|
||||||
Style="{StaticResource ComboBoxSettingStyle}" />
|
ItemTemplate="{StaticResource EnumComboBoxTemplate}"
|
||||||
</local:SettingsCard>
|
ItemsSource="{x:Bind ViewModel.TabSwitcherModeList}"
|
||||||
|
SelectedItem="{x:Bind ViewModel.CurrentTabSwitcherMode, Mode=TwoWay}"
|
||||||
|
Style="{StaticResource ComboBoxSettingStyle}" />
|
||||||
|
</local:SettingsCard>
|
||||||
|
|
||||||
<!-- Input Service Warning -->
|
<!-- Section: Mouse & scrolling -->
|
||||||
<local:SettingsCard x:Name="InputServiceWarning"
|
<local:SettingsExpander x:Uid="Interaction_Section_MouseScrolling"
|
||||||
x:Uid="Globals_InputServiceWarning">
|
IsExpanded="True">
|
||||||
<ToggleSwitch IsOn="{x:Bind ViewModel.InputServiceWarning, Mode=TwoWay}"
|
<local:SettingsExpander.HeaderIcon>
|
||||||
Style="{StaticResource ToggleSwitchInExpanderStyle}" />
|
<FontIcon Glyph="" />
|
||||||
</local:SettingsCard>
|
</local:SettingsExpander.HeaderIcon>
|
||||||
|
<local:SettingsExpander.Items>
|
||||||
|
<!-- Focus Follow Mouse Mode -->
|
||||||
|
<local:SettingsCard x:Name="FocusFollowMouse"
|
||||||
|
ContentAlignment="Left">
|
||||||
|
<CheckBox x:Uid="Globals_FocusFollowMouse_Checkbox"
|
||||||
|
IsChecked="{x:Bind ViewModel.FocusFollowMouse, Mode=TwoWay}" />
|
||||||
|
</local:SettingsCard>
|
||||||
|
|
||||||
<!-- Large Paste Warning -->
|
<!-- Enable Font Size Changes with Scrolling -->
|
||||||
<local:SettingsCard x:Name="WarnAboutLargePaste"
|
<local:SettingsCard x:Name="ScrollToZoom"
|
||||||
x:Uid="Globals_WarnAboutLargePaste">
|
ContentAlignment="Left">
|
||||||
<ToggleSwitch IsOn="{x:Bind ViewModel.WarnAboutLargePaste, Mode=TwoWay}"
|
<CheckBox x:Uid="Globals_ScrollToZoom_Checkbox"
|
||||||
Style="{StaticResource ToggleSwitchInExpanderStyle}" />
|
IsChecked="{x:Bind ViewModel.ScrollToZoom, Mode=TwoWay}" />
|
||||||
</local:SettingsCard>
|
</local:SettingsCard>
|
||||||
|
|
||||||
<!-- Multi Line Paste Warning -->
|
<!-- Enable Window Opacity Changes with Scrolling -->
|
||||||
<local:SettingsCard x:Name="WarnAboutMultiLinePaste"
|
<local:SettingsCard x:Name="ScrollToChangeOpacity"
|
||||||
x:Uid="Globals_WarnAboutMultiLinePaste">
|
ContentAlignment="Left">
|
||||||
<ComboBox AutomationProperties.AccessibilityView="Content"
|
<CheckBox x:Uid="Globals_ScrollToChangeOpacity_Checkbox"
|
||||||
ItemTemplate="{StaticResource EnumComboBoxTemplate}"
|
IsChecked="{x:Bind ViewModel.ScrollToChangeOpacity, Mode=TwoWay}" />
|
||||||
ItemsSource="{x:Bind WarnAboutMultiLinePasteList}"
|
</local:SettingsCard>
|
||||||
SelectedItem="{x:Bind CurrentWarnAboutMultiLinePaste, Mode=TwoWay}"
|
</local:SettingsExpander.Items>
|
||||||
Style="{StaticResource ComboBoxSettingStyle}" />
|
</local:SettingsExpander>
|
||||||
</local:SettingsCard>
|
|
||||||
|
|
||||||
</StackPanel>
|
|
||||||
|
<!-- Section: URLs & external actions -->
|
||||||
|
<TextBlock x:Uid="Interaction_Section_UrlsExternal"
|
||||||
|
Style="{StaticResource TextBlockSubHeaderStyle}" />
|
||||||
|
|
||||||
|
<!-- Detect URLs -->
|
||||||
|
<local:SettingsExpander x:Name="DetectURLs"
|
||||||
|
x:Uid="Globals_DetectURLs"
|
||||||
|
IsExpanded="True">
|
||||||
|
<ToggleSwitch IsOn="{x:Bind ViewModel.DetectURLs, Mode=TwoWay}"
|
||||||
|
Style="{StaticResource ToggleSwitchInExpanderStyle}" />
|
||||||
|
<local:SettingsExpander.HeaderIcon>
|
||||||
|
<FontIcon Glyph="" />
|
||||||
|
</local:SettingsExpander.HeaderIcon>
|
||||||
|
<local:SettingsExpander.Items>
|
||||||
|
<local:SettingsCard x:Name="SearchWebDefaultQueryUrl"
|
||||||
|
x:Uid="Globals_SearchWebDefaultQueryUrl">
|
||||||
|
<TextBox IsSpellCheckEnabled="False"
|
||||||
|
Style="{StaticResource TextBoxSettingStyle}"
|
||||||
|
Text="{x:Bind ViewModel.SearchWebDefaultQueryUrl, Mode=TwoWay}" />
|
||||||
|
</local:SettingsCard>
|
||||||
|
</local:SettingsExpander.Items>
|
||||||
|
</local:SettingsExpander>
|
||||||
|
|
||||||
|
<!-- Search Web Default Query URL -->
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<!-- Section: Warnings -->
|
||||||
|
<TextBlock x:Uid="Interaction_Section_Warnings"
|
||||||
|
Style="{StaticResource TextBlockSubHeaderStyle}" />
|
||||||
|
|
||||||
|
<!-- Confirm Close On -->
|
||||||
|
<local:SettingsExpander x:Name="ConfirmOnClose"
|
||||||
|
x:Uid="Globals_ConfirmOnClose"
|
||||||
|
IsExpanded="True">
|
||||||
|
<local:SettingsExpander.HeaderIcon>
|
||||||
|
<FontIcon Glyph="" />
|
||||||
|
</local:SettingsExpander.HeaderIcon>
|
||||||
|
<ComboBox AutomationProperties.AccessibilityView="Content"
|
||||||
|
ItemTemplate="{StaticResource EnumComboBoxTemplate}"
|
||||||
|
ItemsSource="{x:Bind ViewModel.ConfirmOnCloseList}"
|
||||||
|
SelectedItem="{x:Bind ViewModel.CurrentConfirmOnClose, Mode=TwoWay}"
|
||||||
|
Style="{StaticResource ComboBoxSettingStyle}" />
|
||||||
|
<local:SettingsExpander.Items>
|
||||||
|
<!-- Input Service Warning -->
|
||||||
|
<local:SettingsCard HorizontalContentAlignment="Stretch"
|
||||||
|
ContentAlignment="Left">
|
||||||
|
<CheckBox x:Name="InputServiceWarning"
|
||||||
|
x:Uid="Globals_InputServiceWarning_Checkbox"
|
||||||
|
IsChecked="{x:Bind ViewModel.InputServiceWarning, Mode=TwoWay}" />
|
||||||
|
</local:SettingsCard>
|
||||||
|
</local:SettingsExpander.Items>
|
||||||
|
</local:SettingsExpander>
|
||||||
</StackPanel>
|
</StackPanel>
|
||||||
</Page>
|
</Page>
|
||||||
|
|||||||
@@ -41,236 +41,255 @@
|
|||||||
</ResourceDictionary>
|
</ResourceDictionary>
|
||||||
</Page.Resources>
|
</Page.Resources>
|
||||||
|
|
||||||
<StackPanel>
|
<StackPanel Style="{StaticResource SettingsStackStyle}">
|
||||||
<StackPanel Spacing="2"
|
<!-- Section: Launch behavior -->
|
||||||
Style="{StaticResource SettingsStackStyle}">
|
<TextBlock x:Uid="Launch_Section_LaunchBehavior"
|
||||||
<!-- Default Profile -->
|
Style="{StaticResource TextBlockSubHeaderStyle}" />
|
||||||
<local:SettingsCard x:Name="DefaultProfile"
|
|
||||||
x:Uid="Globals_DefaultProfile">
|
|
||||||
<ComboBox ItemsSource="{x:Bind ViewModel.DefaultProfiles}"
|
|
||||||
SelectedItem="{x:Bind ViewModel.CurrentDefaultProfile, Mode=TwoWay}"
|
|
||||||
Style="{StaticResource ComboBoxSettingStyle}">
|
|
||||||
<ComboBox.ItemTemplate>
|
|
||||||
<DataTemplate x:DataType="SettingsModel:Profile">
|
|
||||||
<Grid HorizontalAlignment="Stretch"
|
|
||||||
ColumnSpacing="8">
|
|
||||||
|
|
||||||
<Grid.ColumnDefinitions>
|
<!-- When Terminal Starts -->
|
||||||
<!-- icon -->
|
<local:SettingsExpander x:Name="FirstWindowPreference"
|
||||||
<ColumnDefinition Width="16" />
|
x:Uid="Globals_FirstWindowPreference"
|
||||||
<!-- profile name -->
|
IsExpanded="True">
|
||||||
<ColumnDefinition Width="Auto" />
|
<local:SettingsExpander.HeaderIcon>
|
||||||
</Grid.ColumnDefinitions>
|
<FontIcon Glyph="" />
|
||||||
|
</local:SettingsExpander.HeaderIcon>
|
||||||
|
<ComboBox AutomationProperties.AccessibilityView="Content"
|
||||||
|
ItemTemplate="{StaticResource EnumComboBoxTemplate}"
|
||||||
|
ItemsSource="{x:Bind ViewModel.FirstWindowPreferenceList}"
|
||||||
|
SelectedItem="{x:Bind ViewModel.CurrentFirstWindowPreference, Mode=TwoWay}"
|
||||||
|
Style="{StaticResource ComboBoxSettingStyle}" />
|
||||||
|
<local:SettingsExpander.Items>
|
||||||
|
|
||||||
<IconSourceElement Grid.Column="0"
|
<!-- Default Profile -->
|
||||||
Width="16"
|
<local:SettingsCard x:Name="DefaultProfile"
|
||||||
Height="16"
|
x:Uid="Globals_DefaultProfile">
|
||||||
IconSource="{x:Bind mtu:IconPathConverter.IconSourceWUX(Icon.Resolved), Mode=OneTime}" />
|
<ComboBox ItemsSource="{x:Bind ViewModel.DefaultProfiles}"
|
||||||
|
SelectedItem="{x:Bind ViewModel.CurrentDefaultProfile, Mode=TwoWay}"
|
||||||
|
Style="{StaticResource ComboBoxSettingStyle}">
|
||||||
|
<ComboBox.ItemTemplate>
|
||||||
|
<DataTemplate x:DataType="SettingsModel:Profile">
|
||||||
|
<Grid HorizontalAlignment="Stretch"
|
||||||
|
ColumnSpacing="8">
|
||||||
|
<Grid.ColumnDefinitions>
|
||||||
|
<!-- icon -->
|
||||||
|
<ColumnDefinition Width="16" />
|
||||||
|
<!-- profile name -->
|
||||||
|
<ColumnDefinition Width="Auto" />
|
||||||
|
</Grid.ColumnDefinitions>
|
||||||
|
|
||||||
<TextBlock Grid.Column="1"
|
<IconSourceElement Grid.Column="0"
|
||||||
Text="{x:Bind Name}" />
|
Width="16"
|
||||||
|
Height="16"
|
||||||
|
IconSource="{x:Bind mtu:IconPathConverter.IconSourceWUX(Icon.Resolved), Mode=OneTime}" />
|
||||||
|
|
||||||
</Grid>
|
<TextBlock Grid.Column="1"
|
||||||
</DataTemplate>
|
Text="{x:Bind Name}" />
|
||||||
</ComboBox.ItemTemplate>
|
</Grid>
|
||||||
</ComboBox>
|
</DataTemplate>
|
||||||
</local:SettingsCard>
|
</ComboBox.ItemTemplate>
|
||||||
|
</ComboBox>
|
||||||
|
</local:SettingsCard>
|
||||||
|
|
||||||
<!-- Default Terminal -->
|
<!-- Windowing Behavior -->
|
||||||
<local:SettingsCard x:Name="DefaultTerminalDropdown"
|
<local:SettingsCard x:Name="WindowingBehavior"
|
||||||
x:Uid="Globals_DefaultTerminal"
|
x:Uid="Globals_WindowingBehavior">
|
||||||
x:Load="false">
|
<ComboBox AutomationProperties.AccessibilityView="Content"
|
||||||
<ComboBox x:Name="DefaultTerminal"
|
ItemTemplate="{StaticResource EnumComboBoxTemplate}"
|
||||||
ItemsSource="{x:Bind ViewModel.DefaultTerminals}"
|
ItemsSource="{x:Bind ViewModel.WindowingBehaviorList}"
|
||||||
SelectedItem="{x:Bind ViewModel.CurrentDefaultTerminal, Mode=TwoWay}"
|
SelectedItem="{x:Bind ViewModel.CurrentWindowingBehavior, Mode=TwoWay}"
|
||||||
Style="{StaticResource ComboBoxSettingStyle}">
|
Style="{StaticResource ComboBoxSettingStyle}" />
|
||||||
<ComboBox.ItemTemplate>
|
</local:SettingsCard>
|
||||||
<DataTemplate x:DataType="SettingsModel:DefaultTerminal">
|
|
||||||
<Grid HorizontalAlignment="Stretch"
|
|
||||||
VerticalAlignment="Stretch"
|
|
||||||
ColumnSpacing="8">
|
|
||||||
|
|
||||||
<Grid.ColumnDefinitions>
|
<!-- Start on User Login -->
|
||||||
<!-- icon -->
|
<local:SettingsCard ContentAlignment="Left"
|
||||||
<ColumnDefinition Width="auto" />
|
Visibility="{x:Bind ViewModel.StartOnUserLoginAvailable, Mode=OneTime}">
|
||||||
<!-- terminal name and author -->
|
<CheckBox x:Name="StartOnUserLogin"
|
||||||
<ColumnDefinition Width="auto" />
|
x:Uid="Globals_StartOnUserLogin_Checkbox"
|
||||||
<!-- version -->
|
IsChecked="{x:Bind ViewModel.StartOnUserLogin, Mode=TwoWay}"
|
||||||
<ColumnDefinition Width="auto" />
|
IsEnabled="{x:Bind ViewModel.StartOnUserLoginConfigurable, Mode=OneWay}" />
|
||||||
</Grid.ColumnDefinitions>
|
</local:SettingsCard>
|
||||||
|
</local:SettingsExpander.Items>
|
||||||
|
</local:SettingsExpander>
|
||||||
|
|
||||||
<Grid.RowDefinitions>
|
<!-- Launch Mode (parameters) -->
|
||||||
<!-- terminal name -->
|
<local:SettingsExpander x:Name="LaunchParameters"
|
||||||
<RowDefinition Height="auto" />
|
x:Uid="Globals_LaunchParameters"
|
||||||
<!-- author and version -->
|
IsExpanded="True">
|
||||||
<RowDefinition Height="auto" />
|
<local:SettingsExpander.HeaderIcon>
|
||||||
</Grid.RowDefinitions>
|
<FontIcon Glyph="" />
|
||||||
|
</local:SettingsExpander.HeaderIcon>
|
||||||
|
<ComboBox x:Name="LaunchModeComboBox"
|
||||||
|
AutomationProperties.AccessibilityView="Content"
|
||||||
|
ItemTemplate="{StaticResource EnumComboBoxTemplate}"
|
||||||
|
ItemsSource="{x:Bind ViewModel.LaunchModeList}"
|
||||||
|
SelectedItem="{x:Bind ViewModel.CurrentLaunchMode, Mode=TwoWay}"
|
||||||
|
Style="{StaticResource ComboBoxSettingStyle}" />
|
||||||
|
<local:SettingsExpander.Items>
|
||||||
|
<local:SettingsCard ContentAlignment="Left">
|
||||||
|
<CheckBox x:Name="CenterOnLaunchToggle"
|
||||||
|
x:Uid="Globals_CenterOnLaunch_Checkbox"
|
||||||
|
IsChecked="{x:Bind ViewModel.CenterOnLaunch, Mode=TwoWay}" />
|
||||||
|
</local:SettingsCard>
|
||||||
|
<local:SettingsCard ContentAlignment="Left">
|
||||||
|
<CheckBox x:Name="UseDefaultLaunchPositionCheckbox"
|
||||||
|
x:Uid="Globals_DefaultLaunchPositionCheckbox"
|
||||||
|
IsChecked="{x:Bind ViewModel.UseDefaultLaunchPosition, Mode=TwoWay}" />
|
||||||
|
</local:SettingsCard>
|
||||||
|
<local:SettingsCard x:Uid="Globals_LaunchPosition"
|
||||||
|
IsEnabled="{x:Bind mtu:Converters.InvertBoolean(ViewModel.UseDefaultLaunchPosition), Mode=OneWay}">
|
||||||
|
<StackPanel Orientation="Horizontal"
|
||||||
|
Spacing="4">
|
||||||
|
<muxc:NumberBox x:Name="PosXBox"
|
||||||
|
x:Uid="Globals_InitialPosXBox"
|
||||||
|
Width="118"
|
||||||
|
Style="{StaticResource LaunchPositionNumberBoxStyle}"
|
||||||
|
Value="{x:Bind ViewModel.InitialPosX, Mode=TwoWay}" />
|
||||||
|
<muxc:NumberBox x:Name="PosYBox"
|
||||||
|
x:Uid="Globals_InitialPosYBox"
|
||||||
|
Width="118"
|
||||||
|
Style="{StaticResource LaunchPositionNumberBoxStyle}"
|
||||||
|
Value="{x:Bind ViewModel.InitialPosY, Mode=TwoWay}" />
|
||||||
|
</StackPanel>
|
||||||
|
</local:SettingsCard>
|
||||||
|
|
||||||
<IconSourceElement Grid.Row="0"
|
<!-- Launch Size -->
|
||||||
Grid.RowSpan="2"
|
<local:SettingsCard x:Name="LaunchSize"
|
||||||
Grid.Column="0"
|
|
||||||
Width="24"
|
|
||||||
Height="24"
|
|
||||||
VerticalAlignment="Center"
|
|
||||||
IconSource="{x:Bind mtu:IconPathConverter.IconSourceWUX(Icon), Mode=OneTime}" />
|
|
||||||
|
|
||||||
<TextBlock Grid.Row="0"
|
|
||||||
Grid.Column="1"
|
|
||||||
Grid.ColumnSpan="2"
|
|
||||||
VerticalAlignment="Center"
|
|
||||||
AutomationProperties.AccessibilityView="Raw"
|
|
||||||
Text="{x:Bind Name}" />
|
|
||||||
|
|
||||||
<TextBlock Grid.Row="1"
|
|
||||||
Grid.Column="1"
|
|
||||||
AutomationProperties.AccessibilityView="Raw"
|
|
||||||
Style="{ThemeResource SecondaryTextBlockStyle}"
|
|
||||||
Text="{x:Bind Author}"
|
|
||||||
Visibility="{x:Bind mtu:Converters.StringNotEmptyToVisibility(Author)}" />
|
|
||||||
|
|
||||||
<TextBlock Grid.Row="1"
|
|
||||||
Grid.Column="2"
|
|
||||||
AutomationProperties.AccessibilityView="Raw"
|
|
||||||
Style="{ThemeResource SecondaryTextBlockStyle}"
|
|
||||||
Text="{x:Bind Version}"
|
|
||||||
Visibility="{x:Bind mtu:Converters.StringNotEmptyToVisibility(Version)}" />
|
|
||||||
|
|
||||||
</Grid>
|
|
||||||
</DataTemplate>
|
|
||||||
</ComboBox.ItemTemplate>
|
|
||||||
</ComboBox>
|
|
||||||
</local:SettingsCard>
|
|
||||||
|
|
||||||
<!-- Language -->
|
|
||||||
<local:SettingsCard x:Name="Language"
|
|
||||||
x:Uid="Globals_Language">
|
|
||||||
<ComboBox ItemsSource="{x:Bind ViewModel.LanguageList}"
|
|
||||||
SelectedItem="{x:Bind ViewModel.CurrentLanguage, Mode=TwoWay}"
|
|
||||||
Style="{StaticResource ComboBoxSettingStyle}">
|
|
||||||
<ComboBox.ItemTemplate>
|
|
||||||
<DataTemplate x:DataType="x:String">
|
|
||||||
<TextBlock Text="{x:Bind local:LaunchViewModel.LanguageDisplayConverter((x:String))}" />
|
|
||||||
</DataTemplate>
|
|
||||||
</ComboBox.ItemTemplate>
|
|
||||||
</ComboBox>
|
|
||||||
</local:SettingsCard>
|
|
||||||
|
|
||||||
<!-- Language -->
|
|
||||||
<local:SettingsCard x:Name="DefaultInputScope"
|
|
||||||
x:Uid="Globals_DefaultInputScope">
|
|
||||||
<ComboBox AutomationProperties.AccessibilityView="Content"
|
|
||||||
ItemTemplate="{StaticResource EnumComboBoxTemplate}"
|
|
||||||
ItemsSource="{x:Bind ViewModel.DefaultInputScopeList}"
|
|
||||||
SelectedItem="{x:Bind ViewModel.CurrentDefaultInputScope, Mode=TwoWay}"
|
|
||||||
Style="{StaticResource ComboBoxSettingStyle}" />
|
|
||||||
</local:SettingsCard>
|
|
||||||
|
|
||||||
<!-- Start on User Login -->
|
|
||||||
<local:SettingsCard x:Name="StartOnUserLogin"
|
|
||||||
x:Uid="Globals_StartOnUserLogin"
|
|
||||||
Description="{x:Bind ViewModel.StartOnUserLoginStatefulHelpText, Mode=OneWay}"
|
|
||||||
Visibility="{x:Bind ViewModel.StartOnUserLoginAvailable, Mode=OneTime}">
|
|
||||||
<ToggleSwitch IsEnabled="{x:Bind ViewModel.StartOnUserLoginConfigurable, Mode=OneWay}"
|
|
||||||
IsOn="{x:Bind ViewModel.StartOnUserLogin, Mode=TwoWay}"
|
|
||||||
Style="{StaticResource ToggleSwitchInExpanderStyle}" />
|
|
||||||
</local:SettingsCard>
|
|
||||||
|
|
||||||
<!-- First Window Behavior -->
|
|
||||||
<local:SettingsCard x:Name="FirstWindowPreference"
|
|
||||||
x:Uid="Globals_FirstWindowPreference">
|
|
||||||
<ComboBox AutomationProperties.AccessibilityView="Content"
|
|
||||||
ItemTemplate="{StaticResource EnumComboBoxTemplate}"
|
|
||||||
ItemsSource="{x:Bind ViewModel.FirstWindowPreferenceList}"
|
|
||||||
SelectedItem="{x:Bind ViewModel.CurrentFirstWindowPreference, Mode=TwoWay}"
|
|
||||||
Style="{StaticResource ComboBoxSettingStyle}" />
|
|
||||||
</local:SettingsCard>
|
|
||||||
|
|
||||||
<!-- Windowing Behavior -->
|
|
||||||
<local:SettingsCard x:Name="WindowingBehavior"
|
|
||||||
x:Uid="Globals_WindowingBehavior">
|
|
||||||
<ComboBox AutomationProperties.AccessibilityView="Content"
|
|
||||||
ItemTemplate="{StaticResource EnumComboBoxTemplate}"
|
|
||||||
ItemsSource="{x:Bind ViewModel.WindowingBehaviorList}"
|
|
||||||
SelectedItem="{x:Bind ViewModel.CurrentWindowingBehavior, Mode=TwoWay}"
|
|
||||||
Style="{StaticResource ComboBoxSettingStyle}" />
|
|
||||||
</local:SettingsCard>
|
|
||||||
|
|
||||||
<!-- Launch Size -->
|
|
||||||
<local:SettingsExpander x:Name="LaunchSize"
|
|
||||||
x:Uid="Globals_LaunchSize">
|
x:Uid="Globals_LaunchSize">
|
||||||
<local:SettingsExpander.Content>
|
<StackPanel Orientation="Horizontal"
|
||||||
<TextBlock Style="{StaticResource SettingContainerCurrentValueTextBlockStyle}"
|
Spacing="12">
|
||||||
Text="{x:Bind ViewModel.LaunchSizeCurrentValue, Mode=OneWay}" />
|
<FontIcon VerticalAlignment="Center"
|
||||||
</local:SettingsExpander.Content>
|
FontSize="16"
|
||||||
<local:SettingsExpander.Items>
|
Foreground="{ThemeResource TextFillColorSecondaryBrush}"
|
||||||
<local:SettingsCard x:Name="InitialColsCard"
|
Glyph="">
|
||||||
x:Uid="Globals_InitialCols">
|
<ToolTipService.ToolTip>
|
||||||
|
<ToolTip x:Uid="Globals_InitialCols_Tooltip" />
|
||||||
|
</ToolTipService.ToolTip>
|
||||||
|
</FontIcon>
|
||||||
<muxc:NumberBox x:Uid="Globals_InitialColsBox"
|
<muxc:NumberBox x:Uid="Globals_InitialColsBox"
|
||||||
Maximum="999"
|
Maximum="999"
|
||||||
Minimum="1"
|
Minimum="1"
|
||||||
Style="{StaticResource LaunchSizeNumberBoxStyle}"
|
Style="{StaticResource LaunchSizeNumberBoxStyle}"
|
||||||
Value="{x:Bind ViewModel.InitialCols, Mode=TwoWay}" />
|
Value="{x:Bind ViewModel.InitialCols, Mode=TwoWay}" />
|
||||||
</local:SettingsCard>
|
<FontIcon VerticalAlignment="Center"
|
||||||
<local:SettingsCard x:Name="InitialRowsCard"
|
FontSize="16"
|
||||||
x:Uid="Globals_InitialRows">
|
Foreground="{ThemeResource TextFillColorSecondaryBrush}"
|
||||||
|
Glyph="">
|
||||||
|
<ToolTipService.ToolTip>
|
||||||
|
<ToolTip x:Uid="Globals_InitialRows_Tooltip" />
|
||||||
|
</ToolTipService.ToolTip>
|
||||||
|
</FontIcon>
|
||||||
<muxc:NumberBox x:Uid="Globals_InitialRowsBox"
|
<muxc:NumberBox x:Uid="Globals_InitialRowsBox"
|
||||||
Maximum="999"
|
Maximum="999"
|
||||||
Minimum="1"
|
Minimum="1"
|
||||||
Style="{StaticResource LaunchSizeNumberBoxStyle}"
|
Style="{StaticResource LaunchSizeNumberBoxStyle}"
|
||||||
Value="{x:Bind ViewModel.InitialRows, Mode=TwoWay}" />
|
Value="{x:Bind ViewModel.InitialRows, Mode=TwoWay}" />
|
||||||
</local:SettingsCard>
|
</StackPanel>
|
||||||
</local:SettingsExpander.Items>
|
</local:SettingsCard>
|
||||||
</local:SettingsExpander>
|
</local:SettingsExpander.Items>
|
||||||
|
</local:SettingsExpander>
|
||||||
|
|
||||||
<!-- Launch Parameters -->
|
|
||||||
<local:SettingsExpander x:Name="LaunchParameters"
|
<!-- Section: System & input defaults -->
|
||||||
x:Uid="Globals_LaunchParameters">
|
<TextBlock x:Uid="Launch_Section_SystemInputDefaults"
|
||||||
<local:SettingsExpander.Content>
|
Style="{StaticResource TextBlockSubHeaderStyle}" />
|
||||||
<TextBlock Style="{StaticResource SettingContainerCurrentValueTextBlockStyle}"
|
|
||||||
Text="{x:Bind ViewModel.LaunchParametersCurrentValue, Mode=OneWay}" />
|
<!-- Default Terminal -->
|
||||||
</local:SettingsExpander.Content>
|
<local:SettingsCard x:Name="DefaultTerminalDropdown"
|
||||||
<local:SettingsExpander.Items>
|
x:Uid="Globals_DefaultTerminal"
|
||||||
<local:SettingsCard x:Name="LaunchModeCard"
|
x:Load="false">
|
||||||
x:Uid="Globals_LaunchModeSetting">
|
<local:SettingsCard.HeaderIcon>
|
||||||
<ComboBox x:Name="LaunchModeComboBox"
|
<FontIcon Glyph="" />
|
||||||
AutomationProperties.AccessibilityView="Content"
|
</local:SettingsCard.HeaderIcon>
|
||||||
ItemTemplate="{StaticResource EnumComboBoxTemplate}"
|
<ComboBox x:Name="DefaultTerminal"
|
||||||
ItemsSource="{x:Bind ViewModel.LaunchModeList}"
|
ItemsSource="{x:Bind ViewModel.DefaultTerminals}"
|
||||||
SelectedItem="{x:Bind ViewModel.CurrentLaunchMode, Mode=TwoWay}"
|
SelectedItem="{x:Bind ViewModel.CurrentDefaultTerminal, Mode=TwoWay}"
|
||||||
Style="{StaticResource ComboBoxSettingStyle}" />
|
Style="{StaticResource ComboBoxSettingStyle}">
|
||||||
</local:SettingsCard>
|
<ComboBox.ItemTemplate>
|
||||||
<local:SettingsCard x:Name="LaunchPositionCard"
|
<DataTemplate x:DataType="SettingsModel:DefaultTerminal">
|
||||||
x:Uid="Globals_LaunchPosition">
|
<Grid HorizontalAlignment="Stretch"
|
||||||
<StackPanel Orientation="Vertical"
|
VerticalAlignment="Stretch"
|
||||||
Spacing="4">
|
ColumnSpacing="8">
|
||||||
<StackPanel Orientation="Horizontal"
|
|
||||||
Spacing="4">
|
<Grid.ColumnDefinitions>
|
||||||
<muxc:NumberBox x:Name="PosXBox"
|
<!-- icon -->
|
||||||
x:Uid="Globals_InitialPosXBox"
|
<ColumnDefinition Width="auto" />
|
||||||
Width="118"
|
<!-- terminal name and author -->
|
||||||
IsEnabled="{x:Bind mtu:Converters.InvertBoolean(ViewModel.UseDefaultLaunchPosition), Mode=OneWay}"
|
<ColumnDefinition Width="auto" />
|
||||||
Style="{StaticResource LaunchPositionNumberBoxStyle}"
|
<!-- version -->
|
||||||
Value="{x:Bind ViewModel.InitialPosX, Mode=TwoWay}" />
|
<ColumnDefinition Width="auto" />
|
||||||
<muxc:NumberBox x:Name="PosYBox"
|
</Grid.ColumnDefinitions>
|
||||||
x:Uid="Globals_InitialPosYBox"
|
|
||||||
Width="118"
|
<Grid.RowDefinitions>
|
||||||
IsEnabled="{x:Bind mtu:Converters.InvertBoolean(ViewModel.UseDefaultLaunchPosition), Mode=OneWay}"
|
<!-- terminal name -->
|
||||||
Style="{StaticResource LaunchPositionNumberBoxStyle}"
|
<RowDefinition Height="auto" />
|
||||||
Value="{x:Bind ViewModel.InitialPosY, Mode=TwoWay}" />
|
<!-- author and version -->
|
||||||
</StackPanel>
|
<RowDefinition Height="auto" />
|
||||||
<CheckBox x:Name="UseDefaultLaunchPositionCheckbox"
|
</Grid.RowDefinitions>
|
||||||
x:Uid="Globals_DefaultLaunchPositionCheckbox"
|
|
||||||
IsChecked="{x:Bind ViewModel.UseDefaultLaunchPosition, Mode=TwoWay}" />
|
<IconSourceElement Grid.Row="0"
|
||||||
</StackPanel>
|
Grid.RowSpan="2"
|
||||||
</local:SettingsCard>
|
Grid.Column="0"
|
||||||
<local:SettingsCard x:Name="CenterOnLaunchCard"
|
Width="24"
|
||||||
x:Uid="Globals_CenterOnLaunch">
|
Height="24"
|
||||||
<ToggleSwitch x:Name="CenterOnLaunchToggle"
|
VerticalAlignment="Center"
|
||||||
IsOn="{x:Bind ViewModel.CenterOnLaunch, Mode=TwoWay}"
|
IconSource="{x:Bind mtu:IconPathConverter.IconSourceWUX(Icon), Mode=OneTime}" />
|
||||||
Style="{StaticResource ToggleSwitchInExpanderStyle}" />
|
|
||||||
</local:SettingsCard>
|
<TextBlock Grid.Row="0"
|
||||||
</local:SettingsExpander.Items>
|
Grid.Column="1"
|
||||||
</local:SettingsExpander>
|
Grid.ColumnSpan="2"
|
||||||
</StackPanel>
|
VerticalAlignment="Center"
|
||||||
|
AutomationProperties.AccessibilityView="Raw"
|
||||||
|
Text="{x:Bind Name}" />
|
||||||
|
|
||||||
|
<TextBlock Grid.Row="1"
|
||||||
|
Grid.Column="1"
|
||||||
|
AutomationProperties.AccessibilityView="Raw"
|
||||||
|
FontSize="12"
|
||||||
|
Style="{ThemeResource SecondaryTextBlockStyle}"
|
||||||
|
Text="{x:Bind Author}"
|
||||||
|
Visibility="{x:Bind mtu:Converters.StringNotEmptyToVisibility(Author)}" />
|
||||||
|
|
||||||
|
<TextBlock Grid.Row="1"
|
||||||
|
Grid.Column="2"
|
||||||
|
AutomationProperties.AccessibilityView="Raw"
|
||||||
|
FontSize="12"
|
||||||
|
Style="{ThemeResource SecondaryTextBlockStyle}"
|
||||||
|
Text="{x:Bind Version}"
|
||||||
|
Visibility="{x:Bind mtu:Converters.StringNotEmptyToVisibility(Version)}" />
|
||||||
|
|
||||||
|
</Grid>
|
||||||
|
</DataTemplate>
|
||||||
|
</ComboBox.ItemTemplate>
|
||||||
|
</ComboBox>
|
||||||
|
</local:SettingsCard>
|
||||||
|
|
||||||
|
<!-- Language -->
|
||||||
|
<local:SettingsExpander x:Name="Language"
|
||||||
|
x:Uid="Globals_Language"
|
||||||
|
IsExpanded="True">
|
||||||
|
<ComboBox ItemsSource="{x:Bind ViewModel.LanguageList}"
|
||||||
|
SelectedItem="{x:Bind ViewModel.CurrentLanguage, Mode=TwoWay}"
|
||||||
|
Style="{StaticResource ComboBoxSettingStyle}">
|
||||||
|
<ComboBox.ItemTemplate>
|
||||||
|
<DataTemplate x:DataType="x:String">
|
||||||
|
<TextBlock Text="{x:Bind local:LaunchViewModel.LanguageDisplayConverter((x:String))}" />
|
||||||
|
</DataTemplate>
|
||||||
|
</ComboBox.ItemTemplate>
|
||||||
|
</ComboBox>
|
||||||
|
<local:SettingsExpander.HeaderIcon>
|
||||||
|
<FontIcon Glyph="" />
|
||||||
|
</local:SettingsExpander.HeaderIcon>
|
||||||
|
<local:SettingsExpander.Items>
|
||||||
|
<!-- Default IME Input Mode -->
|
||||||
|
<local:SettingsCard x:Name="DefaultInputScope"
|
||||||
|
x:Uid="Globals_DefaultInputScope">
|
||||||
|
<ComboBox AutomationProperties.AccessibilityView="Content"
|
||||||
|
ItemTemplate="{StaticResource EnumComboBoxTemplate}"
|
||||||
|
ItemsSource="{x:Bind ViewModel.DefaultInputScopeList}"
|
||||||
|
SelectedItem="{x:Bind ViewModel.CurrentDefaultInputScope, Mode=TwoWay}"
|
||||||
|
Style="{StaticResource ComboBoxSettingStyle}" />
|
||||||
|
</local:SettingsCard>
|
||||||
|
</local:SettingsExpander.Items>
|
||||||
|
</local:SettingsExpander>
|
||||||
</StackPanel>
|
</StackPanel>
|
||||||
</Page>
|
</Page>
|
||||||
|
|||||||
@@ -7,8 +7,6 @@
|
|||||||
#include "Launch.h"
|
#include "Launch.h"
|
||||||
#include "Interaction.h"
|
#include "Interaction.h"
|
||||||
#include "Compatibility.h"
|
#include "Compatibility.h"
|
||||||
#include "Rendering.h"
|
|
||||||
#include "RenderingViewModel.h"
|
|
||||||
#include "Extensions.h"
|
#include "Extensions.h"
|
||||||
#include "Actions.h"
|
#include "Actions.h"
|
||||||
#include "ProfileViewModel.h"
|
#include "ProfileViewModel.h"
|
||||||
@@ -576,11 +574,6 @@ namespace winrt::Microsoft::Terminal::Settings::Editor::implementation
|
|||||||
contentFrame().Navigate(xaml_typename<Editor::Interaction>(), winrt::make<NavigateToPageArgs>(winrt::make<InteractionViewModel>(_settingsClone.GlobalSettings()), *this, elementToFocus));
|
contentFrame().Navigate(xaml_typename<Editor::Interaction>(), winrt::make<NavigateToPageArgs>(winrt::make<InteractionViewModel>(_settingsClone.GlobalSettings()), *this, elementToFocus));
|
||||||
_breadcrumbs.Append(winrt::make<Breadcrumb>(vm, RS_(L"Nav_Interaction/Content"), BreadcrumbSubPage::None));
|
_breadcrumbs.Append(winrt::make<Breadcrumb>(vm, RS_(L"Nav_Interaction/Content"), BreadcrumbSubPage::None));
|
||||||
}
|
}
|
||||||
else if (*clickedItemTag == renderingTag)
|
|
||||||
{
|
|
||||||
contentFrame().Navigate(xaml_typename<Editor::Rendering>(), winrt::make<NavigateToPageArgs>(winrt::make<RenderingViewModel>(_settingsClone), *this, elementToFocus));
|
|
||||||
_breadcrumbs.Append(winrt::make<Breadcrumb>(vm, RS_(L"Nav_Rendering/Content"), BreadcrumbSubPage::None));
|
|
||||||
}
|
|
||||||
else if (*clickedItemTag == compatibilityTag)
|
else if (*clickedItemTag == compatibilityTag)
|
||||||
{
|
{
|
||||||
contentFrame().Navigate(xaml_typename<Editor::Compatibility>(), winrt::make<NavigateToPageArgs>(winrt::make<CompatibilityViewModel>(_settingsClone), *this, elementToFocus));
|
contentFrame().Navigate(xaml_typename<Editor::Compatibility>(), winrt::make<NavigateToPageArgs>(winrt::make<CompatibilityViewModel>(_settingsClone), *this, elementToFocus));
|
||||||
|
|||||||
@@ -168,11 +168,6 @@
|
|||||||
x:Uid="Nav_ColorSchemes"
|
x:Uid="Nav_ColorSchemes"
|
||||||
Tag="ColorSchemes_Nav" />
|
Tag="ColorSchemes_Nav" />
|
||||||
|
|
||||||
|
|
||||||
<muxc:NavigationViewItem x:Name="RenderingNavItem"
|
|
||||||
x:Uid="Nav_Rendering"
|
|
||||||
Tag="Rendering_Nav" />
|
|
||||||
|
|
||||||
<muxc:NavigationViewItem x:Name="CompatibilityNavItem"
|
<muxc:NavigationViewItem x:Name="CompatibilityNavItem"
|
||||||
x:Uid="Nav_Compatibility"
|
x:Uid="Nav_Compatibility"
|
||||||
Tag="Compatibility_Nav" />
|
Tag="Compatibility_Nav" />
|
||||||
|
|||||||
@@ -119,10 +119,6 @@
|
|||||||
<DependentUpon>ColorSchemesPageViewModel.idl</DependentUpon>
|
<DependentUpon>ColorSchemesPageViewModel.idl</DependentUpon>
|
||||||
<SubType>Code</SubType>
|
<SubType>Code</SubType>
|
||||||
</ClInclude>
|
</ClInclude>
|
||||||
<ClInclude Include="RenderingViewModel.h">
|
|
||||||
<DependentUpon>RenderingViewModel.idl</DependentUpon>
|
|
||||||
<SubType>Code</SubType>
|
|
||||||
</ClInclude>
|
|
||||||
<ClInclude Include="InteractionViewModel.h">
|
<ClInclude Include="InteractionViewModel.h">
|
||||||
<DependentUpon>InteractionViewModel.idl</DependentUpon>
|
<DependentUpon>InteractionViewModel.idl</DependentUpon>
|
||||||
<SubType>Code</SubType>
|
<SubType>Code</SubType>
|
||||||
@@ -167,9 +163,6 @@
|
|||||||
<DependentUpon>Appearances.xaml</DependentUpon>
|
<DependentUpon>Appearances.xaml</DependentUpon>
|
||||||
<SubType>Code</SubType>
|
<SubType>Code</SubType>
|
||||||
</ClInclude>
|
</ClInclude>
|
||||||
<ClInclude Include="Rendering.h">
|
|
||||||
<DependentUpon>Rendering.xaml</DependentUpon>
|
|
||||||
</ClInclude>
|
|
||||||
<ClInclude Include="SettingsCard.h">
|
<ClInclude Include="SettingsCard.h">
|
||||||
<DependentUpon>SettingsCard.idl</DependentUpon>
|
<DependentUpon>SettingsCard.idl</DependentUpon>
|
||||||
</ClInclude>
|
</ClInclude>
|
||||||
@@ -252,9 +245,6 @@
|
|||||||
<Page Include="Appearances.xaml">
|
<Page Include="Appearances.xaml">
|
||||||
<SubType>Designer</SubType>
|
<SubType>Designer</SubType>
|
||||||
</Page>
|
</Page>
|
||||||
<Page Include="Rendering.xaml">
|
|
||||||
<SubType>Designer</SubType>
|
|
||||||
</Page>
|
|
||||||
<Page Include="SettingsControlsStyle.xaml">
|
<Page Include="SettingsControlsStyle.xaml">
|
||||||
<Type>DefaultStyle</Type>
|
<Type>DefaultStyle</Type>
|
||||||
</Page>
|
</Page>
|
||||||
@@ -340,10 +330,6 @@
|
|||||||
<DependentUpon>ColorSchemesPageViewModel.idl</DependentUpon>
|
<DependentUpon>ColorSchemesPageViewModel.idl</DependentUpon>
|
||||||
<SubType>Code</SubType>
|
<SubType>Code</SubType>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
<ClCompile Include="RenderingViewModel.cpp">
|
|
||||||
<DependentUpon>RenderingViewModel.idl</DependentUpon>
|
|
||||||
<SubType>Code</SubType>
|
|
||||||
</ClCompile>
|
|
||||||
<ClCompile Include="InteractionViewModel.cpp">
|
<ClCompile Include="InteractionViewModel.cpp">
|
||||||
<DependentUpon>InteractionViewModel.idl</DependentUpon>
|
<DependentUpon>InteractionViewModel.idl</DependentUpon>
|
||||||
<SubType>Code</SubType>
|
<SubType>Code</SubType>
|
||||||
@@ -388,9 +374,6 @@
|
|||||||
<DependentUpon>Appearances.xaml</DependentUpon>
|
<DependentUpon>Appearances.xaml</DependentUpon>
|
||||||
<SubType>Code</SubType>
|
<SubType>Code</SubType>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
<ClCompile Include="Rendering.cpp">
|
|
||||||
<DependentUpon>Rendering.xaml</DependentUpon>
|
|
||||||
</ClCompile>
|
|
||||||
<ClCompile Include="SettingsCard.cpp">
|
<ClCompile Include="SettingsCard.cpp">
|
||||||
<DependentUpon>SettingsCard.idl</DependentUpon>
|
<DependentUpon>SettingsCard.idl</DependentUpon>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
@@ -458,10 +441,6 @@
|
|||||||
<DependentUpon>Compatibility.xaml</DependentUpon>
|
<DependentUpon>Compatibility.xaml</DependentUpon>
|
||||||
<SubType>Code</SubType>
|
<SubType>Code</SubType>
|
||||||
</Midl>
|
</Midl>
|
||||||
<Midl Include="Rendering.idl">
|
|
||||||
<DependentUpon>Rendering.xaml</DependentUpon>
|
|
||||||
<SubType>Code</SubType>
|
|
||||||
</Midl>
|
|
||||||
<Midl Include="SearchIndex.idl" />
|
<Midl Include="SearchIndex.idl" />
|
||||||
<Midl Include="MainPage.idl">
|
<Midl Include="MainPage.idl">
|
||||||
<DependentUpon>MainPage.xaml</DependentUpon>
|
<DependentUpon>MainPage.xaml</DependentUpon>
|
||||||
@@ -471,7 +450,6 @@
|
|||||||
<Midl Include="TerminalColorConverters.idl" />
|
<Midl Include="TerminalColorConverters.idl" />
|
||||||
<Midl Include="ColorSchemeViewModel.idl" />
|
<Midl Include="ColorSchemeViewModel.idl" />
|
||||||
<Midl Include="ColorSchemesPageViewModel.idl" />
|
<Midl Include="ColorSchemesPageViewModel.idl" />
|
||||||
<Midl Include="RenderingViewModel.idl" />
|
|
||||||
<Midl Include="InteractionViewModel.idl" />
|
<Midl Include="InteractionViewModel.idl" />
|
||||||
<Midl Include="GlobalAppearanceViewModel.idl" />
|
<Midl Include="GlobalAppearanceViewModel.idl" />
|
||||||
<Midl Include="LaunchViewModel.idl" />
|
<Midl Include="LaunchViewModel.idl" />
|
||||||
|
|||||||
@@ -24,7 +24,6 @@
|
|||||||
<Midl Include="ActionsViewModel.idl" />
|
<Midl Include="ActionsViewModel.idl" />
|
||||||
<Midl Include="ColorSchemeViewModel.idl" />
|
<Midl Include="ColorSchemeViewModel.idl" />
|
||||||
<Midl Include="ColorSchemesPageViewModel.idl" />
|
<Midl Include="ColorSchemesPageViewModel.idl" />
|
||||||
<Midl Include="RenderingViewModel.idl" />
|
|
||||||
<Midl Include="InteractionViewModel.idl" />
|
<Midl Include="InteractionViewModel.idl" />
|
||||||
<Midl Include="GlobalAppearanceViewModel.idl" />
|
<Midl Include="GlobalAppearanceViewModel.idl" />
|
||||||
<Midl Include="LaunchViewModel.idl" />
|
<Midl Include="LaunchViewModel.idl" />
|
||||||
@@ -50,7 +49,6 @@
|
|||||||
<Page Include="Profiles_Advanced.xaml" />
|
<Page Include="Profiles_Advanced.xaml" />
|
||||||
<Page Include="Profiles_Appearance.xaml" />
|
<Page Include="Profiles_Appearance.xaml" />
|
||||||
<Page Include="Appearances.xaml" />
|
<Page Include="Appearances.xaml" />
|
||||||
<Page Include="Rendering.xaml" />
|
|
||||||
<Page Include="Actions.xaml" />
|
<Page Include="Actions.xaml" />
|
||||||
<Page Include="EditAction.xaml" />
|
<Page Include="EditAction.xaml" />
|
||||||
<Page Include="SettingsControlsStyle.xaml" />
|
<Page Include="SettingsControlsStyle.xaml" />
|
||||||
|
|||||||
@@ -12,7 +12,6 @@ namespace winrt::Microsoft::Terminal::Settings::Editor::implementation
|
|||||||
inline constexpr std::wstring_view openJsonTag{ L"OpenJson_Nav" };
|
inline constexpr std::wstring_view openJsonTag{ L"OpenJson_Nav" };
|
||||||
inline constexpr std::wstring_view launchTag{ L"Launch_Nav" };
|
inline constexpr std::wstring_view launchTag{ L"Launch_Nav" };
|
||||||
inline constexpr std::wstring_view interactionTag{ L"Interaction_Nav" };
|
inline constexpr std::wstring_view interactionTag{ L"Interaction_Nav" };
|
||||||
inline constexpr std::wstring_view renderingTag{ L"Rendering_Nav" };
|
|
||||||
inline constexpr std::wstring_view compatibilityTag{ L"Compatibility_Nav" };
|
inline constexpr std::wstring_view compatibilityTag{ L"Compatibility_Nav" };
|
||||||
inline constexpr std::wstring_view actionsTag{ L"Actions_Nav" };
|
inline constexpr std::wstring_view actionsTag{ L"Actions_Nav" };
|
||||||
inline constexpr std::wstring_view newTabMenuTag{ L"NewTabMenu_Nav" };
|
inline constexpr std::wstring_view newTabMenuTag{ L"NewTabMenu_Nav" };
|
||||||
@@ -28,7 +27,6 @@ namespace winrt::Microsoft::Terminal::Settings::Editor::implementation
|
|||||||
std::pair{ interactionTag, L"\xE7C9" }, /* Touch Pointer */
|
std::pair{ interactionTag, L"\xE7C9" }, /* Touch Pointer */
|
||||||
std::pair{ globalAppearanceTag, L"\xE771" }, /* Personalize */
|
std::pair{ globalAppearanceTag, L"\xE771" }, /* Personalize */
|
||||||
std::pair{ colorSchemesTag, L"\xE790" }, /* Color */
|
std::pair{ colorSchemesTag, L"\xE790" }, /* Color */
|
||||||
std::pair{ renderingTag, L"\xE7F8" }, /* Device Laptop No Pic */
|
|
||||||
std::pair{ compatibilityTag, L"\xEC7A" }, /* Developer Tools */
|
std::pair{ compatibilityTag, L"\xEC7A" }, /* Developer Tools */
|
||||||
std::pair{ actionsTag, L"\xE765" }, /* Keyboard Classic */
|
std::pair{ actionsTag, L"\xE765" }, /* Keyboard Classic */
|
||||||
std::pair{ newTabMenuTag, L"\xE71D" }, /* All Apps */
|
std::pair{ newTabMenuTag, L"\xE71D" }, /* All Apps */
|
||||||
|
|||||||
@@ -52,7 +52,7 @@ namespace winrt::Microsoft::Terminal::Settings::Editor::implementation
|
|||||||
if (viewModelProperty == L"IsBaseLayer")
|
if (viewModelProperty == L"IsBaseLayer")
|
||||||
{
|
{
|
||||||
// we _always_ want to show the background image settings in base layer
|
// we _always_ want to show the background image settings in base layer
|
||||||
_NotifyChanges(L"BackgroundImageSettingsEnabled");
|
_NotifyChanges(L"BackgroundImageSettingsEnabled", L"SectionHeaderText");
|
||||||
}
|
}
|
||||||
else if (viewModelProperty == L"StartingDirectory")
|
else if (viewModelProperty == L"StartingDirectory")
|
||||||
{
|
{
|
||||||
@@ -128,6 +128,10 @@ namespace winrt::Microsoft::Terminal::Settings::Editor::implementation
|
|||||||
{
|
{
|
||||||
_NotifyChanges(L"TabColorPreview");
|
_NotifyChanges(L"TabColorPreview");
|
||||||
}
|
}
|
||||||
|
else if (viewModelProperty == L"Name")
|
||||||
|
{
|
||||||
|
_NotifyChanges(L"SectionHeaderText");
|
||||||
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
// Do the same for the starting directory
|
// Do the same for the starting directory
|
||||||
@@ -358,6 +362,15 @@ namespace winrt::Microsoft::Terminal::Settings::Editor::implementation
|
|||||||
return RS_(L"Profile_AnswerbackMessageNone");
|
return RS_(L"Profile_AnswerbackMessageNone");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
hstring ProfileViewModel::SectionHeaderText() const
|
||||||
|
{
|
||||||
|
if (IsBaseLayer())
|
||||||
|
{
|
||||||
|
return RS_(L"Profile_DefaultsSectionHeader");
|
||||||
|
}
|
||||||
|
return hstring{ RS_fmt(L"Profile_NameSectionHeaderFormat", Name()) };
|
||||||
|
}
|
||||||
|
|
||||||
Windows::UI::Color ProfileViewModel::TabColorPreview() const
|
Windows::UI::Color ProfileViewModel::TabColorPreview() const
|
||||||
{
|
{
|
||||||
if (const auto modelVal = _profile.TabColor())
|
if (const auto modelVal = _profile.TabColor())
|
||||||
|
|||||||
@@ -103,6 +103,7 @@ namespace winrt::Microsoft::Terminal::Settings::Editor::implementation
|
|||||||
|
|
||||||
bool Orphaned() const;
|
bool Orphaned() const;
|
||||||
hstring TabTitlePreview() const;
|
hstring TabTitlePreview() const;
|
||||||
|
hstring SectionHeaderText() const;
|
||||||
hstring AnswerbackMessagePreview() const;
|
hstring AnswerbackMessagePreview() const;
|
||||||
Windows::UI::Color TabColorPreview() const;
|
Windows::UI::Color TabColorPreview() const;
|
||||||
Windows::UI::Color TabThemeColorPreview() const;
|
Windows::UI::Color TabThemeColorPreview() const;
|
||||||
|
|||||||
@@ -99,6 +99,7 @@ namespace Microsoft.Terminal.Settings.Editor
|
|||||||
Boolean UsingNoIcon { get; };
|
Boolean UsingNoIcon { get; };
|
||||||
|
|
||||||
String TabTitlePreview { get; };
|
String TabTitlePreview { get; };
|
||||||
|
String SectionHeaderText { get; };
|
||||||
String AnswerbackMessagePreview { get; };
|
String AnswerbackMessagePreview { get; };
|
||||||
Windows.UI.Color TabColorPreview { get; };
|
Windows.UI.Color TabColorPreview { get; };
|
||||||
Windows.UI.Color TabThemeColorPreview { get; };
|
Windows.UI.Color TabThemeColorPreview { get; };
|
||||||
|
|||||||
@@ -21,9 +21,7 @@ namespace winrt::Microsoft::Terminal::Settings::Editor::implementation
|
|||||||
const auto startingDirCheckboxTooltip{ ToolTipService::GetToolTip(StartingDirectoryUseParentCheckbox()) };
|
const auto startingDirCheckboxTooltip{ ToolTipService::GetToolTip(StartingDirectoryUseParentCheckbox()) };
|
||||||
Automation::AutomationProperties::SetFullDescription(StartingDirectoryUseParentCheckbox(), unbox_value<hstring>(startingDirCheckboxTooltip));
|
Automation::AutomationProperties::SetFullDescription(StartingDirectoryUseParentCheckbox(), unbox_value<hstring>(startingDirCheckboxTooltip));
|
||||||
|
|
||||||
AppearanceNavigator().Header(box_value(RS_(L"Profile_Appearance/Header")));
|
Automation::AutomationProperties::SetName(DeleteButton(), RS_(L"Profile_DeleteButton/Text"));
|
||||||
TerminalNavigator().Header(box_value(RS_(L"Profile_Terminal/Header")));
|
|
||||||
AdvancedNavigator().Header(box_value(RS_(L"Profile_Advanced/Header")));
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void Profiles_Base::OnNavigatedTo(const NavigationEventArgs& e)
|
void Profiles_Base::OnNavigatedTo(const NavigationEventArgs& e)
|
||||||
@@ -50,7 +48,7 @@ namespace winrt::Microsoft::Terminal::Settings::Editor::implementation
|
|||||||
|
|
||||||
if (_Profile.FocusDeleteButton())
|
if (_Profile.FocusDeleteButton())
|
||||||
{
|
{
|
||||||
DeleteProfileButton().Focus(FocusState::Programmatic);
|
DeleteButton().Focus(FocusState::Programmatic);
|
||||||
_Profile.FocusDeleteButton(false);
|
_Profile.FocusDeleteButton(false);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -32,56 +32,114 @@
|
|||||||
Style="{StaticResource DisclaimerStyle}"
|
Style="{StaticResource DisclaimerStyle}"
|
||||||
Visibility="{x:Bind Profile.IsBaseLayer}" />
|
Visibility="{x:Bind Profile.IsBaseLayer}" />
|
||||||
<StackPanel Grid.Row="1"
|
<StackPanel Grid.Row="1"
|
||||||
Spacing="2"
|
|
||||||
Style="{StaticResource SettingsStackStyle}">
|
Style="{StaticResource SettingsStackStyle}">
|
||||||
|
|
||||||
|
<!-- Section: {Profile.Name} profile (or "Profile defaults") -->
|
||||||
|
<TextBlock Style="{StaticResource TextBlockSubHeaderStyle}"
|
||||||
|
Text="{x:Bind Profile.SectionHeaderText, Mode=OneWay}" />
|
||||||
<!-- Name -->
|
<!-- Name -->
|
||||||
<local:SettingsCard x:Name="Name"
|
<local:SettingsExpander x:Name="Name"
|
||||||
x:Uid="Profile_Name"
|
x:Uid="Profile_Name"
|
||||||
Visibility="{x:Bind mtu:Converters.InvertedBooleanToVisibility(Profile.IsBaseLayer), Mode=OneWay}">
|
IsExpanded="True">
|
||||||
|
<TextBox x:Uid="Profile_NameBox"
|
||||||
|
Style="{StaticResource TextBoxSettingStyle}"
|
||||||
|
Text="{x:Bind Profile.Name, Mode=TwoWay}"
|
||||||
|
Visibility="{x:Bind mtu:Converters.InvertedBooleanToVisibility(Profile.IsBaseLayer), Mode=OneWay}" />
|
||||||
|
<local:SettingsExpander.HeaderIcon>
|
||||||
|
<FontIcon Glyph="" />
|
||||||
|
</local:SettingsExpander.HeaderIcon>
|
||||||
|
<local:SettingsExpander.Items>
|
||||||
|
|
||||||
|
<!-- Commandline -->
|
||||||
|
<local:SettingsCard x:Name="Commandline"
|
||||||
|
x:Uid="Profile_Commandline"
|
||||||
|
Visibility="{x:Bind mtu:Converters.InvertedBooleanToVisibility(Profile.IsBaseLayer), Mode=OneWay}">
|
||||||
|
<StackPanel Orientation="Horizontal"
|
||||||
|
Spacing="8">
|
||||||
|
<TextBox x:Uid="Profile_CommandlineBox"
|
||||||
|
IsSpellCheckEnabled="False"
|
||||||
|
Style="{StaticResource TextBoxSettingStyle}"
|
||||||
|
Text="{x:Bind Profile.Commandline, Mode=TwoWay}" />
|
||||||
|
<Button x:Uid="Profile_CommandlineBrowse_Tooltip"
|
||||||
|
Click="Commandline_Click"
|
||||||
|
Style="{StaticResource BrowseButtonStyle}">
|
||||||
|
<FontIcon FontSize="{StaticResource StandardIconSize}"
|
||||||
|
Glyph="" />
|
||||||
|
</Button>
|
||||||
|
</StackPanel>
|
||||||
|
</local:SettingsCard>
|
||||||
|
|
||||||
|
<!-- Starting Directory -->
|
||||||
|
<local:SettingsCard x:Uid="Profile_StartingDirectory"
|
||||||
|
IsEnabled="{x:Bind mtu:Converters.InvertBoolean(Profile.UseParentProcessDirectory), Mode=OneWay}">
|
||||||
|
<StackPanel Orientation="Horizontal"
|
||||||
|
Spacing="8">
|
||||||
|
<TextBox x:Uid="Profile_StartingDirectoryBox"
|
||||||
|
IsSpellCheckEnabled="False"
|
||||||
|
Style="{StaticResource TextBoxSettingStyle}"
|
||||||
|
Text="{x:Bind Profile.StartingDirectory, Mode=TwoWay}" />
|
||||||
|
<Button x:Name="StartingDirectoryBrowse"
|
||||||
|
x:Uid="Profile_StartingDirectoryBrowse_Tooltip"
|
||||||
|
Click="StartingDirectory_Click"
|
||||||
|
Style="{StaticResource BrowseButtonStyle}">
|
||||||
|
<FontIcon FontSize="{StaticResource StandardIconSize}"
|
||||||
|
Glyph="" />
|
||||||
|
</Button>
|
||||||
|
</StackPanel>
|
||||||
|
</local:SettingsCard>
|
||||||
|
|
||||||
|
<local:SettingsCard x:Name="StartingDirectory"
|
||||||
|
ContentAlignment="Left">
|
||||||
|
<CheckBox x:Name="StartingDirectoryUseParentCheckbox"
|
||||||
|
x:Uid="Profile_StartingDirectoryUseParentCheckbox"
|
||||||
|
IsChecked="{x:Bind Profile.UseParentProcessDirectory, Mode=TwoWay}" />
|
||||||
|
</local:SettingsCard>
|
||||||
|
|
||||||
|
<!-- Elevate -->
|
||||||
|
<local:SettingsCard x:Name="Elevate"
|
||||||
|
ContentAlignment="Left">
|
||||||
|
<CheckBox x:Uid="Profile_Elevate_Checkbox"
|
||||||
|
IsChecked="{x:Bind Profile.Elevate, Mode=TwoWay}" />
|
||||||
|
</local:SettingsCard>
|
||||||
|
|
||||||
|
<!-- Hidden -->
|
||||||
|
<local:SettingsCard x:Name="Hidden"
|
||||||
|
ContentAlignment="Left"
|
||||||
|
Visibility="{x:Bind mtu:Converters.InvertedBooleanToVisibility(Profile.IsBaseLayer), Mode=OneWay}">
|
||||||
|
<CheckBox x:Uid="Profile_Hidden_Checkbox"
|
||||||
|
IsChecked="{x:Bind Profile.Hidden, Mode=TwoWay}" />
|
||||||
|
</local:SettingsCard>
|
||||||
|
|
||||||
|
</local:SettingsExpander.Items>
|
||||||
|
</local:SettingsExpander>
|
||||||
|
|
||||||
|
<!-- Section: Visual/UI Affordance -->
|
||||||
|
<TextBlock x:Uid="Profile_Section_VisualUI"
|
||||||
|
Style="{StaticResource TextBlockSubHeaderStyle}" />
|
||||||
|
<!-- Tab Title -->
|
||||||
|
<local:SettingsCard x:Name="TabTitle"
|
||||||
|
x:Uid="Profile_TabTitle">
|
||||||
<TextBox Style="{StaticResource TextBoxSettingStyle}"
|
<TextBox Style="{StaticResource TextBoxSettingStyle}"
|
||||||
Text="{x:Bind Profile.Name, Mode=TwoWay}" />
|
Text="{x:Bind Profile.TabTitle, Mode=TwoWay}" />
|
||||||
</local:SettingsCard>
|
</local:SettingsCard>
|
||||||
|
|
||||||
<!-- Commandline -->
|
<!-- Tab Color -->
|
||||||
<local:SettingsCard x:Name="Commandline"
|
<local:SettingsExpander x:Name="TabColor"
|
||||||
x:Uid="Profile_Commandline"
|
x:Uid="Profile_TabColor"
|
||||||
Visibility="{x:Bind mtu:Converters.InvertedBooleanToVisibility(Profile.IsBaseLayer), Mode=OneWay}">
|
AutomationProperties.Name="{x:Bind Profile.TabColorPreview, Converter={StaticResource ColorToStringConverter}, Mode=OneWay}">
|
||||||
<StackPanel Orientation="Horizontal"
|
<local:SettingsExpander.Content>
|
||||||
Spacing="8">
|
<ContentControl Content="{x:Bind Profile.TabColorPreview, Mode=OneWay}"
|
||||||
<TextBox x:Uid="Profile_CommandlineBox"
|
ContentTemplate="{StaticResource ColorPreviewTemplate}" />
|
||||||
IsSpellCheckEnabled="False"
|
</local:SettingsExpander.Content>
|
||||||
Style="{StaticResource TextBoxSettingStyle}"
|
<local:SettingsExpander.ItemsHeader>
|
||||||
Text="{x:Bind Profile.Commandline, Mode=TwoWay}" />
|
<ContentPresenter Padding="16,12,16,16">
|
||||||
<Button x:Uid="Profile_CommandlineBrowse"
|
<local:NullableColorPicker x:Uid="Profile_TabColor_NullableColorPicker"
|
||||||
Click="Commandline_Click"
|
ColorSchemeVM="{x:Bind Profile.DefaultAppearance.CurrentColorScheme, Mode=OneWay}"
|
||||||
Style="{StaticResource BrowseButtonStyle}" />
|
CurrentColor="{x:Bind Profile.TabColor, Mode=TwoWay}"
|
||||||
</StackPanel>
|
NullColorPreview="{x:Bind Profile.TabThemeColorPreview, Mode=OneWay}" />
|
||||||
</local:SettingsCard>
|
</ContentPresenter>
|
||||||
|
</local:SettingsExpander.ItemsHeader>
|
||||||
<!-- Starting Directory -->
|
</local:SettingsExpander>
|
||||||
<local:SettingsCard x:Name="StartingDirectory"
|
|
||||||
x:Uid="Profile_StartingDirectory">
|
|
||||||
<StackPanel Orientation="Vertical">
|
|
||||||
<StackPanel Orientation="Horizontal"
|
|
||||||
Spacing="8">
|
|
||||||
<TextBox x:Uid="Profile_StartingDirectoryBox"
|
|
||||||
IsEnabled="{x:Bind mtu:Converters.InvertBoolean(Profile.UseParentProcessDirectory), Mode=OneWay}"
|
|
||||||
IsSpellCheckEnabled="False"
|
|
||||||
Style="{StaticResource TextBoxSettingStyle}"
|
|
||||||
Text="{x:Bind Profile.StartingDirectory, Mode=TwoWay}" />
|
|
||||||
<Button x:Name="StartingDirectoryBrowse"
|
|
||||||
x:Uid="Profile_StartingDirectoryBrowse"
|
|
||||||
Click="StartingDirectory_Click"
|
|
||||||
IsEnabled="{x:Bind mtu:Converters.InvertBoolean(Profile.UseParentProcessDirectory), Mode=OneWay}"
|
|
||||||
Style="{StaticResource BrowseButtonStyle}" />
|
|
||||||
</StackPanel>
|
|
||||||
<CheckBox x:Name="StartingDirectoryUseParentCheckbox"
|
|
||||||
x:Uid="Profile_StartingDirectoryUseParentCheckbox"
|
|
||||||
Margin="0,4,0,0"
|
|
||||||
IsChecked="{x:Bind Profile.UseParentProcessDirectory, Mode=TwoWay}" />
|
|
||||||
</StackPanel>
|
|
||||||
</local:SettingsCard>
|
|
||||||
|
|
||||||
<!-- Icon -->
|
<!-- Icon -->
|
||||||
<local:SettingsExpander x:Name="Icon"
|
<local:SettingsExpander x:Name="Icon"
|
||||||
@@ -111,72 +169,50 @@
|
|||||||
</local:SettingsExpander.ItemsHeader>
|
</local:SettingsExpander.ItemsHeader>
|
||||||
</local:SettingsExpander>
|
</local:SettingsExpander>
|
||||||
|
|
||||||
<!-- Tab Title -->
|
<!-- Addition settings -->
|
||||||
<local:SettingsCard x:Name="TabTitle"
|
|
||||||
x:Uid="Profile_TabTitle">
|
<TextBlock x:Uid="Profile_AdditionalSettingsHeader"
|
||||||
<TextBox Style="{StaticResource TextBoxSettingStyle}"
|
Style="{StaticResource TextBlockSubHeaderStyle}" />
|
||||||
Text="{x:Bind Profile.TabTitle, Mode=TwoWay}" />
|
|
||||||
|
<local:SettingsCard x:Name="AppearanceNavigator"
|
||||||
|
x:Uid="Profile_AppearanceNavigator"
|
||||||
|
Click="Appearance_Click"
|
||||||
|
IsClickEnabled="True">
|
||||||
|
<local:SettingsCard.HeaderIcon>
|
||||||
|
<FontIcon Glyph="" />
|
||||||
|
</local:SettingsCard.HeaderIcon>
|
||||||
|
</local:SettingsCard>
|
||||||
|
<local:SettingsCard x:Name="TerminalNavigator"
|
||||||
|
x:Uid="Profile_TerminalNavigator"
|
||||||
|
Click="Terminal_Click"
|
||||||
|
IsClickEnabled="True">
|
||||||
|
<local:SettingsCard.HeaderIcon>
|
||||||
|
<FontIcon Glyph="" />
|
||||||
|
</local:SettingsCard.HeaderIcon>
|
||||||
|
</local:SettingsCard>
|
||||||
|
<local:SettingsCard x:Name="AdvancedNavigator"
|
||||||
|
x:Uid="Profile_AdvancedNavigator"
|
||||||
|
Click="Advanced_Click"
|
||||||
|
IsClickEnabled="True">
|
||||||
|
<local:SettingsCard.HeaderIcon>
|
||||||
|
<FontIcon Glyph="" />
|
||||||
|
</local:SettingsCard.HeaderIcon>
|
||||||
</local:SettingsCard>
|
</local:SettingsCard>
|
||||||
|
|
||||||
<!-- Tab Color -->
|
<!-- Delete Button -->
|
||||||
<local:SettingsExpander x:Name="TabColor"
|
<Border MaxWidth="{StaticResource StandardControlMaxWidth}">
|
||||||
x:Uid="Profile_TabColor"
|
<Button x:Name="DeleteButton"
|
||||||
AutomationProperties.Name="{x:Bind Profile.TabColorPreview, Converter={StaticResource ColorToStringConverter}, Mode=OneWay}">
|
Margin="{StaticResource StandardControlMargin}"
|
||||||
<local:SettingsExpander.Content>
|
Style="{StaticResource DeleteButtonStyle}"
|
||||||
<ContentControl Content="{x:Bind Profile.TabColorPreview, Mode=OneWay}"
|
Visibility="{x:Bind Profile.CanDeleteProfile}">
|
||||||
ContentTemplate="{StaticResource ColorPreviewTemplate}" />
|
<Button.Content>
|
||||||
</local:SettingsExpander.Content>
|
<StackPanel Orientation="Horizontal">
|
||||||
<local:SettingsExpander.ItemsHeader>
|
<FontIcon FontSize="{StaticResource StandardIconSize}"
|
||||||
<ContentPresenter Padding="16,12,16,16">
|
Glyph="" />
|
||||||
<local:NullableColorPicker x:Uid="Profile_TabColor_NullableColorPicker"
|
<TextBlock x:Uid="Profile_DeleteButton"
|
||||||
ColorSchemeVM="{x:Bind Profile.DefaultAppearance.CurrentColorScheme, Mode=OneWay}"
|
Margin="8,0,0,0" />
|
||||||
CurrentColor="{x:Bind Profile.TabColor, Mode=TwoWay}"
|
</StackPanel>
|
||||||
NullColorPreview="{x:Bind Profile.TabThemeColorPreview, Mode=OneWay}" />
|
</Button.Content>
|
||||||
</ContentPresenter>
|
|
||||||
</local:SettingsExpander.ItemsHeader>
|
|
||||||
</local:SettingsExpander>
|
|
||||||
|
|
||||||
<!-- Elevate -->
|
|
||||||
<local:SettingsCard x:Name="Elevate"
|
|
||||||
x:Uid="Profile_Elevate">
|
|
||||||
<ToggleSwitch IsOn="{x:Bind Profile.Elevate, Mode=TwoWay}"
|
|
||||||
Style="{StaticResource ToggleSwitchInExpanderStyle}" />
|
|
||||||
</local:SettingsCard>
|
|
||||||
|
|
||||||
<!-- Hidden -->
|
|
||||||
<local:SettingsCard x:Name="Hidden"
|
|
||||||
x:Uid="Profile_Hidden"
|
|
||||||
Visibility="{x:Bind mtu:Converters.InvertedBooleanToVisibility(Profile.IsBaseLayer), Mode=OneWay}">
|
|
||||||
<ToggleSwitch IsOn="{x:Bind Profile.Hidden, Mode=TwoWay}"
|
|
||||||
Style="{StaticResource ToggleSwitchInExpanderStyle}" />
|
|
||||||
</local:SettingsCard>
|
|
||||||
|
|
||||||
<!-- Reset Profile -->
|
|
||||||
<local:SettingsCard x:Name="ResetProfile"
|
|
||||||
x:Uid="Profile_ResetProfile"
|
|
||||||
Visibility="{x:Bind mtu:Converters.InvertedBooleanToVisibility(Profile.IsBaseLayer), Mode=OneWay}">
|
|
||||||
<Button x:Uid="Profile_ResetProfileButton"
|
|
||||||
Style="{StaticResource DeleteButtonStyle}">
|
|
||||||
<Button.Flyout>
|
|
||||||
<Flyout>
|
|
||||||
<StackPanel>
|
|
||||||
<TextBlock x:Uid="Profile_ResetProfileConfirmationMessage"
|
|
||||||
Style="{StaticResource CustomFlyoutTextStyle}" />
|
|
||||||
<Button x:Uid="Profile_ResetProfileConfirmationButton"
|
|
||||||
Click="ResetProfileConfirmation_Click" />
|
|
||||||
</StackPanel>
|
|
||||||
</Flyout>
|
|
||||||
</Button.Flyout>
|
|
||||||
</Button>
|
|
||||||
</local:SettingsCard>
|
|
||||||
|
|
||||||
<!-- Delete Profile -->
|
|
||||||
<local:SettingsCard x:Name="DeleteProfile"
|
|
||||||
x:Uid="Profile_DeleteProfile"
|
|
||||||
Visibility="{x:Bind Profile.CanDeleteProfile}">
|
|
||||||
<Button x:Name="DeleteProfileButton"
|
|
||||||
x:Uid="Profile_DeleteProfileButton"
|
|
||||||
Style="{StaticResource DeleteButtonStyle}">
|
|
||||||
<Button.Flyout>
|
<Button.Flyout>
|
||||||
<Flyout>
|
<Flyout>
|
||||||
<StackPanel>
|
<StackPanel>
|
||||||
@@ -188,21 +224,7 @@
|
|||||||
</Flyout>
|
</Flyout>
|
||||||
</Button.Flyout>
|
</Button.Flyout>
|
||||||
</Button>
|
</Button>
|
||||||
</local:SettingsCard>
|
</Border>
|
||||||
|
|
||||||
<TextBlock x:Uid="Profile_AdditionalSettingsHeader"
|
|
||||||
Margin="0,32,0,4"
|
|
||||||
Style="{StaticResource TextBlockSubHeaderStyle}" />
|
|
||||||
|
|
||||||
<local:SettingsCard x:Name="AppearanceNavigator"
|
|
||||||
Click="Appearance_Click"
|
|
||||||
IsClickEnabled="True" />
|
|
||||||
<local:SettingsCard x:Name="TerminalNavigator"
|
|
||||||
Click="Terminal_Click"
|
|
||||||
IsClickEnabled="True" />
|
|
||||||
<local:SettingsCard x:Name="AdvancedNavigator"
|
|
||||||
Click="Advanced_Click"
|
|
||||||
IsClickEnabled="True" />
|
|
||||||
</StackPanel>
|
</StackPanel>
|
||||||
</Grid>
|
</Grid>
|
||||||
</Page>
|
</Page>
|
||||||
|
|||||||
@@ -1,31 +0,0 @@
|
|||||||
// Copyright (c) Microsoft Corporation.
|
|
||||||
// Licensed under the MIT license.
|
|
||||||
|
|
||||||
#include "pch.h"
|
|
||||||
#include "Rendering.h"
|
|
||||||
#include "Rendering.g.cpp"
|
|
||||||
|
|
||||||
using namespace winrt::Windows::UI::Xaml::Navigation;
|
|
||||||
|
|
||||||
namespace winrt::Microsoft::Terminal::Settings::Editor::implementation
|
|
||||||
{
|
|
||||||
Rendering::Rendering()
|
|
||||||
{
|
|
||||||
InitializeComponent();
|
|
||||||
}
|
|
||||||
|
|
||||||
void Rendering::OnNavigatedTo(const NavigationEventArgs& e)
|
|
||||||
{
|
|
||||||
const auto args = e.Parameter().as<Editor::NavigateToPageArgs>();
|
|
||||||
_ViewModel = args.ViewModel().as<Editor::RenderingViewModel>();
|
|
||||||
BringIntoViewWhenLoaded(args.ElementToFocus());
|
|
||||||
|
|
||||||
TraceLoggingWrite(
|
|
||||||
g_hTerminalSettingsEditorProvider,
|
|
||||||
"NavigatedToPage",
|
|
||||||
TraceLoggingDescription("Event emitted when the user navigates to a page in the settings UI"),
|
|
||||||
TraceLoggingValue("rendering", "PageId", "The identifier of the page that was navigated to"),
|
|
||||||
TraceLoggingKeyword(MICROSOFT_KEYWORD_MEASURES),
|
|
||||||
TelemetryPrivacyDataTag(PDT_ProductAndServiceUsage));
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,25 +0,0 @@
|
|||||||
// Copyright (c) Microsoft Corporation.
|
|
||||||
// Licensed under the MIT license.
|
|
||||||
|
|
||||||
#pragma once
|
|
||||||
|
|
||||||
#include "Rendering.g.h"
|
|
||||||
#include "Utils.h"
|
|
||||||
|
|
||||||
namespace winrt::Microsoft::Terminal::Settings::Editor::implementation
|
|
||||||
{
|
|
||||||
struct Rendering : public HasScrollViewer<Rendering>, RenderingT<Rendering>
|
|
||||||
{
|
|
||||||
Rendering();
|
|
||||||
|
|
||||||
void OnNavigatedTo(const winrt::Windows::UI::Xaml::Navigation::NavigationEventArgs& e);
|
|
||||||
|
|
||||||
til::property_changed_event PropertyChanged;
|
|
||||||
WINRT_OBSERVABLE_PROPERTY(Editor::RenderingViewModel, ViewModel, PropertyChanged.raise, nullptr);
|
|
||||||
};
|
|
||||||
}
|
|
||||||
|
|
||||||
namespace winrt::Microsoft::Terminal::Settings::Editor::factory_implementation
|
|
||||||
{
|
|
||||||
BASIC_FACTORY(Rendering);
|
|
||||||
}
|
|
||||||
@@ -1,13 +0,0 @@
|
|||||||
// Copyright (c) Microsoft Corporation.
|
|
||||||
// Licensed under the MIT license.
|
|
||||||
|
|
||||||
import "RenderingViewModel.idl";
|
|
||||||
|
|
||||||
namespace Microsoft.Terminal.Settings.Editor
|
|
||||||
{
|
|
||||||
[default_interface] runtimeclass Rendering : Windows.UI.Xaml.Controls.Page
|
|
||||||
{
|
|
||||||
Rendering();
|
|
||||||
RenderingViewModel ViewModel { get; };
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,49 +0,0 @@
|
|||||||
<!--
|
|
||||||
Copyright (c) Microsoft Corporation. All rights reserved. Licensed under
|
|
||||||
the MIT License. See LICENSE in the project root for license information.
|
|
||||||
-->
|
|
||||||
<Page x:Class="Microsoft.Terminal.Settings.Editor.Rendering"
|
|
||||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
||||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
||||||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
|
||||||
xmlns:local="using:Microsoft.Terminal.Settings.Editor"
|
|
||||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
|
||||||
mc:Ignorable="d">
|
|
||||||
|
|
||||||
<Page.Resources>
|
|
||||||
<ResourceDictionary>
|
|
||||||
<ResourceDictionary.MergedDictionaries>
|
|
||||||
<ResourceDictionary Source="CommonResources.xaml" />
|
|
||||||
</ResourceDictionary.MergedDictionaries>
|
|
||||||
|
|
||||||
<DataTemplate x:Key="EnumComboBoxTemplate"
|
|
||||||
x:DataType="local:EnumEntry">
|
|
||||||
<TextBlock Text="{x:Bind EnumName}" />
|
|
||||||
</DataTemplate>
|
|
||||||
</ResourceDictionary>
|
|
||||||
</Page.Resources>
|
|
||||||
|
|
||||||
<StackPanel Spacing="2"
|
|
||||||
Style="{StaticResource SettingsStackStyle}">
|
|
||||||
<local:SettingsCard x:Name="GraphicsAPI"
|
|
||||||
x:Uid="Globals_GraphicsAPI">
|
|
||||||
<ComboBox AutomationProperties.AccessibilityView="Content"
|
|
||||||
ItemTemplate="{StaticResource EnumComboBoxTemplate}"
|
|
||||||
ItemsSource="{x:Bind ViewModel.GraphicsAPIList}"
|
|
||||||
SelectedItem="{x:Bind ViewModel.CurrentGraphicsAPI, Mode=TwoWay}"
|
|
||||||
Style="{StaticResource ComboBoxSettingStyle}" />
|
|
||||||
</local:SettingsCard>
|
|
||||||
|
|
||||||
<local:SettingsCard x:Name="DisablePartialInvalidation"
|
|
||||||
x:Uid="Globals_DisablePartialInvalidation">
|
|
||||||
<ToggleSwitch IsOn="{x:Bind ViewModel.DisablePartialInvalidation, Mode=TwoWay}"
|
|
||||||
Style="{StaticResource ToggleSwitchInExpanderStyle}" />
|
|
||||||
</local:SettingsCard>
|
|
||||||
|
|
||||||
<local:SettingsCard x:Name="SoftwareRendering"
|
|
||||||
x:Uid="Globals_SoftwareRendering">
|
|
||||||
<ToggleSwitch IsOn="{x:Bind ViewModel.SoftwareRendering, Mode=TwoWay}"
|
|
||||||
Style="{StaticResource ToggleSwitchInExpanderStyle}" />
|
|
||||||
</local:SettingsCard>
|
|
||||||
</StackPanel>
|
|
||||||
</Page>
|
|
||||||
@@ -1,21 +0,0 @@
|
|||||||
// Copyright (c) Microsoft Corporation.
|
|
||||||
// Licensed under the MIT license.
|
|
||||||
|
|
||||||
#include "pch.h"
|
|
||||||
#include "RenderingViewModel.h"
|
|
||||||
|
|
||||||
#include "EnumEntry.h"
|
|
||||||
|
|
||||||
#include "RenderingViewModel.g.cpp"
|
|
||||||
|
|
||||||
using namespace winrt::Windows::Foundation;
|
|
||||||
using namespace winrt::Microsoft::Terminal::Settings::Model;
|
|
||||||
|
|
||||||
namespace winrt::Microsoft::Terminal::Settings::Editor::implementation
|
|
||||||
{
|
|
||||||
RenderingViewModel::RenderingViewModel(CascadiaSettings settings) noexcept :
|
|
||||||
_settings{ std::move(settings) }
|
|
||||||
{
|
|
||||||
INITIALIZE_BINDABLE_ENUM_SETTING(GraphicsAPI, GraphicsAPI, winrt::Microsoft::Terminal::Control::GraphicsAPI, L"Globals_GraphicsAPI_", L"Text");
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,28 +0,0 @@
|
|||||||
// Copyright (c) Microsoft Corporation.
|
|
||||||
// Licensed under the MIT license.
|
|
||||||
|
|
||||||
#pragma once
|
|
||||||
|
|
||||||
#include "RenderingViewModel.g.h"
|
|
||||||
#include "Utils.h"
|
|
||||||
#include "ViewModelHelpers.h"
|
|
||||||
|
|
||||||
namespace winrt::Microsoft::Terminal::Settings::Editor::implementation
|
|
||||||
{
|
|
||||||
struct RenderingViewModel : RenderingViewModelT<RenderingViewModel>, ViewModelHelper<RenderingViewModel>
|
|
||||||
{
|
|
||||||
explicit RenderingViewModel(Model::CascadiaSettings settings) noexcept;
|
|
||||||
|
|
||||||
GETSET_BINDABLE_ENUM_SETTING(GraphicsAPI, winrt::Microsoft::Terminal::Control::GraphicsAPI, _settings.GlobalSettings().GraphicsAPI);
|
|
||||||
PERMANENT_OBSERVABLE_PROJECTED_SETTING(_settings.GlobalSettings(), DisablePartialInvalidation);
|
|
||||||
PERMANENT_OBSERVABLE_PROJECTED_SETTING(_settings.GlobalSettings(), SoftwareRendering);
|
|
||||||
|
|
||||||
private:
|
|
||||||
Model::CascadiaSettings _settings{ nullptr };
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
namespace winrt::Microsoft::Terminal::Settings::Editor::factory_implementation
|
|
||||||
{
|
|
||||||
BASIC_FACTORY(RenderingViewModel);
|
|
||||||
}
|
|
||||||
@@ -1,19 +0,0 @@
|
|||||||
// Copyright (c) Microsoft Corporation.
|
|
||||||
// Licensed under the MIT license.
|
|
||||||
|
|
||||||
import "EnumEntry.idl";
|
|
||||||
|
|
||||||
#include "ViewModelHelpers.idl.h"
|
|
||||||
|
|
||||||
namespace Microsoft.Terminal.Settings.Editor
|
|
||||||
{
|
|
||||||
runtimeclass RenderingViewModel : Windows.UI.Xaml.Data.INotifyPropertyChanged
|
|
||||||
{
|
|
||||||
RenderingViewModel(Microsoft.Terminal.Settings.Model.CascadiaSettings settings);
|
|
||||||
|
|
||||||
IInspectable CurrentGraphicsAPI;
|
|
||||||
Windows.Foundation.Collections.IObservableVector<Microsoft.Terminal.Settings.Editor.EnumEntry> GraphicsAPIList { get; };
|
|
||||||
PERMANENT_OBSERVABLE_PROJECTED_SETTING(Boolean, DisablePartialInvalidation);
|
|
||||||
PERMANENT_OBSERVABLE_PROJECTED_SETTING(Boolean, SoftwareRendering);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -232,11 +232,11 @@
|
|||||||
<comment>This is the header for a control that lets the user select the yellow color for text displayed on the screen.</comment>
|
<comment>This is the header for a control that lets the user select the yellow color for text displayed on the screen.</comment>
|
||||||
</data>
|
</data>
|
||||||
<data name="Globals_Language.Header" xml:space="preserve">
|
<data name="Globals_Language.Header" xml:space="preserve">
|
||||||
<value>Language (requires relaunch)</value>
|
<value>Language</value>
|
||||||
<comment>The header for a control allowing users to choose the app's language.</comment>
|
<comment>The header for a control allowing users to choose the app's language.</comment>
|
||||||
</data>
|
</data>
|
||||||
<data name="Globals_Language.Description" xml:space="preserve">
|
<data name="Globals_Language.Description" xml:space="preserve">
|
||||||
<value>Selects a display language for the application. This will override your default Windows interface language.</value>
|
<value>Choose the display language for the application. Overrides the Windows display language and requires a relaunch.</value>
|
||||||
<comment>A description explaining how this control changes the app's language. {Locked="Windows"}</comment>
|
<comment>A description explaining how this control changes the app's language. {Locked="Windows"}</comment>
|
||||||
</data>
|
</data>
|
||||||
<data name="Globals_LanguageDefault" xml:space="preserve">
|
<data name="Globals_LanguageDefault" xml:space="preserve">
|
||||||
@@ -248,7 +248,7 @@
|
|||||||
<comment>The "input scope" of an IME tells it what type of characters should be available for input. A Chinese IME for instance may show English letters instead of Chinese ones. It's a technical term. We're using "input mode" instead of "input scope" to make it easier to understand for users.</comment>
|
<comment>The "input scope" of an IME tells it what type of characters should be available for input. A Chinese IME for instance may show English letters instead of Chinese ones. It's a technical term. We're using "input mode" instead of "input scope" to make it easier to understand for users.</comment>
|
||||||
</data>
|
</data>
|
||||||
<data name="Globals_DefaultInputScope.Description" xml:space="preserve">
|
<data name="Globals_DefaultInputScope.Description" xml:space="preserve">
|
||||||
<value>Informs the IME what language to use by default. For languages that rely on an IME and don't use Latin characters by default, this setting can be used to force English input on startup.</value>
|
<value>Choose the default IME input language. For IME-based languages, you can force English input on startup.</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="Globals_DefaultInputScopeDefault.Content" xml:space="preserve">
|
<data name="Globals_DefaultInputScopeDefault.Content" xml:space="preserve">
|
||||||
<value>Default</value>
|
<value>Default</value>
|
||||||
@@ -256,14 +256,6 @@
|
|||||||
<data name="Globals_DefaultInputScopeAlphanumericHalfWidth.Content" xml:space="preserve">
|
<data name="Globals_DefaultInputScopeAlphanumericHalfWidth.Content" xml:space="preserve">
|
||||||
<value>Alphanumeric Half-Width (English)</value>
|
<value>Alphanumeric Half-Width (English)</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="Globals_AlwaysShowTabs.Header" xml:space="preserve">
|
|
||||||
<value>Always show tabs</value>
|
|
||||||
<comment>Header for a control to toggle if the app should always show the tabs (similar to a website browser).</comment>
|
|
||||||
</data>
|
|
||||||
<data name="Globals_AlwaysShowTabs.Description" xml:space="preserve">
|
|
||||||
<value>When disabled, the tab bar will appear when a new tab is created. Cannot be disabled while "Hide the title bar" is On.</value>
|
|
||||||
<comment>A description for what the "always show tabs" setting does. Presented near "Globals_AlwaysShowTabs.Header". This setting cannot be disabled while "Globals_ShowTitlebar.Header" is enabled.</comment>
|
|
||||||
</data>
|
|
||||||
<data name="Globals_NewTabPosition.Header" xml:space="preserve">
|
<data name="Globals_NewTabPosition.Header" xml:space="preserve">
|
||||||
<value>Position of newly created tabs</value>
|
<value>Position of newly created tabs</value>
|
||||||
<comment>Header for a control to select position of newly created tabs.</comment>
|
<comment>Header for a control to select position of newly created tabs.</comment>
|
||||||
@@ -289,35 +281,27 @@
|
|||||||
<comment>Header for a control to toggle whether the terminal should automatically detect URLs and make them clickable, or not.</comment>
|
<comment>Header for a control to toggle whether the terminal should automatically detect URLs and make them clickable, or not.</comment>
|
||||||
</data>
|
</data>
|
||||||
<data name="Globals_SearchWebDefaultQueryUrl.Header" xml:space="preserve">
|
<data name="Globals_SearchWebDefaultQueryUrl.Header" xml:space="preserve">
|
||||||
<value>Default URL to use for the "Search web" action</value>
|
<value>Default URL to use for the "Search web" shortcut</value>
|
||||||
<comment>Header for a control to set the query URL when using the "search web" action.</comment>
|
<comment>Header for a control to set the query URL when using the "search web" shortcut.</comment>
|
||||||
</data>
|
</data>
|
||||||
<data name="Globals_SearchWebDefaultQueryUrl.Description" xml:space="preserve">
|
<data name="Globals_SearchWebDefaultQueryUrl.Description" xml:space="preserve">
|
||||||
<value>The placeholder "%s" will be replaced with the search query.</value>
|
<value>The placeholder "%s" will be replaced with the search query.</value>
|
||||||
<comment>{Locked="%s"} Additional text presented near "Globals_SearchWebDefaultQueryUrl.Header".</comment>
|
<comment>{Locked="%s"} Additional text presented near "Globals_SearchWebDefaultQueryUrl.Header".</comment>
|
||||||
</data>
|
</data>
|
||||||
<data name="Globals_TrimBlockSelection.Header" xml:space="preserve">
|
|
||||||
<value>Remove trailing white-space in rectangular selection</value>
|
|
||||||
<comment>Header for a control to toggle whether a text selected with block selection should be trimmed of white spaces when copied to the clipboard, or not.</comment>
|
|
||||||
</data>
|
|
||||||
<data name="Globals_TrimPaste.Header" xml:space="preserve">
|
|
||||||
<value>Remove trailing white-space when pasting</value>
|
|
||||||
<comment>Header for a control to toggle whether pasted text should be trimmed of white spaces, or not.</comment>
|
|
||||||
</data>
|
|
||||||
<data name="Globals_DefaultProfile.Header" xml:space="preserve">
|
<data name="Globals_DefaultProfile.Header" xml:space="preserve">
|
||||||
<value>Default profile</value>
|
<value>Default profile</value>
|
||||||
<comment>Header for a control to select your default profile from the list of profiles you've created.</comment>
|
<comment>Header for a control to select your default profile from the list of profiles you've created.</comment>
|
||||||
</data>
|
</data>
|
||||||
<data name="Globals_DefaultProfile.Description" xml:space="preserve">
|
<data name="Globals_DefaultProfile.Description" xml:space="preserve">
|
||||||
<value>Profile that opens when clicking the '+' icon or by typing the new tab key binding.</value>
|
<value></value>
|
||||||
<comment>A description for what the default profile is and when it's used.</comment>
|
<comment>Intentionally empty. Kept so the resource has a neutral (en-US) value while still present in other locales. Older description: "Profile that opens when clicking the '+' icon or by typing the new tab key binding."</comment>
|
||||||
</data>
|
</data>
|
||||||
<data name="Globals_DefaultTerminal.Header" xml:space="preserve">
|
<data name="Globals_DefaultTerminal.Header" xml:space="preserve">
|
||||||
<value>Default terminal application</value>
|
<value>Default terminal application</value>
|
||||||
<comment>Header for a drop down that permits the user to select which installed Terminal application will launch when command line tools like CMD are run from the Windows Explorer run box or start menu or anywhere else that they do not already have a graphical window assigned.</comment>
|
<comment>Header for a drop down that permits the user to select which installed Terminal application will launch when command line tools like CMD are run from the Windows Explorer run box or start menu or anywhere else that they do not already have a graphical window assigned.</comment>
|
||||||
</data>
|
</data>
|
||||||
<data name="Globals_DefaultTerminal.Description" xml:space="preserve">
|
<data name="Globals_DefaultTerminal.Description" xml:space="preserve">
|
||||||
<value>The terminal application that launches when a command-line application is run without an existing session, like from the Start Menu or Run dialog.</value>
|
<value>The terminal app used when a command-line app is launched without an existing session.</value>
|
||||||
<comment>A description to clarify that the dropdown choice for default terminal will tell the operating system which Terminal application (Windows Terminal, the preview build, the legacy inbox window, or a 3rd party one) to use when starting a command line tool like CMD or Powershell that does not already have a window.</comment>
|
<comment>A description to clarify that the dropdown choice for default terminal will tell the operating system which Terminal application (Windows Terminal, the preview build, the legacy inbox window, or a 3rd party one) to use when starting a command line tool like CMD or Powershell that does not already have a window.</comment>
|
||||||
</data>
|
</data>
|
||||||
<data name="Globals_GraphicsAPI.Header" xml:space="preserve">
|
<data name="Globals_GraphicsAPI.Header" xml:space="preserve">
|
||||||
@@ -358,7 +342,7 @@
|
|||||||
<comment>This text is shown next to a list of choices.</comment>
|
<comment>This text is shown next to a list of choices.</comment>
|
||||||
</data>
|
</data>
|
||||||
<data name="Globals_TextMeasurement.Description" xml:space="preserve">
|
<data name="Globals_TextMeasurement.Description" xml:space="preserve">
|
||||||
<value>This changes the way incoming text is grouped into cells. The "Grapheme clusters" option is the most modern and Unicode-correct way to do so, while "wcswidth" is a common approach on UNIX, and "Windows Console" replicates the way it used to work on Windows. Changing this setting requires a restart of Windows Terminal and it only applies to applications launched from within it.</value>
|
<value>Choose how text is grouped into cells. "Grapheme clusters" provides the most modern Unicode behavior. Restart Terminal to apply changes. Only affects applications launched from Terminal.</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="Globals_TextMeasurement_Graphemes.Text" xml:space="preserve">
|
<data name="Globals_TextMeasurement_Graphemes.Text" xml:space="preserve">
|
||||||
<value>Grapheme clusters</value>
|
<value>Grapheme clusters</value>
|
||||||
@@ -376,7 +360,7 @@
|
|||||||
<comment>A label for a drop down selector, referring to the East Asian Ambiguous Width Unicode specification.</comment>
|
<comment>A label for a drop down selector, referring to the East Asian Ambiguous Width Unicode specification.</comment>
|
||||||
</data>
|
</data>
|
||||||
<data name="Globals_AmbiguousWidth.Description" xml:space="preserve">
|
<data name="Globals_AmbiguousWidth.Description" xml:space="preserve">
|
||||||
<value>Sets the width used for East Asian Ambiguous characters. "Narrow" (default) prioritizes compatibility, while "Wide" prioritizes readability with many CJK fonts. In "Wide" mode, some applications may not work correctly and cause erratic cursor movement. Changing this setting requires a restart of Windows Terminal and it only applies to applications launched from within it.</value>
|
<value>Choose the width used for East Asian Ambiguous characters. "Narrow" improves compatibility, while "Wide" improves readability with many CJK fonts. Some applications may not work correctly in "Wide" mode. Restart Terminal to apply changes.</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="Globals_AmbiguousWidth_Narrow.Text" xml:space="preserve">
|
<data name="Globals_AmbiguousWidth_Narrow.Text" xml:space="preserve">
|
||||||
<value>Narrow</value>
|
<value>Narrow</value>
|
||||||
@@ -427,7 +411,7 @@
|
|||||||
<comment>The string to be displayed when there is no current value in the y-coordinate number box.</comment>
|
<comment>The string to be displayed when there is no current value in the y-coordinate number box.</comment>
|
||||||
</data>
|
</data>
|
||||||
<data name="Globals_DefaultLaunchPositionCheckbox.Content" xml:space="preserve">
|
<data name="Globals_DefaultLaunchPositionCheckbox.Content" xml:space="preserve">
|
||||||
<value>Let Windows decide</value>
|
<value>Use default launch position</value>
|
||||||
<comment>A checkbox for the "launch position" setting. Toggling this control sets the launch position to whatever the Windows operating system decides.</comment>
|
<comment>A checkbox for the "launch position" setting. Toggling this control sets the launch position to whatever the Windows operating system decides.</comment>
|
||||||
</data>
|
</data>
|
||||||
<data name="Globals_DefaultLaunchPositionCheckbox.[using:Windows.UI.Xaml.Controls]ToolTipService.ToolTip" xml:space="preserve">
|
<data name="Globals_DefaultLaunchPositionCheckbox.[using:Windows.UI.Xaml.Controls]ToolTipService.ToolTip" xml:space="preserve">
|
||||||
@@ -439,7 +423,8 @@
|
|||||||
<comment>Header for a control to select how the terminal should load its first window.</comment>
|
<comment>Header for a control to select how the terminal should load its first window.</comment>
|
||||||
</data>
|
</data>
|
||||||
<data name="Globals_FirstWindowPreference.Description" xml:space="preserve">
|
<data name="Globals_FirstWindowPreference.Description" xml:space="preserve">
|
||||||
<value>What should be shown when the first terminal is created.</value>
|
<value></value>
|
||||||
|
<comment>Intentionally empty. Kept so the resource has a neutral (en-US) value while still present in other locales. Older description: "What should be shown when the first terminal is created."</comment>
|
||||||
</data>
|
</data>
|
||||||
<data name="Globals_FirstWindowPreferenceDefaultProfile.Content" xml:space="preserve">
|
<data name="Globals_FirstWindowPreferenceDefaultProfile.Content" xml:space="preserve">
|
||||||
<value>Open a tab with the default profile</value>
|
<value>Open a tab with the default profile</value>
|
||||||
@@ -458,12 +443,12 @@
|
|||||||
<comment>An option to choose from for the "First window preference" setting. Reopen the layouts from the last session, but don't preserve the content.</comment>
|
<comment>An option to choose from for the "First window preference" setting. Reopen the layouts from the last session, but don't preserve the content.</comment>
|
||||||
</data>
|
</data>
|
||||||
<data name="Globals_LaunchParameters.Header" xml:space="preserve">
|
<data name="Globals_LaunchParameters.Header" xml:space="preserve">
|
||||||
<value>Launch parameters</value>
|
<value>Launch mode</value>
|
||||||
<comment>Header for a set of settings that determine how terminal launches. These settings include the launch mode, launch position and whether the terminal should center itself on launch.</comment>
|
<comment>Header for a set of settings that determine how terminal launches. These settings include the launch mode, launch position and whether the terminal should center itself on launch.</comment>
|
||||||
</data>
|
</data>
|
||||||
<data name="Globals_LaunchParameters.Description" xml:space="preserve">
|
<data name="Globals_LaunchParameters.Description" xml:space="preserve">
|
||||||
<value>Settings that control how the terminal launches</value>
|
<value>Choose how Terminal opens</value>
|
||||||
<comment>A description for what the "launch parameters" expander contains. Presented near "Globals_LaunchParameters.Header".</comment>
|
<comment>A description for the "launch mode" expander.</comment>
|
||||||
</data>
|
</data>
|
||||||
<data name="Globals_LaunchModeSetting.Header" xml:space="preserve">
|
<data name="Globals_LaunchModeSetting.Header" xml:space="preserve">
|
||||||
<value>Launch mode</value>
|
<value>Launch mode</value>
|
||||||
@@ -509,18 +494,6 @@
|
|||||||
<value>When disabled, the title bar will appear above the tabs.</value>
|
<value>When disabled, the title bar will appear above the tabs.</value>
|
||||||
<comment>A description for what the "show titlebar" setting does. Presented near "Globals_ShowTitlebar.Header".</comment>
|
<comment>A description for what the "show titlebar" setting does. Presented near "Globals_ShowTitlebar.Header".</comment>
|
||||||
</data>
|
</data>
|
||||||
<data name="Globals_AcrylicTabRow.Header" xml:space="preserve">
|
|
||||||
<value>Use acrylic material in the tab row</value>
|
|
||||||
<comment>Header for a control to toggle whether "acrylic material" is used. "Acrylic material" is a Microsoft-specific term: https://docs.microsoft.com/en-us/windows/apps/design/style/acrylic</comment>
|
|
||||||
</data>
|
|
||||||
<data name="Globals_ShowTitleInTitlebar.Header" xml:space="preserve">
|
|
||||||
<value>Use active terminal title as application title</value>
|
|
||||||
<comment>Header for a control to toggle whether the terminal's title is shown as the application title, or not.</comment>
|
|
||||||
</data>
|
|
||||||
<data name="Globals_ShowTitleInTitlebar.Description" xml:space="preserve">
|
|
||||||
<value>When disabled, the title bar will be 'Terminal'.</value>
|
|
||||||
<comment>A description for what the "show title in titlebar" setting does. Presented near "Globals_ShowTitleInTitlebar.Header".{Locked="Windows"}</comment>
|
|
||||||
</data>
|
|
||||||
<data name="Globals_SnapToGridOnResize.Header" xml:space="preserve">
|
<data name="Globals_SnapToGridOnResize.Header" xml:space="preserve">
|
||||||
<value>Snap window resizing to character grid</value>
|
<value>Snap window resizing to character grid</value>
|
||||||
<comment>Header for a control to toggle whether the terminal snaps the window to the character grid when resizing, or not.</comment>
|
<comment>Header for a control to toggle whether the terminal snaps the window to the character grid when resizing, or not.</comment>
|
||||||
@@ -590,7 +563,7 @@
|
|||||||
<comment>Additional description for what the "force vt input" setting does. Presented near "Globals_ForceVTInput.Header".</comment>
|
<comment>Additional description for what the "force vt input" setting does. Presented near "Globals_ForceVTInput.Header".</comment>
|
||||||
</data>
|
</data>
|
||||||
<data name="Globals_AllowHeadless.Description" xml:space="preserve">
|
<data name="Globals_AllowHeadless.Description" xml:space="preserve">
|
||||||
<value>This allows actions such as Global Summon and Quake Mode actions to work even when no windows are open.</value>
|
<value>Allows Global Summon and Quake Mode to work when no windows are open.</value>
|
||||||
<comment>Additional description for what the "allow headless" setting does. Presented near "Globals_AllowHeadless.Header".</comment>
|
<comment>Additional description for what the "allow headless" setting does. Presented near "Globals_AllowHeadless.Header".</comment>
|
||||||
</data>
|
</data>
|
||||||
<data name="Globals_TabWidthMode.Header" xml:space="preserve">
|
<data name="Globals_TabWidthMode.Header" xml:space="preserve">
|
||||||
@@ -614,7 +587,7 @@
|
|||||||
<comment>An option to choose from for the "tab width mode" setting. When selected, each tab adjusts its width to the content within the tab.</comment>
|
<comment>An option to choose from for the "tab width mode" setting. When selected, each tab adjusts its width to the content within the tab.</comment>
|
||||||
</data>
|
</data>
|
||||||
<data name="Globals_Theme.Header" xml:space="preserve">
|
<data name="Globals_Theme.Header" xml:space="preserve">
|
||||||
<value>Application Theme</value>
|
<value>Application theme</value>
|
||||||
<comment>Header for a control to choose the theme colors used in the app.</comment>
|
<comment>Header for a control to choose the theme colors used in the app.</comment>
|
||||||
</data>
|
</data>
|
||||||
<data name="Globals_ThemeDark.Content" xml:space="preserve">
|
<data name="Globals_ThemeDark.Content" xml:space="preserve">
|
||||||
@@ -650,8 +623,8 @@
|
|||||||
<comment>A description for what the "word delimiters" setting does. Presented near "Globals_WordDelimiters.Header". "Mark" is used in the sense of "choosing something to interact with."</comment>
|
<comment>A description for what the "word delimiters" setting does. Presented near "Globals_WordDelimiters.Header". "Mark" is used in the sense of "choosing something to interact with."</comment>
|
||||||
</data>
|
</data>
|
||||||
<data name="Nav_Appearance.Content" xml:space="preserve">
|
<data name="Nav_Appearance.Content" xml:space="preserve">
|
||||||
<value>Appearance</value>
|
<value>Personalization</value>
|
||||||
<comment>Header for the "appearance" menu item. This navigates to a page that lets you see and modify settings related to the app's appearance.</comment>
|
<comment>Header for the "personalization" menu item. This navigates to a page that lets you see and modify settings related to the app's appearance.</comment>
|
||||||
</data>
|
</data>
|
||||||
<data name="Nav_ColorSchemes.Content" xml:space="preserve">
|
<data name="Nav_ColorSchemes.Content" xml:space="preserve">
|
||||||
<value>Color schemes</value>
|
<value>Color schemes</value>
|
||||||
@@ -685,10 +658,6 @@
|
|||||||
<value>Defaults</value>
|
<value>Defaults</value>
|
||||||
<comment>Header for the "defaults" menu item. This navigates to a page that lets you see and modify settings that affect profiles. This is the lowest layer of profile settings that all other profile settings are based on. If a profile doesn't define a setting, this page is responsible for figuring out what that setting is supposed to be.</comment>
|
<comment>Header for the "defaults" menu item. This navigates to a page that lets you see and modify settings that affect profiles. This is the lowest layer of profile settings that all other profile settings are based on. If a profile doesn't define a setting, this page is responsible for figuring out what that setting is supposed to be.</comment>
|
||||||
</data>
|
</data>
|
||||||
<data name="Nav_Rendering.Content" xml:space="preserve">
|
|
||||||
<value>Rendering</value>
|
|
||||||
<comment>Header for the "rendering" menu item. This navigates to a page that lets you see and modify settings related to the app's rendering of text in the terminal.</comment>
|
|
||||||
</data>
|
|
||||||
<data name="Nav_Actions.Content" xml:space="preserve">
|
<data name="Nav_Actions.Content" xml:space="preserve">
|
||||||
<value>Actions</value>
|
<value>Actions</value>
|
||||||
<comment>Header for the "actions" menu item. This navigates to a page that lets you see the available commands in the app.</comment>
|
<comment>Header for the "actions" menu item. This navigates to a page that lets you see the available commands in the app.</comment>
|
||||||
@@ -930,10 +899,6 @@
|
|||||||
<value>Executable used in the profile.</value>
|
<value>Executable used in the profile.</value>
|
||||||
<comment>A description for what the "command line" setting does. Presented near "Profile_Commandline".</comment>
|
<comment>A description for what the "command line" setting does. Presented near "Profile_Commandline".</comment>
|
||||||
</data>
|
</data>
|
||||||
<data name="Profile_CommandlineBrowse.Content" xml:space="preserve">
|
|
||||||
<value>Browse...</value>
|
|
||||||
<comment>Button label that opens a file picker in a new window. The "..." is standard to mean it will open a new window.</comment>
|
|
||||||
</data>
|
|
||||||
<data name="Profile_CursorHeight.Header" xml:space="preserve">
|
<data name="Profile_CursorHeight.Header" xml:space="preserve">
|
||||||
<value>Cursor height</value>
|
<value>Cursor height</value>
|
||||||
<comment>Header for a control to determine the height of the text cursor.</comment>
|
<comment>Header for a control to determine the height of the text cursor.</comment>
|
||||||
@@ -1101,22 +1066,6 @@
|
|||||||
<value>The selected font has no font features.</value>
|
<value>The selected font has no font features.</value>
|
||||||
<comment>A description provided when the font features setting is disabled. Presented near "Profile_FontFeatures".</comment>
|
<comment>A description provided when the font features setting is disabled. Presented near "Profile_FontFeatures".</comment>
|
||||||
</data>
|
</data>
|
||||||
<data name="Profile_Hidden.Header" xml:space="preserve">
|
|
||||||
<value>Hide profile from dropdown</value>
|
|
||||||
<comment>Header for a control to toggle whether the profile is shown in a dropdown menu, or not.</comment>
|
|
||||||
</data>
|
|
||||||
<data name="Profile_Hidden.Description" xml:space="preserve">
|
|
||||||
<value>If enabled, the profile will not appear in the list of profiles. This can be used to hide default profiles and dynamically generated profiles, while leaving them in your settings file.</value>
|
|
||||||
<comment>A description for what the "hidden" setting does. Presented near "Profile_Hidden".</comment>
|
|
||||||
</data>
|
|
||||||
<data name="Profile_Elevate.Header" xml:space="preserve">
|
|
||||||
<value>Run this profile as Administrator</value>
|
|
||||||
<comment>Header for a control to toggle whether the profile should always open elevated (in an admin window)</comment>
|
|
||||||
</data>
|
|
||||||
<data name="Profile_Elevate.Description" xml:space="preserve">
|
|
||||||
<value>If enabled, the profile will open in an Admin terminal window automatically. If the current window is already running as admin, it will open in this window.</value>
|
|
||||||
<comment>A description for what the "elevate" setting does. Presented near "Profile_Elevate".</comment>
|
|
||||||
</data>
|
|
||||||
<data name="Profile_HistorySize.Header" xml:space="preserve">
|
<data name="Profile_HistorySize.Header" xml:space="preserve">
|
||||||
<value>History size</value>
|
<value>History size</value>
|
||||||
<comment>Header for a control to determine how many lines of text can be saved in a session. In terminals, the "history" is the output generated within your session.</comment>
|
<comment>Header for a control to determine how many lines of text can be saved in a session. In terminals, the "history" is the output generated within your session.</comment>
|
||||||
@@ -1206,20 +1155,16 @@
|
|||||||
<comment>Name for a control to determine the session's initial directory. This is on a text box that accepts folder paths.</comment>
|
<comment>Name for a control to determine the session's initial directory. This is on a text box that accepts folder paths.</comment>
|
||||||
</data>
|
</data>
|
||||||
<data name="Profile_StartingDirectory.Header" xml:space="preserve">
|
<data name="Profile_StartingDirectory.Header" xml:space="preserve">
|
||||||
<value>Starting directory</value>
|
<value>Default starting directory</value>
|
||||||
<comment>Header for a control to determine the session's initial directory. This is on a text box that accepts folder paths.</comment>
|
<comment>Header for a control to determine the session's initial directory. This is on a text box that accepts folder paths.</comment>
|
||||||
</data>
|
</data>
|
||||||
<data name="Profile_StartingDirectoryBox.[using:Windows.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve">
|
|
||||||
<value>Starting directory</value>
|
|
||||||
<comment>Name for a control to determine the session's initial directory. This is on a text box that accepts folder paths.</comment>
|
|
||||||
</data>
|
|
||||||
<data name="Profile_StartingDirectory.Description" xml:space="preserve">
|
<data name="Profile_StartingDirectory.Description" xml:space="preserve">
|
||||||
<value>The directory the profile starts in when it is loaded.</value>
|
<value></value>
|
||||||
<comment>A description for what the "starting directory" setting does. Presented near "Profile_StartingDirectory".</comment>
|
<comment>A description for what the "starting directory" setting does. Presented near "Profile_StartingDirectory".</comment>
|
||||||
</data>
|
</data>
|
||||||
<data name="Profile_StartingDirectoryBrowse.Content" xml:space="preserve">
|
<data name="Profile_StartingDirectoryBox.[using:Windows.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve">
|
||||||
<value>Browse...</value>
|
<value>Default starting directory</value>
|
||||||
<comment>Button label that opens a file picker in a new window. The "..." is standard to mean it will open a new window.</comment>
|
<comment>Name for a control to determine the session's initial directory. This is on a text box that accepts folder paths.</comment>
|
||||||
</data>
|
</data>
|
||||||
<data name="Profile_StartingDirectoryUseParentCheckbox.Content" xml:space="preserve">
|
<data name="Profile_StartingDirectoryUseParentCheckbox.Content" xml:space="preserve">
|
||||||
<value>Use parent process directory</value>
|
<value>Use parent process directory</value>
|
||||||
@@ -1538,7 +1483,7 @@
|
|||||||
<comment>Header for a group of settings that control the size of the app. Presented near "Globals_InitialCols" and "Globals_InitialRows".</comment>
|
<comment>Header for a group of settings that control the size of the app. Presented near "Globals_InitialCols" and "Globals_InitialRows".</comment>
|
||||||
</data>
|
</data>
|
||||||
<data name="Globals_LaunchSize.Description" xml:space="preserve">
|
<data name="Globals_LaunchSize.Description" xml:space="preserve">
|
||||||
<value>The number of rows and columns displayed in the window upon first load. Measured in characters.</value>
|
<value>Initial window size, in characters.</value>
|
||||||
<comment>A description for what the "rows" and "columns" settings do. Presented near "Globals_LaunchSize.Header".</comment>
|
<comment>A description for what the "rows" and "columns" settings do. Presented near "Globals_LaunchSize.Header".</comment>
|
||||||
</data>
|
</data>
|
||||||
<data name="Globals_LaunchPosition.Header" xml:space="preserve">
|
<data name="Globals_LaunchPosition.Header" xml:space="preserve">
|
||||||
@@ -1590,8 +1535,8 @@
|
|||||||
<comment>Name for a control to determine the name of the profile. This is a text box.</comment>
|
<comment>Name for a control to determine the name of the profile. This is a text box.</comment>
|
||||||
</data>
|
</data>
|
||||||
<data name="Profile_Name.Header" xml:space="preserve">
|
<data name="Profile_Name.Header" xml:space="preserve">
|
||||||
<value>Name</value>
|
<value>Profile</value>
|
||||||
<comment>Header for a control to determine the name of the profile. This is a text box.</comment>
|
<comment>Header for the profile section of the profile settings page. Shown above a text box that lets the user edit the profile name.</comment>
|
||||||
</data>
|
</data>
|
||||||
<data name="Profile_TransparencyHeader.Text" xml:space="preserve">
|
<data name="Profile_TransparencyHeader.Text" xml:space="preserve">
|
||||||
<value>Transparency</value>
|
<value>Transparency</value>
|
||||||
@@ -1694,11 +1639,11 @@
|
|||||||
<comment>A description for what the "save" button does. Presented near "Settings_SaveSettingsButton".</comment>
|
<comment>A description for what the "save" button does. Presented near "Settings_SaveSettingsButton".</comment>
|
||||||
</data>
|
</data>
|
||||||
<data name="Globals_TabSwitcherMode.Header" xml:space="preserve">
|
<data name="Globals_TabSwitcherMode.Header" xml:space="preserve">
|
||||||
<value>Tab switcher interface style</value>
|
<value>Tab switcher style</value>
|
||||||
<comment>Header for a control to choose how the tab switcher operates.</comment>
|
<comment>Header for a control to choose how the tab switcher operates.</comment>
|
||||||
</data>
|
</data>
|
||||||
<data name="Globals_TabSwitcherMode.Description" xml:space="preserve">
|
<data name="Globals_TabSwitcherMode.Description" xml:space="preserve">
|
||||||
<value>Selects which interface will be used when you switch tabs using the keyboard.</value>
|
<value>Choose the interface shown when switching tabs with the keyboard</value>
|
||||||
<comment>A description for what the "tab switcher mode" setting does. Presented near "Globals_TabSwitcherMode.Header".</comment>
|
<comment>A description for what the "tab switcher mode" setting does. Presented near "Globals_TabSwitcherMode.Header".</comment>
|
||||||
</data>
|
</data>
|
||||||
<data name="Globals_TabSwitcherModeMru.Content" xml:space="preserve">
|
<data name="Globals_TabSwitcherModeMru.Content" xml:space="preserve">
|
||||||
@@ -1741,30 +1686,10 @@
|
|||||||
<value>This color scheme name is already in use.</value>
|
<value>This color scheme name is already in use.</value>
|
||||||
<comment>An error message that appears when the user attempts to rename a color scheme to something invalid. This appears as the title, and explains the issue.</comment>
|
<comment>An error message that appears when the user attempts to rename a color scheme to something invalid. This appears as the title, and explains the issue.</comment>
|
||||||
</data>
|
</data>
|
||||||
<data name="Globals_FocusFollowMouse.Header" xml:space="preserve">
|
|
||||||
<value>Automatically focus pane on mouse hover</value>
|
|
||||||
<comment>Header for a control to toggle the "focus follow mouse" setting. When enabled, hovering over a pane puts it in focus.</comment>
|
|
||||||
</data>
|
|
||||||
<data name="Globals_ScrollToZoom.Header" xml:space="preserve">
|
|
||||||
<value>Adjust terminal font size by scrolling while holding the Ctrl key</value>
|
|
||||||
<comment>Header for a control to toggle font size changes with scrolling. When enabled, holding the Ctrl key while scrolling will increase or decrease the terminal font size.</comment>
|
|
||||||
</data>
|
|
||||||
<data name="Globals_ScrollToChangeOpacity.Header" xml:space="preserve">
|
|
||||||
<value>Adjust terminal opacity by scrolling while holding the Ctrl and Shift keys</value>
|
|
||||||
<comment>Header for a control to toggle opacity changes with scrolling. When enabled, holding the Ctrl and Shift keys while scrolling will increase or decrease the window opacity.</comment>
|
|
||||||
</data>
|
|
||||||
<data name="Globals_DisableAnimationsReversed.Header" xml:space="preserve">
|
|
||||||
<value>Pane animations</value>
|
|
||||||
<comment>Header for a control to toggle animations on panes. "Enabled" value enables the animations.</comment>
|
|
||||||
</data>
|
|
||||||
<data name="Globals_AlwaysShowNotificationIcon.Header" xml:space="preserve">
|
<data name="Globals_AlwaysShowNotificationIcon.Header" xml:space="preserve">
|
||||||
<value>Always display an icon in the notification area</value>
|
<value>Always display an icon in the notification area</value>
|
||||||
<comment>Header for a control to toggle whether the notification icon should always be shown.</comment>
|
<comment>Header for a control to toggle whether the notification icon should always be shown.</comment>
|
||||||
</data>
|
</data>
|
||||||
<data name="Globals_MinimizeToNotificationArea.Header" xml:space="preserve">
|
|
||||||
<value>Hide Terminal in the notification area when it is minimized</value>
|
|
||||||
<comment>Header for a control to toggle whether the terminal should hide itself in the notification area instead of the taskbar when minimized.</comment>
|
|
||||||
</data>
|
|
||||||
<data name="SettingContainer_OverrideMessageBaseLayer" xml:space="preserve">
|
<data name="SettingContainer_OverrideMessageBaseLayer" xml:space="preserve">
|
||||||
<value>Reset to inherited value.</value>
|
<value>Reset to inherited value.</value>
|
||||||
<comment>This button will remove a user's customization from a given setting, restoring it to the value that the profile inherited. This is a text label on a button.</comment>
|
<comment>This button will remove a user's customization from a given setting, restoring it to the value that the profile inherited. This is a text label on a button.</comment>
|
||||||
@@ -2238,11 +2163,11 @@
|
|||||||
<comment>Header for a control to toggle whether to show a confirm dialog box when closing the application with multiple tabs open.</comment>
|
<comment>Header for a control to toggle whether to show a confirm dialog box when closing the application with multiple tabs open.</comment>
|
||||||
</data>
|
</data>
|
||||||
<data name="Globals_ConfirmOnClose.Header" xml:space="preserve">
|
<data name="Globals_ConfirmOnClose.Header" xml:space="preserve">
|
||||||
<value>Warn when closing</value>
|
<value>Show a confirmation dialog before closing tabs or windows</value>
|
||||||
<comment>Header for a dropdown controlling when to show a confirmation dialog before closing.</comment>
|
<comment>Header for a dropdown controlling when to show a confirmation dialog before closing.</comment>
|
||||||
</data>
|
</data>
|
||||||
<data name="Globals_ConfirmOnClose.Description" xml:space="preserve">
|
<data name="Globals_ConfirmOnClose.Description" xml:space="preserve">
|
||||||
<value>Controls when a confirmation dialog appears before closing tabs or windows. "Always" presents the dialog when closing any pane.</value>
|
<value>"Always" presents the dialog when closing any pane.</value>
|
||||||
<comment>Help text associated with Globals_ConfirmOnClose. "Always" refers to Globals_ConfirmOnCloseAlways.Content.</comment>
|
<comment>Help text associated with Globals_ConfirmOnClose. "Always" refers to Globals_ConfirmOnCloseAlways.Content.</comment>
|
||||||
</data>
|
</data>
|
||||||
<data name="Globals_ConfirmOnCloseNever.Content" xml:space="preserve">
|
<data name="Globals_ConfirmOnCloseNever.Content" xml:space="preserve">
|
||||||
@@ -2260,9 +2185,6 @@
|
|||||||
<data name="Globals_InputServiceWarning.Header" xml:space="preserve">
|
<data name="Globals_InputServiceWarning.Header" xml:space="preserve">
|
||||||
<value>Warn when "Touch Keyboard and Handwriting Panel Service" is disabled</value>
|
<value>Warn when "Touch Keyboard and Handwriting Panel Service" is disabled</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="Globals_WarnAboutLargePaste.Header" xml:space="preserve">
|
|
||||||
<value>Warn when pasting more than 5 KiB</value>
|
|
||||||
</data>
|
|
||||||
<data name="Globals_WarnAboutMultiLinePaste.Header" xml:space="preserve">
|
<data name="Globals_WarnAboutMultiLinePaste.Header" xml:space="preserve">
|
||||||
<value>Warn when pasting newlines</value>
|
<value>Warn when pasting newlines</value>
|
||||||
</data>
|
</data>
|
||||||
@@ -2630,29 +2552,13 @@
|
|||||||
<comment>This is a label for a setting that, when enabled, applies a rainbow coloring to the preview text from the suggestions UI.</comment>
|
<comment>This is a label for a setting that, when enabled, applies a rainbow coloring to the preview text from the suggestions UI.</comment>
|
||||||
</data>
|
</data>
|
||||||
<data name="Globals_EnableColorSelection.Header" xml:space="preserve">
|
<data name="Globals_EnableColorSelection.Header" xml:space="preserve">
|
||||||
<value>Experimental: Add key bindings to color selected text</value>
|
<value>Add key bindings for colored text selection</value>
|
||||||
<comment>Header for a control to toggle adding a set of key bindings that can be used to apply coloring to selected text in a terminal session.</comment>
|
<comment>Header for a control to toggle adding a set of key bindings that can be used to apply coloring to selected text in a terminal session.</comment>
|
||||||
</data>
|
</data>
|
||||||
<data name="Globals_EnableColorSelection.Description" xml:space="preserve">
|
<data name="Globals_EnableColorSelection.Description" xml:space="preserve">
|
||||||
<value>These key bindings can highlight the selected text or all instances of the selected text with a specified color.</value>
|
<value>Experimental. Highlight selected text or matching text with custom colors using key bindings</value>
|
||||||
<comment>Additional text for a control to toggle adding a set of key bindings that can be used to apply coloring to selected text in a terminal session. Presented near "Globals_EnableColorSelection.Header".</comment>
|
<comment>Additional text for a control to toggle adding a set of key bindings that can be used to apply coloring to selected text in a terminal session. Presented near "Globals_EnableColorSelection.Header".</comment>
|
||||||
</data>
|
</data>
|
||||||
<data name="Globals_EnableUnfocusedAcrylic.Header" xml:space="preserve">
|
|
||||||
<value>Allow acrylic material in unfocused windows</value>
|
|
||||||
<comment>Header for a control to toggle allowing unfocused windows to have an acrylic background.</comment>
|
|
||||||
</data>
|
|
||||||
<data name="Globals_ShowAdminShield.Header" xml:space="preserve">
|
|
||||||
<value>Display a shield in the title bar when Windows Terminal is running as Administrator</value>
|
|
||||||
<comment>Header for a control to toggle displaying a shield in the title bar of the app. "Admin" refers to elevated sessions like "run as Admin"</comment>
|
|
||||||
</data>
|
|
||||||
<data name="Globals_ShowTabsFullscreen.Header" xml:space="preserve">
|
|
||||||
<value>Show tabs in full screen</value>
|
|
||||||
<comment>Header for a control to toggle if the app should show the tabs when in full screen state.</comment>
|
|
||||||
</data>
|
|
||||||
<data name="Globals_ShowTabsFullscreen.Description" xml:space="preserve">
|
|
||||||
<value>When enabled, the tab bar will be visible when the app is full screen.</value>
|
|
||||||
<comment>A description for what the "show tabs in full screen" setting does.</comment>
|
|
||||||
</data>
|
|
||||||
<data name="Profile_PathTranslationStyle.[using:Windows.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve">
|
<data name="Profile_PathTranslationStyle.[using:Windows.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve">
|
||||||
<value>Path translation</value>
|
<value>Path translation</value>
|
||||||
<comment>Name for a control to select how file and directory paths are translated.</comment>
|
<comment>Name for a control to select how file and directory paths are translated.</comment>
|
||||||
@@ -2770,7 +2676,7 @@
|
|||||||
<value>Clear cache</value>
|
<value>Clear cache</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="Settings_ResetApplicationState.Description" xml:space="preserve">
|
<data name="Settings_ResetApplicationState.Description" xml:space="preserve">
|
||||||
<value>The cache stores data related to saved sessions and automatically generated profiles.</value>
|
<value>Stores data related to saved sessions and automatically generated profiles.</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="Settings_ResetToDefaultSettingsButton.Content" xml:space="preserve">
|
<data name="Settings_ResetToDefaultSettingsButton.Content" xml:space="preserve">
|
||||||
<value>Reset</value>
|
<value>Reset</value>
|
||||||
@@ -2820,4 +2726,282 @@
|
|||||||
<value>None</value>
|
<value>None</value>
|
||||||
<comment>Default placeholder text shown in text box settings when no value has been set.</comment>
|
<comment>Default placeholder text shown in text box settings when no value has been set.</comment>
|
||||||
</data>
|
</data>
|
||||||
|
<data name="Globals_CenterOnLaunch_Checkbox.Content" xml:space="preserve">
|
||||||
|
<value>Center on launch</value>
|
||||||
|
<comment>Label for a checkbox to toggle whether the app should launch in the center of the screen, or not.</comment>
|
||||||
|
</data>
|
||||||
|
<data name="Globals_InitialCols_Tooltip.Content" xml:space="preserve">
|
||||||
|
<value>Columns — width of the window, in characters.</value>
|
||||||
|
<comment>Tooltip shown next to the launch-size columns number box.</comment>
|
||||||
|
</data>
|
||||||
|
<data name="Globals_InitialRows_Tooltip.Content" xml:space="preserve">
|
||||||
|
<value>Rows — height of the window, in characters.</value>
|
||||||
|
<comment>Tooltip shown next to the launch-size rows number box.</comment>
|
||||||
|
</data>
|
||||||
|
<data name="Globals_StartOnUserLogin_Checkbox.Content" xml:space="preserve">
|
||||||
|
<value>Launch at login</value>
|
||||||
|
<comment>Label for a checkbox to toggle whether the app should launch when the user logs in to their machine.</comment>
|
||||||
|
</data>
|
||||||
|
<data name="Launch_Section_LaunchBehavior.Text" xml:space="preserve">
|
||||||
|
<value>Launch behavior</value>
|
||||||
|
<comment>Title of a section that groups settings that control how the terminal opens and behaves when launched.</comment>
|
||||||
|
</data>
|
||||||
|
<data name="Launch_Section_SystemInputDefaults.Text" xml:space="preserve">
|
||||||
|
<value>System and input defaults</value>
|
||||||
|
<comment>Title of a section that groups settings for default system and input behaviors.</comment>
|
||||||
|
</data>
|
||||||
|
<data name="Globals_FocusFollowMouse.Header" xml:space="preserve">
|
||||||
|
<value>Automatically focus pane on mouse hover</value>
|
||||||
|
<comment>Header for a control to toggle the "focus follow mouse" setting. When enabled, hovering over a pane puts it in focus.</comment>
|
||||||
|
</data>
|
||||||
|
<data name="Globals_FocusFollowMouse_Checkbox.Content" xml:space="preserve">
|
||||||
|
<value>Automatically focus pane on mouse hover</value>
|
||||||
|
<comment>Header for a control to toggle the "focus follow mouse" setting. When enabled, hovering over a pane puts it in focus.</comment>
|
||||||
|
</data>
|
||||||
|
<data name="Globals_InputServiceWarning_Checkbox.Content" xml:space="preserve">
|
||||||
|
<value>Warn when "Touch Keyboard and Handwriting Panel Service" is disabled</value>
|
||||||
|
<comment>Label for a checkbox toggling the touch-keyboard / handwriting-panel service warning. {Locked="Touch Keyboard and Handwriting Panel Service"}</comment>
|
||||||
|
</data>
|
||||||
|
<data name="Globals_ScrollToChangeOpacity.Header" xml:space="preserve">
|
||||||
|
<value>Adjust terminal opacity by scrolling while holding the Ctrl and Shift keys</value>
|
||||||
|
<comment>Header for a control to toggle opacity changes with scrolling. When enabled, holding the Ctrl and Shift keys while scrolling will increase or decrease the window opacity.</comment>
|
||||||
|
</data>
|
||||||
|
<data name="Globals_ScrollToChangeOpacity_Checkbox.Content" xml:space="preserve">
|
||||||
|
<value>Adjust terminal opacity by scrolling while holding the Ctrl and Shift keys</value>
|
||||||
|
<comment>Header for a control to toggle opacity changes with scrolling. When enabled, holding the Ctrl and Shift keys while scrolling will increase or decrease the window opacity.</comment>
|
||||||
|
</data>
|
||||||
|
<data name="Globals_ScrollToZoom.Header" xml:space="preserve">
|
||||||
|
<value>Adjust terminal font size by scrolling while holding the Ctrl key</value>
|
||||||
|
<comment>Header for a control to toggle font size changes with scrolling. When enabled, holding the Ctrl key while scrolling will increase or decrease the terminal font size.</comment>
|
||||||
|
</data>
|
||||||
|
<data name="Globals_ScrollToZoom_Checkbox.Content" xml:space="preserve">
|
||||||
|
<value>Adjust terminal font size by scrolling while holding the Ctrl key</value>
|
||||||
|
<comment>Header for a control to toggle font size changes with scrolling. When enabled, holding the Ctrl key while scrolling will increase or decrease the terminal font size.</comment>
|
||||||
|
</data>
|
||||||
|
<data name="Globals_TrimBlockSelection.Header" xml:space="preserve">
|
||||||
|
<value>Remove trailing white-space in rectangular selection</value>
|
||||||
|
<comment>Header for a control to toggle whether a text selected with block selection should be trimmed of white spaces when copied to the clipboard, or not.</comment>
|
||||||
|
</data>
|
||||||
|
<data name="Globals_TrimBlockSelection_Checkbox.Content" xml:space="preserve">
|
||||||
|
<value>Remove trailing white-space in rectangular selection</value>
|
||||||
|
<comment>Header for a control to toggle whether a text selected with block selection should be trimmed of white spaces when copied to the clipboard, or not.</comment>
|
||||||
|
</data>
|
||||||
|
<data name="Globals_TrimPaste.Header" xml:space="preserve">
|
||||||
|
<value>Remove trailing white-space when pasting</value>
|
||||||
|
<comment>Header for a control to toggle whether pasted text should be trimmed of white spaces, or not.</comment>
|
||||||
|
</data>
|
||||||
|
<data name="Globals_TrimPaste_Checkbox.Content" xml:space="preserve">
|
||||||
|
<value>Remove trailing white-space when pasting</value>
|
||||||
|
<comment>Header for a control to toggle whether pasted text should be trimmed of white spaces, or not.</comment>
|
||||||
|
</data>
|
||||||
|
<data name="Globals_WarnAboutLargePaste.Header" xml:space="preserve">
|
||||||
|
<value>Warn when pasting more than 5 KiB</value>
|
||||||
|
</data>
|
||||||
|
<data name="Globals_WarnAboutLargePaste_Checkbox.Content" xml:space="preserve">
|
||||||
|
<value>Warn when pasting more than 5 KiB</value>
|
||||||
|
</data>
|
||||||
|
<data name="Interaction_PasteBehavior.Header" xml:space="preserve">
|
||||||
|
<value>Paste behavior</value>
|
||||||
|
<comment>Header for a group of settings related to cleanup and confirmation behavior for incoming pastes.</comment>
|
||||||
|
</data>
|
||||||
|
<data name="Interaction_Section_Clipboard.Text" xml:space="preserve">
|
||||||
|
<value>Clipboard behavior</value>
|
||||||
|
<comment>Title of a section that groups settings related to selection, copying, and pasting.</comment>
|
||||||
|
</data>
|
||||||
|
<data name="Interaction_Section_MouseScrolling.Header" xml:space="preserve">
|
||||||
|
<value>Mouse and scrolling</value>
|
||||||
|
<comment>Title of a section that groups settings related to mouse and scroll wheel input.</comment>
|
||||||
|
</data>
|
||||||
|
<data name="Interaction_Section_TextSelection.Text" xml:space="preserve">
|
||||||
|
<value>Text selection and editing</value>
|
||||||
|
<comment>Title of a section that groups settings related to text selection and editing.</comment>
|
||||||
|
</data>
|
||||||
|
<data name="Interaction_Section_UrlsExternal.Text" xml:space="preserve">
|
||||||
|
<value>URLs & external actions</value>
|
||||||
|
<comment>Title of a section that groups settings related to URLs and external app actions.</comment>
|
||||||
|
</data>
|
||||||
|
<data name="Interaction_Section_Warnings.Text" xml:space="preserve">
|
||||||
|
<value>Warnings</value>
|
||||||
|
<comment>Title of a section that groups warning-related settings.</comment>
|
||||||
|
</data>
|
||||||
|
<data name="Interaction_Section_WindowLayout.Text" xml:space="preserve">
|
||||||
|
<value>Window and layout behavior</value>
|
||||||
|
<comment>Title of a section that groups settings related to window sizing, arrangement, and grouping.</comment>
|
||||||
|
</data>
|
||||||
|
<data name="Globals_AcrylicTabRow.Header" xml:space="preserve">
|
||||||
|
<value>Use acrylic material in the tab row</value>
|
||||||
|
<comment>Header for a control to toggle whether "acrylic material" is used. "Acrylic material" is a Microsoft-specific term: https://docs.microsoft.com/en-us/windows/apps/design/style/acrylic</comment>
|
||||||
|
</data>
|
||||||
|
<data name="Globals_AcrylicTabRow_Checkbox.Content" xml:space="preserve">
|
||||||
|
<value>Use acrylic material in the tab row</value>
|
||||||
|
<comment>Header for a control to toggle whether "acrylic material" is used. "Acrylic material" is a Microsoft-specific term: https://docs.microsoft.com/en-us/windows/apps/design/style/acrylic</comment>
|
||||||
|
</data>
|
||||||
|
<data name="Globals_AlwaysShowTabs.Header" xml:space="preserve">
|
||||||
|
<value>Always show tabs</value>
|
||||||
|
<comment>Header for a control to toggle if the app should always show the tabs (similar to a website browser).</comment>
|
||||||
|
</data>
|
||||||
|
<data name="Globals_AlwaysShowTabs.Description" xml:space="preserve">
|
||||||
|
<value>When disabled, the tab bar will appear when a new tab is created. Cannot be disabled while "Hide the title bar" is On.</value>
|
||||||
|
<comment>A description for what the "always show tabs" setting does. Presented near "Globals_AlwaysShowTabs.Header". This setting cannot be disabled while "Globals_ShowTitlebar.Header" is enabled.</comment>
|
||||||
|
</data>
|
||||||
|
<data name="Globals_AlwaysShowTabs_Checkbox.Content" xml:space="preserve">
|
||||||
|
<value>Always show tabs</value>
|
||||||
|
<comment>Header for a control to toggle if the app should always show the tabs (similar to a website browser).</comment>
|
||||||
|
</data>
|
||||||
|
<data name="Globals_DisableAnimationsReversed.Header" xml:space="preserve">
|
||||||
|
<value>Pane animations</value>
|
||||||
|
<comment>Header for a control to toggle animations on panes. "Enabled" value enables the animations.</comment>
|
||||||
|
</data>
|
||||||
|
<data name="Globals_DisableAnimationsReversed_Checkbox.Content" xml:space="preserve">
|
||||||
|
<value>Pane animations</value>
|
||||||
|
<comment>Header for a control to toggle animations on panes. "Enabled" value enables the animations.</comment>
|
||||||
|
</data>
|
||||||
|
<data name="Globals_EnableUnfocusedAcrylic.Header" xml:space="preserve">
|
||||||
|
<value>Allow acrylic material in unfocused windows</value>
|
||||||
|
<comment>Header for a control to toggle allowing unfocused windows to have an acrylic background.</comment>
|
||||||
|
</data>
|
||||||
|
<data name="Globals_EnableUnfocusedAcrylic_Checkbox.Content" xml:space="preserve">
|
||||||
|
<value>Allow acrylic material in unfocused windows</value>
|
||||||
|
<comment>Header for a control to toggle allowing unfocused windows to have an acrylic background.</comment>
|
||||||
|
</data>
|
||||||
|
<data name="Globals_MinimizeToNotificationArea.Header" xml:space="preserve">
|
||||||
|
<value>Hide Terminal in the notification area when it is minimized</value>
|
||||||
|
<comment>Header for a control to toggle whether the terminal should hide itself in the notification area instead of the taskbar when minimized.</comment>
|
||||||
|
</data>
|
||||||
|
<data name="Globals_MinimizeToNotificationArea_Checkbox.Content" xml:space="preserve">
|
||||||
|
<value>Hide Terminal in the notification area when it is minimized</value>
|
||||||
|
<comment>Header for a control to toggle whether the terminal should hide itself in the notification area instead of the taskbar when minimized.</comment>
|
||||||
|
</data>
|
||||||
|
<data name="Globals_Section_SystemIntegration.Text" xml:space="preserve">
|
||||||
|
<value>System integration and notifications</value>
|
||||||
|
<comment>Title of a section that groups settings related to system integration and notifications.</comment>
|
||||||
|
</data>
|
||||||
|
<data name="Globals_Section_TabsLayout.Text" xml:space="preserve">
|
||||||
|
<value>Tabs and titlebar</value>
|
||||||
|
<comment>Title of a section that groups settings related to tabs and pane layout.</comment>
|
||||||
|
</data>
|
||||||
|
<data name="Globals_Section_VisualStyle.Text" xml:space="preserve">
|
||||||
|
<value>Visual style</value>
|
||||||
|
<comment>Title of a section that groups settings related to the terminal's visual appearance.</comment>
|
||||||
|
</data>
|
||||||
|
<data name="Globals_Section_WindowBehavior.Text" xml:space="preserve">
|
||||||
|
<value>Window behavior</value>
|
||||||
|
<comment>Title of a section that groups settings related to terminal window behavior.</comment>
|
||||||
|
</data>
|
||||||
|
<data name="Globals_ShowAdminShield.Header" xml:space="preserve">
|
||||||
|
<value>Display a shield in the title bar when Windows Terminal is running as Administrator</value>
|
||||||
|
<comment>Header for a control to toggle displaying a shield in the title bar of the app. "Admin" refers to elevated sessions like "run as Admin"</comment>
|
||||||
|
</data>
|
||||||
|
<data name="Globals_ShowAdminShield_Checkbox.Content" xml:space="preserve">
|
||||||
|
<value>Display a shield in the title bar when running as Administrator</value>
|
||||||
|
<comment>Header for a control to toggle displaying a shield in the title bar of the app. "Admin" refers to elevated sessions like "run as Admin"</comment>
|
||||||
|
</data>
|
||||||
|
<data name="Globals_ShowTabsFullscreen.Header" xml:space="preserve">
|
||||||
|
<value>Show tabs in full screen</value>
|
||||||
|
<comment>Header for a control to toggle if the app should show the tabs when in full screen state.</comment>
|
||||||
|
</data>
|
||||||
|
<data name="Globals_ShowTabsFullscreen.Description" xml:space="preserve">
|
||||||
|
<value>When enabled, the tab bar will be visible when the app is full screen.</value>
|
||||||
|
<comment>A description for what the "show tabs in full screen" setting does.</comment>
|
||||||
|
</data>
|
||||||
|
<data name="Globals_ShowTabsFullscreen_Checkbox.Content" xml:space="preserve">
|
||||||
|
<value>Show tabs in full screen</value>
|
||||||
|
<comment>Header for a control to toggle if the app should show the tabs when in full screen state.</comment>
|
||||||
|
</data>
|
||||||
|
<data name="Globals_ShowTitleInTitlebar.Header" xml:space="preserve">
|
||||||
|
<value>Use active terminal title as application title</value>
|
||||||
|
<comment>Header for a control to toggle whether the terminal's title is shown as the application title, or not.</comment>
|
||||||
|
</data>
|
||||||
|
<data name="Globals_ShowTitleInTitlebar.Description" xml:space="preserve">
|
||||||
|
<value>When disabled, the title bar will be 'Terminal'.</value>
|
||||||
|
<comment>A description for what the "show title in titlebar" setting does. Presented near "Globals_ShowTitleInTitlebar.Header".{Locked="Windows"}</comment>
|
||||||
|
</data>
|
||||||
|
<data name="Globals_ShowTitleInTitlebar_Checkbox.Content" xml:space="preserve">
|
||||||
|
<value>Use active terminal title as application title</value>
|
||||||
|
<comment>Header for a control to toggle whether the terminal's title is shown as the application title, or not.</comment>
|
||||||
|
</data>
|
||||||
|
<data name="Compatibility_Section_Rendering.Text" xml:space="preserve">
|
||||||
|
<value>Rendering</value>
|
||||||
|
<comment>Title of a section that groups rendering-related settings.</comment>
|
||||||
|
</data>
|
||||||
|
<data name="Compatibility_Section_Troubleshooting.Text" xml:space="preserve">
|
||||||
|
<value>Troubleshooting</value>
|
||||||
|
<comment>Title of a section that groups troubleshooting tools: clearing cached state, resetting to default settings, and enabling debug features.</comment>
|
||||||
|
</data>
|
||||||
|
<data name="Profile_AdvancedNavigator.Header" xml:space="preserve">
|
||||||
|
<value>Advanced</value>
|
||||||
|
<comment>Header for the "Advanced" navigator card on the profile page. Navigates to the advanced settings sub-page.</comment>
|
||||||
|
</data>
|
||||||
|
<data name="Profile_AppearanceNavigator.Description" xml:space="preserve">
|
||||||
|
<value>Customize the visual appearance of the profile, including colors, fonts, and text styling.</value>
|
||||||
|
<comment>Description shown below the "Appearance" navigator card on the profile page.</comment>
|
||||||
|
</data>
|
||||||
|
<data name="Profile_AppearanceNavigator.Header" xml:space="preserve">
|
||||||
|
<value>Appearance</value>
|
||||||
|
<comment>Header for the "Appearance" navigator card on the profile page. Navigates to the appearance sub-page.</comment>
|
||||||
|
</data>
|
||||||
|
<data name="Profile_CommandlineBrowse.Content" xml:space="preserve">
|
||||||
|
<value>Browse...</value>
|
||||||
|
<comment>Button label that opens a file picker in a new window. The "..." is standard to mean it will open a new window.</comment>
|
||||||
|
</data>
|
||||||
|
<data name="Profile_CommandlineBrowse_Tooltip.[using:Windows.UI.Xaml.Controls]ToolTipService.ToolTip" xml:space="preserve">
|
||||||
|
<value>Browse...</value>
|
||||||
|
<comment>Button label that opens a file picker in a new window. The "..." is standard to mean it will open a new window.</comment>
|
||||||
|
</data>
|
||||||
|
<data name="Profile_Elevate.Header" xml:space="preserve">
|
||||||
|
<value>Run this profile as Administrator</value>
|
||||||
|
<comment>Header for a control to toggle whether the profile should always open elevated (in an admin window)</comment>
|
||||||
|
</data>
|
||||||
|
<data name="Profile_Elevate.Description" xml:space="preserve">
|
||||||
|
<value>If enabled, the profile will open in an Admin terminal window automatically. If the current window is already running as admin, it will open in this window.</value>
|
||||||
|
<comment>A description for what the "elevate" setting does. Presented near "Profile_Elevate".</comment>
|
||||||
|
</data>
|
||||||
|
<data name="Profile_Elevate_Checkbox.Content" xml:space="preserve">
|
||||||
|
<value>Run as administrator (uses current window if already elevated)</value>
|
||||||
|
<comment>Header for a control to toggle whether the profile should always open elevated (in an admin window)</comment>
|
||||||
|
</data>
|
||||||
|
<data name="Profile_Hidden.Header" xml:space="preserve">
|
||||||
|
<value>Hide profile from dropdown</value>
|
||||||
|
<comment>Header for a control to toggle whether the profile is shown in a dropdown menu, or not.</comment>
|
||||||
|
</data>
|
||||||
|
<data name="Profile_Hidden.Description" xml:space="preserve">
|
||||||
|
<value>If enabled, the profile will not appear in the list of profiles. This can be used to hide default profiles and dynamically generated profiles, while leaving them in your settings file.</value>
|
||||||
|
<comment>A description for what the "hidden" setting does. Presented near "Profile_Hidden".</comment>
|
||||||
|
</data>
|
||||||
|
<data name="Profile_Hidden_Checkbox.Content" xml:space="preserve">
|
||||||
|
<value>Hide profile from dropdown</value>
|
||||||
|
<comment>Header for a control to toggle whether the profile is shown in a dropdown menu, or not.</comment>
|
||||||
|
</data>
|
||||||
|
<data name="Profile_NameBox.PlaceholderText" xml:space="preserve">
|
||||||
|
<value>Name</value>
|
||||||
|
<comment>Placeholder text shown inside the empty profile name text box, hinting that the user should enter the profile's name here.</comment>
|
||||||
|
</data>
|
||||||
|
<data name="Profile_Section_VisualUI.Text" xml:space="preserve">
|
||||||
|
<value>Visual/UI Affordance</value>
|
||||||
|
<comment>Title of a section in a profile page that groups visual and UI settings (tab title, icon, tab color, etc.).</comment>
|
||||||
|
</data>
|
||||||
|
<data name="Profile_StartingDirectoryBrowse.Content" xml:space="preserve">
|
||||||
|
<value>Browse...</value>
|
||||||
|
<comment>Button label that opens a file picker in a new window. The "..." is standard to mean it will open a new window.</comment>
|
||||||
|
</data>
|
||||||
|
<data name="Profile_StartingDirectoryBrowse_Tooltip.[using:Windows.UI.Xaml.Controls]ToolTipService.ToolTip" xml:space="preserve">
|
||||||
|
<value>Browse...</value>
|
||||||
|
<comment>Button label that opens a file picker in a new window. The "..." is standard to mean it will open a new window.</comment>
|
||||||
|
</data>
|
||||||
|
<data name="Profile_TerminalNavigator.Header" xml:space="preserve">
|
||||||
|
<value>Terminal emulation</value>
|
||||||
|
<comment>Header for the "Terminal Emulation" navigator card on the profile page. Navigates to the terminal emulation sub-page.</comment>
|
||||||
|
</data>
|
||||||
|
<data name="Profile_TerminalNavigator.Description" xml:space="preserve">
|
||||||
|
<value>Configure how the terminal interprets text and control sequences to behave like a traditional command-line terminal</value>
|
||||||
|
<comment>Description shown below the "Terminal Emulation" navigator card on the profile page.</comment>
|
||||||
|
</data>
|
||||||
|
<data name="Profile_NameSectionHeaderFormat" xml:space="preserve">
|
||||||
|
<value>{0} profile</value>
|
||||||
|
<comment>Localizable format string used as the section header for a profile (e.g. "PowerShell profile"). {0} is replaced by the profile's name. Reorder the placeholder if your language requires a different word order.</comment>
|
||||||
|
</data>
|
||||||
|
<data name="Profile_DefaultsSectionHeader" xml:space="preserve">
|
||||||
|
<value>Profile defaults</value>
|
||||||
|
<comment>Header used in place of the "{name} profile" header when the page is showing the profile-defaults layer (which has no profile name).</comment>
|
||||||
|
</data>
|
||||||
</root>
|
</root>
|
||||||
|
|||||||
Reference in New Issue
Block a user