]> granicus.if.org Git - neomutt/commitdiff
mx.c: Fix plural message "Move %d read messages to %s?"
authorReis Radomil <reisradomil@fake-box.com>
Tue, 22 May 2018 14:16:12 +0000 (14:16 +0000)
committerRichard Russon <rich@flatcap.org>
Tue, 29 May 2018 03:03:35 +0000 (04:03 +0100)
mx.c

diff --git a/mx.c b/mx.c
index 89cf710088f4d6f55778a0a1c5b48d5f705c9980..74845fb7356390c6ace6f001de1d273eed320ccf 100644 (file)
--- a/mx.c
+++ b/mx.c
@@ -755,7 +755,12 @@ int mx_close_mailbox(struct Context *ctx, int *index_hint)
     if (is_spool && *mbox)
     {
       mutt_expand_path(mbox, sizeof(mbox));
-      snprintf(buf, sizeof(buf), _("Move %d read messages to %s?"), read_msgs, mbox);
+      snprintf(buf, sizeof(buf),
+               /* L10N: The first argument is the number of read messages to be
+                  moved, the second argument is the target mailbox. */
+               ngettext("Move %d read message to %s?",
+                        "Move %d read messages to %s?", read_msgs),
+               read_msgs, mbox);
       move_messages = query_quadoption(Move, buf);
       if (move_messages == MUTT_ABORT)
       {