mirror of
https://github.com/StikDebug/StikDebug.git
synced 2026-10-15 20:10:30 +00:00
Adds more DDI instructions, hides "Connect by PID" unless "Connect by App" is showing (#286)
* Revise unmounted Developer Disk Image message Updated message for unmounted Developer Disk Image to include Wi-Fi connection and force-restart instructions. * Enhance Developer Disk Image error messages Updated messages related to Developer Disk Image mounting and pairing file validation. * Add condition for 'Connect by PID' button visibility * Revise Spanish translation for Developer Disk Image Updated the translation for the Developer Disk Image message.
This commit is contained in:
parent
52514a7604
commit
9ddb17f4b9
2 changed files with 5 additions and 5 deletions
|
|
@ -409,7 +409,7 @@ struct HomeView: View {
|
|||
}
|
||||
.disabled(isProcessing || isValidatingPairingFile)
|
||||
|
||||
if pairingFileExists && enableAdvancedOptions && !pairingFileLikelyInvalid {
|
||||
if pairingFileExists && enableAdvancedOptions && !pairingFileLikelyInvalid && primaryActionTitle == "Connect by App" {
|
||||
Button(action: { showPIDSheet = true }) {
|
||||
secondaryButtonLabel(icon: "number.circle", title: "Connect by PID")
|
||||
}
|
||||
|
|
@ -462,7 +462,7 @@ struct HomeView: View {
|
|||
if !ddiMounted {
|
||||
return .init(
|
||||
title: "Mount the Developer Disk Image",
|
||||
subtitle: "",
|
||||
subtitle: "Connect to Wi-Fi and force-restart StikDebug.",
|
||||
icon: "externaldrive.badge.exclamationmark",
|
||||
tint: .yellow
|
||||
)
|
||||
|
|
@ -566,7 +566,7 @@ struct HomeView: View {
|
|||
? "Mounted successfully."
|
||||
: (pairingFileLikelyInvalid
|
||||
? "The Developer Disk Image can’t mount because the pairing file looks invalid. Create a new pairing file."
|
||||
: ""),
|
||||
: "The Developer Disk Image isn't mounted."),
|
||||
status: ddiMounted ? .ready : .attention,
|
||||
actionTitle: pairingFileLikelyInvalid ? "Import New" : nil,
|
||||
action: pairingFileLikelyInvalid ? { isShowingPairingFilePicker = true } : nil
|
||||
|
|
@ -894,7 +894,7 @@ struct HomeView: View {
|
|||
tipRow(systemImage: "doc.badge.plus", title: "Pairing file required", message: "Import your device’s pairing file to begin.")
|
||||
}
|
||||
if pairingFileExists && !ddiMounted {
|
||||
tipRow(systemImage: "externaldrive.badge.exclamationmark", title: "Developer Disk Image not mounted", message: "Go to Settings → Developer Disk Image and ensure it’s mounted.")
|
||||
tipRow(systemImage: "externaldrive.badge.exclamationmark", title: "Developer Disk Image not mounted", message: "Ensure your pairing is imported and valid, connect to Wi-Fi and force-restart StikDebug.")
|
||||
}
|
||||
tipRow(systemImage: "lock.shield", title: "Local only", message: "StikDebug runs entirely on-device. No data leaves your device.")
|
||||
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
"Click connect to get started" = "Haz clic en conectar para comenzar";
|
||||
"Pick pairing file to get started" = "Selecciona el archivo de emparejamiento para comenzar";
|
||||
"Device Not Mounted" = "Dispositivo no montado";
|
||||
"The Developer Disk Image has not been mounted yet. Check in settings for more information." = "La imagen de desarrollo no se ha montado todav\u00eda. Consulta la configuraci\u00f3n para obtener m\u00e1s informaci\u00f3n.";
|
||||
"The Developer Disk Image has not been mounted yet. Check in settings for more information." = "La imagen del disco del desarrollador a\u00fan no se ha montado. Con\u00e9ctese a la red Wi‑Fi y fuerce el reinicio de StikDebug.";
|
||||
"Connect by App" = "Conectar por app";
|
||||
"Select Pairing File" = "Seleccionar archivo de emparejamiento";
|
||||
"Connect by PID" = "Conectar por PID";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue