mirror of
https://github.com/kennethreitz-archive/gitx.git
synced 2026-06-05 23:40:18 +00:00
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:
+2
-1
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user