Skip to content

Free, open-source Windows optimization tool for performance, privacy, and simplicity.

feat: Add new settings page with appearance, optimization, and advanced options, alongside multi-language support.

fatDuck055136e8c84d
diff --git a/optimizerDuck/Resources/Languages/Translations.resx b/optimizerDuck/Resources/Languages/Translations.resx
index 5f6bfb3..1f46c59 100644
--- a/optimizerDuck/Resources/Languages/Translations.resx
+++ b/optimizerDuck/Resources/Languages/Translations.resx
@@ -810,10 +810,10 @@ Current version: {0}]]></value>
<value>Refresh</value>
</data>
<data name="Bloatware.Empty.Title" xml:space="preserve">
- <value>No unnecessary apps found</value>
+ <value>No unnecessary apps found ¯\_(ツ)_/¯</value>
</data>
<data name="Bloatware.Empty.Description" xml:space="preserve">
- <value>optimizerDuck didn't find any removable AppX packages. Everything looks quite good.</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>
diff --git a/optimizerDuck/Resources/Languages/Translations.ru-RU.resx b/optimizerDuck/Resources/Languages/Translations.ru-RU.resx
index 5c1913f..55413aa 100644
--- a/optimizerDuck/Resources/Languages/Translations.ru-RU.resx
+++ b/optimizerDuck/Resources/Languages/Translations.ru-RU.resx
@@ -855,10 +855,10 @@
<value>Обновить</value>
</data>
<data name="Bloatware.Empty.Title" xml:space="preserve">
- <value>Не найдено ненужных приложений</value>
+ <value>Ни одного приложения не найдено ¯\_(ツ)_/¯</value>
</data>
<data name="Bloatware.Empty.Description" xml:space="preserve">
- <value>optimizerDuck не нашёл удаляемых пакетов AppX. Всё выглядит хорошо.</value>
+ <value>optimizerDuck не нашел ни одного расширения AppX для удаления. Пусто, как в бесконечной пустоте...</value>
</data>
<data name="Bloatware.Loading" xml:space="preserve">
<value>Поиск удаляемых приложений…</value>
diff --git a/optimizerDuck/Resources/Languages/Translations.vi-vn.resx b/optimizerDuck/Resources/Languages/Translations.vi-vn.resx
index dd92a6e..898dbeb 100644
--- a/optimizerDuck/Resources/Languages/Translations.vi-vn.resx
+++ b/optimizerDuck/Resources/Languages/Translations.vi-vn.resx
@@ -807,10 +807,10 @@ Phiên bản hiện tại: {0}]]> </value>
<value>Làm mới</value>
</data>
<data name="Bloatware.Empty.Title" xml:space="preserve">
- <value>Không tìm thấy ứng dụng không cần thiết</value>
+ <value>Không tìm thấy bất kì một ứng dụng nào ¯\_(ツ)_/¯</value>
</data>
<data name="Bloatware.Empty.Description" xml:space="preserve">
- <value>optimizerDuck không tìm thấy gói AppX nào có thể gỡ. Mọi thứ trông ổn.</value>
+ <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>
diff --git a/optimizerDuck/Resources/Languages/Translations.zh-Hans-CN.resx b/optimizerDuck/Resources/Languages/Translations.zh-Hans-CN.resx
index b6cec32..d52f984 100644
--- a/optimizerDuck/Resources/Languages/Translations.zh-Hans-CN.resx
+++ b/optimizerDuck/Resources/Languages/Translations.zh-Hans-CN.resx
@@ -855,10 +855,10 @@
<value>刷新</value>
</data>
<data name="Bloatware.Empty.Title" xml:space="preserve">
- <value>未发现不必要的应用</value>
+ <value>未找到任何应用程序 ¯\_(ツ)_/¯</value>
</data>
<data name="Bloatware.Empty.Description" xml:space="preserve">
- <value>optimizerDuck 未找到可移除的 AppX 包。一切看起来都很好。</value>
+ <value>optimizerDuck 未找到任何可卸载的 AppX 包。一切如虚空般空旷...</value>
</data>
<data name="Bloatware.Loading" xml:space="preserve">
<value>正在搜索可移除的应用…</value>
diff --git a/optimizerDuck/UI/Views/Pages/SettingsPage.xaml b/optimizerDuck/UI/Views/Pages/SettingsPage.xaml
index da6bdc6..8b1df97 100644
--- a/optimizerDuck/UI/Views/Pages/SettingsPage.xaml
+++ b/optimizerDuck/UI/Views/Pages/SettingsPage.xaml
@@ -1,22 +1,22 @@
<Page
- Foreground="{DynamicResource TextFillColorPrimaryBrush}"
- Margin="0,32,0,0"
- Title="SettingsPage"
- d:DataContext="{d:DesignInstance pages:SettingsPage}"
- d:DesignHeight="1200"
- d:DesignWidth="800"
- mc:Ignorable="d"
- ui:Design.Background="Black"
- ui:Design.Foreground="White"
x:Class="optimizerDuck.UI.Views.Pages.SettingsPage"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
+ xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:converters="clr-namespace:optimizerDuck.Common.Helpers.Converters"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:ext="clr-namespace:optimizerDuck.Common.Extensions"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:pages="clr-namespace:optimizerDuck.UI.Views.Pages"
xmlns:ui="http://schemas.lepo.co/wpfui/2022/xaml"
- xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
+ Title="SettingsPage"
+ Margin="0,32,0,0"
+ d:DataContext="{d:DesignInstance pages:SettingsPage}"
+ d:DesignHeight="1200"
+ d:DesignWidth="800"
+ ui:Design.Background="Black"
+ ui:Design.Foreground="White"
+ Foreground="{DynamicResource TextFillColorPrimaryBrush}"
+ mc:Ignorable="d">
<Page.Resources>
<converters:ThemeToIndexConverter x:Key="ThemeToIndexConverter" />
@@ -37,9 +37,9 @@
<ui:CardControl.Header>
<StackPanel>
<ui:TextBlock
+ Margin="0"
FontTypography="BodyStrong"
Foreground="{DynamicResource TextFillColorPrimaryBrush}"
- Margin="0"
Text="{ext:Loc Settings.Appearance.LanguageSelector.Title}"
TextWrapping="Wrap" />
<ui:TextBlock
@@ -59,9 +59,9 @@
<ui:CardControl.Header>
<StackPanel>
<ui:TextBlock
+ Margin="0"
Appearance="Primary"
FontTypography="BodyStrong"
- Margin="0"
Text="{ext:Loc Settings.Appearance.ThemeSelector.Title}"
TextWrapping="Wrap" />
<ui:TextBlock
@@ -87,9 +87,9 @@
<ui:CardControl.Header>
<StackPanel>
<ui:TextBlock
+ Margin="0"
Appearance="Primary"
FontTypography="BodyStrong"
- Margin="0"
Text="{ext:Loc Settings.Optimize.ShellTimeout.Title}"
TextWrapping="Wrap" />
<ui:TextBlock
@@ -120,9 +120,9 @@
<ui:CardControl.Header>
<StackPanel>
<ui:TextBlock
+ Margin="0"
Appearance="Primary"
FontTypography="BodyStrong"
- Margin="0"
Text="{ext:Loc Settings.Bloatware.RemoveProvisioned.Title}"
TextWrapping="Wrap" />
<ui:TextBlock
@@ -132,7 +132,7 @@
</StackPanel>
</ui:CardControl.Header>
- <ui:ToggleSwitch Command="{Binding ViewModel.ToggleRemoveProvisionedCommand}" IsChecked="{Binding ViewModel.RemoveProvisioned}" />
+ <ui:ToggleSwitch Command="{Binding ViewModel.ToggleRemoveProvisionedCommand}" IsChecked="{Binding ViewModel.RemoveProvisioned, Mode=TwoWay}" />
</ui:CardControl>
</StackPanel>
@@ -146,9 +146,9 @@
<ui:CardControl.Header>
<StackPanel>
<ui:TextBlock
+ Margin="0"
Appearance="Primary"
FontTypography="BodyStrong"
- Margin="0"
Text="{ext:Loc Settings.Advanced.ClearResources.Title}"
TextWrapping="Wrap" />
<ui:TextBlock
@@ -159,21 +159,21 @@
</ui:CardControl.Header>
<ui:Button
+ VerticalAlignment="Center"
Appearance="Danger"
Command="{Binding ViewModel.ClearResourcesCommand}"
Content="{ext:Loc Button.Clear}"
Cursor="Hand"
- Icon="{ui:SymbolIcon Delete24}"
- VerticalAlignment="Center" />
+ Icon="{ui:SymbolIcon Delete24}" />
</ui:CardControl>
<ui:CardControl Icon="{ui:SymbolIcon DatabaseLightning20}">
<ui:CardControl.Header>
<StackPanel>
<ui:TextBlock
+ Margin="0"
Appearance="Primary"
FontTypography="BodyStrong"
- Margin="0"
Text="{ext:Loc Settings.Advanced.ClearRevertDatas.Title}"
TextWrapping="Wrap" />
<ui:TextBlock
@@ -184,21 +184,21 @@
</ui:CardControl.Header>
<ui:Button
+ VerticalAlignment="Center"
Appearance="Danger"
Command="{Binding ViewModel.ClearAllRevertDataCommand}"
Content="{ext:Loc Button.Clear}"
Cursor="Hand"
- Icon="{ui:SymbolIcon Delete24}"
- VerticalAlignment="Center" />
+ Icon="{ui:SymbolIcon Delete24}" />
</ui:CardControl>
<ui:CardControl Icon="{ui:SymbolIcon Folder24}">
<ui:CardControl.Header>
<StackPanel>
<ui:TextBlock
+ Margin="0"
Appearance="Primary"
FontTypography="BodyStrong"
- Margin="0"
Text="{ext:Loc Settings.Advanced.OpenRootDir.Title}"
TextWrapping="Wrap" />
<ui:TextBlock
@@ -209,11 +209,11 @@
</ui:CardControl.Header>
<ui:Button
+ VerticalAlignment="Center"
Command="{Binding ViewModel.OpenRootDirCommand}"
Content="{ext:Loc Button.Open}"
Cursor="Hand"
- Icon="{ui:SymbolIcon OpenFolder24}"
- VerticalAlignment="Center" />
+ Icon="{ui:SymbolIcon OpenFolder24}" />
</ui:CardControl>
</StackPanel>
@@ -250,7 +250,7 @@
Icon="{ui:SymbolIcon Open24}" />
</ui:CardControl>
- <ui:CardAction Command="{Binding ViewModel.OpenAcknowledgementsCommand}" VerticalAlignment="Stretch">
+ <ui:CardAction VerticalAlignment="Stretch" Command="{Binding ViewModel.OpenAcknowledgementsCommand}">
<ui:CardAction.Icon>
<ui:SymbolIcon Symbol="DocumentHeart24" />
</ui:CardAction.Icon>
@@ -268,8 +268,8 @@
</ui:CardAction>
<ui:TextBlock
- FontTypography="Subtitle"
Margin="0,15,0,0"
+ FontTypography="Subtitle"
Text="{ext:Loc Settings.About.LearnMore}"
TextTrimming="WordEllipsis"
TextWrapping="Wrap" />