diff options
author | Jiang Xin <worldhello.net@gmail.com> | 2014-04-17 13:37:17 +0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2014-04-17 11:03:28 -0700 |
commit | fcaed04df693685dfece4a48cc8780c9a5adde0b (patch) | |
tree | 8d200b72c207cf75d25adee8f28bed37228e26bf /date.c | |
parent | 3f0c02a1c018ddaced5c97b58f550b2ad17dd0a9 (diff) | |
download | git-fcaed04df693685dfece4a48cc8780c9a5adde0b.tar.gz |
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>
Diffstat (limited to 'date.c')
-rw-r--r-- | date.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 "<n> years" */ strbuf_addf(timebuf, + /* TRANSLATORS: "%s" is "<n> years" */ Q_("%s, %lu month ago", "%s, %lu months ago", months), sb.buf, months); strbuf_release(&sb); |