mirror of
https://github.com/SideStore/SideStore.git
synced 2026-02-09 06:43:25 +01:00
[AltServer] Improves error message when device is untrusted or locked during installation
This commit is contained in:
@@ -52,7 +52,11 @@ NSErrorUserInfoKey const ALTProvisioningProfileBundleIDErrorKey = @"bundleIdenti
|
|||||||
return NSLocalizedString(@"An unknown error occured.", @"");
|
return NSLocalizedString(@"An unknown error occured.", @"");
|
||||||
|
|
||||||
case ALTServerErrorConnectionFailed:
|
case ALTServerErrorConnectionFailed:
|
||||||
|
#if TARGET_OS_OSX
|
||||||
|
return NSLocalizedString(@"Could not connect to device.", @"");
|
||||||
|
#else
|
||||||
return NSLocalizedString(@"Could not connect to AltServer.", @"");
|
return NSLocalizedString(@"Could not connect to AltServer.", @"");
|
||||||
|
#endif
|
||||||
|
|
||||||
case ALTServerErrorLostConnection:
|
case ALTServerErrorLostConnection:
|
||||||
return NSLocalizedString(@"Lost connection to AltServer.", @"");
|
return NSLocalizedString(@"Lost connection to AltServer.", @"");
|
||||||
@@ -107,7 +111,7 @@ NSErrorUserInfoKey const ALTProvisioningProfileBundleIDErrorKey = @"bundleIdenti
|
|||||||
{
|
{
|
||||||
case ALTServerErrorConnectionFailed:
|
case ALTServerErrorConnectionFailed:
|
||||||
case ALTServerErrorDeviceNotFound:
|
case ALTServerErrorDeviceNotFound:
|
||||||
return NSLocalizedString(@"Make sure you have trusted this phone with your computer and WiFi sync is enabled.", @"");
|
return NSLocalizedString(@"Make sure you have trusted this device with your computer and WiFi sync is enabled.", @"");
|
||||||
|
|
||||||
case ALTServerErrorPluginNotFound:
|
case ALTServerErrorPluginNotFound:
|
||||||
return NSLocalizedString(@"Make sure Mail is running and the plug-in is enabled in Mail's preferences.", @"");
|
return NSLocalizedString(@"Make sure Mail is running and the plug-in is enabled in Mail's preferences.", @"");
|
||||||
|
|||||||
Reference in New Issue
Block a user