@@ -710,8 +710,8 @@ - (BOOL)fetchRemoteForRef:(PBGitRef *)ref error:(NSError **)error
710
710
NSError *taskError = nil ;
711
711
BOOL success = [task launchTask: &taskError];
712
712
if (!success) {
713
- NSString *desc = NSLocalizedString(@" Fetch failed" , @" PBGitRepository - push error description" );
714
- NSString *reason = [NSString stringWithFormat: NSLocalizedString(@" An error occurred while fetching remote \" %@ \" ." , @" PBGitRepostory - push error reason" ), ref.remoteName];
713
+ NSString *desc = NSLocalizedString(@" Fetch failed" , @" PBGitRepository - fetch error description" );
714
+ NSString *reason = [NSString stringWithFormat: NSLocalizedString(@" An error occurred while fetching remote \" %@ \" ." , @" PBGitRepostory - fetch error reason" ), ref.remoteName];
715
715
PBReturnError (error, desc, reason, taskError);
716
716
}
717
717
@@ -744,8 +744,8 @@ - (BOOL)pullBranch:(PBGitRef *)branchRef fromRemote:(PBGitRef *)remoteRef rebase
744
744
NSError *taskError = nil ;
745
745
BOOL success = [task launchTask: error];
746
746
if (!success) {
747
- NSString *desc = NSLocalizedString(@" Pull failed" , @" PBGitRepository - push error description" );
748
- NSString *reason = [NSString stringWithFormat: NSLocalizedString(@" An error occurred while pulling remote \" %@ \" to \" %@ \" ." , @" PBGitRepostory - push error reason" ), remoteName, branchRef.shortName];
747
+ NSString *desc = NSLocalizedString(@" Pull failed" , @" PBGitRepository - pull error description" );
748
+ NSString *reason = [NSString stringWithFormat: NSLocalizedString(@" An error occurred while pulling remote \" %@ \" to \" %@ \" ." , @" PBGitRepostory - pull error reason" ), remoteName, branchRef.shortName];
749
749
PBReturnError (error, desc, reason, taskError);
750
750
}
751
751
0 commit comments