Merge branch 'mjog/949-translation-plural-form' into 'mainline'

Fix missing translation plural form

Closes #949

See merge request GNOME/geary!562
This commit is contained in:
Michael Gratton 2020-08-27 12:37:37 +00:00
commit c2ee4656cd

View file

@ -15,7 +15,7 @@ public void peas_register_types(TypeModule module) {
}
/**
* Plugin to Fill in and send email templates using a spreadsheet.
* Plugin to fill in and send email templates using a spreadsheet.
*/
public class Plugin.MailMerge :
PluginBase, FolderExtension, EmailExtension, TrustedExtension {
@ -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
);