Free, open-source Windows optimization tool for performance, privacy, and simplicity.
C# csharpdebloatdotnetgamingopen-sourceoptimizationoptimizeroptimizerduckperformanceprivacytweakertweakswindowswinui
feat(ui): restyle tooltip and add missing translations
fatDuck856e9202f9b4
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.mdindex af309c4..87bc6d4 100644--- a/CONTRIBUTING.md+++ b/CONTRIBUTING.md@@ -10,20 +10,15 @@# Introduction-Thank you for your interest in contributing to **optimizerDuck**!--This project helps users optimize and customize Windows in a simple, transparent, and powerful way. Community contributions make the project better, more stable, and accessible to more people.--There are many ways you can contribute:+Thanks for contributing to **optimizerDuck**.+There are many ways you can help:- Reporting bugs- Suggesting new features or optimizations- Improving documentation- Adding translations- Contributing code and improvements-Every contribution, big or small, is appreciated.-# Getting Started### 1. Environment Setup@@ -101,6 +96,8 @@ optimizerDuck/## Ways to Contribute++</div>| Contribution Type | Description | Example |@@ -354,7 +351,7 @@ We maintain a modern, clean C# codebase.- Describe **what** changed and **why**.- If your PR affects the UI, **include a screenshot or GIF**.- Link related issues (`Closes #42`).-4. **Code review**: A maintainer will review your changes. Be open to feedback and ready to make adjustments.+4. **Code review**: A maintainer will review your changes.---@@ -365,7 +362,7 @@ We maintain a modern, clean C# codebase.</div>- **Bug reports**: Use the Bug Report template. Include steps to reproduce, expected vs. actual behavior, logs (found in `%localappdata%\optimizerDuck\optimizerDuck.log`), and your system specs.-- **Feature requests**: Describe the use case. What problem does this solve? How should it work? The more detail, the better.+- **Feature requests**: Describe the use case, problem it solves, and how it should work.- **Questions**: Use GitHub Discussions or join our [Discord server](https://discord.gg/tDUBDCYw9Q).---@@ -391,7 +388,7 @@ By contributing to optimizerDuck, you agree that your contributions will be lice---<div align="center">- <p><i>Thank you for helping make optimizerDuck better for the Windows community!</i></p>+ <p><i>Thanks for making optimizerDuck better.</i></p>[](https://github.com/itsfatduck/optimizerDuck/graphs/contributors)diff --git a/README.md b/README.mdindex 6370c1c..bf08136 100644--- a/README.md+++ b/README.md@@ -4,7 +4,7 @@# [optimizerDuck](https://optimizerduck.vercel.app/)-**optimizerDuck is a free, open-source Windows optimization tool built for performance, privacy, and simplicity.**+**optimizerDuck is a free, open-source Windows optimization tool focused on performance, privacy, and simplicity.**[](https://github.com/itsfatduck/optimizerDuck/releases/latest)[](https://github.com/itsfatduck/optimizerDuck/releases)@@ -106,7 +106,7 @@ Flip Windows settings on or off without digging through the registry or searchin## Safety-We know changing system settings carries risk, so the tool is built around reversibility and user control.+Changing system settings carries risk. optimizerDuck is built around reversibility and user control.See the [Privacy Policy](./PRIVACY.md) for details on our data practices.@@ -134,15 +134,13 @@ See the [Privacy Policy](./PRIVACY.md) for details on our data practices.### [Official Documentation](https://optimizerduck.vercel.app/docs/guides/getting-started)-Step-by-step guides, detailed breakdowns of each optimization, and best practices for using optimizerDuck.+Guides, optimization details, and usage tips.---## Contribute-We welcome contributions from the community! Whether you're fixing bugs, adding new optimizations or features, improving documentation, or helping translate the app into other languages, your support is greatly appreciated.--For more information, please see [CONTRIBUTING.md](./CONTRIBUTING.md).+Bug reports, new optimizations, docs improvements, and translations are all welcome. See [CONTRIBUTING.md](./CONTRIBUTING.md).---@@ -167,7 +165,7 @@ If optimizerDuck helped your PC:- 💬 [Discord](https://discord.gg/tDUBDCYw9Q)- 🐞 [Issues](https://github.com/itsfatduck/optimizerDuck/issues)-Every contribution helps. Bug reports, feature suggestions, translations, and sharing your experience all matter.+Bug reports, feature suggestions, translations, and sharing your experience all help the project.---diff --git a/optimizerDuck/App.xaml b/optimizerDuck/App.xamlindex f488a06..56101e5 100644--- a/optimizerDuck/App.xaml+++ b/optimizerDuck/App.xaml@@ -11,6 +11,7 @@<ui:ControlsDictionary /><ResourceDictionary Source="pack://application:,,,/UI/Styles/FluentDesign.xaml" /><ResourceDictionary Source="pack://application:,,,/UI/Styles/NavigationViewOverride.xaml" />+ <ResourceDictionary Source="pack://application:,,,/UI/Styles/ToolTipOverride.xaml" /></ResourceDictionary.MergedDictionaries><Style TargetType="Image">diff --git a/optimizerDuck/Resources/Languages/Translations.Designer.cs b/optimizerDuck/Resources/Languages/Translations.Designer.csindex d558f78..aa23e59 100644--- a/optimizerDuck/Resources/Languages/Translations.Designer.cs+++ b/optimizerDuck/Resources/Languages/Translations.Designer.cs@@ -357,15 +357,6 @@ namespace optimizerDuck.Resources.Languages {}}- /// <summary>- /// Looks up a localized string similar to Apply.- /// </summary>- internal static string Common_Apply {- get {- return ResourceManager.GetString("Common.Apply", resourceCulture);- }- }-/// <summary>/// Looks up a localized string similar to Cancel./// </summary>diff --git a/optimizerDuck/Resources/Languages/Translations.fr-FR.resx b/optimizerDuck/Resources/Languages/Translations.fr-FR.resxindex b559a33..37ffac4 100644--- a/optimizerDuck/Resources/Languages/Translations.fr-FR.resx+++ b/optimizerDuck/Resources/Languages/Translations.fr-FR.resx@@ -1,4 +1,4 @@-<?xml version="1.0" encoding="utf-8"?>+<?xml version="1.0" encoding="utf-8"?><root><!--Microsoft ResX Schema@@ -1788,4 +1788,10 @@ Mettez à jour maintenant pour profiter des dernières fonctionnalités, amélio<data name="TitleBar.Discord" xml:space="preserve"><value>Rejoindre la communauté Discord</value></data>+ <data name="Customize.Preferences.TaskbarAlignment.Options.Center" xml:space="preserve">+ <value>Centré</value>+ </data>+ <data name="Customize.Preferences.TaskbarAlignment.Options.Left" xml:space="preserve">+ <value>Gauche</value>+ </data></root>diff --git a/optimizerDuck/Resources/Languages/Translations.resx b/optimizerDuck/Resources/Languages/Translations.resxindex d3dd6f8..cdd1cde 100644--- a/optimizerDuck/Resources/Languages/Translations.resx+++ b/optimizerDuck/Resources/Languages/Translations.resx@@ -1417,9 +1417,6 @@ Update now to enjoy the latest features, improvements, and bug fixes.</value><data name="Common.Toggle.Off" xml:space="preserve"><value>Off</value></data>- <data name="Common.Apply" xml:space="preserve">- <value>Apply</value>- </data><data name="Common.SortBy.Status" xml:space="preserve"><value>Status</value></data>diff --git a/optimizerDuck/Resources/Languages/Translations.ru-RU.resx b/optimizerDuck/Resources/Languages/Translations.ru-RU.resxindex 50da87f..8b862ae 100644--- a/optimizerDuck/Resources/Languages/Translations.ru-RU.resx+++ b/optimizerDuck/Resources/Languages/Translations.ru-RU.resx@@ -1,4 +1,4 @@-<?xml version="1.0" encoding="utf-8"?>+<?xml version="1.0" encoding="utf-8"?><root><!--Microsoft ResX Schema@@ -1789,4 +1789,10 @@<data name="TitleBar.Discord" xml:space="preserve"><value>Присоединиться к Discord</value></data>+ <data name="Customize.Preferences.TaskbarAlignment.Options.Center" xml:space="preserve">+ <value>По центру</value>+ </data>+ <data name="Customize.Preferences.TaskbarAlignment.Options.Left" xml:space="preserve">+ <value>Слева</value>+ </data></root>\ No newline at end of filediff --git a/optimizerDuck/Resources/Languages/Translations.vi-VN.resx b/optimizerDuck/Resources/Languages/Translations.vi-VN.resxindex ac677d7..2c0a626 100644--- a/optimizerDuck/Resources/Languages/Translations.vi-VN.resx+++ b/optimizerDuck/Resources/Languages/Translations.vi-VN.resx@@ -1,4 +1,4 @@-<?xml version="1.0" encoding="utf-8"?>+<?xml version="1.0" encoding="utf-8"?><root><!--Microsoft ResX Schema@@ -1781,4 +1781,10 @@ Cập nhật ngay để trải nghiệm các tính năng mới, cải tiến và<data name="Customize.SystemFeatures.Section.Power" xml:space="preserve"><value>Cài đặt nguồn</value></data>+ <data name="Customize.Preferences.TaskbarAlignment.Options.Center" xml:space="preserve">+ <value>Chính giữa</value>+ </data>+ <data name="Customize.Preferences.TaskbarAlignment.Options.Left" xml:space="preserve">+ <value>Trái</value>+ </data></root>\ No newline at end of filediff --git a/optimizerDuck/Resources/Languages/Translations.zh-CN.resx b/optimizerDuck/Resources/Languages/Translations.zh-CN.resxindex 1da36b9..80f66c1 100644--- a/optimizerDuck/Resources/Languages/Translations.zh-CN.resx+++ b/optimizerDuck/Resources/Languages/Translations.zh-CN.resx@@ -1,4 +1,4 @@-<?xml version="1.0" encoding="utf-8"?>+<?xml version="1.0" encoding="utf-8"?><root><!--Microsoft ResX Schema@@ -1787,4 +1787,10 @@<data name="TitleBar.Discord" xml:space="preserve"><value>加入 Discord 社区</value></data>+ <data name="Customize.Preferences.TaskbarAlignment.Options.Center" xml:space="preserve">+ <value>居中</value>+ </data>+ <data name="Customize.Preferences.TaskbarAlignment.Options.Left" xml:space="preserve">+ <value>靠左</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 0a63bc9..7cd86a4 100644--- a/optimizerDuck/Resources/Languages/Translations.zh-TW.resx+++ b/optimizerDuck/Resources/Languages/Translations.zh-TW.resx@@ -1,4 +1,4 @@-<?xml version="1.0" encoding="utf-8"?>+<?xml version="1.0" encoding="utf-8"?><root><!--Microsoft ResX Schema@@ -1784,4 +1784,10 @@<data name="Customize.SystemFeatures.Section.Power" xml:space="preserve"><value>電源設定</value></data>+ <data name="Customize.Preferences.TaskbarAlignment.Options.Center" xml:space="preserve">+ <value>置中</value>+ </data>+ <data name="Customize.Preferences.TaskbarAlignment.Options.Left" xml:space="preserve">+ <value>靠左</value>+ </data></root>\ No newline at end of filediff --git a/optimizerDuck/UI/Styles/ToolTipOverride.xaml b/optimizerDuck/UI/Styles/ToolTipOverride.xamlnew file mode 100644index 0000000..5f55ec2--- /dev/null+++ b/optimizerDuck/UI/Styles/ToolTipOverride.xaml@@ -0,0 +1,68 @@+<ResourceDictionary+ xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"+ xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">++ <Style x:Key="DefaultToolTipStyle" TargetType="{x:Type ToolTip}">+ <Setter Property="MaxWidth" Value="320" />+ <Setter Property="Height" Value="Auto" />+ <Setter Property="Width" Value="Auto" />+ <Setter Property="TextElement.FontSize" Value="12" />+ <Setter Property="TextElement.FontWeight" Value="Normal" />+ <Setter Property="TextBlock.LineHeight" Value="16" />+ <Setter Property="TextBlock.LineStackingStrategy" Value="BlockLineHeight" />+ <Setter Property="TextBlock.TextAlignment" Value="Left" />+ <Setter Property="TextElement.Foreground" Value="{DynamicResource ToolTipForeground}" />+ <Setter Property="Foreground" Value="{DynamicResource ToolTipForeground}" />+ <Setter Property="Background" Value="{DynamicResource ToolTipBackground}" />+ <Setter Property="BorderBrush" Value="{DynamicResource ToolTipBorderBrush}" />+ <Setter Property="SnapsToDevicePixels" Value="True" />+ <Setter Property="UseLayoutRounding" Value="True" />+ <Setter Property="OverridesDefaultStyle" Value="True" />+ <Setter Property="Template">+ <Setter.Value>+ <ControlTemplate TargetType="ToolTip">+ <Grid Margin="15">+ <Border+ Name="Border"+ Width="{TemplateBinding Width}"+ Height="{TemplateBinding Height}"+ MaxWidth="{TemplateBinding MaxWidth}"+ Padding="8,6"+ Background="{TemplateBinding Background}"+ BorderBrush="{TemplateBinding BorderBrush}"+ BorderThickness="1"+ CornerRadius="8"+ SnapsToDevicePixels="True"+ UseLayoutRounding="True"+ RenderOptions.BitmapScalingMode="HighQuality">+ <Border.Effect>+ <DropShadowEffect+ BlurRadius="12"+ Direction="270"+ Opacity="0.30"+ ShadowDepth="8"+ Color="#202020" />+ </Border.Effect>+ <ContentPresenter+ Margin="4,2"+ HorizontalAlignment="Left"+ VerticalAlignment="Top">+ <ContentPresenter.Resources>+ <Style TargetType="{x:Type TextBlock}">+ <Setter Property="TextWrapping" Value="Wrap" />+ <Setter Property="TextAlignment" Value="Left" />+ <Setter Property="LineHeight" Value="16" />+ <Setter Property="LineStackingStrategy" Value="BlockLineHeight" />+ </Style>+ </ContentPresenter.Resources>+ </ContentPresenter>+ </Border>+ </Grid>+ </ControlTemplate>+ </Setter.Value>+ </Setter>+ </Style>++ <Style BasedOn="{StaticResource DefaultToolTipStyle}" TargetType="{x:Type ToolTip}" />++</ResourceDictionary>