[Commits] [SCM] claws branch, master, updated. 3.14.1-77-gec9e88d

mones at claws-mail.org mones at claws-mail.org
Tue Dec 27 13:10:12 CET 2016


The branch, master has been updated
       via  ec9e88d3df187d7d10bd2212a48f9e01e72cb205 (commit)
      from  834ee304372a9b2409207567bd0a0d911ffa7c01 (commit)

Summary of changes:
 src/messageview.c                                 |    3 ++-
 src/plugins/address_keeper/address_keeper_prefs.c |    9 ++++++---
 src/prefs_folder_item.c                           |   15 ++++++++++-----
 3 files changed, 18 insertions(+), 9 deletions(-)


- Log -----------------------------------------------------------------
commit ec9e88d3df187d7d10bd2212a48f9e01e72cb205
Author: Ricardo Mones <ricardo at mones.org>
Date:   Tue Dec 27 13:06:51 2016 +0100

    Revert "Revert g9737584." and fix it ;)
    
    This reverts commit 834ee304 which was reverting a previous
    commit which broke build because of an extra comma. This
    reverts the revert and removes the comma.

diff --git a/src/messageview.c b/src/messageview.c
index b07813e..a62b863 100644
--- a/src/messageview.c
+++ b/src/messageview.c
@@ -866,7 +866,8 @@ static gint disposition_notification_send(MsgInfo *msginfo)
 		AlertValue val;
 		gchar *text;
 		text = g_strdup_printf(
-		  _("This message is asking for a return receipt notification\n"
+		  C_("'%s' stands for 'To' then 'Cc'",
+		    "This message is asking for a return receipt notification\n"
 		    "but according to its '%s' and '%s' headers it was not\n"
 		    "officially addressed to you.\n"
 		    "It is advised to not send the return receipt."),
diff --git a/src/plugins/address_keeper/address_keeper_prefs.c b/src/plugins/address_keeper/address_keeper_prefs.c
index 93a39f1..118899c 100644
--- a/src/plugins/address_keeper/address_keeper_prefs.c
+++ b/src/plugins/address_keeper/address_keeper_prefs.c
@@ -142,7 +142,8 @@ static void addkeeper_prefs_create_widget_func(PrefsPage * _page,
 	gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(keep_to_checkbox), addkeeperprefs.keep_to_addrs);
 	gtk_box_pack_start(GTK_BOX(keep_hbox), keep_to_checkbox, FALSE, FALSE, 0);
 	gtk_widget_show(keep_to_checkbox);
-	text = g_strdup_printf(_("Keep addresses which appear in '%s' headers"),
+	text = g_strdup_printf(C_("address keeper: %s stands for a header name",
+			"Keep addresses which appear in '%s' headers"),
 			prefs_common_translated_header_name("To"));
 	CLAWS_SET_TIP(keep_to_checkbox, text);
 	g_free(text);
@@ -154,7 +155,8 @@ static void addkeeper_prefs_create_widget_func(PrefsPage * _page,
 	gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(keep_cc_checkbox), addkeeperprefs.keep_cc_addrs);
 	gtk_box_pack_start(GTK_BOX(keep_hbox), keep_cc_checkbox, FALSE, FALSE, 0);
 	gtk_widget_show(keep_cc_checkbox);
-	text = g_strdup_printf(_("Keep addresses which appear in '%s' headers"),
+	text = g_strdup_printf(C_("address keeper: %s stands for a header name",
+			"Keep addresses which appear in '%s' headers"),
 			prefs_common_translated_header_name("Cc"));
 	CLAWS_SET_TIP(keep_cc_checkbox, text);
 	g_free(text);
@@ -166,7 +168,8 @@ static void addkeeper_prefs_create_widget_func(PrefsPage * _page,
 	gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(keep_bcc_checkbox), addkeeperprefs.keep_bcc_addrs);
 	gtk_box_pack_start(GTK_BOX(keep_hbox), keep_bcc_checkbox, FALSE, FALSE, 0);
 	gtk_widget_show(keep_bcc_checkbox);
-	text = g_strdup_printf(_("Keep addresses which appear in '%s' headers"),
+	text = g_strdup_printf(C_("address keeper: %s stands for a header name",
+			"Keep addresses which appear in '%s' headers"),
 			prefs_common_translated_header_name("Bcc"));
 	CLAWS_SET_TIP(keep_bcc_checkbox, text);
 	g_free(text);
diff --git a/src/prefs_folder_item.c b/src/prefs_folder_item.c
index dab8eb3..cc3905d 100644
--- a/src/prefs_folder_item.c
+++ b/src/prefs_folder_item.c
@@ -919,7 +919,8 @@ static void prefs_folder_item_compose_create_widget_func(PrefsPage * page_,
 		rowcount++;
 
 		/* Default To */
-		text = g_strdup_printf(_("Default %s"), prefs_common_translated_header_name("To:"));
+		text = g_strdup_printf(C_("folder properties: %s stands for a header name",
+				 "Default %s"), prefs_common_translated_header_name("To:"));
 		checkbtn_default_to = gtk_check_button_new_with_label(text);
 		gtk_table_attach(GTK_TABLE(table), checkbtn_default_to, 0, 1, 
 				 rowcount, rowcount + 1, GTK_SHRINK | GTK_FILL, GTK_SHRINK, 0, 0);
@@ -942,7 +943,8 @@ static void prefs_folder_item_compose_create_widget_func(PrefsPage * page_,
 		rowcount++;
 
 		/* Default address to reply to */
-		text = g_strdup_printf(_("Default %s for replies"), prefs_common_translated_header_name("To:"));
+		text = g_strdup_printf(C_("folder properties: %s stands for a header name",
+				 "Default %s for replies"), prefs_common_translated_header_name("To:"));
 		checkbtn_default_reply_to = gtk_check_button_new_with_label(text);
 		gtk_table_attach(GTK_TABLE(table), checkbtn_default_reply_to, 0, 1, 
 				 rowcount, rowcount + 1, GTK_SHRINK | GTK_FILL, GTK_SHRINK, 0, 0);
@@ -965,7 +967,8 @@ static void prefs_folder_item_compose_create_widget_func(PrefsPage * page_,
 		rowcount++;
 
 		/* Default Cc */
-		text = g_strdup_printf(_("Default %s"), prefs_common_translated_header_name("Cc:"));
+		text = g_strdup_printf(C_("folder properties: %s stands for a header name",
+				 "Default %s"), prefs_common_translated_header_name("Cc:"));
 		checkbtn_default_cc = gtk_check_button_new_with_label(text);
 		gtk_table_attach(GTK_TABLE(table), checkbtn_default_cc, 0, 1, 
 				 rowcount, rowcount + 1, GTK_SHRINK | GTK_FILL, GTK_SHRINK, 0, 0);
@@ -988,7 +991,8 @@ static void prefs_folder_item_compose_create_widget_func(PrefsPage * page_,
 		rowcount++;
 
 		/* Default Bcc */
-		text = g_strdup_printf(_("Default %s"), prefs_common_translated_header_name("Bcc:"));
+		text = g_strdup_printf(C_("folder properties: %s stands for a header name",
+				 "Default %s"), prefs_common_translated_header_name("Bcc:"));
 		checkbtn_default_bcc = gtk_check_button_new_with_label(text);
 		gtk_table_attach(GTK_TABLE(table), checkbtn_default_bcc, 0, 1, 
 				 rowcount, rowcount + 1, GTK_SHRINK | GTK_FILL, GTK_SHRINK, 0, 0);
@@ -1011,7 +1015,8 @@ static void prefs_folder_item_compose_create_widget_func(PrefsPage * page_,
 		rowcount++;
 
 		/* Default Reply-to */
-		text = g_strdup_printf(_("Default %s"), prefs_common_translated_header_name("Reply-To:"));
+		text = g_strdup_printf(C_("folder properties: %s stands for a header name",
+				 "Default %s"), prefs_common_translated_header_name("Reply-To:"));
 		checkbtn_default_replyto = gtk_check_button_new_with_label(text);
 		gtk_table_attach(GTK_TABLE(table), checkbtn_default_replyto, 0, 1, 
 				 rowcount, rowcount + 1, GTK_SHRINK | GTK_FILL, GTK_SHRINK, 0, 0);

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


hooks/post-receive
-- 
Claws Mail


More information about the Commits mailing list