[Commits] [SCM] claws branch, master, updated. 3.17.5-11-g762f12187
paul at claws-mail.org
paul at claws-mail.org
Thu May 7 18:14:02 CEST 2020
The branch, master has been updated
via 762f1218723bc28c72b118f549bed9111d2fb20b (commit)
from 85c4fc73014ea2f095056b7e91728f1380066915 (commit)
Summary of changes:
src/prefs_template.c | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
- Log -----------------------------------------------------------------
commit 762f1218723bc28c72b118f549bed9111d2fb20b
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 26683669e..ee6a02da3 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-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 */
-----------------------------------------------------------------------
hooks/post-receive
--
Claws Mail
More information about the Commits
mailing list