From ca68d61f05b696d938d1f72d1e86426d4402a389 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Simon=20Steinbei=C3=9F?= Date: Thu, 19 Jan 2017 00:32:53 +0100 Subject: [PATCH] Improve kill and terminate dialog wording --- src/process-tree-view.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/process-tree-view.c b/src/process-tree-view.c index dcbfd6d..6ab63b3 100644 --- a/src/process-tree-view.c +++ b/src/process-tree-view.c @@ -368,7 +368,8 @@ cb_send_signal (GtkMenuItem *mi, gpointer user_data) dialog = gtk_message_dialog_new (NULL, 0, GTK_MESSAGE_QUESTION, GTK_BUTTONS_YES_NO, (xtm_signal == XTM_SIGNAL_TERMINATE) ? _("Terminate task") : _("Kill task")); gtk_message_dialog_format_secondary_text (GTK_MESSAGE_DIALOG (dialog), - _("Are you sure you want to send a signal to the PID %d?"), pid); + _("Are you sure you want to send the %s signal to the PID %d?"), + (xtm_signal == XTM_SIGNAL_TERMINATE) ? _("terminate") : _("kill"), pid); gtk_window_set_title (GTK_WINDOW (dialog), _("Task Manager")); gtk_window_set_position (GTK_WINDOW (dialog), GTK_WIN_POS_MOUSE); res = gtk_dialog_run (GTK_DIALOG (dialog));