[empathy/gnome-2-34] Clarify the wording to indicate it's all about accounts



commit a25c50bfacbf3dc5e4e338aac3f7842b28cb9ef7
Author: Sjoerd Simons <sjoerd simons collabora co uk>
Date:   Thu Mar 24 12:13:35 2011 +0000

    Clarify the wording to indicate it's all about accounts

 libempathy-gtk/empathy-individual-dialogs.c |   11 ++++++++---
 1 files changed, 8 insertions(+), 3 deletions(-)
---
diff --git a/libempathy-gtk/empathy-individual-dialogs.c b/libempathy-gtk/empathy-individual-dialogs.c
index a0e4048..d4b64cf 100644
--- a/libempathy-gtk/empathy-individual-dialogs.c
+++ b/libempathy-gtk/empathy-individual-dialogs.c
@@ -257,12 +257,17 @@ empathy_block_individual_dialog_show (GtkWindow *parent,
     {
       char *blocked_str = build_account_list (blocked);
       char *not_blocked_str = build_account_list (not_blocked);
+      int nblocked = g_hash_table_size (blocked);
 
       g_string_append (text, "\n\n");
       g_string_append_printf (text,
-          _("Blocking will only block calls and chats from %s. It can not "
-            "block calls and chats from %s."),
-          blocked_str, not_blocked_str);
+          ngettext (
+            "Blocking will only block calls and chats on the following"
+            " account: %s. It will not block calls and chats on %s.",
+            "Blocking will only block calls and chats on the following"
+            " accounts: %s. It will not block calls and chats on %s.",
+            nblocked),
+            blocked_str, not_blocked_str);
 
       g_free (blocked_str);
       g_free (not_blocked_str);



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