From dec26ca85b2578f588d4aa30bb8fb84d0fd49c0c Mon Sep 17 00:00:00 2001
From: Serge <5920850+seerge@users.noreply.github.com>
Date: Sun, 9 Jul 2023 15:11:41 +0200
Subject: [PATCH] Translation Updates
---
app/Fans.Designer.cs | 32 +++++++++++++++---------------
app/Fans.cs | 4 +++-
app/Mode/ModeControl.cs | 1 +
app/Properties/Strings.Designer.cs | 30 ++++++++++++++++++++++------
app/Properties/Strings.it.resx | 16 +++++++--------
app/Properties/Strings.resx | 8 +++++++-
app/Properties/Strings.uk.resx | 9 +++++++++
7 files changed, 68 insertions(+), 32 deletions(-)
diff --git a/app/Fans.Designer.cs b/app/Fans.Designer.cs
index 43fbbb9e..7097970c 100644
--- a/app/Fans.Designer.cs
+++ b/app/Fans.Designer.cs
@@ -195,7 +195,7 @@ namespace GHelper
panelFans.MinimumSize = new Size(816, 0);
panelFans.Name = "panelFans";
panelFans.Padding = new Padding(0, 0, 10, 0);
- panelFans.Size = new Size(816, 2023);
+ panelFans.Size = new Size(816, 2119);
panelFans.TabIndex = 12;
//
// labelTip
@@ -229,7 +229,7 @@ namespace GHelper
tableFanCharts.RowStyles.Add(new RowStyle(SizeType.Percent, 25F));
tableFanCharts.RowStyles.Add(new RowStyle(SizeType.Percent, 25F));
tableFanCharts.RowStyles.Add(new RowStyle(SizeType.Percent, 25F));
- tableFanCharts.Size = new Size(806, 1841);
+ tableFanCharts.Size = new Size(806, 1937);
tableFanCharts.TabIndex = 36;
//
// chartGPU
@@ -237,10 +237,10 @@ namespace GHelper
chartArea1.Name = "ChartArea1";
chartGPU.ChartAreas.Add(chartArea1);
chartGPU.Dock = DockStyle.Fill;
- chartGPU.Location = new Point(12, 467);
+ chartGPU.Location = new Point(12, 491);
chartGPU.Margin = new Padding(2, 10, 2, 10);
chartGPU.Name = "chartGPU";
- chartGPU.Size = new Size(782, 437);
+ chartGPU.Size = new Size(782, 461);
chartGPU.TabIndex = 17;
chartGPU.Text = "chartGPU";
title1.Name = "Title1";
@@ -254,7 +254,7 @@ namespace GHelper
chartCPU.Location = new Point(12, 10);
chartCPU.Margin = new Padding(2, 10, 2, 10);
chartCPU.Name = "chartCPU";
- chartCPU.Size = new Size(782, 437);
+ chartCPU.Size = new Size(782, 461);
chartCPU.TabIndex = 14;
chartCPU.Text = "chartCPU";
title2.Name = "Title1";
@@ -265,10 +265,10 @@ namespace GHelper
chartArea3.Name = "ChartAreaXGM";
chartXGM.ChartAreas.Add(chartArea3);
chartXGM.Dock = DockStyle.Fill;
- chartXGM.Location = new Point(12, 1381);
+ chartXGM.Location = new Point(12, 1453);
chartXGM.Margin = new Padding(2, 10, 2, 10);
chartXGM.Name = "chartXGM";
- chartXGM.Size = new Size(782, 440);
+ chartXGM.Size = new Size(782, 464);
chartXGM.TabIndex = 14;
chartXGM.Text = "chartXGM";
title3.Name = "Title4";
@@ -280,10 +280,10 @@ namespace GHelper
chartArea4.Name = "ChartArea3";
chartMid.ChartAreas.Add(chartArea4);
chartMid.Dock = DockStyle.Fill;
- chartMid.Location = new Point(12, 924);
+ chartMid.Location = new Point(12, 972);
chartMid.Margin = new Padding(2, 10, 2, 10);
chartMid.Name = "chartMid";
- chartMid.Size = new Size(782, 437);
+ chartMid.Size = new Size(782, 461);
chartMid.TabIndex = 14;
chartMid.Text = "chartMid";
title4.Name = "Title3";
@@ -398,7 +398,7 @@ namespace GHelper
panelApplyFans.Controls.Add(checkApplyFans);
panelApplyFans.Controls.Add(buttonReset);
panelApplyFans.Dock = DockStyle.Bottom;
- panelApplyFans.Location = new Point(0, 1907);
+ panelApplyFans.Location = new Point(0, 2003);
panelApplyFans.Margin = new Padding(4);
panelApplyFans.Name = "panelApplyFans";
panelApplyFans.Size = new Size(806, 116);
@@ -473,7 +473,7 @@ namespace GHelper
panelSliders.MinimumSize = new Size(530, 0);
panelSliders.Name = "panelSliders";
panelSliders.Padding = new Padding(10, 0, 0, 0);
- panelSliders.Size = new Size(530, 2023);
+ panelSliders.Size = new Size(530, 2119);
panelSliders.TabIndex = 13;
//
// panelAdvanced
@@ -490,7 +490,7 @@ namespace GHelper
panelAdvanced.Dock = DockStyle.Top;
panelAdvanced.Location = new Point(10, 1284);
panelAdvanced.Name = "panelAdvanced";
- panelAdvanced.Size = new Size(520, 778);
+ panelAdvanced.Size = new Size(520, 840);
panelAdvanced.TabIndex = 14;
panelAdvanced.Visible = false;
//
@@ -499,7 +499,7 @@ namespace GHelper
panelAdvancedApply.Controls.Add(checkApplyUV);
panelAdvancedApply.Controls.Add(buttonApplyAdvanced);
panelAdvancedApply.Dock = DockStyle.Top;
- panelAdvancedApply.Location = new Point(0, 702);
+ panelAdvancedApply.Location = new Point(0, 764);
panelAdvancedApply.Name = "panelAdvancedApply";
panelAdvancedApply.Size = new Size(520, 76);
panelAdvancedApply.TabIndex = 47;
@@ -541,10 +541,10 @@ namespace GHelper
labelRisky.Dock = DockStyle.Top;
labelRisky.ForeColor = SystemColors.ControlLightLight;
labelRisky.Location = new Point(0, 504);
- labelRisky.Margin = new Padding(0, 0, 0, 0);
+ labelRisky.Margin = new Padding(0);
labelRisky.Name = "labelRisky";
labelRisky.Padding = new Padding(10, 10, 10, 5);
- labelRisky.Size = new Size(520, 220);
+ labelRisky.Size = new Size(520, 260);
labelRisky.TabIndex = 46;
labelRisky.Text = resources.GetString("labelRisky.Text");
//
@@ -1368,7 +1368,7 @@ namespace GHelper
AutoScaleMode = AutoScaleMode.Dpi;
AutoSize = true;
AutoSizeMode = AutoSizeMode.GrowAndShrink;
- ClientSize = new Size(1350, 2023);
+ ClientSize = new Size(1350, 2119);
Controls.Add(panelFans);
Controls.Add(panelSliders);
Margin = new Padding(4, 2, 4, 2);
diff --git a/app/Fans.cs b/app/Fans.cs
index ffcabe4a..ef1fa6e6 100644
--- a/app/Fans.cs
+++ b/app/Fans.cs
@@ -53,6 +53,8 @@ namespace GHelper
labelGPUTempTitle.Text = Properties.Strings.GPUTempTarget;
labelRisky.Text = Properties.Strings.UndervoltingRisky;
+ buttonApplyAdvanced.Text = Properties.Strings.Apply;
+ checkApplyUV.Text = Properties.Strings.AutoApply;
InitTheme(true);
@@ -848,7 +850,7 @@ namespace GHelper
AppConfig.SetMode("cpu_temp", -1);
modeControl.ResetPerformanceMode();
-
+
if (Program.acpi.IsXGConnected()) AsusUSB.ResetXGM();
diff --git a/app/Mode/ModeControl.cs b/app/Mode/ModeControl.cs
index 69bd6de6..4ae35510 100644
--- a/app/Mode/ModeControl.cs
+++ b/app/Mode/ModeControl.cs
@@ -210,6 +210,7 @@ namespace GHelper.Mode
timer.Dispose();
if (applyPower) SetPower();
+ Thread.Sleep(1000);
SetGPUPower();
AutoRyzen();
};
diff --git a/app/Properties/Strings.Designer.cs b/app/Properties/Strings.Designer.cs
index e5ba1ab9..8e2dcc7d 100644
--- a/app/Properties/Strings.Designer.cs
+++ b/app/Properties/Strings.Designer.cs
@@ -150,6 +150,15 @@ namespace GHelper.Properties {
}
}
+ ///
+ /// Looks up a localized string similar to Apply.
+ ///
+ internal static string Apply {
+ get {
+ return ResourceManager.GetString("Apply", resourceCulture);
+ }
+ }
+
///
/// Looks up a localized string similar to Apply Custom Fan Curve.
///
@@ -258,6 +267,15 @@ namespace GHelper.Properties {
}
}
+ ///
+ /// Looks up a localized string similar to Auto Apply.
+ ///
+ internal static string AutoApply {
+ get {
+ return ResourceManager.GetString("AutoApply", resourceCulture);
+ }
+ }
+
///
/// Looks up a localized string similar to Auto.
///
@@ -295,7 +313,7 @@ namespace GHelper.Properties {
}
///
- /// Looks up a localized string similar to Backlight timeout when plugged (0 - always on).
+ /// Looks up a localized string similar to Backlight timeout when plugged in (0 - always on).
///
internal static string BacklightTimeoutPlugged {
get {
@@ -439,7 +457,7 @@ namespace GHelper.Properties {
}
///
- /// Looks up a localized string similar to Disables dGPU for battery savings.
+ /// Looks up a localized string similar to Disables dGPU to save battery.
///
internal static string EcoGPUTooltip {
get {
@@ -457,7 +475,7 @@ namespace GHelper.Properties {
}
///
- /// Looks up a localized string similar to Disabling the dGPU by going to Eco mode while Display Mode in NVIDIA Control Panel is not set to Optimus might cause problems with brightness controls until after the next reboot.
+ /// Looks up a localized string similar to Disabling the dGPU by going into Eco mode while Display Mode in NVIDIA Control Panel is not set to Optimus might cause problems with brightness controls until after the next reboot.
///
///Do you still want to continue?.
///
@@ -990,7 +1008,7 @@ namespace GHelper.Properties {
}
///
- /// Looks up a localized string similar to Power Limits is experimental feature. Use carefully and on your own risk!.
+ /// Looks up a localized string similar to Power Limits is an experimental feature. Use carefully and at your own risk!.
///
internal static string PPTExperimental {
get {
@@ -1017,7 +1035,7 @@ namespace GHelper.Properties {
}
///
- /// Looks up a localized string similar to Something is using dGPU and preventing Eco mode. Restart dGPU in device manager? * Please proceed on your own risk..
+ /// Looks up a localized string similar to Something is using dGPU and preventing Eco mode. Restart dGPU in device manager? * Please proceed at your own risk..
///
internal static string RestartGPU {
get {
@@ -1224,7 +1242,7 @@ namespace GHelper.Properties {
}
///
- /// Looks up a localized string similar to Undervolting is experimental and risky feature. If applied values are too low for your hardware, it can become unstable, shut down or cause data corruption. If you want to try - start from small values first, click Apply and test what works for you..
+ /// Looks up a localized string similar to Undervolting is an experimental and risky feature. If applied values are too low for your hardware, it can become unstable, shut down or cause data corruption. If you want to try - start from small values first, click Apply and test what works for you..
///
internal static string UndervoltingRisky {
get {
diff --git a/app/Properties/Strings.it.resx b/app/Properties/Strings.it.resx
index b7104671..4bc29803 100644
--- a/app/Properties/Strings.it.resx
+++ b/app/Properties/Strings.it.resx
@@ -148,7 +148,7 @@
G-Helper è già in esecuzione. Controlla il system tray per una icona.
- Applica una Curva Ventola personalizzata
+ Applica una Curva Ventola
Applica limiti di alimentazione
@@ -156,7 +156,7 @@
Regolazione automatica del Risparmio Energetico
-
+
Servizi Asus in Esecuzione
@@ -192,11 +192,11 @@
In uso
-
+
Timeout retroilluminazione quando non in carica
- Timeout retroilluminazione quando in carica (0 - sempre accesa)
+ Timeout retroilluminazione quando in carica (0 - accesa)
Bilanciato
@@ -209,7 +209,7 @@
Avvio
-
+
Luminosità
@@ -264,7 +264,7 @@ Sei sicuro di voler continuare?
Impostazioni aggiuntive
- Impostazioni predefinite
+ Predefinite
Curve Ventola
@@ -389,7 +389,7 @@ Sei sicuro di voler continuare?
Multizona
-
+
Muta microfono
@@ -417,7 +417,7 @@ Sei sicuro di voler continuare?
Overdrive
- Modalità Performance
+ Modalità
Immagine / Gif
diff --git a/app/Properties/Strings.resx b/app/Properties/Strings.resx
index 5f64cc9e..30284929 100644
--- a/app/Properties/Strings.resx
+++ b/app/Properties/Strings.resx
@@ -147,6 +147,9 @@
G-Helper is already running. Check system tray for an icon.
+
+ Apply
+
Apply Custom Fan Curve
@@ -183,6 +186,9 @@
Strobe
+
+ Auto Apply
+
Auto
@@ -333,7 +339,7 @@ Do you still want to continue?
Lower backlight brightness on battery and back when plugged
- Stops all apps using GPU when switching to Eco
+ Stop all apps using GPU when switching to Eco
Laptop Backlight
diff --git a/app/Properties/Strings.uk.resx b/app/Properties/Strings.uk.resx
index 4ff5430e..54e3755c 100644
--- a/app/Properties/Strings.uk.resx
+++ b/app/Properties/Strings.uk.resx
@@ -147,6 +147,9 @@
G-Helper вже запущено. Перевірте значок у системному лотку.
+
+ Застосувати
+
Застосувати профілі кулерів
@@ -183,6 +186,9 @@
Стробоскоп
+
+ Автоматично
+
Авто
@@ -459,6 +465,9 @@
Ультімейт
+
+ Undervolting є експериментальним. Якщо значення занизькі для вашого CPU, це може спричинити нестабільність, припинити роботу або пошкодити дані. Якщо хочете спробувати - почніть з малих значень, натисніть «Застосувати» та перевірте, чи стабільно все працює.
+
Оновлення