Permalink
Browse files

Don't use unicode in NSString literals

  • Loading branch information...
1 parent ccef53a commit 29bd46d68da18269efadef678983e001f8f09e41 Stuart Morgan committed Sep 4, 2008
@@ -61,7 +61,7 @@ - (void)updateAlert:(SUUpdateAlert *)alert finishedWithChoice:(SUUpdateAlertChoi
{
case SUInstallUpdateChoice:
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 showWindow:self];
[self downloadUpdate];
@@ -113,7 +113,7 @@ - (IBAction)cancelDownload:sender
- (void)extractUpdate
{
// 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];
[super extractUpdate];
}
@@ -139,7 +139,7 @@ - (void)installAndRestart:sender { [self 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];
[super installUpdate];
}
View
@@ -160,7 +160,7 @@ - (NSString *)descriptionText
updateItemVersion = [updateItemVersion stringByAppendingFormat:@" (%@)", [updateItem versionString]];
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
@@ -17,7 +17,7 @@ - (void)checkForUpdatesAtURL:(NSURL *)appcastURL host:(SUHost *)aHost
{
checkingController = [[SUStatusController alloc] initWithHost:aHost];
[[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 showWindow:self];
[super checkForUpdatesAtURL:appcastURL host:aHost];
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -41,16 +41,16 @@
"Check for updates on startup?" = "啟動時檢查更新項目?";
/* No comment provided by engineer. */
-"Downloading update" = "正在下載更新項目⋯";
+"Downloading update..." = "正在下載更新項目⋯";
/* No comment provided by engineer. */
-"Extracting update" = "正在解壓縮更新項目⋯";
+"Extracting update..." = "正在解壓縮更新項目⋯";
/* No comment provided by engineer. */
"Install and Relaunch" = "安裝與重新啟動";
/* No comment provided by engineer. */
-"Installing update" = "安裝更新…";
+"Installing update..." = "安裝更新…";
/* No comment provided by engineer. */
"No" = "否";
@@ -74,4 +74,4 @@
"Yes" = "是";
/* 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.