Update OperationError.swift

Signed-off-by: CelloSerenity <195480169+CelloSerenity@users.noreply.github.com>
This commit is contained in:
CelloSerenity
2025-10-10 15:34:12 -06:00
committed by GitHub
parent f23a7e9c82
commit d98e0dde72

View File

@@ -220,7 +220,7 @@ struct OperationError: ALTLocalizedError {
case .openAppFailed: case .openAppFailed:
let appName = self.appName ?? NSLocalizedString("The app", comment: "") let appName = self.appName ?? NSLocalizedString("The app", comment: "")
return String(format: NSLocalizedString("SideStore was denied permission to launch %@.", comment: ""), appName) return String(format: NSLocalizedString("SideStore was denied permission to launch %@.", comment: ""), appName)
case .noWiFi: return NSLocalizedString("You do not appear to be connected to Wi-Fi and/or StosVPN!\nSideStore will never be able to install or refresh applications without Wi-Fi and StosVPN.", comment: "") case .noWiFi: return NSLocalizedString("You do not appear to be connected to Wi-Fi and/or StosVPN!\nSideStore cannot install or refresh applications without Wi-Fi and StosVPN. If both are connected, recreate your pairing with idevice_pair.", comment: "")
case .tooNewError: return NSLocalizedString("iOS 17.0-17.3.1 changed how JIT is enabled so SideStore cannot enable JIT without SideJITServer on these versions, sorry for any inconvenience.", comment: "") case .tooNewError: return NSLocalizedString("iOS 17.0-17.3.1 changed how JIT is enabled so SideStore cannot enable JIT without SideJITServer on these versions, sorry for any inconvenience.", comment: "")
case .unableToConnectSideJIT: return NSLocalizedString("Unable to connect to SideJITServer. Please check that you are on the same Wi-Fi of and your Firewall has been set correctly on your server.", comment: "") case .unableToConnectSideJIT: return NSLocalizedString("Unable to connect to SideJITServer. Please check that you are on the same Wi-Fi of and your Firewall has been set correctly on your server.", comment: "")
case .unableToRespondSideJITDevice: return NSLocalizedString("SideJITServer is unable to connect to your iDevice. Please make sure you have paired your iDevice by running 'SideJITServer -y', or try refreshing SideJITServer from Settings.", comment: "") case .unableToRespondSideJITDevice: return NSLocalizedString("SideJITServer is unable to connect to your iDevice. Please make sure you have paired your iDevice by running 'SideJITServer -y', or try refreshing SideJITServer from Settings.", comment: "")
@@ -338,7 +338,7 @@ extension MinimuxerError: LocalizedError {
case .CreateAfc: case .CreateAfc:
return self.createService(name: "AFC") return self.createService(name: "AFC")
case .RwAfc: case .RwAfc:
return NSLocalizedString("AFC was unable to manage files on the device. Ensure Wi-Fi is enabled and StosVPN is connected. If they are, recreate your pairing using idevice_pair.", comment: "") return NSLocalizedString("AFC was unable to manage files on the device. Ensure Wi-Fi and StosVPN are connected. If they both are, recreate your pairing using idevice_pair.", comment: "")
case .InstallApp(let message): case .InstallApp(let message):
return NSLocalizedString("Unable to install the app: \(message.toString())", comment: "") return NSLocalizedString("Unable to install the app: \(message.toString())", comment: "")
case .UninstallApp: case .UninstallApp: