From fcaed04df693685dfece4a48cc8780c9a5adde0b Mon Sep 17 00:00:00 2001 From: Jiang Xin Date: Thu, 17 Apr 2014 13:37:17 +0800 Subject: i18n: fix uncatchable comments for translators in date.c Comment for l10n translators can not be extracted by xgettext if it is not right above the l10n tag. Moving the comment right before the l10n tag will fix this issue. Reported-by: Brian Gesiak Signed-off-by: Jiang Xin Signed-off-by: Junio C Hamano --- date.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'date.c') diff --git a/date.c b/date.c index e1a2cee568..782de95d90 100644 --- a/date.c +++ b/date.c @@ -144,8 +144,8 @@ void show_date_relative(unsigned long time, int tz, if (months) { struct strbuf sb = STRBUF_INIT; strbuf_addf(&sb, Q_("%lu year", "%lu years", years), years); - /* TRANSLATORS: "%s" is " years" */ strbuf_addf(timebuf, + /* TRANSLATORS: "%s" is " years" */ Q_("%s, %lu month ago", "%s, %lu months ago", months), sb.buf, months); strbuf_release(&sb); -- cgit v1.2.3