~tcurdt/sparkle/devel

« back to all changes in this revision

Viewing changes to SUUIBasedUpdateDriver.m

  • Committer: Andy Matuschak
  • Date: 2008-07-10 02:47:58 UTC
  • mto: This revision was merged to the branch mainline in revision 238.
  • Revision ID: andy@andymatuschak.org-20080710024758-xcrudabrzhph9v65
Added a comment to strings appearing in the status window noting that since the status window nib is unlocalized, localizers should be careful not to make their strings too long.
Changed a French status string to fit in the status window.

Show diffs side-by-side

added added

removed removed

Lines of Context:
52
52
        {
53
53
                case SUInstallUpdateChoice:
54
54
                        statusController = [[SUStatusController alloc] initWithHostBundle:hostBundle];
55
 
                        [statusController beginActionWithTitle:SULocalizedString(@"Downloading update\u2026", nil) maxProgressValue:0 statusText:nil];
 
55
                        [statusController beginActionWithTitle:SULocalizedString(@"Downloading update\u2026", @"Take care not to overflow the status window.") maxProgressValue:0 statusText:nil];
56
56
                        [statusController setButtonTitle:SULocalizedString(@"Cancel", nil) target:self action:@selector(cancelDownload:) isDefault:NO];
57
57
                        [statusController showWindow:self];     
58
58
                        [self downloadUpdate];
104
104
- (void)extractUpdate
105
105
{
106
106
        // Now we have to extract the downloaded archive.
107
 
        [statusController beginActionWithTitle:SULocalizedString(@"Extracting update\u2026", nil) maxProgressValue:0 statusText:nil];
 
107
        [statusController beginActionWithTitle:SULocalizedString(@"Extracting update\u2026", @"Take care not to overflow the status window.") maxProgressValue:0 statusText:nil];
108
108
        [statusController setButtonEnabled:NO];
109
109
        [super extractUpdate];
110
110
}
130
130
 
131
131
- (void)installUpdate
132
132
{
133
 
        [statusController beginActionWithTitle:SULocalizedString(@"Installing update\u2026", nil) maxProgressValue:0 statusText:nil];
 
133
        [statusController beginActionWithTitle:SULocalizedString(@"Installing update\u2026", @"Take care not to overflow the status window.") maxProgressValue:0 statusText:nil];
134
134
        [statusController setButtonEnabled:NO];
135
135
        [super installUpdate];  
136
136
}