Skip to content

Commit

Permalink
Don't use unicode in NSString literals
Browse files Browse the repository at this point in the history
  • Loading branch information
Stuart Morgan committed Sep 4, 2008
1 parent ccef53a commit 29bd46d
Show file tree
Hide file tree
Showing 29 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions SUUIBasedUpdateDriver.m
Expand Up @@ -61,7 +61,7 @@ - (void)updateAlert:(SUUpdateAlert *)alert finishedWithChoice:(SUUpdateAlertChoi
{ {
case SUInstallUpdateChoice: case SUInstallUpdateChoice:
statusController = [[SUStatusController alloc] initWithHost:host]; statusController = [[SUStatusController alloc] initWithHost:host];
[statusController beginActionWithTitle:SULocalizedString(@"Downloading update\u2026", @"Take care not to overflow the status window.") maxProgressValue:0 statusText:nil]; [statusController beginActionWithTitle:SULocalizedString(@"Downloading update...", @"Take care not to overflow the status window.") maxProgressValue:0 statusText:nil];
[statusController setButtonTitle:SULocalizedString(@"Cancel", nil) target:self action:@selector(cancelDownload:) isDefault:NO]; [statusController setButtonTitle:SULocalizedString(@"Cancel", nil) target:self action:@selector(cancelDownload:) isDefault:NO];
[statusController showWindow:self]; [statusController showWindow:self];
[self downloadUpdate]; [self downloadUpdate];
Expand Down Expand Up @@ -113,7 +113,7 @@ - (IBAction)cancelDownload:sender
- (void)extractUpdate - (void)extractUpdate
{ {
// Now we have to extract the downloaded archive. // Now we have to extract the downloaded archive.
[statusController beginActionWithTitle:SULocalizedString(@"Extracting update\u2026", @"Take care not to overflow the status window.") maxProgressValue:0 statusText:nil]; [statusController beginActionWithTitle:SULocalizedString(@"Extracting update...", @"Take care not to overflow the status window.") maxProgressValue:0 statusText:nil];
[statusController setButtonEnabled:NO]; [statusController setButtonEnabled:NO];
[super extractUpdate]; [super extractUpdate];
} }
Expand All @@ -139,7 +139,7 @@ - (void)installAndRestart:sender { [self installUpdate]; }


- (void)installUpdate - (void)installUpdate
{ {
[statusController beginActionWithTitle:SULocalizedString(@"Installing update\u2026", @"Take care not to overflow the status window.") maxProgressValue:0 statusText:nil]; [statusController beginActionWithTitle:SULocalizedString(@"Installing update...", @"Take care not to overflow the status window.") maxProgressValue:0 statusText:nil];
[statusController setButtonEnabled:NO]; [statusController setButtonEnabled:NO];
[super installUpdate]; [super installUpdate];
} }
Expand Down
2 changes: 1 addition & 1 deletion SUUpdateAlert.m
Expand Up @@ -160,7 +160,7 @@ - (NSString *)descriptionText
updateItemVersion = [updateItemVersion stringByAppendingFormat:@" (%@)", [updateItem versionString]]; updateItemVersion = [updateItemVersion stringByAppendingFormat:@" (%@)", [updateItem versionString]];
hostVersion = [hostVersion stringByAppendingFormat:@" (%@)", [host version]]; hostVersion = [hostVersion stringByAppendingFormat:@" (%@)", [host version]];
} }
return [NSString stringWithFormat:SULocalizedString(@"%@ %@ is now available\u2014you have %@. Would you like to download it now?", nil), [host name], updateItemVersion, hostVersion]; return [NSString stringWithFormat:SULocalizedString(@"%@ %@ is now available--you have %@. Would you like to download it now?", nil), [host name], updateItemVersion, hostVersion];
} }


- (void)webView:(WebView *)sender didFinishLoadForFrame:frame - (void)webView:(WebView *)sender didFinishLoadForFrame:frame
Expand Down
2 changes: 1 addition & 1 deletion SUUserInitiatedUpdateDriver.m
Expand Up @@ -17,7 +17,7 @@ - (void)checkForUpdatesAtURL:(NSURL *)appcastURL host:(SUHost *)aHost
{ {
checkingController = [[SUStatusController alloc] initWithHost:aHost]; checkingController = [[SUStatusController alloc] initWithHost:aHost];
[[checkingController window] center]; // Force the checking controller to load its window. [[checkingController window] center]; // Force the checking controller to load its window.
[checkingController beginActionWithTitle:SULocalizedString(@"Checking for updates\u2026", nil) maxProgressValue:0 statusText:nil]; [checkingController beginActionWithTitle:SULocalizedString(@"Checking for updates...", nil) maxProgressValue:0 statusText:nil];
[checkingController setButtonTitle:SULocalizedString(@"Cancel", nil) target:self action:@selector(cancelCheckForUpdates:) isDefault:NO]; [checkingController setButtonTitle:SULocalizedString(@"Cancel", nil) target:self action:@selector(cancelCheckForUpdates:) isDefault:NO];
[checkingController showWindow:self]; [checkingController showWindow:self];
[super checkForUpdatesAtURL:appcastURL host:aHost]; [super checkForUpdatesAtURL:appcastURL host:aHost];
Expand Down
Binary file modified ca.lproj/Sparkle.strings
Binary file not shown.
Binary file modified cs.lproj/Sparkle.strings
Binary file not shown.
Binary file modified cy.lproj/Sparkle.strings
Binary file not shown.
Binary file modified da.lproj/Sparkle.strings
Binary file not shown.
Binary file modified de.lproj/Sparkle.strings
Binary file not shown.
Binary file modified en.lproj/Sparkle.strings
Binary file not shown.
Binary file modified es.lproj/Sparkle.strings
Binary file not shown.
Binary file modified fi.lproj/Sparkle.strings
Binary file not shown.
Binary file modified fr.lproj/Sparkle.strings
Binary file not shown.
Binary file modified he.lproj/Sparkle.strings
Binary file not shown.
Binary file modified hu.lproj/Sparkle.strings
Binary file not shown.
Binary file modified id.lproj/Sparkle.strings
Binary file not shown.
Binary file modified is.lproj/Sparkle.strings
Binary file not shown.
Binary file modified it.lproj/Sparkle.strings
Binary file not shown.
Binary file modified ja.lproj/Sparkle.strings
Binary file not shown.
Binary file modified ko.lproj/Sparkle.strings
Binary file not shown.
Binary file modified nl.lproj/Sparkle.strings
Binary file not shown.
Binary file modified no.lproj/Sparkle.strings
Binary file not shown.
Binary file modified pl.lproj/Sparkle.strings
Binary file not shown.
Binary file modified ru.lproj/Sparkle.strings
Binary file not shown.
Binary file modified sk.lproj/Sparkle.strings
Binary file not shown.
Binary file modified sv.lproj/Sparkle.strings
Binary file not shown.
Binary file modified th.lproj/Sparkle.strings
Binary file not shown.
Binary file modified tr.lproj/Sparkle.strings
Binary file not shown.
Binary file modified zh_CN.lproj/Sparkle.strings
Binary file not shown.
8 changes: 4 additions & 4 deletions zh_TW.lproj/Sparkle.strings
Expand Up @@ -41,16 +41,16 @@
"Check for updates on startup?" = "啟動時檢查更新項目?"; "Check for updates on startup?" = "啟動時檢查更新項目?";


/* No comment provided by engineer. */ /* No comment provided by engineer. */
"Downloading update" = "正在下載更新項目⋯"; "Downloading update..." = "正在下載更新項目⋯";


/* No comment provided by engineer. */ /* No comment provided by engineer. */
"Extracting update" = "正在解壓縮更新項目⋯"; "Extracting update..." = "正在解壓縮更新項目⋯";


/* No comment provided by engineer. */ /* No comment provided by engineer. */
"Install and Relaunch" = "安裝與重新啟動"; "Install and Relaunch" = "安裝與重新啟動";


/* No comment provided by engineer. */ /* No comment provided by engineer. */
"Installing update" = "安裝更新…"; "Installing update..." = "安裝更新…";


/* No comment provided by engineer. */ /* No comment provided by engineer. */
"No" = "否"; "No" = "否";
Expand All @@ -74,4 +74,4 @@
"Yes" = "是"; "Yes" = "是";


/* No comment provided by engineer. */ /* No comment provided by engineer. */
"You're up to date!" = "你已有最新版本!"; "You're up to date!" = "你已有最新版本!";

0 comments on commit 29bd46d

Please sign in to comment.