i18n: leave \n out of translated diffstat

GETTEXT_POISON scrapes everything in translated strings, including \n.
t4205.12 however needs this \n in matching the end result. Keep this
\n out of translation to make t4205.12 happy.

Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
Nguyễn Thái Ngọc Duy 2012-07-26 19:52:36 +07:00 коммит произвёл Junio C Hamano
Родитель 7f814632f5
Коммит 8212333012
1 изменённых файлов: 1 добавлений и 1 удалений

2
diff.c
Просмотреть файл

@ -1329,7 +1329,7 @@ int print_stat_summary(FILE *fp, int files, int insertions, int deletions)
if (!files) {
assert(insertions == 0 && deletions == 0);
return fputs(_(" 0 files changed\n"), fp);
return fprintf(fp, "%s\n", _(" 0 files changed"));
}
strbuf_addf(&sb,