talons

Fork of Claws Mail https://www.claws-mail
Log | Files | Refs | README | LICENSE

commit ce16e266f536ca4ad3391a2885ea9bd972bcb556
parent 9c26d835ef841712269eb45d65cb2834622381f1
Author: wwp <wwp@free.fr>
Date:   Tue, 24 Jan 2017 07:41:39 +0100

Fix typos and a wrong switch expression (coverity CID #1399549).

Diffstat:
Msrc/mainwindow.c | 2+-
Msrc/mimeview.c | 6+++---
2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/mainwindow.c b/src/mainwindow.c @@ -4709,7 +4709,7 @@ void mainwindow_delete_duplicated(MainWindow *mainwin) STATUSBAR_POP(mainwin); main_window_cursor_normal(mainwin); - switch (result > 0) { + switch (result) { case -1: break; case 0: diff --git a/src/mimeview.c b/src/mimeview.c @@ -1861,7 +1861,7 @@ static gboolean mimeview_write_part(const gchar *filename, static AlertValue mimeview_save_all_error_ask(gint n) { gchar *message = g_strdup_printf( - _("An error has ocurred while saving attachment #%d. " + _("An error has occurred while saving attachment #%d. " "Do you want to cancel operation or skip error and " "continue?"), n); AlertValue av = alertpanel_full(_("Error saving all attachments"), @@ -1883,8 +1883,8 @@ static void mimeview_save_all_info(gint errors, gint total) g_free(msg); } else { gchar *msg1 = g_strdup_printf( - ngettext("%d attachment saved succesfully", - "%d attachments saved succesfully", + ngettext("%d attachment saved successfully", + "%d attachments saved successfully", total - errors), total - errors); gchar *msg2 = g_strdup_printf(