From 88b5fab823d46ed11bc57739ebf66c080b94aac8 Mon Sep 17 00:00:00 2001 From: Carles Pina i Estany Date: Mon, 1 Aug 2022 19:52:03 +0100 Subject: [PATCH] Fix "geeqie --help" remote commands section translation The strings were marked to be translated in the: "static RemoteCommandEntry remote_commands" as N_("some string") Now it translates the strings at printing time. --- src/remote.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/remote.c b/src/remote.c index 7c312723..1046ea70 100644 --- a/src/remote.c +++ b/src/remote.c @@ -1525,13 +1525,13 @@ void remote_help(void) printf_term(FALSE, " %-4s %-40s%-s\n", s_opt_param, l_opt_param, - remote_commands[i].description); + _(remote_commands[i].description)); g_free(s_opt_param); g_free(l_opt_param); } i++; } - printf_term(FALSE, N_("\n\n All other command line parameters are used as plain files if they exist.\n\n The name of a collection, with or without either path or extension (.gqv) may be used.\n")); + printf_term(FALSE, _("\n\n All other command line parameters are used as plain files if they exist.\n\n The name of a collection, with or without either path or extension (.gqv) may be used.\n")); } GList *remote_build_list(GList *list, gint argc, gchar *argv[], GList **errors) -- 2.20.1