mirror of
https://github.com/microsoft/terminal.git
synced 2026-05-18 18:56:25 +00:00
add polish
This commit is contained in:
@@ -73,7 +73,7 @@
|
||||
AutomationProperties.Name="{Binding Text, ElementName=Appearance_Section_Typography_Title_AccTitle}"
|
||||
Style="{StaticResource SectionExpanderStyle}">
|
||||
<muxc:Expander.Header>
|
||||
<StackPanel>
|
||||
<StackPanel Style="{StaticResource SectionExpanderHeaderStackStyle}">
|
||||
<TextBlock x:Name="Appearance_Section_Typography_Title_AccTitle"
|
||||
x:Uid="Appearance_Section_Typography_Title"
|
||||
Style="{StaticResource SectionExpanderHeaderTextStyle}" />
|
||||
@@ -513,7 +513,7 @@
|
||||
<muxc:Expander AutomationProperties.Name="{Binding Text, ElementName=Appearance_Section_Cursor_Title_AccTitle}"
|
||||
Style="{StaticResource SectionExpanderStyle}">
|
||||
<muxc:Expander.Header>
|
||||
<StackPanel>
|
||||
<StackPanel Style="{StaticResource SectionExpanderHeaderStackStyle}">
|
||||
<TextBlock x:Name="Appearance_Section_Cursor_Title_AccTitle"
|
||||
x:Uid="Appearance_Section_Cursor_Title"
|
||||
Style="{StaticResource SectionExpanderHeaderTextStyle}" />
|
||||
@@ -581,7 +581,7 @@
|
||||
<muxc:Expander AutomationProperties.Name="{Binding Text, ElementName=Appearance_Section_BackgroundImage_Title_AccTitle}"
|
||||
Style="{StaticResource SectionExpanderStyle}">
|
||||
<muxc:Expander.Header>
|
||||
<StackPanel>
|
||||
<StackPanel Style="{StaticResource SectionExpanderHeaderStackStyle}">
|
||||
<TextBlock x:Name="Appearance_Section_BackgroundImage_Title_AccTitle"
|
||||
x:Uid="Appearance_Section_BackgroundImage_Title"
|
||||
Style="{StaticResource SectionExpanderHeaderTextStyle}" />
|
||||
|
||||
@@ -176,8 +176,14 @@
|
||||
<Setter Property="HorizontalContentAlignment" Value="Stretch" />
|
||||
</Style>
|
||||
|
||||
<Style x:Key="SectionExpanderHeaderStackStyle"
|
||||
TargetType="StackPanel">
|
||||
<Setter Property="VerticalAlignment" Value="Center" />
|
||||
<Setter Property="Padding" Value="0,12,0,12" />
|
||||
</Style>
|
||||
|
||||
<Style x:Key="SectionExpanderHeaderTextStyle"
|
||||
BasedOn="{StaticResource BodyStrongTextBlockStyle}"
|
||||
BasedOn="{StaticResource BodyTextBlockStyle}"
|
||||
TargetType="TextBlock">
|
||||
<Setter Property="VerticalAlignment" Value="Center" />
|
||||
</Style>
|
||||
|
||||
@@ -30,7 +30,7 @@
|
||||
AutomationProperties.Name="{Binding Text, ElementName=Compatibility_Section_Compatibility_Title_AccTitle}"
|
||||
Style="{StaticResource SectionExpanderStyle}">
|
||||
<muxc:Expander.Header>
|
||||
<StackPanel>
|
||||
<StackPanel Style="{StaticResource SectionExpanderHeaderStackStyle}">
|
||||
<TextBlock x:Name="Compatibility_Section_Compatibility_Title_AccTitle"
|
||||
x:Uid="Compatibility_Section_Compatibility_Title"
|
||||
Style="{StaticResource SectionExpanderHeaderTextStyle}" />
|
||||
@@ -123,7 +123,7 @@
|
||||
<muxc:Expander AutomationProperties.Name="{Binding Text, ElementName=Compatibility_Section_Rendering_Title_AccTitle}"
|
||||
Style="{StaticResource SectionExpanderStyle}">
|
||||
<muxc:Expander.Header>
|
||||
<StackPanel>
|
||||
<StackPanel Style="{StaticResource SectionExpanderHeaderStackStyle}">
|
||||
<TextBlock x:Name="Compatibility_Section_Rendering_Title_AccTitle"
|
||||
x:Uid="Compatibility_Section_Rendering_Title"
|
||||
Style="{StaticResource SectionExpanderHeaderTextStyle}" />
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
// Licensed under the MIT license.
|
||||
|
||||
#include "pch.h"
|
||||
#include "TerminalColorConverters.h"
|
||||
#include "Converters.h"
|
||||
#include "ColorToBrushConverter.g.cpp"
|
||||
#include "ColorToStringConverter.g.cpp"
|
||||
#include "EmptyStringToVisibilityConverter.g.cpp"
|
||||
@@ -32,7 +32,7 @@
|
||||
AutomationProperties.Name="{Binding Text, ElementName=Globals_Section_VisualStyle_Title_AccTitle}"
|
||||
Style="{StaticResource SectionExpanderStyle}">
|
||||
<muxc:Expander.Header>
|
||||
<StackPanel>
|
||||
<StackPanel Style="{StaticResource SectionExpanderHeaderStackStyle}">
|
||||
<TextBlock x:Name="Globals_Section_VisualStyle_Title_AccTitle"
|
||||
x:Uid="Globals_Section_VisualStyle_Title"
|
||||
Style="{StaticResource SectionExpanderHeaderTextStyle}" />
|
||||
@@ -84,7 +84,7 @@
|
||||
<muxc:Expander AutomationProperties.Name="{Binding Text, ElementName=Globals_Section_TabsLayout_Title_AccTitle}"
|
||||
Style="{StaticResource SectionExpanderStyle}">
|
||||
<muxc:Expander.Header>
|
||||
<StackPanel>
|
||||
<StackPanel Style="{StaticResource SectionExpanderHeaderStackStyle}">
|
||||
<TextBlock x:Name="Globals_Section_TabsLayout_Title_AccTitle"
|
||||
x:Uid="Globals_Section_TabsLayout_Title"
|
||||
Style="{StaticResource SectionExpanderHeaderTextStyle}" />
|
||||
@@ -142,7 +142,7 @@
|
||||
<muxc:Expander AutomationProperties.Name="{Binding Text, ElementName=Globals_Section_WindowBehavior_Title_AccTitle}"
|
||||
Style="{StaticResource SectionExpanderStyle}">
|
||||
<muxc:Expander.Header>
|
||||
<StackPanel>
|
||||
<StackPanel Style="{StaticResource SectionExpanderHeaderStackStyle}">
|
||||
<TextBlock x:Name="Globals_Section_WindowBehavior_Title_AccTitle"
|
||||
x:Uid="Globals_Section_WindowBehavior_Title"
|
||||
Style="{StaticResource SectionExpanderHeaderTextStyle}" />
|
||||
@@ -171,7 +171,7 @@
|
||||
<muxc:Expander AutomationProperties.Name="{Binding Text, ElementName=Globals_Section_TitleBarIdentity_Title_AccTitle}"
|
||||
Style="{StaticResource SectionExpanderStyle}">
|
||||
<muxc:Expander.Header>
|
||||
<StackPanel>
|
||||
<StackPanel Style="{StaticResource SectionExpanderHeaderStackStyle}">
|
||||
<TextBlock x:Name="Globals_Section_TitleBarIdentity_Title_AccTitle"
|
||||
x:Uid="Globals_Section_TitleBarIdentity_Title"
|
||||
Style="{StaticResource SectionExpanderHeaderTextStyle}" />
|
||||
@@ -200,7 +200,7 @@
|
||||
<muxc:Expander AutomationProperties.Name="{Binding Text, ElementName=Globals_Section_SystemIntegration_Title_AccTitle}"
|
||||
Style="{StaticResource SectionExpanderStyle}">
|
||||
<muxc:Expander.Header>
|
||||
<StackPanel>
|
||||
<StackPanel Style="{StaticResource SectionExpanderHeaderStackStyle}">
|
||||
<TextBlock x:Name="Globals_Section_SystemIntegration_Title_AccTitle"
|
||||
x:Uid="Globals_Section_SystemIntegration_Title"
|
||||
Style="{StaticResource SectionExpanderHeaderTextStyle}" />
|
||||
|
||||
@@ -31,7 +31,7 @@
|
||||
AutomationProperties.Name="{Binding Text, ElementName=Interaction_Section_Clipboard_Title_AccTitle}"
|
||||
Style="{StaticResource SectionExpanderStyle}">
|
||||
<muxc:Expander.Header>
|
||||
<StackPanel>
|
||||
<StackPanel Style="{StaticResource SectionExpanderHeaderStackStyle}">
|
||||
<TextBlock x:Name="Interaction_Section_Clipboard_Title_AccTitle"
|
||||
x:Uid="Interaction_Section_Clipboard_Title"
|
||||
Style="{StaticResource SectionExpanderHeaderTextStyle}" />
|
||||
@@ -77,7 +77,7 @@
|
||||
<muxc:Expander AutomationProperties.Name="{Binding Text, ElementName=Interaction_Section_TextSelection_Title_AccTitle}"
|
||||
Style="{StaticResource SectionExpanderStyle}">
|
||||
<muxc:Expander.Header>
|
||||
<StackPanel>
|
||||
<StackPanel Style="{StaticResource SectionExpanderHeaderStackStyle}">
|
||||
<TextBlock x:Name="Interaction_Section_TextSelection_Title_AccTitle"
|
||||
x:Uid="Interaction_Section_TextSelection_Title"
|
||||
Style="{StaticResource SectionExpanderHeaderTextStyle}" />
|
||||
@@ -109,7 +109,7 @@
|
||||
<muxc:Expander AutomationProperties.Name="{Binding Text, ElementName=Interaction_Section_WindowLayout_Title_AccTitle}"
|
||||
Style="{StaticResource SectionExpanderStyle}">
|
||||
<muxc:Expander.Header>
|
||||
<StackPanel>
|
||||
<StackPanel Style="{StaticResource SectionExpanderHeaderStackStyle}">
|
||||
<TextBlock x:Name="Interaction_Section_WindowLayout_Title_AccTitle"
|
||||
x:Uid="Interaction_Section_WindowLayout_Title"
|
||||
Style="{StaticResource SectionExpanderHeaderTextStyle}" />
|
||||
@@ -148,7 +148,7 @@
|
||||
<muxc:Expander AutomationProperties.Name="{Binding Text, ElementName=Interaction_Section_MouseScrolling_Title_AccTitle}"
|
||||
Style="{StaticResource SectionExpanderStyle}">
|
||||
<muxc:Expander.Header>
|
||||
<StackPanel>
|
||||
<StackPanel Style="{StaticResource SectionExpanderHeaderStackStyle}">
|
||||
<TextBlock x:Name="Interaction_Section_MouseScrolling_Title_AccTitle"
|
||||
x:Uid="Interaction_Section_MouseScrolling_Title"
|
||||
Style="{StaticResource SectionExpanderHeaderTextStyle}" />
|
||||
@@ -177,7 +177,7 @@
|
||||
<muxc:Expander AutomationProperties.Name="{Binding Text, ElementName=Interaction_Section_UrlsExternal_Title_AccTitle}"
|
||||
Style="{StaticResource SectionExpanderStyle}">
|
||||
<muxc:Expander.Header>
|
||||
<StackPanel>
|
||||
<StackPanel Style="{StaticResource SectionExpanderHeaderStackStyle}">
|
||||
<TextBlock x:Name="Interaction_Section_UrlsExternal_Title_AccTitle"
|
||||
x:Uid="Interaction_Section_UrlsExternal_Title"
|
||||
Style="{StaticResource SectionExpanderHeaderTextStyle}" />
|
||||
@@ -209,7 +209,7 @@
|
||||
<muxc:Expander AutomationProperties.Name="{Binding Text, ElementName=Interaction_Section_Warnings_Title_AccTitle}"
|
||||
Style="{StaticResource SectionExpanderStyle}">
|
||||
<muxc:Expander.Header>
|
||||
<StackPanel>
|
||||
<StackPanel Style="{StaticResource SectionExpanderHeaderStackStyle}">
|
||||
<TextBlock x:Name="Interaction_Section_Warnings_Title_AccTitle"
|
||||
x:Uid="Interaction_Section_Warnings_Title"
|
||||
Style="{StaticResource SectionExpanderHeaderTextStyle}" />
|
||||
|
||||
@@ -48,7 +48,7 @@
|
||||
AutomationProperties.Name="{Binding Text, ElementName=Launch_Section_LaunchBehavior_Title_AccTitle}"
|
||||
Style="{StaticResource SectionExpanderStyle}">
|
||||
<muxc:Expander.Header>
|
||||
<StackPanel>
|
||||
<StackPanel Style="{StaticResource SectionExpanderHeaderStackStyle}">
|
||||
<TextBlock x:Name="Launch_Section_LaunchBehavior_Title_AccTitle"
|
||||
x:Uid="Launch_Section_LaunchBehavior_Title"
|
||||
Style="{StaticResource SectionExpanderHeaderTextStyle}" />
|
||||
@@ -248,7 +248,7 @@
|
||||
<muxc:Expander AutomationProperties.Name="{Binding Text, ElementName=Launch_Section_SystemInputDefaults_Title_AccTitle}"
|
||||
Style="{StaticResource SectionExpanderStyle}">
|
||||
<muxc:Expander.Header>
|
||||
<StackPanel>
|
||||
<StackPanel Style="{StaticResource SectionExpanderHeaderStackStyle}">
|
||||
<TextBlock x:Name="Launch_Section_SystemInputDefaults_Title_AccTitle"
|
||||
x:Uid="Launch_Section_SystemInputDefaults_Title"
|
||||
Style="{StaticResource SectionExpanderHeaderTextStyle}" />
|
||||
|
||||
@@ -107,8 +107,8 @@
|
||||
<SubType>Code</SubType>
|
||||
</ClInclude>
|
||||
<ClInclude Include="SegoeFluentIconList.h" />
|
||||
<ClInclude Include="TerminalColorConverters.h">
|
||||
<DependentUpon>TerminalColorConverters.idl</DependentUpon>
|
||||
<ClInclude Include="Converters.h">
|
||||
<DependentUpon>Converters.idl</DependentUpon>
|
||||
<SubType>Code</SubType>
|
||||
</ClInclude>
|
||||
<ClInclude Include="ColorSchemeViewModel.h">
|
||||
@@ -309,8 +309,8 @@
|
||||
<DependentUpon>ActionsViewModel.idl</DependentUpon>
|
||||
<SubType>Code</SubType>
|
||||
</ClCompile>
|
||||
<ClCompile Include="TerminalColorConverters.cpp">
|
||||
<DependentUpon>TerminalColorConverters.idl</DependentUpon>
|
||||
<ClCompile Include="Converters.cpp">
|
||||
<DependentUpon>Converters.idl</DependentUpon>
|
||||
<SubType>Code</SubType>
|
||||
</ClCompile>
|
||||
<ClCompile Include="ColorSchemeViewModel.cpp">
|
||||
@@ -432,7 +432,7 @@
|
||||
</Midl>
|
||||
<Midl Include="ProfileViewModel.idl" />
|
||||
<Midl Include="ActionsViewModel.idl" />
|
||||
<Midl Include="TerminalColorConverters.idl" />
|
||||
<Midl Include="Converters.idl" />
|
||||
<Midl Include="ColorSchemeViewModel.idl" />
|
||||
<Midl Include="ColorSchemesPageViewModel.idl" />
|
||||
<Midl Include="InteractionViewModel.idl" />
|
||||
|
||||
@@ -29,7 +29,7 @@
|
||||
<Midl Include="LaunchViewModel.idl" />
|
||||
<Midl Include="EnumEntry.idl" />
|
||||
<Midl Include="SettingContainer.idl" />
|
||||
<Midl Include="TerminalColorConverters.idl" />
|
||||
<Midl Include="Converters.idl" />
|
||||
<Midl Include="NewTabMenuViewModel.idl" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
|
||||
@@ -367,7 +367,7 @@ namespace winrt::Microsoft::Terminal::Settings::Editor::implementation
|
||||
{
|
||||
return RS_(L"Profile_DefaultsSectionHeader");
|
||||
}
|
||||
return hstring{ fmt::format(fmt::runtime(std::wstring_view{ RS_(L"Profile_NameSectionHeaderFormat") }), Name()) };
|
||||
return hstring{ RS_fmt(L"Profile_NameSectionHeaderFormat", Name()) };
|
||||
}
|
||||
|
||||
hstring ProfileViewModel::AnswerbackMessagePreview() const
|
||||
|
||||
@@ -39,7 +39,7 @@
|
||||
AutomationProperties.Name="{x:Bind Profile.SectionHeaderText, Mode=OneWay}"
|
||||
Style="{StaticResource SectionExpanderStyle}">
|
||||
<muxc:Expander.Header>
|
||||
<StackPanel>
|
||||
<StackPanel Style="{StaticResource SectionExpanderHeaderStackStyle}">
|
||||
<TextBlock Style="{StaticResource SectionExpanderHeaderTextStyle}"
|
||||
Text="{x:Bind Profile.SectionHeaderText, Mode=OneWay}" />
|
||||
</StackPanel>
|
||||
@@ -126,7 +126,7 @@
|
||||
<muxc:Expander AutomationProperties.Name="{Binding Text, ElementName=Profile_Section_VisualUI_Title_AccTitle}"
|
||||
Style="{StaticResource SectionExpanderStyle}">
|
||||
<muxc:Expander.Header>
|
||||
<StackPanel>
|
||||
<StackPanel Style="{StaticResource SectionExpanderHeaderStackStyle}">
|
||||
<TextBlock x:Name="Profile_Section_VisualUI_Title_AccTitle"
|
||||
x:Uid="Profile_Section_VisualUI_Title"
|
||||
Style="{StaticResource SectionExpanderHeaderTextStyle}" />
|
||||
|
||||
Reference in New Issue
Block a user