[geary/mjog/949-translation-plural-form: 4/4] Plugin.MailMerge: Fix translatable string that should be in plural form




commit 55daae089f878ced5876c5c6ab07c362b3e15e12
Author: Michael Gratton <mike vee net>
Date:   Thu Aug 27 10:25:50 2020 +1000

    Plugin.MailMerge: Fix translatable string that should be in plural form
    
    Fixes #949

 src/client/plugin/mail-merge/mail-merge.vala | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
---
diff --git a/src/client/plugin/mail-merge/mail-merge.vala b/src/client/plugin/mail-merge/mail-merge.vala
index 1bd798cdf..1fa7c7c1d 100644
--- a/src/client/plugin/mail-merge/mail-merge.vala
+++ b/src/client/plugin/mail-merge/mail-merge.vala
@@ -236,7 +236,11 @@ public class Plugin.MailMerge :
         // Translators: Info bar description for the mail merge
         // folder. The first string substitution the number of email
         // already sent, the second is the total number to send.
-        this.merge_bar.description = _("Sent %u of %u").printf(
+        this.merge_bar.description = ngettext(
+            "Sent %u of %u",
+            "Sent %u of %u",
+            this.merge_folder.email_total
+        ).printf(
             this.merge_folder.email_sent,
             this.merge_folder.email_total
         );


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]