From 9d73362ab9b86179bf2b404d03e53155c8ebacad Mon Sep 17 00:00:00 2001
From: Taiizor <41683699+Taiizor@users.noreply.github.com>
Date: Thu, 4 Apr 2024 02:23:02 +0300
Subject: [PATCH] Migrating from SignalT to PipeT
---
.../Sucrose.Resources/Locales/Locale.xaml | 44 +++++++++----------
.../Locales/Portal/Enum/Portal.Enum.CS.xaml | 3 ++
.../Locales/Portal/Enum/Portal.Enum.DA.xaml | 3 ++
.../Locales/Portal/Enum/Portal.Enum.DE.xaml | 3 ++
.../Locales/Portal/Enum/Portal.Enum.EL.xaml | 3 ++
.../Locales/Portal/Enum/Portal.Enum.EN.xaml | 3 ++
.../Locales/Portal/Enum/Portal.Enum.ES.xaml | 3 ++
.../Locales/Portal/Enum/Portal.Enum.FR.xaml | 3 ++
.../Locales/Portal/Enum/Portal.Enum.HI.xaml | 3 ++
.../Locales/Portal/Enum/Portal.Enum.ID.xaml | 3 ++
.../Locales/Portal/Enum/Portal.Enum.IT.xaml | 3 ++
.../Locales/Portal/Enum/Portal.Enum.JA.xaml | 3 ++
.../Locales/Portal/Enum/Portal.Enum.KO.xaml | 3 ++
.../Locales/Portal/Enum/Portal.Enum.MS.xaml | 3 ++
.../Locales/Portal/Enum/Portal.Enum.NB.xaml | 3 ++
.../Locales/Portal/Enum/Portal.Enum.NL.xaml | 3 ++
.../Locales/Portal/Enum/Portal.Enum.PL.xaml | 3 ++
.../Locales/Portal/Enum/Portal.Enum.PT.xaml | 3 ++
.../Locales/Portal/Enum/Portal.Enum.RO.xaml | 3 ++
.../Locales/Portal/Enum/Portal.Enum.RU.xaml | 3 ++
.../Locales/Portal/Enum/Portal.Enum.SV.xaml | 3 ++
.../Locales/Portal/Enum/Portal.Enum.TR.xaml | 3 ++
.../Locales/Portal/Enum/Portal.Enum.UK.xaml | 3 ++
.../Locales/Portal/Enum/Portal.Enum.ZH.xaml | 3 ++
.../Portal.PerformanceSettingPage.CS.xaml | 3 ++
.../Portal.PerformanceSettingPage.DA.xaml | 3 ++
.../Portal.PerformanceSettingPage.DE.xaml | 3 ++
.../Portal.PerformanceSettingPage.EL.xaml | 3 ++
.../Portal.PerformanceSettingPage.EN.xaml | 5 ++-
.../Portal.PerformanceSettingPage.ES.xaml | 3 ++
.../Portal.PerformanceSettingPage.FR.xaml | 3 ++
.../Portal.PerformanceSettingPage.HI.xaml | 6 ++-
.../Portal.PerformanceSettingPage.ID.xaml | 3 ++
.../Portal.PerformanceSettingPage.IT.xaml | 5 ++-
.../Portal.PerformanceSettingPage.JA.xaml | 3 ++
.../Portal.PerformanceSettingPage.KO.xaml | 5 ++-
.../Portal.PerformanceSettingPage.MS.xaml | 3 ++
.../Portal.PerformanceSettingPage.NB.xaml | 5 ++-
.../Portal.PerformanceSettingPage.NL.xaml | 5 ++-
.../Portal.PerformanceSettingPage.PL.xaml | 3 ++
.../Portal.PerformanceSettingPage.PT.xaml | 3 ++
.../Portal.PerformanceSettingPage.RO.xaml | 5 ++-
.../Portal.PerformanceSettingPage.RU.xaml | 5 ++-
.../Portal.PerformanceSettingPage.SV.xaml | 5 ++-
.../Portal.PerformanceSettingPage.TR.xaml | 3 ++
.../Portal.PerformanceSettingPage.UK.xaml | 5 ++-
.../Portal.PerformanceSettingPage.ZH.xaml | 3 ++
src/Portal/Sucrose.Portal/Manage/Manager.cs | 2 +-
.../Setting/PerformanceSettingViewModel.cs | 40 ++++++++++++++++-
49 files changed, 210 insertions(+), 35 deletions(-)
diff --git a/src/Library/Sucrose.Resources/Locales/Locale.xaml b/src/Library/Sucrose.Resources/Locales/Locale.xaml
index 9f2dcf7ac..b49d6a8ab 100644
--- a/src/Library/Sucrose.Resources/Locales/Locale.xaml
+++ b/src/Library/Sucrose.Resources/Locales/Locale.xaml
@@ -2,27 +2,27 @@
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:system="clr-namespace:System;assembly=mscorlib">
- Čeština (v0.4)
- Dansk (v0.4)
- Deutsch (v0.6)
- Ελληνική (v0.4)
- English (v0.8)
- Español (v0.6)
- Français (v0.6)
- हिन्दी (v0.4)
- Indonesia (v0.3)
- Italiano (v0.4)
- 日本語 (v0.4)
- 한국어 (v0.4)
- Melayu (v0.3)
- Norsk (v0.4)
- Nederlands (v0.4)
- Polski (v0.6)
- Português (v0.3)
- Română (v0.4)
- Русский (v0.4)
- Svenska (v0.4)
+ Čeština (v0.5)
+ Dansk (v0.5)
+ Deutsch (v0.7)
+ Ελληνική (v0.5)
+ English (v0.9)
+ Español (v0.7)
+ Français (v0.7)
+ हिन्दी (v0.5)
+ Indonesia (v0.4)
+ Italiano (v0.5)
+ 日本語 (v0.5)
+ 한국어 (v0.5)
+ Melayu (v0.4)
+ Norsk (v0.5)
+ Nederlands (v0.5)
+ Polski (v0.7)
+ Português (v0.4)
+ Română (v0.5)
+ Русский (v0.5)
+ Svenska (v0.5)
Türkçe (v0.9)
- Українська (v0.4)
- 中文 (v0.4)
+ Українська (v0.5)
+ 中文 (v0.5)
\ No newline at end of file
diff --git a/src/Library/Sucrose.Resources/Locales/Portal/Enum/Portal.Enum.CS.xaml b/src/Library/Sucrose.Resources/Locales/Portal/Enum/Portal.Enum.CS.xaml
index d600e2992..307e56129 100644
--- a/src/Library/Sucrose.Resources/Locales/Portal/Enum/Portal.Enum.CS.xaml
+++ b/src/Library/Sucrose.Resources/Locales/Portal/Enum/Portal.Enum.CS.xaml
@@ -17,6 +17,9 @@
Rovnoměrný
Rovnoměrně vyplnit
+ Pipe
+ Signal
+
Zavřít
Pozastavit
Pokračovat
diff --git a/src/Library/Sucrose.Resources/Locales/Portal/Enum/Portal.Enum.DA.xaml b/src/Library/Sucrose.Resources/Locales/Portal/Enum/Portal.Enum.DA.xaml
index 248db564e..f3254f4a6 100644
--- a/src/Library/Sucrose.Resources/Locales/Portal/Enum/Portal.Enum.DA.xaml
+++ b/src/Library/Sucrose.Resources/Locales/Portal/Enum/Portal.Enum.DA.xaml
@@ -17,6 +17,9 @@
Uniform
Uniform til fyld
+ Pipe
+ Signal
+
Luk
Pause
Fortsæt
diff --git a/src/Library/Sucrose.Resources/Locales/Portal/Enum/Portal.Enum.DE.xaml b/src/Library/Sucrose.Resources/Locales/Portal/Enum/Portal.Enum.DE.xaml
index c1c7f0edd..011484eb0 100644
--- a/src/Library/Sucrose.Resources/Locales/Portal/Enum/Portal.Enum.DE.xaml
+++ b/src/Library/Sucrose.Resources/Locales/Portal/Enum/Portal.Enum.DE.xaml
@@ -17,6 +17,9 @@
Uniform
Uniform Auffüllen
+ Pipe
+ Signal
+
Schließen
Anhalten
Fortsetzen
diff --git a/src/Library/Sucrose.Resources/Locales/Portal/Enum/Portal.Enum.EL.xaml b/src/Library/Sucrose.Resources/Locales/Portal/Enum/Portal.Enum.EL.xaml
index 76ded007a..21d8716d3 100644
--- a/src/Library/Sucrose.Resources/Locales/Portal/Enum/Portal.Enum.EL.xaml
+++ b/src/Library/Sucrose.Resources/Locales/Portal/Enum/Portal.Enum.EL.xaml
@@ -17,6 +17,9 @@
Ομοιόμορφη
Ομοιόμορφο Γέμισμα
+ Pipe
+ Signal
+
Κλείσιμο
Παύση
Συνέχιση
diff --git a/src/Library/Sucrose.Resources/Locales/Portal/Enum/Portal.Enum.EN.xaml b/src/Library/Sucrose.Resources/Locales/Portal/Enum/Portal.Enum.EN.xaml
index 1678f6beb..d94b6bc57 100644
--- a/src/Library/Sucrose.Resources/Locales/Portal/Enum/Portal.Enum.EN.xaml
+++ b/src/Library/Sucrose.Resources/Locales/Portal/Enum/Portal.Enum.EN.xaml
@@ -17,6 +17,9 @@
Uniform
Uniform to Fill
+ Pipe
+ Signal
+
Close
Pause
Resume
diff --git a/src/Library/Sucrose.Resources/Locales/Portal/Enum/Portal.Enum.ES.xaml b/src/Library/Sucrose.Resources/Locales/Portal/Enum/Portal.Enum.ES.xaml
index 8c42e2791..3dcaa0ccc 100644
--- a/src/Library/Sucrose.Resources/Locales/Portal/Enum/Portal.Enum.ES.xaml
+++ b/src/Library/Sucrose.Resources/Locales/Portal/Enum/Portal.Enum.ES.xaml
@@ -17,6 +17,9 @@
Uniforme
Uniforme Para Rellenar
+ Pipe
+ Signal
+
Cerrar
Pausar
Reanudar
diff --git a/src/Library/Sucrose.Resources/Locales/Portal/Enum/Portal.Enum.FR.xaml b/src/Library/Sucrose.Resources/Locales/Portal/Enum/Portal.Enum.FR.xaml
index e52ab2d6c..27cbcafc0 100644
--- a/src/Library/Sucrose.Resources/Locales/Portal/Enum/Portal.Enum.FR.xaml
+++ b/src/Library/Sucrose.Resources/Locales/Portal/Enum/Portal.Enum.FR.xaml
@@ -17,6 +17,9 @@
Uniforme
Uniformément Pour Remplir
+ Pipe
+ Signal
+
Fermer
Mettre en Pause
Reprendre
diff --git a/src/Library/Sucrose.Resources/Locales/Portal/Enum/Portal.Enum.HI.xaml b/src/Library/Sucrose.Resources/Locales/Portal/Enum/Portal.Enum.HI.xaml
index a24419b2e..a01d7186d 100644
--- a/src/Library/Sucrose.Resources/Locales/Portal/Enum/Portal.Enum.HI.xaml
+++ b/src/Library/Sucrose.Resources/Locales/Portal/Enum/Portal.Enum.HI.xaml
@@ -17,6 +17,9 @@
समानानुपातिक
समानानुपातिक भरना
+ Pipe
+ Signal
+
बंद करें
रोकें
जारी रखें
diff --git a/src/Library/Sucrose.Resources/Locales/Portal/Enum/Portal.Enum.ID.xaml b/src/Library/Sucrose.Resources/Locales/Portal/Enum/Portal.Enum.ID.xaml
index b41999fc9..dc977ac6c 100644
--- a/src/Library/Sucrose.Resources/Locales/Portal/Enum/Portal.Enum.ID.xaml
+++ b/src/Library/Sucrose.Resources/Locales/Portal/Enum/Portal.Enum.ID.xaml
@@ -17,6 +17,9 @@
Seragam
Seragam Untuk Isi
+ Pipe
+ Signal
+
Tutup
Berhenti
Lanjutkan
diff --git a/src/Library/Sucrose.Resources/Locales/Portal/Enum/Portal.Enum.IT.xaml b/src/Library/Sucrose.Resources/Locales/Portal/Enum/Portal.Enum.IT.xaml
index d9d08655d..3d96db0c5 100644
--- a/src/Library/Sucrose.Resources/Locales/Portal/Enum/Portal.Enum.IT.xaml
+++ b/src/Library/Sucrose.Resources/Locales/Portal/Enum/Portal.Enum.IT.xaml
@@ -17,6 +17,9 @@
Uniforme
Uniforme con Riempimento
+ Pipe
+ Signal
+
Chiudi
Pausa
Riprendi
diff --git a/src/Library/Sucrose.Resources/Locales/Portal/Enum/Portal.Enum.JA.xaml b/src/Library/Sucrose.Resources/Locales/Portal/Enum/Portal.Enum.JA.xaml
index 6c28d39ce..287c684ef 100644
--- a/src/Library/Sucrose.Resources/Locales/Portal/Enum/Portal.Enum.JA.xaml
+++ b/src/Library/Sucrose.Resources/Locales/Portal/Enum/Portal.Enum.JA.xaml
@@ -17,6 +17,9 @@
均等
均等にフィル
+ Pipe
+ Signal
+
閉じる
一時停止
再開
diff --git a/src/Library/Sucrose.Resources/Locales/Portal/Enum/Portal.Enum.KO.xaml b/src/Library/Sucrose.Resources/Locales/Portal/Enum/Portal.Enum.KO.xaml
index 52738d547..975762fe1 100644
--- a/src/Library/Sucrose.Resources/Locales/Portal/Enum/Portal.Enum.KO.xaml
+++ b/src/Library/Sucrose.Resources/Locales/Portal/Enum/Portal.Enum.KO.xaml
@@ -17,6 +17,9 @@
균일하게
균일하게 채우기
+ Pipe
+ Signal
+
닫기
일시 정지
재개
diff --git a/src/Library/Sucrose.Resources/Locales/Portal/Enum/Portal.Enum.MS.xaml b/src/Library/Sucrose.Resources/Locales/Portal/Enum/Portal.Enum.MS.xaml
index 070c8557d..10ebcb01b 100644
--- a/src/Library/Sucrose.Resources/Locales/Portal/Enum/Portal.Enum.MS.xaml
+++ b/src/Library/Sucrose.Resources/Locales/Portal/Enum/Portal.Enum.MS.xaml
@@ -17,6 +17,9 @@
Seragam
Seragam Untuk Isi
+ Pipe
+ Signal
+
Tutup
Berhenti
Sambung
diff --git a/src/Library/Sucrose.Resources/Locales/Portal/Enum/Portal.Enum.NB.xaml b/src/Library/Sucrose.Resources/Locales/Portal/Enum/Portal.Enum.NB.xaml
index 3f34cd4dc..56a3ab33a 100644
--- a/src/Library/Sucrose.Resources/Locales/Portal/Enum/Portal.Enum.NB.xaml
+++ b/src/Library/Sucrose.Resources/Locales/Portal/Enum/Portal.Enum.NB.xaml
@@ -17,6 +17,9 @@
Uniform
Uniform for å fylle
+ Pipe
+ Signal
+
Lukk
Pause
Fortsett
diff --git a/src/Library/Sucrose.Resources/Locales/Portal/Enum/Portal.Enum.NL.xaml b/src/Library/Sucrose.Resources/Locales/Portal/Enum/Portal.Enum.NL.xaml
index 892416159..0bbda3202 100644
--- a/src/Library/Sucrose.Resources/Locales/Portal/Enum/Portal.Enum.NL.xaml
+++ b/src/Library/Sucrose.Resources/Locales/Portal/Enum/Portal.Enum.NL.xaml
@@ -17,6 +17,9 @@
Uniform
Uniform Vullen
+ Pipe
+ Signal
+
Sluiten
Pauzeren
Hervatten
diff --git a/src/Library/Sucrose.Resources/Locales/Portal/Enum/Portal.Enum.PL.xaml b/src/Library/Sucrose.Resources/Locales/Portal/Enum/Portal.Enum.PL.xaml
index c434661b9..7d3b9bb4f 100644
--- a/src/Library/Sucrose.Resources/Locales/Portal/Enum/Portal.Enum.PL.xaml
+++ b/src/Library/Sucrose.Resources/Locales/Portal/Enum/Portal.Enum.PL.xaml
@@ -17,6 +17,9 @@
Jednolite
Jednolite Wypełnianie
+ Pipe
+ Signal
+
Zamknij
Wstrzymaj
Wznów
diff --git a/src/Library/Sucrose.Resources/Locales/Portal/Enum/Portal.Enum.PT.xaml b/src/Library/Sucrose.Resources/Locales/Portal/Enum/Portal.Enum.PT.xaml
index f03b3ae24..d272085ce 100644
--- a/src/Library/Sucrose.Resources/Locales/Portal/Enum/Portal.Enum.PT.xaml
+++ b/src/Library/Sucrose.Resources/Locales/Portal/Enum/Portal.Enum.PT.xaml
@@ -17,6 +17,9 @@
Uniforme
Preencher Uniformemente
+ Pipe
+ Signal
+
Fechar
Pausar
Continuar
diff --git a/src/Library/Sucrose.Resources/Locales/Portal/Enum/Portal.Enum.RO.xaml b/src/Library/Sucrose.Resources/Locales/Portal/Enum/Portal.Enum.RO.xaml
index a876bca45..bea661e90 100644
--- a/src/Library/Sucrose.Resources/Locales/Portal/Enum/Portal.Enum.RO.xaml
+++ b/src/Library/Sucrose.Resources/Locales/Portal/Enum/Portal.Enum.RO.xaml
@@ -17,6 +17,9 @@
Uniform
Uniform pentru a umple
+ Pipe
+ Signal
+
Închide
Pauză
Reia
diff --git a/src/Library/Sucrose.Resources/Locales/Portal/Enum/Portal.Enum.RU.xaml b/src/Library/Sucrose.Resources/Locales/Portal/Enum/Portal.Enum.RU.xaml
index 8a5c27af2..a615fbdf2 100644
--- a/src/Library/Sucrose.Resources/Locales/Portal/Enum/Portal.Enum.RU.xaml
+++ b/src/Library/Sucrose.Resources/Locales/Portal/Enum/Portal.Enum.RU.xaml
@@ -17,6 +17,9 @@
Пропорционально
Заполнить с сохранением пропорций
+ Pipe
+ Signal
+
Закрыть
Пауза
Возобновить
diff --git a/src/Library/Sucrose.Resources/Locales/Portal/Enum/Portal.Enum.SV.xaml b/src/Library/Sucrose.Resources/Locales/Portal/Enum/Portal.Enum.SV.xaml
index db375c86d..77746a390 100644
--- a/src/Library/Sucrose.Resources/Locales/Portal/Enum/Portal.Enum.SV.xaml
+++ b/src/Library/Sucrose.Resources/Locales/Portal/Enum/Portal.Enum.SV.xaml
@@ -17,6 +17,9 @@
Uniform
Uniform att fylla
+ Pipe
+ Signal
+
Stäng
Pausa
Återuppta
diff --git a/src/Library/Sucrose.Resources/Locales/Portal/Enum/Portal.Enum.TR.xaml b/src/Library/Sucrose.Resources/Locales/Portal/Enum/Portal.Enum.TR.xaml
index 300f78bd6..73d5046bc 100644
--- a/src/Library/Sucrose.Resources/Locales/Portal/Enum/Portal.Enum.TR.xaml
+++ b/src/Library/Sucrose.Resources/Locales/Portal/Enum/Portal.Enum.TR.xaml
@@ -17,6 +17,9 @@
Orantılı
Orantılı Doldur
+ Pipe
+ Signal
+
Kapat
Durdur
Sürdür
diff --git a/src/Library/Sucrose.Resources/Locales/Portal/Enum/Portal.Enum.UK.xaml b/src/Library/Sucrose.Resources/Locales/Portal/Enum/Portal.Enum.UK.xaml
index dbff61123..fa6bf0c40 100644
--- a/src/Library/Sucrose.Resources/Locales/Portal/Enum/Portal.Enum.UK.xaml
+++ b/src/Library/Sucrose.Resources/Locales/Portal/Enum/Portal.Enum.UK.xaml
@@ -17,6 +17,9 @@
Пропорційно
Пропорційно заповнити
+ Pipe
+ Signal
+
Закрити
Пауза
Продовжити
diff --git a/src/Library/Sucrose.Resources/Locales/Portal/Enum/Portal.Enum.ZH.xaml b/src/Library/Sucrose.Resources/Locales/Portal/Enum/Portal.Enum.ZH.xaml
index 673fdc167..78b825fdd 100644
--- a/src/Library/Sucrose.Resources/Locales/Portal/Enum/Portal.Enum.ZH.xaml
+++ b/src/Library/Sucrose.Resources/Locales/Portal/Enum/Portal.Enum.ZH.xaml
@@ -17,6 +17,9 @@
均匀
均匀填充
+ Pipe
+ Signal
+
关闭
暂停
继续
diff --git a/src/Library/Sucrose.Resources/Locales/Portal/SettingPage/PerformanceSettingPage/Portal.PerformanceSettingPage.CS.xaml b/src/Library/Sucrose.Resources/Locales/Portal/SettingPage/PerformanceSettingPage/Portal.PerformanceSettingPage.CS.xaml
index b9e26fa2f..11bc36838 100644
--- a/src/Library/Sucrose.Resources/Locales/Portal/SettingPage/PerformanceSettingPage/Portal.PerformanceSettingPage.CS.xaml
+++ b/src/Library/Sucrose.Resources/Locales/Portal/SettingPage/PerformanceSettingPage/Portal.PerformanceSettingPage.CS.xaml
@@ -9,6 +9,9 @@
Poznámka: Některá témata typu Web nemusí fungovat správně a žádné z následujících nastavení výkonu nebude fungovat.
+ Typ Komunikace
+ Určuje způsob odesílání zpráv tématům typu Web.
+
Využití CPU
Určuje, jaký bude výsledek duhovky v závislosti na nastavení využití CPU.
diff --git a/src/Library/Sucrose.Resources/Locales/Portal/SettingPage/PerformanceSettingPage/Portal.PerformanceSettingPage.DA.xaml b/src/Library/Sucrose.Resources/Locales/Portal/SettingPage/PerformanceSettingPage/Portal.PerformanceSettingPage.DA.xaml
index e3ac1cbc1..cab254e3e 100644
--- a/src/Library/Sucrose.Resources/Locales/Portal/SettingPage/PerformanceSettingPage/Portal.PerformanceSettingPage.DA.xaml
+++ b/src/Library/Sucrose.Resources/Locales/Portal/SettingPage/PerformanceSettingPage/Portal.PerformanceSettingPage.DA.xaml
@@ -9,6 +9,9 @@
Bemærk: Nogle webbaserede temaer fungerer muligvis ikke korrekt, og ingen af de følgende ydelsesindstillinger vil fungere.
+ Kommunikationstype
+ Afgør metoden til at sende beskeder til temaer af typen Web.
+
CPU-brug
Hvad der skal ske med tapetet baseret på dine CPU-brugsindstillinger.
diff --git a/src/Library/Sucrose.Resources/Locales/Portal/SettingPage/PerformanceSettingPage/Portal.PerformanceSettingPage.DE.xaml b/src/Library/Sucrose.Resources/Locales/Portal/SettingPage/PerformanceSettingPage/Portal.PerformanceSettingPage.DE.xaml
index 11501b3b0..887542723 100644
--- a/src/Library/Sucrose.Resources/Locales/Portal/SettingPage/PerformanceSettingPage/Portal.PerformanceSettingPage.DE.xaml
+++ b/src/Library/Sucrose.Resources/Locales/Portal/SettingPage/PerformanceSettingPage/Portal.PerformanceSettingPage.DE.xaml
@@ -9,6 +9,9 @@
Hinweis: Einige Webbasierte Wallpaper funktionieren möglicherweise nicht ordnungsgemäß, und keine der unten aufgeführten Leistungseinstellungen wird funktionieren.
+ Kommunikationstyp
+ Bestimmt die Methode zum Senden von Nachrichten an Themen des Typs Web.
+
CPU-Auslastung
Was mit dem Hintergrundbild basierend auf Ihren CPU-Auslastungseinstellungen passiert.
diff --git a/src/Library/Sucrose.Resources/Locales/Portal/SettingPage/PerformanceSettingPage/Portal.PerformanceSettingPage.EL.xaml b/src/Library/Sucrose.Resources/Locales/Portal/SettingPage/PerformanceSettingPage/Portal.PerformanceSettingPage.EL.xaml
index ec9ded3df..4f68b498b 100644
--- a/src/Library/Sucrose.Resources/Locales/Portal/SettingPage/PerformanceSettingPage/Portal.PerformanceSettingPage.EL.xaml
+++ b/src/Library/Sucrose.Resources/Locales/Portal/SettingPage/PerformanceSettingPage/Portal.PerformanceSettingPage.EL.xaml
@@ -9,6 +9,9 @@
Σημείωση: Ορισμένα θέματα τύπου Web ενδέχεται να μην λειτουργούν σωστά και καμία από τις παρακάτω ρυθμίσεις απόδοσης δεν θα ισχύσει.
+ Τύπος Επικοινωνίας
+ Καθορίζει τη μέθοδο αποστολής μηνυμάτων σε θέματα τύπου Web.
+
Χρήση Επεξεργαστή
Πώς θα επηρεάσει η ρύθμιση της χρήσης του επεξεργαστή το ταπετσαρία.
diff --git a/src/Library/Sucrose.Resources/Locales/Portal/SettingPage/PerformanceSettingPage/Portal.PerformanceSettingPage.EN.xaml b/src/Library/Sucrose.Resources/Locales/Portal/SettingPage/PerformanceSettingPage/Portal.PerformanceSettingPage.EN.xaml
index d19e90670..c1cbf00b7 100644
--- a/src/Library/Sucrose.Resources/Locales/Portal/SettingPage/PerformanceSettingPage/Portal.PerformanceSettingPage.EN.xaml
+++ b/src/Library/Sucrose.Resources/Locales/Portal/SettingPage/PerformanceSettingPage/Portal.PerformanceSettingPage.EN.xaml
@@ -7,7 +7,10 @@
Performance Counters
Whether all performance counters should run in the background.
- Note: Some Web-themed wallpapers may not work properly, and none of the performance settings below will work.
+ Note: Some Web themed wallpapers may not work properly, and none of the performance settings below will work.
+
+ Communication Type
+ Determines the method of sending messages to themes of type Web.
Processor Usage
What happens to the wallpaper based on your processor usage settings.
diff --git a/src/Library/Sucrose.Resources/Locales/Portal/SettingPage/PerformanceSettingPage/Portal.PerformanceSettingPage.ES.xaml b/src/Library/Sucrose.Resources/Locales/Portal/SettingPage/PerformanceSettingPage/Portal.PerformanceSettingPage.ES.xaml
index 1497888e2..48a071cd6 100644
--- a/src/Library/Sucrose.Resources/Locales/Portal/SettingPage/PerformanceSettingPage/Portal.PerformanceSettingPage.ES.xaml
+++ b/src/Library/Sucrose.Resources/Locales/Portal/SettingPage/PerformanceSettingPage/Portal.PerformanceSettingPage.ES.xaml
@@ -9,6 +9,9 @@
Nota: Algunos fondos de pantalla con temas Web pueden no funcionar correctamente, y ninguno de los ajustes de rendimiento a continuación funcionará.
+ Tipo de Comunicación
+ Determina el método de envío de mensajes a temas de tipo Web.
+
Uso de CPU
Qué sucede con el fondo de pantalla según la configuración de uso de CPU.
diff --git a/src/Library/Sucrose.Resources/Locales/Portal/SettingPage/PerformanceSettingPage/Portal.PerformanceSettingPage.FR.xaml b/src/Library/Sucrose.Resources/Locales/Portal/SettingPage/PerformanceSettingPage/Portal.PerformanceSettingPage.FR.xaml
index 817802129..48858ce66 100644
--- a/src/Library/Sucrose.Resources/Locales/Portal/SettingPage/PerformanceSettingPage/Portal.PerformanceSettingPage.FR.xaml
+++ b/src/Library/Sucrose.Resources/Locales/Portal/SettingPage/PerformanceSettingPage/Portal.PerformanceSettingPage.FR.xaml
@@ -9,6 +9,9 @@
Remarque: Certaines images d'arrière-plan à thème Web peuvent ne pas fonctionner correctement, et aucun des paramètres de performance ci-dessous ne fonctionnera.
+ Type de Communication
+ Détermine la méthode d'envoi de messages aux thèmes de type Web.
+
Utilisation du Processeur
Ce qui se passe avec l'arrière-plan en fonction de vos paramètres d'utilisation du processeur.
diff --git a/src/Library/Sucrose.Resources/Locales/Portal/SettingPage/PerformanceSettingPage/Portal.PerformanceSettingPage.HI.xaml b/src/Library/Sucrose.Resources/Locales/Portal/SettingPage/PerformanceSettingPage/Portal.PerformanceSettingPage.HI.xaml
index 29cc542f7..17c917e00 100644
--- a/src/Library/Sucrose.Resources/Locales/Portal/SettingPage/PerformanceSettingPage/Portal.PerformanceSettingPage.HI.xaml
+++ b/src/Library/Sucrose.Resources/Locales/Portal/SettingPage/PerformanceSettingPage/Portal.PerformanceSettingPage.HI.xaml
@@ -6,7 +6,11 @@
प्रदर्शन गणनाओं
सभी प्रदर्शन गणनाओं का पृष्ठांतरण करना चाहिए या नहीं।
- नोट: कुछ वेब थीम्स सही तरीके से काम नहीं कर सकती हैं और निम्नलिखित प्रदर्शन सेटिंग्स का कोई भी काम नहीं कर सकता है।
+
+ नोट: कुछ Web थीम्स सही तरीके से काम नहीं कर सकती हैं और निम्नलिखित प्रदर्शन सेटिंग्स का कोई भी काम नहीं कर सकता है।
+
+ संचार प्रकार
+ Web प्रकार के थीम्स को संदेश भेजने का तरीका निर्धारित करता है।
सीपीयू उपयोग
सीपीयू उपयोग सेटिंग्स के परिणामस्वरूप वॉलपेपर पर क्या होने वाला है।
diff --git a/src/Library/Sucrose.Resources/Locales/Portal/SettingPage/PerformanceSettingPage/Portal.PerformanceSettingPage.ID.xaml b/src/Library/Sucrose.Resources/Locales/Portal/SettingPage/PerformanceSettingPage/Portal.PerformanceSettingPage.ID.xaml
index d05719575..a565f9ad7 100644
--- a/src/Library/Sucrose.Resources/Locales/Portal/SettingPage/PerformanceSettingPage/Portal.PerformanceSettingPage.ID.xaml
+++ b/src/Library/Sucrose.Resources/Locales/Portal/SettingPage/PerformanceSettingPage/Portal.PerformanceSettingPage.ID.xaml
@@ -9,6 +9,9 @@
Catatan: Beberapa tema berjenis Web mungkin tidak berfungsi dengan baik, dan tidak satu pun dari pengaturan kinerja di bawah ini akan berfungsi.
+ Jenis Komunikasi
+ Menentukan metode pengiriman pesan ke tema-tema tipe Web.
+
Penggunaan CPU
Hasil pengaturan penggunaan CPU akan memengaruhi apa yang terjadi pada wallpaper.
diff --git a/src/Library/Sucrose.Resources/Locales/Portal/SettingPage/PerformanceSettingPage/Portal.PerformanceSettingPage.IT.xaml b/src/Library/Sucrose.Resources/Locales/Portal/SettingPage/PerformanceSettingPage/Portal.PerformanceSettingPage.IT.xaml
index 942bddd34..33f1dc6df 100644
--- a/src/Library/Sucrose.Resources/Locales/Portal/SettingPage/PerformanceSettingPage/Portal.PerformanceSettingPage.IT.xaml
+++ b/src/Library/Sucrose.Resources/Locales/Portal/SettingPage/PerformanceSettingPage/Portal.PerformanceSettingPage.IT.xaml
@@ -7,7 +7,10 @@
Contatori di Prestazioni
Se i contatori di prestazioni devono funzionare in background o meno.
- Nota: Alcuni temi di tipo web potrebbero non funzionare correttamente e nessuna delle seguenti impostazioni di prestazioni avrà effetto.
+ Nota: Alcuni temi di tipo Web potrebbero non funzionare correttamente e nessuna delle seguenti impostazioni di prestazioni avrà effetto.
+
+ Tipo di Comunicazione
+ Determina il metodo di invio dei messaggi ai temi di tipo Web.
Utilizzo della CPU
Cosa dovrebbe accadere al wallpaper in base alle tue impostazioni di utilizzo della CPU.
diff --git a/src/Library/Sucrose.Resources/Locales/Portal/SettingPage/PerformanceSettingPage/Portal.PerformanceSettingPage.JA.xaml b/src/Library/Sucrose.Resources/Locales/Portal/SettingPage/PerformanceSettingPage/Portal.PerformanceSettingPage.JA.xaml
index 89fb82b04..9472bcda2 100644
--- a/src/Library/Sucrose.Resources/Locales/Portal/SettingPage/PerformanceSettingPage/Portal.PerformanceSettingPage.JA.xaml
+++ b/src/Library/Sucrose.Resources/Locales/Portal/SettingPage/PerformanceSettingPage/Portal.PerformanceSettingPage.JA.xaml
@@ -9,6 +9,9 @@
注意: 一部のWebベースのテーマは正しく動作しない場合があり、以下のパフォーマンス設定は機能しない場合があります。
+ 通信タイプ
+ Web タイプのテーマにメッセージを送信する方法を決定します。
+
CPU 使用率
CPU 使用率の設定による壁紙の動作。
diff --git a/src/Library/Sucrose.Resources/Locales/Portal/SettingPage/PerformanceSettingPage/Portal.PerformanceSettingPage.KO.xaml b/src/Library/Sucrose.Resources/Locales/Portal/SettingPage/PerformanceSettingPage/Portal.PerformanceSettingPage.KO.xaml
index 738ca752c..535eea47e 100644
--- a/src/Library/Sucrose.Resources/Locales/Portal/SettingPage/PerformanceSettingPage/Portal.PerformanceSettingPage.KO.xaml
+++ b/src/Library/Sucrose.Resources/Locales/Portal/SettingPage/PerformanceSettingPage/Portal.PerformanceSettingPage.KO.xaml
@@ -7,7 +7,10 @@
성능 카운터
모든 성능 카운터가 백그라운드에서 작동할지 여부.
- 참고: 일부 웹 기반 테마는 제대로 작동하지 않을 수 있으며 다음 성능 설정 중 어느 하나도 작동하지 않을 것입니다.
+ 참고: 일부 Web 기반 테마는 제대로 작동하지 않을 수 있으며 다음 성능 설정 중 어느 하나도 작동하지 않을 것입니다.
+
+ 통신 유형
+ Web 타입의 테마에 메시지를 보내는 방법을 결정합니다.
CPU 사용률
CPU 사용률 설정에 따라 배경화면이 어떻게 작동할지.
diff --git a/src/Library/Sucrose.Resources/Locales/Portal/SettingPage/PerformanceSettingPage/Portal.PerformanceSettingPage.MS.xaml b/src/Library/Sucrose.Resources/Locales/Portal/SettingPage/PerformanceSettingPage/Portal.PerformanceSettingPage.MS.xaml
index 57394dd78..7bb70ddf8 100644
--- a/src/Library/Sucrose.Resources/Locales/Portal/SettingPage/PerformanceSettingPage/Portal.PerformanceSettingPage.MS.xaml
+++ b/src/Library/Sucrose.Resources/Locales/Portal/SettingPage/PerformanceSettingPage/Portal.PerformanceSettingPage.MS.xaml
@@ -9,6 +9,9 @@
Nota: Sesetengah tema jenis Web mungkin tidak berfungsi dengan baik, dan tiada pengaturan prestasi di bawah akan berfungsi.
+ Jenis Komunikasi
+ Menentukan kaedah penghantaran mesej kepada tema-tema jenis Web.
+
Penggunaan CPU
Apa yang akan berlaku pada dinding semasa tetapan penggunaan CPU anda.
diff --git a/src/Library/Sucrose.Resources/Locales/Portal/SettingPage/PerformanceSettingPage/Portal.PerformanceSettingPage.NB.xaml b/src/Library/Sucrose.Resources/Locales/Portal/SettingPage/PerformanceSettingPage/Portal.PerformanceSettingPage.NB.xaml
index 36bfd945a..ed1224fd6 100644
--- a/src/Library/Sucrose.Resources/Locales/Portal/SettingPage/PerformanceSettingPage/Portal.PerformanceSettingPage.NB.xaml
+++ b/src/Library/Sucrose.Resources/Locales/Portal/SettingPage/PerformanceSettingPage/Portal.PerformanceSettingPage.NB.xaml
@@ -7,7 +7,10 @@
Ytelsesmålere
Om alle ytelsesmålerne skal kjøre i bakgrunnen.
- Merk: Noen webbaserte temaer kan kanskje ikke fungere skikkelig, og ingen av følgende ytelsesinnstillinger vil være aktive.
+ Merk: Noen Webbaserte temaer kan kanskje ikke fungere skikkelig, og ingen av følgende ytelsesinnstillinger vil være aktive.
+
+ Kommunikasjonstype
+ Bestemmer metoden for å sende meldinger til temaer av typen Web.
CPU-bruk
Hvordan tapetet skal reagere på dine CPU-bruksinnstillinger.
diff --git a/src/Library/Sucrose.Resources/Locales/Portal/SettingPage/PerformanceSettingPage/Portal.PerformanceSettingPage.NL.xaml b/src/Library/Sucrose.Resources/Locales/Portal/SettingPage/PerformanceSettingPage/Portal.PerformanceSettingPage.NL.xaml
index 0aa5f71ff..952805cd0 100644
--- a/src/Library/Sucrose.Resources/Locales/Portal/SettingPage/PerformanceSettingPage/Portal.PerformanceSettingPage.NL.xaml
+++ b/src/Library/Sucrose.Resources/Locales/Portal/SettingPage/PerformanceSettingPage/Portal.PerformanceSettingPage.NL.xaml
@@ -7,7 +7,10 @@
Prestatie Tellers
Of alle prestatietellers op de achtergrond werken.
- Opmerking: Sommige web-gebaseerde thema's werken mogelijk niet correct en geen van de onderstaande prestatie-instellingen zal van toepassing zijn.
+ Opmerking: Sommige Web-gebaseerde thema's werken mogelijk niet correct en geen van de onderstaande prestatie-instellingen zal van toepassing zijn.
+
+ Communicatietype
+ Bepaalt de methode om berichten te verzenden naar thema's van het type Web.
CPU-gebruik
Het effect van uw CPU-gebruiksinstellingen op de achtergrondafbeelding.
diff --git a/src/Library/Sucrose.Resources/Locales/Portal/SettingPage/PerformanceSettingPage/Portal.PerformanceSettingPage.PL.xaml b/src/Library/Sucrose.Resources/Locales/Portal/SettingPage/PerformanceSettingPage/Portal.PerformanceSettingPage.PL.xaml
index 4c4671048..f80542af7 100644
--- a/src/Library/Sucrose.Resources/Locales/Portal/SettingPage/PerformanceSettingPage/Portal.PerformanceSettingPage.PL.xaml
+++ b/src/Library/Sucrose.Resources/Locales/Portal/SettingPage/PerformanceSettingPage/Portal.PerformanceSettingPage.PL.xaml
@@ -9,6 +9,9 @@
Uwaga: Niektóre tapety o tematyce Web mogą nie działać poprawnie, i żadne z poniższych ustawień wydajności nie będzie działać.
+ Typ Komunikacji
+ Określa metodę wysyłania wiadomości do motywów typu Web.
+
Użycie CPU
Co dzieje się z tapetą na podstawie ustawień użycia CPU.
diff --git a/src/Library/Sucrose.Resources/Locales/Portal/SettingPage/PerformanceSettingPage/Portal.PerformanceSettingPage.PT.xaml b/src/Library/Sucrose.Resources/Locales/Portal/SettingPage/PerformanceSettingPage/Portal.PerformanceSettingPage.PT.xaml
index db993a33f..629e5eb6b 100644
--- a/src/Library/Sucrose.Resources/Locales/Portal/SettingPage/PerformanceSettingPage/Portal.PerformanceSettingPage.PT.xaml
+++ b/src/Library/Sucrose.Resources/Locales/Portal/SettingPage/PerformanceSettingPage/Portal.PerformanceSettingPage.PT.xaml
@@ -9,6 +9,9 @@
Nota: Alguns temas do tipo Web podem não funcionar corretamente e nenhuma das configurações de desempenho abaixo terá efeito.
+ Tipo de Comunicação
+ Determina o método de envio de mensagens para temas do tipo Web.
+
Uso da CPU
O que acontecerá com o papel de parede com base nas configurações de uso da CPU.
diff --git a/src/Library/Sucrose.Resources/Locales/Portal/SettingPage/PerformanceSettingPage/Portal.PerformanceSettingPage.RO.xaml b/src/Library/Sucrose.Resources/Locales/Portal/SettingPage/PerformanceSettingPage/Portal.PerformanceSettingPage.RO.xaml
index 3a573b5d7..93ce0bf04 100644
--- a/src/Library/Sucrose.Resources/Locales/Portal/SettingPage/PerformanceSettingPage/Portal.PerformanceSettingPage.RO.xaml
+++ b/src/Library/Sucrose.Resources/Locales/Portal/SettingPage/PerformanceSettingPage/Portal.PerformanceSettingPage.RO.xaml
@@ -7,7 +7,10 @@
Contoare de Performanță
Dacă toate contoarele de performanță vor funcționa în fundal.
- Notă: Unele teme de tip web pot să nu funcționeze corect și niciuna dintre următoarele setări de performanță nu va funcționa.
+ Notă: Unele teme de tip Web pot să nu funcționeze corect și niciuna dintre următoarele setări de performanță nu va funcționa.
+
+ Tip de Comunicare
+ Determină metoda de trimitere a mesajelor către temele de tip Web.
Utilizare Procesor
Ce se întâmplă cu fundalul temei dvs. în funcție de setările de utilizare a procesorului.
diff --git a/src/Library/Sucrose.Resources/Locales/Portal/SettingPage/PerformanceSettingPage/Portal.PerformanceSettingPage.RU.xaml b/src/Library/Sucrose.Resources/Locales/Portal/SettingPage/PerformanceSettingPage/Portal.PerformanceSettingPage.RU.xaml
index f89776ff0..a67c47536 100644
--- a/src/Library/Sucrose.Resources/Locales/Portal/SettingPage/PerformanceSettingPage/Portal.PerformanceSettingPage.RU.xaml
+++ b/src/Library/Sucrose.Resources/Locales/Portal/SettingPage/PerformanceSettingPage/Portal.PerformanceSettingPage.RU.xaml
@@ -7,7 +7,10 @@
Счетчики производительности
Определяет, будут ли счетчики производительности работать в фоновом режиме.
- Примечание: Некоторые темы типа "Веб" могут не работать корректно, и ни один из нижеприведенных параметров производительности не будет работать.
+ Примечание: Некоторые темы типа Web могут не работать корректно, и ни один из нижеприведенных параметров производительности не будет работать.
+
+ Тип коммуникации
+ Определяет метод отправки сообщений темам типа Web.
Использование ЦП
Определяет влияние ваших настроек использования процессора на обои.
diff --git a/src/Library/Sucrose.Resources/Locales/Portal/SettingPage/PerformanceSettingPage/Portal.PerformanceSettingPage.SV.xaml b/src/Library/Sucrose.Resources/Locales/Portal/SettingPage/PerformanceSettingPage/Portal.PerformanceSettingPage.SV.xaml
index 30bd7c38e..2bea19074 100644
--- a/src/Library/Sucrose.Resources/Locales/Portal/SettingPage/PerformanceSettingPage/Portal.PerformanceSettingPage.SV.xaml
+++ b/src/Library/Sucrose.Resources/Locales/Portal/SettingPage/PerformanceSettingPage/Portal.PerformanceSettingPage.SV.xaml
@@ -7,7 +7,10 @@
Prestandamätare
Om alla prestandamätare ska köra i bakgrunden.
- Obs: Vissa webbaserade teman kan fungera dåligt, och ingen av följande prestandainställningar kommer att användas.
+ Obs: Vissa Webbaserade teman kan fungera dåligt, och ingen av följande prestandainställningar kommer att användas.
+
+ Kommunikationstyp
+ Bestämmer metod för att skicka meddelanden till teman av typen Web.
CPU-användning
Din CPU-användningsinställning kommer att påverka vad som händer med bakgrundsbilden.
diff --git a/src/Library/Sucrose.Resources/Locales/Portal/SettingPage/PerformanceSettingPage/Portal.PerformanceSettingPage.TR.xaml b/src/Library/Sucrose.Resources/Locales/Portal/SettingPage/PerformanceSettingPage/Portal.PerformanceSettingPage.TR.xaml
index 21640c20b..b8ec23871 100644
--- a/src/Library/Sucrose.Resources/Locales/Portal/SettingPage/PerformanceSettingPage/Portal.PerformanceSettingPage.TR.xaml
+++ b/src/Library/Sucrose.Resources/Locales/Portal/SettingPage/PerformanceSettingPage/Portal.PerformanceSettingPage.TR.xaml
@@ -9,6 +9,9 @@
Not: Bazı Web türündeki temalar düzgün çalışmayabilir ve aşağıdaki performans ayarlarının hiç birisi çalışmayacaktır.
+ İletişim Türü
+ Web türündeki temalara iletilecek olan mesajların yollanma türünü belirler.
+
İşlemci Kullanımı
İşlemci kullanımı ayarlarınız sonucunda duvar kağıdına ne olacağı.
diff --git a/src/Library/Sucrose.Resources/Locales/Portal/SettingPage/PerformanceSettingPage/Portal.PerformanceSettingPage.UK.xaml b/src/Library/Sucrose.Resources/Locales/Portal/SettingPage/PerformanceSettingPage/Portal.PerformanceSettingPage.UK.xaml
index 871ad614b..ce1e39b2b 100644
--- a/src/Library/Sucrose.Resources/Locales/Portal/SettingPage/PerformanceSettingPage/Portal.PerformanceSettingPage.UK.xaml
+++ b/src/Library/Sucrose.Resources/Locales/Portal/SettingPage/PerformanceSettingPage/Portal.PerformanceSettingPage.UK.xaml
@@ -7,7 +7,10 @@
Показники продуктивності
Чи працюватимуть всі показники продуктивності у фоновому режимі.
- Примітка: Деякі теми веб-сайтів можуть працювати не належним чином, і жоден із наступних параметрів продуктивності не буде працювати.
+ Примітка: Деякі теми Web-сайтів можуть працювати не належним чином, і жоден із наступних параметрів продуктивності не буде працювати.
+
+ Тип комунікації
+ Визначає метод надсилання повідомлень темам типу Web.
Використання процесора
Як використання процесора впливає на робочий стіл.
diff --git a/src/Library/Sucrose.Resources/Locales/Portal/SettingPage/PerformanceSettingPage/Portal.PerformanceSettingPage.ZH.xaml b/src/Library/Sucrose.Resources/Locales/Portal/SettingPage/PerformanceSettingPage/Portal.PerformanceSettingPage.ZH.xaml
index 6b85a97fe..50cb7393b 100644
--- a/src/Library/Sucrose.Resources/Locales/Portal/SettingPage/PerformanceSettingPage/Portal.PerformanceSettingPage.ZH.xaml
+++ b/src/Library/Sucrose.Resources/Locales/Portal/SettingPage/PerformanceSettingPage/Portal.PerformanceSettingPage.ZH.xaml
@@ -9,6 +9,9 @@
注意:某些Web类型的主题可能无法正常工作,下面的性能设置将不起作用。
+ 通信类型
+ 确定将消息发送到 Web 类型主题的方法。
+
CPU使用率
根据您的CPU使用设置,将影响壁纸。
diff --git a/src/Portal/Sucrose.Portal/Manage/Manager.cs b/src/Portal/Sucrose.Portal/Manage/Manager.cs
index c12e64708..b746cab70 100644
--- a/src/Portal/Sucrose.Portal/Manage/Manager.cs
+++ b/src/Portal/Sucrose.Portal/Manage/Manager.cs
@@ -8,12 +8,12 @@
using SMMI = Sucrose.Manager.Manage.Internal;
using SSCECT = Sucrose.Shared.Core.Enum.ChannelType;
using SSCEUT = Sucrose.Shared.Core.Enum.UpdateType;
+using SSDECT = Sucrose.Shared.Dependency.Enum.CommunicationType;
using SSDEDT = Sucrose.Shared.Dependency.Enum.DisplayType;
using SSDEPT = Sucrose.Shared.Dependency.Enum.PerformanceType;
using SSDESKT = Sucrose.Shared.Dependency.Enum.SortKindType;
using SSDESMT = Sucrose.Shared.Dependency.Enum.SortModeType;
using SSDEST = Sucrose.Shared.Dependency.Enum.StretchType;
-using SSDECT = Sucrose.Shared.Dependency.Enum.CommunicationType;
using SWHWT = Skylark.Wing.Helper.WindowsTheme;
namespace Sucrose.Portal.Manage
diff --git a/src/Portal/Sucrose.Portal/ViewModels/Pages/Setting/PerformanceSettingViewModel.cs b/src/Portal/Sucrose.Portal/ViewModels/Pages/Setting/PerformanceSettingViewModel.cs
index e2ed7d9df..15317c4c4 100644
--- a/src/Portal/Sucrose.Portal/ViewModels/Pages/Setting/PerformanceSettingViewModel.cs
+++ b/src/Portal/Sucrose.Portal/ViewModels/Pages/Setting/PerformanceSettingViewModel.cs
@@ -11,7 +11,8 @@
using SPMM = Sucrose.Portal.Manage.Manager;
using SPVCEC = Sucrose.Portal.Views.Controls.ExpanderCard;
using SRER = Sucrose.Resources.Extension.Resources;
-using SSDECT = Sucrose.Shared.Dependency.Enum.CommandsType;
+using SSDECNT = Sucrose.Shared.Dependency.Enum.CommunicationType;
+using SSDECST = Sucrose.Shared.Dependency.Enum.CommandsType;
using SSDEPT = Sucrose.Shared.Dependency.Enum.PerformanceType;
using SSDSHS = Sucrose.Shared.Dependency.Struct.HostStruct;
using SSSHN = Sucrose.Shared.Space.Helper.Network;
@@ -84,6 +85,31 @@ private void InitializeViewModel()
Contents.Add(Counter);
+ SPVCEC Communication = new()
+ {
+ Expandable = false,
+ Margin = new Thickness(0, 10, 0, 0)
+ };
+
+ Communication.LeftIcon.Symbol = SymbolRegular.Communication24;
+ Communication.Title.Text = SRER.GetValue("Portal", "PerformanceSettingPage", "Communication");
+ Communication.Description.Text = SRER.GetValue("Portal", "PerformanceSettingPage", "Communication", "Description");
+
+ ComboBox CommunicationType = new();
+
+ CommunicationType.SelectionChanged += (s, e) => CommunicationTypeSelected(CommunicationType.SelectedIndex);
+
+ foreach (SSDECNT Type in Enum.GetValues(typeof(SSDECNT)))
+ {
+ CommunicationType.Items.Add(SRER.GetValue("Portal", "Enum", "CommunicationType", $"{Type}"));
+ }
+
+ CommunicationType.SelectedIndex = (int)SPMM.CommunicationType;
+
+ Communication.HeaderFrame = CommunicationType;
+
+ Contents.Add(Communication);
+
TextBlock SystemResourcesArea = new()
{
Foreground = SRER.GetResource("TextFillColorPrimaryBrush"),
@@ -778,6 +804,16 @@ private void FocusPerformanceSelected(int Index)
}
}
+ private void CommunicationTypeSelected(int Index)
+ {
+ if (Index != (int)SPMM.CommunicationType)
+ {
+ SSDECNT Type = (SSDECNT)Index;
+
+ SMMI.BackgroundogSettingManager.SetSetting(SMC.CommunicationType, Type);
+ }
+ }
+
private void RemotePerformanceSelected(int Index)
{
if (Index != (int)SPMM.RemotePerformance)
@@ -892,7 +928,7 @@ private void CounterStateChecked(SPVCEC Battery, bool State)
if (State)
{
- SSSHP.Run(SSSMI.Commandog, $"{SMR.StartCommand}{SSDECT.Backgroundog}{SMR.ValueSeparator}{SSSMI.Backgroundog}");
+ SSSHP.Run(SSSMI.Commandog, $"{SMR.StartCommand}{SSDECST.Backgroundog}{SMR.ValueSeparator}{SSSMI.Backgroundog}");
}
else
{