mirror of
https://github.com/MaaAssistantArknights/MaaAssistantArknights.git
synced 2026-07-18 02:10:21 +08:00
chore: 调整设计时语言资源的引用方式
This commit is contained in:
@@ -15,9 +15,6 @@
|
||||
</ResourceDictionary>-->
|
||||
<ResourceDictionary>
|
||||
<ResourceDictionary.MergedDictionaries>
|
||||
<!-- 默认语言文件,这个资源会被动态修改,所以需要放在第一位 -->
|
||||
<!-- Reference: Helper/Localization.cs -->
|
||||
<ResourceDictionary Source="/MAA;component/Res/Localizations/zh-cn.xaml" />
|
||||
<s:ApplicationLoader>
|
||||
<s:ApplicationLoader.Bootstrapper>
|
||||
<main:Bootstrapper />
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
xmlns:hc="https://handyorg.github.io/handycontrol">
|
||||
<ResourceDictionary.MergedDictionaries>
|
||||
<ResourceDictionary Source="/MAA;component/Res/Localizations/zh-cn.xaml" />
|
||||
<hc:IntellisenseResources Source="/HandyControl;Component/DesignTime/DesignTimeResources.xaml" />
|
||||
</ResourceDictionary.MergedDictionaries>
|
||||
</ResourceDictionary>
|
||||
|
||||
Reference in New Issue
Block a user