完善并启用主题切换功能

补充部分相关本地化
This commit is contained in:
hoshiizumiya
2025-11-24 00:08:45 +08:00
parent 7ee92db156
commit cc47e050d1
4 changed files with 15 additions and 5 deletions

6
.gitignore vendored
View File

@@ -1,4 +1,4 @@
desktop.ini
desktop.ini
*.csproj.user
*.DotSettings.user
@@ -24,4 +24,6 @@ src/Snap.Hutao/Snap.Hutao/Generated Files/
tools/
src/Snap.Hutao/Snap.Hutao/AppPackages
src/Snap.Hutao/Snap.Hutao/AppPackages
/src/Snap.Hutao/Snap.Hutao.Installer/bin
/src/Snap.Hutao/Snap.Hutao.Installer/obj

View File

@@ -1181,6 +1181,9 @@ Space Available: {2}</value>
<data name="ServiceYaeWaitForGameResponseMessage" xml:space="preserve">
<value>Waiting for game data</value>
</data>
<data name="UIViewMainTitleBarBackgroundActivityAction" xml:space="preserve">
<value>Background task</value>
</data>
<data name="UIViewPageAvatarPropertyRecommendedAppendProperties" xml:space="preserve">
<value>Additional Property Recommendation</value>
</data>
@@ -3989,4 +3992,7 @@ Space Available: {2}</value>
<data name="WindowIdentifyMonitorHeader" xml:space="preserve">
<value>Monitor ID</value>
</data>
<data name="UIViewMainTitleBarInvertTheme" xml:space="preserve">
<value>Invert Theme</value>
</data>
</root>

View File

@@ -4020,4 +4020,7 @@
<data name="WindowIdentifyMonitorHeader" xml:space="preserve">
<value>显示器编号</value>
</data>
<data name="UIViewMainTitleBarInvertTheme" xml:space="preserve">
<value>主题切换</value>
</data>
</root>

View File

@@ -79,9 +79,8 @@
<Button
Padding="6"
Command="{Binding InvertAppThemeCommand}"
Content="[Dev] Invert Theme"
Style="{ThemeResource SettingButtonStyle}"
Visibility="{Binding IsDebug}"/>
Content="{shuxm:ResourceString Name=UIViewMainTitleBarInvertTheme}"
Style="{ThemeResource SettingButtonStyle}"/>
<Button
Padding="0"