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>
Nguyễn Thái Ngọc Duy committed
Jul 26, 2012 at 19:52 UTC
8212333012fa4e95373269526e4a702be7bb2d4b
1 file changed
+1
-1
diff.c
+1
-1
@@ -1329,7 +1329,7 @@ int print_stat_summary(FILE *fp, int files, int insertions, int deletions)
1329
1330
if (!files) {
1331
assert(insertions == 0 && deletions == 0);
1332
- return fputs(_(" 0 files changed\n"), fp);
1332
+ return fprintf(fp, "%s\n", _(" 0 files changed"));
1333
}
1334
1335
strbuf_addf(&sb,