talons

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

commit 762f1218723bc28c72b118f549bed9111d2fb20b
parent 85c4fc73014ea2f095056b7e91728f1380066915
Author: Paul <paul@claws-mail.org>
Date:   Thu,  7 May 2020 17:13:57 +0100

fix non-translation of some strings

Diffstat:
Msrc/prefs_template.c | 12++++++------
1 file changed, 6 insertions(+), 6 deletions(-)

diff --git 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-2013 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 @@ -76,10 +76,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}, @@ -234,7 +234,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_table_attach(GTK_TABLE(table), label, 0, 1, i, (i + 1), (GtkAttachOptions) (GTK_FILL), @@ -247,7 +247,7 @@ static void prefs_template_window_create(void) (GtkAttachOptions) (GTK_EXPAND|GTK_SHRINK|GTK_FILL), (GtkAttachOptions) 0, 0, 0); CLAWS_SET_TIP(*(widgets_table[i].entry), - widgets_table[i].tooltips); + _(widgets_table[i].tooltips)); } /* template content */