talons

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

commit ff2577793c2c6b739e7b8e30f46d9db5a2ec6edf
parent fc95e5a9099c14c01a55ed4e339cf8f0185ccf47
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-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 */