1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-26 04:46:37 +02:00

core: sort config options by name in sources

This commit is contained in:
Sebastien Helleu
2013-07-11 22:31:33 +02:00
parent d301dd6c17
commit fa9f787e14
24 changed files with 5050 additions and 5047 deletions
+364 -364
View File
File diff suppressed because it is too large Load Diff
+410 -410
View File
File diff suppressed because it is too large Load Diff
+368 -368
View File
File diff suppressed because it is too large Load Diff
+403 -403
View File
File diff suppressed because it is too large Load Diff
+364 -364
View File
File diff suppressed because it is too large Load Diff
+371 -371
View File
File diff suppressed because it is too large Load Diff
+357 -357
View File
File diff suppressed because it is too large Load Diff
+366 -366
View File
File diff suppressed because it is too large Load Diff
+366 -366
View File
File diff suppressed because it is too large Load Diff
+365 -365
View File
File diff suppressed because it is too large Load Diff
+294 -294
View File
@@ -20,7 +20,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat 0.4.2-dev\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2013-07-05 18:09+0200\n"
"POT-Creation-Date: 2013-07-11 19:51+0200\n"
"PO-Revision-Date: 2013-06-28 13:51+0200\n"
"Last-Translator: Hasan Kiran <sunder67@hotmail.com>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -2195,11 +2195,6 @@ msgstr ""
msgid "display a vertical separator between windows"
msgstr ""
msgid ""
"color for window separators (when split) and separators beside bars (like "
"nicklist)"
msgstr ""
msgid "text color for '+' when scrolling bars"
msgstr ""
@@ -2209,8 +2204,13 @@ msgstr "sohbet için metin rengi"
msgid "background color for chat"
msgstr "sohbet için arkaplan rengi"
msgid ""
"text color for chat when window is inactive (not current selected window)"
msgid "text color for buffer names"
msgstr ""
msgid "text color for channel names"
msgstr "kanal isimleri için metin rengi"
msgid "text color for delimiters"
msgstr ""
msgid ""
@@ -2218,10 +2218,47 @@ msgid ""
"buffers and is not selected)"
msgstr ""
msgid "text color for time in chat window"
msgstr "sohbet penceresindeki zaman için metin rengi"
msgid ""
"text color for chat when window is inactive (not current selected window)"
msgstr ""
msgid "text color for time delimiters"
msgid "text color for nicks in chat window"
msgstr "sohbet penceresindeki rumuzlar için metin rengi"
#. TRANSLATORS: please do not translate "lightred:blue"
msgid ""
"text color for nicks (comma separated list of colors, background is allowed "
"with format: \"fg:bg\", for example: \"lightred:blue\")"
msgstr ""
msgid "color for nick prefix (string displayed before nick in prefix)"
msgstr ""
msgid "text color for offline nick (not in nicklist any more)"
msgstr ""
msgid "text color for offline nick with highlight"
msgstr ""
msgid "background color for offline nick with highlight"
msgstr ""
msgid "text color for other nick in private buffer"
msgstr ""
msgid "text color for local nick in chat window"
msgstr "sohbet penceresindeki yerel rumuz için metin rengi"
msgid "color for nick suffix (string displayed after nick in prefix)"
msgstr ""
msgid "text color for highlighted prefix"
msgstr ""
msgid "background color for highlighted prefix"
msgstr ""
msgid "text color for hostnames"
msgstr ""
msgid ""
@@ -2255,63 +2292,15 @@ msgstr ""
msgid "text color for suffix (after prefix)"
msgstr ""
msgid "text color for buffer names"
msgstr ""
msgid "text color for server names"
msgstr "sunucu isimleri için metin rengi"
msgid "text color for channel names"
msgstr "kanal isimleri için metin rengi"
msgid "text color for nicks in chat window"
msgstr "sohbet penceresindeki rumuzlar için metin rengi"
#. TRANSLATORS: please do not translate "lightred:blue"
msgid ""
"text color for nicks (comma separated list of colors, background is allowed "
"with format: \"fg:bg\", for example: \"lightred:blue\")"
msgstr ""
msgid "color for nick prefix (string displayed before nick in prefix)"
msgstr ""
msgid "color for nick suffix (string displayed after nick in prefix)"
msgstr ""
msgid "text color for local nick in chat window"
msgstr "sohbet penceresindeki yerel rumuz için metin rengi"
msgid "text color for offline nick (not in nicklist any more)"
msgstr ""
msgid "text color for offline nick with highlight"
msgstr ""
msgid "background color for offline nick with highlight"
msgstr ""
msgid "text color for other nick in private buffer"
msgstr ""
msgid "text color for hostnames"
msgstr ""
msgid "text color for delimiters"
msgstr ""
msgid "text color for highlighted prefix"
msgstr ""
msgid "background color for highlighted prefix"
msgstr ""
msgid "text color for unread data marker"
msgstr ""
msgid "background color for unread data marker"
msgstr ""
msgid "text color for server names"
msgstr "sunucu isimleri için metin rengi"
msgid "text color for tags after messages (displayed with command /debug tags)"
msgstr ""
@@ -2321,10 +2310,51 @@ msgstr ""
msgid "background color for marker on lines where text sought is found"
msgstr ""
msgid "text color for time in chat window"
msgstr "sohbet penceresindeki zaman için metin rengi"
msgid "text color for time delimiters"
msgstr ""
msgid "text color for values"
msgstr "değerler için metin rengi"
msgid "text color for current buffer number in status bar"
msgid "text color for actions in input line"
msgstr ""
msgid "text color for unsuccessful text search in input line"
msgstr ""
msgid ""
"color for window separators (when split) and separators beside bars (like "
"nicklist)"
msgstr ""
msgid "text color for count of highlight messages in hotlist (status bar)"
msgstr ""
msgid "text color for count of messages in hotlist (status bar)"
msgstr ""
msgid "text color for count of other messages in hotlist (status bar)"
msgstr ""
msgid "text color for count of private messages in hotlist (status bar)"
msgstr ""
msgid "text color for buffer with highlight (status bar)"
msgstr ""
msgid "text color for buffer with new messages (status bar)"
msgstr ""
msgid "text color for buffer with new data (not messages) (status bar)"
msgstr ""
msgid "text color for buffer with private message (status bar)"
msgstr ""
msgid "text color for filter indicator in status bar"
msgstr ""
msgid "text color for current buffer name in status bar"
@@ -2335,31 +2365,7 @@ msgid ""
"protocol like SSL"
msgstr ""
msgid "text color for filter indicator in status bar"
msgstr ""
msgid "text color for buffer with new messages (status bar)"
msgstr ""
msgid "text color for buffer with private message (status bar)"
msgstr ""
msgid "text color for buffer with highlight (status bar)"
msgstr ""
msgid "text color for buffer with new data (not messages) (status bar)"
msgstr ""
msgid "text color for count of messages in hotlist (status bar)"
msgstr ""
msgid "text color for count of private messages in hotlist (status bar)"
msgstr ""
msgid "text color for count of highlight messages in hotlist (status bar)"
msgstr ""
msgid "text color for count of other messages in hotlist (status bar)"
msgid "text color for current buffer number in status bar"
msgstr ""
msgid "text color for buffer with new data (status bar)"
@@ -2368,18 +2374,12 @@ msgstr ""
msgid "text color for time (status bar)"
msgstr "zaman için metin rengi (durum çubuğu)"
msgid "text color for unsuccessful text search in input line"
msgstr ""
msgid "text color for actions in input line"
msgstr ""
msgid "text color for away nicknames"
msgstr "uzaktaki kullanıcı isimleri için metin rengi"
msgid "text color for groups in nicklist"
msgstr ""
msgid "text color for away nicknames"
msgstr "uzaktaki kullanıcı isimleri için metin rengi"
msgid "text color for offline nicknames"
msgstr ""
@@ -2421,15 +2421,17 @@ msgid ""
"with same prefix)"
msgstr ""
msgid "display count for each partial completion in bar item"
msgstr ""
msgid ""
"partially complete outside commands (stop when many words found begin with "
"same letters)"
msgstr ""
msgid "display count for each partial completion in bar item"
msgstr ""
msgid "maximum number of lines in history per buffer (0 = unlimited)"
msgid ""
"maximum number of commands to display by default in history listing (0 = "
"unlimited)"
msgstr ""
msgid ""
@@ -2437,17 +2439,15 @@ msgid ""
"1440 = one day, 10080 = one week, 43200 = one month, 525600 = one year)"
msgstr ""
msgid "maximum number of lines in history per buffer (0 = unlimited)"
msgstr ""
msgid "maximum number of user commands in history (0 = unlimited)"
msgstr ""
msgid "maximum number of visited buffers to keep in memory"
msgstr ""
msgid ""
"maximum number of commands to display by default in history listing (0 = "
"unlimited)"
msgstr ""
msgid ""
"timeout (in seconds) for connection to a remote host (made in a child "
"process)"
@@ -4829,61 +4829,6 @@ msgid ""
"time specifiers)"
msgstr ""
msgid "merge server buffers"
msgstr ""
msgid "merge private buffers"
msgstr ""
msgid ""
"force position of new channel in list of buffers (none = default position "
"(should be last buffer), next = current buffer + 1, near_server = after last "
"channel/pv of server)"
msgstr ""
msgid ""
"force position of new private in list of buffers (none = default position "
"(should be last buffer), next = current buffer + 1, near_server = after last "
"channel/pv of server)"
msgstr ""
msgid ""
"display nick mode (op, voice, ...) before nick (none = never, prefix = in "
"prefix only (default), action = in action messages only, both = prefix + "
"action messages)"
msgstr ""
msgid ""
"display a space if nick mode is enabled but nick has no mode (not op, "
"voice, ...)"
msgstr ""
msgid ""
"force color for some nicks: hash computed with nickname to find color will "
"not be used for these nicks (format is: \"nick1:color1;nick2:color2\"); look "
"up for nicks is with exact case then lower case, so it's possible to use "
"only lower case for nicks in this option"
msgstr ""
msgid ""
"hash algorithm used to find the color for a nick: djb2 = variant of djb2 "
"(position of letters matters: anagrams of a nick have different color), sum "
"= sum of letters"
msgstr ""
msgid ""
"chars used to stop in nick when computing color with letters of nick (at "
"least one char outside this list must be in string before stopping) "
"(example: nick \"|nick|away\" with \"|\" in chars will return color of nick "
"\"|nick\")"
msgstr ""
msgid ""
"smart completion for nicks (completes first with last speakers): speakers = "
"all speakers (including highlights), speakers_highlights = only speakers "
"with highlight"
msgstr ""
msgid ""
"display message when (un)marking as away (off: do not display/send anything, "
"local: display locally, channel: send action to channels)"
@@ -4922,20 +4867,6 @@ msgstr ""
msgid "display a message in private when user is back (after quit on server)"
msgstr ""
msgid "display server away message in away bar item"
msgstr ""
msgid ""
"hide channel key in channel modes (this will hide all channel modes "
"arguments if mode +k is set on channel)"
msgstr ""
msgid "display nick modes in \"input_prompt\" bar item"
msgstr ""
msgid "display nick prefix in \"input_prompt\" bar item"
msgstr ""
msgid ""
"comma separated list of words to highlight in server buffers (case "
"insensitive, use \"(?-i)\" at beginning of words to make them case "
@@ -4971,20 +4902,83 @@ msgid ""
"(usually any message from another user, not server messages,..)"
msgstr ""
msgid "display server away message in away bar item"
msgstr ""
msgid ""
"hide channel key in channel modes (this will hide all channel modes "
"arguments if mode +k is set on channel)"
msgstr ""
msgid "name of bar item where IRC server is displayed (for status bar)"
msgstr ""
msgid "display nick modes in \"input_prompt\" bar item"
msgstr ""
msgid "display nick prefix in \"input_prompt\" bar item"
msgstr ""
msgid ""
"default target buffer for msgbuffer options when target is private and that "
"private buffer is not found"
msgstr ""
msgid ""
"force position of new channel in list of buffers (none = default position "
"(should be last buffer), next = current buffer + 1, near_server = after last "
"channel/pv of server)"
msgstr ""
msgid ""
"force position of new private in list of buffers (none = default position "
"(should be last buffer), next = current buffer + 1, near_server = after last "
"channel/pv of server)"
msgstr ""
msgid ""
"comma separated list of nicks for which passwords will be hidden when a "
"message is sent, for example to hide password in message displayed by \"/msg "
"nickserv identify password\", example: \"nickserv,nickbot\""
msgstr ""
msgid ""
"force color for some nicks: hash computed with nickname to find color will "
"not be used for these nicks (format is: \"nick1:color1;nick2:color2\"); look "
"up for nicks is with exact case then lower case, so it's possible to use "
"only lower case for nicks in this option"
msgstr ""
msgid ""
"hash algorithm used to find the color for a nick: djb2 = variant of djb2 "
"(position of letters matters: anagrams of a nick have different color), sum "
"= sum of letters"
msgstr ""
msgid ""
"chars used to stop in nick when computing color with letters of nick (at "
"least one char outside this list must be in string before stopping) "
"(example: nick \"|nick|away\" with \"|\" in chars will return color of nick "
"\"|nick\")"
msgstr ""
msgid ""
"smart completion for nicks (completes first with last speakers): speakers = "
"all speakers (including highlights), speakers_highlights = only speakers "
"with highlight"
msgstr ""
msgid ""
"display nick mode (op, voice, ...) before nick (none = never, prefix = in "
"prefix only (default), action = in action messages only, both = prefix + "
"action messages)"
msgstr ""
msgid ""
"display a space if nick mode is enabled but nick has no mode (not op, "
"voice, ...)"
msgstr ""
msgid ""
"display notices as private messages (if auto, use private buffer if found)"
msgstr ""
@@ -5004,11 +4998,17 @@ msgstr ""
msgid "close buffer when /part is issued on a channel"
msgstr ""
msgid "merge private buffers"
msgstr ""
msgid ""
"number of raw messages to save in memory when raw data buffer is closed "
"(messages will be displayed when opening raw data buffer)"
msgstr ""
msgid "merge server buffers"
msgstr ""
msgid ""
"filter join/part/quit/nick messages for a nick if not speaking for some "
"minutes on channel (you must create a filter on tag \"irc_smart_filter\")"
@@ -5029,17 +5029,34 @@ msgid ""
"never unmask a join)"
msgstr ""
#. TRANSLATORS: please do not translate "part" and "quit"
msgid "enable smart filter for \"part\" and \"quit\" messages"
msgstr ""
#. TRANSLATORS: please do not translate "nick"
msgid "enable smart filter for \"nick\" messages (nick changes)"
msgstr ""
#. TRANSLATORS: please do not translate "part" and "quit"
msgid "enable smart filter for \"part\" and \"quit\" messages"
msgstr ""
msgid "strip colors in topic (used only when displaying buffer title)"
msgstr ""
msgid "color for nick in input bar"
msgstr ""
msgid "color for away item"
msgstr "uzakta öğesi için renk"
msgid "color for channel modes, near channel name"
msgstr ""
msgid ""
"color for lag indicator, when counting (pong not received from server, lag "
"is increasing)"
msgstr ""
msgid "color for lag indicator, when pong has been received from server"
msgstr ""
msgid "color for text in join messages"
msgstr "Bağlanma iletisi metni için renk"
@@ -5068,30 +5085,13 @@ msgstr ""
msgid "color for text \"Notice\" in notices"
msgstr ""
msgid "color for nick in input bar"
msgstr ""
msgid "color for away item"
msgstr "uzakta öğesi için renk"
msgid "color for channel modes, near channel name"
msgstr ""
msgid ""
"color for lag indicator, when counting (pong not received from server, lag "
"is increasing)"
msgstr ""
msgid "color for lag indicator, when pong has been received from server"
msgstr ""
msgid "color for reason in part/quit messages"
msgstr "ayrılma/çıkış iletisindeki sebep için renk"
msgid "color for old channel topic (when topic is changed)"
msgid "color for new channel topic (when topic is changed)"
msgstr ""
msgid "color for new channel topic (when topic is changed)"
msgid "color for old channel topic (when topic is changed)"
msgstr ""
msgid ""
@@ -6054,10 +6054,10 @@ msgid ""
"= no backlog)"
msgstr ""
msgid "color for backlog lines"
msgid "color for line ending the backlog"
msgstr ""
msgid "color for line ending the backlog"
msgid "color for backlog lines"
msgstr ""
msgid ""
@@ -6069,13 +6069,7 @@ msgid ""
"immediately for each line printed)"
msgstr ""
msgid "use only lower case for log filenames"
msgstr ""
msgid ""
"path for WeeChat log files; \"%h\" at beginning of string is replaced by "
"WeeChat home (\"~/.weechat\" by default); date specifiers are permitted (see "
"man strftime)"
msgid "write information line in log file when log starts or ends for a buffer"
msgstr ""
msgid ""
@@ -6085,15 +6079,7 @@ msgid ""
"specifiers are permitted (see man strftime)"
msgstr ""
msgid ""
"replacement char for special chars in filename built with mask (like "
"directory delimiter)"
msgstr ""
msgid "write information line in log file when log starts or ends for a buffer"
msgstr ""
msgid "timestamp used in log files (see man strftime for date/time specifiers)"
msgid "use only lower case for log filenames"
msgstr ""
msgid "text to write before nick in prefix of message, example: \"<\""
@@ -6102,6 +6088,20 @@ msgstr ""
msgid "text to write after nick in prefix of message, example: \">\""
msgstr ""
msgid ""
"path for WeeChat log files; \"%h\" at beginning of string is replaced by "
"WeeChat home (\"~/.weechat\" by default); date specifiers are permitted (see "
"man strftime)"
msgstr ""
msgid ""
"replacement char for special chars in filename built with mask (like "
"directory delimiter)"
msgstr ""
msgid "timestamp used in log files (see man strftime for date/time specifiers)"
msgstr ""
msgid "list of logger buffers"
msgstr ""
@@ -6645,15 +6645,6 @@ msgstr ""
msgid "text color for client description"
msgstr "istemci açıklaması için metin rengi"
msgid "text color in relay buffer"
msgstr ""
msgid "background color in relay buffer"
msgstr ""
msgid "text color of selected line in relay buffer"
msgstr ""
msgid "text color for \"connecting\" status"
msgstr ""
@@ -6669,6 +6660,15 @@ msgstr ""
msgid "text color for \"disconnected\" status"
msgstr ""
msgid "text color in relay buffer"
msgstr ""
msgid "background color in relay buffer"
msgstr ""
msgid "text color of selected line in relay buffer"
msgstr ""
msgid ""
"regular expression with IPs allowed to use relay (case insensitive, use \"(?-"
"i)\" at beginning to make it case sensitive); if IPv6 is enabled and that "
@@ -6710,15 +6710,15 @@ msgid ""
"\\.)?example\\.(com|org)\""
msgstr ""
msgid "maximum number of lines in backlog per IRC channel (0 = unlimited)"
msgstr ""
msgid ""
"maximum number of minutes in backlog per IRC channel (0 = unlimited, "
"examples: 1440 = one day, 10080 = one week, 43200 = one month, 525600 = one "
"year)"
msgstr ""
msgid "maximum number of lines in backlog per IRC channel (0 = unlimited)"
msgstr ""
msgid "display backlog starting from last client disconnect"
msgstr ""
@@ -7437,82 +7437,82 @@ msgid ""
"alt+r = remove, ...); if disabled, only the input is allowed: i, r, ..."
msgstr ""
msgid "color for status \"popular\" (\"*\")"
msgstr ""
msgid "color for status \"installed\" (\"i\")"
msgstr ""
msgid "color for status \"autoloaded\" (\"a\")"
msgstr ""
msgid "color for status \"held\" (\"H\")"
msgstr ""
msgid "color for status \"running\" (\"r\")"
msgid "color for status \"installed\" (\"i\")"
msgstr ""
msgid "color for status \"obsolete\" (\"N\")"
msgstr ""
msgid "color for status \"popular\" (\"*\")"
msgstr ""
msgid "color for status \"running\" (\"r\")"
msgstr ""
msgid "color for status \"unknown\" (\"?\")"
msgstr ""
msgid "text color in script buffer"
msgstr ""
msgid "background color in script buffer"
msgstr ""
msgid "background color for selected line in script buffer"
msgstr ""
msgid "text color of dates in script buffer"
msgstr ""
msgid "text color of dates for selected line in script buffer"
msgstr ""
msgid "text color of delimiters in script buffer"
msgstr ""
msgid "text color of description in script buffer"
msgstr ""
msgid "text color of description for selected line in script buffer"
msgstr ""
msgid "text color of extension in script buffer"
msgstr ""
msgid "text color of extension for selected line in script buffer"
msgstr ""
msgid "text color of script name in script buffer"
msgstr ""
msgid "text color of script name for selected line in script buffer"
msgstr ""
msgid "text color for selected line in script buffer"
msgstr ""
msgid "text color of tags in script buffer"
msgstr ""
msgid "text color of tags for selected line in script buffer"
msgstr ""
msgid "text color of version in script buffer"
msgstr ""
msgid "text color of version loaded in script buffer"
msgstr ""
msgid "background color in script buffer"
msgstr ""
msgid "text color for selected line in script buffer"
msgstr ""
msgid "text color of dates for selected line in script buffer"
msgstr ""
msgid "text color of description for selected line in script buffer"
msgstr ""
msgid "text color of extension for selected line in script buffer"
msgstr ""
msgid "text color of script name for selected line in script buffer"
msgstr ""
msgid "text color of tags for selected line in script buffer"
msgstr ""
msgid "text color of version for selected line in script buffer"
msgstr ""
msgid "text color of version loaded for selected line in script buffer"
msgstr ""
msgid "background color for selected line in script buffer"
msgid "text color of version for selected line in script buffer"
msgstr ""
msgid ""
@@ -7805,15 +7805,6 @@ msgstr ""
msgid "size of progress bar, in chars (if 0, progress bar is disabled)"
msgstr ""
msgid "text color in xfer buffer"
msgstr ""
msgid "background color in xfer buffer"
msgstr ""
msgid "text color of selected line in xfer buffer"
msgstr ""
msgid "text color for \"waiting\" status"
msgstr ""
@@ -7829,7 +7820,13 @@ msgstr ""
msgid "text color for \"aborted\" status"
msgstr ""
msgid "timeout for xfer request (in seconds)"
msgid "text color in xfer buffer"
msgstr ""
msgid "background color in xfer buffer"
msgstr ""
msgid "text color of selected line in xfer buffer"
msgstr ""
msgid "block size for sending packets, in bytes"
@@ -7838,6 +7835,11 @@ msgstr ""
msgid "does not wait for ACK when sending file"
msgstr ""
msgid ""
"IP or DNS address used for sending files/chats (if empty, local interface IP "
"is used)"
msgstr ""
msgid ""
"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, "
@@ -7846,12 +7848,32 @@ msgid ""
msgstr ""
msgid ""
"IP or DNS address used for sending files/chats (if empty, local interface IP "
"is used)"
"speed limit for sending files, in kilo-bytes by second (0 means no limit)"
msgstr ""
msgid "timeout for xfer request (in seconds)"
msgstr ""
msgid "automatically accept chat requests (use carefully!)"
msgstr ""
msgid "automatically accept incoming files (use carefully!)"
msgstr ""
msgid ""
"speed limit for sending files, in kilo-bytes by second (0 means no limit)"
"comma-separated list of nicks for which the incoming files and chats are "
"automatically accepted; format is \"server.nick\" (for a specific server) or "
"\"nick\" (for all servers); example: \"freenode.FlashCode,andrew\""
msgstr ""
msgid "rename incoming files if already exists (add \".1\", \".2\", ...)"
msgstr ""
msgid ""
"automatically resume file transfer if connection with remote host is lost"
msgstr ""
msgid "convert spaces to underscores when sending files"
msgstr ""
msgid ""
@@ -7867,28 +7889,6 @@ msgstr ""
msgid "use remote nick as prefix in local filename when receiving a file"
msgstr ""
msgid "convert spaces to underscores when sending files"
msgstr ""
msgid "rename incoming files if already exists (add \".1\", \".2\", ...)"
msgstr ""
msgid ""
"automatically resume file transfer if connection with remote host is lost"
msgstr ""
msgid "automatically accept incoming files (use carefully!)"
msgstr ""
msgid "automatically accept chat requests (use carefully!)"
msgstr ""
msgid ""
"comma-separated list of nicks for which the incoming files and chats are "
"automatically accepted; format is \"server.nick\" (for a specific server) or "
"\"nick\" (for all servers); example: \"freenode.FlashCode,andrew\""
msgstr ""
msgid "list of xfer"
msgstr ""
+292 -292
View File
@@ -21,7 +21,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat 0.4.1-dev\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2013-07-05 18:09+0200\n"
"POT-Creation-Date: 2013-07-11 19:51+0200\n"
"PO-Revision-Date: 2013-02-14 18:20+0100\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -2202,11 +2202,6 @@ msgstr ""
msgid "display a vertical separator between windows"
msgstr ""
msgid ""
"color for window separators (when split) and separators beside bars (like "
"nicklist)"
msgstr ""
msgid "text color for '+' when scrolling bars"
msgstr ""
@@ -2216,8 +2211,13 @@ msgstr ""
msgid "background color for chat"
msgstr ""
msgid ""
"text color for chat when window is inactive (not current selected window)"
msgid "text color for buffer names"
msgstr ""
msgid "text color for channel names"
msgstr ""
msgid "text color for delimiters"
msgstr ""
msgid ""
@@ -2225,10 +2225,47 @@ msgid ""
"buffers and is not selected)"
msgstr ""
msgid "text color for time in chat window"
msgid ""
"text color for chat when window is inactive (not current selected window)"
msgstr ""
msgid "text color for time delimiters"
msgid "text color for nicks in chat window"
msgstr ""
#. TRANSLATORS: please do not translate "lightred:blue"
msgid ""
"text color for nicks (comma separated list of colors, background is allowed "
"with format: \"fg:bg\", for example: \"lightred:blue\")"
msgstr ""
msgid "color for nick prefix (string displayed before nick in prefix)"
msgstr ""
msgid "text color for offline nick (not in nicklist any more)"
msgstr ""
msgid "text color for offline nick with highlight"
msgstr ""
msgid "background color for offline nick with highlight"
msgstr ""
msgid "text color for other nick in private buffer"
msgstr ""
msgid "text color for local nick in chat window"
msgstr ""
msgid "color for nick suffix (string displayed after nick in prefix)"
msgstr ""
msgid "text color for highlighted prefix"
msgstr ""
msgid "background color for highlighted prefix"
msgstr ""
msgid "text color for hostnames"
msgstr ""
msgid ""
@@ -2262,63 +2299,15 @@ msgstr ""
msgid "text color for suffix (after prefix)"
msgstr ""
msgid "text color for buffer names"
msgstr ""
msgid "text color for server names"
msgstr ""
msgid "text color for channel names"
msgstr ""
msgid "text color for nicks in chat window"
msgstr ""
#. TRANSLATORS: please do not translate "lightred:blue"
msgid ""
"text color for nicks (comma separated list of colors, background is allowed "
"with format: \"fg:bg\", for example: \"lightred:blue\")"
msgstr ""
msgid "color for nick prefix (string displayed before nick in prefix)"
msgstr ""
msgid "color for nick suffix (string displayed after nick in prefix)"
msgstr ""
msgid "text color for local nick in chat window"
msgstr ""
msgid "text color for offline nick (not in nicklist any more)"
msgstr ""
msgid "text color for offline nick with highlight"
msgstr ""
msgid "background color for offline nick with highlight"
msgstr ""
msgid "text color for other nick in private buffer"
msgstr ""
msgid "text color for hostnames"
msgstr ""
msgid "text color for delimiters"
msgstr ""
msgid "text color for highlighted prefix"
msgstr ""
msgid "background color for highlighted prefix"
msgstr ""
msgid "text color for unread data marker"
msgstr ""
msgid "background color for unread data marker"
msgstr ""
msgid "text color for server names"
msgstr ""
msgid "text color for tags after messages (displayed with command /debug tags)"
msgstr ""
@@ -2328,10 +2317,51 @@ msgstr ""
msgid "background color for marker on lines where text sought is found"
msgstr ""
msgid "text color for time in chat window"
msgstr ""
msgid "text color for time delimiters"
msgstr ""
msgid "text color for values"
msgstr ""
msgid "text color for current buffer number in status bar"
msgid "text color for actions in input line"
msgstr ""
msgid "text color for unsuccessful text search in input line"
msgstr ""
msgid ""
"color for window separators (when split) and separators beside bars (like "
"nicklist)"
msgstr ""
msgid "text color for count of highlight messages in hotlist (status bar)"
msgstr ""
msgid "text color for count of messages in hotlist (status bar)"
msgstr ""
msgid "text color for count of other messages in hotlist (status bar)"
msgstr ""
msgid "text color for count of private messages in hotlist (status bar)"
msgstr ""
msgid "text color for buffer with highlight (status bar)"
msgstr ""
msgid "text color for buffer with new messages (status bar)"
msgstr ""
msgid "text color for buffer with new data (not messages) (status bar)"
msgstr ""
msgid "text color for buffer with private message (status bar)"
msgstr ""
msgid "text color for filter indicator in status bar"
msgstr ""
msgid "text color for current buffer name in status bar"
@@ -2342,31 +2372,7 @@ msgid ""
"protocol like SSL"
msgstr ""
msgid "text color for filter indicator in status bar"
msgstr ""
msgid "text color for buffer with new messages (status bar)"
msgstr ""
msgid "text color for buffer with private message (status bar)"
msgstr ""
msgid "text color for buffer with highlight (status bar)"
msgstr ""
msgid "text color for buffer with new data (not messages) (status bar)"
msgstr ""
msgid "text color for count of messages in hotlist (status bar)"
msgstr ""
msgid "text color for count of private messages in hotlist (status bar)"
msgstr ""
msgid "text color for count of highlight messages in hotlist (status bar)"
msgstr ""
msgid "text color for count of other messages in hotlist (status bar)"
msgid "text color for current buffer number in status bar"
msgstr ""
msgid "text color for buffer with new data (status bar)"
@@ -2375,18 +2381,12 @@ msgstr ""
msgid "text color for time (status bar)"
msgstr ""
msgid "text color for unsuccessful text search in input line"
msgstr ""
msgid "text color for actions in input line"
msgid "text color for away nicknames"
msgstr ""
msgid "text color for groups in nicklist"
msgstr ""
msgid "text color for away nicknames"
msgstr ""
msgid "text color for offline nicknames"
msgstr ""
@@ -2428,15 +2428,17 @@ msgid ""
"with same prefix)"
msgstr ""
msgid "display count for each partial completion in bar item"
msgstr ""
msgid ""
"partially complete outside commands (stop when many words found begin with "
"same letters)"
msgstr ""
msgid "display count for each partial completion in bar item"
msgstr ""
msgid "maximum number of lines in history per buffer (0 = unlimited)"
msgid ""
"maximum number of commands to display by default in history listing (0 = "
"unlimited)"
msgstr ""
msgid ""
@@ -2444,17 +2446,15 @@ msgid ""
"1440 = one day, 10080 = one week, 43200 = one month, 525600 = one year)"
msgstr ""
msgid "maximum number of lines in history per buffer (0 = unlimited)"
msgstr ""
msgid "maximum number of user commands in history (0 = unlimited)"
msgstr ""
msgid "maximum number of visited buffers to keep in memory"
msgstr ""
msgid ""
"maximum number of commands to display by default in history listing (0 = "
"unlimited)"
msgstr ""
msgid ""
"timeout (in seconds) for connection to a remote host (made in a child "
"process)"
@@ -4794,61 +4794,6 @@ msgid ""
"time specifiers)"
msgstr ""
msgid "merge server buffers"
msgstr ""
msgid "merge private buffers"
msgstr ""
msgid ""
"force position of new channel in list of buffers (none = default position "
"(should be last buffer), next = current buffer + 1, near_server = after last "
"channel/pv of server)"
msgstr ""
msgid ""
"force position of new private in list of buffers (none = default position "
"(should be last buffer), next = current buffer + 1, near_server = after last "
"channel/pv of server)"
msgstr ""
msgid ""
"display nick mode (op, voice, ...) before nick (none = never, prefix = in "
"prefix only (default), action = in action messages only, both = prefix + "
"action messages)"
msgstr ""
msgid ""
"display a space if nick mode is enabled but nick has no mode (not op, "
"voice, ...)"
msgstr ""
msgid ""
"force color for some nicks: hash computed with nickname to find color will "
"not be used for these nicks (format is: \"nick1:color1;nick2:color2\"); look "
"up for nicks is with exact case then lower case, so it's possible to use "
"only lower case for nicks in this option"
msgstr ""
msgid ""
"hash algorithm used to find the color for a nick: djb2 = variant of djb2 "
"(position of letters matters: anagrams of a nick have different color), sum "
"= sum of letters"
msgstr ""
msgid ""
"chars used to stop in nick when computing color with letters of nick (at "
"least one char outside this list must be in string before stopping) "
"(example: nick \"|nick|away\" with \"|\" in chars will return color of nick "
"\"|nick\")"
msgstr ""
msgid ""
"smart completion for nicks (completes first with last speakers): speakers = "
"all speakers (including highlights), speakers_highlights = only speakers "
"with highlight"
msgstr ""
msgid ""
"display message when (un)marking as away (off: do not display/send anything, "
"local: display locally, channel: send action to channels)"
@@ -4887,20 +4832,6 @@ msgstr ""
msgid "display a message in private when user is back (after quit on server)"
msgstr ""
msgid "display server away message in away bar item"
msgstr ""
msgid ""
"hide channel key in channel modes (this will hide all channel modes "
"arguments if mode +k is set on channel)"
msgstr ""
msgid "display nick modes in \"input_prompt\" bar item"
msgstr ""
msgid "display nick prefix in \"input_prompt\" bar item"
msgstr ""
msgid ""
"comma separated list of words to highlight in server buffers (case "
"insensitive, use \"(?-i)\" at beginning of words to make them case "
@@ -4936,20 +4867,83 @@ msgid ""
"(usually any message from another user, not server messages,..)"
msgstr ""
msgid "display server away message in away bar item"
msgstr ""
msgid ""
"hide channel key in channel modes (this will hide all channel modes "
"arguments if mode +k is set on channel)"
msgstr ""
msgid "name of bar item where IRC server is displayed (for status bar)"
msgstr ""
msgid "display nick modes in \"input_prompt\" bar item"
msgstr ""
msgid "display nick prefix in \"input_prompt\" bar item"
msgstr ""
msgid ""
"default target buffer for msgbuffer options when target is private and that "
"private buffer is not found"
msgstr ""
msgid ""
"force position of new channel in list of buffers (none = default position "
"(should be last buffer), next = current buffer + 1, near_server = after last "
"channel/pv of server)"
msgstr ""
msgid ""
"force position of new private in list of buffers (none = default position "
"(should be last buffer), next = current buffer + 1, near_server = after last "
"channel/pv of server)"
msgstr ""
msgid ""
"comma separated list of nicks for which passwords will be hidden when a "
"message is sent, for example to hide password in message displayed by \"/msg "
"nickserv identify password\", example: \"nickserv,nickbot\""
msgstr ""
msgid ""
"force color for some nicks: hash computed with nickname to find color will "
"not be used for these nicks (format is: \"nick1:color1;nick2:color2\"); look "
"up for nicks is with exact case then lower case, so it's possible to use "
"only lower case for nicks in this option"
msgstr ""
msgid ""
"hash algorithm used to find the color for a nick: djb2 = variant of djb2 "
"(position of letters matters: anagrams of a nick have different color), sum "
"= sum of letters"
msgstr ""
msgid ""
"chars used to stop in nick when computing color with letters of nick (at "
"least one char outside this list must be in string before stopping) "
"(example: nick \"|nick|away\" with \"|\" in chars will return color of nick "
"\"|nick\")"
msgstr ""
msgid ""
"smart completion for nicks (completes first with last speakers): speakers = "
"all speakers (including highlights), speakers_highlights = only speakers "
"with highlight"
msgstr ""
msgid ""
"display nick mode (op, voice, ...) before nick (none = never, prefix = in "
"prefix only (default), action = in action messages only, both = prefix + "
"action messages)"
msgstr ""
msgid ""
"display a space if nick mode is enabled but nick has no mode (not op, "
"voice, ...)"
msgstr ""
msgid ""
"display notices as private messages (if auto, use private buffer if found)"
msgstr ""
@@ -4969,11 +4963,17 @@ msgstr ""
msgid "close buffer when /part is issued on a channel"
msgstr ""
msgid "merge private buffers"
msgstr ""
msgid ""
"number of raw messages to save in memory when raw data buffer is closed "
"(messages will be displayed when opening raw data buffer)"
msgstr ""
msgid "merge server buffers"
msgstr ""
msgid ""
"filter join/part/quit/nick messages for a nick if not speaking for some "
"minutes on channel (you must create a filter on tag \"irc_smart_filter\")"
@@ -4994,17 +4994,34 @@ msgid ""
"never unmask a join)"
msgstr ""
#. TRANSLATORS: please do not translate "part" and "quit"
msgid "enable smart filter for \"part\" and \"quit\" messages"
msgstr ""
#. TRANSLATORS: please do not translate "nick"
msgid "enable smart filter for \"nick\" messages (nick changes)"
msgstr ""
#. TRANSLATORS: please do not translate "part" and "quit"
msgid "enable smart filter for \"part\" and \"quit\" messages"
msgstr ""
msgid "strip colors in topic (used only when displaying buffer title)"
msgstr ""
msgid "color for nick in input bar"
msgstr ""
msgid "color for away item"
msgstr ""
msgid "color for channel modes, near channel name"
msgstr ""
msgid ""
"color for lag indicator, when counting (pong not received from server, lag "
"is increasing)"
msgstr ""
msgid "color for lag indicator, when pong has been received from server"
msgstr ""
msgid "color for text in join messages"
msgstr ""
@@ -5033,30 +5050,13 @@ msgstr ""
msgid "color for text \"Notice\" in notices"
msgstr ""
msgid "color for nick in input bar"
msgstr ""
msgid "color for away item"
msgstr ""
msgid "color for channel modes, near channel name"
msgstr ""
msgid ""
"color for lag indicator, when counting (pong not received from server, lag "
"is increasing)"
msgstr ""
msgid "color for lag indicator, when pong has been received from server"
msgstr ""
msgid "color for reason in part/quit messages"
msgstr ""
msgid "color for old channel topic (when topic is changed)"
msgid "color for new channel topic (when topic is changed)"
msgstr ""
msgid "color for new channel topic (when topic is changed)"
msgid "color for old channel topic (when topic is changed)"
msgstr ""
msgid ""
@@ -6024,10 +6024,10 @@ msgid ""
"= no backlog)"
msgstr ""
msgid "color for backlog lines"
msgid "color for line ending the backlog"
msgstr ""
msgid "color for line ending the backlog"
msgid "color for backlog lines"
msgstr ""
msgid ""
@@ -6039,13 +6039,7 @@ msgid ""
"immediately for each line printed)"
msgstr ""
msgid "use only lower case for log filenames"
msgstr ""
msgid ""
"path for WeeChat log files; \"%h\" at beginning of string is replaced by "
"WeeChat home (\"~/.weechat\" by default); date specifiers are permitted (see "
"man strftime)"
msgid "write information line in log file when log starts or ends for a buffer"
msgstr ""
msgid ""
@@ -6055,15 +6049,7 @@ msgid ""
"specifiers are permitted (see man strftime)"
msgstr ""
msgid ""
"replacement char for special chars in filename built with mask (like "
"directory delimiter)"
msgstr ""
msgid "write information line in log file when log starts or ends for a buffer"
msgstr ""
msgid "timestamp used in log files (see man strftime for date/time specifiers)"
msgid "use only lower case for log filenames"
msgstr ""
msgid "text to write before nick in prefix of message, example: \"<\""
@@ -6072,6 +6058,20 @@ msgstr ""
msgid "text to write after nick in prefix of message, example: \">\""
msgstr ""
msgid ""
"path for WeeChat log files; \"%h\" at beginning of string is replaced by "
"WeeChat home (\"~/.weechat\" by default); date specifiers are permitted (see "
"man strftime)"
msgstr ""
msgid ""
"replacement char for special chars in filename built with mask (like "
"directory delimiter)"
msgstr ""
msgid "timestamp used in log files (see man strftime for date/time specifiers)"
msgstr ""
msgid "list of logger buffers"
msgstr ""
@@ -6616,15 +6616,6 @@ msgstr ""
msgid "text color for client description"
msgstr ""
msgid "text color in relay buffer"
msgstr ""
msgid "background color in relay buffer"
msgstr ""
msgid "text color of selected line in relay buffer"
msgstr ""
msgid "text color for \"connecting\" status"
msgstr ""
@@ -6640,6 +6631,15 @@ msgstr ""
msgid "text color for \"disconnected\" status"
msgstr ""
msgid "text color in relay buffer"
msgstr ""
msgid "background color in relay buffer"
msgstr ""
msgid "text color of selected line in relay buffer"
msgstr ""
msgid ""
"regular expression with IPs allowed to use relay (case insensitive, use \"(?-"
"i)\" at beginning to make it case sensitive); if IPv6 is enabled and that "
@@ -6681,15 +6681,15 @@ msgid ""
"\\.)?example\\.(com|org)\""
msgstr ""
msgid "maximum number of lines in backlog per IRC channel (0 = unlimited)"
msgstr ""
msgid ""
"maximum number of minutes in backlog per IRC channel (0 = unlimited, "
"examples: 1440 = one day, 10080 = one week, 43200 = one month, 525600 = one "
"year)"
msgstr ""
msgid "maximum number of lines in backlog per IRC channel (0 = unlimited)"
msgstr ""
msgid "display backlog starting from last client disconnect"
msgstr ""
@@ -7404,82 +7404,82 @@ msgid ""
"alt+r = remove, ...); if disabled, only the input is allowed: i, r, ..."
msgstr ""
msgid "color for status \"popular\" (\"*\")"
msgstr ""
msgid "color for status \"installed\" (\"i\")"
msgstr ""
msgid "color for status \"autoloaded\" (\"a\")"
msgstr ""
msgid "color for status \"held\" (\"H\")"
msgstr ""
msgid "color for status \"running\" (\"r\")"
msgid "color for status \"installed\" (\"i\")"
msgstr ""
msgid "color for status \"obsolete\" (\"N\")"
msgstr ""
msgid "color for status \"popular\" (\"*\")"
msgstr ""
msgid "color for status \"running\" (\"r\")"
msgstr ""
msgid "color for status \"unknown\" (\"?\")"
msgstr ""
msgid "text color in script buffer"
msgstr ""
msgid "background color in script buffer"
msgstr ""
msgid "background color for selected line in script buffer"
msgstr ""
msgid "text color of dates in script buffer"
msgstr ""
msgid "text color of dates for selected line in script buffer"
msgstr ""
msgid "text color of delimiters in script buffer"
msgstr ""
msgid "text color of description in script buffer"
msgstr ""
msgid "text color of description for selected line in script buffer"
msgstr ""
msgid "text color of extension in script buffer"
msgstr ""
msgid "text color of extension for selected line in script buffer"
msgstr ""
msgid "text color of script name in script buffer"
msgstr ""
msgid "text color of script name for selected line in script buffer"
msgstr ""
msgid "text color for selected line in script buffer"
msgstr ""
msgid "text color of tags in script buffer"
msgstr ""
msgid "text color of tags for selected line in script buffer"
msgstr ""
msgid "text color of version in script buffer"
msgstr ""
msgid "text color of version loaded in script buffer"
msgstr ""
msgid "background color in script buffer"
msgstr ""
msgid "text color for selected line in script buffer"
msgstr ""
msgid "text color of dates for selected line in script buffer"
msgstr ""
msgid "text color of description for selected line in script buffer"
msgstr ""
msgid "text color of extension for selected line in script buffer"
msgstr ""
msgid "text color of script name for selected line in script buffer"
msgstr ""
msgid "text color of tags for selected line in script buffer"
msgstr ""
msgid "text color of version for selected line in script buffer"
msgstr ""
msgid "text color of version loaded for selected line in script buffer"
msgstr ""
msgid "background color for selected line in script buffer"
msgid "text color of version for selected line in script buffer"
msgstr ""
msgid ""
@@ -7772,15 +7772,6 @@ msgstr ""
msgid "size of progress bar, in chars (if 0, progress bar is disabled)"
msgstr ""
msgid "text color in xfer buffer"
msgstr ""
msgid "background color in xfer buffer"
msgstr ""
msgid "text color of selected line in xfer buffer"
msgstr ""
msgid "text color for \"waiting\" status"
msgstr ""
@@ -7796,7 +7787,13 @@ msgstr ""
msgid "text color for \"aborted\" status"
msgstr ""
msgid "timeout for xfer request (in seconds)"
msgid "text color in xfer buffer"
msgstr ""
msgid "background color in xfer buffer"
msgstr ""
msgid "text color of selected line in xfer buffer"
msgstr ""
msgid "block size for sending packets, in bytes"
@@ -7805,6 +7802,11 @@ msgstr ""
msgid "does not wait for ACK when sending file"
msgstr ""
msgid ""
"IP or DNS address used for sending files/chats (if empty, local interface IP "
"is used)"
msgstr ""
msgid ""
"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, "
@@ -7813,12 +7815,32 @@ msgid ""
msgstr ""
msgid ""
"IP or DNS address used for sending files/chats (if empty, local interface IP "
"is used)"
"speed limit for sending files, in kilo-bytes by second (0 means no limit)"
msgstr ""
msgid "timeout for xfer request (in seconds)"
msgstr ""
msgid "automatically accept chat requests (use carefully!)"
msgstr ""
msgid "automatically accept incoming files (use carefully!)"
msgstr ""
msgid ""
"speed limit for sending files, in kilo-bytes by second (0 means no limit)"
"comma-separated list of nicks for which the incoming files and chats are "
"automatically accepted; format is \"server.nick\" (for a specific server) or "
"\"nick\" (for all servers); example: \"freenode.FlashCode,andrew\""
msgstr ""
msgid "rename incoming files if already exists (add \".1\", \".2\", ...)"
msgstr ""
msgid ""
"automatically resume file transfer if connection with remote host is lost"
msgstr ""
msgid "convert spaces to underscores when sending files"
msgstr ""
msgid ""
@@ -7834,28 +7856,6 @@ msgstr ""
msgid "use remote nick as prefix in local filename when receiving a file"
msgstr ""
msgid "convert spaces to underscores when sending files"
msgstr ""
msgid "rename incoming files if already exists (add \".1\", \".2\", ...)"
msgstr ""
msgid ""
"automatically resume file transfer if connection with remote host is lost"
msgstr ""
msgid "automatically accept incoming files (use carefully!)"
msgstr ""
msgid "automatically accept chat requests (use carefully!)"
msgstr ""
msgid ""
"comma-separated list of nicks for which the incoming files and chats are "
"automatically accepted; format is \"server.nick\" (for a specific server) or "
"\"nick\" (for all servers); example: \"freenode.FlashCode,andrew\""
msgstr ""
msgid "list of xfer"
msgstr ""
+248 -248
View File
@@ -161,59 +161,59 @@ struct t_config_option *config_look_window_separator_vertical;
/* config, colors section */
struct t_config_option *config_color_separator;
struct t_config_option *config_color_bar_more;
struct t_config_option *config_color_chat;
struct t_config_option *config_color_chat_bg;
struct t_config_option *config_color_chat_inactive_window;
struct t_config_option *config_color_chat_buffer;
struct t_config_option *config_color_chat_channel;
struct t_config_option *config_color_chat_delimiters;
struct t_config_option *config_color_chat_inactive_buffer;
struct t_config_option *config_color_chat_time;
struct t_config_option *config_color_chat_time_delimiters;
struct t_config_option *config_color_chat_inactive_window;
struct t_config_option *config_color_chat_nick;
struct t_config_option *config_color_chat_nick_colors;
struct t_config_option *config_color_chat_nick_prefix;
struct t_config_option *config_color_chat_nick_offline;
struct t_config_option *config_color_chat_nick_offline_highlight;
struct t_config_option *config_color_chat_nick_offline_highlight_bg;
struct t_config_option *config_color_chat_nick_other;
struct t_config_option *config_color_chat_nick_self;
struct t_config_option *config_color_chat_nick_suffix;
struct t_config_option *config_color_chat_highlight;
struct t_config_option *config_color_chat_highlight_bg;
struct t_config_option *config_color_chat_host;
struct t_config_option *config_color_chat_prefix_buffer;
struct t_config_option *config_color_chat_prefix_buffer_inactive_buffer;
struct t_config_option *config_color_chat_prefix[GUI_CHAT_NUM_PREFIXES];
struct t_config_option *config_color_chat_prefix_more;
struct t_config_option *config_color_chat_prefix_suffix;
struct t_config_option *config_color_chat_buffer;
struct t_config_option *config_color_chat_server;
struct t_config_option *config_color_chat_channel;
struct t_config_option *config_color_chat_nick;
struct t_config_option *config_color_chat_nick_colors;
struct t_config_option *config_color_chat_nick_prefix;
struct t_config_option *config_color_chat_nick_suffix;
struct t_config_option *config_color_chat_nick_self;
struct t_config_option *config_color_chat_nick_offline;
struct t_config_option *config_color_chat_nick_offline_highlight;
struct t_config_option *config_color_chat_nick_offline_highlight_bg;
struct t_config_option *config_color_chat_nick_other;
struct t_config_option *config_color_chat_host;
struct t_config_option *config_color_chat_delimiters;
struct t_config_option *config_color_chat_highlight;
struct t_config_option *config_color_chat_highlight_bg;
struct t_config_option *config_color_chat_read_marker;
struct t_config_option *config_color_chat_read_marker_bg;
struct t_config_option *config_color_chat_server;
struct t_config_option *config_color_chat_tags;
struct t_config_option *config_color_chat_text_found;
struct t_config_option *config_color_chat_text_found_bg;
struct t_config_option *config_color_chat_time;
struct t_config_option *config_color_chat_time_delimiters;
struct t_config_option *config_color_chat_value;
struct t_config_option *config_color_status_number;
struct t_config_option *config_color_input_actions;
struct t_config_option *config_color_input_text_not_found;
struct t_config_option *config_color_separator;
struct t_config_option *config_color_status_count_highlight;
struct t_config_option *config_color_status_count_msg;
struct t_config_option *config_color_status_count_other;
struct t_config_option *config_color_status_count_private;
struct t_config_option *config_color_status_data_highlight;
struct t_config_option *config_color_status_data_msg;
struct t_config_option *config_color_status_data_other;
struct t_config_option *config_color_status_data_private;
struct t_config_option *config_color_status_filter;
struct t_config_option *config_color_status_name;
struct t_config_option *config_color_status_name_ssl;
struct t_config_option *config_color_status_filter;
struct t_config_option *config_color_status_data_msg;
struct t_config_option *config_color_status_data_private;
struct t_config_option *config_color_status_data_highlight;
struct t_config_option *config_color_status_data_other;
struct t_config_option *config_color_status_count_msg;
struct t_config_option *config_color_status_count_private;
struct t_config_option *config_color_status_count_highlight;
struct t_config_option *config_color_status_count_other;
struct t_config_option *config_color_status_number;
struct t_config_option *config_color_status_more;
struct t_config_option *config_color_status_time;
struct t_config_option *config_color_input_text_not_found;
struct t_config_option *config_color_input_actions;
struct t_config_option *config_color_nicklist_group;
struct t_config_option *config_color_nicklist_away;
struct t_config_option *config_color_nicklist_group;
struct t_config_option *config_color_nicklist_offline;
/* config, completion section */
@@ -227,16 +227,16 @@ struct t_config_option *config_completion_nick_ignore_chars;
struct t_config_option *config_completion_partial_completion_alert;
struct t_config_option *config_completion_partial_completion_command;
struct t_config_option *config_completion_partial_completion_command_arg;
struct t_config_option *config_completion_partial_completion_other;
struct t_config_option *config_completion_partial_completion_count;
struct t_config_option *config_completion_partial_completion_other;
/* config, history section */
struct t_config_option *config_history_max_buffer_lines_number;
struct t_config_option *config_history_display_default;
struct t_config_option *config_history_max_buffer_lines_minutes;
struct t_config_option *config_history_max_buffer_lines_number;
struct t_config_option *config_history_max_commands;
struct t_config_option *config_history_max_visited_buffers;
struct t_config_option *config_history_display_default;
/* config, network section */
@@ -2463,14 +2463,6 @@ config_weechat_init_options ()
weechat_config_section_color = ptr_section;
/* general color settings */
config_color_separator = config_file_new_option (
weechat_config_file, ptr_section,
"separator", "color",
N_("color for window separators (when split) and separators beside bars "
"(like nicklist)"),
NULL, GUI_COLOR_SEPARATOR, 0, "blue", NULL, 0,
NULL, NULL, &config_change_color, NULL, NULL, NULL);
/* bar colors */
config_color_bar_more = config_file_new_option (
weechat_config_file, ptr_section,
@@ -2491,12 +2483,23 @@ config_weechat_init_options ()
N_("background color for chat"),
NULL, -1, 0, "default", NULL, 0,
NULL, NULL, &config_change_color, NULL, NULL, NULL);
config_color_chat_inactive_window = config_file_new_option (
config_color_chat_buffer = config_file_new_option (
weechat_config_file, ptr_section,
"chat_inactive_window", "color",
N_("text color for chat when window is inactive (not current selected "
"window)"),
NULL, GUI_COLOR_CHAT_INACTIVE_WINDOW, 0, "darkgray", NULL, 0,
"chat_buffer", "color",
N_("text color for buffer names"),
NULL, GUI_COLOR_CHAT_BUFFER, 0, "white", NULL, 0,
NULL, NULL, &config_change_color, NULL, NULL, NULL);
config_color_chat_channel = config_file_new_option (
weechat_config_file, ptr_section,
"chat_channel", "color",
N_("text color for channel names"),
NULL, GUI_COLOR_CHAT_CHANNEL, 0, "white", NULL, 0,
NULL, NULL, &config_change_color, NULL, NULL, NULL);
config_color_chat_delimiters = config_file_new_option (
weechat_config_file, ptr_section,
"chat_delimiters", "color",
N_("text color for delimiters"),
NULL, GUI_COLOR_CHAT_DELIMITERS, 0, "green", NULL, 0,
NULL, NULL, &config_change_color, NULL, NULL, NULL);
config_color_chat_inactive_buffer = config_file_new_option (
weechat_config_file, ptr_section,
@@ -2505,17 +2508,88 @@ config_weechat_init_options ()
"other buffers and is not selected)"),
NULL, GUI_COLOR_CHAT_INACTIVE_BUFFER, 0, "darkgray", NULL, 0,
NULL, NULL, &config_change_color, NULL, NULL, NULL);
config_color_chat_time = config_file_new_option (
config_color_chat_inactive_window = config_file_new_option (
weechat_config_file, ptr_section,
"chat_time", "color",
N_("text color for time in chat window"),
NULL, GUI_COLOR_CHAT_TIME, 0, "default", NULL, 0,
"chat_inactive_window", "color",
N_("text color for chat when window is inactive (not current selected "
"window)"),
NULL, GUI_COLOR_CHAT_INACTIVE_WINDOW, 0, "darkgray", NULL, 0,
NULL, NULL, &config_change_color, NULL, NULL, NULL);
config_color_chat_time_delimiters = config_file_new_option (
config_color_chat_nick = config_file_new_option (
weechat_config_file, ptr_section,
"chat_time_delimiters", "color",
N_("text color for time delimiters"),
NULL, GUI_COLOR_CHAT_TIME_DELIMITERS, 0, "brown", NULL, 0,
"chat_nick", "color",
N_("text color for nicks in chat window"),
NULL, GUI_COLOR_CHAT_NICK, 0, "lightcyan", NULL, 0,
NULL, NULL, &config_change_color, NULL, NULL, NULL);
config_color_chat_nick_colors = config_file_new_option (
weechat_config_file, ptr_section,
"chat_nick_colors", "string",
/* TRANSLATORS: please do not translate "lightred:blue" */
N_("text color for nicks (comma separated list of colors, background "
"is allowed with format: \"fg:bg\", for example: "
"\"lightred:blue\")"),
NULL, 0, 0, "cyan,magenta,green,brown,lightblue,default,lightcyan,"
"lightmagenta,lightgreen,blue", NULL, 0,
NULL, NULL, &config_change_nick_colors, NULL, NULL, NULL);
config_color_chat_nick_prefix = config_file_new_option (
weechat_config_file, ptr_section,
"chat_nick_prefix", "color",
N_("color for nick prefix (string displayed before nick in prefix)"),
NULL, GUI_COLOR_CHAT_NICK_PREFIX, 0, "green", NULL, 0, NULL, NULL,
&config_change_color, NULL, NULL, NULL);
config_color_chat_nick_offline = config_file_new_option (
weechat_config_file, ptr_section,
"chat_nick_offline", "color",
N_("text color for offline nick (not in nicklist any more)"),
NULL, GUI_COLOR_CHAT_NICK_OFFLINE, 0, "darkgray", NULL, 0,
NULL, NULL, &config_change_color, NULL, NULL, NULL);
config_color_chat_nick_offline_highlight = config_file_new_option (
weechat_config_file, ptr_section,
"chat_nick_offline_highlight", "color",
N_("text color for offline nick with highlight"),
NULL, -1, 0, "default", NULL, 0,
NULL, NULL, &config_change_color, NULL, NULL, NULL);
config_color_chat_nick_offline_highlight_bg = config_file_new_option (
weechat_config_file, ptr_section,
"chat_nick_offline_highlight_bg", "color",
N_("background color for offline nick with highlight"),
NULL, -1, 0, "darkgray", NULL, 0,
NULL, NULL, &config_change_color, NULL, NULL, NULL);
config_color_chat_nick_other = config_file_new_option (
weechat_config_file, ptr_section,
"chat_nick_other", "color",
N_("text color for other nick in private buffer"),
NULL, GUI_COLOR_CHAT_NICK_OTHER, 0, "cyan", NULL, 0,
NULL, NULL, &config_change_color, NULL, NULL, NULL);
config_color_chat_nick_self = config_file_new_option (
weechat_config_file, ptr_section,
"chat_nick_self", "color",
N_("text color for local nick in chat window"),
NULL, GUI_COLOR_CHAT_NICK_SELF, 0, "white", NULL, 0,
NULL, NULL, &config_change_color, NULL, NULL, NULL);
config_color_chat_nick_suffix = config_file_new_option (
weechat_config_file, ptr_section,
"chat_nick_suffix", "color",
N_("color for nick suffix (string displayed after nick in prefix)"),
NULL, GUI_COLOR_CHAT_NICK_SUFFIX, 0, "green", NULL, 0, NULL, NULL,
&config_change_color, NULL, NULL, NULL);
config_color_chat_highlight = config_file_new_option (
weechat_config_file, ptr_section,
"chat_highlight", "color",
N_("text color for highlighted prefix"),
NULL, GUI_COLOR_CHAT_HIGHLIGHT, 0, "yellow", NULL, 0,
NULL, NULL, &config_change_color, NULL, NULL, NULL);
config_color_chat_highlight_bg = config_file_new_option (
weechat_config_file, ptr_section,
"chat_highlight_bg", "color",
N_("background color for highlighted prefix"),
NULL, -1, 0, "magenta", NULL, 0,
NULL, NULL, &config_change_color, NULL, NULL, NULL);
config_color_chat_host = config_file_new_option (
weechat_config_file, ptr_section,
"chat_host", "color",
N_("text color for hostnames"),
NULL, GUI_COLOR_CHAT_HOST, 0, "cyan", NULL, 0,
NULL, NULL, &config_change_color, NULL, NULL, NULL);
config_color_chat_prefix_buffer = config_file_new_option (
weechat_config_file, ptr_section,
@@ -2574,106 +2648,6 @@ config_weechat_init_options ()
N_("text color for suffix (after prefix)"),
NULL, GUI_COLOR_CHAT_PREFIX_SUFFIX, 0, "green", NULL, 0,
NULL, NULL, &config_change_color, NULL, NULL, NULL);
config_color_chat_buffer = config_file_new_option (
weechat_config_file, ptr_section,
"chat_buffer", "color",
N_("text color for buffer names"),
NULL, GUI_COLOR_CHAT_BUFFER, 0, "white", NULL, 0,
NULL, NULL, &config_change_color, NULL, NULL, NULL);
config_color_chat_server = config_file_new_option (
weechat_config_file, ptr_section,
"chat_server", "color",
N_("text color for server names"),
NULL, GUI_COLOR_CHAT_SERVER, 0, "brown", NULL, 0,
NULL, NULL, &config_change_color, NULL, NULL, NULL);
config_color_chat_channel = config_file_new_option (
weechat_config_file, ptr_section,
"chat_channel", "color",
N_("text color for channel names"),
NULL, GUI_COLOR_CHAT_CHANNEL, 0, "white", NULL, 0,
NULL, NULL, &config_change_color, NULL, NULL, NULL);
config_color_chat_nick = config_file_new_option (
weechat_config_file, ptr_section,
"chat_nick", "color",
N_("text color for nicks in chat window"),
NULL, GUI_COLOR_CHAT_NICK, 0, "lightcyan", NULL, 0,
NULL, NULL, &config_change_color, NULL, NULL, NULL);
config_color_chat_nick_colors = config_file_new_option (
weechat_config_file, ptr_section,
"chat_nick_colors", "string",
/* TRANSLATORS: please do not translate "lightred:blue" */
N_("text color for nicks (comma separated list of colors, background "
"is allowed with format: \"fg:bg\", for example: "
"\"lightred:blue\")"),
NULL, 0, 0, "cyan,magenta,green,brown,lightblue,default,lightcyan,"
"lightmagenta,lightgreen,blue", NULL, 0,
NULL, NULL, &config_change_nick_colors, NULL, NULL, NULL);
config_color_chat_nick_prefix = config_file_new_option (
weechat_config_file, ptr_section,
"chat_nick_prefix", "color",
N_("color for nick prefix (string displayed before nick in prefix)"),
NULL, GUI_COLOR_CHAT_NICK_PREFIX, 0, "green", NULL, 0, NULL, NULL,
&config_change_color, NULL, NULL, NULL);
config_color_chat_nick_suffix = config_file_new_option (
weechat_config_file, ptr_section,
"chat_nick_suffix", "color",
N_("color for nick suffix (string displayed after nick in prefix)"),
NULL, GUI_COLOR_CHAT_NICK_SUFFIX, 0, "green", NULL, 0, NULL, NULL,
&config_change_color, NULL, NULL, NULL);
config_color_chat_nick_self = config_file_new_option (
weechat_config_file, ptr_section,
"chat_nick_self", "color",
N_("text color for local nick in chat window"),
NULL, GUI_COLOR_CHAT_NICK_SELF, 0, "white", NULL, 0,
NULL, NULL, &config_change_color, NULL, NULL, NULL);
config_color_chat_nick_offline = config_file_new_option (
weechat_config_file, ptr_section,
"chat_nick_offline", "color",
N_("text color for offline nick (not in nicklist any more)"),
NULL, GUI_COLOR_CHAT_NICK_OFFLINE, 0, "darkgray", NULL, 0,
NULL, NULL, &config_change_color, NULL, NULL, NULL);
config_color_chat_nick_offline_highlight = config_file_new_option (
weechat_config_file, ptr_section,
"chat_nick_offline_highlight", "color",
N_("text color for offline nick with highlight"),
NULL, -1, 0, "default", NULL, 0,
NULL, NULL, &config_change_color, NULL, NULL, NULL);
config_color_chat_nick_offline_highlight_bg = config_file_new_option (
weechat_config_file, ptr_section,
"chat_nick_offline_highlight_bg", "color",
N_("background color for offline nick with highlight"),
NULL, -1, 0, "darkgray", NULL, 0,
NULL, NULL, &config_change_color, NULL, NULL, NULL);
config_color_chat_nick_other = config_file_new_option (
weechat_config_file, ptr_section,
"chat_nick_other", "color",
N_("text color for other nick in private buffer"),
NULL, GUI_COLOR_CHAT_NICK_OTHER, 0, "cyan", NULL, 0,
NULL, NULL, &config_change_color, NULL, NULL, NULL);
config_color_chat_host = config_file_new_option (
weechat_config_file, ptr_section,
"chat_host", "color",
N_("text color for hostnames"),
NULL, GUI_COLOR_CHAT_HOST, 0, "cyan", NULL, 0,
NULL, NULL, &config_change_color, NULL, NULL, NULL);
config_color_chat_delimiters = config_file_new_option (
weechat_config_file, ptr_section,
"chat_delimiters", "color",
N_("text color for delimiters"),
NULL, GUI_COLOR_CHAT_DELIMITERS, 0, "green", NULL, 0,
NULL, NULL, &config_change_color, NULL, NULL, NULL);
config_color_chat_highlight = config_file_new_option (
weechat_config_file, ptr_section,
"chat_highlight", "color",
N_("text color for highlighted prefix"),
NULL, GUI_COLOR_CHAT_HIGHLIGHT, 0, "yellow", NULL, 0,
NULL, NULL, &config_change_color, NULL, NULL, NULL);
config_color_chat_highlight_bg = config_file_new_option (
weechat_config_file, ptr_section,
"chat_highlight_bg", "color",
N_("background color for highlighted prefix"),
NULL, -1, 0, "magenta", NULL, 0,
NULL, NULL, &config_change_color, NULL, NULL, NULL);
config_color_chat_read_marker = config_file_new_option (
weechat_config_file, ptr_section,
"chat_read_marker", "color",
@@ -2686,6 +2660,12 @@ config_weechat_init_options ()
N_("background color for unread data marker"),
NULL, -1, 0, "default", NULL, 0,
NULL, NULL, &config_change_color, NULL, NULL, NULL);
config_color_chat_server = config_file_new_option (
weechat_config_file, ptr_section,
"chat_server", "color",
N_("text color for server names"),
NULL, GUI_COLOR_CHAT_SERVER, 0, "brown", NULL, 0,
NULL, NULL, &config_change_color, NULL, NULL, NULL);
config_color_chat_tags = config_file_new_option (
weechat_config_file, ptr_section,
"chat_tags", "color",
@@ -2705,19 +2685,101 @@ config_weechat_init_options ()
N_("background color for marker on lines where text sought is found"),
NULL, -1, 0, "lightmagenta", NULL, 0,
NULL, NULL, &config_change_color, NULL, NULL, NULL);
config_color_chat_time = config_file_new_option (
weechat_config_file, ptr_section,
"chat_time", "color",
N_("text color for time in chat window"),
NULL, GUI_COLOR_CHAT_TIME, 0, "default", NULL, 0,
NULL, NULL, &config_change_color, NULL, NULL, NULL);
config_color_chat_time_delimiters = config_file_new_option (
weechat_config_file, ptr_section,
"chat_time_delimiters", "color",
N_("text color for time delimiters"),
NULL, GUI_COLOR_CHAT_TIME_DELIMITERS, 0, "brown", NULL, 0,
NULL, NULL, &config_change_color, NULL, NULL, NULL);
config_color_chat_value = config_file_new_option (
weechat_config_file, ptr_section,
"chat_value", "color",
N_("text color for values"),
NULL, GUI_COLOR_CHAT_VALUE, 0, "cyan", NULL, 0,
NULL, NULL, &config_change_color, NULL, NULL, NULL);
/* status bar */
config_color_status_number = config_file_new_option (
/* input bar */
config_color_input_actions = config_file_new_option (
weechat_config_file, ptr_section,
"status_number", "color",
N_("text color for current buffer number in status bar"),
"input_actions", "color",
N_("text color for actions in input line"),
NULL, -1, 0, "lightgreen", NULL, 0,
NULL, NULL, &config_change_color, NULL, NULL, NULL);
config_color_input_text_not_found = config_file_new_option (
weechat_config_file, ptr_section,
"input_text_not_found", "color",
N_("text color for unsuccessful text search in input line"),
NULL, -1, 0, "red", NULL, 0,
NULL, NULL, &config_change_color, NULL, NULL, NULL);
/* general color settings */
config_color_separator = config_file_new_option (
weechat_config_file, ptr_section,
"separator", "color",
N_("color for window separators (when split) and separators beside bars "
"(like nicklist)"),
NULL, GUI_COLOR_SEPARATOR, 0, "blue", NULL, 0,
NULL, NULL, &config_change_color, NULL, NULL, NULL);
/* status bar */
config_color_status_count_highlight = config_file_new_option (
weechat_config_file, ptr_section,
"status_count_highlight", "color",
N_("text color for count of highlight messages in hotlist (status bar)"),
NULL, -1, 0, "magenta", NULL, 0,
NULL, NULL, &config_change_color, NULL, NULL, NULL);
config_color_status_count_msg = config_file_new_option (
weechat_config_file, ptr_section,
"status_count_msg", "color",
N_("text color for count of messages in hotlist (status bar)"),
NULL, -1, 0, "brown", NULL, 0,
NULL, NULL, &config_change_color, NULL, NULL, NULL);
config_color_status_count_other = config_file_new_option (
weechat_config_file, ptr_section,
"status_count_other", "color",
N_("text color for count of other messages in hotlist (status bar)"),
NULL, -1, 0, "default", NULL, 0,
NULL, NULL, &config_change_color, NULL, NULL, NULL);
config_color_status_count_private = config_file_new_option (
weechat_config_file, ptr_section,
"status_count_private", "color",
N_("text color for count of private messages in hotlist (status bar)"),
NULL, -1, 0, "green", NULL, 0,
NULL, NULL, &config_change_color, NULL, NULL, NULL);
config_color_status_data_highlight = config_file_new_option (
weechat_config_file, ptr_section,
"status_data_highlight", "color",
N_("text color for buffer with highlight (status bar)"),
NULL, -1, 0, "lightmagenta", NULL, 0,
NULL, NULL, &config_change_color, NULL, NULL, NULL);
config_color_status_data_msg = config_file_new_option (
weechat_config_file, ptr_section,
"status_data_msg", "color",
N_("text color for buffer with new messages (status bar)"),
NULL, -1, 0, "yellow", NULL, 0,
NULL, NULL, &config_change_color, NULL, NULL, NULL);
config_color_status_data_other = config_file_new_option (
weechat_config_file, ptr_section,
"status_data_other", "color",
N_("text color for buffer with new data (not messages) "
"(status bar)"),
NULL, -1, 0, "default", NULL, 0,
NULL, NULL, &config_change_color, NULL, NULL, NULL);
config_color_status_data_private = config_file_new_option (
weechat_config_file, ptr_section,
"status_data_private", "color",
N_("text color for buffer with private message (status bar)"),
NULL, -1, 0, "lightgreen", NULL, 0,
NULL, NULL, &config_change_color, NULL, NULL, NULL);
config_color_status_filter = config_file_new_option (
weechat_config_file, ptr_section,
"status_filter", "color",
N_("text color for filter indicator in status bar"),
NULL, -1, 0, "green", NULL, 0,
NULL, NULL, &config_change_color, NULL, NULL, NULL);
config_color_status_name = config_file_new_option (
weechat_config_file, ptr_section,
"status_name", "color",
@@ -2731,61 +2793,12 @@ config_weechat_init_options ()
"secured with a protocol like SSL"),
NULL, -1, 0, "lightgreen", NULL, 0,
NULL, NULL, &config_change_color, NULL, NULL, NULL);
config_color_status_filter = config_file_new_option (
config_color_status_number = config_file_new_option (
weechat_config_file, ptr_section,
"status_filter", "color",
N_("text color for filter indicator in status bar"),
NULL, -1, 0, "green", NULL, 0,
NULL, NULL, &config_change_color, NULL, NULL, NULL);
config_color_status_data_msg = config_file_new_option (
weechat_config_file, ptr_section,
"status_data_msg", "color",
N_("text color for buffer with new messages (status bar)"),
"status_number", "color",
N_("text color for current buffer number in status bar"),
NULL, -1, 0, "yellow", NULL, 0,
NULL, NULL, &config_change_color, NULL, NULL, NULL);
config_color_status_data_private = config_file_new_option (
weechat_config_file, ptr_section,
"status_data_private", "color",
N_("text color for buffer with private message (status bar)"),
NULL, -1, 0, "lightgreen", NULL, 0,
NULL, NULL, &config_change_color, NULL, NULL, NULL);
config_color_status_data_highlight = config_file_new_option (
weechat_config_file, ptr_section,
"status_data_highlight", "color",
N_("text color for buffer with highlight (status bar)"),
NULL, -1, 0, "lightmagenta", NULL, 0,
NULL, NULL, &config_change_color, NULL, NULL, NULL);
config_color_status_data_other = config_file_new_option (
weechat_config_file, ptr_section,
"status_data_other", "color",
N_("text color for buffer with new data (not messages) "
"(status bar)"),
NULL, -1, 0, "default", NULL, 0,
NULL, NULL, &config_change_color, NULL, NULL, NULL);
config_color_status_count_msg = config_file_new_option (
weechat_config_file, ptr_section,
"status_count_msg", "color",
N_("text color for count of messages in hotlist (status bar)"),
NULL, -1, 0, "brown", NULL, 0,
NULL, NULL, &config_change_color, NULL, NULL, NULL);
config_color_status_count_private = config_file_new_option (
weechat_config_file, ptr_section,
"status_count_private", "color",
N_("text color for count of private messages in hotlist (status bar)"),
NULL, -1, 0, "green", NULL, 0,
NULL, NULL, &config_change_color, NULL, NULL, NULL);
config_color_status_count_highlight = config_file_new_option (
weechat_config_file, ptr_section,
"status_count_highlight", "color",
N_("text color for count of highlight messages in hotlist (status bar)"),
NULL, -1, 0, "magenta", NULL, 0,
NULL, NULL, &config_change_color, NULL, NULL, NULL);
config_color_status_count_other = config_file_new_option (
weechat_config_file, ptr_section,
"status_count_other", "color",
N_("text color for count of other messages in hotlist (status bar)"),
NULL, -1, 0, "default", NULL, 0,
NULL, NULL, &config_change_color, NULL, NULL, NULL);
config_color_status_more = config_file_new_option (
weechat_config_file, ptr_section,
"status_more", "color",
@@ -2798,32 +2811,19 @@ config_weechat_init_options ()
N_("text color for time (status bar)"),
NULL, -1, 0, "default", NULL, 0,
NULL, NULL, &config_change_color, NULL, NULL, NULL);
/* input bar */
config_color_input_text_not_found = config_file_new_option (
weechat_config_file, ptr_section,
"input_text_not_found", "color",
N_("text color for unsuccessful text search in input line"),
NULL, -1, 0, "red", NULL, 0,
NULL, NULL, &config_change_color, NULL, NULL, NULL);
config_color_input_actions = config_file_new_option (
weechat_config_file, ptr_section,
"input_actions", "color",
N_("text color for actions in input line"),
NULL, -1, 0, "lightgreen", NULL, 0,
NULL, NULL, &config_change_color, NULL, NULL, NULL);
/* nicklist bar */
config_color_nicklist_group = config_file_new_option (
weechat_config_file, ptr_section,
"nicklist_group", "color",
N_("text color for groups in nicklist"),
NULL, -1, 0, "green", NULL, 0,
NULL, NULL, &config_change_color, NULL, NULL, NULL);
config_color_nicklist_away = config_file_new_option (
weechat_config_file, ptr_section,
"nicklist_away", "color",
N_("text color for away nicknames"),
NULL, -1, 0, "cyan", NULL, 0,
NULL, NULL, &config_change_color, NULL, NULL, NULL);
config_color_nicklist_group = config_file_new_option (
weechat_config_file, ptr_section,
"nicklist_group", "color",
N_("text color for groups in nicklist"),
NULL, -1, 0, "green", NULL, 0,
NULL, NULL, &config_change_color, NULL, NULL, NULL);
config_color_nicklist_offline = config_file_new_option (
weechat_config_file, ptr_section,
"nicklist_offline", "color",
@@ -2895,17 +2895,17 @@ config_weechat_init_options ()
N_("partially complete command arguments (stop when many arguments "
"found begin with same prefix)"),
NULL, 0, 0, "off", NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL);
config_completion_partial_completion_count = config_file_new_option (
weechat_config_file, ptr_section,
"partial_completion_count", "boolean",
N_("display count for each partial completion in bar item"),
NULL, 0, 0, "on", NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL);
config_completion_partial_completion_other = config_file_new_option (
weechat_config_file, ptr_section,
"partial_completion_other", "boolean",
N_("partially complete outside commands (stop when many words found "
"begin with same letters)"),
NULL, 0, 0, "off", NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL);
config_completion_partial_completion_count = config_file_new_option (
weechat_config_file, ptr_section,
"partial_completion_count", "boolean",
N_("display count for each partial completion in bar item"),
NULL, 0, 0, "on", NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL);
/* history */
ptr_section = config_file_new_section (weechat_config_file, "history",
@@ -2918,12 +2918,12 @@ config_weechat_init_options ()
return 0;
}
config_history_max_buffer_lines_number = config_file_new_option (
config_history_display_default = config_file_new_option (
weechat_config_file, ptr_section,
"max_buffer_lines_number", "integer",
N_("maximum number of lines in history per buffer "
"(0 = unlimited)"),
NULL, 0, INT_MAX, "4096", NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL);
"display_default", "integer",
N_("maximum number of commands to display by default in "
"history listing (0 = unlimited)"),
NULL, 0, INT_MAX, "5", NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL);
config_history_max_buffer_lines_minutes = config_file_new_option (
weechat_config_file, ptr_section,
"max_buffer_lines_minutes", "integer",
@@ -2931,6 +2931,12 @@ config_weechat_init_options ()
"(0 = unlimited, examples: 1440 = one day, 10080 = one week, "
"43200 = one month, 525600 = one year)"),
NULL, 0, INT_MAX, "0", NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL);
config_history_max_buffer_lines_number = config_file_new_option (
weechat_config_file, ptr_section,
"max_buffer_lines_number", "integer",
N_("maximum number of lines in history per buffer "
"(0 = unlimited)"),
NULL, 0, INT_MAX, "4096", NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL);
config_history_max_commands = config_file_new_option (
weechat_config_file, ptr_section,
"max_commands", "integer",
@@ -2942,12 +2948,6 @@ config_weechat_init_options ()
"max_visited_buffers", "integer",
N_("maximum number of visited buffers to keep in memory"),
NULL, 0, 1000, "50", NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL);
config_history_display_default = config_file_new_option (
weechat_config_file, ptr_section,
"display_default", "integer",
N_("maximum number of commands to display by default in "
"history listing (0 = unlimited)"),
NULL, 0, INT_MAX, "5", NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL);
/* proxies */
ptr_section = config_file_new_section (weechat_config_file, "proxy",
+39 -38
View File
@@ -111,8 +111,6 @@ extern struct t_config_option *config_look_bar_more_up;
extern struct t_config_option *config_look_bar_more_down;
extern struct t_config_option *config_look_buffer_notify_default;
extern struct t_config_option *config_look_buffer_time_format;
extern struct t_config_option *config_look_command_chars;
extern struct t_config_option *config_look_confirm_quit;
extern struct t_config_option *config_look_color_basic_force_bold;
extern struct t_config_option *config_look_color_inactive_window;
extern struct t_config_option *config_look_color_inactive_buffer;
@@ -123,11 +121,14 @@ extern struct t_config_option *config_look_color_inactive_message;
extern struct t_config_option *config_look_color_nick_offline;
extern struct t_config_option *config_look_color_pairs_auto_reset;
extern struct t_config_option *config_look_color_real_white;
extern struct t_config_option *config_look_command_chars;
extern struct t_config_option *config_look_confirm_quit;
extern struct t_config_option *config_look_day_change;
extern struct t_config_option *config_look_day_change_time_format;
extern struct t_config_option *config_look_eat_newline_glitch;
extern struct t_config_option *config_look_highlight;
extern struct t_config_option *config_look_highlight_regex;
extern struct t_config_option *config_look_highlight_tags;
extern struct t_config_option *config_look_hotlist_add_buffer_if_away;
extern struct t_config_option *config_look_hotlist_buffer_separator;
extern struct t_config_option *config_look_hotlist_count_max;
@@ -183,59 +184,59 @@ extern struct t_config_option *config_look_time_format;
extern struct t_config_option *config_look_window_separator_horizontal;
extern struct t_config_option *config_look_window_separator_vertical;
extern struct t_config_option *config_color_separator;
extern struct t_config_option *config_color_bar_more;
extern struct t_config_option *config_color_chat;
extern struct t_config_option *config_color_chat_bg;
extern struct t_config_option *config_color_chat_inactive_window;
extern struct t_config_option *config_color_chat_buffer;
extern struct t_config_option *config_color_chat_channel;
extern struct t_config_option *config_color_chat_delimiters;
extern struct t_config_option *config_color_chat_inactive_buffer;
extern struct t_config_option *config_color_chat_time;
extern struct t_config_option *config_color_chat_time_delimiters;
extern struct t_config_option *config_color_chat_inactive_window;
extern struct t_config_option *config_color_chat_nick;
extern struct t_config_option *config_color_chat_nick_colors;
extern struct t_config_option *config_color_chat_nick_prefix;
extern struct t_config_option *config_color_chat_nick_offline;
extern struct t_config_option *config_color_chat_nick_offline_highlight;
extern struct t_config_option *config_color_chat_nick_offline_highlight_bg;
extern struct t_config_option *config_color_chat_nick_other;
extern struct t_config_option *config_color_chat_nick_self;
extern struct t_config_option *config_color_chat_nick_suffix;
extern struct t_config_option *config_color_chat_highlight;
extern struct t_config_option *config_color_chat_highlight_bg;
extern struct t_config_option *config_color_chat_host;
extern struct t_config_option *config_color_chat_prefix_buffer;
extern struct t_config_option *config_color_chat_prefix_buffer_inactive_buffer;
extern struct t_config_option *config_color_chat_prefix[];
extern struct t_config_option *config_color_chat_prefix_more;
extern struct t_config_option *config_color_chat_prefix_suffix;
extern struct t_config_option *config_color_chat_buffer;
extern struct t_config_option *config_color_chat_server;
extern struct t_config_option *config_color_chat_channel;
extern struct t_config_option *config_color_chat_nick;
extern struct t_config_option *config_color_chat_nick_colors;
extern struct t_config_option *config_color_chat_nick_prefix;
extern struct t_config_option *config_color_chat_nick_suffix;
extern struct t_config_option *config_color_chat_nick_self;
extern struct t_config_option *config_color_chat_nick_offline;
extern struct t_config_option *config_color_chat_nick_offline_highlight;
extern struct t_config_option *config_color_chat_nick_offline_highlight_bg;
extern struct t_config_option *config_color_chat_nick_other;
extern struct t_config_option *config_color_chat_host;
extern struct t_config_option *config_color_chat_delimiters;
extern struct t_config_option *config_color_chat_highlight;
extern struct t_config_option *config_color_chat_highlight_bg;
extern struct t_config_option *config_color_chat_read_marker;
extern struct t_config_option *config_color_chat_read_marker_bg;
extern struct t_config_option *config_color_chat_server;
extern struct t_config_option *config_color_chat_tags;
extern struct t_config_option *config_color_chat_text_found;
extern struct t_config_option *config_color_chat_text_found_bg;
extern struct t_config_option *config_color_chat_time;
extern struct t_config_option *config_color_chat_time_delimiters;
extern struct t_config_option *config_color_chat_value;
extern struct t_config_option *config_color_status_number;
extern struct t_config_option *config_color_input_actions;
extern struct t_config_option *config_color_input_text_not_found;
extern struct t_config_option *config_color_separator;
extern struct t_config_option *config_color_status_count_highlight;
extern struct t_config_option *config_color_status_count_msg;
extern struct t_config_option *config_color_status_count_other;
extern struct t_config_option *config_color_status_count_private;
extern struct t_config_option *config_color_status_data_highlight;
extern struct t_config_option *config_color_status_data_msg;
extern struct t_config_option *config_color_status_data_other;
extern struct t_config_option *config_color_status_data_private;
extern struct t_config_option *config_color_status_filter;
extern struct t_config_option *config_color_status_name;
extern struct t_config_option *config_color_status_name_ssl;
extern struct t_config_option *config_color_status_filter;
extern struct t_config_option *config_color_status_data_msg;
extern struct t_config_option *config_color_status_data_private;
extern struct t_config_option *config_color_status_data_highlight;
extern struct t_config_option *config_color_status_data_other;
extern struct t_config_option *config_color_status_count_msg;
extern struct t_config_option *config_color_status_count_private;
extern struct t_config_option *config_color_status_count_highlight;
extern struct t_config_option *config_color_status_count_other;
extern struct t_config_option *config_color_status_number;
extern struct t_config_option *config_color_status_more;
extern struct t_config_option *config_color_status_time;
extern struct t_config_option *config_color_input_text_not_found;
extern struct t_config_option *config_color_input_actions;
extern struct t_config_option *config_color_nicklist_group;
extern struct t_config_option *config_color_nicklist_away;
extern struct t_config_option *config_color_nicklist_group;
extern struct t_config_option *config_color_nicklist_offline;
extern struct t_config_option *config_completion_base_word_until_cursor;
@@ -247,14 +248,14 @@ extern struct t_config_option *config_completion_nick_ignore_chars;
extern struct t_config_option *config_completion_partial_completion_alert;
extern struct t_config_option *config_completion_partial_completion_command;
extern struct t_config_option *config_completion_partial_completion_command_arg;
extern struct t_config_option *config_completion_partial_completion_other;
extern struct t_config_option *config_completion_partial_completion_count;
extern struct t_config_option *config_completion_partial_completion_other;
extern struct t_config_option *config_history_max_buffer_lines_number;
extern struct t_config_option *config_history_display_default;
extern struct t_config_option *config_history_max_buffer_lines_minutes;
extern struct t_config_option *config_history_max_buffer_lines_number;
extern struct t_config_option *config_history_max_commands;
extern struct t_config_option *config_history_max_visited_buffers;
extern struct t_config_option *config_history_display_default;
extern struct t_config_option *config_network_connection_timeout;
extern struct t_config_option *config_network_gnutls_ca_file;
+171 -171
View File
@@ -55,16 +55,6 @@ struct t_config_option *irc_config_look_color_nicks_in_nicklist;
struct t_config_option *irc_config_look_color_nicks_in_server_messages;
struct t_config_option *irc_config_look_color_pv_nick_like_channel;
struct t_config_option *irc_config_look_ctcp_time_format;
struct t_config_option *irc_config_look_server_buffer;
struct t_config_option *irc_config_look_pv_buffer;
struct t_config_option *irc_config_look_new_channel_position;
struct t_config_option *irc_config_look_new_pv_position;
struct t_config_option *irc_config_look_nick_mode;
struct t_config_option *irc_config_look_nick_mode_empty;
struct t_config_option *irc_config_look_nick_color_force;
struct t_config_option *irc_config_look_nick_color_hash;
struct t_config_option *irc_config_look_nick_color_stop_chars;
struct t_config_option *irc_config_look_nick_completion_smart;
struct t_config_option *irc_config_look_display_away;
struct t_config_option *irc_config_look_display_ctcp_blocked;
struct t_config_option *irc_config_look_display_ctcp_reply;
@@ -76,45 +66,55 @@ struct t_config_option *irc_config_look_display_join_message;
struct t_config_option *irc_config_look_display_old_topic;
struct t_config_option *irc_config_look_display_pv_away_once;
struct t_config_option *irc_config_look_display_pv_back;
struct t_config_option *irc_config_look_item_away_message;
struct t_config_option *irc_config_look_item_channel_modes_hide_key;
struct t_config_option *irc_config_look_item_nick_modes;
struct t_config_option *irc_config_look_item_nick_prefix;
struct t_config_option *irc_config_look_highlight_server;
struct t_config_option *irc_config_look_highlight_channel;
struct t_config_option *irc_config_look_highlight_pv;
struct t_config_option *irc_config_look_highlight_tags;
struct t_config_option *irc_config_look_item_away_message;
struct t_config_option *irc_config_look_item_channel_modes_hide_key;
struct t_config_option *irc_config_look_item_display_server;
struct t_config_option *irc_config_look_item_nick_modes;
struct t_config_option *irc_config_look_item_nick_prefix;
struct t_config_option *irc_config_look_msgbuffer_fallback;
struct t_config_option *irc_config_look_new_channel_position;
struct t_config_option *irc_config_look_new_pv_position;
struct t_config_option *irc_config_look_nicks_hide_password;
struct t_config_option *irc_config_look_nick_color_force;
struct t_config_option *irc_config_look_nick_color_hash;
struct t_config_option *irc_config_look_nick_color_stop_chars;
struct t_config_option *irc_config_look_nick_completion_smart;
struct t_config_option *irc_config_look_nick_mode;
struct t_config_option *irc_config_look_nick_mode_empty;
struct t_config_option *irc_config_look_notice_as_pv;
struct t_config_option *irc_config_look_notify_tags_ison;
struct t_config_option *irc_config_look_notify_tags_whois;
struct t_config_option *irc_config_look_part_closes_buffer;
struct t_config_option *irc_config_look_pv_buffer;
struct t_config_option *irc_config_look_raw_messages;
struct t_config_option *irc_config_look_server_buffer;
struct t_config_option *irc_config_look_smart_filter;
struct t_config_option *irc_config_look_smart_filter_delay;
struct t_config_option *irc_config_look_smart_filter_join;
struct t_config_option *irc_config_look_smart_filter_join_unmask;
struct t_config_option *irc_config_look_smart_filter_quit;
struct t_config_option *irc_config_look_smart_filter_nick;
struct t_config_option *irc_config_look_smart_filter_quit;
struct t_config_option *irc_config_look_topic_strip_colors;
/* IRC config, color section */
struct t_config_option *irc_config_color_message_join;
struct t_config_option *irc_config_color_message_quit;
struct t_config_option *irc_config_color_mirc_remap;
struct t_config_option *irc_config_color_nick_prefixes;
struct t_config_option *irc_config_color_notice;
struct t_config_option *irc_config_color_input_nick;
struct t_config_option *irc_config_color_item_away;
struct t_config_option *irc_config_color_item_channel_modes;
struct t_config_option *irc_config_color_item_lag_counting;
struct t_config_option *irc_config_color_item_lag_finished;
struct t_config_option *irc_config_color_message_join;
struct t_config_option *irc_config_color_message_quit;
struct t_config_option *irc_config_color_mirc_remap;
struct t_config_option *irc_config_color_nick_prefixes;
struct t_config_option *irc_config_color_notice;
struct t_config_option *irc_config_color_reason_quit;
struct t_config_option *irc_config_color_topic_old;
struct t_config_option *irc_config_color_topic_new;
struct t_config_option *irc_config_color_topic_old;
/* IRC config, network section */
@@ -2206,88 +2206,6 @@ irc_config_init ()
N_("time format used in answer to message CTCP TIME (see man strftime "
"for date/time specifiers)"),
NULL, 0, 0, "%a, %d %b %Y %T %z", NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL);
irc_config_look_server_buffer = weechat_config_new_option (
irc_config_file, ptr_section,
"server_buffer", "integer",
N_("merge server buffers"),
"merge_with_core|merge_without_core|independent", 0, 0, "merge_with_core",
NULL, 0, NULL, NULL,
&irc_config_change_look_server_buffer, NULL, NULL, NULL);
irc_config_look_pv_buffer = weechat_config_new_option (
irc_config_file, ptr_section,
"pv_buffer", "integer",
N_("merge private buffers"),
"independent|merge_by_server|merge_all", 0, 0, "independent",
NULL, 0, NULL, NULL,
&irc_config_change_look_pv_buffer, NULL, NULL, NULL);
irc_config_look_new_channel_position = weechat_config_new_option (
irc_config_file, ptr_section,
"new_channel_position", "integer",
N_("force position of new channel in list of buffers "
"(none = default position (should be last buffer), "
"next = current buffer + 1, near_server = after last channel/pv "
"of server)"),
"none|next|near_server", 0, 0, "none",
NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL);
irc_config_look_new_pv_position = weechat_config_new_option (
irc_config_file, ptr_section,
"new_pv_position", "integer",
N_("force position of new private in list of buffers "
"(none = default position (should be last buffer), "
"next = current buffer + 1, near_server = after last channel/pv "
"of server)"),
"none|next|near_server", 0, 0, "none",
NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL);
irc_config_look_nick_mode = weechat_config_new_option (
irc_config_file, ptr_section,
"nick_mode", "integer",
N_("display nick mode (op, voice, ...) before nick (none = never, "
"prefix = in prefix only (default), action = in action messages "
"only, both = prefix + action messages)"),
"none|prefix|action|both", 0, 0, "prefix",
NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL);
irc_config_look_nick_mode_empty = weechat_config_new_option (
irc_config_file, ptr_section,
"nick_mode_empty", "boolean",
N_("display a space if nick mode is enabled but nick has no mode (not "
"op, voice, ...)"),
NULL, 0, 0, "off", NULL, 0, NULL, NULL,
NULL, NULL, NULL, NULL);
irc_config_look_nick_color_force = weechat_config_new_option (
irc_config_file, ptr_section,
"nick_color_force", "string",
N_("force color for some nicks: hash computed with nickname "
"to find color will not be used for these nicks (format is: "
"\"nick1:color1;nick2:color2\"); look up for nicks is with "
"exact case then lower case, so it's possible to use only lower "
"case for nicks in this option"),
NULL, 0, 0, "", NULL, 0, NULL, NULL,
&irc_config_change_look_nick_color_force, NULL, NULL, NULL);
irc_config_look_nick_color_hash = weechat_config_new_option (
irc_config_file, ptr_section,
"nick_color_hash", "integer",
N_("hash algorithm used to find the color for a nick: djb2 = variant of "
"djb2 (position of letters matters: anagrams of a nick have different "
"color), sum = sum of letters"),
"djb2|sum", 0, 0, "sum", NULL, 0, NULL, NULL,
&irc_config_change_look_nick_colors, NULL, NULL, NULL);
irc_config_look_nick_color_stop_chars = weechat_config_new_option (
irc_config_file, ptr_section,
"nick_color_stop_chars", "string",
N_("chars used to stop in nick when computing color with letters of "
"nick (at least one char outside this list must be in string before "
"stopping) (example: nick \"|nick|away\" with \"|\" in chars will "
"return color of nick \"|nick\")"),
NULL, 0, 0, "_|[", NULL, 0, NULL, NULL,
&irc_config_change_look_nick_colors, NULL, NULL, NULL);
irc_config_look_nick_completion_smart = weechat_config_new_option (
irc_config_file, ptr_section,
"nick_completion_smart", "integer",
N_("smart completion for nicks (completes first with last speakers): "
"speakers = all speakers (including highlights), "
"speakers_highlights = only speakers with highlight"),
"off|speakers|speakers_highlights", 0, 0, "speakers", NULL, 0, NULL, NULL,
NULL, NULL, NULL, NULL);
irc_config_look_display_away = weechat_config_new_option (
irc_config_file, ptr_section,
"display_away", "integer",
@@ -2356,31 +2274,6 @@ irc_config_init ()
N_("display a message in private when user is back (after quit on "
"server)"),
NULL, 0, 0, "on", NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL);
irc_config_look_item_away_message = weechat_config_new_option (
irc_config_file, ptr_section,
"item_away_message", "boolean",
N_("display server away message in away bar item"),
NULL, 0, 0, "on", NULL, 0, NULL, NULL,
&irc_config_change_look_item_away_message, NULL, NULL, NULL);
irc_config_look_item_channel_modes_hide_key = weechat_config_new_option (
irc_config_file, ptr_section,
"item_channel_modes_hide_key", "boolean",
N_("hide channel key in channel modes (this will hide all channel modes "
"arguments if mode +k is set on channel)"),
NULL, 0, 0, "off", NULL, 0, NULL, NULL,
&irc_config_change_look_item_channel_modes_hide_key, NULL, NULL, NULL);
irc_config_look_item_nick_modes = weechat_config_new_option (
irc_config_file, ptr_section,
"item_nick_modes", "boolean",
N_("display nick modes in \"input_prompt\" bar item"),
NULL, 0, 0, "on", NULL, 0, NULL, NULL,
&irc_config_change_look_item_nick_modes, NULL, NULL, NULL);
irc_config_look_item_nick_prefix = weechat_config_new_option (
irc_config_file, ptr_section,
"item_nick_prefix", "boolean",
N_("display nick prefix in \"input_prompt\" bar item"),
NULL, 0, 0, "on", NULL, 0, NULL, NULL,
&irc_config_change_look_item_nick_prefix, NULL, NULL, NULL);
irc_config_look_highlight_server = weechat_config_new_option (
irc_config_file, ptr_section,
"highlight_server", "string",
@@ -2425,12 +2318,37 @@ irc_config_init ()
"messages,..)"),
NULL, 0, 0, "irc_privmsg,irc_notice", NULL, 0, NULL, NULL,
&irc_config_change_look_highlight_tags, NULL, NULL, NULL);
irc_config_look_item_away_message = weechat_config_new_option (
irc_config_file, ptr_section,
"item_away_message", "boolean",
N_("display server away message in away bar item"),
NULL, 0, 0, "on", NULL, 0, NULL, NULL,
&irc_config_change_look_item_away_message, NULL, NULL, NULL);
irc_config_look_item_channel_modes_hide_key = weechat_config_new_option (
irc_config_file, ptr_section,
"item_channel_modes_hide_key", "boolean",
N_("hide channel key in channel modes (this will hide all channel modes "
"arguments if mode +k is set on channel)"),
NULL, 0, 0, "off", NULL, 0, NULL, NULL,
&irc_config_change_look_item_channel_modes_hide_key, NULL, NULL, NULL);
irc_config_look_item_display_server = weechat_config_new_option (
irc_config_file, ptr_section,
"item_display_server", "integer",
N_("name of bar item where IRC server is displayed (for status bar)"),
"buffer_plugin|buffer_name", 0, 0, "buffer_plugin", NULL, 0, NULL, NULL,
&irc_config_change_look_item_display_server, NULL, NULL, NULL);
irc_config_look_item_nick_modes = weechat_config_new_option (
irc_config_file, ptr_section,
"item_nick_modes", "boolean",
N_("display nick modes in \"input_prompt\" bar item"),
NULL, 0, 0, "on", NULL, 0, NULL, NULL,
&irc_config_change_look_item_nick_modes, NULL, NULL, NULL);
irc_config_look_item_nick_prefix = weechat_config_new_option (
irc_config_file, ptr_section,
"item_nick_prefix", "boolean",
N_("display nick prefix in \"input_prompt\" bar item"),
NULL, 0, 0, "on", NULL, 0, NULL, NULL,
&irc_config_change_look_item_nick_prefix, NULL, NULL, NULL);
irc_config_look_msgbuffer_fallback = weechat_config_new_option (
irc_config_file, ptr_section,
"msgbuffer_fallback", "integer",
@@ -2438,6 +2356,24 @@ irc_config_init ()
"private and that private buffer is not found"),
"current|server", 0, 0, "current", NULL, 0, NULL, NULL,
NULL, NULL, NULL, NULL);
irc_config_look_new_channel_position = weechat_config_new_option (
irc_config_file, ptr_section,
"new_channel_position", "integer",
N_("force position of new channel in list of buffers "
"(none = default position (should be last buffer), "
"next = current buffer + 1, near_server = after last channel/pv "
"of server)"),
"none|next|near_server", 0, 0, "none",
NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL);
irc_config_look_new_pv_position = weechat_config_new_option (
irc_config_file, ptr_section,
"new_pv_position", "integer",
N_("force position of new private in list of buffers "
"(none = default position (should be last buffer), "
"next = current buffer + 1, near_server = after last channel/pv "
"of server)"),
"none|next|near_server", 0, 0, "none",
NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL);
irc_config_look_nicks_hide_password = weechat_config_new_option (
irc_config_file, ptr_section,
"nicks_hide_password", "string",
@@ -2447,6 +2383,56 @@ irc_config_init ()
"\"nickserv,nickbot\""),
NULL, 0, 0, "nickserv", NULL, 0, NULL, NULL,
&irc_config_change_look_nicks_hide_password, NULL, NULL, NULL);
irc_config_look_nick_color_force = weechat_config_new_option (
irc_config_file, ptr_section,
"nick_color_force", "string",
N_("force color for some nicks: hash computed with nickname "
"to find color will not be used for these nicks (format is: "
"\"nick1:color1;nick2:color2\"); look up for nicks is with "
"exact case then lower case, so it's possible to use only lower "
"case for nicks in this option"),
NULL, 0, 0, "", NULL, 0, NULL, NULL,
&irc_config_change_look_nick_color_force, NULL, NULL, NULL);
irc_config_look_nick_color_hash = weechat_config_new_option (
irc_config_file, ptr_section,
"nick_color_hash", "integer",
N_("hash algorithm used to find the color for a nick: djb2 = variant of "
"djb2 (position of letters matters: anagrams of a nick have different "
"color), sum = sum of letters"),
"djb2|sum", 0, 0, "sum", NULL, 0, NULL, NULL,
&irc_config_change_look_nick_colors, NULL, NULL, NULL);
irc_config_look_nick_color_stop_chars = weechat_config_new_option (
irc_config_file, ptr_section,
"nick_color_stop_chars", "string",
N_("chars used to stop in nick when computing color with letters of "
"nick (at least one char outside this list must be in string before "
"stopping) (example: nick \"|nick|away\" with \"|\" in chars will "
"return color of nick \"|nick\")"),
NULL, 0, 0, "_|[", NULL, 0, NULL, NULL,
&irc_config_change_look_nick_colors, NULL, NULL, NULL);
irc_config_look_nick_completion_smart = weechat_config_new_option (
irc_config_file, ptr_section,
"nick_completion_smart", "integer",
N_("smart completion for nicks (completes first with last speakers): "
"speakers = all speakers (including highlights), "
"speakers_highlights = only speakers with highlight"),
"off|speakers|speakers_highlights", 0, 0, "speakers", NULL, 0, NULL, NULL,
NULL, NULL, NULL, NULL);
irc_config_look_nick_mode = weechat_config_new_option (
irc_config_file, ptr_section,
"nick_mode", "integer",
N_("display nick mode (op, voice, ...) before nick (none = never, "
"prefix = in prefix only (default), action = in action messages "
"only, both = prefix + action messages)"),
"none|prefix|action|both", 0, 0, "prefix",
NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL);
irc_config_look_nick_mode_empty = weechat_config_new_option (
irc_config_file, ptr_section,
"nick_mode_empty", "boolean",
N_("display a space if nick mode is enabled but nick has no mode (not "
"op, voice, ...)"),
NULL, 0, 0, "off", NULL, 0, NULL, NULL,
NULL, NULL, NULL, NULL);
irc_config_look_notice_as_pv = weechat_config_new_option (
irc_config_file, ptr_section,
"notice_as_pv", "integer",
@@ -2476,12 +2462,26 @@ irc_config_init ()
"part_closes_buffer", "boolean",
N_("close buffer when /part is issued on a channel"),
NULL, 0, 0, "off", NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL);
irc_config_look_pv_buffer = weechat_config_new_option (
irc_config_file, ptr_section,
"pv_buffer", "integer",
N_("merge private buffers"),
"independent|merge_by_server|merge_all", 0, 0, "independent",
NULL, 0, NULL, NULL,
&irc_config_change_look_pv_buffer, NULL, NULL, NULL);
irc_config_look_raw_messages = weechat_config_new_option (
irc_config_file, ptr_section,
"raw_messages", "integer",
N_("number of raw messages to save in memory when raw data buffer is "
"closed (messages will be displayed when opening raw data buffer)"),
NULL, 0, 65535, "256", NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL);
irc_config_look_server_buffer = weechat_config_new_option (
irc_config_file, ptr_section,
"server_buffer", "integer",
N_("merge server buffers"),
"merge_with_core|merge_without_core|independent", 0, 0, "merge_with_core",
NULL, 0, NULL, NULL,
&irc_config_change_look_server_buffer, NULL, NULL, NULL);
irc_config_look_smart_filter = weechat_config_new_option (
irc_config_file, ptr_section,
"smart_filter", "boolean",
@@ -2509,18 +2509,18 @@ irc_config_init ()
"update on topic), the join is unmasked, as well as nick changes "
"after this join (0 = disable: never unmask a join)"),
NULL, 0, 60*24*7, "30", NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL);
irc_config_look_smart_filter_quit = weechat_config_new_option (
irc_config_file, ptr_section,
"smart_filter_quit", "boolean",
/* TRANSLATORS: please do not translate "part" and "quit" */
N_("enable smart filter for \"part\" and \"quit\" messages"),
NULL, 0, 0, "on", NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL);
irc_config_look_smart_filter_nick = weechat_config_new_option (
irc_config_file, ptr_section,
"smart_filter_nick", "boolean",
/* TRANSLATORS: please do not translate "nick" */
N_("enable smart filter for \"nick\" messages (nick changes)"),
NULL, 0, 0, "on", NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL);
irc_config_look_smart_filter_quit = weechat_config_new_option (
irc_config_file, ptr_section,
"smart_filter_quit", "boolean",
/* TRANSLATORS: please do not translate "part" and "quit" */
N_("enable smart filter for \"part\" and \"quit\" messages"),
NULL, 0, 0, "on", NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL);
irc_config_look_topic_strip_colors = weechat_config_new_option (
irc_config_file, ptr_section,
"topic_strip_colors", "boolean",
@@ -2540,6 +2540,37 @@ irc_config_init ()
return 0;
}
irc_config_color_input_nick = weechat_config_new_option (
irc_config_file, ptr_section,
"input_nick", "color",
N_("color for nick in input bar"),
NULL, -1, 0, "lightcyan", NULL, 0, NULL, NULL,
&irc_config_change_color_input_nick, NULL, NULL, NULL);
irc_config_color_item_away = weechat_config_new_option (
irc_config_file, ptr_section,
"item_away", "color",
N_("color for away item"),
NULL, -1, 0, "yellow", NULL, 0, NULL, NULL,
&irc_config_change_color_item_away, NULL, NULL, NULL);
irc_config_color_item_channel_modes = weechat_config_new_option (
irc_config_file, ptr_section,
"item_channel_modes", "color",
N_("color for channel modes, near channel name"),
NULL, -1, 0, "default", NULL, 0, NULL, NULL,
&irc_config_change_color_item_channel_modes, NULL, NULL, NULL);
irc_config_color_item_lag_counting = weechat_config_new_option (
irc_config_file, ptr_section,
"item_lag_counting", "color",
N_("color for lag indicator, when counting (pong not received from "
"server, lag is increasing)"),
NULL, -1, 0, "default", NULL, 0, NULL, NULL,
&irc_config_change_color_item_lag, NULL, NULL, NULL);
irc_config_color_item_lag_finished = weechat_config_new_option (
irc_config_file, ptr_section,
"item_lag_finished", "color",
N_("color for lag indicator, when pong has been received from server"),
NULL, -1, 0, "yellow", NULL, 0, NULL, NULL,
&irc_config_change_color_item_lag, NULL, NULL, NULL);
irc_config_color_message_join = weechat_config_new_option (
irc_config_file, ptr_section,
"message_join", "color",
@@ -2584,55 +2615,24 @@ irc_config_init ()
N_("color for text \"Notice\" in notices"),
NULL, -1, 0, "green", NULL, 0, NULL, NULL,
NULL, NULL, NULL, NULL);
irc_config_color_input_nick = weechat_config_new_option (
irc_config_file, ptr_section,
"input_nick", "color",
N_("color for nick in input bar"),
NULL, -1, 0, "lightcyan", NULL, 0, NULL, NULL,
&irc_config_change_color_input_nick, NULL, NULL, NULL);
irc_config_color_item_away = weechat_config_new_option (
irc_config_file, ptr_section,
"item_away", "color",
N_("color for away item"),
NULL, -1, 0, "yellow", NULL, 0, NULL, NULL,
&irc_config_change_color_item_away, NULL, NULL, NULL);
irc_config_color_item_channel_modes = weechat_config_new_option (
irc_config_file, ptr_section,
"item_channel_modes", "color",
N_("color for channel modes, near channel name"),
NULL, -1, 0, "default", NULL, 0, NULL, NULL,
&irc_config_change_color_item_channel_modes, NULL, NULL, NULL);
irc_config_color_item_lag_counting = weechat_config_new_option (
irc_config_file, ptr_section,
"item_lag_counting", "color",
N_("color for lag indicator, when counting (pong not received from "
"server, lag is increasing)"),
NULL, -1, 0, "default", NULL, 0, NULL, NULL,
&irc_config_change_color_item_lag, NULL, NULL, NULL);
irc_config_color_item_lag_finished = weechat_config_new_option (
irc_config_file, ptr_section,
"item_lag_finished", "color",
N_("color for lag indicator, when pong has been received from server"),
NULL, -1, 0, "yellow", NULL, 0, NULL, NULL,
&irc_config_change_color_item_lag, NULL, NULL, NULL);
irc_config_color_reason_quit = weechat_config_new_option (
irc_config_file, ptr_section,
"reason_quit", "color",
N_("color for reason in part/quit messages"),
NULL, -1, 0, "default", NULL, 0, NULL, NULL,
NULL, NULL, NULL, NULL);
irc_config_color_topic_old = weechat_config_new_option (
irc_config_file, ptr_section,
"topic_old", "color",
N_("color for old channel topic (when topic is changed)"),
NULL, -1, 0, "darkgray", NULL, 0, NULL, NULL,
NULL, NULL, NULL, NULL);
irc_config_color_topic_new = weechat_config_new_option (
irc_config_file, ptr_section,
"topic_new", "color",
N_("color for new channel topic (when topic is changed)"),
NULL, -1, 0, "white", NULL, 0, NULL, NULL,
NULL, NULL, NULL, NULL);
irc_config_color_topic_old = weechat_config_new_option (
irc_config_file, ptr_section,
"topic_old", "color",
N_("color for old channel topic (when topic is changed)"),
NULL, -1, 0, "darkgray", NULL, 0, NULL, NULL,
NULL, NULL, NULL, NULL);
/* network */
ptr_section = weechat_config_new_section (irc_config_file, "network",
+21 -21
View File
@@ -103,16 +103,6 @@ extern struct t_config_option *irc_config_look_color_nicks_in_nicklist;
extern struct t_config_option *irc_config_look_color_nicks_in_server_messages;
extern struct t_config_option *irc_config_look_color_pv_nick_like_channel;
extern struct t_config_option *irc_config_look_ctcp_time_format;
extern struct t_config_option *irc_config_look_server_buffer;
extern struct t_config_option *irc_config_look_pv_buffer;
extern struct t_config_option *irc_config_look_new_channel_position;
extern struct t_config_option *irc_config_look_new_pv_position;
extern struct t_config_option *irc_config_look_nick_mode;
extern struct t_config_option *irc_config_look_nick_mode_empty;
extern struct t_config_option *irc_config_look_nick_color_force;
extern struct t_config_option *irc_config_look_nick_color_hash;
extern struct t_config_option *irc_config_look_nick_color_stop_chars;
extern struct t_config_option *irc_config_look_nick_completion_smart;
extern struct t_config_option *irc_config_look_display_away;
extern struct t_config_option *irc_config_look_display_ctcp_blocked;
extern struct t_config_option *irc_config_look_display_ctcp_reply;
@@ -124,43 +114,53 @@ extern struct t_config_option *irc_config_look_display_join_message;
extern struct t_config_option *irc_config_look_display_old_topic;
extern struct t_config_option *irc_config_look_display_pv_away_once;
extern struct t_config_option *irc_config_look_display_pv_back;
extern struct t_config_option *irc_config_look_item_away_message;
extern struct t_config_option *irc_config_look_item_channel_modes_hide_key;
extern struct t_config_option *irc_config_look_item_nick_modes;
extern struct t_config_option *irc_config_look_item_nick_prefix;
extern struct t_config_option *irc_config_look_highlight_server;
extern struct t_config_option *irc_config_look_highlight_channel;
extern struct t_config_option *irc_config_look_highlight_pv;
extern struct t_config_option *irc_config_look_highlight_tags;
extern struct t_config_option *irc_config_look_item_away_message;
extern struct t_config_option *irc_config_look_item_channel_modes_hide_key;
extern struct t_config_option *irc_config_look_item_display_server;
extern struct t_config_option *irc_config_look_item_nick_modes;
extern struct t_config_option *irc_config_look_item_nick_prefix;
extern struct t_config_option *irc_config_look_msgbuffer_fallback;
extern struct t_config_option *irc_config_look_new_channel_position;
extern struct t_config_option *irc_config_look_new_pv_position;
extern struct t_config_option *irc_config_look_nicks_hide_password;
extern struct t_config_option *irc_config_look_nick_color_force;
extern struct t_config_option *irc_config_look_nick_color_hash;
extern struct t_config_option *irc_config_look_nick_color_stop_chars;
extern struct t_config_option *irc_config_look_nick_completion_smart;
extern struct t_config_option *irc_config_look_nick_mode;
extern struct t_config_option *irc_config_look_nick_mode_empty;
extern struct t_config_option *irc_config_look_notice_as_pv;
extern struct t_config_option *irc_config_look_notify_tags_ison;
extern struct t_config_option *irc_config_look_notify_tags_whois;
extern struct t_config_option *irc_config_look_part_closes_buffer;
extern struct t_config_option *irc_config_look_pv_buffer;
extern struct t_config_option *irc_config_look_raw_messages;
extern struct t_config_option *irc_config_look_server_buffer;
extern struct t_config_option *irc_config_look_smart_filter;
extern struct t_config_option *irc_config_look_smart_filter_delay;
extern struct t_config_option *irc_config_look_smart_filter_join;
extern struct t_config_option *irc_config_look_smart_filter_join_unmask;
extern struct t_config_option *irc_config_look_smart_filter_quit;
extern struct t_config_option *irc_config_look_smart_filter_nick;
extern struct t_config_option *irc_config_look_smart_filter_quit;
extern struct t_config_option *irc_config_look_topic_strip_colors;
extern struct t_config_option *irc_config_color_message_join;
extern struct t_config_option *irc_config_color_message_quit;
extern struct t_config_option *irc_config_color_mirc_remap;
extern struct t_config_option *irc_config_color_nick_prefixes;
extern struct t_config_option *irc_config_color_notice;
extern struct t_config_option *irc_config_color_input_nick;
extern struct t_config_option *irc_config_color_item_away;
extern struct t_config_option *irc_config_color_item_channel_modes;
extern struct t_config_option *irc_config_color_item_lag_counting;
extern struct t_config_option *irc_config_color_item_lag_finished;
extern struct t_config_option *irc_config_color_message_join;
extern struct t_config_option *irc_config_color_message_quit;
extern struct t_config_option *irc_config_color_mirc_remap;
extern struct t_config_option *irc_config_color_nick_prefixes;
extern struct t_config_option *irc_config_color_notice;
extern struct t_config_option *irc_config_color_reason_quit;
extern struct t_config_option *irc_config_color_topic_old;
extern struct t_config_option *irc_config_color_topic_new;
extern struct t_config_option *irc_config_color_topic_old;
extern struct t_config_option *irc_config_network_alternate_nick;
extern struct t_config_option *irc_config_network_autoreconnect_delay_growing;
+41 -41
View File
@@ -39,21 +39,21 @@ struct t_config_option *logger_config_look_backlog;
/* logger config, color section */
struct t_config_option *logger_config_color_backlog_line;
struct t_config_option *logger_config_color_backlog_end;
struct t_config_option *logger_config_color_backlog_line;
/* logger config, file section */
struct t_config_option *logger_config_file_auto_log;
struct t_config_option *logger_config_file_flush_delay;
struct t_config_option *logger_config_file_name_lower_case;
struct t_config_option *logger_config_file_path;
struct t_config_option *logger_config_file_mask;
struct t_config_option *logger_config_file_replacement_char;
struct t_config_option *logger_config_file_info_lines;
struct t_config_option *logger_config_file_time_format;
struct t_config_option *logger_config_file_mask;
struct t_config_option *logger_config_file_name_lower_case;
struct t_config_option *logger_config_file_nick_prefix;
struct t_config_option *logger_config_file_nick_suffix;
struct t_config_option *logger_config_file_path;
struct t_config_option *logger_config_file_replacement_char;
struct t_config_option *logger_config_file_time_format;
/*
@@ -397,16 +397,16 @@ logger_config_init ()
return 0;
}
logger_config_color_backlog_line = weechat_config_new_option (
logger_config_file, ptr_section,
"backlog_line", "color",
N_("color for backlog lines"),
NULL, -1, 0, "darkgray", NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL);
logger_config_color_backlog_end = weechat_config_new_option (
logger_config_file, ptr_section,
"backlog_end", "color",
N_("color for line ending the backlog"),
NULL, -1, 0, "darkgray", NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL);
logger_config_color_backlog_line = weechat_config_new_option (
logger_config_file, ptr_section,
"backlog_line", "color",
N_("color for backlog lines"),
NULL, -1, 0, "darkgray", NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL);
/* file */
ptr_section = weechat_config_new_section (logger_config_file, "file",
@@ -433,20 +433,12 @@ logger_config_init ()
"files immediately for each line printed)"),
NULL, 0, 3600, "120", NULL, 0, NULL, NULL,
&logger_config_flush_delay_change, NULL, NULL, NULL);
logger_config_file_name_lower_case = weechat_config_new_option (
logger_config_file_info_lines = weechat_config_new_option (
logger_config_file, ptr_section,
"name_lower_case", "boolean",
N_("use only lower case for log filenames"),
NULL, 0, 0, "on", NULL, 0, NULL, NULL,
&logger_config_change_file_option_restart_log, NULL, NULL, NULL);
logger_config_file_path = weechat_config_new_option (
logger_config_file, ptr_section,
"path", "string",
N_("path for WeeChat log files; \"%h\" at beginning of string is "
"replaced by WeeChat home (\"~/.weechat\" by default); date "
"specifiers are permitted (see man strftime)"),
NULL, 0, 0, "%h/logs/", NULL, 0, NULL, NULL,
&logger_config_change_file_option_restart_log, NULL, NULL, NULL);
"info_lines", "boolean",
N_("write information line in log file when log starts or ends for a "
"buffer"),
NULL, 0, 0, "off", NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL);
logger_config_file_mask = weechat_config_new_option (
logger_config_file, ptr_section,
"mask", "string",
@@ -457,25 +449,12 @@ logger_config_init ()
"(see man strftime)"),
NULL, 0, 0, "$plugin.$name.weechatlog", NULL, 0, NULL, NULL,
&logger_config_change_file_option_restart_log, NULL, NULL, NULL);
logger_config_file_replacement_char = weechat_config_new_option (
logger_config_file_name_lower_case = weechat_config_new_option (
logger_config_file, ptr_section,
"replacement_char", "string",
N_("replacement char for special chars in filename built with mask "
"(like directory delimiter)"),
NULL, 0, 0, "_", NULL, 0, NULL, NULL,
"name_lower_case", "boolean",
N_("use only lower case for log filenames"),
NULL, 0, 0, "on", NULL, 0, NULL, NULL,
&logger_config_change_file_option_restart_log, NULL, NULL, NULL);
logger_config_file_info_lines = weechat_config_new_option (
logger_config_file, ptr_section,
"info_lines", "boolean",
N_("write information line in log file when log starts or ends for a "
"buffer"),
NULL, 0, 0, "off", NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL);
logger_config_file_time_format = weechat_config_new_option (
logger_config_file, ptr_section,
"time_format", "string",
N_("timestamp used in log files (see man strftime for date/time "
"specifiers)"),
NULL, 0, 0, "%Y-%m-%d %H:%M:%S", NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL);
logger_config_file_nick_prefix = weechat_config_new_option (
logger_config_file, ptr_section,
"nick_prefix", "string",
@@ -486,6 +465,27 @@ logger_config_init ()
"nick_suffix", "string",
N_("text to write after nick in prefix of message, example: \">\""),
NULL, 0, 0, "", NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL);
logger_config_file_path = weechat_config_new_option (
logger_config_file, ptr_section,
"path", "string",
N_("path for WeeChat log files; \"%h\" at beginning of string is "
"replaced by WeeChat home (\"~/.weechat\" by default); date "
"specifiers are permitted (see man strftime)"),
NULL, 0, 0, "%h/logs/", NULL, 0, NULL, NULL,
&logger_config_change_file_option_restart_log, NULL, NULL, NULL);
logger_config_file_replacement_char = weechat_config_new_option (
logger_config_file, ptr_section,
"replacement_char", "string",
N_("replacement char for special chars in filename built with mask "
"(like directory delimiter)"),
NULL, 0, 0, "_", NULL, 0, NULL, NULL,
&logger_config_change_file_option_restart_log, NULL, NULL, NULL);
logger_config_file_time_format = weechat_config_new_option (
logger_config_file, ptr_section,
"time_format", "string",
N_("timestamp used in log files (see man strftime for date/time "
"specifiers)"),
NULL, 0, 0, "%Y-%m-%d %H:%M:%S", NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL);
/* level */
ptr_section = weechat_config_new_section (logger_config_file, "level",
+7 -6
View File
@@ -25,18 +25,19 @@
extern struct t_config_option *logger_config_look_backlog;
extern struct t_config_option *logger_config_color_backlog_line;
extern struct t_config_option *logger_config_color_backlog_end;
extern struct t_config_option *logger_config_color_backlog_line;
extern struct t_config_option *logger_config_file_auto_log;
extern struct t_config_option *logger_config_file_name_lower_case;
extern struct t_config_option *logger_config_file_path;
extern struct t_config_option *logger_config_file_mask;
extern struct t_config_option *logger_config_file_replacement_char;
extern struct t_config_option *logger_config_file_flush_delay;
extern struct t_config_option *logger_config_file_info_lines;
extern struct t_config_option *logger_config_file_time_format;
extern struct t_config_option *logger_config_file_mask;
extern struct t_config_option *logger_config_file_name_lower_case;
extern struct t_config_option *logger_config_file_nick_prefix;
extern struct t_config_option *logger_config_file_nick_suffix;
extern struct t_config_option *logger_config_file_path;
extern struct t_config_option *logger_config_file_replacement_char;
extern struct t_config_option *logger_config_file_time_format;
extern struct t_config_option *logger_config_get_level (const char *name);
extern int logger_config_set_level (const char *name, const char *value);
+27 -27
View File
@@ -43,10 +43,10 @@ struct t_config_option *relay_config_look_raw_messages;
/* relay config, color section */
struct t_config_option *relay_config_color_client;
struct t_config_option *relay_config_color_status[RELAY_NUM_STATUS];
struct t_config_option *relay_config_color_text;
struct t_config_option *relay_config_color_text_bg;
struct t_config_option *relay_config_color_text_selected;
struct t_config_option *relay_config_color_status[RELAY_NUM_STATUS];
/* relay config, network section */
@@ -61,8 +61,8 @@ struct t_config_option *relay_config_network_websocket_allowed_origins;
/* relay config, irc section */
struct t_config_option *relay_config_irc_backlog_max_number;
struct t_config_option *relay_config_irc_backlog_max_minutes;
struct t_config_option *relay_config_irc_backlog_max_number;
struct t_config_option *relay_config_irc_backlog_since_last_disconnect;
struct t_config_option *relay_config_irc_backlog_tags;
struct t_config_option *relay_config_irc_backlog_time_format;
@@ -524,24 +524,6 @@ relay_config_init ()
N_("text color for client description"),
NULL, 0, 0, "cyan", NULL, 0,
NULL, NULL, NULL, NULL, NULL, NULL);
relay_config_color_text = weechat_config_new_option (
relay_config_file, ptr_section,
"text", "color",
N_("text color in relay buffer"),
NULL, 0, 0, "default", NULL, 0,
NULL, NULL, &relay_config_refresh_cb, NULL, NULL, NULL);
relay_config_color_text_bg = weechat_config_new_option (
relay_config_file, ptr_section,
"text_bg", "color",
N_("background color in relay buffer"),
NULL, 0, 0, "default", NULL, 0,
NULL, NULL, &relay_config_refresh_cb, NULL, NULL, NULL);
relay_config_color_text_selected = weechat_config_new_option (
relay_config_file, ptr_section,
"text_selected", "color",
N_("text color of selected line in relay buffer"),
NULL, 0, 0, "white", NULL, 0,
NULL, NULL, &relay_config_refresh_cb, NULL, NULL, NULL);
relay_config_color_status[RELAY_STATUS_CONNECTING] = weechat_config_new_option (
relay_config_file, ptr_section,
"status_connecting", "color",
@@ -572,6 +554,24 @@ relay_config_init ()
N_("text color for \"disconnected\" status"),
NULL, 0, 0, "lightred", NULL, 0,
NULL, NULL, &relay_config_refresh_cb, NULL, NULL, NULL);
relay_config_color_text = weechat_config_new_option (
relay_config_file, ptr_section,
"text", "color",
N_("text color in relay buffer"),
NULL, 0, 0, "default", NULL, 0,
NULL, NULL, &relay_config_refresh_cb, NULL, NULL, NULL);
relay_config_color_text_bg = weechat_config_new_option (
relay_config_file, ptr_section,
"text_bg", "color",
N_("background color in relay buffer"),
NULL, 0, 0, "default", NULL, 0,
NULL, NULL, &relay_config_refresh_cb, NULL, NULL, NULL);
relay_config_color_text_selected = weechat_config_new_option (
relay_config_file, ptr_section,
"text_selected", "color",
N_("text color of selected line in relay buffer"),
NULL, 0, 0, "white", NULL, 0,
NULL, NULL, &relay_config_refresh_cb, NULL, NULL, NULL);
/* section network */
ptr_section = weechat_config_new_section (relay_config_file, "network",
@@ -659,13 +659,6 @@ relay_config_init ()
return 0;
}
relay_config_irc_backlog_max_number = weechat_config_new_option (
relay_config_file, ptr_section,
"backlog_max_number", "integer",
N_("maximum number of lines in backlog per IRC channel "
"(0 = unlimited)"),
NULL, 0, INT_MAX, "256", NULL, 0,
NULL, NULL, NULL, NULL, NULL, NULL);
relay_config_irc_backlog_max_minutes = weechat_config_new_option (
relay_config_file, ptr_section,
"backlog_max_minutes", "integer",
@@ -674,6 +667,13 @@ relay_config_init ()
"43200 = one month, 525600 = one year)"),
NULL, 0, INT_MAX, "1440", NULL, 0,
NULL, NULL, NULL, NULL, NULL, NULL);
relay_config_irc_backlog_max_number = weechat_config_new_option (
relay_config_file, ptr_section,
"backlog_max_number", "integer",
N_("maximum number of lines in backlog per IRC channel "
"(0 = unlimited)"),
NULL, 0, INT_MAX, "256", NULL, 0,
NULL, NULL, NULL, NULL, NULL, NULL);
relay_config_irc_backlog_since_last_disconnect = weechat_config_new_option (
relay_config_file, ptr_section,
"backlog_since_last_disconnect", "boolean",
+3 -2
View File
@@ -31,10 +31,10 @@ extern struct t_config_option *relay_config_look_auto_open_buffer;
extern struct t_config_option *relay_config_look_raw_messages;
extern struct t_config_option *relay_config_color_client;
extern struct t_config_option *relay_config_color_status[];
extern struct t_config_option *relay_config_color_text;
extern struct t_config_option *relay_config_color_text_bg;
extern struct t_config_option *relay_config_color_text_selected;
extern struct t_config_option *relay_config_color_status[];
extern struct t_config_option *relay_config_network_allowed_ips;
extern struct t_config_option *relay_config_network_bind_address;
@@ -43,9 +43,10 @@ extern struct t_config_option *relay_config_network_ipv6;
extern struct t_config_option *relay_config_network_max_clients;
extern struct t_config_option *relay_config_network_password;
extern struct t_config_option *relay_config_network_ssl_cert_key;
extern struct t_config_option *relay_config_network_websocket_allowed_origins;
extern struct t_config_option *relay_config_irc_backlog_max_number;
extern struct t_config_option *relay_config_irc_backlog_max_minutes;
extern struct t_config_option *relay_config_irc_backlog_max_number;
extern struct t_config_option *relay_config_irc_backlog_since_last_disconnect;
extern struct t_config_option *relay_config_irc_backlog_tags;
extern struct t_config_option *relay_config_irc_backlog_time_format;
+80 -80
View File
@@ -51,32 +51,32 @@ struct t_config_option *script_config_look_use_keys;
/* script config, color section */
struct t_config_option *script_config_color_status_popular;
struct t_config_option *script_config_color_status_installed;
struct t_config_option *script_config_color_status_autoloaded;
struct t_config_option *script_config_color_status_held;
struct t_config_option *script_config_color_status_running;
struct t_config_option *script_config_color_status_installed;
struct t_config_option *script_config_color_status_obsolete;
struct t_config_option *script_config_color_status_popular;
struct t_config_option *script_config_color_status_running;
struct t_config_option *script_config_color_status_unknown;
struct t_config_option *script_config_color_text;
struct t_config_option *script_config_color_text_bg;
struct t_config_option *script_config_color_text_bg_selected;
struct t_config_option *script_config_color_text_date;
struct t_config_option *script_config_color_text_date_selected;
struct t_config_option *script_config_color_text_delimiters;
struct t_config_option *script_config_color_text_description;
struct t_config_option *script_config_color_text_description_selected;
struct t_config_option *script_config_color_text_extension;
struct t_config_option *script_config_color_text_extension_selected;
struct t_config_option *script_config_color_text_name;
struct t_config_option *script_config_color_text_name_selected;
struct t_config_option *script_config_color_text_selected;
struct t_config_option *script_config_color_text_tags;
struct t_config_option *script_config_color_text_tags_selected;
struct t_config_option *script_config_color_text_version;
struct t_config_option *script_config_color_text_version_loaded;
struct t_config_option *script_config_color_text_bg;
struct t_config_option *script_config_color_text_selected;
struct t_config_option *script_config_color_text_date_selected;
struct t_config_option *script_config_color_text_description_selected;
struct t_config_option *script_config_color_text_extension_selected;
struct t_config_option *script_config_color_text_name_selected;
struct t_config_option *script_config_color_text_tags_selected;
struct t_config_option *script_config_color_text_version_selected;
struct t_config_option *script_config_color_text_version_loaded_selected;
struct t_config_option *script_config_color_text_bg_selected;
struct t_config_option *script_config_color_text_version_selected;
/* script config, scripts section */
@@ -502,18 +502,6 @@ script_config_init ()
return 0;
}
script_config_color_status_popular = weechat_config_new_option (
script_config_file, ptr_section,
"status_popular", "color",
N_("color for status \"popular\" (\"*\")"),
NULL, 0, 0, "yellow", NULL, 0,
NULL, NULL, &script_config_refresh_cb, NULL, NULL, NULL);
script_config_color_status_installed = weechat_config_new_option (
script_config_file, ptr_section,
"status_installed", "color",
N_("color for status \"installed\" (\"i\")"),
NULL, 0, 0, "lightcyan", NULL, 0,
NULL, NULL, &script_config_refresh_cb, NULL, NULL, NULL);
script_config_color_status_autoloaded = weechat_config_new_option (
script_config_file, ptr_section,
"status_autoloaded", "color",
@@ -526,11 +514,11 @@ script_config_init ()
N_("color for status \"held\" (\"H\")"),
NULL, 0, 0, "white", NULL, 0,
NULL, NULL, &script_config_refresh_cb, NULL, NULL, NULL);
script_config_color_status_running = weechat_config_new_option (
script_config_color_status_installed = weechat_config_new_option (
script_config_file, ptr_section,
"status_running", "color",
N_("color for status \"running\" (\"r\")"),
NULL, 0, 0, "lightgreen", NULL, 0,
"status_installed", "color",
N_("color for status \"installed\" (\"i\")"),
NULL, 0, 0, "lightcyan", NULL, 0,
NULL, NULL, &script_config_refresh_cb, NULL, NULL, NULL);
script_config_color_status_obsolete = weechat_config_new_option (
script_config_file, ptr_section,
@@ -538,6 +526,18 @@ script_config_init ()
N_("color for status \"obsolete\" (\"N\")"),
NULL, 0, 0, "lightmagenta", NULL, 0,
NULL, NULL, &script_config_refresh_cb, NULL, NULL, NULL);
script_config_color_status_popular = weechat_config_new_option (
script_config_file, ptr_section,
"status_popular", "color",
N_("color for status \"popular\" (\"*\")"),
NULL, 0, 0, "yellow", NULL, 0,
NULL, NULL, &script_config_refresh_cb, NULL, NULL, NULL);
script_config_color_status_running = weechat_config_new_option (
script_config_file, ptr_section,
"status_running", "color",
N_("color for status \"running\" (\"r\")"),
NULL, 0, 0, "lightgreen", NULL, 0,
NULL, NULL, &script_config_refresh_cb, NULL, NULL, NULL);
script_config_color_status_unknown = weechat_config_new_option (
script_config_file, ptr_section,
"status_unknown", "color",
@@ -550,12 +550,30 @@ script_config_init ()
N_("text color in script buffer"),
NULL, 0, 0, "default", NULL, 0,
NULL, NULL, &script_config_refresh_cb, NULL, NULL, NULL);
script_config_color_text_bg = weechat_config_new_option (
script_config_file, ptr_section,
"text_bg", "color",
N_("background color in script buffer"),
NULL, 0, 0, "default", NULL, 0,
NULL, NULL, &script_config_refresh_cb, NULL, NULL, NULL);
script_config_color_text_bg_selected = weechat_config_new_option (
script_config_file, ptr_section,
"text_bg_selected", "color",
N_("background color for selected line in script buffer"),
NULL, 0, 0, "red", NULL, 0,
NULL, NULL, &script_config_refresh_cb, NULL, NULL, NULL);
script_config_color_text_date = weechat_config_new_option (
script_config_file, ptr_section,
"text_date", "color",
N_("text color of dates in script buffer"),
NULL, 0, 0, "default", NULL, 0,
NULL, NULL, &script_config_refresh_cb, NULL, NULL, NULL);
script_config_color_text_date_selected = weechat_config_new_option (
script_config_file, ptr_section,
"text_date_selected", "color",
N_("text color of dates for selected line in script buffer"),
NULL, 0, 0, "white", NULL, 0,
NULL, NULL, &script_config_refresh_cb, NULL, NULL, NULL);
script_config_color_text_delimiters = weechat_config_new_option (
script_config_file, ptr_section,
"text_delimiters", "color",
@@ -568,24 +586,54 @@ script_config_init ()
N_("text color of description in script buffer"),
NULL, 0, 0, "default", NULL, 0,
NULL, NULL, &script_config_refresh_cb, NULL, NULL, NULL);
script_config_color_text_description_selected = weechat_config_new_option (
script_config_file, ptr_section,
"text_description_selected", "color",
N_("text color of description for selected line in script buffer"),
NULL, 0, 0, "white", NULL, 0,
NULL, NULL, &script_config_refresh_cb, NULL, NULL, NULL);
script_config_color_text_extension = weechat_config_new_option (
script_config_file, ptr_section,
"text_extension", "color",
N_("text color of extension in script buffer"),
NULL, 0, 0, "default", NULL, 0,
NULL, NULL, &script_config_refresh_cb, NULL, NULL, NULL);
script_config_color_text_extension_selected = weechat_config_new_option (
script_config_file, ptr_section,
"text_extension_selected", "color",
N_("text color of extension for selected line in script buffer"),
NULL, 0, 0, "white", NULL, 0,
NULL, NULL, &script_config_refresh_cb, NULL, NULL, NULL);
script_config_color_text_name = weechat_config_new_option (
script_config_file, ptr_section,
"text_name", "color",
N_("text color of script name in script buffer"),
NULL, 0, 0, "cyan", NULL, 0,
NULL, NULL, &script_config_refresh_cb, NULL, NULL, NULL);
script_config_color_text_name_selected = weechat_config_new_option (
script_config_file, ptr_section,
"text_name_selected", "color",
N_("text color of script name for selected line in script buffer"),
NULL, 0, 0, "lightcyan", NULL, 0,
NULL, NULL, &script_config_refresh_cb, NULL, NULL, NULL);
script_config_color_text_selected = weechat_config_new_option (
script_config_file, ptr_section,
"text_selected", "color",
N_("text color for selected line in script buffer"),
NULL, 0, 0, "white", NULL, 0,
NULL, NULL, &script_config_refresh_cb, NULL, NULL, NULL);
script_config_color_text_tags = weechat_config_new_option (
script_config_file, ptr_section,
"text_tags", "color",
N_("text color of tags in script buffer"),
NULL, 0, 0, "brown", NULL, 0,
NULL, NULL, &script_config_refresh_cb, NULL, NULL, NULL);
script_config_color_text_tags_selected = weechat_config_new_option (
script_config_file, ptr_section,
"text_tags_selected", "color",
N_("text color of tags for selected line in script buffer"),
NULL, 0, 0, "yellow", NULL, 0,
NULL, NULL, &script_config_refresh_cb, NULL, NULL, NULL);
script_config_color_text_version = weechat_config_new_option (
script_config_file, ptr_section,
"text_version", "color",
@@ -598,65 +646,17 @@ script_config_init ()
N_("text color of version loaded in script buffer"),
NULL, 0, 0, "default", NULL, 0,
NULL, NULL, &script_config_refresh_cb, NULL, NULL, NULL);
script_config_color_text_bg = weechat_config_new_option (
script_config_file, ptr_section,
"text_bg", "color",
N_("background color in script buffer"),
NULL, 0, 0, "default", NULL, 0,
NULL, NULL, &script_config_refresh_cb, NULL, NULL, NULL);
script_config_color_text_selected = weechat_config_new_option (
script_config_file, ptr_section,
"text_selected", "color",
N_("text color for selected line in script buffer"),
NULL, 0, 0, "white", NULL, 0,
NULL, NULL, &script_config_refresh_cb, NULL, NULL, NULL);
script_config_color_text_date_selected = weechat_config_new_option (
script_config_file, ptr_section,
"text_date_selected", "color",
N_("text color of dates for selected line in script buffer"),
NULL, 0, 0, "white", NULL, 0,
NULL, NULL, &script_config_refresh_cb, NULL, NULL, NULL);
script_config_color_text_description_selected = weechat_config_new_option (
script_config_file, ptr_section,
"text_description_selected", "color",
N_("text color of description for selected line in script buffer"),
NULL, 0, 0, "white", NULL, 0,
NULL, NULL, &script_config_refresh_cb, NULL, NULL, NULL);
script_config_color_text_extension_selected = weechat_config_new_option (
script_config_file, ptr_section,
"text_extension_selected", "color",
N_("text color of extension for selected line in script buffer"),
NULL, 0, 0, "white", NULL, 0,
NULL, NULL, &script_config_refresh_cb, NULL, NULL, NULL);
script_config_color_text_name_selected = weechat_config_new_option (
script_config_file, ptr_section,
"text_name_selected", "color",
N_("text color of script name for selected line in script buffer"),
NULL, 0, 0, "lightcyan", NULL, 0,
NULL, NULL, &script_config_refresh_cb, NULL, NULL, NULL);
script_config_color_text_tags_selected = weechat_config_new_option (
script_config_file, ptr_section,
"text_tags_selected", "color",
N_("text color of tags for selected line in script buffer"),
NULL, 0, 0, "yellow", NULL, 0,
NULL, NULL, &script_config_refresh_cb, NULL, NULL, NULL);
script_config_color_text_version_selected = weechat_config_new_option (
script_config_file, ptr_section,
"text_version_selected", "color",
N_("text color of version for selected line in script buffer"),
NULL, 0, 0, "lightmagenta", NULL, 0,
NULL, NULL, &script_config_refresh_cb, NULL, NULL, NULL);
script_config_color_text_version_loaded_selected = weechat_config_new_option (
script_config_file, ptr_section,
"text_version_loaded_selected", "color",
N_("text color of version loaded for selected line in script buffer"),
NULL, 0, 0, "white", NULL, 0,
NULL, NULL, &script_config_refresh_cb, NULL, NULL, NULL);
script_config_color_text_bg_selected = weechat_config_new_option (
script_config_color_text_version_selected = weechat_config_new_option (
script_config_file, ptr_section,
"text_bg_selected", "color",
N_("background color for selected line in script buffer"),
NULL, 0, 0, "red", NULL, 0,
"text_version_selected", "color",
N_("text color of version for selected line in script buffer"),
NULL, 0, 0, "lightmagenta", NULL, 0,
NULL, NULL, &script_config_refresh_cb, NULL, NULL, NULL);
/* scripts */
+12 -12
View File
@@ -33,32 +33,32 @@ extern struct t_config_option *script_config_look_sort;
extern struct t_config_option *script_config_look_translate_description;
extern struct t_config_option *script_config_look_use_keys;
extern struct t_config_option *script_config_color_status_popular;
extern struct t_config_option *script_config_color_status_installed;
extern struct t_config_option *script_config_color_status_autoloaded;
extern struct t_config_option *script_config_color_status_held;
extern struct t_config_option *script_config_color_status_running;
extern struct t_config_option *script_config_color_status_installed;
extern struct t_config_option *script_config_color_status_obsolete;
extern struct t_config_option *script_config_color_status_popular;
extern struct t_config_option *script_config_color_status_running;
extern struct t_config_option *script_config_color_status_unknown;
extern struct t_config_option *script_config_color_text;
extern struct t_config_option *script_config_color_text_bg;
extern struct t_config_option *script_config_color_text_bg_selected;
extern struct t_config_option *script_config_color_text_date;
extern struct t_config_option *script_config_color_text_date_selected;
extern struct t_config_option *script_config_color_text_delimiters;
extern struct t_config_option *script_config_color_text_description;
extern struct t_config_option *script_config_color_text_description_selected;
extern struct t_config_option *script_config_color_text_extension;
extern struct t_config_option *script_config_color_text_extension_selected;
extern struct t_config_option *script_config_color_text_name;
extern struct t_config_option *script_config_color_text_name_selected;
extern struct t_config_option *script_config_color_text_selected;
extern struct t_config_option *script_config_color_text_tags;
extern struct t_config_option *script_config_color_text_tags_selected;
extern struct t_config_option *script_config_color_text_version;
extern struct t_config_option *script_config_color_text_version_loaded;
extern struct t_config_option *script_config_color_text_bg;
extern struct t_config_option *script_config_color_text_selected;
extern struct t_config_option *script_config_color_text_date_selected;
extern struct t_config_option *script_config_color_text_description_selected;
extern struct t_config_option *script_config_color_text_extension_selected;
extern struct t_config_option *script_config_color_text_name_selected;
extern struct t_config_option *script_config_color_text_tags_selected;
extern struct t_config_option *script_config_color_text_version_selected;
extern struct t_config_option *script_config_color_text_version_loaded_selected;
extern struct t_config_option *script_config_color_text_bg_selected;
extern struct t_config_option *script_config_color_text_version_selected;
extern struct t_config_option *script_config_scripts_autoload;
extern struct t_config_option *script_config_scripts_cache_expire;
+72 -72
View File
@@ -37,31 +37,31 @@ struct t_config_option *xfer_config_look_progress_bar_size;
/* xfer config, color section */
struct t_config_option *xfer_config_color_status[XFER_NUM_STATUS];
struct t_config_option *xfer_config_color_text;
struct t_config_option *xfer_config_color_text_bg;
struct t_config_option *xfer_config_color_text_selected;
struct t_config_option *xfer_config_color_status[XFER_NUM_STATUS];
/* xfer config, network section */
struct t_config_option *xfer_config_network_timeout;
struct t_config_option *xfer_config_network_blocksize;
struct t_config_option *xfer_config_network_fast_send;
struct t_config_option *xfer_config_network_port_range;
struct t_config_option *xfer_config_network_own_ip;
struct t_config_option *xfer_config_network_port_range;
struct t_config_option *xfer_config_network_speed_limit;
struct t_config_option *xfer_config_network_timeout;
/* xfer config, file section */
struct t_config_option *xfer_config_file_auto_accept_chats;
struct t_config_option *xfer_config_file_auto_accept_files;
struct t_config_option *xfer_config_file_auto_accept_nicks;
struct t_config_option *xfer_config_file_auto_rename;
struct t_config_option *xfer_config_file_auto_resume;
struct t_config_option *xfer_config_file_convert_spaces;
struct t_config_option *xfer_config_file_download_path;
struct t_config_option *xfer_config_file_upload_path;
struct t_config_option *xfer_config_file_use_nick_in_filename;
struct t_config_option *xfer_config_file_convert_spaces;
struct t_config_option *xfer_config_file_auto_rename;
struct t_config_option *xfer_config_file_auto_resume;
struct t_config_option *xfer_config_file_auto_accept_files;
struct t_config_option *xfer_config_file_auto_accept_chats;
struct t_config_option *xfer_config_file_auto_accept_nicks;
@@ -146,24 +146,6 @@ xfer_config_init ()
return 0;
}
xfer_config_color_text = weechat_config_new_option (
xfer_config_file, ptr_section,
"text", "color",
N_("text color in xfer buffer"),
NULL, 0, 0, "default", NULL, 0,
NULL, NULL, &xfer_config_refresh_cb, NULL, NULL, NULL);
xfer_config_color_text_bg = weechat_config_new_option (
xfer_config_file, ptr_section,
"text_bg", "color",
N_("background color in xfer buffer"),
NULL, 0, 0, "default", NULL, 0,
NULL, NULL, &xfer_config_refresh_cb, NULL, NULL, NULL);
xfer_config_color_text_selected = weechat_config_new_option (
xfer_config_file, ptr_section,
"text_selected", "color",
N_("text color of selected line in xfer buffer"),
NULL, 0, 0, "white", NULL, 0,
NULL, NULL, &xfer_config_refresh_cb, NULL, NULL, NULL);
xfer_config_color_status[XFER_STATUS_WAITING] = weechat_config_new_option (
xfer_config_file, ptr_section,
"status_waiting", "color",
@@ -200,6 +182,24 @@ xfer_config_init ()
N_("text color for \"aborted\" status"),
NULL, 0, 0, "lightred", NULL, 0,
NULL, NULL, &xfer_config_refresh_cb, NULL, NULL, NULL);
xfer_config_color_text = weechat_config_new_option (
xfer_config_file, ptr_section,
"text", "color",
N_("text color in xfer buffer"),
NULL, 0, 0, "default", NULL, 0,
NULL, NULL, &xfer_config_refresh_cb, NULL, NULL, NULL);
xfer_config_color_text_bg = weechat_config_new_option (
xfer_config_file, ptr_section,
"text_bg", "color",
N_("background color in xfer buffer"),
NULL, 0, 0, "default", NULL, 0,
NULL, NULL, &xfer_config_refresh_cb, NULL, NULL, NULL);
xfer_config_color_text_selected = weechat_config_new_option (
xfer_config_file, ptr_section,
"text_selected", "color",
N_("text color of selected line in xfer buffer"),
NULL, 0, 0, "white", NULL, 0,
NULL, NULL, &xfer_config_refresh_cb, NULL, NULL, NULL);
ptr_section = weechat_config_new_section (xfer_config_file, "network",
0, 0,
@@ -212,11 +212,6 @@ xfer_config_init ()
return 0;
}
xfer_config_network_timeout = weechat_config_new_option (
xfer_config_file, ptr_section,
"timeout", "integer",
N_("timeout for xfer request (in seconds)"),
NULL, 5, INT_MAX, "300", NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL);
xfer_config_network_blocksize = weechat_config_new_option (
xfer_config_file, ptr_section,
"blocksize", "integer",
@@ -228,6 +223,12 @@ xfer_config_init ()
"fast_send", "boolean",
N_("does not wait for ACK when sending file"),
NULL, 0, 0, "on", NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL);
xfer_config_network_own_ip = weechat_config_new_option (
xfer_config_file, ptr_section,
"own_ip", "string",
N_("IP or DNS address used for sending files/chats "
"(if empty, local interface IP is used)"),
NULL, 0, 0, "", NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL);
xfer_config_network_port_range = weechat_config_new_option (
xfer_config_file, ptr_section,
"port_range", "string",
@@ -237,18 +238,17 @@ xfer_config_init ()
"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);
xfer_config_network_own_ip = weechat_config_new_option (
xfer_config_file, ptr_section,
"own_ip", "string",
N_("IP or DNS address used for sending files/chats "
"(if empty, local interface IP is used)"),
NULL, 0, 0, "", NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL);
xfer_config_network_speed_limit = weechat_config_new_option (
xfer_config_file, ptr_section,
"speed_limit", "integer",
N_("speed limit for sending files, in kilo-bytes by second (0 means "
"no limit)"),
NULL, 0, INT_MAX, "0", NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL);
xfer_config_network_timeout = weechat_config_new_option (
xfer_config_file, ptr_section,
"timeout", "integer",
N_("timeout for xfer request (in seconds)"),
NULL, 5, INT_MAX, "300", NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL);
ptr_section = weechat_config_new_section (xfer_config_file, "file",
0, 0,
@@ -261,6 +261,40 @@ xfer_config_init ()
return 0;
}
xfer_config_file_auto_accept_chats = weechat_config_new_option (
xfer_config_file, ptr_section,
"auto_accept_chats", "boolean",
N_("automatically accept chat requests (use carefully!)"),
NULL, 0, 0, "off", NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL);
xfer_config_file_auto_accept_files = weechat_config_new_option (
xfer_config_file, ptr_section,
"auto_accept_files", "boolean",
N_("automatically accept incoming files (use carefully!)"),
NULL, 0, 0, "off", NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL);
xfer_config_file_auto_accept_nicks = weechat_config_new_option (
xfer_config_file, ptr_section,
"auto_accept_nicks", "string",
N_("comma-separated list of nicks for which the incoming files and "
"chats are automatically accepted; format is \"server.nick\" (for a "
"specific server) or \"nick\" (for all servers); example: "
"\"freenode.FlashCode,andrew\""),
NULL, 0, 0, "", NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL);
xfer_config_file_auto_rename = weechat_config_new_option (
xfer_config_file, ptr_section,
"auto_rename", "boolean",
N_("rename incoming files if already exists (add \".1\", \".2\", ...)"),
NULL, 0, 0, "on", NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL);
xfer_config_file_auto_resume = weechat_config_new_option (
xfer_config_file, ptr_section,
"auto_resume", "boolean",
N_("automatically resume file transfer if connection with remote host "
"is lost"),
NULL, 0, 0, "on", NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL);
xfer_config_file_convert_spaces = weechat_config_new_option (
xfer_config_file, ptr_section,
"convert_spaces", "boolean",
N_("convert spaces to underscores when sending files"),
NULL, 0, 0, "on", NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL);
xfer_config_file_download_path = weechat_config_new_option (
xfer_config_file, ptr_section,
"download_path", "string",
@@ -279,40 +313,6 @@ xfer_config_init ()
"use_nick_in_filename", "boolean",
N_("use remote nick as prefix in local filename when receiving a file"),
NULL, 0, 0, "on", NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL);
xfer_config_file_convert_spaces = weechat_config_new_option (
xfer_config_file, ptr_section,
"convert_spaces", "boolean",
N_("convert spaces to underscores when sending files"),
NULL, 0, 0, "on", NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL);
xfer_config_file_auto_rename = weechat_config_new_option (
xfer_config_file, ptr_section,
"auto_rename", "boolean",
N_("rename incoming files if already exists (add \".1\", \".2\", ...)"),
NULL, 0, 0, "on", NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL);
xfer_config_file_auto_resume = weechat_config_new_option (
xfer_config_file, ptr_section,
"auto_resume", "boolean",
N_("automatically resume file transfer if connection with remote host "
"is lost"),
NULL, 0, 0, "on", NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL);
xfer_config_file_auto_accept_files = weechat_config_new_option (
xfer_config_file, ptr_section,
"auto_accept_files", "boolean",
N_("automatically accept incoming files (use carefully!)"),
NULL, 0, 0, "off", NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL);
xfer_config_file_auto_accept_chats = weechat_config_new_option (
xfer_config_file, ptr_section,
"auto_accept_chats", "boolean",
N_("automatically accept chat requests (use carefully!)"),
NULL, 0, 0, "off", NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL);
xfer_config_file_auto_accept_nicks = weechat_config_new_option (
xfer_config_file, ptr_section,
"auto_accept_nicks", "string",
N_("comma-separated list of nicks for which the incoming files and "
"chats are automatically accepted; format is \"server.nick\" (for a "
"specific server) or \"nick\" (for all servers); example: "
"\"freenode.FlashCode,andrew\""),
NULL, 0, 0, "", NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL);
return 1;
}
+9 -9
View File
@@ -29,27 +29,27 @@ extern struct t_config_file *xfer_config;
extern struct t_config_option *xfer_config_look_auto_open_buffer;
extern struct t_config_option *xfer_config_look_progress_bar_size;
extern struct t_config_option *xfer_config_color_status[];
extern struct t_config_option *xfer_config_color_text;
extern struct t_config_option *xfer_config_color_text_bg;
extern struct t_config_option *xfer_config_color_text_selected;
extern struct t_config_option *xfer_config_color_status[];
extern struct t_config_option *xfer_config_network_timeout;
extern struct t_config_option *xfer_config_network_blocksize;
extern struct t_config_option *xfer_config_network_fast_send;
extern struct t_config_option *xfer_config_network_port_range;
extern struct t_config_option *xfer_config_network_own_ip;
extern struct t_config_option *xfer_config_network_port_range;
extern struct t_config_option *xfer_config_network_speed_limit;
extern struct t_config_option *xfer_config_network_timeout;
struct t_config_option *xfer_config_file_auto_accept_chats;
struct t_config_option *xfer_config_file_auto_accept_files;
struct t_config_option *xfer_config_file_auto_accept_nicks;
extern struct t_config_option *xfer_config_file_auto_rename;
extern struct t_config_option *xfer_config_file_auto_resume;
extern struct t_config_option *xfer_config_file_convert_spaces;
extern struct t_config_option *xfer_config_file_download_path;
extern struct t_config_option *xfer_config_file_upload_path;
extern struct t_config_option *xfer_config_file_use_nick_in_filename;
extern struct t_config_option *xfer_config_file_convert_spaces;
extern struct t_config_option *xfer_config_file_auto_rename;
extern struct t_config_option *xfer_config_file_auto_resume;
extern struct t_config_option *xfer_config_file_auto_accept_files;
extern struct t_config_option *xfer_config_file_auto_accept_chats;
extern struct t_config_option *xfer_config_file_auto_accept_nicks;
extern int xfer_config_init ();
extern int xfer_config_read ();