chore: 调整设计时语言资源的引用方式

This commit is contained in:
枫雨
2023-05-18 20:37:22 +08:00
parent 33c7980a21
commit e70d324a6c
2 changed files with 1 additions and 3 deletions

View File

@@ -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 />

View File

@@ -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>