diff --git a/AltKit/NSError+ALTServerError.m b/AltKit/NSError+ALTServerError.m index 3fdf5ad1..02bc5541 100644 --- a/AltKit/NSError+ALTServerError.m +++ b/AltKit/NSError+ALTServerError.m @@ -52,7 +52,11 @@ NSErrorUserInfoKey const ALTProvisioningProfileBundleIDErrorKey = @"bundleIdenti return NSLocalizedString(@"An unknown error occured.", @""); case ALTServerErrorConnectionFailed: +#if TARGET_OS_OSX + return NSLocalizedString(@"Could not connect to device.", @""); +#else return NSLocalizedString(@"Could not connect to AltServer.", @""); +#endif case ALTServerErrorLostConnection: return NSLocalizedString(@"Lost connection to AltServer.", @""); @@ -107,7 +111,7 @@ NSErrorUserInfoKey const ALTProvisioningProfileBundleIDErrorKey = @"bundleIdenti { case ALTServerErrorConnectionFailed: 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: return NSLocalizedString(@"Make sure Mail is running and the plug-in is enabled in Mail's preferences.", @"");