Do not translate individual parts of a message and then combine them in
a printf-style way. This might work for English but miserably fails for
other languages. Instead use two or more complete sentences and pass
each of the sentences to the translator.
Fixes issue #1680
if (mutt_buffer_is_empty(filebuf))
{
- mutt_buffer_printf(err, _("%s: no %s for this menu"),
- dump_all ? "all" : buf->data, bind ? "binds" : "macros");
+ // L10N: '%s' is the name of the menu, e.g. 'index' or 'pager', it might
+ // L10N: also be 'all' when all menus are affected.
+ mutt_buffer_printf(err, bind ? _("%s: no binds for this menu") : _("%s: no macros for this menu"),
+ dump_all ? "all" : buf->data);
mutt_buffer_free(&filebuf);
return MUTT_CMD_ERROR;
}