From 0d66851bd58f75b21f30942c05a96fa7c4bf5817 Mon Sep 17 00:00:00 2001 From: Milan Crha Date: Thu, 1 Apr 2010 19:22:32 +0200 Subject: Bug #272567 - Evolution message needs ngettext support --- mail/em-utils.c | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'mail/em-utils.c') diff --git a/mail/em-utils.c b/mail/em-utils.c index 340ec58e64..a26b61099a 100644 --- a/mail/em-utils.c +++ b/mail/em-utils.c @@ -103,7 +103,14 @@ em_utils_ask_open_many (GtkWindow *parent, if (how_many < TOO_MANY) return TRUE; - string = g_strdup_printf ("%d", how_many); + string = g_strdup_printf ( + ngettext ( + /* Translators: This message is shown only for ten or more messages to be opened. + The %d is replaced with the actual count of messages. If you need a '%' in your text, + then write it doubled, like '%%'. */ + "Are you sure you want to open %d messages at once?", + "Are you sure you want to open %d messages at once?", how_many), + how_many); proceed = em_utils_prompt_user ( parent, "/apps/evolution/mail/prompts/open_many", "mail:ask-open-many", string, NULL); -- cgit