diff --git a/manager/app/src/main/java/com/sukisu/ultra/ui/screen/Module.kt b/manager/app/src/main/java/com/sukisu/ultra/ui/screen/Module.kt index 04e5f2d3..f909323c 100644 --- a/manager/app/src/main/java/com/sukisu/ultra/ui/screen/Module.kt +++ b/manager/app/src/main/java/com/sukisu/ultra/ui/screen/Module.kt @@ -400,14 +400,26 @@ fun ModuleScreen(navigator: DestinationsNavigator) { null } - val engine = config?.getWebuiEngine(context) - val selectedEngine = when (engine) { + val globalEngine = prefs.getString("webui_engine", "default") ?: "default" + val moduleEngine = config?.getWebuiEngine(context) + val selectedEngine = when (globalEngine) { "wx" -> wxEngine "ksu" -> ksuEngine - null -> if (prefs.getBoolean("use_webuix", true) && Platform.isAlive) wxEngine else ksuEngine + "default" -> { + when (moduleEngine) { + "wx" -> wxEngine + "ksu" -> ksuEngine + else -> { + if (Platform.isAlive) { + wxEngine + } else { + ksuEngine + } + } + } + } else -> ksuEngine } - webUILauncher.launch(selectedEngine) } catch (e: Exception) { Log.e("ModuleScreen", "Error launching WebUI: ${e.message}", e) diff --git a/manager/app/src/main/java/com/sukisu/ultra/ui/screen/Settings.kt b/manager/app/src/main/java/com/sukisu/ultra/ui/screen/Settings.kt index f7a95802..2209d2b3 100644 --- a/manager/app/src/main/java/com/sukisu/ultra/ui/screen/Settings.kt +++ b/manager/app/src/main/java/com/sukisu/ultra/ui/screen/Settings.kt @@ -65,8 +65,6 @@ import java.time.LocalDateTime import java.time.format.DateTimeFormatter import com.sukisu.ultra.ui.component.KsuIsValid import com.dergoogler.mmrl.platform.Platform -import com.dergoogler.mmrl.ui.component.LabelItem -import com.dergoogler.mmrl.ui.component.text.TextRow @OptIn(ExperimentalMaterial3Api::class) @@ -75,6 +73,13 @@ import com.dergoogler.mmrl.ui.component.text.TextRow fun SettingScreen(navigator: DestinationsNavigator) { val scrollBehavior = TopAppBarDefaults.pinnedScrollBehavior(rememberTopAppBarState()) val snackBarHost = LocalSnackbarHost.current + val context = LocalContext.current + val prefs = context.getSharedPreferences("settings", Context.MODE_PRIVATE) + var selectedEngine by rememberSaveable { + mutableStateOf( + prefs.getString("webui_engine", "default") ?: "default" + ) + } Scaffold( topBar = { @@ -243,23 +248,64 @@ fun SettingScreen(navigator: DestinationsNavigator) { ) } - // Web X 开关 - var useWebUIX by rememberSaveable { - mutableStateOf( - prefs.getBoolean("use_webuix", false) - ) - } + // WebUI引擎选择 KsuIsValid { - SwitchItem( - beta = true, - enabled = Platform.isAlive, + val engineOptions = listOf( + "default" to stringResource(id = R.string.engine_auto_select), + "wx" to stringResource(id = R.string.engine_force_webuix), + "ksu" to stringResource(id = R.string.engine_force_ksu) + ) + + var showEngineDialog by remember { mutableStateOf(false) } + + SettingItem( icon = Icons.Filled.WebAsset, title = stringResource(id = R.string.use_webuix), - summary = stringResource(id = R.string.use_webuix_summary), - checked = useWebUIX - ) { - prefs.edit { putBoolean("use_webuix", it) } - useWebUIX = it + summary = engineOptions.find { it.first == selectedEngine }?.second + ?: stringResource(id = R.string.engine_auto_select), + onClick = { + showEngineDialog = true + } + ) + + if (showEngineDialog) { + AlertDialog( + onDismissRequest = { showEngineDialog = false }, + title = { Text(stringResource(id = R.string.use_webuix)) }, + text = { + Column { + engineOptions.forEach { (value, label) -> + Row( + modifier = Modifier + .fillMaxWidth() + .clickable { + selectedEngine = value + prefs.edit { + putString("webui_engine", value) + } + showEngineDialog = false + } + .padding(vertical = 12.dp), + verticalAlignment = Alignment.CenterVertically + ) { + RadioButton( + selected = selectedEngine == value, + onClick = null + ) + Spacer(modifier = Modifier.width(8.dp)) + Text(text = label) + } + } + } + }, + confirmButton = { + TextButton( + onClick = { showEngineDialog = false } + ) { + Text(stringResource(id = R.string.cancel)) + } + } + ) } } @@ -271,13 +317,13 @@ fun SettingScreen(navigator: DestinationsNavigator) { } KsuIsValid { AnimatedVisibility( - visible = useWebUIX && enableWebDebugging, + visible = enableWebDebugging && selectedEngine == "wx", enter = fadeIn() + expandVertically(), exit = fadeOut() + shrinkVertically() ) { SwitchItem( beta = true, - enabled = Platform.isAlive && useWebUIX && enableWebDebugging, + enabled = Platform.isAlive && enableWebDebugging, icon = Icons.Filled.FormatListNumbered, title = stringResource(id = R.string.use_webuix_eruda), summary = stringResource(id = R.string.use_webuix_eruda_summary), diff --git a/manager/app/src/main/res/values-ar/strings.xml b/manager/app/src/main/res/values-ar/strings.xml index 9101a48f..82c4ac35 100644 --- a/manager/app/src/main/res/values-ar/strings.xml +++ b/manager/app/src/main/res/values-ar/strings.xml @@ -328,8 +328,6 @@ عرض وظيفة KPM عرض معلومات KPM ووظيفتها في الشريط المنزلي والأسفل (تحتاج إلى إعادة فتح التطبيق) - استخدام WebUI X - استخدم WebUI X بدلاً من WebUI ، الذي يدعم المزيد من API. كن على علم بأن المطورين يمكنهم تجاوز هذه الميزة في تكوين وحدتهم. حقن Eruda في WebUI X حقن وحدة التصحيح في WebUI X لجعل تصحيح الأخطاء أسهل. يتطلب تصحيح أخطاء الويب لتكون قيد التشغيل. diff --git a/manager/app/src/main/res/values-az/strings.xml b/manager/app/src/main/res/values-az/strings.xml index 5d40c2c2..e5ec5fc3 100644 --- a/manager/app/src/main/res/values-az/strings.xml +++ b/manager/app/src/main/res/values-az/strings.xml @@ -326,8 +326,6 @@ Display KPM Function Display KPM information and Function in home and bottom bar (Need to reopen the app) - Use WebUI X - Use WebUI X instead of WebUI, which supports more APIs. Be aware that developers can override this feature in their module config. Inject Eruda into WebUI X Inject a debug console into WebUI X to make debugging easier. Requires web debugging to be on. diff --git a/manager/app/src/main/res/values-bs/strings.xml b/manager/app/src/main/res/values-bs/strings.xml index 8cbf63df..dc5cc05b 100644 --- a/manager/app/src/main/res/values-bs/strings.xml +++ b/manager/app/src/main/res/values-bs/strings.xml @@ -326,8 +326,6 @@ Display KPM Function Display KPM information and Function in home and bottom bar (Need to reopen the app) - Use WebUI X - Use WebUI X instead of WebUI, which supports more APIs. Be aware that developers can override this feature in their module config. Inject Eruda into WebUI X Inject a debug console into WebUI X to make debugging easier. Requires web debugging to be on. diff --git a/manager/app/src/main/res/values-da/strings.xml b/manager/app/src/main/res/values-da/strings.xml index 9a1b58c0..7f107f75 100644 --- a/manager/app/src/main/res/values-da/strings.xml +++ b/manager/app/src/main/res/values-da/strings.xml @@ -326,8 +326,7 @@ Display KPM Function Display KPM information and Function in home and bottom bar (Need to reopen the app) - Use WebUI X - Use WebUI X instead of WebUI, which supports more APIs. Be aware that developers can override this feature in their module config. + Inject Eruda into WebUI X Inject a debug console into WebUI X to make debugging easier. Requires web debugging to be on. diff --git a/manager/app/src/main/res/values-de/strings.xml b/manager/app/src/main/res/values-de/strings.xml index 30dd130e..a59624b2 100644 --- a/manager/app/src/main/res/values-de/strings.xml +++ b/manager/app/src/main/res/values-de/strings.xml @@ -328,8 +328,7 @@ KPM-Funktion anzeigen KPM-Informationen und Funktion in der Home- und unteren Leiste anzeigen (muss die App erneut öffnen) - WebUI X verwenden - Verwenden Sie WebUI X anstelle von WebUI, das mehr APIs unterstützt. Seien Sie sich bewusst, dass Entwickler diese Funktion in ihrer Modul-Konfiguration überschreiben können. + Eruda in WebUI X injizieren Fügen Sie eine Debug-Konsole in WebUI X ein, um das Debuggen zu vereinfachen. Benötigt Debugging im WebUI X. diff --git a/manager/app/src/main/res/values-es/strings.xml b/manager/app/src/main/res/values-es/strings.xml index 98b520df..3d8465bb 100644 --- a/manager/app/src/main/res/values-es/strings.xml +++ b/manager/app/src/main/res/values-es/strings.xml @@ -326,8 +326,7 @@ Mostrar función KPM Mostrar información y función KPM en la barra de inicio e inferior (Necesita reabrir la aplicación) - Usar WebUI X - Utilice WebUI X en lugar de WebUI, que soporta más API. Tenga en cuenta que los desarrolladores pueden reemplazar esta característica en su configuración de módulos. + Inyectar Eruda en WebUI X Inyecta una consola de depuración en WebUI X para facilitar la depuración. Requiere que la depuración web esté encendida. diff --git a/manager/app/src/main/res/values-et/strings.xml b/manager/app/src/main/res/values-et/strings.xml index cb483377..727e7749 100644 --- a/manager/app/src/main/res/values-et/strings.xml +++ b/manager/app/src/main/res/values-et/strings.xml @@ -326,8 +326,7 @@ Display KPM Function Display KPM information and Function in home and bottom bar (Need to reopen the app) - Use WebUI X - Use WebUI X instead of WebUI, which supports more APIs. Be aware that developers can override this feature in their module config. + Inject Eruda into WebUI X Inject a debug console into WebUI X to make debugging easier. Requires web debugging to be on. diff --git a/manager/app/src/main/res/values-fa/strings.xml b/manager/app/src/main/res/values-fa/strings.xml index 18ee6edd..ea9e7925 100644 --- a/manager/app/src/main/res/values-fa/strings.xml +++ b/manager/app/src/main/res/values-fa/strings.xml @@ -326,8 +326,7 @@ Display KPM Function Display KPM information and Function in home and bottom bar (Need to reopen the app) - Use WebUI X - Use WebUI X instead of WebUI, which supports more APIs. Be aware that developers can override this feature in their module config. + Inject Eruda into WebUI X Inject a debug console into WebUI X to make debugging easier. Requires web debugging to be on. diff --git a/manager/app/src/main/res/values-fil/strings.xml b/manager/app/src/main/res/values-fil/strings.xml index 8fe84c73..7090263b 100644 --- a/manager/app/src/main/res/values-fil/strings.xml +++ b/manager/app/src/main/res/values-fil/strings.xml @@ -326,8 +326,7 @@ Display KPM Function Display KPM information and Function in home and bottom bar (Need to reopen the app) - Use WebUI X - Use WebUI X instead of WebUI, which supports more APIs. Be aware that developers can override this feature in their module config. + Inject Eruda into WebUI X Inject a debug console into WebUI X to make debugging easier. Requires web debugging to be on. diff --git a/manager/app/src/main/res/values-fr/strings.xml b/manager/app/src/main/res/values-fr/strings.xml index d196e5ec..e984c0bd 100644 --- a/manager/app/src/main/res/values-fr/strings.xml +++ b/manager/app/src/main/res/values-fr/strings.xml @@ -328,8 +328,7 @@ Afficher la fonction KPM Afficher les informations et fonctions KPM dans la barre d\'accueil et du bas (nécessite de rouvrir l\'application) - Utiliser l\'interface Web X - Utilisez WebUI X au lieu de WebUI, qui prend en charge plus d\'API. Sachez que les développeurs peuvent remplacer cette fonctionnalité dans la configuration de leur module. + Injecter Eruda dans WebUI X Injectez une console de débogage dans WebUI X pour faciliter le débogage. Nécessite que le débogage soit activé. diff --git a/manager/app/src/main/res/values-hi/strings.xml b/manager/app/src/main/res/values-hi/strings.xml index bd158f0c..23c3ebb2 100644 --- a/manager/app/src/main/res/values-hi/strings.xml +++ b/manager/app/src/main/res/values-hi/strings.xml @@ -326,8 +326,7 @@ Display KPM Function Display KPM information and Function in home and bottom bar (Need to reopen the app) - Use WebUI X - Use WebUI X instead of WebUI, which supports more APIs. Be aware that developers can override this feature in their module config. + Inject Eruda into WebUI X Inject a debug console into WebUI X to make debugging easier. Requires web debugging to be on. diff --git a/manager/app/src/main/res/values-hr/strings.xml b/manager/app/src/main/res/values-hr/strings.xml index 86133cc7..a5c88d48 100644 --- a/manager/app/src/main/res/values-hr/strings.xml +++ b/manager/app/src/main/res/values-hr/strings.xml @@ -326,8 +326,7 @@ Display KPM Function Display KPM information and Function in home and bottom bar (Need to reopen the app) - Use WebUI X - Use WebUI X instead of WebUI, which supports more APIs. Be aware that developers can override this feature in their module config. + Inject Eruda into WebUI X Inject a debug console into WebUI X to make debugging easier. Requires web debugging to be on. diff --git a/manager/app/src/main/res/values-hu/strings.xml b/manager/app/src/main/res/values-hu/strings.xml index 71dc567b..612c9833 100644 --- a/manager/app/src/main/res/values-hu/strings.xml +++ b/manager/app/src/main/res/values-hu/strings.xml @@ -326,8 +326,7 @@ Display KPM Function Display KPM information and Function in home and bottom bar (Need to reopen the app) - Use WebUI X - Use WebUI X instead of WebUI, which supports more APIs. Be aware that developers can override this feature in their module config. + Inject Eruda into WebUI X Inject a debug console into WebUI X to make debugging easier. Requires web debugging to be on. diff --git a/manager/app/src/main/res/values-it/strings.xml b/manager/app/src/main/res/values-it/strings.xml index 5d3babdf..736c16b4 100644 --- a/manager/app/src/main/res/values-it/strings.xml +++ b/manager/app/src/main/res/values-it/strings.xml @@ -328,8 +328,7 @@ Display KPM Function Display KPM information and Function in home and bottom bar (Need to reopen the app) - Use WebUI X - Use WebUI X instead of WebUI, which supports more APIs. Be aware that developers can override this feature in their module config. + Inject Eruda into WebUI X Inject a debug console into WebUI X to make debugging easier. Requires web debugging to be on. diff --git a/manager/app/src/main/res/values-ja/strings.xml b/manager/app/src/main/res/values-ja/strings.xml index 9497a20d..b5c60848 100644 --- a/manager/app/src/main/res/values-ja/strings.xml +++ b/manager/app/src/main/res/values-ja/strings.xml @@ -328,8 +328,7 @@ KPM 機能を表示 KPM の情報と機能をホームとボトムバーに表示します (アプリを開き直す必要があります) - WebUI X を使用する - より多くの API をサポートする WebUI の代わりに WebUI X を使用します。開発者はモジュール設定でこの機能をオーバーライドできることに注意してください。 + WebUI に Eruda をインジェクトする デバッグを容易にするために WebUI X にデバッグコンソールを挿入します。Web デバッグが ON になっている必要があります。 diff --git a/manager/app/src/main/res/values-kn/strings.xml b/manager/app/src/main/res/values-kn/strings.xml index fb4ec017..241ea120 100644 --- a/manager/app/src/main/res/values-kn/strings.xml +++ b/manager/app/src/main/res/values-kn/strings.xml @@ -326,8 +326,7 @@ Display KPM Function Display KPM information and Function in home and bottom bar (Need to reopen the app) - Use WebUI X - Use WebUI X instead of WebUI, which supports more APIs. Be aware that developers can override this feature in their module config. + Inject Eruda into WebUI X Inject a debug console into WebUI X to make debugging easier. Requires web debugging to be on. diff --git a/manager/app/src/main/res/values-ko/strings.xml b/manager/app/src/main/res/values-ko/strings.xml index 26ef9e66..0378cb79 100644 --- a/manager/app/src/main/res/values-ko/strings.xml +++ b/manager/app/src/main/res/values-ko/strings.xml @@ -326,8 +326,7 @@ Display KPM Function Display KPM information and Function in home and bottom bar (Need to reopen the app) - Use WebUI X - Use WebUI X instead of WebUI, which supports more APIs. Be aware that developers can override this feature in their module config. + Inject Eruda into WebUI X Inject a debug console into WebUI X to make debugging easier. Requires web debugging to be on. diff --git a/manager/app/src/main/res/values-lt/strings.xml b/manager/app/src/main/res/values-lt/strings.xml index b29e63e8..b67cf03e 100644 --- a/manager/app/src/main/res/values-lt/strings.xml +++ b/manager/app/src/main/res/values-lt/strings.xml @@ -326,8 +326,7 @@ Display KPM Function Display KPM information and Function in home and bottom bar (Need to reopen the app) - Use WebUI X - Use WebUI X instead of WebUI, which supports more APIs. Be aware that developers can override this feature in their module config. + Inject Eruda into WebUI X Inject a debug console into WebUI X to make debugging easier. Requires web debugging to be on. diff --git a/manager/app/src/main/res/values-lv/strings.xml b/manager/app/src/main/res/values-lv/strings.xml index ba37a356..7e119c1d 100644 --- a/manager/app/src/main/res/values-lv/strings.xml +++ b/manager/app/src/main/res/values-lv/strings.xml @@ -328,8 +328,7 @@ Display KPM Function Display KPM information and Function in home and bottom bar (Need to reopen the app) - Use WebUI X - Use WebUI X instead of WebUI, which supports more APIs. Be aware that developers can override this feature in their module config. + Inject Eruda into WebUI X Inject a debug console into WebUI X to make debugging easier. Requires web debugging to be on. diff --git a/manager/app/src/main/res/values-mr/strings.xml b/manager/app/src/main/res/values-mr/strings.xml index 52c793b6..0e603b94 100644 --- a/manager/app/src/main/res/values-mr/strings.xml +++ b/manager/app/src/main/res/values-mr/strings.xml @@ -326,8 +326,7 @@ Display KPM Function Display KPM information and Function in home and bottom bar (Need to reopen the app) - Use WebUI X - Use WebUI X instead of WebUI, which supports more APIs. Be aware that developers can override this feature in their module config. + Inject Eruda into WebUI X Inject a debug console into WebUI X to make debugging easier. Requires web debugging to be on. diff --git a/manager/app/src/main/res/values-ms/strings.xml b/manager/app/src/main/res/values-ms/strings.xml index 96e13c09..875e4b00 100644 --- a/manager/app/src/main/res/values-ms/strings.xml +++ b/manager/app/src/main/res/values-ms/strings.xml @@ -326,8 +326,7 @@ Display KPM Function Display KPM information and Function in home and bottom bar (Need to reopen the app) - Use WebUI X - Use WebUI X instead of WebUI, which supports more APIs. Be aware that developers can override this feature in their module config. + Inject Eruda into WebUI X Inject a debug console into WebUI X to make debugging easier. Requires web debugging to be on. diff --git a/manager/app/src/main/res/values-nl/strings.xml b/manager/app/src/main/res/values-nl/strings.xml index 64d4829c..44290947 100644 --- a/manager/app/src/main/res/values-nl/strings.xml +++ b/manager/app/src/main/res/values-nl/strings.xml @@ -328,8 +328,7 @@ Display KPM Function Display KPM information and Function in home and bottom bar (Need to reopen the app) - Use WebUI X - Use WebUI X instead of WebUI, which supports more APIs. Be aware that developers can override this feature in their module config. + Inject Eruda into WebUI X Inject a debug console into WebUI X to make debugging easier. Requires web debugging to be on. diff --git a/manager/app/src/main/res/values-pl/strings.xml b/manager/app/src/main/res/values-pl/strings.xml index 084b45e9..e70aaf90 100644 --- a/manager/app/src/main/res/values-pl/strings.xml +++ b/manager/app/src/main/res/values-pl/strings.xml @@ -328,8 +328,7 @@ Display KPM Function Display KPM information and Function in home and bottom bar (Need to reopen the app) - Use WebUI X - Use WebUI X instead of WebUI, which supports more APIs. Be aware that developers can override this feature in their module config. + Inject Eruda into WebUI X Inject a debug console into WebUI X to make debugging easier. Requires web debugging to be on. diff --git a/manager/app/src/main/res/values-pt/strings.xml b/manager/app/src/main/res/values-pt/strings.xml index d273f711..8cae1a40 100644 --- a/manager/app/src/main/res/values-pt/strings.xml +++ b/manager/app/src/main/res/values-pt/strings.xml @@ -326,8 +326,7 @@ Exibir função KPM Exibir informações e funções do KPM na barra inicial e inferior (Precisa reabrir o aplicativo) - Usar WebUI X - Use WebUI X em vez de WebUI, que suporta mais APIs. Esteja ciente de que os desenvolvedores podem substituir esse recurso em suas configurações de módulo. + Injetar Eruda na WebUI X Injetar um console de depuração na WebUI X para facilitar a depuração. Requer depuração da web para estar ligada. diff --git a/manager/app/src/main/res/values-ro/strings.xml b/manager/app/src/main/res/values-ro/strings.xml index 5b893f39..d34dcfa2 100644 --- a/manager/app/src/main/res/values-ro/strings.xml +++ b/manager/app/src/main/res/values-ro/strings.xml @@ -328,8 +328,7 @@ Display KPM Function Display KPM information and Function in home and bottom bar (Need to reopen the app) - Use WebUI X - Use WebUI X instead of WebUI, which supports more APIs. Be aware that developers can override this feature in their module config. + Inject Eruda into WebUI X Inject a debug console into WebUI X to make debugging easier. Requires web debugging to be on. diff --git a/manager/app/src/main/res/values-ru/strings.xml b/manager/app/src/main/res/values-ru/strings.xml index a1661cbe..c08e8c00 100644 --- a/manager/app/src/main/res/values-ru/strings.xml +++ b/manager/app/src/main/res/values-ru/strings.xml @@ -328,8 +328,7 @@ Показать функцию KPM Отображение информации и функции KPM в домашней и нижней панели (необходимо переоткрыть приложение) - Использовать WebUI X - Использовать WebUI X вместо WebUI, который поддерживает больше API. Имейте в виду, что разработчики могут переопределить эту функцию в настройках модуля. + Вставить Eruda в WebUI X Вставьте консоль отладки в WebUI X для упрощения отладки. Для этого требуется включение веб-отладки. diff --git a/manager/app/src/main/res/values-sl/strings.xml b/manager/app/src/main/res/values-sl/strings.xml index cde7965a..a3d25d71 100644 --- a/manager/app/src/main/res/values-sl/strings.xml +++ b/manager/app/src/main/res/values-sl/strings.xml @@ -326,8 +326,7 @@ Display KPM Function Display KPM information and Function in home and bottom bar (Need to reopen the app) - Use WebUI X - Use WebUI X instead of WebUI, which supports more APIs. Be aware that developers can override this feature in their module config. + Inject Eruda into WebUI X Inject a debug console into WebUI X to make debugging easier. Requires web debugging to be on. diff --git a/manager/app/src/main/res/values-th/strings.xml b/manager/app/src/main/res/values-th/strings.xml index 9b9f5f40..f9c6beb4 100644 --- a/manager/app/src/main/res/values-th/strings.xml +++ b/manager/app/src/main/res/values-th/strings.xml @@ -328,8 +328,7 @@ Display KPM Function Display KPM information and Function in home and bottom bar (Need to reopen the app) - Use WebUI X - Use WebUI X instead of WebUI, which supports more APIs. Be aware that developers can override this feature in their module config. + Inject Eruda into WebUI X Inject a debug console into WebUI X to make debugging easier. Requires web debugging to be on. diff --git a/manager/app/src/main/res/values-tr/strings.xml b/manager/app/src/main/res/values-tr/strings.xml index 4a6c793c..3eb603e1 100644 --- a/manager/app/src/main/res/values-tr/strings.xml +++ b/manager/app/src/main/res/values-tr/strings.xml @@ -326,8 +326,7 @@ KPM İşlevini Görüntüle Ana sayfa ve alt çubukta KPM bilgilerini ve İşlevini görüntüle (Uygulamayı yeniden açmanız gerekir) - WebUI X kullan - Use WebUI X instead of WebUI, which supports more APIs. Be aware that developers can override this feature in their module config. + WebUI X\'e Eruda enjekte et WebUI X\'e bir hata ayıklama konsolu enjekte edin, böylece hata ayıklama daha kolay olur. Web hata ayıklamanın açık olması gerekir. diff --git a/manager/app/src/main/res/values-uk/strings.xml b/manager/app/src/main/res/values-uk/strings.xml index f75879a8..82a49bd1 100644 --- a/manager/app/src/main/res/values-uk/strings.xml +++ b/manager/app/src/main/res/values-uk/strings.xml @@ -328,8 +328,7 @@ Display KPM Function Display KPM information and Function in home and bottom bar (Need to reopen the app) - Use WebUI X - Use WebUI X instead of WebUI, which supports more APIs. Be aware that developers can override this feature in their module config. + Inject Eruda into WebUI X Inject a debug console into WebUI X to make debugging easier. Requires web debugging to be on. diff --git a/manager/app/src/main/res/values-vi/strings.xml b/manager/app/src/main/res/values-vi/strings.xml index d3242455..78905ad6 100644 --- a/manager/app/src/main/res/values-vi/strings.xml +++ b/manager/app/src/main/res/values-vi/strings.xml @@ -326,8 +326,7 @@ Hiển thị chức năng KPM Hiển thị thông tin KPM, chức năng ở trang chủ và thanh dưới cùng (Cần khởi động lại ứng dụng) - Sử dụng WebUI X - Sử dụng WebUI X thay cho WebUI vì hỗ trợ nhiều API hơn. Lưu ý rằng các nhà phát triển có thể ghi đè tính năng này trong cấu hình module của họ + Tiêm Eruda vào WebUI X Chèn bảng điều khiển gỡ lỗi vào WebUI X để gỡ lỗi dễ dàng hơn. Yêu cầu bật gỡ lỗi web diff --git a/manager/app/src/main/res/values-zh-rCN/strings.xml b/manager/app/src/main/res/values-zh-rCN/strings.xml index cb2679bd..c76529da 100644 --- a/manager/app/src/main/res/values-zh-rCN/strings.xml +++ b/manager/app/src/main/res/values-zh-rCN/strings.xml @@ -326,8 +326,10 @@ 显示 KPM 功能 在主页和底栏显示 KPM 相关功能和信息 (需要重新打开应用) - 使用 WebUI X - 使用 WebUI X 而不是 WebUI 支持更多API。请注意,开发者可以在其模块配置中覆盖此功能。 + 选择使用的 WebUI 引擎 + 自动选择 + 强制使用 WebUI X + 强制使用 KSU 的 WebUI 将 Eruda 注入 WebUI X 在 WebUI X 中注入调试控制台,使调试更容易,需要启用 WebView 调试 diff --git a/manager/app/src/main/res/values-zh-rHK/strings.xml b/manager/app/src/main/res/values-zh-rHK/strings.xml index 52afbcbd..dc98f3fd 100644 --- a/manager/app/src/main/res/values-zh-rHK/strings.xml +++ b/manager/app/src/main/res/values-zh-rHK/strings.xml @@ -328,8 +328,7 @@ Display KPM Function Display KPM information and Function in home and bottom bar (Need to reopen the app) - Use WebUI X - Use WebUI X instead of WebUI, which supports more APIs. Be aware that developers can override this feature in their module config. + Inject Eruda into WebUI X Inject a debug console into WebUI X to make debugging easier. Requires web debugging to be on. diff --git a/manager/app/src/main/res/values-zh-rTW/strings.xml b/manager/app/src/main/res/values-zh-rTW/strings.xml index 7f34e23e..23cfd0ab 100644 --- a/manager/app/src/main/res/values-zh-rTW/strings.xml +++ b/manager/app/src/main/res/values-zh-rTW/strings.xml @@ -326,8 +326,7 @@ Display KPM Function Display KPM information and Function in home and bottom bar (Need to reopen the app) - Use WebUI X - Use WebUI X instead of WebUI, which supports more APIs. Be aware that developers can override this feature in their module config. + Inject Eruda into WebUI X Inject a debug console into WebUI X to make debugging easier. Requires web debugging to be on. diff --git a/manager/app/src/main/res/values/strings.xml b/manager/app/src/main/res/values/strings.xml index 95419ef7..d383fc52 100644 --- a/manager/app/src/main/res/values/strings.xml +++ b/manager/app/src/main/res/values/strings.xml @@ -328,8 +328,10 @@ Display KPM Function Display KPM information and Function in home and bottom bar (Need to reopen the app) - Use WebUI X - Use WebUI X instead of WebUI, which supports more APIs. Be aware that developers can override this feature in their module config. + Select the WebUI engine to use + Automatic Selection + Force the use of WebUI X + Mandatory use of KSU WebUI Inject Eruda into WebUI X Inject a debug console into WebUI X to make debugging easier. Requires web debugging to be on.