[Commits] [SCM] claws branch, master, updated. 3.14.1-209-gaffc68a

mones at claws-mail.org mones at claws-mail.org
Wed Mar 1 10:46:49 CET 2017


The branch, master has been updated
       via  affc68a9b8821e982cc1a89d7cb549570619b066 (commit)
      from  b68be74a3147911007b63191965338f22a717f1e (commit)

Summary of changes:
 src/mimeview.c |   16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)


- Log -----------------------------------------------------------------
commit affc68a9b8821e982cc1a89d7cb549570619b066
Author: Ricardo Mones <ricardo at mones.org>
Date:   Wed Mar 1 10:45:49 2017 +0100

    Make 'Save all...' report more accurate
    
    Thanks Woody for nitpicking.

diff --git a/src/mimeview.c b/src/mimeview.c
index 62ea864..add3796 100644
--- a/src/mimeview.c
+++ b/src/mimeview.c
@@ -1861,10 +1861,10 @@ 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 occurred while saving attachment #%d. "
+		_("An error has occurred while saving message part #%d. "
 		"Do you want to cancel operation or skip error and "
 		"continue?"), n);
-	AlertValue av = alertpanel_full(_("Error saving all attachments"),
+	AlertValue av = alertpanel_full(_("Error saving all message parts"),
 		message, GTK_STOCK_CANCEL, _("Skip"), _("Skip all"),
 		FALSE, NULL, ALERT_WARNING, G_ALERTDEFAULT);
 	g_free(message);
@@ -1875,21 +1875,21 @@ static void mimeview_save_all_info(gint errors, gint total)
 {
 	if (!errors) {
 		gchar *msg = g_strdup_printf(
-				ngettext("%d attachment saved succesfully.",
-					"%d attachments saved succesfully.",
+				ngettext("%d file saved succesfully.",
+					"%d files saved succesfully.",
 					total),
 				total);
 		alertpanel_notice(msg);
 		g_free(msg);
 	} else {
 		gchar *msg1 = g_strdup_printf(
-				ngettext("%d attachment saved successfully",
-					"%d attachments saved successfully",
+				ngettext("%d file saved successfully",
+					"%d files saved successfully",
 					total - errors),
 				total - errors);
 		gchar *msg2 = g_strdup_printf(
-				ngettext("%s, %d attachment failed.",
-					"%s, %d attachments failed.",
+				ngettext("%s, %d file failed.",
+					"%s, %d files failed.",
 					errors),
 				msg1, errors);
 		alertpanel_warning(msg2);

-----------------------------------------------------------------------


hooks/post-receive
-- 
Claws Mail


More information about the Commits mailing list