Skip to content

Commit

Permalink
i18n: remove obsolete comments for translators in diffstat generation
Browse files Browse the repository at this point in the history
Since we do not translate diffstat any more, remove the obsolete comments.

Signed-off-by: Jiang Xin <worldhello.net@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
  • Loading branch information
Jiang Xin authored and Junio C Hamano committed Apr 17, 2014
1 parent fcaed04 commit d1d96a8
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions diff.c
Original file line number Diff line number Diff line change
Expand Up @@ -1461,20 +1461,12 @@ int print_stat_summary(FILE *fp, int files, int insertions, int deletions)
* but nothing about added/removed lines? Is this a bug in Git?").
*/
if (insertions || deletions == 0) {
/*
* TRANSLATORS: "+" in (+) is a line addition marker;
* do not translate it.
*/
strbuf_addf(&sb,
(insertions == 1) ? ", %d insertion(+)" : ", %d insertions(+)",
insertions);
}

if (deletions || insertions == 0) {
/*
* TRANSLATORS: "-" in (-) is a line removal marker;
* do not translate it.
*/
strbuf_addf(&sb,
(deletions == 1) ? ", %d deletion(-)" : ", %d deletions(-)",
deletions);
Expand Down

0 comments on commit d1d96a8

Please sign in to comment.