From: Reis Radomil Date: Sun, 22 Apr 2018 04:16:01 +0000 (+0000) Subject: I18N: handler.c: Pass the complete line to the translators X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5252126cce4effc3df5624a687570c0c5afdd342;p=neomutt I18N: handler.c: Pass the complete line to the translators --- diff --git a/handler.c b/handler.c index f96adf1c8..5d50f8feb 100644 --- a/handler.c +++ b/handler.c @@ -1289,13 +1289,15 @@ static int multipart_handler(struct Body *a, struct State *s) if (s->flags & MUTT_DISPLAY) { state_mark_attach(s); - state_printf(s, _("[-- Attachment #%d"), count); if (p->description || p->filename || p->form_name) { - state_puts(": ", s); - state_puts(p->description ? p->description : p->filename ? p->filename : p->form_name, s); + /* L10N: %s is the attachment description, filename or form_name. */ + state_printf(s, _("[-- Attachment #%d: %s --]\n"), count, + p->description ? p->description : + p->filename ? p->filename : p->form_name); } - state_puts(" --]\n", s); + else + state_printf(s, _("[-- Attachment #%d --]\n"), count); print_part_line(s, p, 0); if (!Weed) {