diff options
author | Nguyễn Thái Ngọc Duy <pclouds@gmail.com> | 2012-07-26 19:52:36 +0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2012-07-26 10:48:02 -0700 |
commit | 8212333012fa4e95373269526e4a702be7bb2d4b (patch) | |
tree | f371f7d010df609e8d7bab33dd55d5d10c9cd22a | |
parent | 7f814632f5d4d7af9f4225ece6039dbc44e03079 (diff) | |
download | git-8212333012fa4e95373269526e4a702be7bb2d4b.tar.gz git-8212333012fa4e95373269526e4a702be7bb2d4b.tar.xz |
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>
-rw-r--r-- | diff.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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, |