From e192ce801d61718fedeab3df8cb6e5f941f23226 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 d3b183b..c609b2a 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)