mirror of
https://github.com/babalae/better-genshin-impact.git
synced 2026-05-27 10:15:50 +08:00
为 MapLabelSearchWindow、ArtifactOcrDialog、PromptDialog 等十三个 WPF 窗口添加了 AutoTranslateInterceptor 行为,以启用自动翻译功能。这确保了应用程序界面的文本内容在需要时可以被正确拦截并处理,提升国际化支持。
30 lines
1.4 KiB
XML
30 lines
1.4 KiB
XML
<ui:FluentWindow x:Class="BetterGenshinImpact.View.Windows.KeyBindingsWindow"
|
|
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:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
|
xmlns:ui="http://schemas.lepo.co/wpfui/2022/xaml"
|
|
xmlns:behavior="clr-namespace:BetterGenshinImpact.View.Behavior"
|
|
xmlns:pages="clr-namespace:BetterGenshinImpact.View.Pages"
|
|
Title="按键绑定设置"
|
|
Width="800"
|
|
Height="600"
|
|
d:DesignHeight="600"
|
|
d:DesignWidth="800"
|
|
ExtendsContentIntoTitleBar="True"
|
|
behavior:AutoTranslateInterceptor.EnableAutoTranslate="True"
|
|
WindowBackdropType="Mica"
|
|
WindowCornerPreference="Round"
|
|
WindowStartupLocation="CenterOwner"
|
|
mc:Ignorable="d">
|
|
<Grid Name="Grid1">
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition Height="Auto" />
|
|
<RowDefinition Height="*" />
|
|
</Grid.RowDefinitions>
|
|
<ui:TitleBar Grid.Row="0"
|
|
Title="按键绑定设置"
|
|
Icon="pack://application:,,,/Assets/logo.ico" />
|
|
</Grid>
|
|
</ui:FluentWindow>
|