From c9fc3e788a713808a3a64fe67461344baafb9b67 Mon Sep 17 00:00:00 2001
From: Serge <5920850+seerge@users.noreply.github.com>
Date: Tue, 25 Jul 2023 20:25:07 +0200
Subject: [PATCH 1/4] Div by zero fix
---
app/HardwareControl.cs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/app/HardwareControl.cs b/app/HardwareControl.cs
index 92a64ee4..69f0147f 100644
--- a/app/HardwareControl.cs
+++ b/app/HardwareControl.cs
@@ -161,7 +161,7 @@ public static class HardwareControl
}
ReadFullChargeCapacity();
- if (designCapacity is null || fullCapacity is null)
+ if (designCapacity is null || fullCapacity is null || designCapacity == 0 || fullCapacity == 0)
{
return -1;
}
From b1a9bfe68d2eb28654f5794634529e9f2ee5ac5d Mon Sep 17 00:00:00 2001
From: Serge <5920850+seerge@users.noreply.github.com>
Date: Tue, 25 Jul 2023 22:01:03 +0200
Subject: [PATCH 2/4] G14 2020 Extra fix
---
app/Settings.cs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/app/Settings.cs b/app/Settings.cs
index e85bf3a0..b1394cad 100644
--- a/app/Settings.cs
+++ b/app/Settings.cs
@@ -631,7 +631,7 @@ namespace GHelper
if (AppConfig.ContainsModel("GA401I"))
{
- panelKeyboard.Visible = false;
+ comboKeyboard.Visible = false;
}
VisualiseAura();
From 4f337a7100f1a897bbd801b443188bca0d1202b6 Mon Sep 17 00:00:00 2001
From: Serge <5920850+seerge@users.noreply.github.com>
Date: Tue, 25 Jul 2023 22:03:23 +0200
Subject: [PATCH 3/4] New translations Strings.resx (Spanish)
---
app/Properties/Strings.es.resx | 46 +++++++++++++++++-----------------
1 file changed, 23 insertions(+), 23 deletions(-)
diff --git a/app/Properties/Strings.es.resx b/app/Properties/Strings.es.resx
index b1c8e8ac..e577924d 100644
--- a/app/Properties/Strings.es.resx
+++ b/app/Properties/Strings.es.resx
@@ -163,22 +163,22 @@
Servicios de Asus en ejecución
- Battery State
+ Estado de la batería
Respiración
- Clockwise
+ Sentido horario
Ciclo de color
- Comet
+ Cometa
- Counterclockwise
+ Sentido anti-horario
Rápido
@@ -190,10 +190,10 @@
Arcoíris
- Random
+ Aleatorio
- React
+ Sensible
Lento
@@ -285,7 +285,7 @@
Modo de Pantalla NVIDIA no está configurado en Optimus
- Energy Settings
+ Ajustes de energía
Adicional
@@ -354,7 +354,7 @@
Temperatura objetivo
- High
+ Alto
Atajos de teclado
@@ -381,13 +381,13 @@
Barra de luz
- Lighting
+ Encendiendo
Logo
- Low
+ Bajo
Visualizador de audio
@@ -423,28 +423,28 @@
Frecuencia de actualización de 60Hz para ahorrar batería
- Minute
+ Minuto
- Minutes
+ Minutos
- Angle Snapping
+ Ajuste de ángulo
- Auto Power Off After
+ Auto-apagar tras
- Lift Off Distance
+ Distancia de despegue (LOD)
- Low Battery Warning at
+ Aviso de batería baja al
- Performance
+ Rendimiento
- Synchronize with mouse
+ Sincronizar con el ratón
Multizona
@@ -453,7 +453,7 @@
Silenciar micrófono
- Never
+ Nunca
Nuevas actualizaciones
@@ -462,7 +462,7 @@
No hay actualizaciones
- Not Connected
+ No conectado
Abrir ventana G-Helper
@@ -486,7 +486,7 @@
Modo
- Peripherals
+ Periféricos
Imagen / Gif
@@ -495,7 +495,7 @@
Reproducir / Pausar
- Polling Rate
+ Velocidad de respuesta
Límites de energía
@@ -507,7 +507,7 @@
Capturar pantalla
- Profile
+ Perfil
Quitar
From 243e307f0a861398c250e0d993e6ff7922ac4ec8 Mon Sep 17 00:00:00 2001
From: Serge <5920850+seerge@users.noreply.github.com>
Date: Tue, 25 Jul 2023 23:04:52 +0200
Subject: [PATCH 4/4] New translations Strings.resx (Spanish)
---
app/Properties/Strings.es.resx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/app/Properties/Strings.es.resx b/app/Properties/Strings.es.resx
index e577924d..52a94cc1 100644
--- a/app/Properties/Strings.es.resx
+++ b/app/Properties/Strings.es.resx
@@ -381,7 +381,7 @@
Barra de luz
- Encendiendo
+ Iluminación
Logo