]> granicus.if.org Git - neomutt/commit
I18N: commands.c: Do not glue translations together
authorReis Radomil <reisradomil@fake-box.com>
Sun, 22 Apr 2018 04:16:00 +0000 (04:16 +0000)
committerRichard Russon <rich@flatcap.org>
Tue, 24 Apr 2018 20:29:45 +0000 (21:29 +0100)
commit8323a34ea0fdb08f9b80fad12fd4cfef5f3bf6c3
treeaf96b7314f3429a62ae91e9ae9410721599381a7
parent72217ed75199dc622674dd1fb3409e84e3b39c04
I18N: commands.c: Do not glue translations together

Do not use this antipattern:

  printf(_("some %s sentence."), b ? _("big") : _("small"));

as the translation of "big"/"small" and depends on the sentence it is
used in. Instead give the translator the complete sentence:

  if (b)
    printf(_("some big sentence."));
  else
    printf(_("some small sentence."));
commands.c