Skip to content

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

fix: add translation to TitleBar TrailingContent actions

fatDuck061bff281e30
diff --git a/optimizerDuck/Resources/Languages/Translations.resx b/optimizerDuck/Resources/Languages/Translations.resx
index b5d483e..5730c94 100644
--- a/optimizerDuck/Resources/Languages/Translations.resx
+++ b/optimizerDuck/Resources/Languages/Translations.resx
@@ -1702,4 +1702,10 @@ Update now to enjoy the latest features, improvements, and bug fixes.</value>
<data name="Settings.About.Documentation.Description" xml:space="preserve">
<value>View documentation, usage guides, and FAQs.</value>
</data>
+ <data name="TitleBar.Support" xml:space="preserve">
+ <value>Support the Project</value>
+ </data>
+ <data name="TitleBar.Discord" xml:space="preserve">
+ <value>Join the Discord community</value>
+ </data>
</root>
\ No newline at end of file
diff --git a/optimizerDuck/Resources/Languages/Translations.vi-VN.resx b/optimizerDuck/Resources/Languages/Translations.vi-VN.resx
index 7d39ab2..c3543c0 100644
--- a/optimizerDuck/Resources/Languages/Translations.vi-VN.resx
+++ b/optimizerDuck/Resources/Languages/Translations.vi-VN.resx
@@ -1694,4 +1694,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="Settings.About.Documentation.Description" xml:space="preserve">
<value>Xem tài liệu, hướng dẫn sử dụng và các câu hỏi thường gặp.</value>
</data>
+ <data name="TitleBar.Support" xml:space="preserve">
+ <value>Ủng hộ dự án</value>
+ </data>
+ <data name="TitleBar.Discord" xml:space="preserve">
+ <value>Tham gia cộng đồng Discord</value>
+ </data>
</root>
\ No newline at end of file
diff --git a/optimizerDuck/Resources/Languages/Translations.zh-TW.resx b/optimizerDuck/Resources/Languages/Translations.zh-TW.resx
index 5e99893..dd0c873 100644
--- a/optimizerDuck/Resources/Languages/Translations.zh-TW.resx
+++ b/optimizerDuck/Resources/Languages/Translations.zh-TW.resx
@@ -1697,4 +1697,10 @@
<data name="Settings.About.Documentation.Description" xml:space="preserve">
<value>查看說明文件、使用指南及常見問題。</value>
</data>
+ <data name="TitleBar.Support" xml:space="preserve">
+ <value>支持專案</value>
+ </data>
+ <data name="TitleBar.Discord" xml:space="preserve">
+ <value>加入 Discord 社群</value>
+ </data>
</root>
\ No newline at end of file
diff --git a/optimizerDuck/UI/Windows/MainWindow.xaml b/optimizerDuck/UI/Windows/MainWindow.xaml
index 6cbf7e4..d9d1454 100644
--- a/optimizerDuck/UI/Windows/MainWindow.xaml
+++ b/optimizerDuck/UI/Windows/MainWindow.xaml
@@ -138,13 +138,13 @@
Command="{Binding OpenSupportLinkCommand}"
Cursor="Hand"
Icon="{ui:SymbolIcon Heart24}"
- ToolTip="Support the project" />
+ ToolTip="{extensions:Loc TitleBar.Support}" />
<ui:Button
Appearance="Transparent"
Command="{Binding OpenDiscordLinkCommand}"
Cursor="Hand"
- Icon="{ui:SymbolIcon Link24}"
- ToolTip="Join our Discord" />
+ Icon="{ui:SymbolIcon PeopleCommunity24}"
+ ToolTip="{extensions:Loc TitleBar.Discord}" />
</StackPanel>
</ui:TitleBar.TrailingContent>
</ui:TitleBar>