Skip to content

Commit

Permalink
Merge branch 'ts/checkout-advice-plural'
Browse files Browse the repository at this point in the history
* ts/checkout-advice-plural:
  checkout: call a single commit "it" intead of "them"
  • Loading branch information
Junio C Hamano committed May 6, 2015
2 parents 7502b23 + fc792ca commit e971a1f
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions builtin/checkout.c
Original file line number Diff line number Diff line change
Expand Up @@ -743,10 +743,17 @@ static void suggest_reattach(struct commit *commit, struct rev_info *revs)

if (advice_detached_head)
fprintf(stderr,
_(
Q_(
/* The singular version */
"If you want to keep it by creating a new branch, "
"this may be a good time\nto do so with:\n\n"
" git branch <new-branch-name> %s\n\n",
/* The plural version */
"If you want to keep them by creating a new branch, "
"this may be a good time\nto do so with:\n\n"
" git branch <new-branch-name> %s\n\n"),
" git branch <new-branch-name> %s\n\n",
/* Give ngettext() the count */
lost),
find_unique_abbrev(commit->object.sha1, DEFAULT_ABBREV));
}

Expand Down

0 comments on commit e971a1f

Please sign in to comment.