From fa1e82d5007bb7fdafd63f33faca5b955fbf9c3d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Helleu?= Date: Sat, 9 Sep 2023 21:21:55 +0200 Subject: [PATCH] xfer: format and translate commands line by line (issue #2005) --- src/plugins/xfer/xfer-command.c | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/src/plugins/xfer/xfer-command.c b/src/plugins/xfer/xfer-command.c index 09ae756c6..bbff9a42a 100644 --- a/src/plugins/xfer/xfer-command.c +++ b/src/plugins/xfer/xfer-command.c @@ -258,17 +258,19 @@ xfer_command_init () N_("send a CTCP action to remote host"), /* TRANSLATORS: only text between angle brackets (eg: "") must be translated */ N_(""), - N_("message: message to send"), + WEECHAT_CMD_ARGS_DESC( + N_("message: message to send")), NULL, &xfer_command_me, NULL, NULL); weechat_hook_command ( "xfer", N_("xfer control"), "[list|listfull]", - N_(" list: list xfer\n" - "listfull: list xfer (verbose)\n" - "\n" - "Without argument, this command opens buffer with xfer list."), + WEECHAT_CMD_ARGS_DESC( + N_("raw[list]: list xfer"), + N_("raw[listfull]: list xfer (verbose)"), + "", + N_("Without argument, this command opens buffer with xfer list.")), "list|listfull", &xfer_command_xfer, NULL, NULL); }