From: Jiang Xin Date: Thu, 17 Apr 2014 05:37:17 +0000 (+0800) Subject: i18n: fix uncatchable comments for translators in date.c X-Git-Tag: v2.0.0-rc1~6^2~3 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=fcaed04df693685dfece4a48cc8780c9a5adde0b;p=thirdparty%2Fgit.git 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 --- 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);