[Commits] [SCM] claws branch, gtk3, updated. 3.16.0-948-gff2577793

paul at claws-mail.org paul at claws-mail.org
Thu May 7 18:16:11 CEST 2020


The branch, gtk3 has been updated
       via  ff2577793c2c6b739e7b8e30f46d9db5a2ec6edf (commit)
      from  fc95e5a9099c14c01a55ed4e339cf8f0185ccf47 (commit)

Summary of changes:
 src/prefs_template.c | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)


- Log -----------------------------------------------------------------
commit ff2577793c2c6b739e7b8e30f46d9db5a2ec6edf
Author: Paul <paul at claws-mail.org>
Date:   Thu May 7 17:13:57 2020 +0100

    fix non-translation of some strings

diff --git a/src/prefs_template.c b/src/prefs_template.c
index 384bd39b7..1064c42cf 100644
--- a/src/prefs_template.c
+++ b/src/prefs_template.c
@@ -1,7 +1,7 @@
 /*
  * Claws Mail templates subsystem 
  * Copyright (C) 2001 Alexander Barinov
- * Copyright (C) 2001-2019 The Claws Mail team
+ * Copyright (C) 2001-2020 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
@@ -75,10 +75,10 @@ static struct
 	gboolean compl;
 	gchar *tooltips;
 } widgets_table[] = {
-	{N_("Name"),	&templates.entry_name,		FALSE,
-		N_("This name is used as the Menu item")},
+	{"Name",	&templates.entry_name,		FALSE,
+		"This name is used as the Menu item"},
 	{"From",	&templates.entry_from,		TRUE,
-		N_("Override composing account's From header. This doesn't change the composing account.")},
+		"Override composing account's From header. This doesn't change the composing account."},
 	{"To",		&templates.entry_to,		TRUE, 	NULL},
 	{"Cc",		&templates.entry_cc,		TRUE, 	NULL},
 	{"Bcc",		&templates.entry_bcc,		TRUE, 	NULL},
@@ -232,7 +232,7 @@ static void prefs_template_window_create(void)
 
 		label = gtk_label_new( (i != 0) ?
 			prefs_common_translated_header_name(widgets_table[i].label) :
-			widgets_table[i].label);
+			_(widgets_table[i].label));
 		gtk_widget_show(label);
 		gtk_label_set_xalign(GTK_LABEL(label), 1.0);
 		gtk_grid_attach(GTK_GRID(table), label, 0, i, 1, 1);
@@ -243,7 +243,7 @@ static void prefs_template_window_create(void)
 		gtk_widget_set_hexpand(*(widgets_table[i].entry), TRUE);
 		gtk_widget_set_halign(*(widgets_table[i].entry), GTK_ALIGN_FILL);
 		CLAWS_SET_TIP(*(widgets_table[i].entry),
-				widgets_table[i].tooltips);
+				_(widgets_table[i].tooltips));
 	}
 
 	/* template content */

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


hooks/post-receive
-- 
Claws Mail


More information about the Commits mailing list