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




commit 04414b83f7c94142e0c89a093dd087e189410ff1
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]