diff --git a/app/Properties/Strings.de.resx b/app/Properties/Strings.de.resx index f6193027..2a219081 100644 --- a/app/Properties/Strings.de.resx +++ b/app/Properties/Strings.de.resx @@ -117,6 +117,9 @@ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + Beschleunigung + Verbindung zu ASUS ACPI fehlgeschlagen. G-Helper kann nicht ausgeführt werden. Bitte installiere ASUS System Control Interface. @@ -276,6 +279,9 @@ Benutzerdefiniert + + Verlangsamung + Standard @@ -375,7 +381,7 @@ Trotzdem fortfahren? Maximale GPU Temperatur - Minutes till Hibernation in sleep on battery (0 - OFF) + Minuten bis zum Ruhezustand im Standby (0 = Aus) Hoch @@ -540,7 +546,7 @@ Trotzdem fortfahren? Schließen - Something is using dGPU and preventing Eco mode. Let G-Helper try to restart dGPU in device manager? (Please proceed at your own risk) + Ein Prozess verhindert den Wechsel in den Eco-Modus. dGPU neu starten? Fortfahren auf eigene Gefahr. U/Min diff --git a/app/Properties/Strings.es.resx b/app/Properties/Strings.es.resx index f0ce2787..15ac3d1c 100644 --- a/app/Properties/Strings.es.resx +++ b/app/Properties/Strings.es.resx @@ -117,6 +117,9 @@ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + Aceleración + No se pudo conectar con ASUS ACPI. La aplicación no puede funcionar sin el recurso. Instale Asus System Control Interface @@ -276,6 +279,9 @@ Personalizado + + Desaceleración + Por defecto diff --git a/app/Properties/Strings.fr.resx b/app/Properties/Strings.fr.resx index 68be1521..0383feee 100644 --- a/app/Properties/Strings.fr.resx +++ b/app/Properties/Strings.fr.resx @@ -117,6 +117,9 @@ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + Acceleration + Connexion impossible avec ASUS ACPI. L'application ne peut fonctionner sans. Veuillez installer Asus System Control Interface @@ -276,6 +279,9 @@ Personnalisé + + Deceleration + Par défaut diff --git a/app/Properties/Strings.hu.resx b/app/Properties/Strings.hu.resx index ef088885..6c2f40c0 100644 --- a/app/Properties/Strings.hu.resx +++ b/app/Properties/Strings.hu.resx @@ -117,6 +117,9 @@ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + Acceleration + Nem sikerült csatlakozni az ASUS ACPI-hez, az alkalmazás nem működik enélkül. Próbáld meg telepíteni az ASUS rendszervezérlő interfész-t @@ -276,6 +279,9 @@ Egyéni + + Deceleration + Alapért. diff --git a/app/Properties/Strings.it.resx b/app/Properties/Strings.it.resx index 0678c806..9928d88f 100644 --- a/app/Properties/Strings.it.resx +++ b/app/Properties/Strings.it.resx @@ -117,8 +117,11 @@ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + Accelerazione + - Impossibile connettersi ad ASUS ACPI. Senza di essa l'applicazione non può funzionare. Prova a installare Asus Satem Contro Interfacce + Impossibile connettersi ad ASUS ACPI. Senza di essa l'applicazione non può funzionare. Prova ad installare Asus System Control Interface Uso intensivo della GPU, disabilitare? @@ -276,6 +279,9 @@ Personalizzato + + Decelerazione + Default diff --git a/app/Properties/Strings.ko.resx b/app/Properties/Strings.ko.resx index 47ae726e..b9e6a8c3 100644 --- a/app/Properties/Strings.ko.resx +++ b/app/Properties/Strings.ko.resx @@ -117,6 +117,9 @@ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + Acceleration + ASUS ACPI에 연결할 수 없어 응용 프로그램이 작동하지 않습니다. Asus System Control Interface를 먼저 설치하십시오. @@ -276,6 +279,9 @@ 사용자 설정 + + Deceleration + 기본 diff --git a/app/Properties/Strings.lt.resx b/app/Properties/Strings.lt.resx index 63c8df39..1a23b564 100644 --- a/app/Properties/Strings.lt.resx +++ b/app/Properties/Strings.lt.resx @@ -117,6 +117,9 @@ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + Greitėjimas + Nepavyko prisijungti prie ASUS ACPI. Programėlė be jo negali veikti. Pabandykite įdiegti Asus System Control Interface @@ -276,6 +279,9 @@ Tinkintas + + Lėtėjimas + Numatytas diff --git a/app/Properties/Strings.pl.resx b/app/Properties/Strings.pl.resx index 1205d248..17fa278d 100644 --- a/app/Properties/Strings.pl.resx +++ b/app/Properties/Strings.pl.resx @@ -117,6 +117,9 @@ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + Acceleration + Nie można odnaleźć sterownika ASUS ACPI. Aplikacja nie może bez niego funkcjonować. Spróbuj zainstalować Asus System Control Interface @@ -276,6 +279,9 @@ Niestandardowy + + Deceleration + Domyślny diff --git a/app/Properties/Strings.pt.resx b/app/Properties/Strings.pt.resx index 091118ce..25f52afb 100644 --- a/app/Properties/Strings.pt.resx +++ b/app/Properties/Strings.pt.resx @@ -117,6 +117,9 @@ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + Acceleration + Não foi possível conectar ao ASUS ACPI. O applicativo não pode funcionar sem isso. Tente instalar Asus System Controle Interface @@ -276,6 +279,9 @@ Personalizado + + Deceleration + Padrão diff --git a/app/Properties/Strings.ro.resx b/app/Properties/Strings.ro.resx index e048a6ef..001cb95e 100644 --- a/app/Properties/Strings.ro.resx +++ b/app/Properties/Strings.ro.resx @@ -117,6 +117,9 @@ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + Acceleration + Nu se poate conecta la ASUS ACPI. Aplicația nu poate funcționa fără aceasta. Încercați să instalați Asus System Control Interface @@ -276,6 +279,9 @@ Personalizat + + Deceleration + Implicit diff --git a/app/Properties/Strings.tr.resx b/app/Properties/Strings.tr.resx index c989a06e..49851baa 100644 --- a/app/Properties/Strings.tr.resx +++ b/app/Properties/Strings.tr.resx @@ -117,6 +117,9 @@ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + Acceleration + ASUS ACPI'ye bağlanılamıyor. Uygulama o olmadan çalışamaz. Asus Sistem Kontrol Arayüzü'nü yüklemeyi deneyin. @@ -276,6 +279,9 @@ Özel + + Deceleration + Varsayılan diff --git a/app/Properties/Strings.uk.resx b/app/Properties/Strings.uk.resx index 0195c138..816bd92d 100644 --- a/app/Properties/Strings.uk.resx +++ b/app/Properties/Strings.uk.resx @@ -117,6 +117,9 @@ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + Acceleration + Не вдається під'єднатися до ASUS ACPI. Програма не може працювати без нього. Спробуйте встановити Asus System Control Interface @@ -276,6 +279,9 @@ Своє + + Deceleration + За замовчуванням diff --git a/app/Properties/Strings.vi.resx b/app/Properties/Strings.vi.resx index a56bdedd..924c7e5f 100644 --- a/app/Properties/Strings.vi.resx +++ b/app/Properties/Strings.vi.resx @@ -117,6 +117,9 @@ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + Gia tốc + Không thể kết nối đến ASUS ACPI. Chương trình cần nó để có thể hoạt động. Hãy thử cài lại Asus System Control Interface @@ -163,28 +166,28 @@ Dịch vụ Asus đang chạy - Battery State + Trạng thái pin Hơi thở - Clockwise + Chiều kim đồng hồ Chuyển màu - Comet + Sao chổi - Counterclockwise + Ngược chiều kim đồng hồ Nhanh - Lighting Mode + Chế độ sáng Bình thường @@ -193,10 +196,10 @@ Cầu vồng - Random + Ngẫu nhiên - React + Phản ứng Chậm @@ -208,7 +211,7 @@ Nhấp nháy - All + Tất cả Dock @@ -241,13 +244,13 @@ Cân bằng - Charge + Sạc Giới hạn sạc - Battery Health + Sức khoẻ pin Cập nhật BIOS và driver @@ -265,7 +268,7 @@ Tăng độ sáng - Charging + Đang sạc Màu @@ -276,6 +279,9 @@ Tuỳ chỉnh + + Giảm tốc + Mặc định @@ -286,7 +292,7 @@ Đang không sạc - Download + Tải xuống Driver và phần mềm diff --git a/app/Properties/Strings.zh-CN.resx b/app/Properties/Strings.zh-CN.resx index 2a928a0b..16e01fde 100644 --- a/app/Properties/Strings.zh-CN.resx +++ b/app/Properties/Strings.zh-CN.resx @@ -117,6 +117,9 @@ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + Acceleration + 无法连接到ASUS ACPI。 没有它应用程序将无法运行。 请尝试安装Asus System Control Interface驱动。 @@ -276,6 +279,9 @@ 自定义设置 + + Deceleration + 默认 @@ -600,7 +606,7 @@ 切换 MiniLED (如果支持) - 切换屏幕 + 关闭屏幕 增强模式 diff --git a/app/Properties/Strings.zh-TW.resx b/app/Properties/Strings.zh-TW.resx index e04279ba..95a55560 100644 --- a/app/Properties/Strings.zh-TW.resx +++ b/app/Properties/Strings.zh-TW.resx @@ -117,6 +117,9 @@ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + Acceleration + 無法連結到華碩 ACPI。 没有它,應用程式將無法執行。 嘗試安裝Asus System Control Interface @@ -235,7 +238,7 @@ 喚醒時 - 超時插入/使用電池 (0 = 不關閉) + 閒置幾秒後關閉燈光:插電時 / 使用電池 (0 = 不關閉) 平衡模式 @@ -276,6 +279,9 @@ 自定義設置 + + Deceleration + 預設 diff --git a/app/UI/CustomControls.cs b/app/UI/CustomControls.cs index cb7cbdc6..32665fd6 100644 --- a/app/UI/CustomControls.cs +++ b/app/UI/CustomControls.cs @@ -62,6 +62,23 @@ namespace GHelper.UI private static bool IsDarkTheme() { + string? uiMode = AppConfig.GetString("ui_mode"); + + if (uiMode is not null && uiMode.ToLower() == "dark") + { + return true; + } + + if (uiMode is not null && uiMode.ToLower() == "light") + { + return false; + } + + if (uiMode is not null && uiMode.ToLower() == "windows") + { + return CheckSystemDarkModeStatus(); + } + using var key = Registry.CurrentUser.OpenSubKey(@"Software\Microsoft\Windows\CurrentVersion\Themes\Personalize"); var registryValueObject = key?.GetValue("AppsUseLightTheme");