1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-12 14:14:48 +02:00

xfer: update command/config docs with passive DCC support.

This commit is contained in:
Mario Campos
2023-08-24 08:34:46 -05:00
committed by Sébastien Helleu
parent 7f0f947667
commit 1ee3bad88b
2 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -7134,7 +7134,7 @@ irc_command_init ()
"%(irc_msg_part)", &irc_command_cycle, NULL, NULL);
weechat_hook_command (
"dcc",
N_("start a DCC (file transfer or direct chat)"),
N_("start a DCC (passive file transfer or direct chat)"),
/* TRANSLATORS: only text between angle brackets (eg: "<name>") must be translated */
N_("chat <nick> || send <nick> <file>"),
N_("nick: nick\n"
+5 -5
View File
@@ -271,17 +271,17 @@ xfer_config_init ()
xfer_config_network_own_ip = weechat_config_new_option (
xfer_config_file, xfer_config_section_network,
"own_ip", "string",
N_("IP or DNS address used for sending files/chats "
N_("IP or DNS address used for sending and passively receiving files/chats "
"(if empty, local interface IP is used)"),
NULL, 0, 0, "", NULL, 0,
NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
xfer_config_network_port_range = weechat_config_new_option (
xfer_config_file, xfer_config_section_network,
"port_range", "string",
N_("restricts outgoing files/chats to use only ports in the given "
"range (useful for NAT) (syntax: a single port, ie. 5000 or a "
"port range, ie. 5000-5015, empty value means any port, it's "
"recommended to use ports greater than 1024, because only root "
N_("restricts outgoing files/chats and incoming/passive files to use "
"only ports in the given range (useful for NAT) (syntax: a single port, "
"ie. 5000 or a port range, ie. 5000-5015, empty value means any port, "
"it's recommended to use ports greater than 1024, because only root "
"can use ports below 1024)"),
NULL, 0, 0, "", NULL, 0,
NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);