From 641c6bb53012a5e2da9f42146db4a41175bbeec8 Mon Sep 17 00:00:00 2001
From: TTLC198 <41226242+TTLC198@users.noreply.github.com>
Date: Thu, 7 Dec 2023 18:03:20 +0300
Subject: [PATCH] Fixed names of buttons in the tray menu
---
HSMonitor/HSMonitor.csproj | 9 +
HSMonitor/Properties/Resources.Designer.cs | 313 +++++++++++----------
HSMonitor/Properties/Resources.en.resx | 4 +-
HSMonitor/Properties/Resources.resx | 4 +-
HSMonitor/Properties/Resources.ru.resx | 4 +-
5 files changed, 173 insertions(+), 161 deletions(-)
diff --git a/HSMonitor/HSMonitor.csproj b/HSMonitor/HSMonitor.csproj
index a974dbe..76504bc 100644
--- a/HSMonitor/HSMonitor.csproj
+++ b/HSMonitor/HSMonitor.csproj
@@ -15,6 +15,15 @@
en;ru
+
+ x64
+
+
+
+ x64
+ true
+
+
diff --git a/HSMonitor/Properties/Resources.Designer.cs b/HSMonitor/Properties/Resources.Designer.cs
index 201e141..39ce480 100644
--- a/HSMonitor/Properties/Resources.Designer.cs
+++ b/HSMonitor/Properties/Resources.Designer.cs
@@ -77,6 +77,26 @@ public static string AboutButtonTooltip {
}
}
+ ///
+ /// Looks up a localized string similar to Please run application as an administrator so that the library can get complete information about the current state of the computer hardware.
+ ///
+ ///Press OK to restart the application as administrator..
+ ///
+ public static string AdminPrivilegesRequirementMessageText {
+ get {
+ return ResourceManager.GetString("AdminPrivilegesRequirementMessageText", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Less information about PC.
+ ///
+ public static string AdminPrivilegesRequirementMessageTitle {
+ get {
+ return ResourceManager.GetString("AdminPrivilegesRequirementMessageTitle", resourceCulture);
+ }
+ }
+
///
/// Looks up a localized string similar to Autodetect Hardware:.
///
@@ -131,6 +151,24 @@ public static string AutoUpdateTooltip {
}
}
+ ///
+ /// Looks up a localized string similar to Backward compability.
+ ///
+ public static string BackwardCompabilityText {
+ get {
+ return ResourceManager.GetString("BackwardCompabilityText", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Enable backward compatibility for devices with software version 1.1.4 and below.
+ ///
+ public static string BackwardCompabilityTooltip {
+ get {
+ return ResourceManager.GetString("BackwardCompabilityTooltip", resourceCulture);
+ }
+ }
+
///
/// Looks up a localized string similar to Baud Rate:.
///
@@ -159,7 +197,7 @@ public static string CheckForUpdatesTooltip {
}
///
- /// Looks up a localized string similar to Close application.
+ /// Looks up a localized string similar to Close.
///
public static string CloseAppFromTrayButtonText {
get {
@@ -176,6 +214,16 @@ public static string CloseButtonTooltip {
}
}
+ ///
+ /// Looks up a localized string similar to Application configuration file was not found in the program folder or was modified manually.
+ ///Please reinstall the program to fix the problem..
+ ///
+ public static string ConfigurationFileErrorMessageText {
+ get {
+ return ResourceManager.GetString("ConfigurationFileErrorMessageText", resourceCulture);
+ }
+ }
+
///
/// Looks up a localized string similar to CPU icon:.
///
@@ -249,304 +297,295 @@ public static string DisplayBrightnessText {
}
///
- /// Looks up a localized string similar to Launch HSMonitor hidden at Windows startup.
- ///
- public static string HiddenAutoStartupTooltip {
- get {
- return ResourceManager.GetString("HiddenAutoStartupTooltip", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Start hidden.
+ /// Looks up a localized string similar to Downloading....
///
- public static string HiddenStartSwitchText {
+ public static string DownloadingText {
get {
- return ResourceManager.GetString("HiddenStartSwitchText", resourceCulture);
+ return ResourceManager.GetString("DownloadingText", resourceCulture);
}
}
///
- /// Looks up a localized string similar to Open settings.
+ /// Looks up a localized string similar to Launch HSMonitor hidden at Windows startup.
///
- public static string OpenSettingsTooltip {
+ public static string HiddenAutoStartupTooltip {
get {
- return ResourceManager.GetString("OpenSettingsTooltip", resourceCulture);
+ return ResourceManager.GetString("HiddenAutoStartupTooltip", resourceCulture);
}
}
///
- /// Looks up a localized string similar to Project URL on GitHub:.
+ /// Looks up a localized string similar to Start hidden.
///
- public static string ProjectURLText {
+ public static string HiddenStartSwitchText {
get {
- return ResourceManager.GetString("ProjectURLText", resourceCulture);
+ return ResourceManager.GetString("HiddenStartSwitchText", resourceCulture);
}
}
///
- /// Looks up a localized string similar to Reset all settings to their defaults.
+ /// Looks up a localized string similar to Hide HSMonitor.
///
- public static string ResetButtonTooltip {
+ public static string HideButtonTooltip {
get {
- return ResourceManager.GetString("ResetButtonTooltip", resourceCulture);
+ return ResourceManager.GetString("HideButtonTooltip", resourceCulture);
}
}
///
- /// Looks up a localized string similar to Run as administrator.
+ /// Looks up a localized string similar to Cancel.
///
- public static string RunAsAdminSwitchText {
+ public static string MessageBoxCancelButtonText {
get {
- return ResourceManager.GetString("RunAsAdminSwitchText", resourceCulture);
+ return ResourceManager.GetString("MessageBoxCancelButtonText", resourceCulture);
}
}
///
- /// Looks up a localized string similar to Launch HSMonitor as administrator directly.
+ /// Looks up a localized string similar to An error has occurred, the error text is shown below:.
///
- public static string RunAsAdminTooltip {
+ public static string MessageBoxErrorText {
get {
- return ResourceManager.GetString("RunAsAdminTooltip", resourceCulture);
+ return ResourceManager.GetString("MessageBoxErrorText", resourceCulture);
}
}
///
- /// Looks up a localized string similar to Save settings.
+ /// Looks up a localized string similar to Some error has occurred.
///
- public static string SaveButtonTooltip {
+ public static string MessageBoxErrorTitle {
get {
- return ResourceManager.GetString("SaveButtonTooltip", resourceCulture);
+ return ResourceManager.GetString("MessageBoxErrorTitle", resourceCulture);
}
}
///
- /// Looks up a localized string similar to Select CPU:.
+ /// Looks up a localized string similar to OK.
///
- public static string SelectCPUText {
+ public static string MessageBoxOkButtonText {
get {
- return ResourceManager.GetString("SelectCPUText", resourceCulture);
+ return ResourceManager.GetString("MessageBoxOkButtonText", resourceCulture);
}
}
///
- /// Looks up a localized string similar to Select GPU:.
+ /// Looks up a localized string similar to Restart.
///
- public static string SelectGPUText {
+ public static string MessageBoxRestartButtonText {
get {
- return ResourceManager.GetString("SelectGPUText", resourceCulture);
+ return ResourceManager.GetString("MessageBoxRestartButtonText", resourceCulture);
}
}
///
- /// Looks up a localized string similar to Select language:.
+ /// Looks up a localized string similar to You are using version.
///
- public static string SelectLanguageText {
+ public static string NewUpdateMessageCurrentVersionText {
get {
- return ResourceManager.GetString("SelectLanguageText", resourceCulture);
+ return ResourceManager.GetString("NewUpdateMessageCurrentVersionText", resourceCulture);
}
}
///
- /// Looks up a localized string similar to Serial port:.
+ /// Looks up a localized string similar to New update available!.
///
- public static string SerialPortText {
+ public static string NewUpdateMessageTitle {
get {
- return ResourceManager.GetString("SerialPortText", resourceCulture);
+ return ResourceManager.GetString("NewUpdateMessageTitle", resourceCulture);
}
}
///
- /// Looks up a localized string similar to Settings.
+ /// Looks up a localized string similar to Do you want to update the application now?.
///
- public static string SettingsButtonContent {
+ public static string NewUpdateMessageUpdateText {
get {
- return ResourceManager.GetString("SettingsButtonContent", resourceCulture);
+ return ResourceManager.GetString("NewUpdateMessageUpdateText", resourceCulture);
}
}
///
- /// Looks up a localized string similar to Show window.
+ /// Looks up a localized string similar to There is new version available:.
///
- public static string ShowWindowFromTrayButtonText {
+ public static string NewUpdateMessageVersionText {
get {
- return ResourceManager.GetString("ShowWindowFromTrayButtonText", resourceCulture);
+ return ResourceManager.GetString("NewUpdateMessageVersionText", resourceCulture);
}
}
///
- /// Looks up a localized string similar to TX Interval(ms):.
+ /// Looks up a localized string similar to is busy!.
///
- public static string TXIntervalText {
+ public static string NoConnectionBusyMessageText {
get {
- return ResourceManager.GetString("TXIntervalText", resourceCulture);
+ return ResourceManager.GetString("NoConnectionBusyMessageText", resourceCulture);
}
}
///
- /// Looks up a localized string similar to Update Download Progress.
+ /// Looks up a localized string similar to Please connect a device or choose a different port..
///
- public static string UpdateDownloadProgressTooltip {
+ public static string NoConnectionErrorMessageText {
get {
- return ResourceManager.GetString("UpdateDownloadProgressTooltip", resourceCulture);
+ return ResourceManager.GetString("NoConnectionErrorMessageText", resourceCulture);
}
}
///
- /// Looks up a localized string similar to Admin Privileges Requirement Message Text.
+ /// Looks up a localized string similar to No connection!.
///
- public static string AdminPrivilegesRequirementMessageText {
+ public static string NoConnectionText {
get {
- return ResourceManager.GetString("AdminPrivilegesRequirementMessageText", resourceCulture);
+ return ResourceManager.GetString("NoConnectionText", resourceCulture);
}
}
///
- /// Looks up a localized string similar to Admin Privileges Requirement Message Title.
+ /// Looks up a localized string similar to Open settings.
///
- public static string AdminPrivilegesRequirementMessageTitle {
+ public static string OpenSettingsTooltip {
get {
- return ResourceManager.GetString("AdminPrivilegesRequirementMessageTitle", resourceCulture);
+ return ResourceManager.GetString("OpenSettingsTooltip", resourceCulture);
}
}
///
- /// Looks up a localized string similar to Message Box Ok Button Text.
+ /// Looks up a localized string similar to Project URL on GitHub:.
///
- public static string MessageBoxOkButtonText {
+ public static string ProjectURLText {
get {
- return ResourceManager.GetString("MessageBoxOkButtonText", resourceCulture);
+ return ResourceManager.GetString("ProjectURLText", resourceCulture);
}
}
///
- /// Looks up a localized string similar to Message Box Cancel Button Text.
+ /// Looks up a localized string similar to Refresh all available ports.
///
- public static string MessageBoxCancelButtonText {
+ public static string RefreshPortsButtonTooltip {
get {
- return ResourceManager.GetString("MessageBoxCancelButtonText", resourceCulture);
+ return ResourceManager.GetString("RefreshPortsButtonTooltip", resourceCulture);
}
}
///
- /// Looks up a localized string similar to Message Box Error Title.
+ /// Looks up a localized string similar to Reset all settings to their defaults.
///
- public static string MessageBoxErrorTitle {
+ public static string ResetButtonTooltip {
get {
- return ResourceManager.GetString("MessageBoxErrorTitle", resourceCulture);
+ return ResourceManager.GetString("ResetButtonTooltip", resourceCulture);
}
}
///
- /// Looks up a localized string similar to No Connection Error Message Text.
+ /// Looks up a localized string similar to You need to restart the program to change the language..
///
- public static string NoConnectionErrorMessageText {
+ public static string RestartRequirementMessageText {
get {
- return ResourceManager.GetString("NoConnectionErrorMessageText", resourceCulture);
+ return ResourceManager.GetString("RestartRequirementMessageText", resourceCulture);
}
}
///
- /// Looks up a localized string similar to No Connection Busy Message Text.
+ /// Looks up a localized string similar to Restart required.
///
- public static string NoConnectionBusyMessageText {
+ public static string RestartRequirementMessageTitle {
get {
- return ResourceManager.GetString("NoConnectionBusyMessageText", resourceCulture);
+ return ResourceManager.GetString("RestartRequirementMessageTitle", resourceCulture);
}
}
///
- /// Looks up a localized string similar to Message Box Error Text.
+ /// Looks up a localized string similar to Run as administrator.
///
- public static string MessageBoxErrorText {
+ public static string RunAsAdminSwitchText {
get {
- return ResourceManager.GetString("MessageBoxErrorText", resourceCulture);
+ return ResourceManager.GetString("RunAsAdminSwitchText", resourceCulture);
}
}
///
- /// Looks up a localized string similar to Configuration File Error Message Text.
+ /// Looks up a localized string similar to Launch HSMonitor as administrator directly.
///
- public static string ConfigurationFileErrorMessageText {
+ public static string RunAsAdminTooltip {
get {
- return ResourceManager.GetString("ConfigurationFileErrorMessageText", resourceCulture);
+ return ResourceManager.GetString("RunAsAdminTooltip", resourceCulture);
}
}
///
- /// Looks up a localized string similar to New Update Message Title.
+ /// Looks up a localized string similar to Save settings.
///
- public static string NewUpdateMessageTitle {
+ public static string SaveButtonTooltip {
get {
- return ResourceManager.GetString("NewUpdateMessageTitle", resourceCulture);
+ return ResourceManager.GetString("SaveButtonTooltip", resourceCulture);
}
}
///
- /// Looks up a localized string similar to NewUpdateMessageVersionText.
+ /// Looks up a localized string similar to Select CPU:.
///
- public static string NewUpdateMessageVersionText {
+ public static string SelectCPUText {
get {
- return ResourceManager.GetString("NewUpdateMessageVersionText", resourceCulture);
+ return ResourceManager.GetString("SelectCPUText", resourceCulture);
}
}
///
- /// Looks up a localized string similar to NewUpdateMessageCurrentVersionText.
+ /// Looks up a localized string similar to Select GPU:.
///
- public static string NewUpdateMessageCurrentVersionText {
+ public static string SelectGPUText {
get {
- return ResourceManager.GetString("NewUpdateMessageCurrentVersionText", resourceCulture);
+ return ResourceManager.GetString("SelectGPUText", resourceCulture);
}
}
///
- /// Looks up a localized string similar to NewUpdateMessageUpdateText.
+ /// Looks up a localized string similar to Select language:.
///
- public static string NewUpdateMessageUpdateText {
+ public static string SelectLanguageText {
get {
- return ResourceManager.GetString("NewUpdateMessageUpdateText", resourceCulture);
+ return ResourceManager.GetString("SelectLanguageText", resourceCulture);
}
}
///
- /// Looks up a localized string similar to UpdateCompletedTitle.
+ /// Looks up a localized string similar to Serial port:.
///
- public static string UpdateCompletedTitle {
+ public static string SerialPortText {
get {
- return ResourceManager.GetString("UpdateCompletedTitle", resourceCulture);
+ return ResourceManager.GetString("SerialPortText", resourceCulture);
}
}
///
- /// Looks up a localized string similar to UpdateCompletedTitle.
+ /// Looks up a localized string similar to Settings.
///
- public static string UpdateCompletedText {
+ public static string SettingsButtonContent {
get {
- return ResourceManager.GetString("UpdateCompletedText", resourceCulture);
+ return ResourceManager.GetString("SettingsButtonContent", resourceCulture);
}
}
///
- /// Looks up a localized string similar to MessageBoxRestartButtonText.
+ /// Looks up a localized string similar to Show.
///
- public static string MessageBoxRestartButtonText {
+ public static string ShowWindowFromTrayButtonText {
get {
- return ResourceManager.GetString("MessageBoxRestartButtonText", resourceCulture);
+ return ResourceManager.GetString("ShowWindowFromTrayButtonText", resourceCulture);
}
}
///
- /// Looks up a localized string similar to UpToDateText.
+ /// Looks up a localized string similar to TX Interval(ms):.
///
- public static string UpToDateText {
+ public static string TXIntervalText {
get {
- return ResourceManager.GetString("UpToDateText", resourceCulture);
+ return ResourceManager.GetString("TXIntervalText", resourceCulture);
}
}
///
- /// Looks up a localized string similar to UpdateAvailableText.
+ /// Looks up a localized string similar to Update available!.
///
public static string UpdateAvailableText {
get {
@@ -555,74 +594,38 @@ public static string UpdateAvailableText {
}
///
- /// Looks up a localized string similar to NoConnectionText.
- ///
- public static string NoConnectionText {
- get {
- return ResourceManager.GetString("NoConnectionText", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to DownloadingText.
- ///
- public static string DownloadingText {
- get {
- return ResourceManager.GetString("DownloadingText", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to RestartRequirementMessageTitle.
+ /// Looks up a localized string similar to A new update has been downloaded, you need to restart the program to install it..
///
- public static string RestartRequirementMessageTitle {
- get {
- return ResourceManager.GetString("RestartRequirementMessageTitle", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to RestartRequirementMessageText.
- ///
- public static string RestartRequirementMessageText {
- get {
- return ResourceManager.GetString("RestartRequirementMessageText", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to HideButtonTooltip.
- ///
- public static string HideButtonTooltip {
+ public static string UpdateCompletedText {
get {
- return ResourceManager.GetString("HideButtonTooltip", resourceCulture);
+ return ResourceManager.GetString("UpdateCompletedText", resourceCulture);
}
}
///
- /// Looks up a localized string similar to RefreshPortsButtonTooltip.
+ /// Looks up a localized string similar to Restart needed.
///
- public static string RefreshPortsButtonTooltip {
+ public static string UpdateCompletedTitle {
get {
- return ResourceManager.GetString("RefreshPortsButtonTooltip", resourceCulture);
+ return ResourceManager.GetString("UpdateCompletedTitle", resourceCulture);
}
}
///
- /// Looks up a localized string similar to BackwardCompabilityTooltip.
+ /// Looks up a localized string similar to Update Download Progress.
///
- public static string BackwardCompabilityTooltip {
+ public static string UpdateDownloadProgressTooltip {
get {
- return ResourceManager.GetString("BackwardCompabilityTooltip", resourceCulture);
+ return ResourceManager.GetString("UpdateDownloadProgressTooltip", resourceCulture);
}
}
///
- /// Looks up a localized string similar to BackwardCompabilityText.
+ /// Looks up a localized string similar to You're up to date.
///
- public static string BackwardCompabilityText {
+ public static string UpToDateText {
get {
- return ResourceManager.GetString("BackwardCompabilityText", resourceCulture);
+ return ResourceManager.GetString("UpToDateText", resourceCulture);
}
}
}
diff --git a/HSMonitor/Properties/Resources.en.resx b/HSMonitor/Properties/Resources.en.resx
index cfef218..180f125 100644
--- a/HSMonitor/Properties/Resources.en.resx
+++ b/HSMonitor/Properties/Resources.en.resx
@@ -165,7 +165,7 @@ Press OK to restart the application as administrator.
Check for updates
- Close application
+ Close
Close HSMonitor
@@ -289,7 +289,7 @@ Please reinstall the program to fix the problem.
Settings
- Show window
+ Show
TX Interval(ms):
diff --git a/HSMonitor/Properties/Resources.resx b/HSMonitor/Properties/Resources.resx
index b199815..27926cb 100644
--- a/HSMonitor/Properties/Resources.resx
+++ b/HSMonitor/Properties/Resources.resx
@@ -106,7 +106,7 @@ Press OK to restart the application as administrator.
Check for updates
- Close application
+ Close
Close HSMonitor
@@ -230,7 +230,7 @@ Please reinstall the program to fix the problem.
Settings
- Show window
+ Show
TX Interval(ms):
diff --git a/HSMonitor/Properties/Resources.ru.resx b/HSMonitor/Properties/Resources.ru.resx
index f51c49c..3a3f0b6 100644
--- a/HSMonitor/Properties/Resources.ru.resx
+++ b/HSMonitor/Properties/Resources.ru.resx
@@ -106,7 +106,7 @@
Проверить обновления
- Закрыть приложение
+ Закрыть
Закрыть HSMonitor
@@ -229,7 +229,7 @@
Настройки
- Открыть приложение
+ Открыть
Интервал отправки(мс):