[PATCH v2 03/23] archive-zip.c: mark more strings for translation

2018-06-03 Thread Nguyễn Thái Ngọc Duy
Signed-off-by: Nguyễn Thái Ngọc Duy --- archive-zip.c | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/archive-zip.c b/archive-zip.c index 48d843489c..7ad46d8854 100644 --- a/archive-zip.c +++ b/archive-zip.c @@ -309,11 +309,11 @@ static int write_zip_entry(struc

[PATCH v2 03/23] archive-zip.c: mark more strings for translation

2018-07-18 Thread Nguyễn Thái Ngọc Duy
Signed-off-by: Nguyễn Thái Ngọc Duy --- archive-zip.c | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/archive-zip.c b/archive-zip.c index 48d843489c..7ad46d8854 100644 --- a/archive-zip.c +++ b/archive-zip.c @@ -309,11 +309,11 @@ static int write_zip_entry(struc

Re: [PATCH v2 03/23] archive-zip.c: mark more strings for translation

2018-07-19 Thread Junio C Hamano
Nguyễn Thái Ngọc Duy writes: > - return error("path too long (%d chars, SHA1: %s): %s", > + return error(_("path too long (%d chars, SHA1: %s): %s"), > - return error("unsupported file mode: 0%o (SHA1: %s)", mode, > + return error(_("unsupported fi

Re: [PATCH v2 03/23] archive-zip.c: mark more strings for translation

2018-07-19 Thread Duy Nguyen
On Thu, Jul 19, 2018 at 8:26 PM Junio C Hamano wrote: > > @@ -601,7 +601,7 @@ static void dos_time(timestamp_t *timestamp, int > > *dos_date, int *dos_time) > > struct tm *t; > > > > if (date_overflows(*timestamp)) > > - die("timestamp too large for this system: %"PRItime,

Re: [PATCH v2 03/23] archive-zip.c: mark more strings for translation

2018-07-19 Thread Junio C Hamano
Duy Nguyen writes: > It turns out gettext is smart! I got this in git.pot > > msgid "timestamp too large for this system: %" OK.