зеркало из https://github.com/microsoft/git.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 <modocache@gmail.com> Signed-off-by: Jiang Xin <worldhello.net@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
Родитель
3f0c02a1c0
Коммит
fcaed04df6
2
date.c
2
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 "<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);
|
||||
|
|
Загрузка…
Ссылка в новой задаче