From bfae60f89d7f75fc73927552e843b961da908003 Mon Sep 17 00:00:00 2001 From: Logan Rathbone Date: Wed, 1 Feb 2023 22:17:19 -0500 Subject: Mark deprecation strings for translation. --- src/option.c | 4 ++-- src/tree.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'src') diff --git a/src/option.c b/src/option.c index d638839..4909604 100644 --- a/src/option.c +++ b/src/option.c @@ -1475,8 +1475,8 @@ zenity_entry_post_callback (GOptionContext *context, GOptionGroup *group, static void show_window_icon_deprecation_warning (void) { - g_printerr ("Warning: --window-icon is deprecated and will be removed in a " - "future version of zenity. Please use --icon instead.\n"); + g_printerr (_("Warning: --window-icon is deprecated and will be removed in a " + "future version of zenity. Ignoring.\n")); } static gboolean diff --git a/src/tree.c b/src/tree.c index cebbd99..754f40a 100644 --- a/src/tree.c +++ b/src/tree.c @@ -54,8 +54,8 @@ static void zenity_tree_dialog_output (void); static void show_mid_search_deprecation_warning (void) { - g_printerr ("Warning: --mid-search is deprecated and will be removed in a " - "future version of zenity. Ignoring.\n"); + g_printerr (_("Warning: --mid-search is deprecated and will be removed in a " + "future version of zenity. Ignoring.\n")); } static gboolean zenity_tree_handle_stdin (GIOChannel *channel, GIOCondition condition, gpointer data) -- cgit v1.2.1