Skip to content

Commit fcaed04

Browse files
jiangxingitster
authored andcommitted
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 <[email protected]> Signed-off-by: Jiang Xin <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 3f0c02a commit fcaed04

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

date.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,8 +144,8 @@ void show_date_relative(unsigned long time, int tz,
144144
if (months) {
145145
struct strbuf sb = STRBUF_INIT;
146146
strbuf_addf(&sb, Q_("%lu year", "%lu years", years), years);
147-
/* TRANSLATORS: "%s" is "<n> years" */
148147
strbuf_addf(timebuf,
148+
/* TRANSLATORS: "%s" is "<n> years" */
149149
Q_("%s, %lu month ago", "%s, %lu months ago", months),
150150
sb.buf, months);
151151
strbuf_release(&sb);

0 commit comments

Comments
 (0)