Files
better-genshin-impact/BetterGenshinImpact/View/Windows/KeyBindingsWindow.xaml
辉鸭蛋 fc942bd8cd feat: 为多个窗口启用自动翻译拦截器
为 MapLabelSearchWindow、ArtifactOcrDialog、PromptDialog 等十三个 WPF 窗口添加了 AutoTranslateInterceptor 行为,以启用自动翻译功能。这确保了应用程序界面的文本内容在需要时可以被正确拦截并处理,提升国际化支持。
2026-01-28 01:22:09 +08:00

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>