[Commits] [SCM] claws branch, gtk3, updated. 4.0.0-423-gf6918f9d7

paul at claws-mail.org paul at claws-mail.org
Fri Mar 11 12:05:02 CET 2022


The branch, gtk3 has been updated
       via  f6918f9d74a0c6cbffd6cd4a4a8be64c23009ba4 (commit)
      from  af51609d216c8449f2631646504433caf0ca8057 (commit)

Summary of changes:
 src/plugins/keyword_warner/keyword_warner.c       | 15 ++++++++-------
 src/plugins/keyword_warner/keyword_warner_prefs.c |  2 +-
 2 files changed, 9 insertions(+), 8 deletions(-)


- Log -----------------------------------------------------------------
commit f6918f9d74a0c6cbffd6cd4a4a8be64c23009ba4
Author: paul <paul at claws-mail.org>
Date:   Fri Mar 11 11:04:56 2022 +0000

    improve plugin description, and remove unnecessary underscores

diff --git a/src/plugins/keyword_warner/keyword_warner.c b/src/plugins/keyword_warner/keyword_warner.c
index bba53d9ff..3dd0fc9d9 100644
--- a/src/plugins/keyword_warner/keyword_warner.c
+++ b/src/plugins/keyword_warner/keyword_warner.c
@@ -186,9 +186,9 @@ static gboolean kwarn_before_send_hook(gpointer source, gpointer data)
 		bold_text = g_strdup_printf("<span weight=\"bold\">%.20s</span>...",
 				mention->context);
 		message = g_strdup_printf(
-				_("A keyword is mentioned in the mail you're sending. "
-				" Mention appears on line %d, "
-				"which begins with text: %s\n\n%s"),
+				_("A keyword is used in the mail you are sending. "
+				"The keyword appears on line %d, "
+				"which begins with the text: %s\n\n%s"),
 				mention->line,
 				bold_text,
 				compose->sending?_("Send it anyway?"):_("Queue it anyway?"));
@@ -220,7 +220,7 @@ static gboolean kwarn_before_send_hook(gpointer source, gpointer data)
 gint plugin_init(gchar **error)
 {
 	if (!check_plugin_version(MAKE_NUMERIC_VERSION(2,9,2,72),
-			VERSION_NUMERIC, "Keyword_Warner", error))
+			VERSION_NUMERIC, "Keyword Warner", error))
 		return -1;
 
 	hook_id = hooks_register_hook(COMPOSE_CHECK_BEFORE_SEND_HOOKLIST,
@@ -257,7 +257,7 @@ gboolean plugin_done(void)
  */
 const gchar *plugin_name(void)
 {
-	return _("Keyword_Warner");
+	return _("Keyword Warner");
 }
 
 /**
@@ -267,7 +267,8 @@ const gchar *plugin_name(void)
  */
 const gchar *plugin_desc(void)
 {
-	return _("Warns user if some reference to keywords is found in the "
+	return _("Shows a warning when sending or queueing a message "
+		 "and a reference to one or more keywords is found in the "
 	         "message text.");
 }
 
@@ -309,7 +310,7 @@ const gchar *plugin_version(void)
 struct PluginFeature *plugin_provides(void)
 {
 	static struct PluginFeature features[] = 
-		{ {PLUGIN_OTHER, N_("Keyword_Warner")},
+		{ {PLUGIN_OTHER, N_("Keyword Warner")},
 		  {PLUGIN_NOTHING, NULL}};
 
 	return features;
diff --git a/src/plugins/keyword_warner/keyword_warner_prefs.c b/src/plugins/keyword_warner/keyword_warner_prefs.c
index fca01e527..f969d2513 100644
--- a/src/plugins/keyword_warner/keyword_warner_prefs.c
+++ b/src/plugins/keyword_warner/keyword_warner_prefs.c
@@ -234,7 +234,7 @@ void keyword_warner_prefs_init(void)
 	gchar *tmp;
 
 	path[0] = _("Plugins");
-	path[1] = _("Keyword_Warner");
+	path[1] = _("Keyword Warner");
 	path[2] = NULL;
 
 	prefs_set_default(param);

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


hooks/post-receive
-- 
Claws Mail


More information about the Commits mailing list