From e812b6208cdc3001549323c683ce346c50a7a56b Mon Sep 17 00:00:00 2001
From: BornToBeRoot <16019165+BornToBeRoot@users.noreply.github.com>
Date: Wed, 18 Dec 2024 02:39:41 +0100
Subject: [PATCH] Feature: ToolTips, Buttons, etc. (#2955)
* Feature: ToolTips, Buttons, etc.
* Docs: #2955
---
.../Resources/Strings.Designer.cs | 57 ++--
.../Resources/Strings.resx | 29 +-
Source/NETworkManager/CommandLineWindow.xaml | 2 +-
Source/NETworkManager/MainWindow.xaml | 29 +-
.../Properties/Resources.Designer.cs | 92 +++---
.../NETworkManager/Properties/Resources.resx | 269 +++++++++---------
Source/NETworkManager/Views/AboutView.xaml | 44 ++-
Website/docs/changelog/next-release.md | 1 +
8 files changed, 278 insertions(+), 245 deletions(-)
diff --git a/Source/NETworkManager.Localization/Resources/Strings.Designer.cs b/Source/NETworkManager.Localization/Resources/Strings.Designer.cs
index 1f046f9bce..41ccf305b9 100644
--- a/Source/NETworkManager.Localization/Resources/Strings.Designer.cs
+++ b/Source/NETworkManager.Localization/Resources/Strings.Designer.cs
@@ -8296,15 +8296,6 @@ public static string Repeat {
}
}
- ///
- /// Sucht eine lokalisierte Zeichenfolge, die Report an issue or create a feature request ähnelt.
- ///
- public static string ReportAnIssueOrCreateAFeatureRequest {
- get {
- return ResourceManager.GetString("ReportAnIssueOrCreateAFeatureRequest", resourceCulture);
- }
- }
-
///
/// Sucht eine lokalisierte Zeichenfolge, die Report on GitHub ähnelt.
///
@@ -9533,15 +9524,6 @@ public static string SSID {
}
}
- ///
- /// Sucht eine lokalisierte Zeichenfolge, die Star/Fork the Project on GitHub ähnelt.
- ///
- public static string StarForkTheProjectOnGitHub {
- get {
- return ResourceManager.GetString("StarForkTheProjectOnGitHub", resourceCulture);
- }
- }
-
///
/// Sucht eine lokalisierte Zeichenfolge, die Start minimized in tray ähnelt.
///
@@ -10245,29 +10227,38 @@ public static string Timezone {
}
///
- /// Sucht eine lokalisierte Zeichenfolge, die Open documentation on GitHub. ähnelt.
+ /// Sucht eine lokalisierte Zeichenfolge, die Follow or contact me via X. ähnelt.
///
- public static string ToolTip_GithubDocumentationUrl {
+ public static string ToolTip_ContactOrContactMeViaX {
get {
- return ResourceManager.GetString("ToolTip_GithubDocumentationUrl", resourceCulture);
+ return ResourceManager.GetString("ToolTip_ContactOrContactMeViaX", resourceCulture);
}
}
///
- /// Sucht eine lokalisierte Zeichenfolge, die Report an issue or create a feature request. ähnelt.
+ /// Sucht eine lokalisierte Zeichenfolge, die Help translate the project on Transifex. ähnelt.
///
- public static string ToolTip_GithubNewIssueUrl {
+ public static string ToolTip_HelpTranslateOnTransifex {
get {
- return ResourceManager.GetString("ToolTip_GithubNewIssueUrl", resourceCulture);
+ return ResourceManager.GetString("ToolTip_HelpTranslateOnTransifex", resourceCulture);
}
}
///
- /// Sucht eine lokalisierte Zeichenfolge, die Star/Fork the Project on GitHub. ähnelt.
+ /// Sucht eine lokalisierte Zeichenfolge, die Open the documentation. ähnelt.
+ ///
+ public static string ToolTip_OpenTheDocumentation {
+ get {
+ return ResourceManager.GetString("ToolTip_OpenTheDocumentation", resourceCulture);
+ }
+ }
+
+ ///
+ /// Sucht eine lokalisierte Zeichenfolge, die Report an issue or create a feature request. ähnelt.
///
- public static string ToolTip_GitHubProjectUrl {
+ public static string ToolTip_ReportIssueOrCreateFeatureRequest {
get {
- return ResourceManager.GetString("ToolTip_GitHubProjectUrl", resourceCulture);
+ return ResourceManager.GetString("ToolTip_ReportIssueOrCreateFeatureRequest", resourceCulture);
}
}
@@ -10281,20 +10272,20 @@ public static string ToolTip_RunCommandWithHotKey {
}
///
- /// Sucht eine lokalisierte Zeichenfolge, die Help translate the project on Transifex. ähnelt.
+ /// Sucht eine lokalisierte Zeichenfolge, die Star/Fork the Project on GitHub. ähnelt.
///
- public static string ToolTip_TransifexProjectUrl {
+ public static string ToolTip_StarForkProjectOnGitHub {
get {
- return ResourceManager.GetString("ToolTip_TransifexProjectUrl", resourceCulture);
+ return ResourceManager.GetString("ToolTip_StarForkProjectOnGitHub", resourceCulture);
}
}
///
- /// Sucht eine lokalisierte Zeichenfolge, die Contact via Twitter. ähnelt.
+ /// Sucht eine lokalisierte Zeichenfolge, die Support this project with a donation. ähnelt.
///
- public static string ToolTip_TwitterContactUrl {
+ public static string ToolTip_SupportThisProjectWithADonation {
get {
- return ResourceManager.GetString("ToolTip_TwitterContactUrl", resourceCulture);
+ return ResourceManager.GetString("ToolTip_SupportThisProjectWithADonation", resourceCulture);
}
}
diff --git a/Source/NETworkManager.Localization/Resources/Strings.resx b/Source/NETworkManager.Localization/Resources/Strings.resx
index 4acc2176df..57b8cf9000 100644
--- a/Source/NETworkManager.Localization/Resources/Strings.resx
+++ b/Source/NETworkManager.Localization/Resources/Strings.resx
@@ -809,9 +809,6 @@ First make a backup copy of your profile files before enabling encryption!
DNS server
-
- Open documentation
-
Domain
@@ -854,9 +851,6 @@ First make a backup copy of your profile files before enabling encryption!
Fixed screen size:
-
- Star/Fork the Project on GitHub
-
Found
@@ -1958,14 +1952,14 @@ URL: https://api.ipify.org and https://api6.ipify.org
External services
-
+
Star/Fork the Project on GitHub.
-
+
Help translate the project on Transifex.
-
- Contact via Twitter.
+
+ Follow or contact me via X.Connection
@@ -2283,10 +2277,7 @@ $$hostname$$ --> Hostname
Timeout (s)
-
- Report an issue or create a feature request
-
-
+
Report an issue or create a feature request.
@@ -2346,8 +2337,8 @@ $$hostname$$ --> Hostname
Is encrypted
-
- Open documentation on GitHub.
+
+ Open the documentation.Customer 1
@@ -3855,4 +3846,10 @@ Right-click for more options.
6 GHz
+
+ Support this project with a donation.
+
+
+ Open documentation
+
\ No newline at end of file
diff --git a/Source/NETworkManager/CommandLineWindow.xaml b/Source/NETworkManager/CommandLineWindow.xaml
index 16fdf51ea5..68ed2a914a 100644
--- a/Source/NETworkManager/CommandLineWindow.xaml
+++ b/Source/NETworkManager/CommandLineWindow.xaml
@@ -23,7 +23,7 @@
+
@@ -218,7 +219,7 @@
@@ -230,6 +231,20 @@
+
+
+
+
+
+
+
+
+
diff --git a/Source/NETworkManager/Properties/Resources.Designer.cs b/Source/NETworkManager/Properties/Resources.Designer.cs
index 60d3a92795..247913521d 100644
--- a/Source/NETworkManager/Properties/Resources.Designer.cs
+++ b/Source/NETworkManager/Properties/Resources.Designer.cs
@@ -1,9 +1,10 @@
//------------------------------------------------------------------------------
//
-// This code was generated by a tool.
+// Dieser Code wurde von einem Tool generiert.
+// Laufzeitversion:4.0.30319.42000
//
-// Changes to this file may cause incorrect behavior and will be lost if
-// the code is regenerated.
+// Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn
+// der Code erneut generiert wird.
//
//------------------------------------------------------------------------------
@@ -12,13 +13,13 @@ namespace NETworkManager.Properties {
///
- /// A strongly-typed resource class, for looking up localized strings, etc.
+ /// Eine stark typisierte Ressourcenklasse zum Suchen von lokalisierten Zeichenfolgen usw.
///
- // This class was auto-generated by the StronglyTypedResourceBuilder
- // class via a tool like ResGen or Visual Studio.
- // To add or remove a member, edit your .ResX file then rerun ResGen
- // with the /str option, or rebuild your VS project.
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "16.0.0.0")]
+ // Diese Klasse wurde von der StronglyTypedResourceBuilder automatisch generiert
+ // -Klasse über ein Tool wie ResGen oder Visual Studio automatisch generiert.
+ // Um einen Member hinzuzufügen oder zu entfernen, bearbeiten Sie die .ResX-Datei und führen dann ResGen
+ // mit der /str-Option erneut aus, oder Sie erstellen Ihr VS-Projekt neu.
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "17.0.0.0")]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
public class Resources {
@@ -32,7 +33,7 @@ internal Resources() {
}
///
- /// Returns the cached ResourceManager instance used by this class.
+ /// Gibt die zwischengespeicherte ResourceManager-Instanz zurück, die von dieser Klasse verwendet wird.
///
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
public static global::System.Resources.ResourceManager ResourceManager {
@@ -46,8 +47,8 @@ internal Resources() {
}
///
- /// Overrides the current thread's CurrentUICulture property for all
- /// resource lookups using this strongly typed resource class.
+ /// Überschreibt die CurrentUICulture-Eigenschaft des aktuellen Threads für alle
+ /// Ressourcenzuordnungen, die diese stark typisierte Ressourcenklasse verwenden.
///
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
public static global::System.Globalization.CultureInfo Culture {
@@ -60,7 +61,7 @@ internal Resources() {
}
///
- /// Looks up a localized string similar to https://developer.microsoft.com/en-us/microsoft-edge/webview2/.
+ /// Sucht eine lokalisierte Zeichenfolge, die https://developer.microsoft.com/en-us/microsoft-edge/webview2/ ähnelt.
///
public static string MicrosoftEdgeWebView2Runtime_DownloadUrl {
get {
@@ -69,7 +70,7 @@ public static string MicrosoftEdgeWebView2Runtime_DownloadUrl {
}
///
- /// Looks up a localized string similar to https://github.com/BornToBeRoot/NETworkManager/blob/main/Contributors.md.
+ /// Sucht eine lokalisierte Zeichenfolge, die https://github.com/BornToBeRoot/NETworkManager/blob/main/CONTRIBUTORS ähnelt.
///
public static string NETworkManager_Contributors {
get {
@@ -78,7 +79,16 @@ public static string NETworkManager_Contributors {
}
///
- /// Looks up a localized string similar to NETworkManager.
+ /// Sucht eine lokalisierte Zeichenfolge, die https://github.com/BornToBeRoot/NETworkManager#-donate ähnelt.
+ ///
+ public static string NETworkManager_DonateUrl {
+ get {
+ return ResourceManager.GetString("NETworkManager_DonateUrl", resourceCulture);
+ }
+ }
+
+ ///
+ /// Sucht eine lokalisierte Zeichenfolge, die NETworkManager ähnelt.
///
public static string NETworkManager_GitHub_Repo {
get {
@@ -87,7 +97,7 @@ public static string NETworkManager_GitHub_Repo {
}
///
- /// Looks up a localized string similar to BornToBeRoot.
+ /// Sucht eine lokalisierte Zeichenfolge, die BornToBeRoot ähnelt.
///
public static string NETworkManager_GitHub_User {
get {
@@ -96,70 +106,70 @@ public static string NETworkManager_GitHub_User {
}
///
- /// Looks up a localized string similar to https://borntoberoot.net/NETworkManager/Download.
+ /// Sucht eine lokalisierte Zeichenfolge, die https://github.com/BornToBeRoot/NETworkManager/issues/new/choose ähnelt.
///
- public static string NETworkManager_LatestReleaseUrl {
+ public static string NETworkManager_GitHubNewIssueUrl {
get {
- return ResourceManager.GetString("NETworkManager_LatestReleaseUrl", resourceCulture);
+ return ResourceManager.GetString("NETworkManager_GitHubNewIssueUrl", resourceCulture);
}
}
///
- /// Looks up a localized string similar to GNU General Public License v3.0.
+ /// Sucht eine lokalisierte Zeichenfolge, die https://github.com/BornToBeRoot/NETworkManager ähnelt.
///
- public static string NETworkManager_License {
+ public static string NETworkManager_GitHubRepoUrl {
get {
- return ResourceManager.GetString("NETworkManager_License", resourceCulture);
+ return ResourceManager.GetString("NETworkManager_GitHubRepoUrl", resourceCulture);
}
}
///
- /// Looks up a localized string similar to https://github.com/BornToBeRoot/NETworkManager/blob/main/LICENSE.
+ /// Sucht eine lokalisierte Zeichenfolge, die https://borntoberoot.net/NETworkManager/Download ähnelt.
///
- public static string NETworkManager_LicenseUrl {
+ public static string NETworkManager_LatestReleaseUrl {
get {
- return ResourceManager.GetString("NETworkManager_LicenseUrl", resourceCulture);
+ return ResourceManager.GetString("NETworkManager_LatestReleaseUrl", resourceCulture);
}
}
///
- /// Looks up a localized string similar to https://github.com/BornToBeRoot/NETworkManager/issues/new/choose.
+ /// Sucht eine lokalisierte Zeichenfolge, die GNU General Public License v3.0 ähnelt.
///
- public static string NETworkManager_NewIssueUrl {
+ public static string NETworkManager_License {
get {
- return ResourceManager.GetString("NETworkManager_NewIssueUrl", resourceCulture);
+ return ResourceManager.GetString("NETworkManager_License", resourceCulture);
}
}
///
- /// Looks up a localized string similar to NETworkManager.
+ /// Sucht eine lokalisierte Zeichenfolge, die https://github.com/BornToBeRoot/NETworkManager/blob/main/LICENSE ähnelt.
///
- public static string NETworkManager_ProjectName {
+ public static string NETworkManager_LicenseUrl {
get {
- return ResourceManager.GetString("NETworkManager_ProjectName", resourceCulture);
+ return ResourceManager.GetString("NETworkManager_LicenseUrl", resourceCulture);
}
}
///
- /// Looks up a localized string similar to https://borntoberoot.net/NETworkManager/.
+ /// Sucht eine lokalisierte Zeichenfolge, die NETworkManager ähnelt.
///
- public static string NETworkManager_ProjectUrl {
+ public static string NETworkManager_ProjectName {
get {
- return ResourceManager.GetString("NETworkManager_ProjectUrl", resourceCulture);
+ return ResourceManager.GetString("NETworkManager_ProjectName", resourceCulture);
}
}
///
- /// Looks up a localized string similar to https://github.com/BornToBeRoot/NETworkManager.
+ /// Sucht eine lokalisierte Zeichenfolge, die https://borntoberoot.net/NETworkManager/ ähnelt.
///
- public static string NETworkManager_RepoUrl {
+ public static string NETworkManager_ProjectUrl {
get {
- return ResourceManager.GetString("NETworkManager_RepoUrl", resourceCulture);
+ return ResourceManager.GetString("NETworkManager_ProjectUrl", resourceCulture);
}
}
///
- /// Looks up a localized string similar to https://www.transifex.com/BornToBeRoot/NETworkManager/.
+ /// Sucht eine lokalisierte Zeichenfolge, die https://www.transifex.com/BornToBeRoot/NETworkManager/ ähnelt.
///
public static string NETworkManager_TranslationUrl {
get {
@@ -168,11 +178,11 @@ public static string NETworkManager_TranslationUrl {
}
///
- /// Looks up a localized string similar to https://twitter.com/_BornToBeRoot.
+ /// Sucht eine lokalisierte Zeichenfolge, die https://x.com/_BornToBeRoot ähnelt.
///
- public static string NETworkManager_TwitterUrl {
+ public static string NETworkManager_XContactUrl {
get {
- return ResourceManager.GetString("NETworkManager_TwitterUrl", resourceCulture);
+ return ResourceManager.GetString("NETworkManager_XContactUrl", resourceCulture);
}
}
}
diff --git a/Source/NETworkManager/Properties/Resources.resx b/Source/NETworkManager/Properties/Resources.resx
index 544331bc60..17ce212e9d 100644
--- a/Source/NETworkManager/Properties/Resources.resx
+++ b/Source/NETworkManager/Properties/Resources.resx
@@ -1,165 +1,162 @@
-
-
-
-
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
-
-
-
- text/microsoft-resx
-
-
- 2.0
-
-
- System.Resources.ResXResourceReader, System.Windows.Forms, Version=5.0.0.0, Culture=neutral,
- PublicKeyToken=b77a5c561934e089
-
-
-
- System.Resources.ResXResourceWriter, System.Windows.Forms, Version=5.0.0.0, Culture=neutral,
- PublicKeyToken=b77a5c561934e089
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ text/microsoft-resx
+
+
+ 2.0
+
+
+ System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
https://developer.microsoft.com/en-us/microsoft-edge/webview2/
-
- https://github.com/BornToBeRoot/NETworkManager/blob/main/Contributors.md
+
+ https://github.com/BornToBeRoot/NETworkManager/blob/main/CONTRIBUTORS
+
+
+ https://github.com/BornToBeRoot/NETworkManager#-donate
-
+
NETworkManager
-
+
BornToBeRoot
-
+
https://borntoberoot.net/NETworkManager/Download
-
+
GNU General Public License v3.0
-
+
https://github.com/BornToBeRoot/NETworkManager/blob/main/LICENSE
-
+
https://github.com/BornToBeRoot/NETworkManager/issues/new/choose
-
+
NETworkManager
-
+
https://borntoberoot.net/NETworkManager/
-
+
https://github.com/BornToBeRoot/NETworkManager
-
+
https://www.transifex.com/BornToBeRoot/NETworkManager/
-
- https://twitter.com/_BornToBeRoot
+
+ https://x.com/_BornToBeRoot
\ No newline at end of file
diff --git a/Source/NETworkManager/Views/AboutView.xaml b/Source/NETworkManager/Views/AboutView.xaml
index a4003d1063..31ef11ad08 100644
--- a/Source/NETworkManager/Views/AboutView.xaml
+++ b/Source/NETworkManager/Views/AboutView.xaml
@@ -69,9 +69,9 @@
-
+ CommandParameter="{x:Static resources:Resources.NETworkManager_GitHubRepoUrl}">
@@ -90,9 +90,9 @@
-
@@ -112,7 +112,7 @@
-
@@ -123,8 +123,30 @@
+ Binding="{Binding RelativeSource={RelativeSource Mode=FindAncestor, AncestorType={x:Type Button}}, Path=IsMouseOver}"
+ Value="True">
+
+
+
+
+
+
+
+
+
+
+
+
+
+