Set a copy of the "Push" message strings for the alert panel message with a small case "p" letter because it will be appended in the middle of a sentence.

This commit is contained in:
André Berg
2010-03-24 11:09:09 +01:00
parent 0f18ffdace
commit a100ff38ee
+2 -1
View File
@@ -60,11 +60,12 @@
else
description = [NSString stringWithFormat:@"Push updates to remote %@", [remoteRef remoteName]];
NSString * sdesc = [NSString stringWithFormat:@"p%@", [description substringFromIndex:1]];
NSAlert *alert = [NSAlert alertWithMessageText:description
defaultButton:@"Push"
alternateButton:@"Cancel"
otherButton:nil
informativeTextWithFormat:@"Are you sure you want to %@?", description];
informativeTextWithFormat:@"Are you sure you want to %@?", sdesc];
NSMutableDictionary *info = [NSMutableDictionary dictionary];
if (ref)