summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2010-11-09 22:44:00 +0100
committerSebastien Helleu <flashcode@flashtux.org>2010-11-09 22:44:00 +0100
commitc2b507633491c72ce65cde592e3a572459c64f16 (patch)
tree9a99dc62c73e74d9e3b8a8aeaa3e3bce5a0f2112 /src
parent0b54d49306407d8b93c0a1789d162e17a2a32229 (diff)
downloadweechat-c2b507633491c72ce65cde592e3a572459c64f16.zip
Add note about "%h" replaced by WeeChat home in some options
Diffstat (limited to 'src')
-rw-r--r--src/core/wee-config.c3
-rw-r--r--src/plugins/irc/irc-config.c4
-rw-r--r--src/plugins/xfer/xfer-config.c6
3 files changed, 9 insertions, 4 deletions
diff --git a/src/core/wee-config.c b/src/core/wee-config.c
index 871da9158..f0324af09 100644
--- a/src/core/wee-config.c
+++ b/src/core/wee-config.c
@@ -2031,7 +2031,8 @@ config_weechat_init_options ()
config_network_gnutls_ca_file = config_file_new_option (
weechat_config_file, ptr_section,
"gnutls_ca_file", "string",
- N_("file containing the certificate authorities"),
+ N_("file containing the certificate authorities (\"%h\" will be "
+ "replaced by WeeChat home, \"~/.weechat\" by default)"),
NULL, 0, 0, "%h/ssl/CAs.pem", NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL);
/* plugin */
diff --git a/src/plugins/irc/irc-config.c b/src/plugins/irc/irc-config.c
index 65e8aed9e..44e0e3cdc 100644
--- a/src/plugins/irc/irc-config.c
+++ b/src/plugins/irc/irc-config.c
@@ -1162,7 +1162,9 @@ irc_config_server_new_option (struct t_config_file *config_file,
new_option = weechat_config_new_option (
config_file, section,
option_name, "string",
- N_("ssl certificate file used to automatically identify your nick"),
+ N_("ssl certificate file used to automatically identify your "
+ "nick (\"%h\" will be replaced by WeeChat home, "
+ "\"~/.weechat\" by default)"),
NULL, 0, 0,
default_value, value,
null_value_allowed,
diff --git a/src/plugins/xfer/xfer-config.c b/src/plugins/xfer/xfer-config.c
index 93fb85e29..dc7c3f1dc 100644
--- a/src/plugins/xfer/xfer-config.c
+++ b/src/plugins/xfer/xfer-config.c
@@ -263,13 +263,15 @@ xfer_config_init ()
xfer_config_file_download_path = weechat_config_new_option (
xfer_config_file, ptr_section,
"download_path", "string",
- N_("path for writing incoming files"),
+ N_("path for writing incoming files (\"%h\" will be replaced by "
+ "WeeChat home, \"~/.weechat\" by default)"),
NULL, 0, 0, "%h/xfer", NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL);
xfer_config_file_upload_path = weechat_config_new_option (
xfer_config_file, ptr_section,
"upload_path", "string",
N_("path for reading files when sending (when no path is "
- "specified by user)"),
+ "specified by user) (\"%h\" will be replaced by "
+ "WeeChat home, \"~/.weechat\" by default)"),
NULL, 0, 0, "~", NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL);
xfer_config_file_use_nick_in_filename = weechat_config_new_option (
xfer_config_file, ptr_section,