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 <modocache@gmail.com> Signed-off-by: Jiang Xin <worldhello.net@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Jiang Xin committed
Apr 17, 2014 at 13:37 UTC
fcaed04df693685dfece4a48cc8780c9a5adde0b
1 file changed
+1
-1
date.c
+1
-1
@@ -144,8 +144,8 @@ void show_date_relative(unsigned long time, int tz,
144
if (months) {
145
struct strbuf sb = STRBUF_INIT;
146
strbuf_addf(&sb, Q_("%lu year", "%lu years", years), years);
147
- /* TRANSLATORS: "%s" is "<n> years" */
147
strbuf_addf(timebuf,
148
+ /* TRANSLATORS: "%s" is "<n> years" */
149
Q_("%s, %lu month ago", "%s, %lu months ago", months),
150
sb.buf, months);
151
strbuf_release(&sb);