File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -363,8 +363,8 @@ - (void)performPushForBranch:(PBGitRef *)branchRef toRemote:(PBGitRef *)remoteRe
363
363
NSAlert *alert = [[NSAlert alloc ] init ];
364
364
alert.messageText = description;
365
365
alert.informativeText = [NSString stringWithFormat: @" Are you sure you want to %@ ?" , sdesc];
366
- [alert addButtonWithTitle: @" Push" ];
367
- [alert addButtonWithTitle: @" Cancel" ];
366
+ [alert addButtonWithTitle: NSLocalizedString( @" Push" , @" Push alert - default button " ) ];
367
+ [alert addButtonWithTitle: NSLocalizedString( @" Cancel" , @" Push alert - cancel button " ) ];
368
368
[alert setShowsSuppressionButton: YES ];
369
369
370
370
[self confirmDialog: alert suppressionIdentifier: @" Confirm Push" forAction: ^{
@@ -509,8 +509,8 @@ - (IBAction)deleteRef:(id)sender
509
509
NSAlert *alert = [[NSAlert alloc ] init ];
510
510
alert.messageText = [NSString stringWithFormat: @" Delete %@ ?" , ref_desc];
511
511
alert.informativeText = [NSString stringWithFormat: @" Are you sure you want to remove the %@ ?" , ref_desc];
512
- [alert addButtonWithTitle: @" Delete" ];
513
- [alert addButtonWithTitle: @" Cancel" ];
512
+ [alert addButtonWithTitle: NSLocalizedString( @" Delete" , @" Delete ref alert - default button " ) ];
513
+ [alert addButtonWithTitle: NSLocalizedString( @" Cancel" , @" Delete ref alert - cancel button " ) ];
514
514
515
515
[self confirmDialog: alert suppressionIdentifier: @" Delete Ref" forAction: ^{
516
516
NSError *error = nil ;
You can’t perform that action at this time.
0 commit comments