Skip to content

Commit

Permalink
Make it more clear that the app is moving to ~/Applications by saying…
Browse files Browse the repository at this point in the history
… so in the message text of the dialog window
  • Loading branch information
Andy Kim committed Oct 10, 2009
1 parent 71adb59 commit 47dc2a8
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Binary file modified English.lproj/MoveApplication.strings
Binary file not shown.
Binary file modified Japanese.lproj/MoveApplication.strings
Binary file not shown.
8 changes: 4 additions & 4 deletions PFMoveApplication.m
Expand Up @@ -63,17 +63,17 @@ void PFMoveToApplicationsFolderIfNecessary()
// Setup the alert
NSAlert *alert = [[[NSAlert alloc] init] autorelease];
{
[alert setMessageText:NSLocalizedStringFromTable(@"Move to Applications folder?", @"MoveApplication", nil)];

NSString *informativeText = nil;

if (installToUserApplications) {
informativeText = NSLocalizedStringFromTable(@"I can move myself to the Applications folder in your Home folder if you'd like.", @"MoveApplication", nil);
[alert setMessageText:NSLocalizedStringFromTable(@"Move to Applications folder in your Home folder?", @"MoveApplication", nil)];
}
else {
informativeText = NSLocalizedStringFromTable(@"I can move myself to the Applications folder if you'd like.", @"MoveApplication", nil);
[alert setMessageText:NSLocalizedStringFromTable(@"Move to Applications folder?", @"MoveApplication", nil)];
}

informativeText = NSLocalizedStringFromTable(@"I can move myself to the Applications folder if you'd like.", @"MoveApplication", nil);

if (needAuthorization) {
informativeText = [informativeText stringByAppendingString:@" "];
informativeText = [informativeText stringByAppendingString:NSLocalizedStringFromTable(@"Note that this will require an administrator password.", @"MoveApplication", nil)];
Expand Down

0 comments on commit 47dc2a8

Please sign in to comment.