From a100ff38eeaeebd313a910d73968e32a34b41183 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Berg?= Date: Wed, 24 Mar 2010 11:09:09 +0100 Subject: [PATCH] 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. --- PBRefController.m | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/PBRefController.m b/PBRefController.m index 62ae714..203fb8c 100644 --- a/PBRefController.m +++ b/PBRefController.m @@ -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)