* src/maemo/modest-msg-edit-window.c
authorAlberto Garcia <agarcia@igalia.com>
Wed, 12 Mar 2008 14:31:17 +0000 (14:31 +0000)
committerAlberto Garcia <agarcia@igalia.com>
Wed, 12 Mar 2008 14:31:17 +0000 (14:31 +0000)
(modest_msg_edit_window_remove_attachments): Fix problem
showing the plural form of emev_nc_delete_attachment
Fixes NB#81015

pmo-trunk-r4302

src/maemo/modest-msg-edit-window.c

index 3b15b43..6485d5d 100644 (file)
@@ -2396,7 +2396,7 @@ modest_msg_edit_window_remove_attachments (ModestMsgEditWindow *window,
                        filename = g_strdup ("");
                }
                message = g_strdup_printf (ngettext("emev_nc_delete_attachment", "emev_nc_delete_attachments",
                        filename = g_strdup ("");
                }
                message = g_strdup_printf (ngettext("emev_nc_delete_attachment", "emev_nc_delete_attachments",
-                                                   (tny_list_get_length (att_list) == 1)), filename);
+                                                   tny_list_get_length (att_list)), filename);
                g_free (filename);
                confirmation_dialog = hildon_note_new_confirmation (GTK_WINDOW (window), message);
                g_free (message);
                g_free (filename);
                confirmation_dialog = hildon_note_new_confirmation (GTK_WINDOW (window), message);
                g_free (message);