From 1552d4eb8b747146fbe3168d2e67f2470b5f4a7f Mon Sep 17 00:00:00 2001 From: Andy Matuschak Date: Sun, 1 Jun 2008 10:41:38 -0700 Subject: [PATCH] Changed the disk image failure string to "%1$@ can't be updated when it's running from a disk image. Move %1$@ to your Applications folder, relaunch it from there, and try again." to make it more clear. --- SUBasicUpdateDriver.m | 2 +- en.lproj/Sparkle.strings | Bin 8098 -> 8142 bytes 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/SUBasicUpdateDriver.m b/SUBasicUpdateDriver.m index de5d0b0b..2d5ceee4 100644 --- a/SUBasicUpdateDriver.m +++ b/SUBasicUpdateDriver.m @@ -17,7 +17,7 @@ if ([hostBundle isRunningFromDiskImage]) { - [self abortUpdateWithError:[NSError errorWithDomain:SUSparkleErrorDomain code:SURunningFromDiskImageError userInfo:[NSDictionary dictionaryWithObject:[NSString stringWithFormat:SULocalizedString(@"%1$@ can't be updated when it's running from a disk image. Move %1$@ to your Applications folder, relaunch it, and try again.", nil), [hostBundle name]] forKey:NSLocalizedDescriptionKey]]]; + [self abortUpdateWithError:[NSError errorWithDomain:SUSparkleErrorDomain code:SURunningFromDiskImageError userInfo:[NSDictionary dictionaryWithObject:[NSString stringWithFormat:SULocalizedString(@"%1$@ can't be updated when it's running from a disk image. Move %1$@ to your Applications folder, relaunch it from there, and try again.", nil), [hostBundle name]] forKey:NSLocalizedDescriptionKey]]]; return; } diff --git a/en.lproj/Sparkle.strings b/en.lproj/Sparkle.strings index 589314b13a4830e7b51cedd1f6070711466a7c25..865d2c216151803ee8c7f24664c37238f58d3f59 100644 GIT binary patch delta 64 ycmZ2vf6jh`8ndVZLmER7Lq0<;g91YdLk2@Cke51HlSO&52lFHBvYRzoDy0GcJ`W)P delta 21 ccmX?SzsP=r8uMlwW){ZDHq1(!D_Fv$0Z--zQvd(}