Free, open-source Windows optimization tool for performance, privacy, and simplicity.
C# csharpdebloatdotnetgamingopen-sourceoptimizationoptimizeroptimizerduckperformanceprivacytweakertweakswindowswinui
feat: add feature recommendation system with theme-aware converters
fatDuckfd8c9c5bfc2d
diff --git a/optimizerDuck/Common/Converters/RecommendationForegroundConverter.cs b/optimizerDuck/Common/Converters/RecommendationForegroundConverter.csnew file mode 100644index 0000000..c4fbd53--- /dev/null+++ b/optimizerDuck/Common/Converters/RecommendationForegroundConverter.cs@@ -0,0 +1,74 @@+using System.Globalization;+using System.Windows;+using System.Windows.Data;+using System.Windows.Media;+using optimizerDuck.Common.Helpers;+using optimizerDuck.Domain.Features.Models;+using Wpf.Ui.Appearance;++namespace optimizerDuck.Common.Converters;++public static class ThemeBrushes+{+ public static Brush Primary =>+ Clone("TextFillColorPrimaryBrush");++ public static Brush Inverse =>+ Clone("TextFillColorInverseBrush");++ public static Brush Secondary =>+ Clone("TextFillColorSecondaryBrush");++ private static Brush Clone(string key)+ {+ var brush = ThemeResource.Get<SolidColorBrush>(key);+ if (brush != null)+ return brush.Clone();++ return Brushes.White;+ }+}++public class RecommendationForegroundConverter : IMultiValueConverter+{+ public object Convert(+ object[] values,+ Type targetType,+ object parameter,+ CultureInfo culture)+ {+ if (values.Length < 2)+ return ThemeBrushes.Primary;++ if (values[0] is not RecommendationState state)+ return ThemeBrushes.Primary;++ if (values[1] is not ApplicationTheme theme)+ return ThemeBrushes.Primary;++ var isDark = theme == ApplicationTheme.Dark;++ return state switch+ {+ RecommendationState.On => ThemeBrushes.Inverse,++ RecommendationState.Off => ThemeBrushes.Primary,++ RecommendationState.Depends =>+ isDark ? ThemeBrushes.Inverse+ : ThemeBrushes.Primary,++ _ =>+ ThemeBrushes.Inverse+ };+ }++ public object[] ConvertBack(+ object value,+ Type[] targetTypes,+ object parameter,+ CultureInfo culture)+ {+ throw new NotSupportedException();+ }+}diff --git a/optimizerDuck/Common/Converters/SizeToBrushConverter.cs b/optimizerDuck/Common/Converters/SizeToBrushConverter.csindex 3e24e39..58ddbe4 100644--- a/optimizerDuck/Common/Converters/SizeToBrushConverter.cs+++ b/optimizerDuck/Common/Converters/SizeToBrushConverter.cs@@ -16,15 +16,15 @@ public class SizeToBrushConverter : IValueConverterprivate static readonly SolidColorBrush GreenBrush = ThemeResource.Get<SolidColorBrush>("SystemFillColorSuccessBrush"- );+ ) ?? new SolidColorBrush(Color.FromRgb(0, 180, 0));private static readonly SolidColorBrush OrangeBrush = ThemeResource.Get<SolidColorBrush>("SystemFillColorCautionBrush"- );+ ) ?? new SolidColorBrush(Color.FromRgb(255, 140, 0));private static readonly SolidColorBrush RedBrush = ThemeResource.Get<SolidColorBrush>("SystemFillColorCriticalBrush"- );+ ) ?? new SolidColorBrush(Color.FromRgb(220, 0, 0));private static readonly SolidColorBrush DefaultBrush = new(Color.FromArgb(0x0, 0x0, 0x0, 0x0));diff --git a/optimizerDuck/Common/Converters/ThemeConverterBase.cs b/optimizerDuck/Common/Converters/ThemeConverterBase.csnew file mode 100644index 0000000..cf46556--- /dev/null+++ b/optimizerDuck/Common/Converters/ThemeConverterBase.cs@@ -0,0 +1,25 @@+using System.Globalization;+using System.Windows.Data;+using Wpf.Ui.Appearance;++namespace optimizerDuck.Common.Converters;++public abstract class ThemeConverterBase<T> : IValueConverter+{+ public object? Convert(object value, Type targetType, object parameter, CultureInfo culture)+ {+ if (value is ApplicationTheme theme)+ return ConvertTheme(theme, parameter);++ return GetDefault();+ }++ public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)+ {+ throw new NotSupportedException();+ }++ protected abstract T? ConvertTheme(ApplicationTheme theme, object parameter);++ protected virtual T? GetDefault() => default;+}diff --git a/optimizerDuck/Common/Converters/ThemeToGitHubIconConverter.cs b/optimizerDuck/Common/Converters/ThemeToGitHubIconConverter.csindex ead9e03..26f9637 100644--- a/optimizerDuck/Common/Converters/ThemeToGitHubIconConverter.cs+++ b/optimizerDuck/Common/Converters/ThemeToGitHubIconConverter.cs@@ -1,15 +1,13 @@-using System.Globalization;-using System.Windows.Data;-using System.Windows.Media.Imaging;+using System.Windows.Media.Imaging;using Wpf.Ui.Appearance;namespace optimizerDuck.Common.Converters;-public sealed class ThemeToGitHubIconConverter : IValueConverter+public sealed class ThemeToGitHubIconConverter : ThemeConverterBase<BitmapImage>{- public object Convert(object value, Type targetType, object parameter, CultureInfo culture)+ protected override BitmapImage ConvertTheme(ApplicationTheme theme, object parameter){- if (value is ApplicationTheme theme && theme == ApplicationTheme.Dark)+ if (theme == ApplicationTheme.Dark)return new BitmapImage(new Uri("pack://application:,,,/Resources/Images/GitHubLogoWhite.png"));@@ -18,9 +16,4 @@ public sealed class ThemeToGitHubIconConverter : IValueConverternew Uri("pack://application:,,,/Resources/Images/GitHubLogoBlack.png"));}-- public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)- {- throw new NotSupportedException();- }}diff --git a/optimizerDuck/Common/Helpers/ThemeResource.cs b/optimizerDuck/Common/Helpers/ThemeResource.csindex 0c233ef..992d173 100644--- a/optimizerDuck/Common/Helpers/ThemeResource.cs+++ b/optimizerDuck/Common/Helpers/ThemeResource.cs@@ -1,12 +1,12 @@-using System.Windows;+using System.Windows;namespace optimizerDuck.Common.Helpers;public static class ThemeResource{- public static T Get<T>(string key)+ public static T? Get<T>(string key)where T : class{- return Application.Current.Resources[key] as T ?? throw new KeyNotFoundException(key);+ return Application.Current.Resources[key] as T;}}diff --git a/optimizerDuck/Domain/Features/Categories/Gaming.cs b/optimizerDuck/Domain/Features/Categories/Gaming.csindex db2def6..2bd0a47 100644--- a/optimizerDuck/Domain/Features/Categories/Gaming.cs+++ b/optimizerDuck/Domain/Features/Categories/Gaming.cs@@ -27,7 +27,7 @@ public class Gaming : IFeatureCategorypublic FeatureCategoryOrder Order { get; init; } = FeatureCategoryOrder.Gaming;public ObservableCollection<IFeature> Features { get; init; } = [];- [Feature(Section = nameof(Sections.GameSettings), Icon = SymbolRegular.XboxController24)]+ [Feature(Section = nameof(Sections.GameSettings), Icon = SymbolRegular.XboxController24, Recommendation = RecommendationState.On)]public class GameMode : BaseFeature{protected override IEnumerable<RegistryToggle> RegistryToggles =>@@ -71,6 +71,7 @@ public class Gaming : IFeatureCategoryOnValue = 1,OffValue = 0,DefaultValue = 1,+ IsOptional = true,},new(){@@ -79,6 +80,7 @@ public class Gaming : IFeatureCategoryOnValue = 1,OffValue = 0,DefaultValue = 1,+ IsOptional = true,},new(){@@ -87,11 +89,12 @@ public class Gaming : IFeatureCategoryOnValue = 3,OffValue = 0,DefaultValue = 3,+ IsOptional = true,},];}- [Feature(Section = nameof(Sections.GameSettings), Icon = SymbolRegular.Record24)]+ [Feature(Section = nameof(Sections.GameSettings), Icon = SymbolRegular.Record24, Recommendation = RecommendationState.Off)]public class BackgroundRecording : BaseFeature{protected override IEnumerable<RegistryToggle> RegistryToggles =>@@ -111,6 +114,7 @@ public class Gaming : IFeatureCategoryOnValue = 1,OffValue = 0,DefaultValue = 0,+ IsOptional = true,},new(){@@ -127,6 +131,7 @@ public class Gaming : IFeatureCategoryOnValue = 1,OffValue = 0,DefaultValue = 0,+ IsOptional = true,},new(){@@ -213,7 +218,7 @@ public class Gaming : IFeatureCategory}}- [Feature(Section = nameof(Sections.Display), Icon = SymbolRegular.FullScreenMaximize24)]+ [Feature(Section = nameof(Sections.Display), Icon = SymbolRegular.FullScreenMaximize24, Recommendation = RecommendationState.Depends)]public class FullscreenOptimizations : BaseFeature{protected override IEnumerable<RegistryToggle> RegistryToggles =>@@ -253,7 +258,7 @@ public class Gaming : IFeatureCategory];}- [Feature(Section = nameof(Sections.Display), Icon = SymbolRegular.VideoClip24)]+ [Feature(Section = nameof(Sections.Display), Icon = SymbolRegular.VideoClip24, Recommendation = RecommendationState.On)]public class HardwareAcceleratedGpuScheduling : BaseFeature{protected override IEnumerable<RegistryToggle> RegistryToggles =>diff --git a/optimizerDuck/Domain/Features/Categories/Preferences.cs b/optimizerDuck/Domain/Features/Categories/Preferences.csindex effa153..c423fef 100644--- a/optimizerDuck/Domain/Features/Categories/Preferences.cs+++ b/optimizerDuck/Domain/Features/Categories/Preferences.cs@@ -1,4 +1,4 @@-using System.Collections.ObjectModel;+using System.Collections.ObjectModel;using optimizerDuck.Domain.Abstractions;using optimizerDuck.Domain.Attributes;using optimizerDuck.Domain.Features.Models;@@ -45,7 +45,7 @@ public class Preferences : IFeatureCategory];}- [Feature(Section = nameof(Sections.Taskbar), Icon = SymbolRegular.Grid24)]+ [Feature(Section = nameof(Sections.Taskbar), Icon = SymbolRegular.Grid24, Recommendation = RecommendationState.Off)]public class TaskbarWidgets : BaseFeature{protected override bool NeedsPostAction => true;@@ -67,6 +67,7 @@ public class Preferences : IFeatureCategoryOnValue = 1,OffValue = 0,DefaultValue = 1,+ IsOptional = true,},new(){@@ -75,6 +76,7 @@ public class Preferences : IFeatureCategoryOnValue = 1,OffValue = 0,DefaultValue = 1,+ IsOptional = true,},];}@@ -97,7 +99,7 @@ public class Preferences : IFeatureCategory];}- [Feature(Section = nameof(Sections.Taskbar), Icon = SymbolRegular.WindowConsole20)]+ [Feature(Section = nameof(Sections.Taskbar), Icon = SymbolRegular.WindowConsole20, Recommendation = RecommendationState.On)]public class TaskbarEndTask : BaseFeature{protected override IEnumerable<RegistryToggle> RegistryToggles =>@@ -138,7 +140,7 @@ public class Preferences : IFeatureCategory];}- [Feature(Section = nameof(Sections.Explorer), Icon = SymbolRegular.AlertOff24)]+ [Feature(Section = nameof(Sections.Explorer), Icon = SymbolRegular.AlertOff24, Recommendation = RecommendationState.Off)]public class ExplorerSyncNotifications : BaseFeature{protected override bool NeedsPostAction => true;@@ -156,7 +158,7 @@ public class Preferences : IFeatureCategory];}- [Feature(Section = nameof(Sections.Explorer), Icon = SymbolRegular.Lightbulb24)]+ [Feature(Section = nameof(Sections.Explorer), Icon = SymbolRegular.Lightbulb24, Recommendation = RecommendationState.Off)]public class SystemSuggestions : BaseFeature{protected override IEnumerable<RegistryToggle> RegistryToggles =>@@ -192,6 +194,7 @@ public class Preferences : IFeatureCategoryOnValue = 1,OffValue = 0,DefaultValue = 1,+ IsOptional = true,},];}@@ -250,7 +253,7 @@ public class Preferences : IFeatureCategory];}- [Feature(Section = nameof(Sections.Explorer), Icon = SymbolRegular.DocumentText24)]+ [Feature(Section = nameof(Sections.Explorer), Icon = SymbolRegular.DocumentText24, Recommendation = RecommendationState.On)]public class ShowFileExtensions : BaseFeature{protected override bool NeedsPostAction => true;@@ -268,7 +271,7 @@ public class Preferences : IFeatureCategory];}- [Feature(Section = nameof(Sections.Explorer), Icon = SymbolRegular.FolderProhibited48)]+ [Feature(Section = nameof(Sections.Explorer), Icon = SymbolRegular.FolderProhibited48, Recommendation = RecommendationState.On)]public class ShowHiddenFiles : BaseFeature{protected override bool NeedsPostAction => true;@@ -286,7 +289,7 @@ public class Preferences : IFeatureCategory];}- [Feature(Section = nameof(Sections.Explorer), Icon = SymbolRegular.DocumentText24)]+ [Feature(Section = nameof(Sections.Explorer), Icon = SymbolRegular.DocumentText24, Recommendation = RecommendationState.On)]public class ClipboardHistory : BaseFeature{protected override IEnumerable<RegistryToggle> RegistryToggles =>diff --git a/optimizerDuck/Domain/Features/Categories/SystemFeatures.cs b/optimizerDuck/Domain/Features/Categories/SystemFeatures.csindex c8a2fc8..61f71ae 100644--- a/optimizerDuck/Domain/Features/Categories/SystemFeatures.cs+++ b/optimizerDuck/Domain/Features/Categories/SystemFeatures.cs@@ -23,7 +23,7 @@ public class SystemFeatures : IFeatureCategorypublic FeatureCategoryOrder Order { get; init; } = FeatureCategoryOrder.System;public ObservableCollection<IFeature> Features { get; init; } = [];- [Feature(Section = nameof(Sections.Input), Icon = SymbolRegular.NumberSymbol24)]+ [Feature(Section = nameof(Sections.Input), Icon = SymbolRegular.NumberSymbol24, Recommendation = RecommendationState.On)]public class NumLockOnBoot : BaseFeature{protected override IEnumerable<RegistryToggle> RegistryToggles =>diff --git a/optimizerDuck/Domain/Features/Models/BaseFeature.cs b/optimizerDuck/Domain/Features/Models/BaseFeature.csindex f494a01..a2c5b4f 100644--- a/optimizerDuck/Domain/Features/Models/BaseFeature.cs+++ b/optimizerDuck/Domain/Features/Models/BaseFeature.cs@@ -58,7 +58,15 @@ public abstract class BaseFeature : IFeaturepublic virtual Task<bool> GetStateAsync(){- return Task.FromResult(RegistryToggles.All(t => t.GetState()));+ var toggles = RegistryToggles.ToList();+ if (toggles.Count == 0)+ return Task.FromResult(false);++ var required = toggles.Where(t => !t.IsOptional).ToList();+ if (required.Count == 0)+ required = toggles;++ return Task.FromResult(required.All(t => t.GetState()));}protected virtual bool NeedsPostAction => false;diff --git a/optimizerDuck/Domain/Features/Models/RegistryToggle.cs b/optimizerDuck/Domain/Features/Models/RegistryToggle.csindex 35525c4..f0154d6 100644--- a/optimizerDuck/Domain/Features/Models/RegistryToggle.cs+++ b/optimizerDuck/Domain/Features/Models/RegistryToggle.cs@@ -12,6 +12,7 @@ public class RegistryTogglepublic object? OffValue { get; init; } = 0;public object? DefaultValue { get; init; } = 0;public bool TreatMissingAsDefault { get; init; } = false;+ public bool IsOptional { get; init; } = false;public RegistryValueKind ValueKind { get; init; } = RegistryValueKind.DWord;public bool GetState()diff --git a/optimizerDuck/Resources/Languages/Translations.Designer.cs b/optimizerDuck/Resources/Languages/Translations.Designer.csindex d146ddf..5571a8e 100644--- a/optimizerDuck/Resources/Languages/Translations.Designer.cs+++ b/optimizerDuck/Resources/Languages/Translations.Designer.cs@@ -97,7 +97,7 @@ namespace optimizerDuck.Resources.Languages {}/// <summary>- /// Looks up a localized string similar to Looking for removable apps….+ /// Looks up a localized string similar to Looking for removable apps..../// </summary>internal static string Bloatware_Loading {get {@@ -1142,7 +1142,7 @@ namespace optimizerDuck.Resources.Languages {}/// <summary>- /// Looks up a localized string similar to Manage desktop icons and shortcut behaviors.+ /// Looks up a localized string similar to Desktop icons and shortcut settings./// </summary>internal static string Features_Desktop_Description {get {@@ -1178,7 +1178,7 @@ namespace optimizerDuck.Resources.Languages {}/// <summary>- /// Looks up a localized string similar to Show or hide the shortcut arrow overlay on desktop icons.+ /// Looks up a localized string similar to Shows or hides the shortcut arrow overlay on desktop icons./// </summary>internal static string Features_Desktop_ShortcutArrow_Description {get {@@ -1196,7 +1196,7 @@ namespace optimizerDuck.Resources.Languages {}/// <summary>- /// Looks up a localized string similar to Display the Control Panel icon on your desktop.+ /// Looks up a localized string similar to Displays the Control Panel icon on your desktop./// </summary>internal static string Features_Desktop_ShowControlPanel_Description {get {@@ -1205,7 +1205,7 @@ namespace optimizerDuck.Resources.Languages {}/// <summary>- /// Looks up a localized string similar to Show Control Panel.+ /// Looks up a localized string similar to Control Panel./// </summary>internal static string Features_Desktop_ShowControlPanel_Name {get {@@ -1214,7 +1214,7 @@ namespace optimizerDuck.Resources.Languages {}/// <summary>- /// Looks up a localized string similar to Show or hide all desktop icons at once.+ /// Looks up a localized string similar to Shows or hides all desktop icons at once./// </summary>internal static string Features_Desktop_ShowDesktopIcons_Description {get {@@ -1223,7 +1223,7 @@ namespace optimizerDuck.Resources.Languages {}/// <summary>- /// Looks up a localized string similar to Show Desktop Icons.+ /// Looks up a localized string similar to Desktop Icons./// </summary>internal static string Features_Desktop_ShowDesktopIcons_Name {get {@@ -1232,7 +1232,7 @@ namespace optimizerDuck.Resources.Languages {}/// <summary>- /// Looks up a localized string similar to Display the Network icon on your desktop.+ /// Looks up a localized string similar to Displays the Network icon on your desktop./// </summary>internal static string Features_Desktop_ShowNetwork_Description {get {@@ -1241,7 +1241,7 @@ namespace optimizerDuck.Resources.Languages {}/// <summary>- /// Looks up a localized string similar to Show Network.+ /// Looks up a localized string similar to Network./// </summary>internal static string Features_Desktop_ShowNetwork_Name {get {@@ -1250,7 +1250,7 @@ namespace optimizerDuck.Resources.Languages {}/// <summary>- /// Looks up a localized string similar to Display the Recycle Bin icon on your desktop.+ /// Looks up a localized string similar to Displays the Recycle Bin icon on your desktop./// </summary>internal static string Features_Desktop_ShowRecycleBin_Description {get {@@ -1259,7 +1259,7 @@ namespace optimizerDuck.Resources.Languages {}/// <summary>- /// Looks up a localized string similar to Show Recycle Bin.+ /// Looks up a localized string similar to Recycle Bin./// </summary>internal static string Features_Desktop_ShowRecycleBin_Name {get {@@ -1268,7 +1268,7 @@ namespace optimizerDuck.Resources.Languages {}/// <summary>- /// Looks up a localized string similar to Display the This PC icon on your desktop.+ /// Looks up a localized string similar to Displays the This PC icon on your desktop./// </summary>internal static string Features_Desktop_ShowThisPc_Description {get {@@ -1277,7 +1277,7 @@ namespace optimizerDuck.Resources.Languages {}/// <summary>- /// Looks up a localized string similar to Show "This PC".+ /// Looks up a localized string similar to This PC./// </summary>internal static string Features_Desktop_ShowThisPc_Name {get {@@ -1286,7 +1286,7 @@ namespace optimizerDuck.Resources.Languages {}/// <summary>- /// Looks up a localized string similar to Display your user profile folder as a desktop icon.+ /// Looks up a localized string similar to Displays your user profile folder as a desktop icon./// </summary>internal static string Features_Desktop_ShowUserFiles_Description {get {@@ -1295,7 +1295,7 @@ namespace optimizerDuck.Resources.Languages {}/// <summary>- /// Looks up a localized string similar to Show User Files.+ /// Looks up a localized string similar to User Files./// </summary>internal static string Features_Desktop_ShowUserFiles_Name {get {@@ -1321,6 +1321,15 @@ namespace optimizerDuck.Resources.Languages {}}+ /// <summary>+ /// Looks up a localized string similar to Disabling background recording stops DVR from silently capturing gameplay, saving CPU and disk write cycles..+ /// </summary>+ internal static string Features_Gaming_BackgroundRecording_Recommendation_Reason {+ get {+ return ResourceManager.GetString("Features.Gaming.BackgroundRecording.Recommendation.Reason", resourceCulture);+ }+ }+/// <summary>/// Looks up a localized string similar to Game-related display, input, and recording settings./// </summary>@@ -1331,7 +1340,7 @@ namespace optimizerDuck.Resources.Languages {}/// <summary>- /// Looks up a localized string similar to Controls Windows DWM-based full-screen optimizations that may cause input lag or forced borderless windowed mode..+ /// Looks up a localized string similar to Windows DWM-based full-screen optimizations setting../// </summary>internal static string Features_Gaming_FullscreenOptimizations_Description {get {@@ -1348,6 +1357,15 @@ namespace optimizerDuck.Resources.Languages {}}+ /// <summary>+ /// Looks up a localized string similar to Disable it if you experience in-game stuttering, input lag, or black screens (especially in competitive shooters).+ /// </summary>+ internal static string Features_Gaming_FullscreenOptimizations_Recommendation_Reason {+ get {+ return ResourceManager.GetString("Features.Gaming.FullscreenOptimizations.Recommendation.Reason", resourceCulture);+ }+ }+/// <summary>/// Looks up a localized string similar to Controls Xbox Game Bar overlays, startup panel, and related background features../// </summary>@@ -1367,7 +1385,16 @@ namespace optimizerDuck.Resources.Languages {}/// <summary>- /// Looks up a localized string similar to Prioritizes game processes and prevents interruptions from Windows Update while gaming..+ /// Looks up a localized string similar to Disabling Game Bar frees up system resources and prevents background overlays from interfering with your games..+ /// </summary>+ internal static string Features_Gaming_GameBar_Recommendation_Reason {+ get {+ return ResourceManager.GetString("Features.Gaming.GameBar.Recommendation.Reason", resourceCulture);+ }+ }++ /// <summary>+ /// Looks up a localized string similar to Windows Game Mode for gaming processes and Windows Update behavior../// </summary>internal static string Features_Gaming_GameMode_Description {get {@@ -1385,7 +1412,16 @@ namespace optimizerDuck.Resources.Languages {}/// <summary>- /// Looks up a localized string similar to Lets the GPU manage its own video memory scheduling directly, reducing CPU overhead and display latency. Requires a compatible GPU driver..+ /// Looks up a localized string similar to Game Mode automatically prioritizes game processes and suspends Windows Update notifications while gaming for smoother performance..+ /// </summary>+ internal static string Features_Gaming_GameMode_Recommendation_Reason {+ get {+ return ResourceManager.GetString("Features.Gaming.GameMode.Recommendation.Reason", resourceCulture);+ }+ }++ /// <summary>+ /// Looks up a localized string similar to GPU video memory scheduling mode. Requires a compatible GPU driver../// </summary>internal static string Features_Gaming_HardwareAcceleratedGpuScheduling_Description {get {@@ -1403,7 +1439,16 @@ namespace optimizerDuck.Resources.Languages {}/// <summary>- /// Looks up a localized string similar to Enables or disables Windows mouse acceleration for more consistent cursor movement..+ /// Looks up a localized string similar to GPU scheduling offloads frame management from the CPU to the GPU, cutting display latency and improving frame pacing..+ /// </summary>+ internal static string Features_Gaming_HardwareAcceleratedGpuScheduling_Recommendation_Reason {+ get {+ return ResourceManager.GetString("Features.Gaming.HardwareAcceleratedGpuScheduling.Recommendation.Reason", resourceCulture);+ }+ }++ /// <summary>+ /// Looks up a localized string similar to Windows mouse acceleration setting for cursor movement../// </summary>internal static string Features_Gaming_MouseAcceleration_Description {get {@@ -1420,6 +1465,15 @@ namespace optimizerDuck.Resources.Languages {}}+ /// <summary>+ /// Looks up a localized string similar to Disabling acceleration gives you raw, linear mouse input for better aim precision and muscle memory consistency..+ /// </summary>+ internal static string Features_Gaming_MouseAcceleration_Recommendation_Reason {+ get {+ return ResourceManager.GetString("Features.Gaming.MouseAcceleration.Recommendation.Reason", resourceCulture);+ }+ }+/// <summary>/// Looks up a localized string similar to Gaming./// </summary>@@ -1457,7 +1511,7 @@ namespace optimizerDuck.Resources.Languages {}/// <summary>- /// Looks up a localized string similar to Show or hide Bing web results and suggestions in Windows Search.+ /// Looks up a localized string similar to Bing web search integration in Windows Search and Start menu results../// </summary>internal static string Features_Preferences_BingSearch_Description {get {@@ -1475,7 +1529,16 @@ namespace optimizerDuck.Resources.Languages {}/// <summary>- /// Looks up a localized string similar to Restores Windows 10-style full context menu on Windows 11..+ /// Looks up a localized string similar to Turning off Bing search prevents web queries from cluttering local search results and improves search speed..+ /// </summary>+ internal static string Features_Preferences_BingSearch_Recommendation_Reason {+ get {+ return ResourceManager.GetString("Features.Preferences.BingSearch.Recommendation.Reason", resourceCulture);+ }+ }++ /// <summary>+ /// Looks up a localized string similar to Windows 10-style context menu on Windows 11../// </summary>internal static string Features_Preferences_ClassicContextMenu_Description {get {@@ -1493,7 +1556,16 @@ namespace optimizerDuck.Resources.Languages {}/// <summary>- /// Looks up a localized string similar to Keep multiple copied items so you can paste them later with Win+V..+ /// Looks up a localized string similar to The classic menu shows all options at once without the extra click needed to expand Windows 11's condensed menu..+ /// </summary>+ internal static string Features_Preferences_ClassicContextMenu_Recommendation_Reason {+ get {+ return ResourceManager.GetString("Features.Preferences.ClassicContextMenu.Recommendation.Reason", resourceCulture);+ }+ }++ /// <summary>+ /// Looks up a localized string similar to Clipboard history for multiple copied items accessible with Win+V../// </summary>internal static string Features_Preferences_ClipboardHistory_Description {get {@@ -1511,7 +1583,16 @@ namespace optimizerDuck.Resources.Languages {}/// <summary>- /// Looks up a localized string similar to Enables dark mode for system apps, Settings, and shell elements..+ /// Looks up a localized string similar to Clipboard history lets you recall multiple past copies with Win+V, speeding up repetitive copy-paste workflows..+ /// </summary>+ internal static string Features_Preferences_ClipboardHistory_Recommendation_Reason {+ get {+ return ResourceManager.GetString("Features.Preferences.ClipboardHistory.Recommendation.Reason", resourceCulture);+ }+ }++ /// <summary>+ /// Looks up a localized string similar to Dark mode for system apps, Settings, and shell elements../// </summary>internal static string Features_Preferences_DarkMode_Description {get {@@ -1592,7 +1673,16 @@ namespace optimizerDuck.Resources.Languages {}/// <summary>- /// Looks up a localized string similar to Open File Explorer to This PC instead of Quick Access.+ /// Looks up a localized string similar to Disabling sync notifications stops OneDrive pop-ups from interrupting file browsing in Explorer..+ /// </summary>+ internal static string Features_Preferences_ExplorerSyncNotifications_Recommendation_Reason {+ get {+ return ResourceManager.GetString("Features.Preferences.ExplorerSyncNotifications.Recommendation.Reason", resourceCulture);+ }+ }++ /// <summary>+ /// Looks up a localized string similar to File Explorer default location setting (This PC or Quick Access)../// </summary>internal static string Features_Preferences_LaunchToThisPc_Description {get {@@ -1681,6 +1771,15 @@ namespace optimizerDuck.Resources.Languages {}}+ /// <summary>+ /// Looks up a localized string similar to Showing file extensions makes it easy to spot suspicious file types and prevents malware from hiding behind fake icons..+ /// </summary>+ internal static string Features_Preferences_ShowFileExtensions_Recommendation_Reason {+ get {+ return ResourceManager.GetString("Features.Preferences.ShowFileExtensions.Recommendation.Reason", resourceCulture);+ }+ }+/// <summary>/// Looks up a localized string similar to Shows hidden files and folders in File Explorer../// </summary>@@ -1700,7 +1799,16 @@ namespace optimizerDuck.Resources.Languages {}/// <summary>- /// Looks up a localized string similar to Displays seconds in the taskbar clock for precise time monitoring..+ /// Looks up a localized string similar to Hidden files contain system and config data you may need to manage; showing them gives you full visibility of your system..+ /// </summary>+ internal static string Features_Preferences_ShowHiddenFiles_Recommendation_Reason {+ get {+ return ResourceManager.GetString("Features.Preferences.ShowHiddenFiles.Recommendation.Reason", resourceCulture);+ }+ }++ /// <summary>+ /// Looks up a localized string similar to Displays seconds in the taskbar clock../// </summary>internal static string Features_Preferences_ShowSecondsInSystemClock_Description {get {@@ -1754,7 +1862,16 @@ namespace optimizerDuck.Resources.Languages {}/// <summary>- /// Looks up a localized string similar to Switches taskbar alignment between Center (default) and Left..+ /// Looks up a localized string similar to Turning off system suggestions stops Windows from recommending apps and settings you did not ask for..+ /// </summary>+ internal static string Features_Preferences_SystemSuggestions_Recommendation_Reason {+ get {+ return ResourceManager.GetString("Features.Preferences.SystemSuggestions.Recommendation.Reason", resourceCulture);+ }+ }++ /// <summary>+ /// Looks up a localized string similar to Switches taskbar alignment between Center and Left../// </summary>internal static string Features_Preferences_TaskbarAlignment_Description {get {@@ -1807,6 +1924,15 @@ namespace optimizerDuck.Resources.Languages {}}+ /// <summary>+ /// Looks up a localized string similar to End Task on the taskbar lets you kill frozen apps instantly without opening Task Manager..+ /// </summary>+ internal static string Features_Preferences_TaskbarEndTask_Recommendation_Reason {+ get {+ return ResourceManager.GetString("Features.Preferences.TaskbarEndTask.Recommendation.Reason", resourceCulture);+ }+ }+/// <summary>/// Looks up a localized string similar to Controls the News and Interests widget on the taskbar and MSN feed background updates../// </summary>@@ -1897,6 +2023,15 @@ namespace optimizerDuck.Resources.Languages {}}+ /// <summary>+ /// Looks up a localized string similar to Turning off widgets removes the background web service that fetches news and weather, reducing idle network and memory usage..+ /// </summary>+ internal static string Features_Preferences_TaskbarWidgets_Recommendation_Reason {+ get {+ return ResourceManager.GetString("Features.Preferences.TaskbarWidgets.Recommendation.Reason", resourceCulture);+ }+ }+/// <summary>/// Looks up a localized string similar to Controls toast popup notifications and lock screen notifications../// </summary>@@ -1934,7 +2069,7 @@ namespace optimizerDuck.Resources.Languages {}/// <summary>- /// Looks up a localized string similar to Optimize core system features and behaviors.+ /// Looks up a localized string similar to Core system features and behaviors./// </summary>internal static string Features_SystemFeatures_Description {get {@@ -1952,7 +2087,7 @@ namespace optimizerDuck.Resources.Languages {}/// <summary>- /// Looks up a localized string similar to Turn NumLock on or off at the Windows login screen.+ /// Looks up a localized string similar to NumLock state at the Windows login screen../// </summary>internal static string Features_SystemFeatures_NumLockOnBoot_Description {get {@@ -1969,6 +2104,15 @@ namespace optimizerDuck.Resources.Languages {}}+ /// <summary>+ /// Looks up a localized string similar to Enabling NumLock at boot ensures the numpad is ready immediately after login, avoiding manual toggling each time..+ /// </summary>+ internal static string Features_SystemFeatures_NumLockOnBoot_Recommendation_Reason {+ get {+ return ResourceManager.GetString("Features.SystemFeatures.NumLockOnBoot.Recommendation.Reason", resourceCulture);+ }+ }+/// <summary>/// Looks up a localized string similar to Boot Operations./// </summary>diff --git a/optimizerDuck/Resources/Languages/Translations.resx b/optimizerDuck/Resources/Languages/Translations.resxindex 9021fa1..f65a37f 100644--- a/optimizerDuck/Resources/Languages/Translations.resx+++ b/optimizerDuck/Resources/Languages/Translations.resx@@ -844,11 +844,14 @@<data name="Features.Preferences.TaskbarWidgets.Description" xml:space="preserve"><value>Controls visibility of the Widgets button on the taskbar.</value></data>+ <data name="Features.Preferences.TaskbarWidgets.Recommendation.Reason" xml:space="preserve">+ <value>Turning off widgets removes the background web service that fetches news and weather, reducing idle network and memory usage.</value>+ </data><data name="Features.Preferences.TaskbarAlignment.Name" xml:space="preserve"><value>Taskbar Alignment</value></data><data name="Features.Preferences.TaskbarAlignment.Description" xml:space="preserve">- <value>Switches taskbar alignment between Center (default) and Left.</value>+ <value>Switches taskbar alignment between Center and Left.</value></data><data name="Features.Preferences.ExplorerCompactMode.Name" xml:space="preserve"><value>Explorer Compact Mode</value>@@ -892,11 +895,14 @@<data name="Features.Preferences.TaskbarEndTask.Description" xml:space="preserve"><value>Adds an "End task" option to the taskbar right-click menu for quick process termination.</value></data>+ <data name="Features.Preferences.TaskbarEndTask.Recommendation.Reason" xml:space="preserve">+ <value>End Task on the taskbar lets you kill frozen apps instantly without opening Task Manager.</value>+ </data><data name="Features.Preferences.DarkMode.Name" xml:space="preserve"><value>Dark Mode</value></data><data name="Features.Preferences.DarkMode.Description" xml:space="preserve">- <value>Enables dark mode for system apps, Settings, and shell elements.</value>+ <value>Dark mode for system apps, Settings, and shell elements.</value></data><data name="Features.Preferences.ExplorerSyncNotifications.Name" xml:space="preserve"><value>Explorer Sync Notifications</value>@@ -904,12 +910,18 @@<data name="Features.Preferences.ExplorerSyncNotifications.Description" xml:space="preserve"><value>Controls OneDrive and cloud sync provider notifications in File Explorer.</value></data>+ <data name="Features.Preferences.ExplorerSyncNotifications.Recommendation.Reason" xml:space="preserve">+ <value>Disabling sync notifications stops OneDrive pop-ups from interrupting file browsing in Explorer.</value>+ </data><data name="Features.Preferences.SystemSuggestions.Name" xml:space="preserve"><value>System Suggestions</value></data><data name="Features.Preferences.SystemSuggestions.Description" xml:space="preserve"><value>Controls Windows tips and app suggestions in the Settings panel.</value></data>+ <data name="Features.Preferences.SystemSuggestions.Recommendation.Reason" xml:space="preserve">+ <value>Turning off system suggestions stops Windows from recommending apps and settings you did not ask for.</value>+ </data><data name="Features.Preferences.ToastNotifications.Name" xml:space="preserve"><value>Toast Notifications</value></data>@@ -922,17 +934,26 @@<data name="Features.Preferences.ShowFileExtensions.Description" xml:space="preserve"><value>Shows file extensions (e.g. .txt, .exe) in File Explorer.</value></data>+ <data name="Features.Preferences.ShowFileExtensions.Recommendation.Reason" xml:space="preserve">+ <value>Showing file extensions makes it easy to spot suspicious file types and prevents malware from hiding behind fake icons.</value>+ </data><data name="Features.Preferences.ShowHiddenFiles.Name" xml:space="preserve"><value>Show Hidden Files</value></data><data name="Features.Preferences.ShowHiddenFiles.Description" xml:space="preserve"><value>Shows hidden files and folders in File Explorer.</value></data>+ <data name="Features.Preferences.ShowHiddenFiles.Recommendation.Reason" xml:space="preserve">+ <value>Hidden files contain system and config data you may need to manage; showing them gives you full visibility of your system.</value>+ </data><data name="Features.Preferences.ClipboardHistory.Name" xml:space="preserve"><value>Clipboard History</value></data><data name="Features.Preferences.ClipboardHistory.Description" xml:space="preserve">- <value>Keep multiple copied items so you can paste them later with Win+V.</value>+ <value>Clipboard history for multiple copied items accessible with Win+V.</value>+ </data>+ <data name="Features.Preferences.ClipboardHistory.Recommendation.Reason" xml:space="preserve">+ <value>Clipboard history lets you recall multiple past copies with Win+V, speeding up repetitive copy-paste workflows.</value></data><data name="Features.Preferences.WindowShake.Name" xml:space="preserve"><value>Window Shake</value>@@ -944,13 +965,16 @@<value>Classic Context Menu</value></data><data name="Features.Preferences.ClassicContextMenu.Description" xml:space="preserve">- <value>Restores Windows 10-style full context menu on Windows 11.</value>+ <value>Windows 10-style context menu on Windows 11.</value>+ </data>+ <data name="Features.Preferences.ClassicContextMenu.Recommendation.Reason" xml:space="preserve">+ <value>The classic menu shows all options at once without the extra click needed to expand Windows 11's condensed menu.</value></data><data name="Features.Preferences.ShowSecondsInSystemClock.Name" xml:space="preserve"><value>Seconds in System Clock</value></data><data name="Features.Preferences.ShowSecondsInSystemClock.Description" xml:space="preserve">- <value>Displays seconds in the taskbar clock for precise time monitoring.</value>+ <value>Displays seconds in the taskbar clock.</value></data><data name="Features.Gaming.Section.GameSettings" xml:space="preserve"><value>Game Settings</value>@@ -965,7 +989,10 @@<value>Game Mode</value></data><data name="Features.Gaming.GameMode.Description" xml:space="preserve">- <value>Prioritizes game processes and prevents interruptions from Windows Update while gaming.</value>+ <value>Windows Game Mode for gaming processes and Windows Update behavior.</value>+ </data>+ <data name="Features.Gaming.GameMode.Recommendation.Reason" xml:space="preserve">+ <value>Game Mode automatically prioritizes game processes and suspends Windows Update notifications while gaming for smoother performance.</value></data><data name="Features.Gaming.GameBar.Name" xml:space="preserve"><value>Xbox Game Bar</value>@@ -973,29 +1000,44 @@<data name="Features.Gaming.GameBar.Description" xml:space="preserve"><value>Controls Xbox Game Bar overlays, startup panel, and related background features.</value></data>+ <data name="Features.Gaming.GameBar.Recommendation.Reason" xml:space="preserve">+ <value>Disabling Game Bar frees up system resources and prevents background overlays from interfering with your games.</value>+ </data><data name="Features.Gaming.BackgroundRecording.Name" xml:space="preserve"><value>Background Recording (DVR)</value></data><data name="Features.Gaming.BackgroundRecording.Description" xml:space="preserve"><value>Controls automatic background game recording (Game DVR) and app capture.</value></data>+ <data name="Features.Gaming.BackgroundRecording.Recommendation.Reason" xml:space="preserve">+ <value>Disabling background recording stops DVR from silently capturing gameplay, saving CPU and disk write cycles.</value>+ </data><data name="Features.Gaming.MouseAcceleration.Name" xml:space="preserve"><value>Mouse Acceleration</value></data><data name="Features.Gaming.MouseAcceleration.Description" xml:space="preserve">- <value>Enables or disables Windows mouse acceleration for more consistent cursor movement.</value>+ <value>Windows mouse acceleration setting for cursor movement.</value>+ </data>+ <data name="Features.Gaming.MouseAcceleration.Recommendation.Reason" xml:space="preserve">+ <value>Disabling acceleration gives you raw, linear mouse input for better aim precision and muscle memory consistency.</value></data><data name="Features.Gaming.FullscreenOptimizations.Name" xml:space="preserve"><value>Fullscreen Optimizations</value></data><data name="Features.Gaming.FullscreenOptimizations.Description" xml:space="preserve">- <value>Controls Windows DWM-based full-screen optimizations that may cause input lag or forced borderless windowed mode.</value>+ <value>Windows DWM-based full-screen optimizations setting.</value>+ </data>+ <data name="Features.Gaming.FullscreenOptimizations.Recommendation.Reason" xml:space="preserve">+ <value>Disable it if you experience in-game stuttering, input lag, or black screens (especially in competitive shooters)</value></data><data name="Features.Gaming.HardwareAcceleratedGpuScheduling.Name" xml:space="preserve"><value>Hardware-Accelerated GPU Scheduling</value></data><data name="Features.Gaming.HardwareAcceleratedGpuScheduling.Description" xml:space="preserve">- <value>Lets the GPU manage its own video memory scheduling directly, reducing CPU overhead and display latency. Requires a compatible GPU driver.</value>+ <value>GPU video memory scheduling mode. Requires a compatible GPU driver.</value>+ </data>+ <data name="Features.Gaming.HardwareAcceleratedGpuScheduling.Recommendation.Reason" xml:space="preserve">+ <value>GPU scheduling offloads frame management from the CPU to the GPU, cutting display latency and improving frame pacing.</value></data><data name="Settings.Optimize.ShellTimeout.Warning" xml:space="preserve"><value>Do NOT change unless you know exactly what you are doing</value>@@ -1081,7 +1123,7 @@ This ensures you can always go back if anything goes wrong.</value><value>optimizerDuck didn't find any removable AppX packages. It's empty as a void...</value></data><data name="Bloatware.Loading" xml:space="preserve">- <value>Looking for removable apps…</value>+ <value>Looking for removable apps...</value></data><data name="Bloatware.Loading.Hint" xml:space="preserve"><value>This may take a moment while the application scans for installed packages.</value>@@ -1576,7 +1618,7 @@ Update now to enjoy the latest features, improvements, and bug fixes.</value><value>System</value></data><data name="Features.SystemFeatures.Description" xml:space="preserve">- <value>Optimize core system features and behaviors</value>+ <value>Core system features and behaviors</value></data><data name="Features.SystemFeatures.Section.Boot" xml:space="preserve"><value>Boot Operations</value>@@ -1588,13 +1630,16 @@ Update now to enjoy the latest features, improvements, and bug fixes.</value><value>NumLock on Boot</value></data><data name="Features.SystemFeatures.NumLockOnBoot.Description" xml:space="preserve">- <value>Turn NumLock on or off at the Windows login screen</value>+ <value>NumLock state at the Windows login screen.</value>+ </data>+ <data name="Features.SystemFeatures.NumLockOnBoot.Recommendation.Reason" xml:space="preserve">+ <value>Enabling NumLock at boot ensures the numpad is ready immediately after login, avoiding manual toggling each time.</value></data><data name="Features.Desktop.Name" xml:space="preserve"><value>Desktop</value></data><data name="Features.Desktop.Description" xml:space="preserve">- <value>Manage desktop icons and shortcut behaviors</value>+ <value>Desktop icons and shortcut settings</value></data><data name="Features.Desktop.Section.Icons" xml:space="preserve"><value>Desktop Icons</value>@@ -1603,58 +1648,61 @@ Update now to enjoy the latest features, improvements, and bug fixes.</value><value>Shortcut Behaviors</value></data><data name="Features.Desktop.ShowThisPc.Name" xml:space="preserve">- <value>Show "This PC"</value>+ <value>This PC</value></data><data name="Features.Desktop.ShowThisPc.Description" xml:space="preserve">- <value>Display the This PC icon on your desktop</value>+ <value>Displays the This PC icon on your desktop</value></data><data name="Features.Desktop.ShowRecycleBin.Name" xml:space="preserve">- <value>Show Recycle Bin</value>+ <value>Recycle Bin</value></data><data name="Features.Desktop.ShowRecycleBin.Description" xml:space="preserve">- <value>Display the Recycle Bin icon on your desktop</value>+ <value>Displays the Recycle Bin icon on your desktop</value></data><data name="Features.Desktop.ShowUserFiles.Name" xml:space="preserve">- <value>Show User Files</value>+ <value>User Files</value></data><data name="Features.Desktop.ShowUserFiles.Description" xml:space="preserve">- <value>Display your user profile folder as a desktop icon</value>+ <value>Displays your user profile folder as a desktop icon</value></data><data name="Features.Desktop.ShowNetwork.Name" xml:space="preserve">- <value>Show Network</value>+ <value>Network</value></data><data name="Features.Desktop.ShowNetwork.Description" xml:space="preserve">- <value>Display the Network icon on your desktop</value>+ <value>Displays the Network icon on your desktop</value></data><data name="Features.Desktop.ShowControlPanel.Name" xml:space="preserve">- <value>Show Control Panel</value>+ <value>Control Panel</value></data><data name="Features.Desktop.ShowControlPanel.Description" xml:space="preserve">- <value>Display the Control Panel icon on your desktop</value>+ <value>Displays the Control Panel icon on your desktop</value></data><data name="Features.Desktop.ShowDesktopIcons.Name" xml:space="preserve">- <value>Show Desktop Icons</value>+ <value>Desktop Icons</value></data><data name="Features.Desktop.ShowDesktopIcons.Description" xml:space="preserve">- <value>Show or hide all desktop icons at once</value>+ <value>Shows or hides all desktop icons at once</value></data><data name="Features.Desktop.ShortcutArrow.Name" xml:space="preserve"><value>Shortcut Arrow</value></data><data name="Features.Desktop.ShortcutArrow.Description" xml:space="preserve">- <value>Show or hide the shortcut arrow overlay on desktop icons</value>+ <value>Shows or hides the shortcut arrow overlay on desktop icons</value></data><data name="Features.Preferences.LaunchToThisPc.Name" xml:space="preserve"><value>Launch to "This PC"</value></data><data name="Features.Preferences.LaunchToThisPc.Description" xml:space="preserve">- <value>Open File Explorer to This PC instead of Quick Access</value>+ <value>File Explorer default location setting (This PC or Quick Access).</value></data><data name="Features.Preferences.BingSearch.Name" xml:space="preserve"><value>Bing Search</value></data><data name="Features.Preferences.BingSearch.Description" xml:space="preserve">- <value>Show or hide Bing web results and suggestions in Windows Search</value>+ <value>Bing web search integration in Windows Search and Start menu results.</value>+ </data>+ <data name="Features.Preferences.BingSearch.Recommendation.Reason" xml:space="preserve">+ <value>Turning off Bing search prevents web queries from cluttering local search results and improves search speed.</value></data><data name="Button.Accept" xml:space="preserve"><value>Accept</value>diff --git a/optimizerDuck/Resources/Languages/Translations.vi-VN.resx b/optimizerDuck/Resources/Languages/Translations.vi-VN.resxindex 9af4bb5..659b2b8 100644--- a/optimizerDuck/Resources/Languages/Translations.vi-VN.resx+++ b/optimizerDuck/Resources/Languages/Translations.vi-VN.resx@@ -848,7 +848,7 @@<value>Chế độ tối (Dark Mode)</value></data><data name="Features.Preferences.DarkMode.Description" xml:space="preserve">- <value>Bật chế độ tối cho ứng dụng hệ thống, Cài đặt và các thành phần shell.</value>+ <value>Chế độ tối cho ứng dụng hệ thống, Cài đặt và các thành phần shell.</value></data><data name="Features.Preferences.ExplorerSyncNotifications.Name" xml:space="preserve"><value>Thông báo đồng bộ Explorer</value>@@ -884,7 +884,7 @@<value>Lịch sử khay nhớ tạm</value></data><data name="Features.Preferences.ClipboardHistory.Description" xml:space="preserve">- <value>Lưu nhiều nội dung đã sao chép để bạn có thể dán lại sau bằng Win+V.</value>+ <value>Lịch sử clipboard cho nhiều nội dung đã sao chép, truy cập bằng Win+V.</value></data><data name="Features.Preferences.WindowShake.Name" xml:space="preserve"><value>Lắc cửa sổ</value>@@ -896,13 +896,13 @@<value>Menu chuột phải cổ điển</value></data><data name="Features.Preferences.ClassicContextMenu.Description" xml:space="preserve">- <value>Khôi phục menu chuột phải đầy đủ kiểu Windows 10 trên Windows 11.</value>+ <value>Menu chuột phải kiểu Windows 10 trên Windows 11.</value></data><data name="Features.Preferences.ShowSecondsInSystemClock.Name" xml:space="preserve"><value>Giây trên đồng hồ hệ thống</value></data><data name="Features.Preferences.ShowSecondsInSystemClock.Description" xml:space="preserve">- <value>Hiển thị giây trên đồng hồ thanh tác vụ để theo dõi thời gian chính xác.</value>+ <value>Hiển thị giây trên đồng hồ thanh tác vụ.</value></data><data name="Features.Gaming.Section.GameSettings" xml:space="preserve"><value>Cài đặt trò chơi</value>@@ -917,7 +917,7 @@<value>Chế độ trò chơi</value></data><data name="Features.Gaming.GameMode.Description" xml:space="preserve">- <value>Ưu tiên tiến trình game và ngăn gián đoạn từ Windows Update khi chơi game.</value>+ <value>Chế độ Game Mode của Windows cho tiến trình game và hành vi Windows Update.</value></data><data name="Features.Gaming.GameBar.Name" xml:space="preserve"><value>Xbox Game Bar</value>@@ -935,19 +935,19 @@<value>Gia tốc chuột</value></data><data name="Features.Gaming.MouseAcceleration.Description" xml:space="preserve">- <value>Bật hoặc tắt tăng tốc chuột của Windows để di chuyển con trỏ ổn định hơn.</value>+ <value>Cài đặt tăng tốc chuột của Windows cho di chuyển con trỏ.</value></data><data name="Features.Gaming.FullscreenOptimizations.Name" xml:space="preserve"><value>Tối ưu hóa toàn màn hình</value></data><data name="Features.Gaming.FullscreenOptimizations.Description" xml:space="preserve">- <value>Kiểm soát tối ưu hóa toàn màn hình DWM có thể gây độ trễ đầu vào hoặc chế độ cửa sổ không viền bị ép buộc.</value>+ <value>Cài đặt tối ưu hóa toàn màn hình dựa trên DWM của Windows.</value></data><data name="Features.Gaming.HardwareAcceleratedGpuScheduling.Name" xml:space="preserve"><value>Lập lịch GPU tăng tốc phần cứng</value></data><data name="Features.Gaming.HardwareAcceleratedGpuScheduling.Description" xml:space="preserve">- <value>Cho phép GPU trực tiếp quản lý bộ nhớ video, giảm tải CPU và giảm độ trễ hiển thị. Yêu cầu driver GPU tương thích.</value>+ <value>Chế độ lập lịch bộ nhớ video GPU. Yêu cầu driver GPU tương thích.</value></data><data name="Settings.Optimize.ShellTimeout.Warning" xml:space="preserve"><value>ĐỪNG thay đổi trừ khi bạn biết chính xác mình đang làm gì</value>@@ -1033,7 +1033,7 @@ Hãy yên tâm rằng hệ thống của bạn luôn có đường lui nếu có<value>optimizerDuck không tìm thấy gói AppX nào có thể xóa. mọi thứ trống không như hư vô...</value></data><data name="Bloatware.Loading" xml:space="preserve">- <value>Đang tìm kiếm ứng dụng có thể gỡ…</value>+ <value>Đang tìm kiếm ứng dụng có thể gỡ...</value></data><data name="Bloatware.Loading.Hint" xml:space="preserve"><value>Quá trình này có thể mất một lúc khi ứng dụng quét các gói đã được cài đặt.</value>@@ -1523,7 +1523,7 @@ Cập nhật ngay để trải nghiệm các tính năng mới, cải tiến và<value>Căn chỉnh thanh tác vụ</value></data><data name="Features.Preferences.TaskbarAlignment.Description" xml:space="preserve">- <value>Chuyển vị trí căn chỉnh của thanh tác vụ giữa Giữa (mặc định) và Trái.</value>+ <value>Chuyển vị trí căn chỉnh của thanh tác vụ giữa Giữa và Trái.</value></data><data name="Features.Preferences.SnapAssistFlyout.Name" xml:space="preserve"><value>Menu Snap Layouts</value>@@ -1556,7 +1556,7 @@ Cập nhật ngay để trải nghiệm các tính năng mới, cải tiến và<value>Hệ thống</value></data><data name="Features.SystemFeatures.Description" xml:space="preserve">- <value>Tối ưu hóa các tính năng và hoạt động cốt lõi của hệ thống</value>+ <value>Các tính năng và hành vi cốt lõi của hệ thống</value></data><data name="Features.SystemFeatures.Section.Boot" xml:space="preserve"><value>Khởi động</value>@@ -1568,13 +1568,13 @@ Cập nhật ngay để trải nghiệm các tính năng mới, cải tiến và<value>NumLock khi khởi động</value></data><data name="Features.SystemFeatures.NumLockOnBoot.Description" xml:space="preserve">- <value>Bật hoặc tắt NumLock tại màn hình đăng nhập Windows</value>+ <value>Trạng thái NumLock tại màn hình đăng nhập Windows.</value></data><data name="Features.Desktop.Name" xml:space="preserve"><value>Màn hình chính</value></data><data name="Features.Desktop.Description" xml:space="preserve">- <value>Quản lý biểu tượng và hành vi lối tắt trên Desktop</value>+ <value>Biểu tượng và cài đặt lối tắt trên Desktop</value></data><data name="Features.Desktop.Section.Icons" xml:space="preserve"><value>Biểu tượng Desktop</value>@@ -1583,37 +1583,37 @@ Cập nhật ngay để trải nghiệm các tính năng mới, cải tiến và<value>Hành vi lối tắt</value></data><data name="Features.Desktop.ShowThisPc.Name" xml:space="preserve">- <value>Hiển thị "This PC"</value>+ <value>"This PC"</value></data><data name="Features.Desktop.ShowThisPc.Description" xml:space="preserve"><value>Hiển thị biểu tượng This PC trên màn hình Desktop của bạn</value></data><data name="Features.Desktop.ShowRecycleBin.Name" xml:space="preserve">- <value>Hiển thị Thùng rác (Recycle Bin)</value>+ <value>Thùng rác (Recycle Bin)</value></data><data name="Features.Desktop.ShowRecycleBin.Description" xml:space="preserve"><value>Hiển thị biểu tượng Thùng rác trên màn hình Desktop của bạn</value></data><data name="Features.Desktop.ShowUserFiles.Name" xml:space="preserve">- <value>Hiển thị Thư mục người dùng</value>+ <value>Thư mục người dùng</value></data><data name="Features.Desktop.ShowUserFiles.Description" xml:space="preserve"><value>Hiển thị thư mục hồ sơ người dùng của bạn dưới dạng biểu tượng Desktop</value></data><data name="Features.Desktop.ShowNetwork.Name" xml:space="preserve">- <value>Hiển thị Mạng</value>+ <value>Mạng</value></data><data name="Features.Desktop.ShowNetwork.Description" xml:space="preserve"><value>Hiển thị biểu tượng Mạng trên màn hình Desktop của bạn</value></data><data name="Features.Desktop.ShowControlPanel.Name" xml:space="preserve">- <value>Hiển thị Control Panel</value>+ <value>Control Panel</value></data><data name="Features.Desktop.ShowControlPanel.Description" xml:space="preserve"><value>Hiển thị biểu tượng Control Panel trên màn hình Desktop của bạn</value></data><data name="Features.Desktop.ShowDesktopIcons.Name" xml:space="preserve">- <value>Hiển thị biểu tượng Desktop</value>+ <value>Biểu tượng Desktop</value></data><data name="Features.Desktop.ShowDesktopIcons.Description" xml:space="preserve"><value>Hiện hoặc ẩn toàn bộ biểu tượng trên Desktop cùng lúc</value>@@ -1628,13 +1628,13 @@ Cập nhật ngay để trải nghiệm các tính năng mới, cải tiến và<value>Mở mặc định vào "This PC"</value></data><data name="Features.Preferences.LaunchToThisPc.Description" xml:space="preserve">- <value>Mở File Explorer thẳng vào This PC thay vì Quick Access</value>+ <value>Cài đặt vị trí mặc định của File Explorer (This PC hoặc Quick Access).</value></data><data name="Features.Preferences.BingSearch.Name" xml:space="preserve"><value>Tìm kiếm Bing</value></data><data name="Features.Preferences.BingSearch.Description" xml:space="preserve">- <value>Hiện hoặc ẩn kết quả tìm kiếm web và đề xuất Bing trong Windows Search</value>+ <value>Tích hợp tìm kiếm web Bing trong kết quả Tìm kiếm và menu Start của Windows.</value></data><data name="Button.Accept" xml:space="preserve"><value>Chấp nhận</value>@@ -1693,4 +1693,64 @@ Cập nhật ngay để trải nghiệm các tính năng mới, cải tiến và<data name="TitleBar.Discord" xml:space="preserve"><value>Tham gia cộng đồng Discord</value></data>+ <data name="Common.Recommendation.Depends" xml:space="preserve">+ <value>Tùy thuộc</value>+ </data>+ <data name="Common.Recommendation.Experimental" xml:space="preserve">+ <value>Thử nghiệm</value>+ </data>+ <data name="Common.Recommendation.Off" xml:space="preserve">+ <value>Không khuyến nghị</value>+ </data>+ <data name="Common.Recommendation.On" xml:space="preserve">+ <value>Khuyến nghị</value>+ </data>+ <data name="Features.Gaming.BackgroundRecording.Recommendation.Reason" xml:space="preserve">+ <value>Tắt ghi hình nền giúp DVR ngừng ghi lén gameplay, tiết kiệm CPU và giảm chu kỳ ghi đĩa.</value>+ </data>+ <data name="Features.Gaming.FullscreenOptimizations.Recommendation.Reason" xml:space="preserve">+ <value>Tắt nếu bạn gặp giật lag, độ trễ đầu vào hoặc màn hình đen khi chơi game (đặc biệt là game bắn súng cạnh tranh).</value>+ </data>+ <data name="Features.Gaming.GameBar.Recommendation.Reason" xml:space="preserve">+ <value>Tắt Game Bar giải phóng tài nguyên hệ thống và ngăn lớp phủ nền can thiệp vào game của bạn.</value>+ </data>+ <data name="Features.Gaming.GameMode.Recommendation.Reason" xml:space="preserve">+ <value>Game Mode tự động ưu tiên tiến trình game và tạm dừng thông báo Windows Update khi chơi game để hiệu năng mượt mà hơn.</value>+ </data>+ <data name="Features.Gaming.HardwareAcceleratedGpuScheduling.Recommendation.Reason" xml:space="preserve">+ <value>Lập lịch GPU chuyển quản lý khung hình từ CPU sang GPU, giảm độ trễ hiển thị và cải thiện nhịp khung hình.</value>+ </data>+ <data name="Features.Gaming.MouseAcceleration.Recommendation.Reason" xml:space="preserve">+ <value>Tắt gia tốc chuột cho bạn đầu vào chuột thô, tuyến tính để độ chính xác aim tốt hơn và nhất quán muscle memory.</value>+ </data>+ <data name="Features.Preferences.BingSearch.Recommendation.Reason" xml:space="preserve">+ <value>Tắt tìm kiếm Bing ngăn truy vấn web làm lộn xộn kết quả tìm kiếm local và cải thiện tốc độ tìm kiếm.</value>+ </data>+ <data name="Features.Preferences.ClassicContextMenu.Recommendation.Reason" xml:space="preserve">+ <value>Menu cổ điển hiển thị tất cả tùy chọn ngay lập tức mà không cần thêm thao tác nhấp chuột để mở rộng menu thu gọn của Windows 11.</value>+ </data>+ <data name="Features.Preferences.ClipboardHistory.Recommendation.Reason" xml:space="preserve">+ <value>Lịch sử clipboard cho phép bạn gọi lại nhiều bản sao trước đó bằng Win+V, tăng tốc quy trình sao chép-dán lặp đi lặp lại.</value>+ </data>+ <data name="Features.Preferences.ExplorerSyncNotifications.Recommendation.Reason" xml:space="preserve">+ <value>Tắt thông báo đồng bộ ngăn cửa sổ pop-up OneDrive làm gián đoạn duyệt file trong Explorer.</value>+ </data>+ <data name="Features.Preferences.ShowFileExtensions.Recommendation.Reason" xml:space="preserve">+ <value>Hiển thị phần mở rộng file giúp dễ dàng nhận biết file đáng ngờ và ngăn malware ẩn sau icon giả mạo.</value>+ </data>+ <data name="Features.Preferences.ShowHiddenFiles.Recommendation.Reason" xml:space="preserve">+ <value>File ẩn chứa dữ liệu hệ thống và cấu hình bạn có thể cần quản lý; hiển thị chúng cho bạn toàn quyền kiểm soát hệ thống.</value>+ </data>+ <data name="Features.Preferences.SystemSuggestions.Recommendation.Reason" xml:space="preserve">+ <value>Tắt gợi ý hệ thống ngăn Windows đề xuất ứng dụng và cài đặt mà bạn không yêu cầu.</value>+ </data>+ <data name="Features.Preferences.TaskbarEndTask.Recommendation.Reason" xml:space="preserve">+ <value>End Task trên thanh tác vụ cho phép bạn kết thúc ứng dụng treo ngay lập tức mà không cần mở Task Manager.</value>+ </data>+ <data name="Features.Preferences.TaskbarWidgets.Recommendation.Reason" xml:space="preserve">+ <value>Tắt widget loại bỏ dịch vụ web nền tìm nạp tin tức và thời tiết, giảm sử dụng mạng và bộ nhớ khi ở chế độ chờ.</value>+ </data>+ <data name="Features.SystemFeatures.NumLockOnBoot.Recommendation.Reason" xml:space="preserve">+ <value>Bật NumLock khi khởi động đảm bảo bàn phím số sẵn sàng ngay sau khi đăng nhập, tránh phải bật/tắt thủ công mỗi lần.</value>+ </data></root>\ No newline at end of filediff --git a/optimizerDuck/Resources/Languages/Translations.zh-TW.resx b/optimizerDuck/Resources/Languages/Translations.zh-TW.resxindex c4fd515..fc0dc50 100644--- a/optimizerDuck/Resources/Languages/Translations.zh-TW.resx+++ b/optimizerDuck/Resources/Languages/Translations.zh-TW.resx@@ -1084,7 +1084,7 @@<value>正在載入排定的工作...</value></data><data name="ScheduledTasks.Loading.Hint" xml:space="preserve">- <value>掃描系統上所有排定的工作,這可能需要一點時間。</value>+ <value>掃描系統上所有排定的工作,這可能需要一點時間。。。</value></data><data name="ScheduledTasks.HideMicrosoft" xml:space="preserve"><value>隱藏 Microsoft 工作</value>@@ -1361,7 +1361,7 @@<value>工作列對齊</value></data><data name="Features.Preferences.TaskbarAlignment.Description" xml:space="preserve">- <value>切換工作列對齊方式為置中 (預設) 或靠左。</value>+ <value>切換工作列對齊方式為置中或靠左。</value></data><data name="Features.Preferences.ExplorerCompactMode.Name" xml:space="preserve"><value>檔案總管緊湊模式</value>@@ -1409,7 +1409,7 @@<value>深色模式</value></data><data name="Features.Preferences.DarkMode.Description" xml:space="preserve">- <value>為系統應用程式、設定與介面元素啟用深色模式。</value>+ <value>系統應用程式、設定與介面元素的深色模式。</value></data><data name="Features.Preferences.ExplorerSyncNotifications.Name" xml:space="preserve"><value>檔案總管同步通知</value>@@ -1445,7 +1445,7 @@<value>剪貼簿歷程記錄</value></data><data name="Features.Preferences.ClipboardHistory.Description" xml:space="preserve">- <value>保留多個複製的項目,以便稍後使用 Win+V 貼上。</value>+ <value>剪貼簿歷史記錄,可使用 Win+V 存取多個複製的項目。</value></data><data name="Features.Preferences.WindowShake.Name" xml:space="preserve"><value>視窗搖晃</value>@@ -1457,13 +1457,13 @@<value>傳統右鍵選單</value></data><data name="Features.Preferences.ClassicContextMenu.Description" xml:space="preserve">- <value>在 Windows 11 上還原 Windows 10 樣式的完整右鍵選單。</value>+ <value>Windows 11 上的 Windows 10 樣式右鍵選單。</value></data><data name="Features.Preferences.ShowSecondsInSystemClock.Name" xml:space="preserve"><value>系統時鐘顯示秒數</value></data><data name="Features.Preferences.ShowSecondsInSystemClock.Description" xml:space="preserve">- <value>在工作列時鐘中顯示秒數,以進行精確的時間監控。</value>+ <value>在工作列時鐘中顯示秒數。</value></data><data name="Features.Gaming.Section.GameSettings" xml:space="preserve"><value>遊戲設定</value>@@ -1478,7 +1478,7 @@<value>遊戲模式</value></data><data name="Features.Gaming.GameMode.Description" xml:space="preserve">- <value>在遊戲時優先處理遊戲程序並防止 Windows Update 造成干擾。</value>+ <value>Windows 遊戲模式用於遊戲程序和 Windows Update 行為。</value></data><data name="Features.Gaming.GameBar.Name" xml:space="preserve"><value>Xbox Game Bar</value>@@ -1496,19 +1496,19 @@<value>滑鼠加速</value></data><data name="Features.Gaming.MouseAcceleration.Description" xml:space="preserve">- <value>啟用或停用 Windows 滑鼠加速,以獲得更一致的游標移動。</value>+ <value>Windows 滑鼠加速設定用於游標移動。</value></data><data name="Features.Gaming.FullscreenOptimizations.Name" xml:space="preserve"><value>全螢幕最佳化</value></data><data name="Features.Gaming.FullscreenOptimizations.Description" xml:space="preserve">- <value>控制可能導致輸入延遲或強制無邊框視窗模式的 Windows DWM 全螢幕最佳化功能。</value>+ <value>基於 Windows DWM 的全螢幕最佳化設定。</value></data><data name="Features.Gaming.HardwareAcceleratedGpuScheduling.Name" xml:space="preserve"><value>硬體加速 GPU 排程</value></data><data name="Features.Gaming.HardwareAcceleratedGpuScheduling.Description" xml:space="preserve">- <value>讓 GPU 直接管理其自身的視訊記憶體排程,減少 CPU 負載並降低顯示延遲。需要相容的 GPU 驅動程式。</value>+ <value>GPU 視訊記憶體排程模式。需要相容的 GPU 驅動程式。</value></data><data name="Common.Other" xml:space="preserve"><value>其他</value>@@ -1523,7 +1523,7 @@<value>系統</value></data><data name="Features.SystemFeatures.Description" xml:space="preserve">- <value>最佳化核心系統功能與行為</value>+ <value>核心系統功能與行為</value></data><data name="Features.SystemFeatures.Section.Boot" xml:space="preserve"><value>開機操作</value>@@ -1535,13 +1535,13 @@<value>開機時的 NumLock</value></data><data name="Features.SystemFeatures.NumLockOnBoot.Description" xml:space="preserve">- <value>在 Windows 登入畫面啟用或停用 NumLock</value>+ <value>Windows 登入畫面的 NumLock 狀態。</value></data><data name="Features.Desktop.Name" xml:space="preserve"><value>桌面</value></data><data name="Features.Desktop.Description" xml:space="preserve">- <value>管理桌面圖示與捷徑行為</value>+ <value>桌面圖示與捷徑設定</value></data><data name="Features.Desktop.Section.Icons" xml:space="preserve"><value>桌面圖示</value>@@ -1550,37 +1550,37 @@<value>捷徑行為</value></data><data name="Features.Desktop.ShowThisPc.Name" xml:space="preserve">- <value>顯示「本機」</value>+ <value>本機</value></data><data name="Features.Desktop.ShowThisPc.Description" xml:space="preserve"><value>在您的桌面上顯示本機圖示</value></data><data name="Features.Desktop.ShowRecycleBin.Name" xml:space="preserve">- <value>顯示資源回收筒</value>+ <value>資源回收筒</value></data><data name="Features.Desktop.ShowRecycleBin.Description" xml:space="preserve"><value>在您的桌面上顯示資源回收筒圖示</value></data><data name="Features.Desktop.ShowUserFiles.Name" xml:space="preserve">- <value>顯示使用者檔案</value>+ <value>使用者檔案</value></data><data name="Features.Desktop.ShowUserFiles.Description" xml:space="preserve"><value>將您的使用者設定檔資料夾顯示為桌面圖示</value></data><data name="Features.Desktop.ShowNetwork.Name" xml:space="preserve">- <value>顯示網路</value>+ <value>網路</value></data><data name="Features.Desktop.ShowNetwork.Description" xml:space="preserve"><value>在您的桌面上顯示網路圖示</value></data><data name="Features.Desktop.ShowControlPanel.Name" xml:space="preserve">- <value>顯示控制台</value>+ <value>控制台</value></data><data name="Features.Desktop.ShowControlPanel.Description" xml:space="preserve"><value>在您的桌面上顯示控制台圖示</value></data><data name="Features.Desktop.ShowDesktopIcons.Name" xml:space="preserve">- <value>顯示桌面圖示</value>+ <value>桌面圖示</value></data><data name="Features.Desktop.ShowDesktopIcons.Description" xml:space="preserve"><value>一次顯示或隱藏所有桌面圖示</value>@@ -1595,13 +1595,13 @@<value>啟動至「本機」</value></data><data name="Features.Preferences.LaunchToThisPc.Description" xml:space="preserve">- <value>開啟檔案總管時預設顯示「本機」而非「快速存取」</value>+ <value>檔案總管預設位置設定 (本機或快速存取)。</value></data><data name="Features.Preferences.BingSearch.Name" xml:space="preserve"><value>Bing 搜尋</value></data><data name="Features.Preferences.BingSearch.Description" xml:space="preserve">- <value>顯示或隱藏 Windows 搜尋中的 Bing 網頁結果與建議</value>+ <value>Windows 搜尋與開始功能表結果中的 Bing 網頁搜尋整合功能。</value></data><data name="Dialog.PendingChanges.Title" xml:space="preserve"><value>套用變更</value>@@ -1696,4 +1696,64 @@<data name="TitleBar.Discord" xml:space="preserve"><value>加入 Discord 社群</value></data>+ <data name="Common.Recommendation.Depends" xml:space="preserve">+ <value>視情況而定</value>+ </data>+ <data name="Common.Recommendation.Experimental" xml:space="preserve">+ <value>實驗性</value>+ </data>+ <data name="Common.Recommendation.Off" xml:space="preserve">+ <value>不建議</value>+ </data>+ <data name="Common.Recommendation.On" xml:space="preserve">+ <value>建議</value>+ </data>+ <data name="Features.Gaming.BackgroundRecording.Recommendation.Reason" xml:space="preserve">+ <value>停用背景錄製可阻止 DVR 在背景偷偷錄製遊戲過程,節省 CPU 資源並減少磁碟寫入次數。</value>+ </data>+ <data name="Features.Gaming.FullscreenOptimizations.Recommendation.Reason" xml:space="preserve">+ <value>如果您在遊戲中遇到卡頓、輸入延遲或黑畫面(特別是競技射擊遊戲),請停用此功能。</value>+ </data>+ <data name="Features.Gaming.GameBar.Recommendation.Reason" xml:space="preserve">+ <value>停用遊戲列可釋放系統資源,並防止背景覆疊層干擾您的遊戲。</value>+ </data>+ <data name="Features.Gaming.GameMode.Recommendation.Reason" xml:space="preserve">+ <value>遊戲模式會自動優先處理遊戲程序,並在遊戲期間暫停 Windows Update 通知,以獲得更流暢的效能。</value>+ </data>+ <data name="Features.Gaming.HardwareAcceleratedGpuScheduling.Recommendation.Reason" xml:space="preserve">+ <value>GPU 排程將畫格管理從 CPU 卸載至 GPU,減少顯示延遲並改善畫格節奏。</value>+ </data>+ <data name="Features.Gaming.MouseAcceleration.Recommendation.Reason" xml:space="preserve">+ <value>停用加速功能可提供原始、線性的滑鼠輸入,讓瞄準更精確並維持肌肉記憶的一致性。</value>+ </data>+ <data name="Features.Preferences.BingSearch.Recommendation.Reason" xml:space="preserve">+ <value>關閉 Bing 搜尋可防止網路查詢干擾本機搜尋結果,並提升搜尋速度。</value>+ </data>+ <data name="Features.Preferences.ClassicContextMenu.Recommendation.Reason" xml:space="preserve">+ <value>傳統選單可一次顯示所有選項,無需額外點擊展開 Windows 11 的簡化選單。</value>+ </data>+ <data name="Features.Preferences.ClipboardHistory.Recommendation.Reason" xml:space="preserve">+ <value>剪貼簿歷程記錄讓您可以使用 Win+V 呼叫多個先前的複製內容,加快重複的複製貼上工作流程。</value>+ </data>+ <data name="Features.Preferences.ExplorerSyncNotifications.Recommendation.Reason" xml:space="preserve">+ <value>停用同步通知可阻止 OneDrive 彈出視窗在檔案總管中打擾您的檔案瀏覽。</value>+ </data>+ <data name="Features.Preferences.ShowFileExtensions.Recommendation.Reason" xml:space="preserve">+ <value>顯示副檔名可讓您輕鬆識別可疑檔案類型,並防止惡意軟體偽藏在假圖示後面。</value>+ </data>+ <data name="Features.Preferences.ShowHiddenFiles.Recommendation.Reason" xml:space="preserve">+ <value>隱藏檔案包含您可能需要管理的系統和設定資料;顯示它們可讓您完整掌握系統狀態。</value>+ </data>+ <data name="Features.Preferences.SystemSuggestions.Recommendation.Reason" xml:space="preserve">+ <value>關閉系統建議可阻止 Windows 推薦您未要求的應用程式和設定。</value>+ </data>+ <data name="Features.Preferences.TaskbarEndTask.Recommendation.Reason" xml:space="preserve">+ <value>工作列上的「結束工作」功能讓您無需開啟工作管理員,即可立即關閉凍結的應用程式。</value>+ </data>+ <data name="Features.Preferences.TaskbarWidgets.Recommendation.Reason" xml:space="preserve">+ <value>關閉小工具可移除擷取新聞和天氣的背景網路服務,減少閒置時的網路和記憶體使用量。</value>+ </data>+ <data name="Features.SystemFeatures.NumLockOnBoot.Recommendation.Reason" xml:space="preserve">+ <value>開機時啟用 NumLock 可確保登入後數字鍵盤立即就緒,避免每次都要手動切換。</value>+ </data></root>\ No newline at end of filediff --git a/optimizerDuck/UI/Pages/Features/Categories/FeatureCategoryPage.xaml b/optimizerDuck/UI/Pages/Features/Categories/FeatureCategoryPage.xamlindex c075b7b..ec5f8b4 100644--- a/optimizerDuck/UI/Pages/Features/Categories/FeatureCategoryPage.xaml+++ b/optimizerDuck/UI/Pages/Features/Categories/FeatureCategoryPage.xaml@@ -20,6 +20,34 @@mc:Ignorable="d"><Page.Resources><converters:BooleanToVisibilityConverter x:Key="BoolToVisibilityConverter" />+ <converters:RecommendationForegroundConverter x:Key="RecommendationForegroundConverter" />++ <Style x:Key="RecommendationForegroundTextBlockStyle" TargetType="ui:TextBlock">++ <Setter Property="Foreground">+ <Setter.Value>+ <MultiBinding Converter="{StaticResource RecommendationForegroundConverter}">+ <Binding Path="Recommendation.State" />+ <Binding Path="ViewModel.CurrentApplicationTheme" RelativeSource="{RelativeSource AncestorType=Page}" />+ </MultiBinding>+ </Setter.Value>+ </Setter>+ </Style>++ <Style x:Key="RecommendationForegroundSymbolStyle" TargetType="ui:SymbolIcon">++ <Setter Property="Foreground">+ <Setter.Value>+ <MultiBinding Converter="{StaticResource RecommendationForegroundConverter}">++ <Binding Path="Recommendation.State" />++ <Binding Path="ViewModel.CurrentApplicationTheme" RelativeSource="{RelativeSource AncestorType=Page}" />++ </MultiBinding>+ </Setter.Value>+ </Setter>+ </Style></Page.Resources><Grid>@@ -147,70 +175,28 @@</Style></Border.Style><StackPanel Orientation="Horizontal">- <StackPanel.Resources>- <SolidColorBrush x:Key="RecommendationBrush" Color="White" />- </StackPanel.Resources><ui:TextBlockMargin="0,0,5,0"HorizontalAlignment="Center"VerticalAlignment="Center"FontTypography="Caption"+ Style="{StaticResource RecommendationForegroundTextBlockStyle}"Text="{Binding RecommendationStateDisplay}"- TextWrapping="Wrap">-- <ui:TextBlock.Style>- <Style TargetType="ui:TextBlock">- <Setter Property="Foreground" Value="{DynamicResource TextFillColorInverseBrush}" />-- <Style.Triggers>- <DataTrigger Binding="{Binding Recommendation.State}" Value="{x:Static models:RecommendationState.Off}">-- <Setter Property="Foreground" Value="{DynamicResource TextFillColorPrimaryBrush}" />- </DataTrigger>- </Style.Triggers>- </Style>- </ui:TextBlock.Style>- </ui:TextBlock>+ TextWrapping="Wrap" /><ui:SymbolIconMargin="0,0,4,0"HorizontalAlignment="Center"VerticalAlignment="Center"- Symbol="{Binding RecommendationIcon}">-- <ui:SymbolIcon.Style>- <Style TargetType="ui:SymbolIcon">- <Setter Property="Foreground" Value="{DynamicResource TextFillColorInverseBrush}" />-- <Style.Triggers>- <DataTrigger Binding="{Binding Recommendation.State}" Value="{x:Static models:RecommendationState.Off}">-- <Setter Property="Foreground" Value="{DynamicResource TextFillColorPrimaryBrush}" />- </DataTrigger>- </Style.Triggers>- </Style>- </ui:SymbolIcon.Style>- </ui:SymbolIcon>+ Style="{StaticResource RecommendationForegroundSymbolStyle}"+ Symbol="{Binding RecommendationIcon}" /><ui:SymbolIconHorizontalAlignment="Center"VerticalAlignment="Center"- Symbol="QuestionCircle24">-- <ui:SymbolIcon.Style>- <Style TargetType="ui:SymbolIcon">- <Setter Property="Foreground" Value="{DynamicResource TextFillColorInverseBrush}" />-- <Style.Triggers>- <DataTrigger Binding="{Binding Recommendation.State}" Value="{x:Static models:RecommendationState.Off}">-- <Setter Property="Foreground" Value="{DynamicResource TextFillColorPrimaryBrush}" />- </DataTrigger>- </Style.Triggers>- </Style>- </ui:SymbolIcon.Style>- </ui:SymbolIcon>+ Style="{StaticResource RecommendationForegroundSymbolStyle}"+ Symbol="QuestionCircle24" /></StackPanel></Border></StackPanel>diff --git a/optimizerDuck/UI/Styles/FluentDesign.xaml b/optimizerDuck/UI/Styles/FluentDesign.xamlindex 5f5db9e..68ec332 100644--- a/optimizerDuck/UI/Styles/FluentDesign.xaml+++ b/optimizerDuck/UI/Styles/FluentDesign.xaml@@ -49,7 +49,7 @@<Style x:Key="PageDescriptionStyle" TargetType="ui:TextBlock"><Setter Property="Margin" Value="0,4,0,0" />- <Setter Property="Appearance" Value="Secondary" />+ <Setter Property="Foreground" Value="{DynamicResource TextFillColorSecondaryBrush}" /><Setter Property="FontTypography" Value="Body" /><Setter Property="TextWrapping" Value="Wrap" /></Style>@@ -66,7 +66,7 @@</Style><Style x:Key="CaptionTextStyle" TargetType="ui:TextBlock">- <Setter Property="Appearance" Value="Secondary" />+ <Setter Property="Foreground" Value="{DynamicResource TextFillColorSecondaryBrush}" /><Setter Property="FontTypography" Value="Caption" /><Setter Property="TextWrapping" Value="Wrap" /></Style>diff --git a/optimizerDuck/UI/ViewModels/Features/FeatureCategoryViewModel.cs b/optimizerDuck/UI/ViewModels/Features/FeatureCategoryViewModel.csindex e70bd35..ce515a7 100644--- a/optimizerDuck/UI/ViewModels/Features/FeatureCategoryViewModel.cs+++ b/optimizerDuck/UI/ViewModels/Features/FeatureCategoryViewModel.cs@@ -2,6 +2,8 @@ using System.Collections.Concurrent;using System.Collections.ObjectModel;using System.Diagnostics;using System.Net.Http;+using System.Windows;+using System.Windows.Media;using CommunityToolkit.Mvvm.ComponentModel;using CommunityToolkit.Mvvm.Input;using Microsoft.Extensions.Logging;@@ -10,6 +12,7 @@ using optimizerDuck.Domain.Abstractions;using optimizerDuck.Domain.Features.Models;using optimizerDuck.Resources.Languages;using optimizerDuck.UI.ViewModels.Features;+using Wpf.Ui.Appearance;using Wpf.Ui.Controls;namespace optimizerDuck.UI.ViewModels.Pages;@@ -27,6 +30,9 @@ public partial class FeatureCategoryViewModel : ViewModelprivate readonly IFeatureCategory? _currentCategory;+ [ObservableProperty]+ private ApplicationTheme _currentApplicationTheme = ApplicationTheme.Unknown;+[ObservableProperty]private string _categoryDescription = string.Empty;@@ -56,6 +62,10 @@ public partial class FeatureCategoryViewModel : ViewModelCategoryDescription = _currentCategory.Description;CategoryIcon = _currentCategory.Icon;+ CurrentApplicationTheme = ApplicationThemeManager.GetAppTheme();++ ApplicationThemeManager.Changed += OnThemeChanged;+_allFeatures.Clear();foreach (var feature in _currentCategory.Features)_allFeatures.Add(new FeatureViewModel(feature, loggerFactory));@@ -67,9 +77,24 @@ public partial class FeatureCategoryViewModel : ViewModelIsLoading = false;}- public override async Task OnNavigatedToAsync()+ private void OnThemeChanged(ApplicationTheme currentApplicationTheme, Color systemAccent)+ {+ Application.Current.Dispatcher.Invoke(() =>+ {+ if (CurrentApplicationTheme != currentApplicationTheme)+ CurrentApplicationTheme = currentApplicationTheme;+ });+ }++ public override Task OnNavigatedToAsync()+ {+ return base.OnNavigatedToAsync();+ }++ public override Task OnNavigatedFromAsync(){- await base.OnNavigatedToAsync();+ ApplicationThemeManager.Changed -= OnThemeChanged;+ return base.OnNavigatedFromAsync();}partial void OnSearchTextChanged(string value)diff --git a/optimizerDuck/UI/ViewModels/Features/FeatureViewModel.cs b/optimizerDuck/UI/ViewModels/Features/FeatureViewModel.csindex df6b3b7..66395f1 100644--- a/optimizerDuck/UI/ViewModels/Features/FeatureViewModel.cs+++ b/optimizerDuck/UI/ViewModels/Features/FeatureViewModel.cs@@ -55,8 +55,8 @@ public partial class FeatureViewModel(IFeature feature, ILoggerFactory loggerFacRecommendationState.On => SymbolRegular.Checkmark24,RecommendationState.Off => SymbolRegular.Dismiss24,RecommendationState.Experimental => SymbolRegular.Beaker24,- RecommendationState.Depends => SymbolRegular.QuestionCircle24,- _ => SymbolRegular.QuestionCircle24,+ RecommendationState.Depends => SymbolRegular.PersonQuestionMark24,+ _ => SymbolRegular.PersonQuestionMark24,};public string? RecommendationReason =>diff --git a/optimizerDuck/UI/ViewModels/Pages/DashboardViewModel.cs b/optimizerDuck/UI/ViewModels/Pages/DashboardViewModel.csindex 4a044a3..d10337a 100644--- a/optimizerDuck/UI/ViewModels/Pages/DashboardViewModel.cs+++ b/optimizerDuck/UI/ViewModels/Pages/DashboardViewModel.cs@@ -110,6 +110,7 @@ public partial class DashboardViewModel : ViewModelpublic override Task OnNavigatedFromAsync(){+ ApplicationThemeManager.Changed -= OnThemeChanged;_updateTimer.Stop();return base.OnNavigatedFromAsync();}diff --git a/optimizerDuck/UI/ViewModels/Pages/SettingsViewModel.cs b/optimizerDuck/UI/ViewModels/Pages/SettingsViewModel.csindex c58df5c..fbfdeb8 100644--- a/optimizerDuck/UI/ViewModels/Pages/SettingsViewModel.cs+++ b/optimizerDuck/UI/ViewModels/Pages/SettingsViewModel.cs@@ -58,6 +58,12 @@ public partial class SettingsViewModel(await InitializeViewModel();}+ public override Task OnNavigatedFromAsync()+ {+ ApplicationThemeManager.Changed -= OnThemeChanged;+ return base.OnNavigatedFromAsync();+ }+private Task InitializeViewModel(){SelectedCultureName = appOptionsMonitor.CurrentValue.App.Language;diff --git a/optimizerDuck/UI/Windows/MainWindow.xaml b/optimizerDuck/UI/Windows/MainWindow.xamlindex d9d1454..8ca8cea 100644--- a/optimizerDuck/UI/Windows/MainWindow.xaml+++ b/optimizerDuck/UI/Windows/MainWindow.xaml@@ -33,7 +33,7 @@IsFooterSeparatorVisible="False"IsPaneToggleVisible="True"IsTopSeparatorVisible="False"- OpenPaneLength="160"+ OpenPaneLength="175"PaneDisplayMode="Left"TitleBar="{Binding ElementName=TitleBar, Mode=OneWay}"><ui:NavigationView.MenuItems>