Skip to content

Commit 850fa5c

Browse files
committed
More consistent use of Capital letters in contextual menu
1 parent 6d31f2e commit 850fa5c

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

Classes/Views/PBRefMenuItem.m

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -97,15 +97,15 @@ + (PBRefMenuItem *) separatorItem
9797
[items addObject:[PBRefMenuItem separatorItem]];
9898

9999
// create branch
100-
NSString *createBranchTitle = [ref isRemoteBranch] ? [NSString stringWithFormat:@"Create branch that tracks %@", refName] : @"Create Branch…";
100+
NSString *createBranchTitle = [ref isRemoteBranch] ? [NSString stringWithFormat:@"Create Branch tracking %@", refName] : @"Create Branch…";
101101
[items addObject:[PBRefMenuItem itemWithTitle:createBranchTitle action:@selector(createBranch:) enabled:YES]];
102102

103103
// create tag
104104
[items addObject:[PBRefMenuItem itemWithTitle:@"Create Tag…" action:@selector(createTag:) enabled:YES]];
105105

106106
// view tag info
107107
if ([ref isTag])
108-
[items addObject:[PBRefMenuItem itemWithTitle:@"View tag info" action:@selector(showTagInfoSheet:) enabled:YES]];
108+
[items addObject:[PBRefMenuItem itemWithTitle:@"View Tag Info" action:@selector(showTagInfoSheet:) enabled:YES]];
109109

110110
// Diff
111111
NSString *diffTitle = [NSString stringWithFormat:@"Diff with %@", headRefName];
@@ -128,13 +128,13 @@ + (PBRefMenuItem *) separatorItem
128128
[items addObject:[PBRefMenuItem itemWithTitle:fetchTitle action:@selector(fetchRemote:) enabled:hasRemote]];
129129

130130
// pull
131-
NSString *pullTitle = hasRemote ? [NSString stringWithFormat:@"Pull %@ and update %@", remoteName, headRefName] : @"Pull";
131+
NSString *pullTitle = hasRemote ? [NSString stringWithFormat:@"Pull %@ and Update %@", remoteName, headRefName] : @"Pull";
132132
[items addObject:[PBRefMenuItem itemWithTitle:pullTitle action:@selector(pullRemote:) enabled:hasRemote]];
133133

134134
// push
135135
if (isRemote || [ref isRemoteBranch]) {
136136
// push updates to remote
137-
NSString *pushTitle = [NSString stringWithFormat:@"Push updates to %@", remoteName];
137+
NSString *pushTitle = [NSString stringWithFormat:@"Push Updates to %@", remoteName];
138138
[items addObject:[PBRefMenuItem itemWithTitle:pushTitle action:@selector(pushUpdatesToRemote:) enabled:YES]];
139139
}
140140
else if (isDetachedHead) {
@@ -219,15 +219,15 @@ + (PBRefMenuItem *) separatorItem
219219
[items addObject:[PBRefMenuItem separatorItem]];
220220

221221
// merge commit
222-
NSString *mergeTitle = isOnHeadBranch ? @"Merge commit" : [NSString stringWithFormat:@"Merge commit into %@", headBranchName];
222+
NSString *mergeTitle = isOnHeadBranch ? @"Merge Commit" : [NSString stringWithFormat:@"Merge Commit into %@", headBranchName];
223223
[items addObject:[PBRefMenuItem itemWithTitle:mergeTitle action:@selector(merge:) enabled:!isOnHeadBranch]];
224224

225225
// cherry pick
226-
NSString *cherryPickTitle = isOnHeadBranch ? @"Cherry pick commit" : [NSString stringWithFormat:@"Cherry pick commit to %@", headBranchName];
226+
NSString *cherryPickTitle = isOnHeadBranch ? @"Cherry Pick Commit" : [NSString stringWithFormat:@"Cherry Pick Commit to %@", headBranchName];
227227
[items addObject:[PBRefMenuItem itemWithTitle:cherryPickTitle action:@selector(cherryPick:) enabled:!isOnHeadBranch]];
228228

229229
// rebase
230-
NSString *rebaseTitle = isOnHeadBranch ? @"Rebase commit" : [NSString stringWithFormat:@"Rebase %@ on commit", headBranchName];
230+
NSString *rebaseTitle = isOnHeadBranch ? @"Rebase Commit" : [NSString stringWithFormat:@"Rebase %@ on Commit", headBranchName];
231231
[items addObject:[PBRefMenuItem itemWithTitle:rebaseTitle action:@selector(rebaseHeadBranch:) enabled:!isOnHeadBranch]];
232232
}
233233

0 commit comments

Comments
 (0)