From d1e1b6704da4f715f27ca5cdd961b85243119525 Mon Sep 17 00:00:00 2001
From: Serge <5920850+seerge@users.noreply.github.com>
Date: Mon, 2 Sep 2024 10:24:12 +0200
Subject: [PATCH] Translation Updates
---
app/Matrix.cs | 1 +
app/Properties/Strings.Designer.cs | 49 ++++++++++++++++++++++++++++--
app/Properties/Strings.resx | 22 ++++++++++++--
app/Settings.cs | 1 +
app/Updates.Designer.cs | 9 +++---
app/Updates.cs | 5 +++
app/Updates.resx | 4 +--
7 files changed, 81 insertions(+), 10 deletions(-)
diff --git a/app/Matrix.cs b/app/Matrix.cs
index 0600173d..0a65cd84 100644
--- a/app/Matrix.cs
+++ b/app/Matrix.cs
@@ -30,6 +30,7 @@ namespace GHelper
labelScaling.Text = Properties.Strings.ScalingQuality;
labelRotation.Text = Properties.Strings.ImageRotation;
labelContrastTitle.Text = Properties.Strings.Contrast;
+ labelGammaTitle.Text = Properties.Strings.Brightness;
buttonPicture.Text = Properties.Strings.PictureGif;
buttonReset.Text = Properties.Strings.Reset;
diff --git a/app/Properties/Strings.Designer.cs b/app/Properties/Strings.Designer.cs
index 9a6b11b4..6fb0b7bf 100644
--- a/app/Properties/Strings.Designer.cs
+++ b/app/Properties/Strings.Designer.cs
@@ -771,6 +771,15 @@ namespace GHelper.Properties {
}
}
+ ///
+ /// Looks up a localized string similar to Donate.
+ ///
+ internal static string Donate {
+ get {
+ return ResourceManager.GetString("Donate", resourceCulture);
+ }
+ }
+
///
/// Looks up a localized string similar to Download Color Profiles.
///
@@ -1196,6 +1205,42 @@ namespace GHelper.Properties {
}
}
+ ///
+ /// Looks up a localized string similar to Legend.
+ ///
+ internal static string Legend {
+ get {
+ return ResourceManager.GetString("Legend", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Can't check local version.
+ ///
+ internal static string LegendGray {
+ get {
+ return ResourceManager.GetString("LegendGray", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Updated.
+ ///
+ internal static string LegendGreen {
+ get {
+ return ResourceManager.GetString("LegendGreen", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Update Available.
+ ///
+ internal static string LegendRed {
+ get {
+ return ResourceManager.GetString("LegendRed", resourceCulture);
+ }
+ }
+
///
/// Looks up a localized string similar to Lid.
///
@@ -1575,7 +1620,7 @@ namespace GHelper.Properties {
}
///
- /// Looks up a localized string similar to Switch to Eco on battery and to Standard when plugged.
+ /// Looks up a localized string similar to Switch to Eco on battery and to Standard when plugged in.
///
internal static string OptimizedGPUTooltip {
get {
@@ -1935,7 +1980,7 @@ namespace GHelper.Properties {
}
///
- /// Looks up a localized string similar to .
+ /// Looks up a localized string similar to Touchscreen.
///
internal static string Touchscreen {
get {
diff --git a/app/Properties/Strings.resx b/app/Properties/Strings.resx
index 0f86832b..040fe44a 100644
--- a/app/Properties/Strings.resx
+++ b/app/Properties/Strings.resx
@@ -744,7 +744,7 @@ Do you still want to continue?
Toggle Touchscreen
-
+ Touchscreen
Turbo
@@ -800,4 +800,22 @@ Do you still want to continue?
Zoom
-
+
+ Donate
+
+
+ Legend
+
+
+ Can't check local version
+ Can't check local version
+
+
+ Update Available
+ Update Available
+
+
+ Updated
+ Updated
+
+
\ No newline at end of file
diff --git a/app/Settings.cs b/app/Settings.cs
index 24987862..ab6385ff 100644
--- a/app/Settings.cs
+++ b/app/Settings.cs
@@ -93,6 +93,7 @@ namespace GHelper
buttonMatrix.Text = Properties.Strings.PictureGif;
buttonQuit.Text = Properties.Strings.Quit;
buttonUpdates.Text = Properties.Strings.Updates;
+ buttonDonate.Text = Properties.Strings.Donate;
buttonController.Text = Properties.Strings.Controller;
labelAlly.Text = Properties.Strings.AllyController;
diff --git a/app/Updates.Designer.cs b/app/Updates.Designer.cs
index 9adacff5..e7869ad9 100644
--- a/app/Updates.Designer.cs
+++ b/app/Updates.Designer.cs
@@ -78,7 +78,7 @@ namespace GHelper
// labelBIOS
//
labelBIOS.AutoSize = true;
- labelBIOS.Font = new Font("Segoe UI", 9F, FontStyle.Bold, GraphicsUnit.Point);
+ labelBIOS.Font = new Font("Segoe UI", 9F, FontStyle.Bold);
labelBIOS.Location = new Point(68, 23);
labelBIOS.Margin = new Padding(4, 0, 4, 0);
labelBIOS.Name = "labelBIOS";
@@ -113,7 +113,7 @@ namespace GHelper
// labelUpdates
//
labelUpdates.Anchor = AnchorStyles.Top | AnchorStyles.Right;
- labelUpdates.Font = new Font("Segoe UI", 9F, FontStyle.Bold, GraphicsUnit.Point);
+ labelUpdates.Font = new Font("Segoe UI", 9F, FontStyle.Bold);
labelUpdates.Location = new Point(864, 19);
labelUpdates.Name = "labelUpdates";
labelUpdates.Size = new Size(302, 32);
@@ -125,6 +125,7 @@ namespace GHelper
buttonRefresh.Activated = false;
buttonRefresh.Anchor = AnchorStyles.Top | AnchorStyles.Right;
buttonRefresh.BackColor = SystemColors.ControlLight;
+ buttonRefresh.Badge = false;
buttonRefresh.BorderColor = Color.Transparent;
buttonRefresh.BorderRadius = 5;
buttonRefresh.FlatAppearance.BorderSize = 0;
@@ -192,7 +193,7 @@ namespace GHelper
// labelDrivers
//
labelDrivers.AutoSize = true;
- labelDrivers.Font = new Font("Segoe UI", 9F, FontStyle.Bold, GraphicsUnit.Point);
+ labelDrivers.Font = new Font("Segoe UI", 9F, FontStyle.Bold);
labelDrivers.Location = new Point(68, 6);
labelDrivers.Margin = new Padding(4, 0, 4, 0);
labelDrivers.Name = "labelDrivers";
@@ -280,7 +281,7 @@ namespace GHelper
//
labelLegend.AutoSize = true;
labelLegend.Dock = DockStyle.Top;
- labelLegend.Font = new Font("Segoe UI", 9F, FontStyle.Bold, GraphicsUnit.Point);
+ labelLegend.Font = new Font("Segoe UI", 9F, FontStyle.Bold);
labelLegend.Location = new Point(20, 10);
labelLegend.Margin = new Padding(10);
labelLegend.Name = "labelLegend";
diff --git a/app/Updates.cs b/app/Updates.cs
index 02679eca..bd38b71f 100644
--- a/app/Updates.cs
+++ b/app/Updates.cs
@@ -49,6 +49,11 @@ namespace GHelper
labelBIOS.Text = "BIOS";
labelDrivers.Text = Properties.Strings.DriverAndSoftware;
+ labelLegend.Text = Properties.Strings.Legend;
+ labelLegendGray.Text = Properties.Strings.LegendGray;
+ labelLegendRed.Text = Properties.Strings.LegendRed;
+ labelLegendGreen.Text = Properties.Strings.LegendGreen;
+
SuspendLayout();
tableBios.Visible = false;
diff --git a/app/Updates.resx b/app/Updates.resx
index 1f052d5e..189a4fea 100644
--- a/app/Updates.resx
+++ b/app/Updates.resx
@@ -1,7 +1,7 @@