[Commits] [SCM] claws branch, master, updated. 4.3.0-18-g4035a93ff

paul at claws-mail.org paul at claws-mail.org
Sat Jul 20 16:49:02 UTC 2024


The branch, master has been updated
       via  4035a93ff1263a409ff92c4de7fe079972f48aad (commit)
      from  d91e628fb56f6de24eaa9b3b1584cf8962a95045 (commit)

Summary of changes:
 src/addrduplicates.c                    | 2 +-
 src/addressbook.c                       | 6 +++---
 src/gtk/quicksearch.c                   | 4 ++--
 src/message_search.c                    | 4 ++--
 src/plugins/fancy/fancy_prefs.c         | 4 ++--
 src/plugins/managesieve/sieve_manager.c | 6 +++---
 src/plugins/pgpcore/select-keys.c       | 4 ++--
 src/prefs_account.c                     | 4 ++--
 src/prefs_message.c                     | 4 ++--
 src/prefs_summaries.c                   | 4 ++--
 src/ssl_manager.c                       | 2 +-
 src/summary_search.c                    | 4 ++--
 12 files changed, 24 insertions(+), 24 deletions(-)


- Log -----------------------------------------------------------------
commit 4035a93ff1263a409ff92c4de7fe079972f48aad
Author: Paul <paul at claws-mail.org>
Date:   Sat Jul 20 17:48:57 2024 +0100

    several buttons were not available for translation, fix that
    
    incorporating fix for bug 4871, 'Edit button in Messages view->Text settings not translatable'

diff --git a/src/addrduplicates.c b/src/addrduplicates.c
index e2a753fda..18cc4edab 100644
--- a/src/addrduplicates.c
+++ b/src/addrduplicates.c
@@ -388,7 +388,7 @@ static void present_finder_results(GtkWindow *parent)
 	gtk_container_set_border_width(GTK_CONTAINER(hbox), 4);
 	gtk_box_pack_end(GTK_BOX(vbox), hbox, FALSE, FALSE, 0);
 
-	edit_btn = gtk_button_new_with_mnemonic("_Edit");
+	edit_btn = gtk_button_new_with_mnemonic(_("_Edit"));
 	gtk_box_pack_start(GTK_BOX(hbox), edit_btn, TRUE, TRUE, 0);
 	gtk_widget_set_sensitive(edit_btn, FALSE);
 
diff --git a/src/addressbook.c b/src/addressbook.c
index 413668ec4..6068ade86 100644
--- a/src/addressbook.c
+++ b/src/addressbook.c
@@ -1144,13 +1144,13 @@ static void addressbook_create(void)
 
 	gtkut_stock_button_add_help(hbbox, &help_btn);
 
-	edit_btn = gtk_button_new_with_mnemonic("_Edit");
+	edit_btn = gtk_button_new_with_mnemonic(_("_Edit"));
 	gtk_widget_set_can_default(edit_btn, TRUE);
 	gtk_box_pack_start(GTK_BOX(hbbox), edit_btn, TRUE, TRUE, 0);
-	del_btn = gtk_button_new_with_mnemonic("_Delete");
+	del_btn = gtk_button_new_with_mnemonic(_("_Delete"));
 	gtk_widget_set_can_default(del_btn, TRUE);
 	gtk_box_pack_start(GTK_BOX(hbbox), del_btn, TRUE, TRUE, 0);
-	reg_btn = gtk_button_new_with_mnemonic("_New");
+	reg_btn = gtk_button_new_with_mnemonic(_("_New"));
 	gtk_widget_set_can_default(reg_btn, TRUE);
 	gtk_box_pack_start(GTK_BOX(hbbox), reg_btn, TRUE, TRUE, 0);
 
diff --git a/src/gtk/quicksearch.c b/src/gtk/quicksearch.c
index bc1e3e069..9ddaaa1bb 100644
--- a/src/gtk/quicksearch.c
+++ b/src/gtk/quicksearch.c
@@ -1,6 +1,6 @@
 /*
  * Claws Mail -- a GTK based, lightweight, and fast e-mail client
- * Copyright (C) 1999-2023 the Claws Mail team and Colin Leroy
+ * Copyright (C) 1999-2024 the Claws Mail team and Colin Leroy
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -938,7 +938,7 @@ QuickSearch *quicksearch_new()
 			     _("Clear the current search"));
 	gtk_widget_show(clear_search);
 
-	search_condition_expression = gtk_button_new_with_mnemonic("_Edit");
+	search_condition_expression = gtk_button_new_with_mnemonic(_("_Edit"));
 	gtk_box_pack_start(GTK_BOX(search_hbox), search_condition_expression,
 			   FALSE, FALSE, 0);
 	g_signal_connect(G_OBJECT (search_condition_expression), "clicked",
diff --git a/src/message_search.c b/src/message_search.c
index 4b6438918..323b4545b 100644
--- a/src/message_search.c
+++ b/src/message_search.c
@@ -1,6 +1,6 @@
 /*
  * Claws Mail -- a GTK based, lightweight, and fast e-mail client
- * Copyright (C) 1999-2022 the Claws Mail team and Hiroyuki Yamamoto
+ * Copyright (C) 1999-2024 the Claws Mail team and Hiroyuki Yamamoto
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -241,7 +241,7 @@ static void message_search_create(void)
 	gtk_widget_show(close_btn);
 
 	/* stop button hidden */
-	stop_btn = gtk_button_new_with_mnemonic("_Stop");
+	stop_btn = gtk_button_new_with_mnemonic(_("_Stop"));
 	gtk_widget_set_can_default(stop_btn, TRUE);
 	gtk_box_pack_start(GTK_BOX(confirm_area), stop_btn, TRUE, TRUE, 0);
 
diff --git a/src/plugins/fancy/fancy_prefs.c b/src/plugins/fancy/fancy_prefs.c
index 31f694e7c..c700dec9d 100644
--- a/src/plugins/fancy/fancy_prefs.c
+++ b/src/plugins/fancy/fancy_prefs.c
@@ -1,7 +1,7 @@
 /*
  * == Fancy Plugin ==
  * Claws Mail -- A GTK based, lightweight, and fast e-mail client
- * Copyright (C) 1999-2019 Salvatore De Paolis and the Claws Mail Team
+ * Copyright (C) 1999-2024 Salvatore De Paolis and the Claws Mail Team
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -287,7 +287,7 @@ static void create_fancy_prefs_page(PrefsPage *page, GtkWindow *window,
 	g_signal_connect(G_OBJECT(stylesheet_browse_button), "clicked",
 			 G_CALLBACK(fancy_prefs_stylesheet_browse_cb), stylesheet);
 
-	stylesheet_edit_button = gtk_button_new_with_mnemonic("_Edit");
+	stylesheet_edit_button = gtk_button_new_with_mnemonic(_("_Edit"));
 	gtk_widget_show (stylesheet_edit_button);
 	gtk_box_pack_start(GTK_BOX(hbox_css), stylesheet_edit_button, FALSE, FALSE, 0);
 	g_signal_connect(G_OBJECT(stylesheet_edit_button), "clicked",
diff --git a/src/plugins/managesieve/sieve_manager.c b/src/plugins/managesieve/sieve_manager.c
index eabeb825f..26489cf5b 100644
--- a/src/plugins/managesieve/sieve_manager.c
+++ b/src/plugins/managesieve/sieve_manager.c
@@ -1,6 +1,6 @@
 /*
  * Claws Mail -- a GTK based, lightweight, and fast e-mail client
- * Copyright (C) 2004-2022 the Claws Mail team
+ * Copyright (C) 2004-2024 the Claws Mail team
  * Copyright (C) 2014-2015 Charles Lehner
  *
  * This program is free software; you can redistribute it and/or modify
@@ -751,13 +751,13 @@ static SieveManagerPage *sieve_manager_page_new()
 	gtk_box_pack_start (GTK_BOX (vbox_allbuttons), vbox_buttons, FALSE, FALSE, 0);
 
 	/* new */
-	btn = gtk_button_new_with_mnemonic("_New");
+	btn = gtk_button_new_with_mnemonic(_("_New"));
 	gtk_box_pack_start (GTK_BOX (vbox_buttons), btn, FALSE, FALSE, 0);
 	g_signal_connect (G_OBJECT(btn), "clicked",
 			  G_CALLBACK (filter_add), page);
 
 	/* edit */
-	btn = gtk_button_new_with_mnemonic("_Edit");
+	btn = gtk_button_new_with_mnemonic(_("_Edit"));
 	gtk_box_pack_start (GTK_BOX (vbox_buttons), btn, FALSE, FALSE, 0);
 	g_signal_connect (G_OBJECT(btn), "clicked",
 			G_CALLBACK (filter_edit), page);
diff --git a/src/plugins/pgpcore/select-keys.c b/src/plugins/pgpcore/select-keys.c
index 8dd9f8df5..1df498ea7 100644
--- a/src/plugins/pgpcore/select-keys.c
+++ b/src/plugins/pgpcore/select-keys.c
@@ -1,5 +1,5 @@
 /* select-keys.c - GTK based key selection
- * Copyright (C) 2001-2022 Werner Koch (dd9jn) and the Claws Mail team
+ * Copyright (C) 2001-2024 Werner Koch (dd9jn) and the Claws Mail team
  *
  * This program is free software; you can redistribute it and/or modify        
  * it under the terms of the GNU General Public License as published by
@@ -497,7 +497,7 @@ create_dialog (struct select_keys_s *sk)
 		   		   &other_btn, NULL, _("_Other"),
 		    		   &dont_encrypt_btn, NULL, _("Do_n't encrypt"));
     
-    cancel_btn = gtk_button_new_with_mnemonic("_Cancel");
+    cancel_btn = gtk_button_new_with_mnemonic(_("_Cancel"));
     gtk_widget_set_can_default(cancel_btn, TRUE);
     gtk_box_pack_start(GTK_BOX(bbox), cancel_btn, TRUE, TRUE, 0);
     gtk_widget_show(cancel_btn);
diff --git a/src/prefs_account.c b/src/prefs_account.c
index 37968d4e7..d36cf3e02 100644
--- a/src/prefs_account.c
+++ b/src/prefs_account.c
@@ -2036,7 +2036,7 @@ static void send_create_widget_func(PrefsPage * _page,
 	PACK_CHECK_BUTTON (hbox, customhdr_checkbtn,
 			   _("Add user-defined header"));
 
-	customhdr_edit_btn = gtk_button_new_with_mnemonic("_Edit");
+	customhdr_edit_btn = gtk_button_new_with_mnemonic(_("_Edit"));
 	gtk_widget_show (customhdr_edit_btn);
 	gtk_box_pack_start (GTK_BOX (hbox), customhdr_edit_btn,
 			    FALSE, FALSE, 0);
@@ -2543,7 +2543,7 @@ static void compose_create_widget_func(PrefsPage * _page,
 	g_signal_connect(G_OBJECT(signature_browse_button), "clicked",
 			 G_CALLBACK(prefs_account_signature_browse_cb), NULL);
 
-	signature_edit_button = gtk_button_new_with_mnemonic("_Edit");
+	signature_edit_button = gtk_button_new_with_mnemonic(_("_Edit"));
 	gtk_widget_show (signature_edit_button);
 	gtk_box_pack_start (GTK_BOX (hbox2), signature_edit_button, FALSE, FALSE, 0);
 	g_signal_connect(G_OBJECT(signature_edit_button), "clicked",
diff --git a/src/prefs_message.c b/src/prefs_message.c
index 6a7e7ee0e..41b291783 100644
--- a/src/prefs_message.c
+++ b/src/prefs_message.c
@@ -1,6 +1,6 @@
 /*
  * Claws Mail -- a GTK based, lightweight, and fast e-mail client
- * Copyright (C) 2005-2020 the Claws Mail Team and Colin Leroy
+ * Copyright (C) 2005-2024 the Claws Mail Team and Colin Leroy
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -148,7 +148,7 @@ static void prefs_message_create_widget(PrefsPage *_page, GtkWindow *window,
 	PACK_CHECK_BUTTON(hbox1, checkbtn_disphdr,
 			  _("Display headers in message view"));
 
-	button_edit_disphdr = gtk_button_new_with_mnemonic("_Edit");
+	button_edit_disphdr = gtk_button_new_with_mnemonic(_("_Edit"));
 	gtk_widget_show (button_edit_disphdr);
 	gtk_box_pack_start (GTK_BOX (hbox1), button_edit_disphdr,
 			  FALSE, TRUE, 0);
diff --git a/src/prefs_summaries.c b/src/prefs_summaries.c
index 576174746..df13ee040 100644
--- a/src/prefs_summaries.c
+++ b/src/prefs_summaries.c
@@ -424,7 +424,7 @@ static void prefs_summaries_create_widget(PrefsPage *_page, GtkWindow *window,
 	label = gtk_label_new(_("Displayed columns"));
 	gtk_widget_show(label);
 	gtk_box_pack_start(GTK_BOX(hbox0), label, FALSE, FALSE, 0);
-	button_dispitem = gtk_button_new_with_mnemonic("_Edit");
+	button_dispitem = gtk_button_new_with_mnemonic(_("_Edit"));
 	gtk_widget_show (button_dispitem);
 	gtk_box_pack_start (GTK_BOX (hbox0), button_dispitem, FALSE, FALSE, 0);
 	g_signal_connect (G_OBJECT (button_dispitem), "clicked",
@@ -518,7 +518,7 @@ static void prefs_summaries_create_widget(PrefsPage *_page, GtkWindow *window,
 	label = gtk_label_new(_("Displayed columns"));
 	gtk_widget_show(label);
 	gtk_box_pack_start(GTK_BOX(hbox0), label, FALSE, FALSE, 0);
-	button_dispitem = gtk_button_new_with_mnemonic("_Edit");
+	button_dispitem = gtk_button_new_with_mnemonic(_("_Edit"));
 	gtk_widget_show (button_dispitem);
 	gtk_box_pack_start (GTK_BOX (hbox0), button_dispitem, FALSE, FALSE, 0);
 	g_signal_connect (G_OBJECT (button_dispitem), "clicked",
diff --git a/src/ssl_manager.c b/src/ssl_manager.c
index 1fbf83d30..0e5ba10ef 100644
--- a/src/ssl_manager.c
+++ b/src/ssl_manager.c
@@ -215,7 +215,7 @@ void ssl_manager_create(void)
 	g_signal_connect(G_OBJECT(view_btn), "clicked",
 			 G_CALLBACK(ssl_manager_view_cb), NULL);
 
-	close_btn = gtk_button_new_with_mnemonic("_Close");
+	close_btn = gtk_button_new_with_mnemonic(_("_Close"));
 	gtk_button_set_image(GTK_BUTTON(close_btn),
 			gtk_image_new_from_icon_name("window-close", GTK_ICON_SIZE_BUTTON));
 	g_signal_connect(G_OBJECT(close_btn), "clicked",
diff --git a/src/summary_search.c b/src/summary_search.c
index 82363a92e..d54927ad3 100644
--- a/src/summary_search.c
+++ b/src/summary_search.c
@@ -1,6 +1,6 @@
 /*
  * Claws Mail -- a GTK based, lightweight, and fast e-mail client
- * Copyright (C) 1999-2022 the Claws Mail team and Hiroyuki Yamamoto
+ * Copyright (C) 1999-2024 the Claws Mail team and Hiroyuki Yamamoto
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -498,7 +498,7 @@ static void summary_search_create(void)
 	gtk_widget_show(close_btn);
 
 	/* stop button hidden */
-	stop_btn = gtk_button_new_with_mnemonic("_Stop");
+	stop_btn = gtk_button_new_with_mnemonic(_("_Stop"));
 	gtk_widget_set_can_default(stop_btn, TRUE);
 	gtk_box_pack_start(GTK_BOX(confirm_area), stop_btn, TRUE, TRUE, 0);
 

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


hooks/post-receive
-- 
Claws Mail


More information about the Commits mailing list