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

Compare commits

..

136 Commits

Author SHA1 Message Date
Sébastien Helleu 4e6687759a core, relay: fix include directory of libzstd 2024-05-26 23:57:21 +02:00
Sébastien Helleu f968bb9c91 irc: fix crash in split of IRC message containing a newline if the server is not given 2024-05-25 19:55:18 +02:00
Sébastien Helleu 6b1d55203b python: fix truncation of unsigned long long integer returned by function string_parse_size 2024-02-25 17:10:19 +01:00
Sébastien Helleu 65cdc2603a tcl: fix truncation of long integer returned by function hdata_long 2024-02-25 16:14:54 +01:00
Sébastien Helleu 7640273c30 core: add missing mouse events "alt-ctrl-button2" and "alt-ctrl-button3" 2024-02-25 13:45:41 +01:00
Sébastien Helleu e87d2b4717 script: always display list of scripts when searching scripts with /script search (issue #2077) 2024-02-21 21:38:19 +01:00
Sébastien Helleu b80c58fb39 trigger: fix memory leak when adding a new trigger with /trigger command 2024-02-10 17:56:54 +01:00
Faisal N Jawdat b06e3ed68e ruby: add detection of Ruby 3.3 2024-02-04 14:16:45 +01:00
Sébastien Helleu c3c2609acd ci: remove tests on macOS 11 2024-02-04 14:07:44 +01:00
Sébastien Helleu 6247e437c0 Version 4.0.9-dev 2024-02-04 14:07:27 +01:00
Sébastien Helleu 195af30e7d Version 4.0.8 2024-01-20 09:06:33 +01:00
Sébastien Helleu dd3032171a core: add release notes for next version 2024-01-20 09:06:00 +01:00
Sébastien Helleu 2ced34f803 debian: update changelog 2024-01-20 08:58:48 +01:00
Sébastien Helleu 62fced3213 irc: check if arguments are not NULL in some infos
Affected infos:

- irc_server_isupport
- irc_server_isupport_value
- irc_server_cap
- irc_server_cap_value
2024-01-12 18:00:33 +01:00
Sébastien Helleu da256bbad7 irc: fix info "irc_is_message_ignored" (issue #2059) 2024-01-12 17:59:58 +01:00
Sébastien Helleu 43bb20c4c3 irc: fix display of self messages in case of message split failure
When the message sends inconsistent max lengths in message 005, the split of
self message fails and causes a display issue: the channel name is displayed
with the message:

  nick | #channel :this is a test

instead of:

  nick | this is a test
2024-01-05 21:36:43 +01:00
Sébastien Helleu 86e1af7ab9 core: fix crash on plugin reload when using musl libc (issue #2052) 2023-12-15 22:58:52 +01:00
Sébastien Helleu ad66bba2f8 core: fix infinite loop in display when the chat area is too small (issue #2053) 2023-12-14 23:17:47 +01:00
Sébastien Helleu 5ba6c7a0d2 Version 4.0.8-dev 2023-12-14 23:14:32 +01:00
Sébastien Helleu f9c3d0ae0a Version 4.0.7 2023-12-03 19:05:52 +01:00
Sébastien Helleu 83749f491c irc: remove trailing "\r\n" in signals "irc_out" and "irc_outtags" when messages are queued 2023-11-26 18:56:33 +01:00
Sébastien Helleu d79342dafd tests: add tests on IRC message 337 2023-11-07 21:59:52 +01:00
Sébastien Helleu 999ba00ac6 irc: fix target buffer of IRC message 337 (whois reply: "is hiding their idle time") 2023-11-07 21:51:55 +01:00
Sébastien Helleu df7a428454 core: fix value of buffer variable "num_history" when the value defined in option weechat.history.max_commands is reached 2023-11-04 17:02:23 +01:00
Sébastien Helleu 1d6eb273c6 relay: close properly connection with the IRC client in case of server disconnection (issue #2038) 2023-11-04 09:07:24 +01:00
Sébastien Helleu ae93fa1fef core: remove incorrect warning when binding keys F10 to F20 (issue #2039) 2023-11-04 08:38:37 +01:00
Sébastien Helleu 7fabd8068f core, plugins: set error to NULL before calling strtol()
This is not strictly necessary, just in case the function strtol() doesn't
update the pointer.
2023-11-01 14:22:32 +01:00
Sébastien Helleu a48dd9d481 core: fix memory leak when config version is invalid or not supported 2023-10-30 23:23:58 +01:00
Sébastien Helleu 2ee71c7699 core: check that buffer is not NULL in function gui_chat_printf_date_tags_internal 2023-10-30 23:23:58 +01:00
Sébastien Helleu c7cf41c357 core: fix use NULL pointer when a config file has no options 2023-10-30 23:23:57 +01:00
Sébastien Helleu 7c21c6b993 logger: remove dead assignment 2023-10-30 23:23:57 +01:00
Sébastien Helleu 563654901c core: fix crash when "config_version" is present in a configuration file without a value 2023-10-30 23:23:57 +01:00
Sébastien Helleu 517c04ae65 core: display an error on startup if environment variable "HOME" is not set 2023-10-30 23:23:57 +01:00
Sébastien Helleu a317d0823a tests: check that environment variable "HOME" is set before using it 2023-10-30 23:07:41 +01:00
Sébastien Helleu a399d3f68c ruby: fix use of NULL variable when displaying exception 2023-10-30 23:07:20 +01:00
Sébastien Helleu b0e4e20205 Version 4.0.7-dev 2023-10-30 23:05:02 +01:00
Sébastien Helleu 5df21f38f3 ci: uninstall php8.1-imagick before build (issue #2009)
When php imagick is installed and when WeeChat is compiled with gcc, there's a
crash when the php plugin is loaded.  Newer versions of gcc should fix the
issue, but as in CI we can't easily use them, uninstalling imagick avoids the
crash.
2023-10-28 09:20:08 +02:00
Sébastien Helleu 90e7857e62 Version 4.0.6 2023-10-26 21:01:46 +02:00
Sébastien Helleu 480d603eb5 core: fix crash when a custom bar item name is already used by a default bar item (issue #2034) 2023-10-23 13:11:02 +02:00
Sébastien Helleu 3184bb92e6 core: make libintl.h required if CMake option ENABLE_NLS is enabled (issue #2031) 2023-10-15 14:58:26 +02:00
Sébastien Helleu 753a2adffc irc: move value -all at the end of completions for command /ignore del 2023-10-09 20:07:39 +02:00
Sébastien Helleu 020c8145b6 irc: fix memory leak when joining channels with keys 2023-10-07 20:34:41 +02:00
Sébastien Helleu a33f0d2132 core: fix build error if CMake option ENABLE_NLS is turned to off or if required dependencies are not found (issue #2026) 2023-10-05 19:05:02 +02:00
Sébastien Helleu 7a3ae654be core: use larger buffer for errors when creating a filter 2023-10-05 19:02:38 +02:00
LuK1337 64403cefc1 core: fix TOTP moving factor on big-endian systems 2023-09-25 13:52:00 +02:00
LuK1337 9621c4381b tests: use correct data type method in hdata tests 2023-09-25 13:51:05 +02:00
LuK1337 0ff08971aa tests: cast infolist time variable value to the correct data type 2023-09-25 13:50:58 +02:00
Sébastien Helleu 19bb049325 Version 4.0.6-dev 2023-09-24 09:34:52 +02:00
Sébastien Helleu e33da6292d Version 4.0.5 2023-09-24 09:30:58 +02:00
Sébastien Helleu be6b27c8f9 core: fix style in ChangeLog 2023-09-24 09:12:21 +02:00
Sébastien Helleu 2d9b133c77 script: only check if return value of plugin_script_search_path is NULL (issue #2019) 2023-09-22 22:59:21 +02:00
Sébastien Helleu 6c36836182 script: fix removal of script in system directory while trying to install a script (issue #2019) 2023-09-22 22:53:29 +02:00
Sébastien Helleu 15214f9538 script: fix autoload of multiple scripts at once with /script autoload (issue #2018) 2023-09-20 20:07:01 +02:00
Sébastien Helleu 7f13bdb51a irc: add option irc.look.open_pv_buffer_echo_msg (issue #2016) 2023-09-14 20:22:43 +02:00
Sébastien Helleu 49bbc53d7c irc: update title in query buffer when remote nick is myself (issue #2016) 2023-09-14 16:16:39 +02:00
Sébastien Helleu eb17fa24ee irc: fix title of query buffer for own messages received (issue #2016) 2023-09-14 15:30:10 +02:00
Sébastien Helleu c7d03668f1 irc: open a query buffer on PRIVMSG received from self nick when capability echo-message is NOT enabled (issue #2016) 2023-09-14 14:54:21 +02:00
Sébastien Helleu 8575546aa2 irc: don't open a new private buffer on /msg command when capability echo-message is enabled (issue #2016) 2023-09-14 11:21:25 +02:00
Sébastien Helleu 2c716e8154 core: move ChangeLog entry to the appropriate version 2023-09-14 11:12:16 +02:00
Sébastien Helleu 49b1cb06b5 irc: fix title of private buffers wrongly set to own address when capability echo-message is enabled (issue #2016) 2023-09-14 08:09:34 +02:00
Sébastien Helleu 75a0755107 core: translate error messages (issue #2013) 2023-09-12 15:12:15 +02:00
Sébastien Helleu 79b03d0680 core: automatically backup config file read if it has an unsupported version (issue #2013) 2023-09-12 15:03:18 +02:00
Sébastien Helleu f43ed913f5 xfer: fix memory leak on plugin unload 2023-09-12 15:03:18 +02:00
Sébastien Helleu 1fcbdb3bd9 doc/api: fix return values for callback_read in config_new_section 2023-09-12 15:03:18 +02:00
Sébastien Helleu 1aab82f20b core: add path in message displayed when a config file is updated to a newer version 2023-09-11 22:50:11 +02:00
Sébastien Helleu 58141bde79 irc: fix autojoin of channels when private buffers are opened (issue #2012) 2023-09-11 21:43:35 +02:00
Sébastien Helleu 7f6e626122 core: display a message when a configuration file is updated to a newer version 2023-09-11 09:33:39 +02:00
Sébastien Helleu 15860532f3 core: fix style for keys in ChangeLog 2023-08-29 12:32:59 +02:00
Sébastien Helleu 8b7513e883 script: fix crash when a /script command triggers another /script command (issue #923) 2023-08-27 17:22:09 +02:00
Sébastien Helleu 2566fca78c irc: use str_nicks only if not NULL in callback of message 353 2023-08-27 17:20:32 +02:00
Trygve Aaberge a82bfa0e7e Add compatibility with Python < 3.10 in weechat.pyi
The | syntax for unions is only supported in Python 3.10 and later.
Since Python 3.8 and 3.9 are still supported upstream for a while and we
had a user reporting on IRC that they couldn't use the stub file since
they are using 3.8, change to the old syntax for unions to support this.

There aren't really any drawbacks of this. It's just a bit more verbose,
and a typing import is necessary, but neither of those really matters in
a generated stub file.
2023-08-24 19:12:53 +02:00
Sébastien Helleu 48d33521dc irc: add tests on server functions 2023-08-24 09:23:30 +02:00
Sébastien Helleu e3f6dab366 irc: fix string comparison when CASEMAPPING is set to "ascii" 2023-08-24 09:23:30 +02:00
Sébastien Helleu 1a05f89586 irc: check that server is not NULL in function irc_server_eval_fingerprint 2023-08-24 09:23:30 +02:00
Sébastien Helleu c811072bdf Version 4.0.5-dev 2023-08-22 11:48:41 +02:00
Sébastien Helleu 4ae396825c Version 4.0.4 2023-08-22 11:43:34 +02:00
Sébastien Helleu 87e47894e6 script: adjust scroll after command /script go N 2023-08-22 11:29:37 +02:00
Sébastien Helleu ad75786e15 core: fix gcc warning on uninitialized variable pos_end
The variable `pos_end` is never used when not initialized anyway, thanks to the
`break` done before.
2023-08-22 10:31:47 +02:00
Sébastien Helleu 39fdb1b564 logger: remove trailing empty line in display of backlog (issue #2002) 2023-08-21 16:02:37 +02:00
Sébastien Helleu c5eb982424 perl: fix display of non-ASCII chars after load of a script with Perl >= 5.38 (issue #1996) 2023-08-21 13:11:58 +02:00
Sébastien Helleu e7bf09f4e8 irc: fix wrong time displayed for CTCP messages received from self nick (issue #2000) 2023-08-18 23:59:42 +02:00
Sébastien Helleu 27972b9c5d scripts: fix tests of functions print_date_tag, print_y_date_tags and hook_timer on 32-bit systems (issue #1999) 2023-08-18 16:45:30 +02:00
Sébastien Helleu ab7b51db72 scripts: fix function string_parse_size on 32-bit systems (python and ruby) (issue #1999) 2023-08-18 16:45:21 +02:00
Sébastien Helleu 647d7033cf xfer: fix conversion of string to IPv4 on 32-bit systems (issue #1999) 2023-08-18 16:44:36 +02:00
Sébastien Helleu 4fe1ba7016 tests: fix tests on function irc_join_compare_join_channel (issue #1997) 2023-08-18 07:55:55 +02:00
Sébastien Helleu 29db9b95ee tests: fix typo in test name 2023-08-18 07:52:36 +02:00
Sébastien Helleu 270d64cfa1 core: fix increment/decrement of options weechat.notify.* 2023-08-18 07:52:13 +02:00
Sébastien Helleu 4eabcdf840 core: fix integer overflow when setting integer option with ++N or --N 2023-08-18 07:49:19 +02:00
Sébastien Helleu 77911680bb irc: fix redirection of command /list when the reply doesn't start with message 321 (start of /list) 2023-08-18 07:40:32 +02:00
Sébastien Helleu bc5b287622 irc: add missing tags on multiline messages (issue #1987) 2023-08-09 14:55:50 +02:00
Sébastien Helleu 7c0b16df81 Version 4.0.4-dev 2023-08-08 21:19:12 +02:00
Sébastien Helleu f3bc66b255 Version 4.0.3 2023-08-08 20:51:54 +02:00
Sébastien Helleu a23d8f2198 relay: fix display of IRC CTCP messages received from client (issue #1986) 2023-08-08 09:42:34 +02:00
Sébastien Helleu f4c6caabb3 tests: add test on IRC notice sent to another nick with channel name at beginning (issue #1991) 2023-08-01 22:49:45 +02:00
Sébastien Helleu f416688e84 irc: fix display of outgoing notice with channel when capability "echo-message" is enabled (issue #1991) 2023-08-01 22:37:10 +02:00
Sébastien Helleu 1dc7ae6b68 core: remove CMake option "ENABLE_DOC_WARN_LOCALE" from release notes (issue #1985) 2023-08-01 08:32:16 +02:00
Sébastien Helleu b06e09d00b core: remove CMake option "ENABLE_DOC_WARN_LOCALE" (issue #1985) 2023-07-31 22:02:18 +02:00
Sébastien Helleu 89090b10e8 core: fix typo 2023-07-31 21:51:19 +02:00
Sébastien Helleu fad7231f90 doc: stop build of docs if a locale is missing, add CMake option "ENABLE_DOC_WARN_LOCALE" (issue #1985) 2023-07-31 21:31:53 +02:00
Sébastien Helleu cf1e073446 core: add missing trailing newline char in doc generation error messages 2023-07-31 08:07:33 +02:00
Sébastien Helleu b4fc345a13 core: add version 4.0.3 in release notes 2023-07-31 08:10:37 +02:00
Sébastien Helleu b2cd9d002b irc: fix switch to channel manually joined (issue #1982)
This happens when server option autojoin_dynamic is on and option
irc.look.buffer_switch_autojoin is off.

Regression was introduced in version 4.0.0 by commit
1c3b871204.
2023-07-31 08:05:26 +02:00
Sébastien Helleu 9312211d49 core: fix input length and crash after delete of line (issue #1989) 2023-07-28 07:19:07 +02:00
Sébastien Helleu 2ad27b41a5 irc: fix memory leak in IRC message parser
Bug was introduced in WeeChat 3.4 by commit
c4b4d80936.
2023-07-20 08:57:50 +02:00
Sébastien Helleu ef68312393 irc: fix display of self CTCP message containing bold attribute (issue #1981) 2023-07-18 18:54:02 +02:00
Sébastien Helleu 7aa490e360 core: add version 4.0.2 in release notes 2023-07-12 22:11:54 +02:00
Sébastien Helleu 36ea983d04 Version 4.0.3-dev 2023-07-12 20:47:52 +02:00
Sébastien Helleu a4e7e18c14 Version 4.0.2 2023-07-12 20:42:04 +02:00
Sébastien Helleu ea934864d4 core: fix renaming of options with command /item rename (issue #1978)
The options `weechat.custom_bar_item.xxx.*` are now properly renamed to the new
item name.

This fixes a save issue (item saved with old name in config) and a crash if a
new item is created with the old name.
2023-07-10 07:34:41 +02:00
Sébastien Helleu 6e7fe96046 core: add quotes around key names in /help key 2023-07-05 21:25:58 +02:00
Sébastien Helleu 82daed8076 core: check that ptr_value is not NULL 2023-07-04 19:15:36 +02:00
Sébastien Helleu bcc061292d core: keep keys ctrl-H and ctrl-? (in lower case) if they were manually bound to custom commands in a previous version 2023-07-04 19:10:51 +02:00
Sébastien Helleu 3b26d6750e core: add key ctrl-backspace in /help key (closes #1975) 2023-07-04 18:41:31 +02:00
Sébastien Helleu 71f8c2ba17 doc: fix anchor links in auto-generated files 2023-07-04 18:31:30 +02:00
Sébastien Helleu 2d91845d53 core: update ChangeLog 2023-07-03 23:01:12 +02:00
Sébastien Helleu ed67f4bf0a core: fix styles 2023-07-03 22:59:37 +02:00
Trygve Aaberge e311564387 core: don't send key_pressed signal again for the same key press
If you press an incomplete key sequence, previously WeeChat would send
the key_pressed signal again for the same keys on the next key.

E.g. if you press escape and then 1, previously you would get the
key_pressed signal with signal_data `\x01[` when you pressed escape, and
then key_pressed with `\x01[` again when you pressed 1 (plus key_pressed
with `1` for the 1 key). So two signals for the escape key, even though
it was only pressed once.

With this patch, you only get one signal for each key press. So one with
`\x01[` when you press escape and then one with `1` when you press 1.
2023-07-03 22:57:10 +02:00
Trygve Aaberge 2781f38052 core: don't send key_combo_* signals for incomplete keys
Version 4.0.0 (specifically commit 1f5c791c3) changed the key handling
so key_combo_* signals were sent for each character in a sequence,
rather than just when the sequence is finished. This broke parts of the
vimode.py script.

E.g. for the up arrow, 3.8 sends key_combo_default signal once with the
signal_data `\x01[[A`, while 4.0.0 sends it three times with the
signal_data `\x01[`, `\x01[[` and `\x01[[A`.

With this patch, the previous behavior is brought back. There is one
small change though. In 3.8 if you press escape one or two times it
doesn't send key_combo_default, but if you press it three or more times
it sends it for each escape press. With this patch, it's never sent for
plain escape presses, only when the sequence is finished with some other
key.

This is intentional, as getting key_combo_default for escape presses
doesn't make sense since it's not a finished combo, and the behavior of
3.8 where you got it after three or more key presses was most likely
unintentional as it just happened because it didn't match any key
bindings anymore (there are key bindings starting with one or two escape
characters, but not more).
2023-07-03 22:57:10 +02:00
Sébastien Helleu 6c9ff45e5c tests: fix hdata tests failure on Alpine 3.18 2023-07-01 09:55:13 +02:00
Sébastien Helleu 3203ee8f05 tests/relay: fix crash in tests on Alpine 3.18 2023-07-01 09:55:01 +02:00
Sébastien Helleu b71af61581 build: fix detection of PHP 8.2 on Alpine 3.18 2023-07-01 09:54:52 +02:00
Sébastien Helleu 2304029d61 Version 4.0.2-dev 2023-07-01 09:53:53 +02:00
Sébastien Helleu b06edae3e3 Version 4.0.1 2023-06-30 21:18:01 +02:00
Sébastien Helleu 7d78be3a1b guile: fix crash on quit with Guile < 3 (closes #1965) 2023-06-27 21:44:54 +02:00
Sébastien Helleu 1107205059 core: update ChangeLog 2023-06-27 21:28:46 +02:00
Trygve Aaberge bd9978e467 core: check for newline characters in string_is_whitespace_char
This fixes a bug where if you had multiple lines in the input and
pressed ctrl-w when the cursor was after the first word of any line but
the first, it would delete both the word before the cursor and the last
word on the preceding line.
2023-06-27 21:26:47 +02:00
Sébastien Helleu b4d999010a api: do not convert option name to lower case in API functions config_set_plugin and config_set_desc_plugin 2023-06-27 12:58:51 +02:00
Sébastien Helleu 9939f939aa irc: sent "QUIT" message to servers connected with TLS on /upgrade 2023-06-26 22:08:22 +02:00
Sébastien Helleu 929d6fd452 core: fix level of section title in release notes 2023-06-26 21:23:25 +02:00
Sébastien Helleu db117f34dd core: display actual key name and command with key Alt+k
Key Alt+K (upper K) is removed as well as commands `/input grab_raw_key` and
`/input grab_raw_key_command`.
2023-06-26 20:40:11 +02:00
Sébastien Helleu f546796b49 irc: reply to a CTCP request sent to self nick (closes #1966) 2023-06-25 22:06:52 +02:00
Sébastien Helleu dd3277adbb core: add missing space in French translation 2023-06-25 19:14:48 +02:00
Sébastien Helleu cb7647a3ea core: force key "return" to command "/input return" when migrating legacy keys 2023-06-25 19:14:15 +02:00
Sébastien Helleu 21292f7464 core: fix format in Czech translation 2023-06-25 16:12:35 +02:00
Sébastien Helleu 3c433b5106 core: add option weechat.color.status_name_insecure in ChangeLog and release notes 2023-06-25 15:17:40 +02:00
Sébastien Helleu b578a0a4b9 Version 4.0.1-dev 2023-06-25 15:12:34 +02:00
217 changed files with 6232 additions and 13915 deletions
+4 -7
View File
@@ -5,7 +5,7 @@ on:
- pull_request
env:
WEECHAT_DEPENDENCIES: devscripts equivs python3-pip cmake ninja-build lcov pkg-config libncurses-dev gem2deb libperl-dev python3-dev libaspell-dev liblua5.3-dev tcl8.6-dev guile-3.0-dev libv8-dev libcurl4-gnutls-dev libgcrypt20-dev libgnutls28-dev libzstd-dev zlib1g-dev curl libcpputest-dev php-dev libphp-embed libargon2-dev libsodium-dev flake8 pylint python3-bandit asciidoctor ruby-pygments.rb shellcheck
WEECHAT_DEPENDENCIES: devscripts equivs python3-pip cmake ninja-build lcov pkg-config libncursesw5-dev gem2deb libperl-dev python3-dev libaspell-dev liblua5.3-dev tcl8.6-dev guile-3.0-dev libv8-dev libcurl4-gnutls-dev libgcrypt20-dev libgnutls28-dev libzstd-dev zlib1g-dev curl libcpputest-dev php-dev libphp-embed libargon2-dev libsodium-dev flake8 pylint python3-bandit asciidoctor ruby-pygments.rb shellcheck
jobs:
@@ -33,6 +33,8 @@ jobs:
run: |
sudo apt-get update -qq
sudo apt-get --yes --no-install-recommends install ${{ env.WEECHAT_DEPENDENCIES }}
# uninstall php imagick as is causes a crash when loading php plugin (see #2009)
sudo apt-get --yes purge php8.1-imagick
sudo -H pip3 install --ignore-installed msgcheck
- name: Check gettext files
@@ -82,7 +84,6 @@ jobs:
matrix:
os:
- macos-12
- macos-11
config:
- { name: "gcc", cc: "gcc", cxx: "g++" }
- { name: "clang", cc: "clang", cxx: "clang++" }
@@ -92,9 +93,7 @@ jobs:
steps:
- name: Setup Homebrew
id: setup-homebrew
uses: Homebrew/actions/setup-homebrew@master
- uses: actions/checkout@v2
- name: Install dependencies
run: |
@@ -114,8 +113,6 @@ jobs:
;
brew install asciidoctor guile lua pkg-config ruby
- uses: actions/checkout@v2
- name: Build
env:
CC: ${{ matrix.config.cc }}
+8 -16
View File
@@ -19,7 +19,7 @@
# along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
#
cmake_minimum_required(VERSION 3.5)
cmake_minimum_required(VERSION 3.0)
project(weechat C)
@@ -29,7 +29,7 @@ set(CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake" "${CMAKE_MODULE_PATH}")
set(CMAKE_SKIP_RPATH ON)
# compiler options
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fsigned-char -fms-extensions -Wall -Wextra -Werror-implicit-function-declaration -Wformat -Werror=format-security")
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fsigned-char -fms-extensions -Wall -Wextra -Werror-implicit-function-declaration")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fsigned-char -fms-extensions -Wall -Wextra")
if (CMAKE_C_COMPILER_ID STREQUAL "GNU")
# extra options specific to gcc/g++
@@ -200,20 +200,6 @@ if(ENABLE_LARGEFILE)
add_definitions(-D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -D_LARGE_FILES)
endif()
# Check for Gettext
if(ENABLE_NLS)
find_package(Gettext)
if(GETTEXT_FOUND)
add_definitions(-DENABLE_NLS)
find_package(Intl)
if(Intl_FOUND)
list(APPEND EXTRA_LIBS "${Intl_LIBRARIES}")
endif()
else()
message(SEND_ERROR "Gettext not found")
endif()
endif()
# Check for libgcrypt
find_package(GCRYPT REQUIRED)
add_definitions(-DHAVE_GCRYPT)
@@ -258,7 +244,13 @@ endif()
add_subdirectory(icons)
if(ENABLE_NLS)
find_package(Gettext REQUIRED)
add_definitions(-DENABLE_NLS)
find_package(Intl REQUIRED)
list(APPEND EXTRA_LIBS "${Intl_LIBRARIES}")
add_subdirectory(po)
else()
add_custom_target(translations COMMAND true)
endif()
add_subdirectory(src)
+82 -41
View File
@@ -10,47 +10,86 @@ This document lists all the changes for each version. +
For a list of important changes that require manual actions, please look at release notes.
[[v4.1.0]]
== Version 4.1.0 (under dev)
New features::
* core: add option type "enum" (issue #1973)
* core: add parameters and key bindings to move to edges of current area with commands `/cursor go` and `/cursor move` (issue #1282)
* core: add variables "_chat_focused_line_bol" and "_chat_focused_line_eol" in focus data (issue #1955)
* api: add info "buffer" (issue #1962)
* buflist: increase max number of buflist items from 3 to 5 (issue #1703)
* fset: add variable `allowed_values` in options, add options fset.color.allowed_values and fset.color.allowed_values_selected
* fset: allow long type name in type filter
* irc: add buffer for /list reply, add options irc.color.list_buffer_line_selected, irc.color.list_buffer_line_selected_bg, irc.look.list_buffer_sort, irc.look.list_buffer_scroll_horizontal, irc.look.new_list_position, irc.look.list_buffer_topic_strip_colors (issue #1972)
* irc: display commands 716/717 in private buffer (if present) (issue #146)
* irc: create default options irc.ctcp.* when file irc.conf is created (issue #1974)
* irc: evaluate options irc.ctcp.* (issue #1974)
* irc: build dynamically the list of CTCPs supported in reply to "CTCP CLIENTINFO" (issue #1974)
* irc: remove Git revision and compilation date from CTCP VERSION reply (issue #1974)
* irc: remove default CTCP replies FINGER and USERINFO (issue #1974)
* script: allow jump to the last script with command `/script go end`
* script: allow commands `/script autoload`, `/script noautoload`, `/script toggleautoload` with scripts not present in the repository (issue #1980)
* trigger: add options `-o`, `-ol`, `-i` and `-il` in command `/trigger list` (issue #1953)
[[v4.0.9]]
== Version 4.0.9 (under dev)
Bug fixes::
* core: fix cursor position after `/plugin list -i` or `/plugin list -il`
* core: display focus hashtable for debug even if no key is matching
* fset: remove extra spaces between min and max values when second format is used
* fset: fix mouse actions when second format is used
* fset: apply option fset.color.help_description (issue #1988)
* irc: fix display of country code in message 344 received as whois geo info (issue #1736)
* irc: add missing "account-tag" in list of supported capabilities
* irc: add channel in "autojoin" server option only when the channel is actually joined (issue #1990)
* relay: synchronize nick modes with IRC client upon connection (issue #1984)
* script: add parameters up/down/go in `/help script` and command completion
* script: fix cursor position after `/script list -i` or `/script list -il`
* script: fix buffer used by command `/script list -i|-il|-o|-ol`
* core, relay: fix include directory of libzstd
* core: add missing mouse events "alt-ctrl-button2" and "alt-ctrl-button3"
* irc: fix crash in split of IRC message containing a newline if the server is not given
* python: fix truncation of unsigned long long integer returned by function string_parse_size
* script: always display list of scripts when searching scripts with `/script search` (issue #2077)
* tcl: fix truncation of long integer returned by function hdata_long
* trigger: fix memory leak when adding a new trigger with `/trigger` command
Build::
* ruby: add detection of Ruby 3.3
[[v4.0.8]]
== Version 4.0.8 (2024-01-20)
Bug fixes::
* core: fix crash on plugin reload when using musl libc (issue #2052)
* core: fix infinite loop in display when the chat area is too small (issue #2053)
* irc: check if arguments are not NULL in some infos
* irc: fix info "irc_is_message_ignored" (issue #2059)
* irc: fix display of self messages when the message split fails due to inconsistent max lengths sent by the server in message 005
[[v4.0.7]]
== Version 4.0.7 (2023-12-03)
Bug fixes::
* core: fix value of buffer variable "num_history" when the value defined in option weechat.history.max_commands is reached
* core: remove incorrect warning when binding keys kbd:[F10] to kbd:[F20] (issue #2039)
* core: fix memory leak when config version is invalid or not supported
* core: fix crash when "config_version" is present in a configuration file without a value
* core: display an error on startup if environment variable "HOME" is not set
* irc: remove trailing "\r\n" in signals "irc_out" and "irc_outtags" when messages are queued
* irc: fix target buffer of IRC message 337 (whois reply: "is hiding their idle time")
* relay: close properly connection with the IRC client in case of server disconnection (issue #2038)
* ruby: fix use of NULL variable when displaying exception
[[v4.0.6]]
== Version 4.0.6 (2023-10-26)
Bug fixes::
* core: fix crash when a custom bar item name is already used by a default bar item (issue #2034)
* core: fix generation of TOTP on Big Endian systems (issue #2021)
* irc: move value `-all` at the end of completions for command `/ignore del`
* irc: fix memory leak when joining channels with keys
Build::
* core: fix build error if CMake option ENABLE_NLS is turned to off or if required dependencies are not found (issue #2026, issue #2031)
[[v4.0.5]]
== Version 4.0.5 (2023-09-24)
New features::
* core: automatically backup config file read if it has an unsupported version (issue #2013)
* core: display a message when a configuration file is updated to a newer version
* python: make stub (weechat.pyi) compatible with Python 3.8 and 3.9 (issue #2006)
Bug fixes::
* irc: add option irc.look.open_pv_buffer_echo_msg to open private buffer on self message when capability echo-message is enabled (issue #2016)
* irc: fix title of private buffers wrongly set to own address when capability echo-message is enabled (issue #2016)
* irc: fix autojoin of channels when private buffers are opened (issue #2012)
* irc: fix string comparison when CASEMAPPING is set to "ascii"
* script: fix removal of script in system directory while trying to install a script (issue #2019)
* script: fix autoload of multiple scripts at once with `/script autoload` (issue #2018)
* script: fix crash when a `/script` command triggers another `/script` command (issue #923)
* xfer: fix memory leak on plugin unload
Tests::
* core: add tests on GUI buffer functions
* irc: add tests on server functions
[[v4.0.4]]
== Version 4.0.4 (2023-08-22)
@@ -97,8 +136,8 @@ Bug fixes::
* core: fix renaming of options with command `/item rename` (issue #1978)
* core: don't send "key_pressed" signal again for the same key press (issue #1976)
* core: don't send "key_combo_*" signals for incomplete keys (issue #1976)
* core: add key ctrl-backspace in /help key (issue #1975)
* core: keep keys ctrl-H and ctrl-? (in lower case) if they were manually bound to custom commands in a previous version
* core: add key kbd:[Ctrl+Backspace] in /help key (issue #1975)
* core: keep keys `ctrl-H` and `ctrl-?` (in lower case) if they were manually bound to custom commands in a previous version
Tests::
@@ -112,6 +151,8 @@ Build::
[[v4.0.1]]
== Version 4.0.1 (2023-06-30)
Bug fixes::
* core: force key "return" to command "/input return" when migrating legacy keys
* core: display actual key name and command with key kbd:[Alt+k], remove key kbd:[Alt+K] (grab raw key) and associated commands `/input grab_raw_key` and `/input grab_raw_key_command`
* core: check for newline characters in string_is_whitespace_char (issue #1968)
@@ -134,7 +175,7 @@ New features::
* core: insert multiple pasted lines in input instead of sending immediately, add keys to move and delete in a single line and whole input, add option weechat.look.input_multiline_lead_linebreak (issue #1502, issue #1503, issue #1504)
* core: render newline characters in chat line messages (issue #1908)
* core: don't split on newline characters in printf_date_tags when input_multiline is set (issue #1909)
* core: add key @kbd:[l] in cursor mode to quote line, add variable "_chat_focused_line" in function hashtable sent to hook_focus callback (issue #1913, issue #1914)
* core: add key kbd:[l] (lower `L`) in cursor mode to quote line, add variable "_chat_focused_line" in function hashtable sent to hook_focus callback (issue #1913, issue #1914)
* core: add option `split_return` in command `/input` (issue #1916)
* core: send all command line parameters not beginning with a dash to all plugins
* core: add command `/reset` to reset options to their default values
@@ -251,7 +292,7 @@ Build::
* core: remove obsolete cpack config
* core: add "stable-number" and "devel-number" in script version.sh
* core: add quotes around paths in CMake files (issue #29)
* doc: convert docgen.py to C, remove autogen files from repository, add parameter `--doc-gen` to `weechat-headless` binary, add CMake option "ENABLE_DOC_INCOMPLETE"
* doc: convert docgen.py to C, remove autogen files from repository, add parameter `--doc-gen` to `weechat-headless` binary, add CMake option `ENABLE_DOC_INCOMPLETE`
[[v3.8]]
== Version 3.8 (2023-01-08)
@@ -1748,7 +1789,7 @@ New features::
* core: add option weechat.look.hotlist_add_conditions, remove option weechat.look.hotlist_add_buffer_if_away
* core: add option weechat.look.hotlist_remove (issue #99)
* core: add options `-beep` and `-current` in command `/print`
* core: add bare display mode for easy text selection and click on URLs, new key: kbd:[Alt+l] (`L`), new option "bare" in command `/window`, new options: weechat.look.bare_display_exit_on_input and weechat.look.bare_display_time_format
* core: add bare display mode for easy text selection and click on URLs, new key: kbd:[Alt+l] (lower `L`), new option "bare" in command `/window`, new options: weechat.look.bare_display_exit_on_input and weechat.look.bare_display_time_format
* core: add signals "key_combo_{default|search|cursor}"
* core: add terabyte unit for size displayed
* core: display a warning in case of inconsistency between the options weechat.look.save_{config|layout}_on_exit
@@ -2072,7 +2113,7 @@ Documentation::
Build::
* core: add CA_FILE option in CMake and configure to setup default value of option weechat.network.gnutls_ca_file (default is "/etc/ssl/certs/ca-certificates.crt") (task #12725)
* core: disable build of doc by default, add CMake option "ENABLE_MAN" to compile man page (off by default)
* core: disable build of doc by default, add CMake option ENABLE_MAN to compile man page (off by default)
* xfer: fix compilation on OpenBSD (bug #39071)
[[v0.4.1]]
+18 -63
View File
@@ -11,78 +11,33 @@ It is recommended to read it when upgrading to a new stable version. +
For a complete list of changes, please look at ChangeLog.
[[v4.1.0]]
== Version 4.1.0 (under dev)
[[v4.0.8]]
== Version 4.0.8 (2024-01-20)
[[v4.1.0_cursor_mode_keys]]
=== New keys to move in cursor mode
No release notes.
New keys have been added to move in cursor mode, and existing keys to move to
another area have been changed: modifier is now kbd:[Alt+Shift] instead of
kbd:[Alt].
[[v4.0.7]]
== Version 4.0.7 (2023-12-03)
You can change existing keys and add new ones with these commands:
No release notes.
----
/key bindctxt cursor meta-up /cursor move edge_top
/key bindctxt cursor meta-down /cursor move edge_bottom
/key bindctxt cursor meta-left /cursor move edge_left
/key bindctxt cursor meta-right /cursor move edge_right
/key bindctxt cursor meta-end /cursor move bottom_right
/key bindctxt cursor meta-home /cursor move top_left
/key bindctxt cursor meta-shift-up /cursor move area_up
/key bindctxt cursor meta-shift-down /cursor move area_down
/key bindctxt cursor meta-shift-left /cursor move area_left
/key bindctxt cursor meta-shift-right /cursor move area_right
----
[[v4.0.6]]
== Version 4.0.6 (2023-10-26)
[[v4.1.0_irc_ctcp_replies]]
=== IRC CTCP replies
[[v4.0.6_custom_bar_items]]
=== Custom bar items
IRC CTCP replies are now evaluated, with the same variables available, so now
the syntax is for example `${version}` instead of `$version`. +
The existing options `irc.ctcp.*` are automatically converted on upgrade.
Custom bar items must now have a different name than default bar items
(for example the custom bar item name `time` is now forbidden).
In addition, for privacy reasons, these default CTCP replies have been removed:
If you have such names in your config, WeeChat will now fail to load them
(this should not happen anyway, since such bar items can not be properly used
and can cause a crash of WeeChat).
- FINGER
- USERINFO
[[v4.0.5]]
== Version 4.0.5 (2023-09-24)
If ever you want that WeeChat replies to these CTCP requests, you can add them
back with the two following commands:
----
/set irc.ctcp.finger "WeeChat ${version}"
/set irc.ctcp.userinfo "${username} (${realname})"
----
They will then be advertised in reply to "CTCP CLIENTINFO", which is now built
dynamically with these options.
[[v4.1.0_fset_allowed_values]]
=== Allowed values for options on fset buffer
A new variable `allowed_values` has been added in fset options.
The default value for the second format has changed. +
You can reset it with this command:
----
/reset fset.format.option2
----
[[v4.1.0_fset_mouse]]
=== Mouse actions on fset buffer
Mouse actions on fset buffer has been fixed when option `fset.look.format_number`
is set to 2.
The key for button 1 on fset buffer has been fixed. +
You can reset it with this command:
----
/reset weechat.key_mouse.@chat(fset.fset):button1
----
No release notes.
[[v4.0.4]]
== Version 4.0.4 (2023-08-22)
+22 -20
View File
@@ -45,26 +45,28 @@ set(CMAKE_REQUIRED_INCLUDES ${LIBINTL_INCLUDE})
check_include_files(libintl.h HAVE_LIBINTL_H)
if(HAVE_LIBINTL_H)
check_function_exists(dgettext LIBC_HAS_DGETTEXT)
if(LIBC_HAS_DGETTEXT)
set(GETTEXT_FOUND TRUE)
else()
find_library(LIBINTL_LIBRARY NAMES intl
PATHS
/usr/local/lib
/usr/lib
)
if(LIBINTL_LIBRARY)
if(${CMAKE_SYSTEM_NAME} STREQUAL "OpenBSD")
set(CMAKE_REQUIRED_LIBRARIES "iconv")
check_library_exists(${LIBINTL_LIBRARY} "libintl_dgettext" "" LIBINTL_HAS_DGETTEXT)
else()
check_library_exists(${LIBINTL_LIBRARY} "dgettext" "" LIBINTL_HAS_DGETTEXT)
endif()
if(LIBINTL_HAS_DGETTEXT)
set(GETTEXT_FOUND TRUE)
endif()
if(NOT HAVE_LIBINTL_H)
message(SEND_ERROR "Header libintl.h not found, required if ENABLE_NLS is enabled")
endif()
check_function_exists(dgettext LIBC_HAS_DGETTEXT)
if(LIBC_HAS_DGETTEXT)
set(GETTEXT_FOUND TRUE)
else()
find_library(LIBINTL_LIBRARY NAMES intl
PATHS
/usr/local/lib
/usr/lib
)
if(LIBINTL_LIBRARY)
if(${CMAKE_SYSTEM_NAME} STREQUAL "OpenBSD")
set(CMAKE_REQUIRED_LIBRARIES "iconv")
check_library_exists(${LIBINTL_LIBRARY} "libintl_dgettext" "" LIBINTL_HAS_DGETTEXT)
else()
check_library_exists(${LIBINTL_LIBRARY} "dgettext" "" LIBINTL_HAS_DGETTEXT)
endif()
if(LIBINTL_HAS_DGETTEXT)
set(GETTEXT_FOUND TRUE)
endif()
endif()
endif()
+1 -1
View File
@@ -37,7 +37,7 @@ if(PKG_CONFIG_FOUND)
# set specific search path for macOS
set(ENV{PKG_CONFIG_PATH} "$ENV{PKG_CONFIG_PATH}:/usr/local/opt/ruby/lib/pkgconfig")
endif()
pkg_search_module(RUBY ruby-3.2 ruby-3.1 ruby-3.0 ruby-2.7 ruby-2.6 ruby-2.5 ruby-2.4 ruby-2.3 ruby-2.2 ruby-2.1 ruby-2.0 ruby-1.9 ruby)
pkg_search_module(RUBY ruby-3.3 ruby-3.2 ruby-3.1 ruby-3.0 ruby-2.7 ruby-2.6 ruby-2.5 ruby-2.4 ruby-2.3 ruby-2.2 ruby-2.1 ruby-2.0 ruby-1.9 ruby)
if(RUBY_FOUND AND ${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
# FIXME: weird hack: hardcoding the Ruby lib location on macOS
set(RUBY_LDFLAGS "${RUBY_LDFLAGS} -L/usr/local/opt/ruby/lib")
-1
View File
@@ -1,4 +1,3 @@
#cmakedefine HAVE_LIBINTL_H
#cmakedefine HAVE_SYS_RESOURCE_H
#cmakedefine HAVE_FLOCK
#cmakedefine HAVE_LANGINFO_CODESET
+2 -2
View File
@@ -7,7 +7,7 @@ Build-Depends:
ruby-pygments.rb,
debhelper (>= 12),
cmake, pkg-config,
libncurses-dev,
libncursesw5-dev,
gem2deb,
libperl-dev,
python3-dev,
@@ -22,7 +22,7 @@ Build-Depends:
libgnutls28-dev,
libzstd-dev,
zlib1g-dev
Standards-Version: 4.6.2
Standards-Version: 4.6.0.1
Homepage: https://weechat.org/
Vcs-Git: https://salsa.debian.org/kolter/weechat.git
Vcs-Browser: https://salsa.debian.org/kolter/weechat
+41
View File
@@ -0,0 +1,41 @@
weechat (2.1-1) unstable; urgency=medium
This release introduces a new headless client and a new PHP plugin for
scripting (respectively weechat-headless and weechat-php binary
packages).
To avoid at least unnecessary dependencies, each plugin has its own
separate binary package:
weechat-{perl,python,ruby,lua,guile,javascript,php}
Depending on your needs about scripting with weechat you should consider
to install the missing packages.
-- Emmanuel Bouthenot <kolter@debian.org> Wed, 21 Mar 2018 07:53:40 +0100
weechat (1.1.1-1) unstable; urgency=medium
Since version 1.1, there is a new format for regexp replacement in
triggers. This format is incompatible with version 1.0. The existing
triggers will not be automatically updated.
See https://weechat.org/files/releasenotes/ReleaseNotes-1.1.html
-- Emmanuel Bouthenot <kolter@debian.org> Sun, 25 Jan 2015 20:41:50 +0100
weechat (0.3.1-1) unstable; urgency=low
This release introduces important changes with the usage of SSL. There
are stronger checks while connecting with SSL. By default, if a connection
is not fully trusted it will fail.
You can find more information on how to handle this new behaviour here:
https://blog.weechat.org/post/2009/12/01/SSL-certificates
-- Emmanuel Bouthenot <kolter@debian.org> Mon, 25 Jan 2010 12:35:11 +0100
weechat (0.3.0-1) unstable; urgency=low
This release introduces major changes. Large part of code was
rewritten without keeping compatibility with older versions.
Please refer to the file /usr/share/doc/weechat-core/UPGRADE_0.3
for more information on upgrade from a version 0.2.x to 0.3.x.
-- Emmanuel Bouthenot <kolter@openics.org> Tue, 15 Sep 2009 20:59:42 +0000
+6
View File
@@ -1,3 +1,9 @@
weechat (4.0.5-1) unstable; urgency=medium
* New upstream release
-- Emmanuel Bouthenot <kolter@debian.org> Sun, 24 Sep 2023 07:49:41 +0000
weechat (4.0.2-1) unstable; urgency=medium
* New upstream release (Closes: #1040248)
+2 -2
View File
@@ -7,7 +7,7 @@ Build-Depends:
ruby-pygments.rb,
debhelper (>= 12),
cmake, pkg-config,
libncurses-dev,
libncursesw5-dev,
gem2deb,
libperl-dev,
python3-dev,
@@ -22,7 +22,7 @@ Build-Depends:
libgnutls28-dev,
libzstd-dev,
zlib1g-dev
Standards-Version: 4.6.2
Standards-Version: 4.6.1.0
Homepage: https://weechat.org/
Vcs-Git: https://salsa.debian.org/kolter/weechat.git
Vcs-Browser: https://salsa.debian.org/kolter/weechat
+3 -19
View File
@@ -643,12 +643,6 @@ werden um dann z.B. mit einem Kurzbefehl `/123` zum Buffer #123 zu springen:
/trigger add numberjump modifier "2000|input_text_for_buffer" "${tg_string} =~ ^/[0-9]+$" "=\/([0-9]+)=/buffer *${re:1}=" "" "" "none"
----
Um einfach von einem Buffer zu einem anderen zu springen, kann man das _go.py_ Skript installieren:
----
/script install go.py
----
[[global_history]]
=== Wie kann ich den globalen Verlaufsspeicher (anstelle des Buffer eigenen) mit den Up-/Down-Tasten nutzen?
@@ -1154,10 +1148,7 @@ Damit WeeChat weniger Speicher benötigt, solltest Du folgende Tipps umsetzen:
Man sollte sich die Tipps zum <<memory_usage,Speicherverbrauch>> ansehen
und zusätzlich diese Tipps beherzigen:
// TRANSLATION MISSING
* "nicklist"-Bar sollte versteckt werden: `/bar hide nicklist` (key: kbd:[Alt+Shift+N]).
// TRANSLATION MISSING
* Disable "buflist": `/buflist disable` (key: kbd:[Alt+Shift+B]).
* "nicklist"-Bar sollte versteckt werden: `/bar hide nicklist`
* die Sekundenanzeigen in der Statusbar sollte deaktiviert werden:
`+/set weechat.look.item_time_format "%H:%M"+` (dies ist die Standardeinstellung)
* die Echtzeit Rechtschreibkorrektur sollte deaktiviert werden (falls sie aktiviert wurde):
@@ -1179,21 +1170,14 @@ Deaktiviere die automatische Antwort für alle CTCP Anfragen:
----
/set irc.ctcp.clientinfo ""
/set irc.ctcp.finger ""
/set irc.ctcp.source ""
/set irc.ctcp.time ""
/set irc.ctcp.userinfo ""
/set irc.ctcp.version ""
/set irc.ctcp.ping ""
----
// TRANSLATION MISSING
With WeeChat < 4.1.0, other CTCP queries were replied by default and must be
disabled as well:
----
/set irc.ctcp.finger ""
/set irc.ctcp.userinfo ""
----
Entferne und deaktiviere das automatische Ausführen der "xfer"-Erweiterung, die beispielsweise für "IRC DCC" verantwortlich ist:
----
+90 -151
View File
@@ -118,7 +118,7 @@ Die folgende Tabelle zeigt eine Auflistung der Pakete, die zum Erstellen von Wee
| pkg-config |
| entdeckt installierte Bibliotheken.
| libncurses-dev |
| libncursesw5-dev ^(2)^ |
| Ncurses Oberfläche.
| libcurl4-gnutls-dev |
@@ -127,7 +127,7 @@ Die folgende Tabelle zeigt eine Auflistung der Pakete, die zum Erstellen von Wee
| libgcrypt20-dev |
| Geschützte Daten, IRC SASL Authentifikation.
| libgnutls28-dev | ≥ 2.2.0 ^(2)^
| libgnutls28-dev | ≥ 2.2.0 ^(3)^
| IRC-Erweiterung: Unterstützung von TLS Verbindungen, IRC SASL Authentifikation (ECDSA-NIST256P-CHALLENGE). +
Relay-Erweiterung: Untersützung von TLS Verbindungen.
@@ -144,7 +144,11 @@ Die folgende Tabelle zeigt eine Auflistung der Pakete, die zum Erstellen von Wee
[NOTE]
^(1)^ Der Name stammt von der Debian GNU/Linux Bookworm-Distribution,
Version und Name können in anderen Distributionen anders lauten. +
^(2)^ GnuTLS ≥ 3.0.21 wird benötigt um eine IRC SASL Authentifizierung mittels
^(2)^ Es wird empfohlen WeeChat mit libncurses**w**5-dev (das *w* ist
entscheidend) zu kompilieren. Eine Kompilierung kann auch mit libncurses5-dev erfolgen,
aber dies wird *NICHT* empfohlen:
Es können Darstellungsfehler mit breiten Zeichen auftreten. +
^(3)^ GnuTLS ≥ 3.0.21 wird benötigt um eine IRC SASL Authentifizierung mittels
ECDSA-NIST256P-CHALLENGE durchzuführen.
Die folgende Tabelle zeigt die Liste der Pakete, die zum Kompilieren von
@@ -1344,8 +1348,7 @@ Standardmäßig interpretieren WeeChat und seine Standard-Erweitertungen diese V
| filter
| beliebige Zeichenkette
| Filter für einige Buffer definiert, zum Beispiel`/fset`, `/list` (irc), `/server raw` (irc)
und `/script`.
| Filter definiert für einige Buffer `/fset`, `/server raw` (irc) und `/script`.
| host
| beliebige Zeichenkette
@@ -1451,20 +1454,6 @@ Optionen:
include::{autogendir}/autogen_user_options.de.adoc[tag=buflist_options]
[[cursor_mode]]
=== Cursor-Modus
Mit dem Cursormodus können Sie den Cursor frei an eine beliebige Stelle auf dem Bildschirm bewegen,
sowohl im Chatbereich als auch in Bars und ermöglicht das Ausführen von Aktionen an der angegebenen Position. +
Sie können den Cursormodus entweder mit dem Befehl `/cursor` oder mit der mittleren Maustaste aktivieren
(Maus muss mit der Taste kbd:[Alt+m] oder dem Befehl `/mouse enable` aktiviert worden sein).
Typischer Anwendungszweck ist das Zitieren von Nachrichten (Chat-Bereich) oder die Interaktion mit Nicks (Nicklist-Leiste).
Siehe Befehl <<command_weechat_cursor,/cursor>> und
<<key_bindings_cursor_context,key bindings in cursor context>>, für die Liste
der Aktionen, die in diesem Modus ausgeführt werden können.
[[key_bindings]]
== Tastenbelegungen
@@ -1687,38 +1676,31 @@ in einem Buffer nach einem Text zu suchen).
[[key_bindings_cursor_context]]
=== Cursor-Kontext
Diese Tasten werden im Kontext "cursor" verwendet (Cursor kann frei auf dem Bildschirm bewegt werden),
see <<cursor_mode,Cursor mode>>.
Diese Tasten werden im Kontext "cursor" verwendet (Cursor kann frei auf dem Bildschirm bewegt werden)
[width="100%",cols="^.^3,^.^2,.^7,.^7",options="header"]
|===
| Taste | Bereich | Beschreibung | Befehl
| kbd:[↑] | - | bewegt den Cursor eine Zeile nach oben. | `+/cursor move up+`
| kbd:[↓] | - | bewegt den Cursor eine Zeile nach unten. | `+/cursor move down+`
| kbd:[←] | - | bewegt den Cursor eine Spalte nach links. | `+/cursor move left+`
| kbd:[→] | - | bewegt den Cursor eine Spalte nach rechts. | `+/cursor move right+`
| kbd:[Alt+↑] | - | bewegt den Cursor zur ersten Zeile des Bereichs. | `+/cursor move edge_top+`
| kbd:[Alt+↓] | - | bewegt den Cursor zur letzten Zeile des Bereichs. | `+/cursor move edge_bottom+`
| kbd:[Alt+←] | - | bewegt den Cursor zur ersten Spalte des Bereichs. | `+/cursor move edge_left+`
| kbd:[Alt+→] | - | bewegt den Cursor zur letzten Spalte des Bereichs. | `+/cursor move edge_right+`
| kbd:[Alt+Home] | - | bewegt den Cursor in die obere linke Ecke des Bereichs. | `+/cursor move top_left+`
| kbd:[Alt+End] | - | bewegt den Cursor in die untere rechte Ecke des Bereichs. | `+/cursor move bottom_right+`
| kbd:[Alt+Shift+↑] | - | bewegt den Cursor einen Bereich nach oben. | `+/cursor move area_up+`
| kbd:[Alt+Shift+↓] | - | bewegt den Cursor einen Bereich nach unten. | `+/cursor move area_down+`
| kbd:[Alt+Shift+←] | - | bewegt den Cursor einen Bereich nach links. | `+/cursor move area_left+`
| kbd:[Alt+Shift+→] | - | bewegt den Cursor einen Bereich nach rechts. | `+/cursor move area_right+`
| kbd:[m] | Chat | zitiert Nachricht. | `+hsignal:chat_quote_message;/cursor stop+`
| kbd:[l] | Chat | zitiert aktuelle Zeile. | `+hsignal:chat_quote_focused_line;/cursor stop+`
| kbd:[q] | Chat | zitiert prefix + Nachricht. | `+hsignal:chat_quote_prefix_message;/cursor stop+`
| kbd:[Q] | Chat | zitiert Uhrzeit + prefix + Nachricht. | `+hsignal:chat_quote_time_prefix_message;/cursor stop+`
| kbd:[b] | Benutzerliste | verbannt nick (Ban). | `+/window ${_window_number};/ban ${nick}+`
| kbd:[k] | Benutzerliste | kickt nick. | `+/window ${_window_number};/kick ${nick}+`
| kbd:[K] | Benutzerliste | kickt und verbannt nick. | `+/window ${_window_number};/kickban ${nick}+`
| kbd:[q] | Benutzerliste | öffnet privaten Chat mit Nick. | `+/window ${_window_number};/query ${nick};/cursor stop+`
| kbd:[w] | Benutzerliste | führt einen whois für Nick aus. | `+/window ${_window_number};/whois ${nick}+`
| Taste | Bereich | Beschreibung | Befehl
| kbd:[↑] | - | bewegt Cursor eine Zeile nach oben. | `+/cursor move up+`
| kbd:[↓] | - | bewegt Cursor eine Zeile nach unten. | `+/cursor move down+`
| kbd:[←] | - | bewegt Cursor eine Spalte nach links. | `+/cursor move left+`
| kbd:[→] | - | bewegt Cursor eine Spalte nach rechts. | `+/cursor move right+`
| kbd:[Alt+↑] | - | bewegt Cursor einen Bereich nach oben. | `+/cursor move area_up+`
| kbd:[Alt+↓] | - | bewegt Cursor einen Bereich nach unten. | `+/cursor move area_down+`
| kbd:[Alt+←] | - | bewegt Cursor einen Bereich nach links. | `+/cursor move area_left+`
| kbd:[Alt+→] | - | bewegt Cursor einen Bereich nach rechts. | `+/cursor move area_right+`
| kbd:[m] | Chat | zitiert Nachricht. | `+hsignal:chat_quote_message;/cursor stop+`
| kbd:[l] | Chat | zitiert aktuelle Zeile. | `+hsignal:chat_quote_focused_line;/cursor stop+`
| kbd:[q] | Chat | zitiert prefix + Nachricht. | `+hsignal:chat_quote_prefix_message;/cursor stop+`
| kbd:[Q] | Chat | zitiert Uhrzeit + prefix + Nachricht. | `+hsignal:chat_quote_time_prefix_message;/cursor stop+`
| kbd:[b] | Benutzerliste | verbannt nick (Ban). | `+/window ${_window_number};/ban ${nick}+`
| kbd:[k] | Benutzerliste | kickt nick. | `+/window ${_window_number};/kick ${nick}+`
| kbd:[K] | Benutzerliste | kickt und verbannt nick. | `+/window ${_window_number};/kickban ${nick}+`
| kbd:[q] | Benutzerliste | öffnet privaten Chat mit Nick. | `+/window ${_window_number};/query ${nick};/cursor stop+`
| kbd:[w] | Benutzerliste | führt einen whois für Nick aus. | `+/window ${_window_number};/whois ${nick}+`
| kbd:[Enter] +
kbd:[Ctrl+j] +
kbd:[Ctrl+m] | - | beendet den Cursor-Modus. | `+/cursor stop+`
kbd:[Ctrl+m] | - | beendet den Cursor-Modus. | `+/cursor stop+`
|===
[[key_bindings_mouse]]
@@ -1730,59 +1712,49 @@ wurde (Befehl: `+/mouse toggle+`).
[width="100%",cols="^.^3,^.^3,^.^3,.^8,.^8",options="header"]
|===
| Maustaste/Mausrad ^(1)^ | Mausgeste | Bereich | Beschreibung | Befehl
| kbd:[■ □ □] | - | Chat | wechselt zum Fenster. | `+/window ${_window_number}+`
| kbd:[■ □ □] | links | Chat | zum vorherigen Buffer springen. | `+/window ${_window_number};/buffer +1+`
| kbd:[■ □ □] | rechts | Chat | zum nächsten Buffer springen. | `+/window ${_window_number};/buffer +1+`
| kbd:[■ □ □] | links(lang) | Chat | wechselt zum ersten Buffer. | `+/window ${_window_number};/buffer 1+`
| kbd:[■ □ □] | rechts(lang) | Chat | wechselt zum letzten Buffer. | `+/window ${_window_number};/buffer ++`
| ◾◽◽ | - | Chat | wechselt zum Fenster. | `+/window ${_window_number}+`
| ◾◽◽ | links | Chat | zum vorherigen Buffer springen. | `+/window ${_window_number};/buffer +1+`
| ◾◽◽ | rechts | Chat | zum nächsten Buffer springen. | `+/window ${_window_number};/buffer +1+`
| ◾◽◽ | links(lang) | Chat | wechselt zum ersten Buffer. | `+/window ${_window_number};/buffer 1+`
| ◾◽◽ | rechts(lang) | Chat | wechselt zum letzten Buffer. | `+/window ${_window_number};/buffer ++`
| kbd:[▲] | - | Chat | mehrere Zeilen im Verlaufsspeicher des Buffer nach oben blättern. | `+/window scroll_up -window ${_window_number}+`
| kbd:[▼] | - | Chat | mehrere Zeilen im Verlaufsspeicher des Buffer nach unten blättern. | `+/window scroll_down -window ${_window_number}+`
| kbd:[Ctrl+▲] | - | Chat | horizontal, nach links scrollen. | `+/window scroll_horiz -window ${_window_number} -10%+`
| kbd:[Ctrl+▼] | - | Chat | horizontal, nach rechts scrollen. | `+/window scroll_horiz -window ${_window_number} +10%+`
| kbd:[▲] | - | chat: fset Buffer | Auswahl wird fünf Einträge nach oben bewegt, im fset Buffer. | `+/fset -up 5+`
| kbd:[▼] | - | chat: fset buffer | Auswahl wird fünf Einträge nach unten bewegt, im fset Buffer. | `+/fset -down 5+`
| kbd:[■ □ □] | - | chat: fset buffer | springt zu einem Eintrag im fset Buffer. | `+/window ${_window_number};/fset -go ${fset_option_index}+`
| kbd:[□ □ ■] | - | chat: fset buffer | Boolean-Wert wird umgeschaltet (an/aus) oder editiere den Wert einer Option. | `+hsignal:fset_mouse+`
| kbd:[□ □ ■] | left | chat: fset buffer | Integer/Farbwerte/Aufzählung werden verringert, andere Variabletypen werden in die Eingabezeile kopiert. | `+hsignal:fset_mouse+`
| kbd:[□ □ ■] | right | chat: fset buffer | Integer/Farbwerte/Aufzählung werden erhöht, andere Variabletypen werden in die Eingabezeile kopiert. | `+hsignal:fset_mouse+`
| kbd:[□ □ ■] | up / down | chat: fset buffer | markieren/demarkieren von mehreren Optionen. | `+hsignal:fset_mouse+`
| kbd:[▲] | - | chat: /list buffer | gehe fünf Zeilen im /list-Buffer nach oben. | `+/list -up 5+`
| kbd:[▼] | - | chat: /list buffer | gehe fünf Zeilen im /list-Buffer nach unten. | `+/list -down 5+`
| kbd:[■ □ □] | - | chat: /list buffer | Zeile im /list-Buffer auswählen. | `+/window ${_window_number};/list -go ${_chat_line_y}+`
| kbd:[□ □ ■] | - | chat: /list buffer | tritt dem IRC-Kanal, in der ausgewählten Zeile, bei. | `+hsignal:irc_list_mouse+`
| ◾◽◽ | - | chat: fset buffer | springt zu einem Eintrag im fset Buffer. | `+/window ${_window_number};/fset -go ${_chat_line_y}+`
| ◽◽◾ | - | chat: fset buffer | Boolean-Wert wird umgeschaltet (an/aus) oder editiere den Wert einer Option. | `+hsignal:fset_mouse+`
| ◽◽◾ | left | chat: fset buffer | Integer/Farbwerte werden verringert, andere Variabletypen werden in die Eingabezeile kopiert. | `+hsignal:fset_mouse+`
| ◽◽◾ | right | chat: fset buffer | Integer/Farbwerte werden erhöht, andere Variabletypen werden in die Eingabezeile kopiert. | `+hsignal:fset_mouse+`
| ◽◽◾ | up / down | chat: fset buffer | markieren/demarkieren von mehreren Optionen. | `+hsignal:fset_mouse+`
| kbd:[▲] | - | chat: script buffer | fünf Zeilen nach oben blättern, im Script-Buffer. | `+/script up 5+`
| kbd:[▼] | - | chat: script buffer | fünf Zeilen nach unten blättern, im Script-Buffer. | `+/script down 5+`
| kbd:[■ □ □] | - | chat: script buffer | wählt einen Eintrag im Script-Buffer aus. | `+/script go ${_chat_line_y}+`
| kbd:[□ □ ■] | - | chat: script buffer | installiert/entfernt ein Skript. | `+/script go ${_chat_line_y};/script installremove -q ${script_name_with_extension}+`
| kbd:[■ □ □] | up / left | buflist | verschiebt Buffer in der Reihenfolge nach unten. | Signal `+buflist_mouse+`.
| kbd:[■ □ □] | down / right | buflist | verschiebt Buffer in der Reihenfolge nach oben. | Signal `+buflist_mouse+`.
| kbd:[■ □ □] | - | buflist | wechselt zum Buffer (oder zum vorherigen Buffer, falls der aktuell genutzte Buffer angewählt wurde). | Signal `+buflist_mouse+`.
| kbd:[□ □ ■] | - | buflist | wechselt zum nächsten Buffer, falls der aktuell genutzte Buffer angewählt wurde. | Signal `+buflist_mouse+`.
| ◾◽◽ | - | chat: script buffer | wählt einen Eintrag im Script-Buffer aus. | `+/script go ${_chat_line_y}+`
| ◽◽◾ | - | chat: script buffer | installiert/entfernt ein Skript. | `+/script go ${_chat_line_y};/script installremove -q ${script_name_with_extension}+`
| ◾◽◽ | up / left | buflist | verschiebt Buffer in der Reihenfolge nach unten. | Signal `+buflist_mouse+`.
| ◾◽◽ | down / right | buflist | verschiebt Buffer in der Reihenfolge nach oben. | Signal `+buflist_mouse+`.
| ◾◽◽ | - | buflist | wechselt zum Buffer (oder zum vorherigen Buffer, falls der aktuell genutzte Buffer angewählt wurde). | Signal `+buflist_mouse+`.
| ◽◽◾ | - | buflist | wechselt zum nächsten Buffer, falls der aktuell genutzte Buffer angewählt wurde. | Signal `+buflist_mouse+`.
| kbd:[Ctrl+▲] | - | buflist | wechselt zum vorherigen Buffer. | Signal `+buflist_mouse+`.
| kbd:[Ctrl+▼] | - | buflist | wechselt zum nächsten Buffer. | Signal `+buflist_mouse+`.
| kbd:[■ □ □] | hoch | Benutzerliste | Benutzerliste um eine Seite nach oben blättern. | `+/bar scroll nicklist ${_window_number} -100%+`
| kbd:[■ □ □] | runter | Benutzerliste | Benutzerliste um eine Seite nach unten blättern. | `+/bar scroll nicklist ${_window_number} +100%+`
| kbd:[■ □ □] | hoch(lang) | Benutzerliste | springt zum Anfang der Benutzerliste. | `+/bar scroll nicklist ${_window_number} b+`
| kbd:[■ □ □] | runter(lang) | Benutzerliste | springt zum Ende der Benutzerliste. | `+/bar scroll nicklist ${_window_number} e+`
| kbd:[■ □ □] | - | Benutzerliste | öffnet privaten Chat mit Nick. | `+/window ${_window_number};/query ${nick}+`
| kbd:[□ □ ■] | - | Benutzerliste | führt einen whois für Nick aus. | `+/window ${_window_number};/whois ${nick}+`
| kbd:[■ □ □] | links | Benutzerliste | kickt Nick. | `+/window ${_window_number};/kick ${nick}+`
| kbd:[■ □ □] | links(lang) | Benutzerliste | kickt und verbannt Nick. | `+/window ${_window_number};/kickban ${nick}+`
| kbd:[□ □ ■] | links | Benutzerliste | verbannt Nick. | `+/window ${_window_number};/ban ${nick}+`
| kbd:[□ □ ■] | - | Input | fängt ein Mausereignis und fügt dieses in die Befehlszeile ein. | `+/input grab_mouse_area+`
| ◾◽◽ | hoch | Benutzerliste | Benutzerliste um eine Seite nach oben blättern. | `+/bar scroll nicklist ${_window_number} -100%+`
| ◾◽◽ | runter | Benutzerliste | Benutzerliste um eine Seite nach unten blättern. | `+/bar scroll nicklist ${_window_number} +100%+`
| ◾◽◽ | hoch(lang) | Benutzerliste | springt zum Anfang der Benutzerliste. | `+/bar scroll nicklist ${_window_number} b+`
| ◾◽◽ | runter(lang) | Benutzerliste | springt zum Ende der Benutzerliste. | `+/bar scroll nicklist ${_window_number} e+`
| ◾◽◽ | - | Benutzerliste | öffnet privaten Chat mit Nick. | `+/window ${_window_number};/query ${nick}+`
| ◽◽◾ | - | Benutzerliste | führt einen whois für Nick aus. | `+/window ${_window_number};/whois ${nick}+`
| ◾◽◽ | links | Benutzerliste | kickt Nick. | `+/window ${_window_number};/kick ${nick}+`
| ◾◽◽ | links(lang) | Benutzerliste | kickt und verbannt Nick. | `+/window ${_window_number};/kickban ${nick}+`
| ◽◽◾ | links | Benutzerliste | verbannt Nick. | `+/window ${_window_number};/ban ${nick}+`
| ◽◽◾ | - | Input | fängt ein Mausereignis und fügt dieses in die Befehlszeile ein. | `+/input grab_mouse_area+`
| kbd:[▲] | - | jede Bar | blättert Bar um 20% nach oben. | `+/bar scroll ${_bar_name} ${_window_number} -20%+`
| kbd:[▼] | - | jede Bar | blättert Bar um 20% nach unten. | `+/bar scroll ${_bar_name} ${_window_number} +20%+`
| kbd:[□ ■ □] | - | überall | aktiviert den Cursor-Modus an dieser Position. | `+/cursor go ${_x},${_y}+`
| ◽◾◽ | - | überall | aktiviert den Cursor-Modus an dieser Position. | `+/cursor go ${_x},${_y}+`
|===
[NOTE]
^(1)^ Buttons: +
kbd:[◼ □ □]: Klicke linke Maustaste +
kbd:[□ ◼ □]: Klicke mittlere Maustaste +
kbd:[□ □ ◼]: Klicke rechte Maustaste +
Mausrad: +
kbd:[▲]: Mausrad hoch +
kbd:[▼]: Mausrad runter
^(1)^ kbd:[▲] und kbd:[▼] sind Symbole für Mausrad hoch/runter.
[[key_bindings_fset_buffer]]
=== Fset Buffer
@@ -1801,8 +1773,8 @@ Diese Tasten und Aktionen werden im fset-Buffer verwendet (siehe <<fset,Fset Erw
| kbd:[F11] | `pass:[<]` | scrollt horizontal nach links. | `+/fset -left+`
| kbd:[F12] | `pass:[>]` | scrollt horizontal nach rechts. | `+/fset -right+`
| kbd:[Alt+Space] | `t` | Boolean Wert ein/ausschalten. | `+/fset -toggle+`
| kbd:[Alt+-] | `-` | subtrahiert 1 vom Wert bei Integer/Farboptionen/Aufzählung, bei anderen Typen kann der Wert editiert werden. | `+/fset -add -1+`
| kbd:[Alt++] | `+` | addiert 1 zum Wert bei Integer/Farboptionen/Aufzählung, bei anderen Typen kann der Wert editiert werden. | `+/fset -add 1+`
| kbd:[Alt+-] | `-` | subtrahiert 1 vom Wert bei Integer/Farboptionen, bei anderen Typen kann der Wert editiert werden. | `+/fset -add -1+`
| kbd:[Alt++] | `+` | addiert 1 zum Wert bei Integer/Farboptionen, bei anderen Typen kann der Wert editiert werden. | `+/fset -add 1+`
| kbd:[Alt+f], kbd:[Alt+r] | `r` | Wert resetten. | `+/fset -reset+`
| kbd:[Alt+f], kbd:[Alt+u] | `u` | Wert zurücksetzen. | `+/fset -unset+`
| kbd:[Alt+Enter] | `s` | Wert setzen. | `+/fset -set+`
@@ -1830,39 +1802,6 @@ Diese Tasten und Aktionen werden im fset-Buffer verwendet (siehe <<fset,Fset Erw
[NOTE]
^(1)^ Die Aktion muss als Eingabe in die Befehlszeile eingegeben werden, gefolgt von kbd:[Enter].
[[key_bindings_irc_list_buffer]]
=== IRC /list Buffer
Diese Tastenbefehle und Aktionen können im IRC /list-Buffer genutzt werden (siehe Befehl <<command_irc_list,/list>>).
[width="100%",cols="^.^3,^.^2,.^8,.^5",options="header"]
|===
| Taste | Action ^(1)^ | Beschreibung | Befehl
| kbd:[↑] | | einen Eintrag nach oben. | `+/list -up+`
| kbd:[↓] | | einen Eintrag nach unten. | `+/list -down+`
| kbd:[PgUp] | | eine Seite hoch blättern. | `+/window page_up+`
| kbd:[PgDn] | | eine Seite runter blättern. | `+/window page_down+`
| kbd:[Alt+Home] | `pass:[<<]` | springt zum ersten Eintrag. | `+/list -go 0+`
| kbd:[Alt+End] | `pass:[>>]` | springt zum letzten Eintrag. | `+/list -go end+`
| kbd:[F11] | `pass:[<]` | scrollt horizontal nach links. | `+/list -left+`
| kbd:[F12] | `pass:[>]` | scrollt horizontal nach rechts. | `+/list -right+`
| kbd:[Ctrl+j] | `j` | Join IRC channel on selected line. | `+/list -join+`
| | `xxx` | zeigt nur Kanäle an mit "xxx" im Namen oder Thema (Groß- und Kleinschreibung wird ignoriert). |
| | `n:xxx` | zeigt nur Kanäle mit im Namen (Groß- und Kleinschreibung wird ignoriert). |
| | `t:xxx` | zeigt nur Kanäle mit "xxx" im Thema (Groß- und Kleinschreibung wird ignoriert). |
| | `u:n` | zeigt nur Kanäle mit wenigstens "n" Usern. |
| | `u:>n` | zeigt nur Kanäle mit mehr als "n" Usern |
| | `u:<n` | zeigt nur Kanäle mit weniger als "n" Usern |
| | `c:xxx` | zeigt nur Kanäle an, die der ausgewerteten Bedingung, "xxx", entsprechen , unter Verwendung folgender Variablen: name, name2, users, topic |
| | `s:x,y` | sortiert Kanäle nach Feldern x,y (siehe Befehl <<command_irc_list,/list>>). |
| | `s:` | Sortierung auf den Standardwert zurücksetzen (siehe Befehl <<command_irc_list,/list>>). |
| | `$` | Liste aktualisieren (Der Befehl <<command_irc_list,/list>> wird erneut ausgeführt). |
| | `q` | Buffer schließen. | `+/buffer close+`
|===
[NOTE]
^(1)^ Die Aktion muss als Eingabe in die Befehlszeile eingegeben werden, gefolgt von kbd:[Enter].
[[key_bindings_script_buffer]]
=== Skriptbuffer
@@ -1905,7 +1844,7 @@ Beispiel des fset-Buffer, der Optionen anzeigt, die mit `weechat.look` beginnen
│2.fset │weechat.look.bare_display_exit_on_input: exit the bare display mode on any c│
│ │hanges in input [default: on] │
│ │----------------------------------------------------------------------------│
│ │ weechat.look.align_end_of_lines enum message │
│ │ weechat.look.align_end_of_lines integer message │
│ │ weechat.look.align_multiline_words boolean on │
│ │ weechat.look.bar_more_down string "++" │
│ │ weechat.look.bar_more_left string "<<" │
@@ -1914,12 +1853,12 @@ Beispiel des fset-Buffer, der Optionen anzeigt, die mit `weechat.look` beginnen
│ │## weechat.look.bare_display_exit_on_input boolean on ##│
│ │ weechat.look.bare_display_time_format string "%H:%M" │
│ │ weechat.look.buffer_auto_renumber boolean on │
│ │ weechat.look.buffer_notify_default enum all │
│ │ weechat.look.buffer_position enum end │
│ │ weechat.look.buffer_notify_default integer all │
│ │ weechat.look.buffer_position integer end │
│ │ weechat.look.buffer_search_case_sensitive boolean off │
│ │ weechat.look.buffer_search_force_default boolean off │
│ │ weechat.look.buffer_search_regex boolean off │
│ │ weechat.look.buffer_search_where enum prefix_message │
│ │ weechat.look.buffer_search_where integer prefix_message │
│ │ weechat.look.buffer_time_format string "%H:%M:%S" │
│ │ weechat.look.buffer_time_same string "" │
│ │[12:55] [2] [fset] 2:fset │
@@ -3386,7 +3325,7 @@ irc.server.libera.autorejoin_delay integer null -> 30
irc.server.libera.away_check integer null -> 0
irc.server.libera.away_check_max_nicks integer null -> 25
irc.server.libera.capabilities string null -> "*"
irc.server.libera.charset_message enum null -> message
irc.server.libera.charset_message integer null -> message
irc.server.libera.command string null -> ""
irc.server.libera.command_delay integer null -> 0
irc.server.libera.connection_timeout integer null -> 60
@@ -3402,9 +3341,9 @@ irc.server.libera.notify string null -> ""
irc.server.libera.password string null -> ""
irc.server.libera.proxy string null -> ""
irc.server.libera.realname string null -> ""
irc.server.libera.sasl_fail enum null -> reconnect
irc.server.libera.sasl_fail integer null -> reconnect
irc.server.libera.sasl_key string null -> ""
irc.server.libera.sasl_mechanism enum null -> plain
irc.server.libera.sasl_mechanism integer null -> plain
irc.server.libera.sasl_password string "${sec.data.libera}"
irc.server.libera.sasl_timeout integer null -> 15
irc.server.libera.sasl_username string "alice"
@@ -4127,7 +4066,7 @@ Beispiel: Um eine Antwort auf die CTCP Anfrage "VERSION" anzupassen nutzen Sie
folgenden Befehl:
----
/set irc.ctcp.version "I'm running WeeChat ${version}, it rocks!"
/set irc.ctcp.version "I'm running WeeChat $version, it rocks!"
----
[NOTE]
@@ -4152,7 +4091,7 @@ Auch kann man CTCP Antworten für jeden einzelnen Server anpassen. Dazu muss
man lediglich den internen Servernamen vor die CTCP Anfrage setzen:
----
/set irc.ctcp.libera.version "WeeChat ${version} (for libera)"
/set irc.ctcp.libera.version "WeeChat $version (for libera)"
----
Sollen die CTCP Antworten wieder auf die Standardeinstellungen zurück gesetzt werden
@@ -4162,23 +4101,23 @@ dann müssen Sie lediglich die Option löschen:
/unset irc.ctcp.version
----
Die CTCP Antworten sind evaluiert (siehe Befehl <<command_weechat_eval,/eval>>) und
die folgenden zusätzlichen Variablen sind verfügbar:
Folgende Platzhalter können in den CTCP-Antworten genutzt werden. Diese werden dann
mit dem entsprechenden Wert ersetzt:
[width="100%",cols="2,4,8",options="header"]
[width="100%",cols="2l,4,8",options="header"]
|===
| Variable | Beschreibung | Wert/Beispiel
| `+${clientinfo}+` | Liste der CTCP Antworten | `+ACTION DCC CLIENTINFO FINGER PING SOURCE TIME USERINFO VERSION+`
| `+${version}+` | WeeChat Version | `+4.1.0-dev+`
| `+${versiongit}+` | WeeChat Version + Git version ^(1)^ | `+4.1.0-dev (git: v4.0.0-51-g8f98b922a)+`
| `+${git}+` | Git Version ^(1)^ | `+v4.0.0-51-g8f98b922a+`
| `+${compilation}+` | Datum der Kompilierung | `+Jul 8 2023 20:14:23+`
| `+${osinfo}+` | Info über das genutzte OS | `+Linux 5.10.0-23-amd64 / x86_64+`
| `+${site}+` | WeeChat Seite | `+https://weechat.org/+`
| `+${download}+` | WeeChat, Download Seite | `+https://weechat.org/download/+`
| `+${time}+` | Aktuelle Uhrzeit/Datum | `+Sat, 08 Jul 2023 21:11:19 +0200+`
| `+${username}+` | Username beim IRC Server | `+Name+`
| `+${realname}+` | Realname beim IRC Server | `+John Doe+`
| Platzhalter | Beschreibung | Wert/Beispiel
| $clientinfo | Liste der CTCP Antworten | `+ACTION DCC CLIENTINFO FINGER PING SOURCE TIME USERINFO VERSION+`
| $version | WeeChat Version | `+0.4.0-dev+`
| $versiongit | WeeChat Version + Git version ^(1)^ | `+0.4.0-dev (git: v0.3.9-104-g7eb5cc4)+`
| $git | Git Version ^(1)^ | `+v0.3.9-104-g7eb5cc4+`
| $compilation | Datum der Kompilierung | `+Dec 16 2012+`
| $osinfo | Info über das genutzte OS | `+Linux 2.6.32-5-amd64 / x86_64+`
| $site | WeeChat Seite | `+https://weechat.org/+`
| $download | WeeChat, Download Seite | `+https://weechat.org/download/+`
| $time | Aktuelle Uhrzeit/Datum | `+Sun, 16 Dec 2012 10:40:48 +0100+`
| $username | Username beim IRC Server | `+Name+`
| $realname | Realname beim IRC Server | `+John Doe+`
|===
[NOTE]
@@ -4186,17 +4125,17 @@ die folgenden zusätzlichen Variablen sind verfügbar:
Dies erfordert, dass WeeChat aus dem Git Repository heraus kompiliert wurde
und das Git überhaupt installiert ist.
Die Standard-CTCP-Antworten sind:
Falls CTCP Optionen nicht festgelegt sind, lauten die CTCP Antworten:
[width="100%",cols="2,4,8",options="header"]
|===
| CTCP | Antwortformat | Beispiel
| CLIENTINFO | `+${clientinfo}+` | `+ACTION DCC CLIENTINFO FINGER PING SOURCE TIME USERINFO VERSION+`
| FINGER | `+WeeChat ${version}+` | `+WeeChat 4.1.0-dev+`
| SOURCE | `+${download}+` | `+https://weechat.org/download/+`
| TIME | `+${time}+` | `+Sat, 08 Jul 2023 21:11:19 +0200+`
| USERINFO | `+${username} (${realname})+` | `+Name (John Doe)+`
| VERSION | `+WeeChat ${version}+` | `+WeeChat 4.1.0-dev+`
| CTCP | Antwortformat | Beispiel
| CLIENTINFO | `+$clientinfo+` | `+ACTION DCC CLIENTINFO FINGER PING SOURCE TIME USERINFO VERSION+`
| FINGER | `+WeeChat $versiongit+` | `+WeeChat 0.4.0-dev (git: v0.3.9-104-g7eb5cc4)+`
| SOURCE | `+$download+` | `+https://weechat.org/download/+`
| TIME | `+$time+` | `+Sun, 16 Dec 2012 10:40:48 +0100+`
| USERINFO | `+$username ($realname)+` | `+Name (John Doe)+`
| VERSION | `+WeeChat $versiongit ($compilation)+` | `+WeeChat 0.4.0-dev (git: v0.3.9-104-g7eb5cc4) (Dec 16 2012)+`
|===
[[irc_target_buffer]]
-3
View File
@@ -281,7 +281,6 @@ WeeChat "core" is located in following directories:
|       irc-info.c | IRC info/infolists/hdata.
|       irc-input.c | Input of commands/text.
|       irc-join.c | Functions for list of channels to join.
|       irc-list.c | Buffer for reply to /list command.
|       irc-message.c | Functions to manipulate IRC messages.
|       irc-mode.c | Functions about channel/nick modes.
|       irc-modelist.c | IRC channel mode lists (+b, +e, +I, ...).
@@ -437,10 +436,8 @@ WeeChat "core" is located in following directories:
|             test-irc-channel.cpp | Tests: IRC channels.
|             test-irc-color.cpp | Tests: IRC colors.
|             test-irc-config.cpp | Tests: IRC configuration.
|             test-irc-ctcp.cpp | Tests: IRC CTCP.
|             test-irc-ignore.cpp | Tests: IRC ignores.
|             test-irc-join.cpp | Tests: IRC join functions.
|             test-irc-list.cpp | Tests: IRC buffer for reply to /list command.
|             test-irc-message.cpp | Tests: IRC messages.
|             test-irc-mode.cpp | Tests: IRC modes.
|             test-irc-nick.cpp | Tests: IRC nicks.
+3 -16
View File
@@ -612,12 +612,6 @@ commands like `/123` to jump to buffer #123:
/trigger add numberjump modifier "2000|input_text_for_buffer" "${tg_string} =~ ^/[0-9]+$" "=\/([0-9]+)=/buffer *${re:1}=" "" "" "none"
----
For an easy jump to buffers, you can also install the _go.py_ script:
----
/script install go.py
----
[[global_history]]
=== How to use global history (instead of buffer history) with up and down keys?
@@ -1080,8 +1074,7 @@ You can try following tips to consume less memory:
You can follow same tips as for <<memory_usage,memory>>, and these ones:
* Hide "nicklist" bar: `/bar hide nicklist` (key: kbd:[Alt+Shift+N]).
* Disable "buflist": `/buflist disable` (key: kbd:[Alt+Shift+B]).
* Hide "nicklist" bar: `/bar hide nicklist`.
* Remove display of seconds in status bar time:
`+/set weechat.look.item_time_format "%H:%M"+` (this is the default value).
* Disable real time check of misspelled words in command line (if you enabled it):
@@ -1103,20 +1096,14 @@ Disable answers to all CTCP queries:
----
/set irc.ctcp.clientinfo ""
/set irc.ctcp.finger ""
/set irc.ctcp.source ""
/set irc.ctcp.time ""
/set irc.ctcp.userinfo ""
/set irc.ctcp.version ""
/set irc.ctcp.ping ""
----
With WeeChat < 4.1.0, other CTCP queries were replied by default and must be
disabled as well:
----
/set irc.ctcp.finger ""
/set irc.ctcp.userinfo ""
----
Unload and disable auto-loading of "xfer" plugin (used for IRC DCC):
----
+68 -176
View File
@@ -6796,7 +6796,7 @@ def config_new_section(config_file: str, name: str,
callback_delete_option: str, callback_delete_option_data: str) -> str: ...
# example
def my_section_read_cb(data: str, config_file: str, section: str, option_name: str, value: str | None) -> int:
def my_section_read_cb(data: str, config_file: str, section: str, option_name: str, value: Union[str, None]) -> int:
# ...
return weechat.WEECHAT_CONFIG_OPTION_SET_OK_CHANGED
# return weechat.WEECHAT_CONFIG_OPTION_SET_OK_SAME_VALUE
@@ -6815,7 +6815,7 @@ def my_section_write_default_cb(data: str, config_file: str, section_name: str)
# return weechat.WEECHAT_CONFIG_WRITE_ERROR
# return weechat.WEECHAT_CONFIG_WRITE_MEMORY_ERROR
def my_section_create_option_cb(data: str, config_file: str, section: str, option_name: str, value: str | None) -> int:
def my_section_create_option_cb(data: str, config_file: str, section: str, option_name: str, value: Union[str, None]) -> int:
# ...
return weechat.WEECHAT_CONFIG_OPTION_SET_OK_CHANGED
# return weechat.WEECHAT_CONFIG_OPTION_SET_OK_SAME_VALUE
@@ -6880,7 +6880,7 @@ section = weechat.config_search_section(config_file, "section")
==== config_new_option
_Updated in 1.5, 4.1.0._
_Updated in 1.5._
Create a new option in a section of a configuration file.
@@ -6928,13 +6928,12 @@ Arguments:
"name << file.section.option"
* _type_: type of option:
** _boolean_: boolean value (on/off)
** _integer_: integer value
** _integer_: integer value (with optional strings for values)
** _string_: string value
** _color_: color
** _enum_: list of string values (stored as integer internally)
* _description_: description of option
* _string_values_: values as string (separated by `+|+`) (optional, required
for type _enum_)
* _string_values_: values as string (separated by `+|+`), used for type
_integer_ (optional)
* _min_: minimum value (for type _integer_)
* _max_: maximum value (for type _integer_)
* _default_value_: default value for option (used when option is reset)
@@ -6985,8 +6984,8 @@ C example:
[source,c]
----
/* boolean */
struct t_config_option *option_bool =
weechat_config_new_option (config_file, section, "option_bool", "boolean",
struct t_config_option *option1 =
weechat_config_new_option (config_file, section, "option1", "boolean",
"My option, type boolean",
NULL,
0, 0,
@@ -6998,8 +6997,8 @@ struct t_config_option *option_bool =
NULL, NULL, NULL);
/* integer */
struct t_config_option *option_int =
weechat_config_new_option (config_file, section, "option_int", "integer",
struct t_config_option *option2 =
weechat_config_new_option (config_file, section, "option2", "integer",
"My option, type integer",
NULL,
0, 100,
@@ -7010,9 +7009,22 @@ struct t_config_option *option_int =
NULL, NULL, NULL,
NULL, NULL, NULL);
/* integer (with string values) */
struct t_config_option *option3 =
weechat_config_new_option (config_file, section, "option3", "integer",
"My option, type integer (with string values)",
"top|bottom|left|right",
0, 0,
"bottom",
"bottom",
0,
NULL, NULL, NULL,
NULL, NULL, NULL,
NULL, NULL, NULL);
/* string */
struct t_config_option *option_str =
weechat_config_new_option (config_file, section, "option_str", "string",
struct t_config_option *option4 =
weechat_config_new_option (config_file, section, "option4", "string",
"My option, type string",
NULL,
0, 0,
@@ -7024,8 +7036,8 @@ struct t_config_option *option_str =
NULL, NULL, NULL);
/* color */
struct t_config_option *option_col =
weechat_config_new_option (config_file, section, "option_col", "color",
struct t_config_option *option5 =
weechat_config_new_option (config_file, section, "option5", "color",
"My option, type color",
NULL,
0, 0,
@@ -7035,19 +7047,6 @@ struct t_config_option *option_col =
NULL, NULL, NULL,
NULL, NULL, NULL,
NULL, NULL, NULL);
/* enum */
struct t_config_option *option_enum =
weechat_config_new_option (config_file, section, "option_enum", "enum",
"My option, type enum",
"top|bottom|left|right",
0, 0,
"bottom",
"bottom",
0,
NULL, NULL, NULL,
NULL, NULL, NULL,
NULL, NULL, NULL);
----
Script (Python):
@@ -7057,55 +7056,55 @@ Script (Python):
# prototype
def config_new_option(config_file: str, section: str, name: str, type: str, description: str,
string_values: str, min: int, max: int,
default_value: str | None, value: str | None, null_value_allowed: int,
default_value: Union[str, None], value: Union[str, None], null_value_allowed: int,
callback_check_value: str, callback_check_value_data: str,
callback_change: str, callback_change_data: str,
callback_delete: str, callback_delete_data: str) -> str: ...
# example
def option_str_check_value_cb(data: str, option: str, value: str) -> int:
def option4_check_value_cb(data: str, option: str, value: str) -> int:
# ...
return 1
# return 0
def option_str_change_cb(data: str, option: str) -> None:
def option4_change_cb(data: str, option: str) -> None:
# ...
def option_str_delete_cb(data: str, option: str) -> None:
def option4_delete_cb(data: str, option: str) -> None:
# ...
option_bool = weechat.config_new_option(config_file, section, "option_bool", "boolean",
option1 = weechat.config_new_option(config_file, section, "option1", "boolean",
"My option, type boolean",
"", 0, 0, "on", "on", 0,
"", "",
"", "",
"", "")
option_int = weechat.config_new_option(config_file, section, "option_int", "integer",
option2 = weechat.config_new_option(config_file, section, "option2", "integer",
"My option, type integer",
"", 0, 100, "15", "15", 0,
"", "",
"", "",
"", "")
option_str = weechat.config_new_option(config_file, section, "option_str", "string",
"My option, type string",
"", 0, 0, "test", "test", 1,
"option_str_check_value_cb", "",
"option_str_change_cb", "",
"option_str_delete_cb", "")
option_col = weechat.config_new_option(config_file, section, "option_col", "color",
"My option, type color",
"", 0, 0, "lightblue", "lightblue", 0,
option3 = weechat.config_new_option(config_file, section, "option3", "integer",
"My option, type integer (with string values)",
"top|bottom|left|right",
0, 0, "bottom", "bottom", 0,
"", "",
"", "",
"", "")
option_enum = weechat.config_new_option(config_file, section, "option_enum", "enum",
"My option, type enum",
"top|bottom|left|right",
0, 0, "bottom", "bottom", 0,
option4 = weechat.config_new_option(config_file, section, "option4", "string",
"My option, type string",
"", 0, 0, "test", "test", 1,
"option4_check_value_cb", "",
"option4_change_cb", "",
"option4_delete_cb", "")
option5 = weechat.config_new_option(config_file, section, "option5", "color",
"My option, type color",
"", 0, 0, "lightblue", "lightblue", 0,
"", "",
"", "",
"", "")
@@ -7388,7 +7387,7 @@ Arguments:
type of option:
** _boolean_:
*** `toggle`: toggle the current value
** _integer_, _color_ or _enum_:
** _integer_ or _color_:
*** `++N`: add `N` (any integer) to the current value
*** `--N`: subtract `N` (any integer) from the current value
* _run_callback_: 1 for calling change callback if value of option is changed,
@@ -7622,7 +7621,6 @@ Arguments:
*** _integer_
*** _string_
*** _color_
*** _enum_
** _description_: option description
Return value:
@@ -7796,7 +7794,6 @@ Return value, depending on the option type:
* _integer_: 0
* _string_: 0
* _color_: 0
* _enum_: 0
C example:
@@ -7847,7 +7844,6 @@ Return value, depending on the option type:
* _integer_: 0
* _string_: 0
* _color_: 0
* _enum_: 0
C example:
@@ -7898,7 +7894,6 @@ Return value, depending on the option type:
* _integer_: integer value of option
* _string_: 0
* _color_: color index
* _enum_: integer value of option (index of enum value)
C example:
@@ -7941,7 +7936,6 @@ Return value, depending on the option type:
* _integer_: default integer value of option
* _string_: 0
* _color_: default color index
* _enum_: default integer value of option (index of enum value)
C example:
@@ -7981,10 +7975,10 @@ Arguments:
Return value, depending on the option type:
* _boolean_: "on" if value is true, otherwise "off"
* _integer_: NULL
* _integer_: string value if the option is an integer with string values,
otherwise NULL
* _string_: string value of option
* _color_: name of color
* _enum_: string value of option
C example:
@@ -8024,10 +8018,10 @@ Arguments:
Return value, depending on the option type:
* _boolean_: "on" if default value is true, otherwise "off"
* _integer_: NULL
* _integer_: default string value if the option is an integer with string
values, otherwise NULL
* _string_: default string value of option
* _color_: name of default color
* _enum_: default string value of option
C example:
@@ -8070,7 +8064,6 @@ Return value, depending on the option type:
* _integer_: NULL
* _string_: NULL
* _color_: name of color
* _enum_: NULL
C example:
@@ -8113,7 +8106,6 @@ Return value, depending on the option type:
* _integer_: NULL
* _string_: NULL
* _color_: name of default color
* _enum_: NULL
C example:
@@ -8135,96 +8127,6 @@ option = weechat.config_get("plugin.section.option")
value = weechat.config_color_default(option)
----
==== config_enum
_WeeChat ≥ 4.1.0._
Return enum value of option, as integer.
Prototype:
[source,c]
----
int weechat_config_enum (struct t_config_option *option);
----
Arguments:
* _option_: option pointer
Return value, depending on the option type:
* _boolean_: boolean value of option (0 or 1)
* _integer_: integer value of option
* _string_: 0
* _color_: color index
* _enum_: integer value of option (index of enum value)
C example:
[source,c]
----
struct t_config_option *option = weechat_config_get ("plugin.section.option");
int value = weechat_config_enum (option);
----
Script (Python):
[source,python]
----
# prototype
def config_enum(option: str) -> int: ...
# example
option = weechat.config_get("plugin.section.option")
value = weechat.config_enum(option)
----
==== config_enum_default
_WeeChat ≥ 4.1.0._
Return default enum value of option, as integer.
Prototype:
[source,c]
----
int weechat_config_enum_default (struct t_config_option *option);
----
Arguments:
* _option_: option pointer
Return value, depending on the option type:
* _boolean_: default boolean value of option (0 or 1)
* _integer_: default integer value of option
* _string_: 0
* _color_: default color index
* _enum_: integer value of option (index of enum value)
C example:
[source,c]
----
struct t_config_option *option = weechat_config_get ("plugin.section.option");
int value = weechat_config_enum_default (option);
----
Script (Python):
[source,python]
----
# prototype
def config_enum_default(option: str) -> int: ...
# example
option = weechat.config_get("plugin.section.option")
value = weechat.config_enum_default(option)
----
==== config_write_option
Write a line in a configuration file with option and its value (this function
@@ -10628,7 +10530,7 @@ hook = weechat.hook_connect("", "my.server.org", 1234, 1, 0, "",
==== hook_line
_WeeChat ≥ 2.3, updated in 3.7, 4.1.0._
_WeeChat ≥ 2.3, updated in 3.7._
Hook a line to be printed in a buffer.
@@ -10699,13 +10601,13 @@ Line data sent to the callback is a hashtable, with following values
| Key | Value (formatted buffer) | Value (free buffer) | Examples
| buffer
| Comma-separated list of buffer pointers.
| Comma-separated list of buffer pointers.
| Buffer pointer.
| Buffer pointer.
| `+0x1234abcd+`
| buffer_name
| Comma-separated list of buffer names.
| Comma-separated list of buffer names.
| Buffer name.
| Buffer name.
| `+core.weechat+` +
`+irc.server.libera+` +
`+irc.libera.#weechat+`
@@ -10793,20 +10695,16 @@ in this hashtable):
| Key | Allowed value (formatted buffer) | Allowed value (free buffer) | Result
| buffer
| Comma-separated list buffer pointers (with formatted content)
(multiple buffers are supported only with WeeChat ≥ 4.1.0).
| Comma-separated list buffer pointers (with free content)
(multiple buffers are supported only with WeeChat ≥ 4.1.0).
| The line is displayed on these buffers. +
| Pointer of a buffer with formatted content.
| Pointer of a buffer with free content.
| The line is displayed on this buffer. +
If the value is empty, the line is deleted (anything else in the hashtable
is then ignored); the next hooks of type "line" are not called.
| buffer_name
| Comma-separated list buffer names (with formatted content)
(multiple buffers are supported only with WeeChat ≥ 4.1.0).
| Comma-separated list buffer names (with free content)
(multiple buffers are supported only with WeeChat ≥ 4.1.0).
| The line is displayed on these buffers. +
| Name of a buffer with formatted content.
| Name of a buffer with free content.
| The line is displayed on this buffer. +
If `buffer` is also set, the value of `+buffer_name+` has higher priority and is used. +
If the value is empty, the line is deleted (anything else in the hashtable
is then ignored); the next hooks of type "line" are not called.
@@ -13004,7 +12902,7 @@ This function is not available in scripting API.
==== hook_focus
_Updated in 1.5, 4.0.0, 4.1.0._
_Updated in 1.5._
Hook a focus: mouse event or key pressed in cursor mode (free movement of
cursor).
@@ -13119,22 +13017,16 @@ Content of hashtable sent to callback (keys and values are of type "string"):
| _chat_line_message | Message of line.
| "Hello world!" | ""
| _chat_focused_line | Line at (x, y) _(WeeChat ≥ 4.0.0)_.
| _chat_focused_line | Line at (x,y) _(WeeChat ≥ 4.0.0)_.
| "Hello world!" | ""
| _chat_focused_line_bol | Text from beginning of line to (x-1, y) _(WeeChat ≥ 4.1.0)_.
| "Hello" | ""
| _chat_focused_line_eol | Text from (x, y) to end of line _(WeeChat ≥ 4.1.0)_.
| "llo world!" | ""
| _chat_word | Word at (x,y).
| "Hello" | ""
| _chat_bol | Text from beginning of message to (x-1, y).
| _chat_bol | Text from beginning of line to (x-1, y).
| "He" | ""
| _chat_eol | Text from (x, y) to the end of message.
| _chat_eol | Text from (x, y) to the end of line.
| "llo world!" | ""
| _bar_name | Name of bar.
@@ -17683,7 +17575,7 @@ Arguments:
Return value:
* variable offset, -1 if an error occurred
* variable offset, 0 if an error occurred
C example:
+89 -152
View File
@@ -113,7 +113,7 @@ WeeChat:
| pkg-config |
| Detect installed libraries.
| libncurses-dev |
| libncursesw5-dev ^(2)^ |
| Ncurses interface.
| libcurl4-gnutls-dev |
@@ -122,7 +122,7 @@ WeeChat:
| libgcrypt20-dev |
| Secured data, IRC SASL authentication.
| libgnutls28-dev | ≥ 2.2.0 ^(2)^
| libgnutls28-dev | ≥ 2.2.0 ^(3)^
| IRC plugin: support of TLS connections, IRC SASL authentication (ECDSA-NIST256P-CHALLENGE). +
Relay plugin: support of TLS connections.
@@ -139,7 +139,10 @@ WeeChat:
[NOTE]
^(1)^ Name comes from the Debian GNU/Linux Bookworm distribution, version and
name can be different in other distributions. +
^(2)^ GnuTLS ≥ 3.0.21 is required for IRC SASL authentication with mechanism
^(2)^ It is recommended to compile with libncurses**w**5-dev (the *w* is
important). WeeChat can compile with libncurses5-dev, but it is *NOT* recommended:
you may experience display bugs with wide chars. +
^(3)^ GnuTLS ≥ 3.0.21 is required for IRC SASL authentication with mechanism
ECDSA-NIST256P-CHALLENGE.
The following table shows the list of packages that are optional to compile
@@ -1329,8 +1332,7 @@ By default WeeChat and its default plugins interpret these variables:
| filter
| any string
| Filter defined on some buffers like `/fset`, `/list` (irc), `/server raw` (irc)
and `/script`.
| Filter defined on some buffers like `/fset`, `/server raw` (irc) and `/script`.
| host
| any string
@@ -1437,21 +1439,6 @@ Options:
include::{autogendir}/autogen_user_options.en.adoc[tag=buflist_options]
[[cursor_mode]]
=== Cursor mode
The cursor mode allows you to move freely the cursor anywhere on screen, in chat
area and bars, and lets you perform actions at the given position. +
You can enter in cursor mode either with the command `/cursor` or with a mouse
middle click (mouse must have been enabled with key kbd:[Alt+m] or command
`/mouse enable`).
Typical use is to quote messages (chat area) or interact with nicks (nicklist bar).
See command <<command_weechat_cursor,/cursor>> and
<<key_bindings_cursor_context,key bindings in cursor context>> for the list
of actions you can perform in this mode.
[[key_bindings]]
== Key bindings
@@ -1674,38 +1661,31 @@ text in buffer).
[[key_bindings_cursor_context]]
=== Cursor context
These keys are used in context "cursor" (free movement of cursor on screen),
see <<cursor_mode,Cursor mode>>.
These keys are used in context "cursor" (free movement of cursor on screen).
[width="100%",cols="^.^3,^.^2,.^7,.^7",options="header"]
|===
| Key | Area | Description | Command
| kbd:[↑] | - | Move cursor one line up. | `+/cursor move up+`
| kbd:[↓] | - | Move cursor one line down. | `+/cursor move down+`
| kbd:[←] | - | Move cursor one column left. | `+/cursor move left+`
| kbd:[→] | - | Move cursor one column right. | `+/cursor move right+`
| kbd:[Alt+↑] | - | Move cursor to the first line of the area. | `+/cursor move edge_top+`
| kbd:[Alt+↓] | - | Move cursor to the last line of the area. | `+/cursor move edge_bottom+`
| kbd:[Alt+←] | - | Move cursor to the first column of the area. | `+/cursor move edge_left+`
| kbd:[Alt+→] | - | Move cursor to the last column of the area. | `+/cursor move edge_right+`
| kbd:[Alt+Home] | - | Move cursor to the top left corner of the area. | `+/cursor move top_left+`
| kbd:[Alt+End] | - | Move cursor to the bottom right corner of the area. | `+/cursor move bottom_right+`
| kbd:[Alt+Shift+↑] | - | Move cursor one area up. | `+/cursor move area_up+`
| kbd:[Alt+Shift+↓] | - | Move cursor one area down. | `+/cursor move area_down+`
| kbd:[Alt+Shift+←] | - | Move cursor one area left. | `+/cursor move area_left+`
| kbd:[Alt+Shift+→] | - | Move cursor one area right. | `+/cursor move area_right+`
| kbd:[m] | chat | Quote message. | `+hsignal:chat_quote_message;/cursor stop+`
| kbd:[l] | chat | Quote focused line. | `+hsignal:chat_quote_focused_line;/cursor stop+`
| kbd:[q] | chat | Quote prefix + message. | `+hsignal:chat_quote_prefix_message;/cursor stop+`
| kbd:[Q] | chat | Quote time + prefix + message. | `+hsignal:chat_quote_time_prefix_message;/cursor stop+`
| kbd:[b] | nicklist | Ban nick. | `+/window ${_window_number};/ban ${nick}+`
| kbd:[k] | nicklist | Kick nick. | `+/window ${_window_number};/kick ${nick}+`
| kbd:[K] | nicklist | Kick and ban nick. | `+/window ${_window_number};/kickban ${nick}+`
| kbd:[q] | nicklist | Open query with nick. | `+/window ${_window_number};/query ${nick};/cursor stop+`
| kbd:[w] | nicklist | Do a whois on nick. | `+/window ${_window_number};/whois ${nick}+`
| Key | Area | Description | Command
| kbd:[↑] | - | Move cursor one line up. | `+/cursor move up+`
| kbd:[↓] | - | Move cursor one line down. | `+/cursor move down+`
| kbd:[←] | - | Move cursor one column left. | `+/cursor move left+`
| kbd:[→] | - | Move cursor one column right. | `+/cursor move right+`
| kbd:[Alt+↑] | - | Move cursor one area up. | `+/cursor move area_up+`
| kbd:[Alt+↓] | - | Move cursor one area down. | `+/cursor move area_down+`
| kbd:[Alt+←] | - | Move cursor one area left. | `+/cursor move area_left+`
| kbd:[Alt+→] | - | Move cursor one area right. | `+/cursor move area_right+`
| kbd:[m] | chat | Quote message. | `+hsignal:chat_quote_message;/cursor stop+`
| kbd:[l] | chat | Quote focused line. | `+hsignal:chat_quote_focused_line;/cursor stop+`
| kbd:[q] | chat | Quote prefix + message. | `+hsignal:chat_quote_prefix_message;/cursor stop+`
| kbd:[Q] | chat | Quote time + prefix + message. | `+hsignal:chat_quote_time_prefix_message;/cursor stop+`
| kbd:[b] | nicklist | Ban nick. | `+/window ${_window_number};/ban ${nick}+`
| kbd:[k] | nicklist | Kick nick. | `+/window ${_window_number};/kick ${nick}+`
| kbd:[K] | nicklist | Kick and ban nick. | `+/window ${_window_number};/kickban ${nick}+`
| kbd:[q] | nicklist | Open query with nick. | `+/window ${_window_number};/query ${nick};/cursor stop+`
| kbd:[w] | nicklist | Do a whois on nick. | `+/window ${_window_number};/whois ${nick}+`
| kbd:[Enter] +
kbd:[Ctrl+j] +
kbd:[Ctrl+m] | - | Stop cursor mode | `/cursor stop`
kbd:[Ctrl+m] | - | Stop cursor mode | `/cursor stop`
|===
[[key_bindings_mouse]]
@@ -1717,59 +1697,49 @@ These mouse actions are possible only if mouse is enabled with key kbd:[Alt+m]
[width="100%",cols="^.^3,^.^3,^.^3,.^8,.^8",options="header"]
|===
| Button/Wheel ^(1)^ | Gesture | Area | Description | Command
| kbd:[■ □ □] | - | chat | Switch to window. | `+/window ${_window_number}+`
| kbd:[■ □ □] | left | chat | Switch to previous buffer. | `+/window ${_window_number};/buffer +1+`
| kbd:[■ □ □] | right | chat | Switch to next buffer. | `+/window ${_window_number};/buffer +1+`
| kbd:[■ □ □] | left (long) | chat | Switch to first buffer. | `+/window ${_window_number};/buffer 1+`
| kbd:[■ □ □] | right (long) | chat | Switch to last buffer. | `+/window ${_window_number};/buffer ++`
| ◾◽◽ | - | chat | Switch to window. | `+/window ${_window_number}+`
| ◾◽◽ | left | chat | Switch to previous buffer. | `+/window ${_window_number};/buffer +1+`
| ◾◽◽ | right | chat | Switch to next buffer. | `+/window ${_window_number};/buffer +1+`
| ◾◽◽ | left (long) | chat | Switch to first buffer. | `+/window ${_window_number};/buffer 1+`
| ◾◽◽ | right (long) | chat | Switch to last buffer. | `+/window ${_window_number};/buffer ++`
| kbd:[▲] | - | chat | Scroll up a few lines in buffer history. | `+/window scroll_up -window ${_window_number}+`
| kbd:[▼] | - | chat | Scroll down a few lines in buffer history. | `+/window scroll_down -window ${_window_number}+`
| kbd:[Ctrl+▲] | - | chat | Scroll horizontally to the left. | `+/window scroll_horiz -window ${_window_number} -10%+`
| kbd:[Ctrl+▼] | - | chat | Scroll horizontally to the right. | `+/window scroll_horiz -window ${_window_number} +10%+`
| kbd:[▲] | - | chat: fset buffer | Move five lines up in fset buffer. | `+/fset -up 5+`
| kbd:[▼] | - | chat: fset buffer | Move five lines down in fset buffer. | `+/fset -down 5+`
| kbd:[■ □ □] | - | chat: fset buffer | Select line in fset buffer. | `+/window ${_window_number};/fset -go ${fset_option_index}+`
| kbd:[□ □ ■] | - | chat: fset buffer | Toggle boolean (on/off) or edit the option value. | `+hsignal:fset_mouse+`
| kbd:[□ □ ■] | left | chat: fset buffer | Decrease value for integer/color/enum, set/append to value for other types. | `+hsignal:fset_mouse+`
| kbd:[□ □ ■] | right | chat: fset buffer | Increase value for integer/color/enum, set/append to value for other types. | `+hsignal:fset_mouse+`
| kbd:[□ □ ■] | up / down | chat: fset buffer | Mark/unmark multiple options. | `+hsignal:fset_mouse+`
| kbd:[▲] | - | chat: /list buffer | Move five lines up in /list buffer. | `+/list -up 5+`
| kbd:[▼] | - | chat: /list buffer | Move five lines down in /list buffer. | `+/list -down 5+`
| kbd:[■ □ □] | - | chat: /list buffer | Select line in /list buffer. | `+/window ${_window_number};/list -go ${_chat_line_y}+`
| kbd:[□ □ ■] | - | chat: /list buffer | Join IRC channel on selected line. | `+hsignal:irc_list_mouse+`
| ◾◽◽ | - | chat: fset buffer | Select line in fset buffer. | `+/window ${_window_number};/fset -go ${_chat_line_y}+`
| ◽◽◾ | - | chat: fset buffer | Toggle boolean (on/off) or edit the option value. | `+hsignal:fset_mouse+`
| ◽◽◾ | left | chat: fset buffer | Decrease value for integer/color, set/append to value for other types. | `+hsignal:fset_mouse+`
| ◽◽◾ | right | chat: fset buffer | Increase value for integer/color, set/append to value for other types. | `+hsignal:fset_mouse+`
| ◽◽◾ | up / down | chat: fset buffer | Mark/unmark multiple options. | `+hsignal:fset_mouse+`
| kbd:[▲] | - | chat: script buffer | Move five lines up in script buffer. | `+/script up 5+`
| kbd:[▼] | - | chat: script buffer | Move five lines down in script buffer. | `+/script down 5+`
| kbd:[■ □ □] | - | chat: script buffer | Select line in script buffer. | `+/script go ${_chat_line_y}+`
| kbd:[□ □ ■] | - | chat: script buffer | Install/remove script. | `+/script go ${_chat_line_y};/script installremove -q ${script_name_with_extension}+`
| kbd:[■ □ □] | up / left | buflist | Move buffer to a lower number. | Signal `+buflist_mouse+`.
| kbd:[■ □ □] | down / right | buflist | Move buffer to a higher number. | Signal `+buflist_mouse+`.
| kbd:[■ □ □] | - | buflist | Switch to buffer (previously visited buffer if the buffer is the current one). | Signal `+buflist_mouse+`.
| kbd:[□ □ ■] | - | buflist | Switch to next visited buffer if the buffer is the current one. | Signal `+buflist_mouse+`.
| ◾◽◽ | - | chat: script buffer | Select line in script buffer. | `+/script go ${_chat_line_y}+`
| ◽◽◾ | - | chat: script buffer | Install/remove script. | `+/script go ${_chat_line_y};/script installremove -q ${script_name_with_extension}+`
| ◾◽◽ | up / left | buflist | Move buffer to a lower number. | Signal `+buflist_mouse+`.
| ◾◽◽ | down / right | buflist | Move buffer to a higher number. | Signal `+buflist_mouse+`.
| ◾◽◽ | - | buflist | Switch to buffer (previously visited buffer if the buffer is the current one). | Signal `+buflist_mouse+`.
| ◽◽◾ | - | buflist | Switch to next visited buffer if the buffer is the current one. | Signal `+buflist_mouse+`.
| kbd:[Ctrl+▲] | - | buflist | Switch to previous buffer. | Signal `+buflist_mouse+`.
| kbd:[Ctrl+▼] | - | buflist | Switch to next buffer. | Signal `+buflist_mouse+`.
| kbd:[■ □ □] | up | nicklist | Scroll up one page in nicklist. | `+/bar scroll nicklist ${_window_number} -100%+`
| kbd:[■ □ □] | down | nicklist | Scroll down one page in nicklist. | `+/bar scroll nicklist ${_window_number} +100%+`
| kbd:[■ □ □] | up (long) | nicklist | Go to the beginning of nicklist. | `+/bar scroll nicklist ${_window_number} b+`
| kbd:[■ □ □] | down (long) | nicklist | Go to the end of nicklist. | `+/bar scroll nicklist ${_window_number} e+`
| kbd:[■ □ □] | - | nicklist | Open query with nick. | `+/window ${_window_number};/query ${nick}+`
| kbd:[□ □ ■] | - | nicklist | Do a whois on nick. | `+/window ${_window_number};/whois ${nick}+`
| kbd:[■ □ □] | left | nicklist | Kick nick. | `+/window ${_window_number};/kick ${nick}+`
| kbd:[■ □ □] | left (long) | nicklist | Kick and ban nick. | `+/window ${_window_number};/kickban ${nick}+`
| kbd:[□ □ ■] | left | nicklist | Ban nick. | `+/window ${_window_number};/ban ${nick}+`
| kbd:[□ □ ■] | - | input | Grab a mouse event and insert its code in command line. | `+/input grab_mouse_area+`
| ◾◽◽ | up | nicklist | Scroll up one page in nicklist. | `+/bar scroll nicklist ${_window_number} -100%+`
| ◾◽◽ | down | nicklist | Scroll down one page in nicklist. | `+/bar scroll nicklist ${_window_number} +100%+`
| ◾◽◽ | up (long) | nicklist | Go to the beginning of nicklist. | `+/bar scroll nicklist ${_window_number} b+`
| ◾◽◽ | down (long) | nicklist | Go to the end of nicklist. | `+/bar scroll nicklist ${_window_number} e+`
| ◾◽◽ | - | nicklist | Open query with nick. | `+/window ${_window_number};/query ${nick}+`
| ◽◽◾ | - | nicklist | Do a whois on nick. | `+/window ${_window_number};/whois ${nick}+`
| ◾◽◽ | left | nicklist | Kick nick. | `+/window ${_window_number};/kick ${nick}+`
| ◾◽◽ | left (long) | nicklist | Kick and ban nick. | `+/window ${_window_number};/kickban ${nick}+`
| ◽◽◾ | left | nicklist | Ban nick. | `+/window ${_window_number};/ban ${nick}+`
| ◽◽◾ | - | input | Grab a mouse event and insert its code in command line. | `+/input grab_mouse_area+`
| kbd:[▲] | - | any bar | Scroll bar by -20%. | `+/bar scroll ${_bar_name} ${_window_number} -20%+`
| kbd:[▼] | - | any bar | Scroll bar by +20%. | `+/bar scroll ${_bar_name} ${_window_number} +20%+`
| kbd:[□ ■ □] | - | anywhere | Start cursor mode at this point. | `+/cursor go ${_x},${_y}+`
| ◽◾◽ | - | anywhere | Start cursor mode at this point. | `+/cursor go ${_x},${_y}+`
|===
[NOTE]
^(1)^ Buttons: +
kbd:[◼ □ □]: click on left button +
kbd:[□ ◼ □]: click on middle button +
kbd:[□ □ ◼]: click on right button +
Wheel: +
kbd:[▲]: wheel up +
kbd:[▼]: wheel down
^(1)^ kbd:[▲] and kbd:[▼] are wheel up and down.
[[key_bindings_fset_buffer]]
=== Fset buffer
@@ -1788,8 +1758,8 @@ These keys and actions are used on the fset buffer (see <<fset,Fset plugin>>).
| kbd:[F11] | `pass:[<]` | Scroll horizontally on the left. | `+/fset -left+`
| kbd:[F12] | `pass:[>]` | Scroll horizontally on the right. | `+/fset -right+`
| kbd:[Alt+Space] | `t` | Toggle boolean value. | `+/fset -toggle+`
| kbd:[Alt+-] | `-` | Subtract 1 from value for integer/color/enum, set value for other types. | `+/fset -add -1+`
| kbd:[Alt++] | `+` | Add 1 to value for integer/color/enum, append to value for other types. | `+/fset -add 1+`
| kbd:[Alt+-] | `-` | Subtract 1 from value for integer/color, set value for other types. | `+/fset -add -1+`
| kbd:[Alt++] | `+` | Add 1 to value for integer/color, append to value for other types. | `+/fset -add 1+`
| kbd:[Alt+f], kbd:[Alt+r] | `r` | Reset value. | `+/fset -reset+`
| kbd:[Alt+f], kbd:[Alt+u] | `u` | Unset value. | `+/fset -unset+`
| kbd:[Alt+Enter] | `s` | Set value. | `+/fset -set+`
@@ -1817,39 +1787,6 @@ These keys and actions are used on the fset buffer (see <<fset,Fset plugin>>).
[NOTE]
^(1)^ The action must be entered as input on the command line, followed by kbd:[Enter].
[[key_bindings_irc_list_buffer]]
=== IRC /list buffer
These keys and actions are used on the IRC /list buffer (see command <<command_irc_list,/list>>).
[width="100%",cols="^.^3,^.^2,.^8,.^5",options="header"]
|===
| Key | Action ^(1)^ | Description | Command
| kbd:[↑] | | Move one line up. | `+/list -up+`
| kbd:[↓] | | Move one line down. | `+/list -down+`
| kbd:[PgUp] | | Move one page up. | `+/window page_up+`
| kbd:[PgDn] | | Move one page down. | `+/window page_down+`
| kbd:[Alt+Home] | `pass:[<<]` | Move to first line. | `+/list -go 0+`
| kbd:[Alt+End] | `pass:[>>]` | Move to last line. | `+/list -go end+`
| kbd:[F11] | `pass:[<]` | Scroll horizontally on the left. | `+/list -left+`
| kbd:[F12] | `pass:[>]` | Scroll horizontally on the right. | `+/list -right+`
| kbd:[Ctrl+j] | `j` | Join IRC channel on selected line. | `+/list -join+`
| | `xxx` | Show only channels with "xxx" in name or topic (case insensitive). |
| | `n:xxx` | Show only channels with "xxx" in name (case insensitive). |
| | `t:xxx` | Show only channels with "xxx" in topic (case insensitive). |
| | `u:n` | Show only channels with at least "n" users. |
| | `u:>n` | Show only channels with more than "n" users. |
| | `u:<n` | Show only channels with less than "n" users. |
| | `c:xxx` | Show only channels matching the evaluated condition "xxx", using following variables: name, name2, users, topic. |
| | `s:x,y` | Sort channels by fields x,y (see command <<command_irc_list,/list>>). |
| | `s:` | Reset sort to its default value (see command <<command_irc_list,/list>>). |
| | `$` | Refresh list (run again command <<command_irc_list,/list>>). |
| | `q` | Close buffer. | `+/buffer close+`
|===
[NOTE]
^(1)^ The action must be entered as input on the command line, followed by kbd:[Enter].
[[key_bindings_script_buffer]]
=== Script buffer
@@ -1892,7 +1829,7 @@ Example of fset buffer displaying options starting with `weechat.look` :
│2.fset │weechat.look.bare_display_exit_on_input: exit the bare display mode on any c│
│ │hanges in input [default: on] │
│ │----------------------------------------------------------------------------│
│ │ weechat.look.align_end_of_lines enum message │
│ │ weechat.look.align_end_of_lines integer message │
│ │ weechat.look.align_multiline_words boolean on │
│ │ weechat.look.bar_more_down string "++" │
│ │ weechat.look.bar_more_left string "<<" │
@@ -1901,12 +1838,12 @@ Example of fset buffer displaying options starting with `weechat.look` :
│ │## weechat.look.bare_display_exit_on_input boolean on ##│
│ │ weechat.look.bare_display_time_format string "%H:%M" │
│ │ weechat.look.buffer_auto_renumber boolean on │
│ │ weechat.look.buffer_notify_default enum all │
│ │ weechat.look.buffer_position enum end │
│ │ weechat.look.buffer_notify_default integer all │
│ │ weechat.look.buffer_position integer end │
│ │ weechat.look.buffer_search_case_sensitive boolean off │
│ │ weechat.look.buffer_search_force_default boolean off │
│ │ weechat.look.buffer_search_regex boolean off │
│ │ weechat.look.buffer_search_where enum prefix_message │
│ │ weechat.look.buffer_search_where integer prefix_message │
│ │ weechat.look.buffer_time_format string "%H:%M:%S" │
│ │ weechat.look.buffer_time_same string "" │
│ │[12:55] [2] [fset] 2:fset │
@@ -3327,7 +3264,7 @@ irc.server.libera.autorejoin_delay integer null -> 30
irc.server.libera.away_check integer null -> 0
irc.server.libera.away_check_max_nicks integer null -> 25
irc.server.libera.capabilities string null -> "*"
irc.server.libera.charset_message enum null -> message
irc.server.libera.charset_message integer null -> message
irc.server.libera.command string null -> ""
irc.server.libera.command_delay integer null -> 0
irc.server.libera.connection_timeout integer null -> 60
@@ -3343,9 +3280,9 @@ irc.server.libera.notify string null -> ""
irc.server.libera.password string null -> ""
irc.server.libera.proxy string null -> ""
irc.server.libera.realname string null -> ""
irc.server.libera.sasl_fail enum null -> reconnect
irc.server.libera.sasl_fail integer null -> reconnect
irc.server.libera.sasl_key string null -> ""
irc.server.libera.sasl_mechanism enum null -> plain
irc.server.libera.sasl_mechanism integer null -> plain
irc.server.libera.sasl_password string "${sec.data.libera}"
irc.server.libera.sasl_timeout integer null -> 15
irc.server.libera.sasl_username string "alice"
@@ -4055,7 +3992,7 @@ reply).
For example, to customize reply to CTCP "VERSION", use following command:
----
/set irc.ctcp.version "I'm running WeeChat ${version}, it rocks!"
/set irc.ctcp.version "I'm running WeeChat $version, it rocks!"
----
[NOTE]
@@ -4080,7 +4017,7 @@ It is possible to customize CTCP for one server only, using its internal name
before CTCP name:
----
/set irc.ctcp.libera.version "WeeChat ${version} (for libera)"
/set irc.ctcp.libera.version "WeeChat $version (for libera)"
----
If you want to restore standard CTCP reply, then remove option:
@@ -4089,40 +4026,40 @@ If you want to restore standard CTCP reply, then remove option:
/unset irc.ctcp.version
----
The CTCP replies are evaluated (see command <<command_weechat_eval,/eval>>) and
the following extra variables are available:
Following codes can be used in strings and are automatically expanded by WeeChat
when replying to CTCP:
[width="100%",cols="2,4,8",options="header"]
[width="100%",cols="2l,4,8",options="header"]
|===
| Variable | Description | Value/example
| `+${clientinfo}+` | List of supported CTCP | `+ACTION DCC CLIENTINFO FINGER PING SOURCE TIME USERINFO VERSION+`
| `+${version}+` | WeeChat version | `+4.1.0-dev+`
| `+${versiongit}+` | WeeChat version + Git version ^(1)^ | `+4.1.0-dev (git: v4.0.0-51-g8f98b922a)+`
| `+${git}+` | Git version ^(1)^ | `+v4.0.0-51-g8f98b922a+`
| `+${compilation}+` | WeeChat compilation date | `+Jul 8 2023 20:14:23+`
| `+${osinfo}+` | Info about OS | `+Linux 5.10.0-23-amd64 / x86_64+`
| `+${site}+` | WeeChat site | `+https://weechat.org/+`
| `+${download}+` | WeeChat site, download page | `+https://weechat.org/download/+`
| `+${time}+` | Current date/time | `+Sat, 08 Jul 2023 21:11:19 +0200+`
| `+${username}+` | User name on IRC server | `+name+`
| `+${realname}+` | Real name on IRC server | `+John Doe+`
| Code | Description | Value/example
| $clientinfo | List of supported CTCP | `+ACTION DCC CLIENTINFO FINGER PING SOURCE TIME USERINFO VERSION+`
| $version | WeeChat version | `+0.4.0-dev+`
| $versiongit | WeeChat version + Git version ^(1)^ | `+0.4.0-dev (git: v0.3.9-104-g7eb5cc4)+`
| $git | Git version ^(1)^ | `+v0.3.9-104-g7eb5cc4+`
| $compilation | WeeChat compilation date | `+Dec 16 2012+`
| $osinfo | Info about OS | `+Linux 2.6.32-5-amd64 / x86_64+`
| $site | WeeChat site | `+https://weechat.org/+`
| $download | WeeChat site, download page | `+https://weechat.org/download/+`
| $time | Current date/time | `+Sun, 16 Dec 2012 10:40:48 +0100+`
| $username | User name on IRC server | `+name+`
| $realname | Real name on IRC server | `+John Doe+`
|===
[NOTE]
^(1)^ The Git version is the output of command `git describe`. It is known only
if WeeChat has been compiled inside the Git repository and if Git was installed.
The default CTCP replies are:
If CTCP options are not defined (by default), CTCP replies are:
[width="100%",cols="2,4,8",options="header"]
|===
| CTCP | Reply format | Example
| CLIENTINFO | `+${clientinfo}+` | `+ACTION DCC CLIENTINFO FINGER PING SOURCE TIME USERINFO VERSION+`
| FINGER | `+WeeChat ${version}+` | `+WeeChat 4.1.0-dev+`
| SOURCE | `+${download}+` | `+https://weechat.org/download/+`
| TIME | `+${time}+` | `+Sat, 08 Jul 2023 21:11:19 +0200+`
| USERINFO | `+${username} (${realname})+` | `+name (John Doe)+`
| VERSION | `+WeeChat ${version}+` | `+WeeChat 4.1.0-dev+`
| CTCP | Reply format | Example
| CLIENTINFO | `+$clientinfo+` | `+ACTION DCC CLIENTINFO FINGER PING SOURCE TIME USERINFO VERSION+`
| FINGER | `+WeeChat $versiongit+` | `+WeeChat 0.4.0-dev (git: v0.3.9-104-g7eb5cc4)+`
| SOURCE | `+$download+` | `+https://weechat.org/download/+`
| TIME | `+$time+` | `+Sun, 16 Dec 2012 10:40:48 +0100+`
| USERINFO | `+$username ($realname)+` | `+name (John Doe)+`
| VERSION | `+WeeChat $versiongit ($compilation)+` | `+WeeChat 0.4.0-dev (git: v0.3.9-104-g7eb5cc4) (Dec 16 2012)+`
|===
[[irc_target_buffer]]
+3 -20
View File
@@ -627,13 +627,6 @@ comandos como `/123` para saltar al buffer #123:
/trigger add numberjump modifier "2000|input_text_for_buffer" "${tg_string} =~ ^/[0-9]+$" "=\/([0-9]+)=/buffer *${re:1}=" "" "" "none"
----
// TRANSLATION MISSING
For an easy jump to buffers, you can also install the _go.py_ script:
----
/script install go.py
----
[[global_history]]
=== ¿Cómo utilizar el historial global (en vez del historial del buffer) con las teclas de las flechas arriba y abajo?
@@ -1112,10 +1105,7 @@ Puede intentar estos trucos para consumir menos memoria:
Puede seguir los mismos consejo que para la <<memory_usage,memoria>> y estos otros:
// TRANSLATION MISSING
* Oculte la barra de la lista de apodos: `/bar hide nicklist` (key: kbd:[Alt+Shift+N]).
// TRANSLATION MISSING
* Disable "buflist": `/buflist disable` (key: kbd:[Alt+Shift+B]).
* Oculte la barra de la lista de apodos: `/bar hide nicklist`.
* Elimine que se muestren los segundos en la hora de la barra de estado:
`+/set weechat.look.item_time_format "%H:%M"+` (este es el valor predeterminado).
* Inhabilite la comprobación en tiempo real de palabras erróneas en la línea de comandos (si lo había habilitado previamente):
@@ -1137,21 +1127,14 @@ Inhabilite las respuestas a todas las peticiones CTCP:
----
/set irc.ctcp.clientinfo ""
/set irc.ctcp.finger ""
/set irc.ctcp.source ""
/set irc.ctcp.time ""
/set irc.ctcp.userinfo ""
/set irc.ctcp.version ""
/set irc.ctcp.ping ""
----
// TRANSLATION MISSING
With WeeChat < 4.1.0, other CTCP queries were replied by default and must be
disabled as well:
----
/set irc.ctcp.finger ""
/set irc.ctcp.userinfo ""
----
Elimine de la memoria e inhabilite la carga automática del complemento "xfer" (utilizdo para IRC DCC):
----
-3
View File
@@ -283,7 +283,6 @@ Le cœur de WeeChat est situé dans les répertoires suivants :
|       irc-info.c | Info/infolists/hdata pour IRC.
|       irc-input.c | Entrée de commandes/texte.
|       irc-join.c | Fonctions pour les listes de canaux à rejoindre.
|       irc-list.c | Tampon pour la réponse à la commande /list.
|       irc-message.c | Fonctions pour manipuler les messages IRC.
|       irc-mode.c | Fonctions pour les modes de canal/pseudo.
|       irc-modelist.c | Listes de modes de canaux IRC (+b, +e, +I, ...).
@@ -439,10 +438,8 @@ Le cœur de WeeChat est situé dans les répertoires suivants :
|             test-irc-channel.cpp | Tests : canaux IRC.
|             test-irc-color.cpp | Tests : couleurs IRC.
|             test-irc-config.cpp | Tests : configuration IRC.
|             test-irc-ctcp.cpp | Tests : CTCP IRC.
|             test-irc-ignore.cpp | Tests : ignores IRC.
|             test-irc-join.cpp | Tests : fonctions de join IRC.
|             test-irc-list.cpp | Tests : tampon IRC pour la réponse à la commande /list.
|             test-irc-message.cpp | Tests : messages IRC.
|             test-irc-mode.cpp | Tests : modes IRC.
|             test-irc-nick.cpp | Tests : pseudos IRC.
+3 -16
View File
@@ -631,12 +631,6 @@ et utiliser les commandes comme `/123` pour sauter au tampon n°123 :
/trigger add numberjump modifier "2000|input_text_for_buffer" "${tg_string} =~ ^/[0-9]+$" "=\/([0-9]+)=/buffer *${re:1}=" "" "" "none"
----
Pour un saut facile vers les tampons, vous pouvez aussi installer le script _go.py_ :
----
/script install go.py
----
[[global_history]]
=== Comment utiliser l'historique global (au lieu de l'historique du tampon) avec les touches haut et bas ?
@@ -1120,8 +1114,7 @@ Vous pouvez essayer les astuces suivantes pour consommer moins de mémoire :
Vous pouvez suivre les mêmes astuces que pour la <<memory_usage,mémoire>>, et
celles-ci :
* Cacher la barre "nicklist" : `/bar hide nicklist` (touche : kbd:[Alt+Shift+N]).
* Désactiver "buflist" : `/buflist disable` (touche : kbd:[Alt+Shift+B]).
* Cacher la barre "nicklist" : `/bar hide nicklist`.
* Supprimer l'affichage des secondes dans l'heure de la barre de statut :
`+/set weechat.look.item_time_format "%H:%M"+` (ceci est la valeur par défaut).
* Désactiver la vérification en temps réel des mots mal orthographiés dans la
@@ -1143,20 +1136,14 @@ Désactivez les réponses à toutes les demandes CTCP :
----
/set irc.ctcp.clientinfo ""
/set irc.ctcp.finger ""
/set irc.ctcp.source ""
/set irc.ctcp.time ""
/set irc.ctcp.userinfo ""
/set irc.ctcp.version ""
/set irc.ctcp.ping ""
----
Avec WeeChat < 4.1.0, d'autres demandes CTCP étaient répondues par défaut et
doivent être désactivées également :
----
/set irc.ctcp.finger ""
/set irc.ctcp.userinfo ""
----
Déchargez et désactivez le chargement automatique de l'extension "xfer"
(utilisée pour le DCC IRC) :
+73 -180
View File
@@ -6819,9 +6819,10 @@ my_section_read_cb (const void *pointer, void *data,
{
/* ... */
return WEECHAT_CONFIG_READ_OK;
/* return WEECHAT_CONFIG_READ_MEMORY_ERROR; */
/* return WEECHAT_CONFIG_READ_FILE_NOT_FOUND; */
return WEECHAT_CONFIG_OPTION_SET_OK_CHANGED;
/* return WEECHAT_CONFIG_OPTION_SET_OK_SAME_VALUE; */
/* return WEECHAT_CONFIG_OPTION_SET_ERROR; */
/* return WEECHAT_CONFIG_OPTION_SET_OPTION_NOT_FOUND; */
}
int
@@ -6911,7 +6912,7 @@ def config_new_section(config_file: str, name: str,
callback_delete_option: str, callback_delete_option_data: str) -> str: ...
# exemple
def my_section_read_cb(data: str, config_file: str, section: str, option_name: str, value: str | None) -> int:
def my_section_read_cb(data: str, config_file: str, section: str, option_name: str, value: Union[str, None]) -> int:
# ...
return weechat.WEECHAT_CONFIG_OPTION_SET_OK_CHANGED
# return weechat.WEECHAT_CONFIG_OPTION_SET_OK_SAME_VALUE
@@ -6930,7 +6931,7 @@ def my_section_write_default_cb(data: str, config_file: str, section_name: str)
# return weechat.WEECHAT_CONFIG_WRITE_ERROR
# return weechat.WEECHAT_CONFIG_WRITE_MEMORY_ERROR
def my_section_create_option_cb(data: str, config_file: str, section: str, option_name: str, value: str | None) -> int:
def my_section_create_option_cb(data: str, config_file: str, section: str, option_name: str, value: Union[str, None]) -> int:
# ...
return weechat.WEECHAT_CONFIG_OPTION_SET_OK_CHANGED
# return weechat.WEECHAT_CONFIG_OPTION_SET_OK_SAME_VALUE
@@ -6995,7 +6996,7 @@ section = weechat.config_search_section(config_file, "section")
==== config_new_option
_Mis à jour dans la 1.5, 4.1.0._
_Mis à jour dans la 1.5._
Créer une nouvelle option dans une section d'un fichier de configuration.
@@ -7043,14 +7044,12 @@ Paramètres :
"name << file.section.option"
* _type_ : type de l'option :
** _boolean_ : valeur booléenne (on/off)
** _integer_ : valeur entière
** _integer_ : valeur entière (avec en option une chaîne pour chaque valeur)
** _string_ : une chaîne de caractères
** _color_ : une couleur
** _enum_ : liste de valeurs sous forme de chaînes (stocké comme nombre entier
en interne)
* _description_ : description de l'option
* _string_values_ : valeurs sous forme de chaîne (séparées par `+|+`) (optionnel,
requis pour le type _enum_)
* _string_values_ : valeurs sous forme de chaîne (séparées par `+|+`), utilisées
pour le type _integer_ (optionnel)
* _min_ : valeur minimum (pour le type _integer_)
* _max_ : valeur maximum (pour le type _integer_)
* _default_value_ : valeur par défaut de l'option (utilisée quand l'option est
@@ -7105,8 +7104,8 @@ Exemple en C :
[source,c]
----
/* booléen */
struct t_config_option *option1_bool =
weechat_config_new_option (config_file, section, "option_bool", "boolean",
struct t_config_option *option1 =
weechat_config_new_option (config_file, section, "option1", "boolean",
"Mon option, type booléen",
NULL,
0, 0,
@@ -7118,8 +7117,8 @@ struct t_config_option *option1_bool =
NULL, NULL, NULL);
/* entier */
struct t_config_option *option_int =
weechat_config_new_option (config_file, section, "option_int", "integer",
struct t_config_option *option2 =
weechat_config_new_option (config_file, section, "option2", "integer",
"Mon option, type entier",
NULL,
0, 100,
@@ -7130,9 +7129,23 @@ struct t_config_option *option_int =
NULL, NULL, NULL,
NULL, NULL, NULL);
/* entier (avec valeurs sous forme de chaînes) */
struct t_config_option *option3 =
weechat_config_new_option (config_file, section, "option3", "integer",
"Mon option, type entier "
"(avec valeurs sous forme de chaînes)",
"top|bottom|left|right",
0, 0,
"bottom",
"bottom",
0,
NULL, NULL, NULL,
NULL, NULL, NULL,
NULL, NULL, NULL);
/* chaîne */
struct t_config_option *option_str =
weechat_config_new_option (config_file, section, "option_str", "string",
struct t_config_option *option4 =
weechat_config_new_option (config_file, section, "option4", "string",
"Mon option, type chaîne",
NULL,
0, 0,
@@ -7144,8 +7157,8 @@ struct t_config_option *option_str =
NULL, NULL, NULL);
/* couleur */
struct t_config_option *option_col =
weechat_config_new_option (config_file, section, "option_col", "color",
struct t_config_option *option5 =
weechat_config_new_option (config_file, section, "option5", "color",
"Mon option, type couleur",
NULL,
0, 0,
@@ -7155,19 +7168,6 @@ struct t_config_option *option_col =
NULL, NULL, NULL,
NULL, NULL, NULL,
NULL, NULL, NULL);
/* énuméré */
struct t_config_option *option_enum =
weechat_config_new_option (config_file, section, "option_enum", "enum",
"Mon option, type énuméré",
"top|bottom|left|right",
0, 0,
"bottom",
"bottom",
0,
NULL, NULL, NULL,
NULL, NULL, NULL,
NULL, NULL, NULL);
----
Script (Python) :
@@ -7177,55 +7177,55 @@ Script (Python) :
# prototype
def config_new_option(config_file: str, section: str, name: str, type: str, description: str,
string_values: str, min: int, max: int,
default_value: str | None, value: str | None, null_value_allowed: int,
default_value: Union[str, None], value: Union[str, None], null_value_allowed: int,
callback_check_value: str, callback_check_value_data: str,
callback_change: str, callback_change_data: str,
callback_delete: str, callback_delete_data: str) -> str: ...
# exemple
def option_str_check_value_cb(data: str, option: str, value: str) -> int:
def option4_check_value_cb(data: str, option: str, value: str) -> int:
# ...
return 1
# return 0
def option_str_change_cb(data: str, option: str) -> None:
def option4_change_cb(data: str, option: str) -> None:
# ...
def option_str_delete_cb(data: str, option: str) -> None:
def option4_delete_cb(data: str, option: str) -> None:
# ...
option_bool = weechat.config_new_option(config_file, section, "option_bool", "boolean",
option1 = weechat.config_new_option(config_file, section, "option1", "boolean",
"Mon option, type booléen",
"", 0, 0, "on", "on", 0,
"", "",
"", "",
"", "")
option_int = weechat.config_new_option(config_file, section, "option_int", "integer",
option2 = weechat.config_new_option(config_file, section, "option2", "integer",
"Mon option, type entier",
"", 0, 100, "15", "15", 0,
"", "",
"", "",
"", "")
option_str = weechat.config_new_option(config_file, section, "option_str", "string",
"Mon option, type chaîne",
"", 0, 0, "test", "test", 1,
"option_str_check_value_cb", "",
"option_str_change_cb", "",
"option_str_delete_cb", "")
option_col = weechat.config_new_option(config_file, section, "option_col", "color",
"Mon option, type couleur",
"", 0, 0, "lightblue", "lightblue", 0,
option3 = weechat.config_new_option(config_file, section, "option3", "integer",
"Mon option, type entier (avec valeurs sous forme de chaînes)",
"top|bottom|left|right",
0, 0, "bottom", "bottom", 0,
"", "",
"", "",
"", "")
option_enum = weechat.config_new_option(config_file, section, "option_enum", "enum",
"Mon option, type énuméré",
"top|bottom|left|right",
0, 0, "bottom", "bottom", 0,
option4 = weechat.config_new_option(config_file, section, "option4", "string",
"Mon option, type chaîne",
"", 0, 0, "test", "test", 1,
"option4_check_value_cb", "",
"option4_change_cb", "",
"option4_delete_cb", "")
option5 = weechat.config_new_option(config_file, section, "option5", "color",
"Mon option, type couleur",
"", 0, 0, "lightblue", "lightblue", 0,
"", "",
"", "",
"", "")
@@ -7513,7 +7513,7 @@ Paramètres :
selon le type de l'option :
** _boolean_ :
*** `toggle` : basculer la valeur courante
** _integer_, _color_ ou _enum_ :
** _integer_ ou _color_ :
*** `++N` : ajouter `N` (un entier) à la valeur courante
*** `--N` : soustraire `N` (un entier) de la valeur courante
* _run_callback_ : 1 pour appeler la fonction de rappel si la valeur de
@@ -7749,7 +7749,6 @@ Paramètres :
*** _integer_
*** _string_
*** _color_
*** _enum_
** _description_ : description de l'option
Valeur de retour :
@@ -7926,7 +7925,6 @@ Valeur de retour, selon le type de l'option :
* _integer_ : 0
* _string_ : 0
* _color_ : 0
* _enum_ : 0
Exemple en C :
@@ -7977,7 +7975,6 @@ Valeur de retour, selon le type de l'option :
* _integer_ : 0
* _string_ : 0
* _color_ : 0
* _enum_ : 0
Exemple en C :
@@ -8028,7 +8025,6 @@ Valeur de retour, selon le type de l'option :
* _integer_ : valeur entière de l'option
* _string_ : 0
* _color_ : index de la couleur
* _enum_ : valeur entière de l'option (index de la valeur de l'énuméré)
Exemple en C :
@@ -8071,7 +8067,6 @@ Valeur de retour, selon le type de l'option :
* _integer_ : valeur entière par défaut de l'option
* _string_ : 0
* _color_ : index de la couleur par défaut
* _enum_ : valeur entière par défaut de l'option (index de la valeur de l'énuméré)
Exemple en C :
@@ -8111,10 +8106,10 @@ Paramètres :
Valeur de retour, selon le type de l'option :
* _boolean_ : "on" si la valeur est vraie, sinon "off"
* _integer_ : NULL
* _integer_ : valeur de l'option sous forme de chaîne si l'option est un entier
avec des valeurs sous forme de chaînes, sinon NULL
* _string_ : valeur de l'option sous forme de chaîne
* _color_ : nom de la couleur
* _enum_ : valeur de l'option sous forme de chaîne
Exemple en C :
@@ -8154,10 +8149,10 @@ Paramètres :
Valeur de retour, selon le type de l'option :
* _boolean_ : "on" si la valeur par défaut est vraie, sinon "off"
* _integer_ : NULL
* _integer_ : valeur par défaut de l'option sous forme de chaîne si l'option
est un entier avec des valeurs sous forme de chaînes, sinon NULL
* _string_ : valeur par défaut de l'option sous forme de chaîne
* _color_ : nom de la couleur par défaut
* _enum_ : valeur par défaut de l'option sous forme de chaîne
Exemple en C :
@@ -8200,7 +8195,6 @@ Valeur de retour, selon le type de l'option :
* _integer_ : NULL
* _string_ : NULL
* _color_ : nom de la couleur
* _enum_ : NULL
Exemple en C :
@@ -8243,7 +8237,6 @@ Valeur de retour, selon le type de l'option :
* _integer_ : NULL
* _string_ : NULL
* _color_ : nom de la couleur par défaut
* _enum_ : NULL
Exemple en C :
@@ -8265,96 +8258,6 @@ option = weechat.config_get("plugin.section.option")
value = weechat.config_color_default(option)
----
==== config_enum
_WeeChat ≥ 4.1.0._
Retourner la valeur de l'option, sous forme d'entier.
Prototype :
[source,c]
----
int weechat_config_enum (struct t_config_option *option);
----
Paramètres :
* _option_ : pointeur vers l'option
Valeur de retour, selon le type de l'option :
* _boolean_ : valeur booléenne de l'option (0 ou 1)
* _integer_ : valeur entière de l'option
* _string_ : 0
* _color_ : index de la couleur
* _enum_ : valeur entière de l'option (index de la valeur de l'énuméré)
Exemple en C :
[source,c]
----
struct t_config_option *option = weechat_config_get ("plugin.section.option");
int value = weechat_config_enum (option);
----
Script (Python) :
[source,python]
----
# prototype
def config_enum(option: str) -> int: ...
# exemple
option = weechat.config_get("plugin.section.option")
value = weechat.config_enum(option)
----
==== config_enum_default
_WeeChat ≥ 4.1.0._
Retourner la valeur par défaut de l'option, sous forme d'entier.
Prototype :
[source,c]
----
int weechat_config_enum_default (struct t_config_option *option);
----
Paramètres :
* _option_ : pointeur vers l'option
Valeur de retour, selon le type de l'option :
* _boolean_ : valeur booléenne par défaut de l'option (0 ou 1)
* _integer_ : valeur entière par défaut de l'option
* _string_ : 0
* _color_ : index de la couleur par défaut
* _enum_ : valeur entière par défaut de l'option (index de la valeur de l'énuméré)
Exemple en C :
[source,c]
----
struct t_config_option *option = weechat_config_get ("plugin.section.option");
int value = weechat_config_enum_default (option);
----
Script (Python) :
[source,python]
----
# prototype
def config_enum_default(option: str) -> int: ...
# example
option = weechat.config_get("plugin.section.option")
value = weechat.config_enum_default(option)
----
==== config_write_option
Écrire une ligne dans le fichier de configuration avec l'option et sa valeur
@@ -10831,7 +10734,7 @@ hook = weechat.hook_connect("", "my.server.org", 1234, 1, 0, "",
==== hook_line
_WeeChat ≥ 2.3, mis à jour dans la 3.7, 4.1.0._
_WeeChat ≥ 2.3, mis à jour dans la 3.7._
Intercepter une ligne sur le point d'être affichée dans un tampon.
@@ -10909,13 +10812,13 @@ de hachage, avec les valeurs suivantes (les clés et valeurs sont des chaînes)
| Clé | Valeur (tampon formaté) | Valeur (tampon libre) | Exemples
| buffer
| Liste de pointeurs vers les tampons, séparés par des virgules.
| Liste de pointeurs vers les tampons, séparés par des virgules.
| Pointeur vers le tampon.
| Pointeur vers le tampon.
| `+0x1234abcd+`
| buffer_name
| Liste de noms de tampons, séparés par des virgules.
| Liste de noms de tampons, séparés par des virgules.
| Nom du tampon.
| Nom du tampon.
| `+core.weechat+` +
`+irc.server.libera+` +
`+irc.libera.#weechat+`
@@ -11004,20 +10907,16 @@ valeurs sont des chaînes dans cette table de hachage) :
| Clé | Valeur autorisée (tampon formaté) | Valeur autorisée (tampon libre) | Résultat
| buffer
| Liste de pointeurs vers les tampons, séparés par des virgules (avec contenu formaté)
(plusieurs tampons sont supportés seulement avec WeeChat ≥ 4.1.0).
| Liste de pointeurs vers les tampons, séparés par des virgules (avec contenu libre)
(plusieurs tampons sont supportés seulement avec WeeChat ≥ 4.1.0).
| La ligne est affichée sur ces tampons. +
| Pointeur vers un tampon avec contenu formaté.
| Pointeur vers un tampon avec contenu libre.
| La ligne est affichée sur ce tampon. +
Si la valeur est vide, la ligne est supprimée (le reste de la table de hachage
est alors ignoré) ; les "hooks" suivants de type "line" ne sont pas appelés.
| buffer_name
| Liste de noms de tampons, séparés par des virgules (avec contenu formaté)
(multiple buffers are supported only with WeeChat ≥ 4.1.0).
| Liste de noms de tampons, séparés par des virgules (avec contenu libre)
(multiple buffers are supported only with WeeChat ≥ 4.1.0).
| La ligne est affichée sur ces tampons. +
| Nom d'un tampon avec contenu formaté.
| Nom d'un tampon avec contenu libre.
| La ligne est affichée sur ce tampon. +
Si `buffer` est également défini, la valeur de `+buffer_name+` a une priorité
plus haute est est utilisée. +
Si la valeur est vide, la ligne est supprimée (le reste de la table de hachage
@@ -13294,7 +13193,7 @@ Cette fonction n'est pas disponible dans l'API script.
==== hook_focus
_Mis à jour dans la 1.5, 4.0.0, 4.1.0._
_Mis à jour dans la 1.5._
Accrocher un focus : évènement souris ou touche du clavier pressée dans le mode
"curseur" (mouvement libre du curseur).
@@ -13414,22 +13313,16 @@ valeurs sont de type "string") :
| _chat_line_message | Message de la ligne.
| "Hello world!" | ""
| _chat_focused_line | Ligne à la position (x, y) _(WeeChat ≥ 4.0.0)_.
| _chat_focused_line | Ligne à la position (x,y) _(WeeChat ≥ 4.0.0)_.
| "Hello world!" | ""
| _chat_focused_line_bol | Texte du début de la ligne jusqu'à (x-1, y) _(WeeChat ≥ 4.1.0)_.
| "Hello" | ""
| _chat_focused_line_eol | Texte de (x, y) jusqu'à la fin de la ligne _(WeeChat ≥ 4.1.0)_.
| "llo world!" | ""
| _chat_word | Mot à la position (x,y).
| "Hello" | ""
| _chat_bol | Texte du début du message jusqu'à (x-1, y).
| _chat_bol | Texte du début de ligne jusqu'à (x-1, y).
| "He" | ""
| _chat_eol | Texte de (x, y) jusqu'à la fin du message.
| _chat_eol | Texte de (x, y) jusqu'à la fin de la ligne.
| "llo world!" | ""
| _bar_name | Nom de la barre.
@@ -18057,7 +17950,7 @@ Paramètres :
Valeur de retour :
* position (offset) de la variable, -1 en cas d'erreur
* position (offset) de la variable, 0 en cas d'erreur
Exemple en C :
+105 -168
View File
@@ -113,7 +113,7 @@ Le tableau suivant liste les paquets *requis* pour construire WeeChat :
| pkg-config |
| Détection des bibliothèques installées.
| libncurses-dev |
| libncursesw5-dev ^(2)^ |
| Interface ncurses.
| libcurl4-gnutls-dev |
@@ -122,7 +122,7 @@ Le tableau suivant liste les paquets *requis* pour construire WeeChat :
| libgcrypt20-dev |
| Données sécurisées, authentification IRC SASL.
| libgnutls28-dev | ≥ 2.2.0 ^(2)^
| libgnutls28-dev | ≥ 2.2.0 ^(3)^
| Extension IRC : support des connexions TLS, authentification IRC SASL (ECDSA-NIST256P-CHALLENGE). +
Extension Relay : support des connexions TLS.
@@ -138,8 +138,12 @@ Le tableau suivant liste les paquets *requis* pour construire WeeChat :
[NOTE]
^(1)^ Le nom provient de la distribution GNU/Linux Debian Bookworm, la version
et le nom peuvent être différents dans les autres distributions. +
^(2)^ GnuTLS ≥ 3.0.21 est requis pour l'authentification SASL avec le mécanisme
et le nom peuvent être différents dans les autres distributions.
^(2)^ Il est recommandé de compiler avec libncurses**w**5-dev (le *w* est
important). WeeChat peut compiler avec libncurses5-dev, mais ce n'est *PAS*
recommandé : vous pourriez avoir des problèmes d'affichage avec les caractères
larges. +
^(3)^ GnuTLS ≥ 3.0.21 est requis pour l'authentification SASL avec le mécanisme
ECDSA-NIST256P-CHALLENGE.
Le tableau suivant liste les paquets optionnels pour compiler WeeChat :
@@ -1354,8 +1358,8 @@ Par défaut WeeChat et ses extensions par défaut interprètent ces variables :
| filter
| toute chaîne
| Filtre défini sur certains tampons comme `/fset`, `/list` (irc),
`/server raw` (irc) et `/script`.
| Filtre défini sur certains tampons comme `/fset`, `/server raw` (irc) et
`/script`.
| host
| toute chaîne
@@ -1469,23 +1473,6 @@ Options :
include::{autogendir}/autogen_user_options.fr.adoc[tag=buflist_options]
[[cursor_mode]]
=== Mode curseur
Le mode curseur vous permet de déplacer librement le curseur partout sur l'écran,
dans la zone de discussion et les barres, et vous permet d'effectuer des actions
à la position donnée. +
Vous pouvez entrer dans le mode curseur avec la commande `/cursor` ou avec un
clic du milieu sur la souris (la souris doit avoir été activée avec la touche
kbd:[Alt+m] ou la commande `/mouse enable`).
L'utilisation typique est de citer des messages (zone de discussion) ou d'interagir
avec des pseudos (barre avec la liste de pseudos).
Voir la commande <<command_weechat_cursor,/cursor>> et
<<key_bindings_cursor_context,les touches du contexte curseur>> pour la liste
des actions que vous pouvez effectuer dans ce mode.
[[key_bindings]]
== Raccourcis clavier
@@ -1711,37 +1698,31 @@ pressé pour chercher du texte dans le tampon).
=== Contexte curseur
Ces touches sont utilisées dans le contexte "cursor" (mouvement libre du curseur
à l'écran), voir le <<cursor_mode,Mode curseur>>.
à l'écran).
[width="100%",cols="^.^3,^.^2,.^7,.^7",options="header"]
|===
| Touche | Zone | Description | Commande
| kbd:[↑] | - | Déplacer le curseur d'une ligne vers le haut. | `+/cursor move up+`
| kbd:[↓] | - | Déplacer le curseur d'une ligne vers le bas. | `+/cursor move down+`
| kbd:[←] | - | Déplacer le curseur d'une colonne vers la gauche. | `+/cursor move left+`
| kbd:[→] | - | Déplacer le curseur d'une colonne vers la droite. | `+/cursor move right+`
| kbd:[Alt+↑] | - | Déplacer le curseur vers la première ligne de la zone. | `+/cursor move edge_top+`
| kbd:[Alt+↓] | - | Déplacer le curseur vers la dernière ligne de la zone. | `+/cursor move edge_bottom+`
| kbd:[Alt+←] | - | Déplacer le curseur vers la première colonne de la zone. | `+/cursor move edge_left+`
| kbd:[Alt+→] | - | Déplacer le curseur vers la dernière colonne de la zone. | `+/cursor move edge_right+`
| kbd:[Alt+Home] | - | Déplacer le curseur vers le coin supérieur gauche de la zone. | `+/cursor move top_left+`
| kbd:[Alt+End] | - | Déplacer le curseur vers la coin inférieur droit de la zone. | `+/cursor move bottom_right+`
| kbd:[Alt+Shift+↑] | - | Déplacer le curseur vers la zone au dessus. | `+/cursor move area_up+`
| kbd:[Alt+Shift+↓] | - | Déplacer le curseur vers la zone en dessous. | `+/cursor move area_down+`
| kbd:[Alt+Shift+←] | - | Déplacer le curseur vers la zone sur la gauche. | `+/cursor move area_left+`
| kbd:[Alt+Shift+→] | - | Déplacer le curseur vers la zone sur la droite. | `+/cursor move area_right+`
| kbd:[m] | chat | Citer le message. | `+hsignal:chat_quote_message;/cursor stop+`
| kbd:[l] | chat | Citer la ligne ciblée. | `+hsignal:chat_quote_focused_line;/cursor stop+`
| kbd:[q] | chat | Citer le préfixe + le message. | `+hsignal:chat_quote_prefix_message;/cursor stop+`
| kbd:[Q] | chat | Citer l'heure + le préfixe + le message. | `+hsignal:chat_quote_time_prefix_message;/cursor stop+`
| kbd:[b] | liste des pseudos | Bannir le pseudo. | `+/window ${_window_number};/ban ${nick}+`
| kbd:[k] | liste des pseudos | Retirer par la force le pseudo. | `+/window ${_window_number};/kick ${nick}+`
| kbd:[K] | liste des pseudos | Retirer par la force et bannir le pseudo. | `+/window ${_window_number};/kickban ${nick}+`
| kbd:[q] | liste des pseudos | Ouvrir une discussion avec le pseudo. | `+/window ${_window_number};/query ${nick};/cursor stop+`
| kbd:[w] | liste des pseudos | Effectuer un whois sur le pseudo. | `+/window ${_window_number};/whois ${nick}+`
| Touche | Zone | Description | Commande
| kbd:[↑] | - | Déplacer le curseur d'une ligne vers le haut. | `+/cursor move up+`
| kbd:[↓] | - | Déplacer le curseur d'une ligne vers le bas. | `+/cursor move down+`
| kbd:[←] | - | Déplacer le curseur d'une colonne vers la gauche. | `+/cursor move left+`
| kbd:[→] | - | Déplacer le curseur d'une colonne vers la droite. | `+/cursor move right+`
| kbd:[Alt+↑] | - | Déplacer le curseur vers la zone au dessus. | `+/cursor move area_up+`
| kbd:[Alt+↓] | - | Déplacer le curseur vers la zone en dessous. | `+/cursor move area_down+`
| kbd:[Alt+←] | - | Déplacer le curseur vers la zone sur la gauche. | `+/cursor move area_left+`
| kbd:[Alt+→] | - | Déplacer le curseur vers la zone sur la droite. | `+/cursor move area_right+`
| kbd:[m] | chat | Citer le message. | `+hsignal:chat_quote_message;/cursor stop+`
| kbd:[l] | chat | Citer la ligne ciblée. | `+hsignal:chat_quote_focused_line;/cursor stop+`
| kbd:[q] | chat | Citer le préfixe + le message. | `+hsignal:chat_quote_prefix_message;/cursor stop+`
| kbd:[Q] | chat | Citer l'heure + le préfixe + le message. | `+hsignal:chat_quote_time_prefix_message;/cursor stop+`
| kbd:[b] | liste des pseudos | Bannir le pseudo. | `+/window ${_window_number};/ban ${nick}+`
| kbd:[k] | liste des pseudos | Retirer par la force le pseudo. | `+/window ${_window_number};/kick ${nick}+`
| kbd:[K] | liste des pseudos | Retirer par la force et bannir le pseudo. | `+/window ${_window_number};/kickban ${nick}+`
| kbd:[q] | liste des pseudos | Ouvrir une discussion avec le pseudo. | `+/window ${_window_number};/query ${nick};/cursor stop+`
| kbd:[w] | liste des pseudos | Effectuer un whois sur le pseudo. | `+/window ${_window_number};/whois ${nick}+`
| kbd:[Enter] +
kbd:[Ctrl+j] +
kbd:[Ctrl+m] | - | Arrêter le mode curseur ("cursor"). | `+/cursor stop+`
kbd:[Ctrl+m] | - | Arrêter le mode curseur ("cursor"). | `+/cursor stop+`
|===
[[key_bindings_mouse]]
@@ -1752,60 +1733,50 @@ avec la touche kbd:[Alt+m] (commande : `+/mouse toggle+`).
[width="100%",cols="^.^3,^.^3,^.^3,.^8,.^8",options="header"]
|===
| Bouton/Roulette ^(1)^ | Geste | Zone | Description | Commande
| kbd:[■ □ □] | - | chat | Aller à la fenêtre. | `+/window ${_window_number}+`
| kbd:[■ □ □] | gauche | chat | Aller au tampon précédent. | `+/window ${_window_number};/buffer +1+`
| kbd:[■ □ □] | droit | chat | Aller au tampon suivant. | `+/window ${_window_number};/buffer +1+`
| kbd:[■ □ □] | gauche (long) | chat | Aller au premier tampon. | `+/window ${_window_number};/buffer 1+`
| kbd:[■ □ □] | droit (long) | chat | Aller au dernier tampon. | `+/window ${_window_number};/buffer ++`
| kbd:[▲] | - | chat | Monter de quelques lignes dans l'historique du tampon. | `+/window scroll_up -window ${_window_number}+`
| kbd:[▼] | - | chat | Descendre de quelques lignes dans l'historique du tampon. | `+/window scroll_down -window ${_window_number}+`
| kbd:[Ctrl+▲] | - | chat | Faire défiler horizontalement vers la gauche. | `+/window scroll_horiz -window ${_window_number} -10%+`
| kbd:[Ctrl+▼] | - | chat | Faire défiler horizontalement vers la droite. | `+/window scroll_horiz -window ${_window_number} +10%+`
| kbd:[▲] | - | chat : tampon fset | Monter de cinq lignes dans le tampon fset. | `+/fset -up 5+`
| kbd:[▼] | - | chat : tampon fset | Descendre de cinq lignes dans le tampon fset. | `+/fset -down 5+`
| kbd:[■ □ □] | - | chat : tampon fset | Sélectionner la ligne dans le tampon fset. | `+/window ${_window_number};/fset -go ${fset_option_index}+`
| kbd:[□ □ ■] | - | chat : tampon fset | Basculer le booléen (on/off) ou éditer la valeur de l'option. | `+hsignal:fset_mouse+`
| kbd:[□ □ ■] | gauche | chat : tampon fset | Décrémenter la valeur de l'entier/couleur/énuméré, définir/ajouter à la valeur pour les autres types. | `+hsignal:fset_mouse+`
| kbd:[□ □ ■] | droit | chat : tampon fset | Incrémenter la valeur de l'entier/couleur/énuméré, définir/ajouter à la valeur pour les autres types. | `+hsignal:fset_mouse+`
| kbd:[□ □ ■] | haut / bas | chat : tampon fset | Marquer/démarquer de multiples options. | `+hsignal:fset_mouse+`
| kbd:[▲] | - | chat : tampon /list | Monter de cinq lignes dans le tampon /list. | `+/list -up 5+`
| kbd:[▼] | - | chat : tampon /list | Descendre de cinq lignes dans le tampon /list. | `+/list -down 5+`
| kbd:[■ □ □] | - | chat : tampon /list | Sélectionner la ligne dans le tampon /list. | `+/window ${_window_number};/list -go ${_chat_line_y}+`
| kbd:[□ □ ■] | - | chat : tampon /list | Rejoindre le canal IRC sur la ligne sélectionnée. | `+hsignal:irc_list_mouse+`
| kbd:[▲] | - | chat : tampon script | Monter de 5 lignes dans le tampon script. | `+/script up 5+`
| kbd:[▼] | - | chat : tampon script | Descendre de 5 lignes dans le tampon script. | `+/script down 5+`
| kbd:[■ □ □] | - | chat : tampon script | Sélectionner la ligne dans le tampon script. | `+/script go ${_chat_line_y}+`
| kbd:[□ □ ■] | - | chat : tampon script | Installer/supprimer un script. | `+/script go ${_chat_line_y};/script installremove -q ${script_name_with_extension}+`
| kbd:[■ □ □] | haut / gauche | buflist | Déplacer le tampon vers un numéro inférieur. | Signal `+buflist_mouse+`.
| kbd:[■ □ □] | bas / droit | buflist | Déplacer le tampon vers un numéro supérieur. | Signal `+buflist_mouse+`.
| kbd:[■ □ □] | - | buflist | Aller au tampon (tampon précédent dans la liste des tampons visités si le tampon est le courant). | Signal `+buflist_mouse+`.
| kbd:[□ □ ■] | - | buflist | Aller au tampon suivant dans la liste des tampons visités si le tampon est le courant. | Signal `+buflist_mouse+`.
| kbd:[Ctrl+▲] | - | buflist | Aller au tampon précédent. | Signal `+buflist_mouse+`.
| kbd:[Ctrl+▼] | - | buflist | Aller au tampon suivant. | Signal `+buflist_mouse+`.
| kbd:[■ □ □] | haut | liste des pseudos | Monter d'une page dans la liste des pseudos. | `+/bar scroll nicklist ${_window_number} -100%+`
| kbd:[■ □ □] | bas | liste des pseudos | Descendre d'une page dans la liste des pseudos. | `+/bar scroll nicklist ${_window_number} +100%+`
| kbd:[■ □ □] | haut (long) | liste des pseudos | Aller au début de la liste des pseudos. | `+/bar scroll nicklist ${_window_number} b+`
| kbd:[■ □ □] | bas (long) | liste des pseudos | Aller à la fin de la liste des pseudos. | `+/bar scroll nicklist ${_window_number} e+`
| kbd:[■ □ □] | - | liste des pseudos | Ouvrir une discussion avec le pseudo. | `+/window ${_window_number};/query ${nick}+`
| kbd:[□ □ ■] | - | liste des pseudos | Effectuer un whois sur le pseudo. | `+/window ${_window_number};/whois ${nick}+`
| kbd:[■ □ □] | gauche | liste des pseudos | Retirer par la force le pseudo. | `+/window ${_window_number};/kick ${nick}+`
| kbd:[■ □ □] | gauche (long) | liste des pseudos | Retirer par la force et bannir le pseudo. | `+/window ${_window_number};/kickban ${nick}+`
| kbd:[□ □ ■] | gauche | liste des pseudos | Bannir le pseudo. | `+/window ${_window_number};/ban ${nick}+`
| kbd:[□ □ ■] | - | ligne de commande | Capturer un évènement de la souris et insérer son code sur la ligne de commande. | `+/input grab_mouse_area+`
| kbd:[▲] | - | toute barre | Faire défiler la barre de -20%. | `+/bar scroll ${_bar_name} ${_window_number} -20%+`
| kbd:[▼] | - | toute barre | Faire défiler la barre de +20%. | `+/bar scroll ${_bar_name} ${_window_number} +20%+`
| kbd:[□ ■ □] | - | n'importe où | Démarrer le mode curseur ("cursor") à ce point. | `+/cursor go ${_x},${_y}+`
| Bouton/Roulette ^(1)^ | Geste | Zone | Description | Commande
| ◾◽◽ | - | chat | Aller à la fenêtre. | `+/window ${_window_number}+`
| ◾◽◽ | left | chat | Aller au tampon précédent. | `+/window ${_window_number};/buffer +1+`
| ◾◽◽ | right | chat | Aller au tampon suivant. | `+/window ${_window_number};/buffer +1+`
| ◾◽◽ | left (long) | chat | Aller au premier tampon. | `+/window ${_window_number};/buffer 1+`
| ◾◽◽ | right (long) | chat | Aller au dernier tampon. | `+/window ${_window_number};/buffer ++`
| kbd:[▲] | - | chat | Monter de quelques lignes dans l'historique du tampon. | `+/window scroll_up -window ${_window_number}+`
| kbd:[▼] | - | chat | Descendre de quelques lignes dans l'historique du tampon. | `+/window scroll_down -window ${_window_number}+`
| kbd:[Ctrl+▲] | - | chat | Faire défiler horizontalement vers la gauche. | `+/window scroll_horiz -window ${_window_number} -10%+`
| kbd:[Ctrl+▼] | - | chat | Faire défiler horizontalement vers la droite. | `+/window scroll_horiz -window ${_window_number} +10%+`
| kbd:[▲] | - | chat : tampon fset | Monter de cinq lignes dans le tampon fset. | `+/fset -up 5+`
| kbd:[▼] | - | chat : tampon fset | Descendre de cinq lignes dans le tampon fset. | `+/fset -down 5+`
| ◾◽◽ | - | chat : tampon fset | Sélectionner la ligne dans le tampon fset. | `+/window ${_window_number};/fset -go ${_chat_line_y}+`
| ◽◽◾ | - | chat : tampon fset | Basculer le booléen (on/off) ou éditer la valeur de l'option. | `+hsignal:fset_mouse+`
| ◽◽◾ | left | chat : tampon fset | Décrémenter la valeur de l'entier/couleur, définir/ajouter à la valeur pour les autres types. | `+hsignal:fset_mouse+`
| ◽◽◾ | right | chat : tampon fset | Incrémenter la valeur de l'entier/couleur, définir/ajouter à la valeur pour les autres types. | `+hsignal:fset_mouse+`
| ◽◽◾ | up / down | chat : tampon fset | Marquer/démarquer de multiples options. | `+hsignal:fset_mouse+`
| kbd:[▲] | - | chat : tampon script | Monter de 5 lignes dans le tampon script. | `+/script up 5+`
| kbd:[▼] | - | chat : tampon script | Descendre de 5 lignes dans le tampon script. | `+/script down 5+`
| ◾◽◽ | - | chat : tampon script | Sélectionner la ligne dans le tampon script. | `+/script go ${_chat_line_y}+`
| ◽◽◾ | - | chat : tampon script | Installer/supprimer un script. | `+/script go ${_chat_line_y};/script installremove -q ${script_name_with_extension}+`
| ◾◽◽ | up / left | buflist | Déplacer le tampon vers un numéro inférieur. | Signal `+buflist_mouse+`.
| ◾◽◽ | down / right | buflist | Déplacer le tampon vers un numéro supérieur. | Signal `+buflist_mouse+`.
| ◾◽◽ | - | buflist | Aller au tampon (tampon précédent dans la liste des tampons visités si le tampon est le courant). | Signal `+buflist_mouse+`.
| ◽◽◾ | - | buflist | Aller au tampon suivant dans la liste des tampons visités si le tampon est le courant. | Signal `+buflist_mouse+`.
| kbd:[Ctrl+▲] | - | buflist | Aller au tampon précédent. | Signal `+buflist_mouse+`.
| kbd:[Ctrl+▼] | - | buflist | Aller au tampon suivant. | Signal `+buflist_mouse+`.
| ◾◽◽ | up | liste des pseudos | Monter d'une page dans la liste des pseudos. | `+/bar scroll nicklist ${_window_number} -100%+`
| ◾◽◽ | down | liste des pseudos | Descendre d'une page dans la liste des pseudos. | `+/bar scroll nicklist ${_window_number} +100%+`
| ◾◽◽ | up (long) | liste des pseudos | Aller au début de la liste des pseudos. | `+/bar scroll nicklist ${_window_number} b+`
| ◾◽◽ | down (long) | liste des pseudos | Aller à la fin de la liste des pseudos. | `+/bar scroll nicklist ${_window_number} e+`
| ◾◽◽ | - | liste des pseudos | Ouvrir une discussion avec le pseudo. | `+/window ${_window_number};/query ${nick}+`
| ◽◽◾ | - | liste des pseudos | Effectuer un whois sur le pseudo. | `+/window ${_window_number};/whois ${nick}+`
| ◾◽◽ | left | liste des pseudos | Retirer par la force le pseudo. | `+/window ${_window_number};/kick ${nick}+`
| ◾◽◽ | left (long) | liste des pseudos | Retirer par la force et bannir le pseudo. | `+/window ${_window_number};/kickban ${nick}+`
| ◽◽◾ | left | liste des pseudos | Bannir le pseudo. | `+/window ${_window_number};/ban ${nick}+`
| ◽◽◾ | - | ligne de commande | Capturer un évènement de la souris et insérer son code sur la ligne de commande. | `+/input grab_mouse_area+`
| kbd:[▲] | - | toute barre | Faire défiler la barre de -20%. | `+/bar scroll ${_bar_name} ${_window_number} -20%+`
| kbd:[▼] | - | toute barre | Faire défiler la barre de +20%. | `+/bar scroll ${_bar_name} ${_window_number} +20%+`
| ◽◾◽ | - | n'importe où | Démarrer le mode curseur ("cursor") à ce point. | `+/cursor go ${_x},${_y}+`
|===
[NOTE]
^(1)^ Boutons : +
kbd:[◼ □ □] : clic sur le bouton de gauche +
kbd:[□ ◼ □] : clic sur le bouton du milieu +
kbd:[□ □ ◼] : clic sur le bouton de droite +
Roulette : +
kbd:[▲] : roulette vers le haut +
kbd:[▼] : roulette vers le bas
^(1)^ kbd:[▲] et kbd:[▼] sont la roulette vers le haut et le bas.
[[key_bindings_fset_buffer]]
=== Tampon fset
@@ -1825,8 +1796,8 @@ Ces touches et actions sont utilisées sur le tampon fset
| kbd:[F11] | `pass:[<]` | Faire défiler horizontalement vers la gauche. | `+/fset -left+`
| kbd:[F12] | `pass:[>]` | Faire défiler horizontalement vers la droite. | `+/fset -right+`
| kbd:[Alt+Space] | `t` | Basculer la valeur booléenne. | `+/fset -toggle+`
| kbd:[Alt+-] | `-` | Soustraire 1 de la valeur de l'entier/couleur/énuméré, définir la valeur pour les autres types. | `+/fset -add -1+`
| kbd:[Alt++] | `+` | Ajouter 1 à la valeur de l'entier/couleur/énuméré, ajouter à la valeur pour les autres types. | `+/fset -add 1+`
| kbd:[Alt+-] | `-` | Soustraire 1 de la valeur de l'entier/couleur, définir la valeur pour les autres types. | `+/fset -add -1+`
| kbd:[Alt++] | `+` | Ajouter 1 à la valeur de l'entier/couleur, ajouter à la valeur pour les autres types. | `+/fset -add 1+`
| kbd:[Alt+f], kbd:[Alt+r] | `r` | Réinitialiser la valeur. | `+/fset -reset+`
| kbd:[Alt+f], kbd:[Alt+u] | `u` | Supprimer/réinitialiser la valeur. | `+/fset -unset+`
| kbd:[Alt+Enter] | `s` | Définir la valeur. | `+/fset -set+`
@@ -1854,40 +1825,6 @@ Ces touches et actions sont utilisées sur le tampon fset
[NOTE]
^(1)^ L'action doit être tapée comme entrée dans la ligne de commande, suivie de kbd:[Enter].
[[key_bindings_irc_list_buffer]]
=== Tampon IRC /list
Ces touches et actions sont utilisées sur le tampon IRC /list
(voir la commande <<command_irc_list,/list>>).
[width="100%",cols="^.^3,^.^2,.^8,.^5",options="header"]
|===
| Touche | Action ^(1)^ | Description | Commande
| kbd:[↑] | | Monter d'une ligne. | `+/list -up+`
| kbd:[↓] | | Descendre d'une ligne. | `+/list -down+`
| kbd:[PgUp] | | Monter d'une page. | `+/window page_up+`
| kbd:[PgDn] | | Descendre d'une page. | `+/window page_down+`
| kbd:[Alt+Home] | `pass:[<<]` | Aller à la première ligne. | `+/list -go 0+`
| kbd:[Alt+End] | `pass:[>>]` | Aller à la dernière ligne. | `+/list -go end+`
| kbd:[F11] | `pass:[<]` | Faire défiler horizontalement vers la gauche. | `+/list -left+`
| kbd:[F12] | `pass:[>]` | Faire défiler horizontalement vers la droite. | `+/list -right+`
| kbd:[Ctrl+j] | `j` | Rejoindre le canal IRC sur la ligne sélectionnée. | `+/list -join+`
| | `xxx` | Afficher seulement les canaux avec "xxx" dans le nom ou le titre (insensible à la casse). |
| | `n:xxx` | Afficher seulement les canaux avec "xxx" dans le nom (insensible à la casse). |
| | `t:xxx` | Afficher seulement les canaux avec "xxx" dans le titre (insensible à la casse). |
| | `u:n` | Afficher seulement les canaux avec au moins "n" utilisateurs. |
| | `u:>n` | Afficher seulement les canaux avec plus de "n" utilisateurs. |
| | `u:<n` | Afficher seulement les canaux avec moins de "n" utilisateurs. |
| | `c:xxx` | Afficher seulement les canaux qui correspondent à la condition évaluée "xxx", en utilisant les variables suivantes : name, name2, users, topic. |
| | `s:x,y` | Trier les canaux par les champs x,y (voir la commande <<command_irc_list,/list>>). |
| | `s:` | Réinitialiser le tri à sa valeur par défaut (voir la commande <<command_irc_list,/list>>). |
| | `$` | Rafraîchir la liste (relancer la commande <<command_irc_list,/list>>). |
| | `q` | Fermer le tampon. | `+/buffer close+`
|===
[NOTE]
^(1)^ L'action doit être tapée comme entrée dans la ligne de commande, suivie de kbd:[Enter].
[[key_bindings_script_buffer]]
=== Tampon script
@@ -1931,7 +1868,7 @@ Exemple de tampon fset affichant les options commençant par `weechat.look` :
│2.fset │weechat.look.bare_display_exit_on_input: exit the bare display mode on any c│
│ │hanges in input [default: on] │
│ │----------------------------------------------------------------------------│
│ │ weechat.look.align_end_of_lines enum message │
│ │ weechat.look.align_end_of_lines integer message │
│ │ weechat.look.align_multiline_words boolean on │
│ │ weechat.look.bar_more_down string "++" │
│ │ weechat.look.bar_more_left string "<<" │
@@ -1940,12 +1877,12 @@ Exemple de tampon fset affichant les options commençant par `weechat.look` :
│ │## weechat.look.bare_display_exit_on_input boolean on ##│
│ │ weechat.look.bare_display_time_format string "%H:%M" │
│ │ weechat.look.buffer_auto_renumber boolean on │
│ │ weechat.look.buffer_notify_default enum all │
│ │ weechat.look.buffer_position enum end │
│ │ weechat.look.buffer_notify_default integer all │
│ │ weechat.look.buffer_position integer end │
│ │ weechat.look.buffer_search_case_sensitive boolean off │
│ │ weechat.look.buffer_search_force_default boolean off │
│ │ weechat.look.buffer_search_regex boolean off │
│ │ weechat.look.buffer_search_where enum prefix_message │
│ │ weechat.look.buffer_search_where integer prefix_message │
│ │ weechat.look.buffer_time_format string "%H:%M:%S" │
│ │ weechat.look.buffer_time_same string "" │
│ │[12:55] [2] [fset] 2:fset │
@@ -3429,7 +3366,7 @@ irc.server.libera.autorejoin_delay integer null -> 30
irc.server.libera.away_check integer null -> 0
irc.server.libera.away_check_max_nicks integer null -> 25
irc.server.libera.capabilities string null -> "*"
irc.server.libera.charset_message enum null -> message
irc.server.libera.charset_message integer null -> message
irc.server.libera.command string null -> ""
irc.server.libera.command_delay integer null -> 0
irc.server.libera.connection_timeout integer null -> 60
@@ -3445,9 +3382,9 @@ irc.server.libera.notify string null -> ""
irc.server.libera.password string null -> ""
irc.server.libera.proxy string null -> ""
irc.server.libera.realname string null -> ""
irc.server.libera.sasl_fail enum null -> reconnect
irc.server.libera.sasl_fail integer null -> reconnect
irc.server.libera.sasl_key string null -> ""
irc.server.libera.sasl_mechanism enum null -> plain
irc.server.libera.sasl_mechanism integer null -> plain
irc.server.libera.sasl_password string "${sec.data.libera}"
irc.server.libera.sasl_timeout integer null -> 15
irc.server.libera.sasl_username string "alice"
@@ -4179,7 +4116,7 @@ Par exemple, pour personnaliser la réponse au CTCP "VERSION", utilisez la
commande suivante :
----
/set irc.ctcp.version "Je suis sous WeeChat ${version}, ça déchire !"
/set irc.ctcp.version "Je suis sous WeeChat $version, ça déchire !"
----
[NOTE]
@@ -4204,7 +4141,7 @@ Il est possible de personnaliser le CTCP pour un seul serveur, en utilisant son
nom interne avant le nom du CTCP :
----
/set irc.ctcp.libera.version "WeeChat ${version} (pour libera)"
/set irc.ctcp.libera.version "WeeChat $version (pour libera)"
----
Si vous voulez restaurer la réponse CTCP standard, alors supprimez l'option :
@@ -4213,23 +4150,23 @@ Si vous voulez restaurer la réponse CTCP standard, alors supprimez l'option :
/unset irc.ctcp.version
----
Les réponses CTCP sont évaluées (voir la commande <<command_weechat_eval,/eval>>)
et les variables supplémentaires suivantes sont disponibles :
Les codes suivants peuvent être utilisés dans les chaînes et sont
automatiquement remplacées par WeeChat lors de la réponse au CTCP :
[width="100%",cols="2,4,8",options="header"]
[width="100%",cols="2l,4,8",options="header"]
|===
| Variable | Description | Valeur / exemple
| `+${clientinfo}+` | Liste des CTCP supportés | `+ACTION DCC CLIENTINFO FINGER PING SOURCE TIME USERINFO VERSION+`
| `+${version}+` | Version de WeeChat | `+4.1.0-dev+`
| `+${versiongit}+` | Version de WeeChat + version Git ^(1)^ | `+4.1.0-dev (git: v4.0.0-51-g8f98b922a)+`
| `+${git}+` | Version Git ^(1)^ | `+v4.0.0-51-g8f98b922a+`
| `+${compilation}+` | Date de compilation WeeChat | `+Jul 8 2023 20:14:23+`
| `+${osinfo}+` | Information sur l'OS | `+Linux 5.10.0-23-amd64 / x86_64+`
| `+${site}+` | Site WeeChat | `+https://weechat.org/+`
| `+${download}+` | Site WeeChat, page téléchargement | `+https://weechat.org/download/+`
| `+${time}+` | Date/heure courante | `+Sat, 08 Jul 2023 21:11:19 +0200+`
| `+${username}+` | Nom d'utilisateur sur le serveur | `+nom+`
| `+${realname}+` | Nom réel sur le serveur | `+John Doe+`
| Code | Description | Valeur / exemple
| $clientinfo | Liste des CTCP supportés | `+ACTION DCC CLIENTINFO FINGER PING SOURCE TIME USERINFO VERSION+`
| $version | Version de WeeChat | `+0.4.0-dev+`
| $versiongit | Version de WeeChat + version Git ^(1)^ | `+0.4.0-dev (git: v0.3.9-104-g7eb5cc4)+`
| $git | Version Git ^(1)^ | `+v0.3.9-104-g7eb5cc4+`
| $compilation | Date de compilation WeeChat | `+Dec 16 2012+`
| $osinfo | Information sur l'OS | `+Linux 2.6.32-5-amd64 / x86_64+`
| $site | Site WeeChat | `+https://weechat.org/+`
| $download | Site WeeChat, page téléchargement | `+https://weechat.org/download/+`
| $time | Date/heure courante | `+Sun, 16 Dec 2012 10:40:48 +0100+`
| $username | Nom d'utilisateur sur le serveur | `+nom+`
| $realname | Nom réel sur le serveur | `+John Doe+`
|===
[NOTE]
@@ -4237,17 +4174,17 @@ et les variables supplémentaires suivantes sont disponibles :
connue seulement si WeeChat a été compilé dans le dépôt Git et si Git était
installé.
Les réponses CTCP par défaut sont :
Si les options CTCP ne sont pas définies (par défaut), les réponses CTCP sont :
[width="100%",cols="2,4,8",options="header"]
|===
| CTCP | Format de réponse | Exemple
| CLIENTINFO | `+${clientinfo}+` | `+ACTION DCC CLIENTINFO FINGER PING SOURCE TIME USERINFO VERSION+`
| FINGER | `+WeeChat ${version}+` | `+WeeChat 4.1.0-dev+`
| SOURCE | `+${download}+` | `+https://weechat.org/download/+`
| TIME | `+${time}+` | `+Sat, 08 Jul 2023 21:11:19 +0200+`
| USERINFO | `+${username} (${realname})+` | `+nom (John Doe)+`
| VERSION | `+WeeChat ${version}+` | `+WeeChat 4.1.0-dev+`
| CTCP | Format de réponse | Exemple
| CLIENTINFO | `+$clientinfo+` | `+ACTION DCC CLIENTINFO FINGER PING SOURCE TIME USERINFO VERSION+`
| FINGER | `+WeeChat $versiongit+` | `+WeeChat 0.4.0-dev (git: v0.3.9-104-g7eb5cc4)+`
| SOURCE | `+$download+` | `+https://weechat.org/download/+`
| TIME | `+$time+` | `+Sun, 16 Dec 2012 10:40:48 +0100+`
| USERINFO | `+$username ($realname)+` | `+nom (John Doe)+`
| VERSION | `+WeeChat $versiongit ($compilation)+` | `+WeeChat 0.4.0-dev (git: v0.3.9-104-g7eb5cc4) (Dec 16 2012)+`
|===
[[irc_target_buffer]]
+3 -20
View File
@@ -676,13 +676,6 @@ commands like `/123` to jump to buffer #123:
/trigger add numberjump modifier "2000|input_text_for_buffer" "${tg_string} =~ ^/[0-9]+$" "=\/([0-9]+)=/buffer *${re:1}=" "" "" "none"
----
// TRANSLATION MISSING
For an easy jump to buffers, you can also install the _go.py_ script:
----
/script install go.py
----
[[global_history]]
=== Come si può usare la cronologia globale (invece di quella del buffer) con i tasti su e giù?
@@ -1186,10 +1179,7 @@ Esistono diversi trucchi per ottimizzare l'uso della memoria:
// TRANSLATION MISSING
You can follow same tips as for <<memory_usage,memory>>, and these ones:
// TRANSLATION MISSING
* hide "nicklist" bar: `/bar hide nicklist` (key: kbd:[Alt+Shift+N]).
// TRANSLATION MISSING
* Disable "buflist": `/buflist disable` (key: kbd:[Alt+Shift+B]).
* hide "nicklist" bar: `/bar hide nicklist`
* remove display of seconds in status bar time:
`+/set weechat.look.item_time_format "%H:%M"+` (this is the default value)
// TRANSLATION MISSING
@@ -1215,21 +1205,14 @@ Disable answers to all CTCP queries:
----
/set irc.ctcp.clientinfo ""
/set irc.ctcp.finger ""
/set irc.ctcp.source ""
/set irc.ctcp.time ""
/set irc.ctcp.userinfo ""
/set irc.ctcp.version ""
/set irc.ctcp.ping ""
----
// TRANSLATION MISSING
With WeeChat < 4.1.0, other CTCP queries were replied by default and must be
disabled as well:
----
/set irc.ctcp.finger ""
/set irc.ctcp.userinfo ""
----
// TRANSLATION MISSING
Unload and disable auto-loading of "xfer" plugin (used for IRC DCC):
+72 -185
View File
@@ -6980,9 +6980,10 @@ my_section_read_cb (const void *pointer, void *data,
{
/* ... */
return WEECHAT_CONFIG_READ_OK;
/* return WEECHAT_CONFIG_READ_MEMORY_ERROR; */
/* return WEECHAT_CONFIG_READ_FILE_NOT_FOUND; */
return WEECHAT_CONFIG_OPTION_SET_OK_CHANGED;
/* return WEECHAT_CONFIG_OPTION_SET_OK_SAME_VALUE; */
/* return WEECHAT_CONFIG_OPTION_SET_ERROR; */
/* return WEECHAT_CONFIG_OPTION_SET_OPTION_NOT_FOUND; */
}
int
@@ -7072,7 +7073,7 @@ def config_new_section(config_file: str, name: str,
callback_delete_option: str, callback_delete_option_data: str) -> str: ...
# esempio
def my_section_read_cb(data: str, config_file: str, section: str, option_name: str, value: str | None) -> int:
def my_section_read_cb(data: str, config_file: str, section: str, option_name: str, value: Union[str, None]) -> int:
# ...
return weechat.WEECHAT_CONFIG_OPTION_SET_OK_CHANGED
# return weechat.WEECHAT_CONFIG_OPTION_SET_OK_SAME_VALUE
@@ -7091,7 +7092,7 @@ def my_section_write_default_cb(data: str, config_file: str, section_name: str)
# return weechat.WEECHAT_CONFIG_WRITE_ERROR
# return weechat.WEECHAT_CONFIG_WRITE_MEMORY_ERROR
def my_section_create_option_cb(data: str, config_file: str, section: str, option_name: str, value: str | None) -> int:
def my_section_create_option_cb(data: str, config_file: str, section: str, option_name: str, value: Union[str, None]) -> int:
# ...
return weechat.WEECHAT_CONFIG_OPTION_SET_OK_CHANGED
# return weechat.WEECHAT_CONFIG_OPTION_SET_OK_SAME_VALUE
@@ -7157,7 +7158,7 @@ section = weechat.config_search_section(config_file, "section")
==== config_new_option
// TRANSLATION MISSING
_Updated in 1.5, 4.1.0._
_Updated in 1.5._
Crea una nuova opzione nella sezione di un file di configurazione.
@@ -7206,15 +7207,12 @@ Argomenti:
"name << file.section.option"
* _type_: tipo dell'opzione:
** _boolean_: valore booleano (on/off)
** _integer_: valore intero
** _integer_: valore intero (con stringhe opzionali per i valori)
** _string_: valore stringa
** _color_: colore
// TRANSLATION MISSING
** _enum_: list of string values (stored as integer internally)
* _description_: descrizione dell'opzione
// TRANSLATION MISSING
* _string_values_: valori come stringa (separati da `+|+`) (optional, required
for type _enum_)
* _string_values_: valori come stringa (separati da `+|+`), usato dal tipo _integer_
(opzionale)
* _min_: valore minimo (per il tipo _integer_)
* _max_: valore massimo (per il tipo _integer_)
* _default_value_: valore predefinito per l'opzione (usato per il reset dell'opzione)
@@ -7268,8 +7266,8 @@ Esempio in C:
[source,c]
----
/* booleano */
struct t_config_option *option_bool =
weechat_config_new_option (config_file, section, "option_bool", "boolean",
struct t_config_option *option1 =
weechat_config_new_option (config_file, section, "option1", "boolean",
"My option, type boolean",
NULL,
0, 0,
@@ -7281,8 +7279,8 @@ struct t_config_option *option_bool =
NULL, NULL, NULL);
/* intero */
struct t_config_option *option_int =
weechat_config_new_option (config_file, section, "option_int", "integer",
struct t_config_option *option2 =
weechat_config_new_option (config_file, section, "option2", "integer",
"My option, type integer",
NULL,
0, 100,
@@ -7293,9 +7291,22 @@ struct t_config_option *option_int =
NULL, NULL, NULL,
NULL, NULL, NULL);
/* intero (con valori stringa) */
struct t_config_option *option3 =
weechat_config_new_option (config_file, section, "option3", "integer",
"My option, type integer (with string values)",
"top|bottom|left|right",
0, 0,
"bottom",
"bottom",
0,
NULL, NULL, NULL,
NULL, NULL, NULL,
NULL, NULL, NULL);
/* stringa */
struct t_config_option *option_str =
weechat_config_new_option (config_file, section, "option_str", "string",
struct t_config_option *option4 =
weechat_config_new_option (config_file, section, "option4", "string",
"My option, type string",
NULL,
0, 0,
@@ -7307,8 +7318,8 @@ struct t_config_option *option_str =
NULL, NULL, NULL);
/* colore */
struct t_config_option *option_col =
weechat_config_new_option (config_file, section, "option_col", "color",
struct t_config_option *option5 =
weechat_config_new_option (config_file, section, "option5", "color",
"My option, type color",
NULL,
0, 0,
@@ -7318,19 +7329,6 @@ struct t_config_option *option_col =
NULL, NULL, NULL,
NULL, NULL, NULL,
NULL, NULL, NULL);
/* enum */
struct t_config_option *option_enum =
weechat_config_new_option (config_file, section, "option_enum", "enum",
"My option, type enum",
"top|bottom|left|right",
0, 0,
"bottom",
"bottom",
0,
NULL, NULL, NULL,
NULL, NULL, NULL,
NULL, NULL, NULL);
----
Script (Python):
@@ -7340,55 +7338,55 @@ Script (Python):
# prototipo
def config_new_option(config_file: str, section: str, name: str, type: str, description: str,
string_values: str, min: int, max: int,
default_value: str | None, value: str | None, null_value_allowed: int,
default_value: Union[str, None], value: Union[str, None], null_value_allowed: int,
callback_check_value: str, callback_check_value_data: str,
callback_change: str, callback_change_data: str,
callback_delete: str, callback_delete_data: str) -> str: ...
# esempio
def option_str_check_value_cb(data: str, option: str, value: str) -> int:
def option4_check_value_cb(data: str, option: str, value: str) -> int:
# ...
return 1
# return 0
def option_str_change_cb(data: str, option: str) -> None:
def option4_change_cb(data: str, option: str) -> None:
# ...
def option_str_delete_cb(data: str, option: str) -> None:
def option4_delete_cb(data: str, option: str) -> None:
# ...
option_bool = weechat.config_new_option(config_file, section, "option_bool", "boolean",
option1 = weechat.config_new_option(config_file, section, "option1", "boolean",
"My option, type boolean",
"", 0, 0, "on", "on", 0,
"", "",
"", "",
"", "")
option_int = weechat.config_new_option(config_file, section, "option_int", "integer",
option2 = weechat.config_new_option(config_file, section, "option2", "integer",
"My option, type integer",
"", 0, 100, "15", "15", 0,
"", "",
"", "",
"", "")
option_str = weechat.config_new_option(config_file, section, "option_str", "string",
"My option, type string",
"", 0, 0, "test", "test", 1,
"option_str_check_value_cb", "",
"option_str_change_cb", "",
"option_str_delete_cb", "")
option_col = weechat.config_new_option(config_file, section, "option_col", "color",
"My option, type color",
"", 0, 0, "lightblue", "lightblue", 0,
option3 = weechat.config_new_option(config_file, section, "option3", "integer",
"My option, type integer (with string values)",
"top|bottom|left|right",
0, 0, "bottom", "bottom", 0,
"", "",
"", "",
"", "")
option_enum = weechat.config_new_option(config_file, section, "option_enum", "enum",
"My option, type enum",
"top|bottom|left|right",
0, 0, "bottom", "bottom", 0,
option4 = weechat.config_new_option(config_file, section, "option4", "string",
"My option, type string",
"", 0, 0, "test", "test", 1,
"option4_check_value_cb", "",
"option4_change_cb", "",
"option4_delete_cb", "")
option5 = weechat.config_new_option(config_file, section, "option5", "color",
"My option, type color",
"", 0, 0, "lightblue", "lightblue", 0,
"", "",
"", "",
"", "")
@@ -7680,7 +7678,7 @@ Argomenti:
// TRANSLATION MISSING
*** `toggle`: toggle the current value
// TRANSLATION MISSING
** _integer_, _color_ or _enum_:
** _integer_ or _color_:
// TRANSLATION MISSING
*** `++N`: add `N` (any integer) to the current value
// TRANSLATION MISSING
@@ -7922,7 +7920,6 @@ Argomenti:
*** _integer_
*** _string_
*** _color_
*** _enum_
** _description_: option description
Valore restituito:
@@ -8099,7 +8096,6 @@ Return value, depending on the option type:
* _integer_: 0
* _string_: 0
* _color_: 0
* _enum_: 0
Esempio in C:
@@ -8151,7 +8147,6 @@ Return value, depending on the option type:
* _integer_: 0
* _string_: 0
* _color_: 0
* _enum_: 0
Esempio in C:
@@ -8203,7 +8198,6 @@ Return value, depending on the option type:
* _integer_: integer value of option
* _string_: 0
* _color_: color index
* _enum_: integer value of option (index of enum value)
Esempio in C:
@@ -8247,7 +8241,6 @@ Return value, depending on the option type:
* _integer_: default integer value of option
* _string_: 0
* _color_: default color index
* _enum_: default integer value of option (index of enum value)
Esempio in C:
@@ -8288,10 +8281,10 @@ Argomenti:
Return value, depending on the option type:
* _boolean_: "on" if value is true, otherwise "off"
* _integer_: NULL
* _integer_: string value if the option is an integer with string values,
otherwise NULL
* _string_: string value of option
* _color_: name of color
* _enum_: string value of option
Esempio in C:
@@ -8332,10 +8325,10 @@ Argomenti:
Return value, depending on the option type:
* _boolean_: "on" if default value is true, otherwise "off"
* _integer_: NULL
* _integer_: default string value if the option is an integer with string
values, otherwise NULL
* _string_: default string value of option
* _color_: name of default color
* _enum_: default string value of option
Esempio in C:
@@ -8379,7 +8372,6 @@ Return value, depending on the option type:
* _integer_: NULL
* _string_: NULL
* _color_: name of color
* _enum_: NULL
Esempio in C:
@@ -8423,7 +8415,6 @@ Return value, depending on the option type:
* _integer_: NULL
* _string_: NULL
* _color_: name of default color
* _enum_: NULL
Esempio in C:
@@ -8445,98 +8436,6 @@ option = weechat.config_get("plugin.section.option")
value = weechat.config_color_default(option)
----
// TRANSLATION MISSING
==== config_enum
_WeeChat ≥ 4.1.0._
Return enum value of option, as integer.
Prototype:
[source,c]
----
int weechat_config_enum (struct t_config_option *option);
----
Arguments:
* _option_: option pointer
Return value, depending on the option type:
* _boolean_: boolean value of option (0 or 1)
* _integer_: integer value of option
* _string_: 0
* _color_: color index
* _enum_: integer value of option (index of enum value)
C example:
[source,c]
----
struct t_config_option *option = weechat_config_get ("plugin.section.option");
int value = weechat_config_enum (option);
----
Script (Python):
[source,python]
----
# prototype
def config_enum(option: str) -> int: ...
# example
option = weechat.config_get("plugin.section.option")
value = weechat.config_enum(option)
----
// TRANSLATION MISSING
==== config_enum_default
_WeeChat ≥ 4.1.0._
Return default enum value of option, as integer.
Prototype:
[source,c]
----
int weechat_config_enum_default (struct t_config_option *option);
----
Arguments:
* _option_: option pointer
Return value, depending on the option type:
* _boolean_: default boolean value of option (0 or 1)
* _integer_: default integer value of option
* _string_: 0
* _color_: default color index
* _enum_: integer value of option (index of enum value)
C example:
[source,c]
----
struct t_config_option *option = weechat_config_get ("plugin.section.option");
int value = weechat_config_enum_default (option);
----
Script (Python):
[source,python]
----
# prototype
def config_enum_default(option: str) -> int: ...
# example
option = weechat.config_get("plugin.section.option")
value = weechat.config_enum_default(option)
----
==== config_write_option
Scrive una riga nel file di configurazione con l'opzione ed il suo valore
@@ -11016,7 +10915,7 @@ hook = weechat.hook_connect("", "my.server.org", 1234, 1, 0, "",
// TRANSLATION MISSING
==== hook_line
_WeeChat ≥ 2.3, updated in 3.7, 4.1.0._
_WeeChat ≥ 2.3, updated in 3.7._
Hook a line to be printed in a buffer.
@@ -11087,13 +10986,13 @@ Line data sent to the callback is a hashtable, with following values
| Key | Value (formatted buffer) | Value (free buffer) | Examples
| buffer
| Comma-separated list of buffer pointers.
| Comma-separated list of buffer pointers.
| Buffer pointer.
| Buffer pointer.
| `+0x1234abcd+`
| buffer_name
| Comma-separated list of buffer names.
| Comma-separated list of buffer names.
| Buffer name.
| Buffer name.
| `+core.weechat+` +
`+irc.server.libera+` +
`+irc.libera.#weechat+`
@@ -11181,20 +11080,16 @@ in this hashtable):
| Key | Allowed value (formatted buffer) | Allowed value (free buffer) | Result
| buffer
| Comma-separated list buffer pointers (with formatted content)
(multiple buffers are supported only with WeeChat ≥ 4.1.0).
| Comma-separated list buffer pointers (with free content)
(multiple buffers are supported only with WeeChat ≥ 4.1.0).
| The line is displayed on these buffers. +
| Pointer of a buffer with formatted content.
| Pointer of a buffer with free content.
| The line is displayed on this buffer. +
If the value is empty, the line is deleted (anything else in the hashtable
is then ignored); the next hooks of type "line" are not called.
| buffer_name
| Comma-separated list buffer names (with formatted content)
(multiple buffers are supported only with WeeChat ≥ 4.1.0).
| Comma-separated list buffer names (with free content)
(multiple buffers are supported only with WeeChat ≥ 4.1.0).
| The line is displayed on these buffers. +
| Name of a buffer with formatted content.
| Name of a buffer with free content.
| The line is displayed on this buffer. +
If `buffer` is also set, the value of `+buffer_name+` has higher priority and is used. +
If the value is empty, the line is deleted (anything else in the hashtable
is then ignored); the next hooks of type "line" are not called.
@@ -13592,7 +13487,7 @@ Questa funzione non è disponibile nelle API per lo scripting.
==== hook_focus
// TRANSLATION MISSING
_Updated in 1.5, 4.0.0, 4.1.0._
_Updated in 1.5._
Hook sul foucus: evento del mouse o tasto premuto nella modalità cursore
(movimento libero del cursore).
@@ -13712,26 +13607,18 @@ Contenuto della tabella hash inviata alla callback (tasti e valori sono di tipo
| "Hello world!" | ""
// TRANSLATION MISSING
| _chat_focused_line | Line at (x, y) _(WeeChat ≥ 4.0.0)_.
| _chat_focused_line | Line at (x,y) _(WeeChat ≥ 4.0.0)_.
| "Hello world!" | ""
// TRANSLATION MISSING
| _chat_focused_line_bol | Text from beginning of line to (x-1, y) _(WeeChat ≥ 4.1.0)_.
| "Hello" | ""
// TRANSLATION MISSING
| _chat_focused_line_eol | Text from (x, y) to end of line _(WeeChat ≥ 4.1.0)_.
| "llo world!" | ""
| _chat_word | Parola a (x,y).
| "Hello" | ""
// TRANSLATION MISSING
| _chat_bol | Text from beginning of message to (x-1, y).
| _chat_bol | Text from beginning of line to (x-1, y).
| "He" | ""
// TRANSLATION MISSING
| _chat_eol | Text from (x, y) to the end of message.
| _chat_eol | Text from (x, y) to the end of line.
| "llo world!" | ""
| _bar_name | Nome della barra.
@@ -18468,7 +18355,7 @@ Argomenti:
Valore restituito:
* offset della variabile, -1 in caso di errore
* offset della variabile, 0 in caso di errore
Esempio in C:
+94 -170
View File
@@ -139,7 +139,7 @@ WeeChat:
| pkg-config |
| Detect installed libraries.
| libncurses-dev |
| libncursesw5-dev ^(2)^ |
| Interfaccia ncurses.
| libcurl4-gnutls-dev |
@@ -150,7 +150,7 @@ WeeChat:
| Secured data, IRC SASL authentication.
// TRANSLATION MISSING
| libgnutls28-dev | ≥ 2.2.0 ^(2)^
| libgnutls28-dev | ≥ 2.2.0 ^(3)^
| IRC plugin: support of TLS connections, IRC SASL authentication (ECDSA-NIST256P-CHALLENGE). +
Relay plugin: support of TLS connections.
@@ -171,7 +171,11 @@ WeeChat:
^(1)^ Name comes from the Debian GNU/Linux Bookworm distribution, version and
name can be different in other distributions. +
// TRANSLATION MISSING
^(2)^ GnuTLS ≥ 3.0.21 is required for IRC SASL authentication with mechanism
^(2)^ It is recommended to compile with libncurses**w**5-dev (the *w* is
important). WeeChat can compile with libncurses5-dev, but it is *NOT* recommended:
you may experience display bugs with wide chars. +
// TRANSLATION MISSING
^(3)^ GnuTLS ≥ 3.0.21 is required for IRC SASL authentication with mechanism
ECDSA-NIST256P-CHALLENGE.
// TRANSLATION MISSING
@@ -1446,8 +1450,7 @@ By default WeeChat and its default plugins interpret these variables:
| filter
| any string
| Filter defined on some buffers like `/fset`, `/list` (irc), `/server raw` (irc)
and `/script`.
| Filter defined on some buffers like `/fset`, `/server raw` (irc) and `/script`.
| host
| any string
@@ -1559,22 +1562,6 @@ Options:
include::{autogendir}/autogen_user_options.it.adoc[tag=buflist_options]
// TRANSLATION MISSING
[[cursor_mode]]
=== Cursor mode
The cursor mode allows you to move freely the cursor anywhere on screen, in chat
area and bars, and lets you perform actions at the given position. +
You can enter in cursor mode either with the command `/cursor` or with a mouse
middle click (mouse must have been enabled with key kbd:[Alt+m] or command
`/mouse enable`).
Typical use is to quote messages (chat area) or interact with nicks (nicklist bar).
See command <<command_weechat_cursor,/cursor>> and
<<key_bindings_cursor_context,key bindings in cursor context>> for the list
of actions you can perform in this mode.
// TRANSLATION MISSING
[[key_bindings]]
== Key bindings
@@ -1845,46 +1832,33 @@ kbd:[Ctrl+r] per cercare del testo nel buffer).
[[key_bindings_cursor_context]]
=== Cursor context
// TRANSLATION MISSING
Questi tasti sono usati nel contesto "cursor" (movimento libero del cursore
sullo schermo, see <<cursor_mode,Cursor mode>>.
sullo schermo.
[width="100%",cols="^.^3,^.^2,.^7,.^7",options="header"]
|===
| Tasto | Zona | Descrizione | Comando
| kbd:[↑] | - | Sposta il cursore di una riga in alto. | `+/cursor move up+`
| kbd:[↓] | - | Sposta il cursore di una riga in basso. | `+/cursor move down+`
| kbd:[←] | - | Sposta il cursore di una colonna a sinistra. | `+/cursor move left+`
| kbd:[→] | - | Sposta il cursore di una colonna a destra. | `+/cursor move right+`
| Tasto | Zona | Descrizione | Comando
| kbd:[↑] | - | Sposta il cursore di una riga in alto. | `+/cursor move up+`
| kbd:[↓] | - | Sposta il cursore di una riga in basso. | `+/cursor move down+`
| kbd:[←] | - | Sposta il cursore di una colonna a sinistra. | `+/cursor move left+`
| kbd:[→] | - | Sposta il cursore di una colonna a destra. | `+/cursor move right+`
| kbd:[Alt+↑] | - | Sposta il cursore nell'area in alto. | `+/cursor move area_up+`
| kbd:[Alt+↓] | - | Sposta il cursore nell'area in basso. | `+/cursor move area_down+`
| kbd:[Alt+←] | - | Sposta il cursore nell'area a sinistra. | `+/cursor move area_left+`
| kbd:[Alt+→] | - | Sposta il cursore nell'area a destra. | `+/cursor move area_right+`
| kbd:[m] | chat | Cita messaggio. | `+hsignal:chat_quote_message;/cursor stop+`
// TRANSLATION MISSING
| kbd:[Alt+↑] | - | Move cursor to the first line of the area. | `+/cursor move edge_top+`
// TRANSLATION MISSING
| kbd:[Alt+↓] | - | Move cursor to the last line of the area. | `+/cursor move edge_bottom+`
// TRANSLATION MISSING
| kbd:[Alt+←] | - | Move cursor to the first column of the area. | `+/cursor move edge_left+`
// TRANSLATION MISSING
| kbd:[Alt+→] | - | Move cursor to the last column of the area. | `+/cursor move edge_right+`
// TRANSLATION MISSING
| kbd:[Alt+Home] | - | Move cursor to the top left corner of the area. | `+/cursor move top_left+`
// TRANSLATION MISSING
| kbd:[Alt+End] | - | Move cursor to the bottom right corner of the area. | `+/cursor move bottom_right+`
| kbd:[Alt+Shift+↑] | - | Sposta il cursore nell'area in alto. | `+/cursor move area_up+`
| kbd:[Alt+Shift+↓] | - | Sposta il cursore nell'area in basso. | `+/cursor move area_down+`
| kbd:[Alt+Shift+←] | - | Sposta il cursore nell'area a sinistra. | `+/cursor move area_left+`
| kbd:[Alt+Shift+→] | - | Sposta il cursore nell'area a destra. | `+/cursor move area_right+`
| kbd:[m] | chat | Cita messaggio. | `+hsignal:chat_quote_message;/cursor stop+`
// TRANSLATION MISSING
| kbd:[l] | chat | Quote focused line. | `+hsignal:chat_quote_focused_line;/cursor stop+`
| kbd:[q] | chat | Cita prefisso + messaggio. | `+hsignal:chat_quote_prefix_message;/cursor stop+`
| kbd:[Q] | chat | Cita ora + prefisso + messaggio. | `+hsignal:chat_quote_time_prefix_message;/cursor stop+`
| kbd:[b] | lista nick | Ban di un nick. | `+/window ${_window_number};/ban ${nick}+`
| kbd:[k] | lista nick | Kick di un nick. | `+/window ${_window_number};/kick ${nick}+`
| kbd:[K] | lista nick | Kick e ban di un nick. | `+/window ${_window_number};/kickban ${nick}+`
| kbd:[q] | lista nick | Apri query con il nick. | `+/window ${_window_number};/query ${nick};/cursor stop+`
| kbd:[w] | lista nick | Effettua un whois sul nick. | `+/window ${_window_number};/whois ${nick}+`
| kbd:[l] | chat | Quote focused line. | `+hsignal:chat_quote_focused_line;/cursor stop+`
| kbd:[q] | chat | Cita prefisso + messaggio. | `+hsignal:chat_quote_prefix_message;/cursor stop+`
| kbd:[Q] | chat | Cita ora + prefisso + messaggio. | `+hsignal:chat_quote_time_prefix_message;/cursor stop+`
| kbd:[b] | lista nick | Ban di un nick. | `+/window ${_window_number};/ban ${nick}+`
| kbd:[k] | lista nick | Kick di un nick. | `+/window ${_window_number};/kick ${nick}+`
| kbd:[K] | lista nick | Kick e ban di un nick. | `+/window ${_window_number};/kickban ${nick}+`
| kbd:[q] | lista nick | Apri query con il nick. | `+/window ${_window_number};/query ${nick};/cursor stop+`
| kbd:[w] | lista nick | Effettua un whois sul nick. | `+/window ${_window_number};/whois ${nick}+`
| kbd:[Enter] +
kbd:[Ctrl+j] +
kbd:[Ctrl+m] | - | Ferma la modalità cursore. | `+/cursor stop+`
kbd:[Ctrl+m] | - | Ferma la modalità cursore. | `+/cursor stop+`
|===
// TRANSLATION MISSING
@@ -1900,11 +1874,11 @@ These mouse actions are possible only if mouse is enabled with key kbd:[Alt+m]
|===
// TRANSLATION MISSING
| Tasto/Wheel ^(1)^ | Azione | Zona | Descrizione | Comando
| kbd:[■ □ □] | - | chat | Passa alla finestra. | `+/window ${_window_number}+`
| kbd:[■ □ □] | sinistra | chat | Passa al buffer precedente. | `+/window ${_window_number};/buffer +1+`
| kbd:[■ □ □] | destra | chat | Passa al buffer successivo. | `+/window ${_window_number};/buffer +1+`
| kbd:[■ □ □] | sinistra (lungo) | chat | Switch to first buffer. | `+/window ${_window_number};/buffer 1+`
| kbd:[■ □ □] | destra (lungo) | chat | Passa all'ultimo buffer. | `+/window ${_window_number};/buffer ++`
| ◾◽◽ | - | chat | Passa alla finestra. | `+/window ${_window_number}+`
| ◾◽◽ | sinistra | chat | Passa al buffer precedente. | `+/window ${_window_number};/buffer +1+`
| ◾◽◽ | destra | chat | Passa al buffer successivo. | `+/window ${_window_number};/buffer +1+`
| ◾◽◽ | sinistra (lungo) | chat | Switch to first buffer. | `+/window ${_window_number};/buffer 1+`
| ◾◽◽ | destra (lungo) | chat | Passa all'ultimo buffer. | `+/window ${_window_number};/buffer ++`
| kbd:[▲] | - | chat | Scorre di qualche riga in alto nella cronologia del buffer. | `+/window scroll_up -window ${_window_number}+`
| kbd:[▼] | - | chat | Scorre di qualche riga in basso nella cronologia del buffer. | `+/window scroll_down -window ${_window_number}+`
| kbd:[Ctrl+▲] | - | chat | Scroll horizontally to the left. | `+/window scroll_horiz -window ${_window_number} -10%+`
@@ -1914,67 +1888,53 @@ These mouse actions are possible only if mouse is enabled with key kbd:[Alt+m]
// TRANSLATION MISSING
| kbd:[▼] | - | chat: fset buffer | Move five lines down in fset buffer. | `+/fset -down 5+`
// TRANSLATION MISSING
| kbd:[■ □ □] | - | chat: fset buffer | Select line in fset buffer. | `+/window ${_window_number};/fset -go ${fset_option_index}+`
| ◾◽◽ | - | chat: fset buffer | Select line in fset buffer. | `+/window ${_window_number};/fset -go ${_chat_line_y}+`
// TRANSLATION MISSING
| kbd:[□ □ ■] | - | chat: fset buffer | Toggle boolean (on/off) or edit the option value. | `+hsignal:fset_mouse+`
| ◽◽◾ | - | chat: fset buffer | Toggle boolean (on/off) or edit the option value. | `+hsignal:fset_mouse+`
// TRANSLATION MISSING
| kbd:[□ □ ■] | left | chat: fset buffer | Decrease value for integer/color/enum, set/append to value for other types. | `+hsignal:fset_mouse+`
| ◽◽◾ | left | chat: fset buffer | Decrease value for integer/color, set/append to value for other types. | `+hsignal:fset_mouse+`
// TRANSLATION MISSING
| kbd:[□ □ ■] | right | chat: fset buffer | Increase value for integer/color/enum, set/append to value for other types. | `+hsignal:fset_mouse+`
| ◽◽◾ | right | chat: fset buffer | Increase value for integer/color, set/append to value for other types. | `+hsignal:fset_mouse+`
// TRANSLATION MISSING
| kbd:[□ □ ■] | up / down | chat: fset buffer | Mark/unmark multiple options. | `+hsignal:fset_mouse+`
// TRANSLATION MISSING
| kbd:[▲] | - | chat: /list buffer | Move five lines up in /list buffer. | `+/list -up 5+`
// TRANSLATION MISSING
| kbd:[▼] | - | chat: /list buffer | Move five lines down in /list buffer. | `+/list -down 5+`
// TRANSLATION MISSING
| kbd:[■ □ □] | - | chat: /list buffer | Select line in /list buffer. | `+/window ${_window_number};/list -go ${_chat_line_y}+`
// TRANSLATION MISSING
| kbd:[□ □ ■] | - | chat: /list buffer | Join IRC channel on selected line. | `+hsignal:irc_list_mouse+`
| ◽◽◾ | up / down | chat: fset buffer | Mark/unmark multiple options. | `+hsignal:fset_mouse+`
// TRANSLATION MISSING
| kbd:[▲] | - | chat: script buffer | Move 5 lines up in script buffer. | `+/script up 5+`
// TRANSLATION MISSING
| kbd:[▼] | - | chat: script buffer | Move 5 lines down in script buffer. | `+/script down 5+`
// TRANSLATION MISSING
| kbd:[■ □ □] | - | chat: script buffer | Select line in script buffer. | `+/script go ${_chat_line_y}+`
| ◾◽◽ | - | chat: script buffer | Select line in script buffer. | `+/script go ${_chat_line_y}+`
// TRANSLATION MISSING
| kbd:[□ □ ■] | - | chat: script buffer | Install/remove script. | `+/script go ${_chat_line_y};/script installremove -q ${script_name_with_extension}+`
| ◽◽◾ | - | chat: script buffer | Install/remove script. | `+/script go ${_chat_line_y};/script installremove -q ${script_name_with_extension}+`
// TRANSLATION MISSING
| kbd:[■ □ □] | up / left | buflist | Move buffer to a lower number. | Signal `+buflist_mouse+`.
| ◾◽◽ | up / left | buflist | Move buffer to a lower number. | Signal `+buflist_mouse+`.
// TRANSLATION MISSING
| kbd:[■ □ □] | down / right | buflist | Move buffer to a higher number. | Signal `+buflist_mouse+`.
| ◾◽◽ | down / right | buflist | Move buffer to a higher number. | Signal `+buflist_mouse+`.
// TRANSLATION MISSING
| kbd:[■ □ □] | - | buflist | Switch to buffer (previously visited buffer if the buffer is the current one). | Signal `+buflist_mouse+`.
| ◾◽◽ | - | buflist | Switch to buffer (previously visited buffer if the buffer is the current one). | Signal `+buflist_mouse+`.
// TRANSLATION MISSING
| kbd:[□ □ ■] | - | buflist | Switch to next visited buffer if the buffer is the current one. | Signal `+buflist_mouse+`.
| ◽◽◾ | - | buflist | Switch to next visited buffer if the buffer is the current one. | Signal `+buflist_mouse+`.
// TRANSLATION MISSING
| kbd:[Ctrl+▲] | - | buflist | Switch to previous buffer. | Signal `+buflist_mouse+`.
// TRANSLATION MISSING
| kbd:[Ctrl+▼] | - | buflist | Switch to next buffer. | Signal `+buflist_mouse+`.
| kbd:[■ □ □] | su | lista nick | Scorre di una pagina in alto nella lista nick. | `+/bar scroll nicklist ${_window_number} -100%+`
| kbd:[■ □ □] | giù | lista nick | Scorre di una pagina in basso nella lista nick. | `+/bar scroll nicklist ${_window_number} +100%+`
| kbd:[■ □ □] | up (lungo) | lista nick | Sposta all'inizio della lista nick. | `+/bar scroll nicklist ${_window_number} b+`
| kbd:[■ □ □] | giù (lungo) | lista nick | Sposta alla fine della lista nick. | `+/bar scroll nicklist ${_window_number} e+`
| kbd:[■ □ □] | - | lista nick | Apre una query con un nick. | `+/window ${_window_number};/query ${nick}+`
| kbd:[□ □ ■] | - | lista nick | Effettua un whois su un nick. | `+/window ${_window_number};/whois ${nick}+`
| kbd:[■ □ □] | sinistra | lista nick | Kick di un nick. | `+/window ${_window_number};/kick ${nick}+`
| kbd:[■ □ □] | sinistra (lungo) | lista nick | Kick e ban di un nick. | `+/window ${_window_number};/kickban ${nick}+`
| kbd:[□ □ ■] | sinistra | lista nick | Ban di un nick. | `+/window ${_window_number};/ban ${nick}+`
| kbd:[□ □ ■] | - | input | Cattura un evento del mouse e inserisce il codice nella riga di comando. | `+/input grab_mouse_area+`
| ◾◽◽ | su | lista nick | Scorre di una pagina in alto nella lista nick. | `+/bar scroll nicklist ${_window_number} -100%+`
| ◾◽◽ | giù | lista nick | Scorre di una pagina in basso nella lista nick. | `+/bar scroll nicklist ${_window_number} +100%+`
| ◾◽◽ | up (lungo) | lista nick | Sposta all'inizio della lista nick. | `+/bar scroll nicklist ${_window_number} b+`
| ◾◽◽ | giù (lungo) | lista nick | Sposta alla fine della lista nick. | `+/bar scroll nicklist ${_window_number} e+`
| ◾◽◽ | - | lista nick | Apre una query con un nick. | `+/window ${_window_number};/query ${nick}+`
| ◽◽◾ | - | lista nick | Effettua un whois su un nick. | `+/window ${_window_number};/whois ${nick}+`
| ◾◽◽ | sinistra | lista nick | Kick di un nick. | `+/window ${_window_number};/kick ${nick}+`
| ◾◽◽ | sinistra (lungo) | lista nick | Kick e ban di un nick. | `+/window ${_window_number};/kickban ${nick}+`
| ◽◽◾ | sinistra | lista nick | Ban di un nick. | `+/window ${_window_number};/ban ${nick}+`
| ◽◽◾ | - | input | Cattura un evento del mouse e inserisce il codice nella riga di comando. | `+/input grab_mouse_area+`
| kbd:[▲] | - | ogni barra | Scorre la barra del -20%. | `+/bar scroll ${_bar_name} ${_window_number} -20%+`
| kbd:[▼] | - | ogni barra | Scorre la barra del +20%. | `+/bar scroll ${_bar_name} ${_window_number} +20%+`
| kbd:[□ ■ □] | - | ovunque | Avvia la modalità cursore in questo punto. | `+/cursor go ${_x},${_y}+`
| ◽◾◽ | - | ovunque | Avvia la modalità cursore in questo punto. | `+/cursor go ${_x},${_y}+`
|===
[NOTE]
// TRANSLATION MISSING
^(1)^ Buttons: +
kbd:[◼ □ □]: click on left button +
kbd:[□ ◼ □]: click on middle button +
kbd:[□ □ ◼]: click on right button +
Wheel: +
kbd:[▲]: wheel up +
kbd:[▼]: wheel down
[NOTE]
^(1)^ kbd:[▲] and kbd:[▼] are wheel up and down.
// TRANSLATION MISSING
[[key_bindings_fset_buffer]]
@@ -1996,8 +1956,8 @@ These keys and actions are used on the fset buffer (see <<fset,Fset plugin>>).
| kbd:[F11] | `pass:[<]` | Scroll horizontally on the left. | `+/fset -left+`
| kbd:[F12] | `pass:[>]` | Scroll horizontally on the right. | `+/fset -right+`
| kbd:[Alt+Space] | `t` | Toggle boolean value. | `+/fset -toggle+`
| kbd:[Alt+-] | `-` | Subtract 1 from value for integer/color/enum, set value for other types. | `+/fset -add -1+`
| kbd:[Alt++] | `+` | Add 1 to value for integer/color/enum, append to value for other types. | `+/fset -add 1+`
| kbd:[Alt+-] | `-` | Subtract 1 from value for integer/color, set value for other types. | `+/fset -add -1+`
| kbd:[Alt++] | `+` | Add 1 to value for integer/color, append to value for other types. | `+/fset -add 1+`
| kbd:[Alt+f], kbd:[Alt+r] | `r` | Reset value. | `+/fset -reset+`
| kbd:[Alt+f], kbd:[Alt+u] | `u` | Unset value. | `+/fset -unset+`
| kbd:[Alt+Enter] | `s` | Set value. | `+/fset -set+`
@@ -2026,40 +1986,6 @@ These keys and actions are used on the fset buffer (see <<fset,Fset plugin>>).
[NOTE]
^(1)^ The action must be entered as input on the command line, followed by kbd:[Enter].
// TRANSLATION MISSING
[[key_bindings_irc_list_buffer]]
=== IRC /list buffer
These keys and actions are used on the IRC /list buffer (see command <<command_irc_list,/list>>).
[width="100%",cols="^.^3,^.^2,.^8,.^5",options="header"]
|===
| Key | Action ^(1)^ | Description | Command
| kbd:[↑] | | Move one line up. | `+/list -up+`
| kbd:[↓] | | Move one line down. | `+/list -down+`
| kbd:[PgUp] | | Move one page up. | `+/window page_up+`
| kbd:[PgDn] | | Move one page down. | `+/window page_down+`
| kbd:[Alt+Home] | `pass:[<<]` | Move to first line. | `+/list -go 0+`
| kbd:[Alt+End] | `pass:[>>]` | Move to last line. | `+/list -go end+`
| kbd:[F11] | `pass:[<]` | Scroll horizontally on the left. | `+/list -left+`
| kbd:[F12] | `pass:[>]` | Scroll horizontally on the right. | `+/list -right+`
| kbd:[Ctrl+j] | `j` | Join IRC channel on selected line. | `+/list -join+`
| | `xxx` | Show only channels with "xxx" in name or topic (case insensitive). |
| | `n:xxx` | Show only channels with "xxx" in name (case insensitive). |
| | `t:xxx` | Show only channels with "xxx" in topic (case insensitive). |
| | `u:n` | Show only channels with at least "n" users. |
| | `u:>n` | Show only channels with more than "n" users. |
| | `u:<n` | Show only channels with less than "n" users. |
| | `c:xxx` | Show only channels matching the evaluated condition "xxx", using following variables: name, name2, users, topic. |
| | `s:x,y` | Sort channels by fields x,y (see command <<command_irc_list,/list>>). |
| | `s:` | Reset sort to its default value (see command <<command_irc_list,/list>>). |
| | `$` | Refresh list (run again command <<command_irc_list,/list>>). |
| | `q` | Close buffer. | `+/buffer close+`
|===
[NOTE]
^(1)^ The action must be entered as input on the command line, followed by kbd:[Enter].
// TRANSLATION MISSING
[[key_bindings_script_buffer]]
=== Script buffer
@@ -2109,7 +2035,7 @@ Example of fset buffer displaying options starting with `weechat.look` :
│2.fset │weechat.look.bare_display_exit_on_input: exit the bare display mode on any c│
│ │hanges in input [default: on] │
│ │----------------------------------------------------------------------------│
│ │ weechat.look.align_end_of_lines enum message │
│ │ weechat.look.align_end_of_lines integer message │
│ │ weechat.look.align_multiline_words boolean on │
│ │ weechat.look.bar_more_down string "++" │
│ │ weechat.look.bar_more_left string "<<" │
@@ -2118,12 +2044,12 @@ Example of fset buffer displaying options starting with `weechat.look` :
│ │## weechat.look.bare_display_exit_on_input boolean on ##│
│ │ weechat.look.bare_display_time_format string "%H:%M" │
│ │ weechat.look.buffer_auto_renumber boolean on │
│ │ weechat.look.buffer_notify_default enum all │
│ │ weechat.look.buffer_position enum end │
│ │ weechat.look.buffer_notify_default integer all │
│ │ weechat.look.buffer_position integer end │
│ │ weechat.look.buffer_search_case_sensitive boolean off │
│ │ weechat.look.buffer_search_force_default boolean off │
│ │ weechat.look.buffer_search_regex boolean off │
│ │ weechat.look.buffer_search_where enum prefix_message │
│ │ weechat.look.buffer_search_where integer prefix_message │
│ │ weechat.look.buffer_time_format string "%H:%M:%S" │
│ │ weechat.look.buffer_time_same string "" │
│ │[12:55] [2] [fset] 2:fset │
@@ -3616,7 +3542,7 @@ irc.server.libera.autorejoin_delay integer null -> 30
irc.server.libera.away_check integer null -> 0
irc.server.libera.away_check_max_nicks integer null -> 25
irc.server.libera.capabilities string null -> "*"
irc.server.libera.charset_message enum null -> message
irc.server.libera.charset_message integer null -> message
irc.server.libera.command string null -> ""
irc.server.libera.command_delay integer null -> 0
irc.server.libera.connection_timeout integer null -> 60
@@ -3632,9 +3558,9 @@ irc.server.libera.notify string null -> ""
irc.server.libera.password string null -> ""
irc.server.libera.proxy string null -> ""
irc.server.libera.realname string null -> ""
irc.server.libera.sasl_fail enum null -> reconnect
irc.server.libera.sasl_fail integer null -> reconnect
irc.server.libera.sasl_key string null -> ""
irc.server.libera.sasl_mechanism enum null -> plain
irc.server.libera.sasl_mechanism integer null -> plain
irc.server.libera.sasl_password string "${sec.data.libera}"
irc.server.libera.sasl_timeout integer null -> 15
irc.server.libera.sasl_username string "alice"
@@ -4376,7 +4302,7 @@ Ad esempio, per personalizzare la richiesta CTCP "VERSIONE", utilizzare il
seguente comando:
----
/set irc.ctcp.version "Uso WeeChat ${version}, fico!"
/set irc.ctcp.version "Uso WeeChat $version, fico!"
----
// TRANSLATION MISSING
@@ -4402,7 +4328,7 @@ può rispondere "BLABLA":
interno prima del nome CTCP:
----
/set irc.ctcp.libera.version "WeeChat ${version} (per libera)"
/set irc.ctcp.libera.version "WeeChat $version (per libera)"
----
Se si desidera ripristinare la risposta CTCP standard, allora disabilitare
@@ -4412,27 +4338,24 @@ l'opzione:
/unset irc.ctcp.version
----
// TRANSLATION MISSING
The CTCP replies are evaluated (see command <<command_weechat_eval,/eval>>) and
the following extra variables are available:
I codici seguenti possono essere utilizzati nelle stringhe e vengono estese
automaticamente da WeeChat quando si risponde alle CTCP
[width="100%",cols="2,4,8",options="header"]
// TRANSLATION MISSING ($versiongit + $git + $username (name))
[width="100%",cols="2l,4,8",options="header"]
|===
// TRANSLATION MISSING
| Variable | Descrizione | Valore/esempio
| `+${clientinfo}+` | Elenco di CTCP supportate | `+ACTION DCC CLIENTINFO FINGER PING SOURCE TIME USERINFO VERSION+`
| `+${version}+` | Versione di WeeChat | `+4.1.0-dev+`
// TRANSLATION MISSING
| `+${versiongit}+` | Versione di WeeChat + Git version ^(1)^ | `+4.1.0-dev (git: v4.0.0-51-g8f98b922a)+`
// TRANSLATION MISSING
| `+${git}+` | Git version ^(1)^ | `+v4.0.0-51-g8f98b922a+`
| `+${compilation}+` | Data di compilazione di WeeChat | `+Jul 8 2023 20:14:23+`
| `+${osinfo}+` | Informazioni sull'OS | `+Linux 5.10.0-23-amd64 / x86_64+`
| `+${site}+` | Sito di WeeChat | `+https://weechat.org/+`
| `+${download}+` | Sito di WeeChat, pagina di download | `+https://weechat.org/download/+`
| `+${time}+` | Data/ora correnti | `+Sat, 08 Jul 2023 21:11:19 +0200+`
| `+${username}+` | Nome utente sul server IRC | `+name+`
| `+${realname}+` | Nome reale sul server IRC | `+John Doe+`
| Codice | Descrizione | Valore/esempio
| $clientinfo | Elenco di CTCP supportate | `+ACTION DCC CLIENTINFO FINGER PING SOURCE TIME USERINFO VERSION+`
| $version | Versione di WeeChat | `+0.4.0-dev+`
| $versiongit | Versione di WeeChat + Git version ^(1)^ | `+0.4.0-dev (git: v0.3.9-104-g7eb5cc4)+`
| $git | Git version ^(1)^ | `+v0.3.9-104-g7eb5cc4+`
| $compilation | Data di compilazione di WeeChat | `+Dec 16 2012+`
| $osinfo | Informazioni sull'OS | `+Linux 2.6.32-5-amd64 / x86_64+`
| $site | Sito di WeeChat | `+https://weechat.org/+`
| $download | Sito di WeeChat, pagina di download | `+https://weechat.org/download/+`
| $time | Data/ora correnti | `+Sun, 16 Dec 2012 10:40:48 +0100+`
| $username | Nome utente sul server IRC | `+name+`
| $realname | Nome reale sul server IRC | `+John Doe+`
|===
// TRANSLATION MISSING
@@ -4440,18 +4363,19 @@ the following extra variables are available:
^(1)^ The Git version is the output of command `git describe`. It is known only
if WeeChat has been compiled inside the Git repository and if Git was installed.
// TRANSLATION MISSING
The default CTCP replies are:
Se le opzioni CTCP non sono definite (comportamento predefinito),
le risposte CTCP sono:
// TRANSLATION MISSING ($username (name))
[width="100%",cols="2,4,8",options="header"]
|===
| CTCP | Formato risposta | Esempio
| CLIENTINFO | `+${clientinfo}+` | `+ACTION DCC CLIENTINFO FINGER PING SOURCE TIME USERINFO VERSION+`
| FINGER | `+WeeChat ${version}+` | `+WeeChat 4.1.0-dev+`
| SOURCE | `+${download}+` | `+https://weechat.org/download/+`
| TIME | `+${time}+` | `+Sat, 08 Jul 2023 21:11:19 +0200+`
| USERINFO | `+${username} (${realname})+` | `+name (John Doe)+`
| VERSION | `+WeeChat ${version}+` | `+WeeChat 4.1.0-dev+`
| CTCP | Formato risposta | Esempio
| CLIENTINFO | `+$clientinfo+` | `+ACTION DCC CLIENTINFO FINGER PING SOURCE TIME USERINFO VERSION+`
| FINGER | `+WeeChat $versiongit+` | `+WeeChat 0.4.0-dev (git: v0.3.9-104-g7eb5cc4)+`
| SOURCE | `+$download+` | `+https://weechat.org/download/+`
| TIME | `+$time+` | `+Sun, 16 Dec 2012 10:40:48 +0100+`
| USERINFO | `+$username ($realname)+` | `+name (John Doe)+`
| VERSION | `+WeeChat $versiongit ($compilation)+` | `+WeeChat 0.4.0-dev (git: v0.3.9-104-g7eb5cc4) (Dec 16 2012)+`
|===
[[irc_target_buffer]]
-6
View File
@@ -295,8 +295,6 @@ WeeChat "core" は以下のディレクトリに配置されています:
|       irc-input.c | コマンドおよびテキストの入力
// TRANSLATION MISSING
|       irc-join.c | Functions for list of channels to join.
// TRANSLATION MISSING
|       irc-list.c | Buffer for reply to /list command.
|       irc-message.c | IRC メッセージを操作する関数
|       irc-mode.c | チャンネルおよびニックネームのモードを操作する関数
|       irc-modelist.c | IRC チャンネルモードリスト (+b、+e、+I、...).
@@ -481,14 +479,10 @@ WeeChat "core" は以下のディレクトリに配置されています:
|             test-irc-color.cpp | Tests: IRC colors.
|             test-irc-config.cpp | テスト: IRC 設定
// TRANSLATION MISSING
|             test-irc-ctcp.cpp | Tests: IRC CTCP.
// TRANSLATION MISSING
|             test-irc-ignore.cpp | Tests: IRC ignores.
// TRANSLATION MISSING
|             test-irc-join.cpp | Tests: IRC join functions.
// TRANSLATION MISSING
|             test-irc-list.cpp | Tests: IRC buffer for reply to /list command.
// TRANSLATION MISSING
|             test-irc-message.cpp | Tests: IRC messages.
// TRANSLATION MISSING
|             test-irc-mode.cpp | Tests: IRC modes.
+3 -20
View File
@@ -626,13 +626,6 @@ macOS のターミナル.app を使っている場合、設定メニューのキ
/trigger add numberjump modifier "2000|input_text_for_buffer" "${tg_string} =~ ^/[0-9]+$" "=\/([0-9]+)=/buffer *${re:1}=" "" "" "none"
----
// TRANSLATION MISSING
For an easy jump to buffers, you can also install the _go.py_ script:
----
/script install go.py
----
[[global_history]]
=== どうすればグローバルヒストリを (バッファヒストリの代わりに) 上下矢印キーで使えますか。
@@ -1111,10 +1104,7 @@ spell プラグインをリロードしてください:
以下に挙げる <<memory_usage,memory>> に関するヒントに従ってください:
// TRANSLATION MISSING
* "nicklist" バーを非表示にする: `/bar hide nicklist` (key: kbd:[Alt+Shift+N]).
// TRANSLATION MISSING
* Disable "buflist": `/buflist disable` (key: kbd:[Alt+Shift+B]).
* "nicklist" バーを非表示にする: `/bar hide nicklist`
* ステータスバー時間に秒の表示を止める:
`+/set weechat.look.item_time_format "%H:%M"+` (これはデフォルト値です)
* コマンドライン内の単語スペルミスのリアルタイムチェックを無効にする (有効にしていた場合):
@@ -1136,21 +1126,14 @@ IRC の退出および終了メッセージを無効化します:
----
/set irc.ctcp.clientinfo ""
/set irc.ctcp.finger ""
/set irc.ctcp.source ""
/set irc.ctcp.time ""
/set irc.ctcp.userinfo ""
/set irc.ctcp.version ""
/set irc.ctcp.ping ""
----
// TRANSLATION MISSING
With WeeChat < 4.1.0, other CTCP queries were replied by default and must be
disabled as well:
----
/set irc.ctcp.finger ""
/set irc.ctcp.userinfo ""
----
"xfer" プラグイン (これは IRC DCC 機能を使うためのものです) をアンロードして自動ロードを無効化します:
----
+71 -194
View File
@@ -6784,9 +6784,10 @@ my_section_read_cb (const void *pointer, void *data,
{
/* ... */
return WEECHAT_CONFIG_READ_OK;
/* return WEECHAT_CONFIG_READ_MEMORY_ERROR; */
/* return WEECHAT_CONFIG_READ_FILE_NOT_FOUND; */
return WEECHAT_CONFIG_OPTION_SET_OK_CHANGED;
/* return WEECHAT_CONFIG_OPTION_SET_OK_SAME_VALUE; */
/* return WEECHAT_CONFIG_OPTION_SET_ERROR; */
/* return WEECHAT_CONFIG_OPTION_SET_OPTION_NOT_FOUND; */
}
int
@@ -6876,7 +6877,7 @@ def config_new_section(config_file: str, name: str,
callback_delete_option: str, callback_delete_option_data: str) -> str: ...
# 例
def my_section_read_cb(data: str, config_file: str, section: str, option_name: str, value: str | None) -> int:
def my_section_read_cb(data: str, config_file: str, section: str, option_name: str, value: Union[str, None]) -> int:
# ...
return weechat.WEECHAT_CONFIG_OPTION_SET_OK_CHANGED
# return weechat.WEECHAT_CONFIG_OPTION_SET_OK_SAME_VALUE
@@ -6895,7 +6896,7 @@ def my_section_write_default_cb(data: str, config_file: str, section_name: str)
# return weechat.WEECHAT_CONFIG_WRITE_ERROR
# return weechat.WEECHAT_CONFIG_WRITE_MEMORY_ERROR
def my_section_create_option_cb(data: str, config_file: str, section: str, option_name: str, value: str | None) -> int:
def my_section_create_option_cb(data: str, config_file: str, section: str, option_name: str, value: Union[str, None]) -> int:
# ...
return weechat.WEECHAT_CONFIG_OPTION_SET_OK_CHANGED
# return weechat.WEECHAT_CONFIG_OPTION_SET_OK_SAME_VALUE
@@ -6960,8 +6961,7 @@ section = weechat.config_search_section(config_file, "section")
==== config_new_option
// TRANSLATION MISSING
_Updated in 1.5, 4.1.0._
_WeeChat バージョン 1.5 で更新。_
設定ファイルのあるセクションに新しいオプションを作成。
@@ -7009,15 +7009,12 @@ struct t_config_option *weechat_config_new_option (
"name << file.section.option"
* _type_: オプションの型:
** _boolean_: ブール値 (on/off)
** _integer_: 整数値
** _integer_: 整数値 (任意で文字列を受けるようにすることも可)
** _string_: 文字列
** _color_: 色
// TRANSLATION MISSING
** _enum_: list of string values (stored as integer internally)
* _description_: オプションの説明
// TRANSLATION MISSING
* _string_values_: 文字列で値を受ける
(`+|+` で区切る) (optional, required for type _enum_)
(`+|+` で区切る)、_integer_ 型の場合に使う (任意)
* _min_: 最小値 (_integer_ 型で有効)
* _max_: 最大値 (_integer_ 型で有効)
* _default_value_: オプションのデフォルト値 (オプションをリセットした際に使われる)
@@ -7068,8 +7065,8 @@ C 言語での使用例:
[source,c]
----
/* boolean */
struct t_config_option *option_bool =
weechat_config_new_option (config_file, section, "option_bool", "boolean",
struct t_config_option *option1 =
weechat_config_new_option (config_file, section, "option1", "boolean",
"My option, type boolean",
NULL,
0, 0,
@@ -7081,8 +7078,8 @@ struct t_config_option *option_bool =
NULL, NULL, NULL);
/* integer */
struct t_config_option *option_int =
weechat_config_new_option (config_file, section, "option_int", "integer",
struct t_config_option *option2 =
weechat_config_new_option (config_file, section, "option2", "integer",
"My option, type integer",
NULL,
0, 100,
@@ -7093,9 +7090,22 @@ struct t_config_option *option_int =
NULL, NULL, NULL,
NULL, NULL, NULL);
/* integer (with string values) */
struct t_config_option *option3 =
weechat_config_new_option (config_file, section, "option3", "integer",
"My option, type integer (with string values)",
"top|bottom|left|right",
0, 0,
"bottom",
"bottom",
0,
NULL, NULL, NULL,
NULL, NULL, NULL,
NULL, NULL, NULL);
/* string */
struct t_config_option *option_str =
weechat_config_new_option (config_file, section, "option_str", "string",
struct t_config_option *option4 =
weechat_config_new_option (config_file, section, "option4", "string",
"My option, type string",
NULL,
0, 0,
@@ -7107,8 +7117,8 @@ struct t_config_option *option_str =
NULL, NULL, NULL);
/* color */
struct t_config_option *option_col =
weechat_config_new_option (config_file, section, "option_col", "color",
struct t_config_option *option5 =
weechat_config_new_option (config_file, section, "option5", "color",
"My option, type color",
NULL,
0, 0,
@@ -7118,19 +7128,6 @@ struct t_config_option *option_col =
NULL, NULL, NULL,
NULL, NULL, NULL,
NULL, NULL, NULL);
/* enum */
struct t_config_option *option_enum =
weechat_config_new_option (config_file, section, "option_enum", "enum",
"My option, type enum",
"top|bottom|left|right",
0, 0,
"bottom",
"bottom",
0,
NULL, NULL, NULL,
NULL, NULL, NULL,
NULL, NULL, NULL);
----
スクリプト (Python) での使用例:
@@ -7140,55 +7137,55 @@ struct t_config_option *option_enum =
# プロトタイプ
def config_new_option(config_file: str, section: str, name: str, type: str, description: str,
string_values: str, min: int, max: int,
default_value: str | None, value: str | None, null_value_allowed: int,
default_value: Union[str, None], value: Union[str, None], null_value_allowed: int,
callback_check_value: str, callback_check_value_data: str,
callback_change: str, callback_change_data: str,
callback_delete: str, callback_delete_data: str) -> str: ...
# 例
def option_str_check_value_cb(data: str, option: str, value: str) -> int:
def option4_check_value_cb(data: str, option: str, value: str) -> int:
# ...
return 1
# return 0
def option_str_change_cb(data: str, option: str) -> None:
def option4_change_cb(data: str, option: str) -> None:
# ...
def option_str_delete_cb(data: str, option: str) -> None:
def option4_delete_cb(data: str, option: str) -> None:
# ...
option_bool = weechat.config_new_option(config_file, section, "option_bool", "boolean",
option1 = weechat.config_new_option(config_file, section, "option1", "boolean",
"My option, type boolean",
"", 0, 0, "on", "on", 0,
"", "",
"", "",
"", "")
option_int = weechat.config_new_option(config_file, section, "option_int", "integer",
option2 = weechat.config_new_option(config_file, section, "option2", "integer",
"My option, type integer",
"", 0, 100, "15", "15", 0,
"", "",
"", "",
"", "")
option_str = weechat.config_new_option(config_file, section, "option_str", "string",
"My option, type string",
"", 0, 0, "test", "test", 1,
"option_str_check_value_cb", "",
"option_str_change_cb", "",
"option_str_delete_cb", "")
option_col = weechat.config_new_option(config_file, section, "option_col", "color",
"My option, type color",
"", 0, 0, "lightblue", "lightblue", 0,
option3 = weechat.config_new_option(config_file, section, "option3", "integer",
"My option, type integer (with string values)",
"top|bottom|left|right",
0, 0, "bottom", "bottom", 0,
"", "",
"", "",
"", "")
option_enum = weechat.config_new_option(config_file, section, "option_enum", "enum",
"My option, type enum",
"top|bottom|left|right",
0, 0, "bottom", "bottom", 0,
option4 = weechat.config_new_option(config_file, section, "option4", "string",
"My option, type string",
"", 0, 0, "test", "test", 1,
"option4_check_value_cb", "",
"option4_change_cb", "",
"option4_delete_cb", "")
option5 = weechat.config_new_option(config_file, section, "option5", "color",
"My option, type color",
"", 0, 0, "lightblue", "lightblue", 0,
"", "",
"", "",
"", "")
@@ -7472,8 +7469,7 @@ int weechat_config_option_set (struct t_config_option *option,
オプションの新しい値、オプションのタイプによって以下の特殊値を取ることも可能です:
** _ブール型_:
*** `toggle`: 現在の値を切り替える
// TRANSLATION MISSING
** _integer_, _color_ or _enum_:
** _整数型_ または _色_:
*** `++N`: 現在の値に `N` (任意の整数) を加える
*** `--N`: 現在の値から `N` (任意の整数) を引く
* _run_callback_: オプションが変更された際に、_callback_change_ コールバックを呼び出す場合は
@@ -7707,7 +7703,6 @@ const char *weechat_config_option_get_string (struct t_config_option *option,
*** _integer_
*** _string_
*** _color_
*** _enum_
** _description_: オプションの説明
戻り値:
@@ -7881,7 +7876,6 @@ int weechat_config_boolean (struct t_config_option *option);
* _integer_: 0
* _string_: 0
* _color_: 0
* _enum_: 0
C 言語での使用例:
@@ -7932,7 +7926,6 @@ int weechat_config_boolean_default (struct t_config_option *option);
* _integer_: 0
* _string_: 0
* _color_: 0
* _enum_: 0
C 言語での使用例:
@@ -7983,8 +7976,6 @@ int weechat_config_integer (struct t_config_option *option);
* _integer_: オプションの整数値
* _string_: 0
* _color_: 色インデックス
// TRANSLATION MISSING
* _enum_: integer value of option (index of enum value)
C 言語での使用例:
@@ -8027,8 +8018,6 @@ int weechat_config_integer_default (struct t_config_option *option);
* _integer_: オプションのデフォルト整数値
* _string_: 0
* _color_: デフォルト色インデックス
// TRANSLATION MISSING
* _enum_: default integer value of option (index of enum value)
C 言語での使用例:
@@ -8068,11 +8057,10 @@ const char *weechat_config_string (struct t_config_option *option);
戻り値、オプションの型に依存:
* _boolean_: 値が真の場合は "on"、それ以外の場合は "off"
* _integer_: NULL
* _integer_: 値が文字列に対応付けられている場合はその文字列値、それ以外の場合は
NULL
* _string_: オプションの文字列値
* _color_: 色名
// TRANSLATION MISSING
* _enum_: string value of option
C 言語での使用例:
@@ -8112,11 +8100,10 @@ const char *weechat_config_string_default (struct t_config_option *option);
戻り値、オプションの型に依存:
* _boolean_: デフォルト値が真の場合は "on"、それ以外の場合は "off"
* _integer_: NULL
* _integer_: デフォルト値が文字列に対応付けられている場合はその文字列値、それ以外の場合は
NULL
* _string_: オプションのデフォルト文字列値
* _color_: デフォルト色名
// TRANSLATION MISSING
* _enum_: default string value of option
C 言語での使用例:
@@ -8159,7 +8146,6 @@ const char *weechat_config_color (struct t_config_option *option);
* _integer_: NULL
* _string_: NULL
* _color_: 色名
* _enum_: NULL
C 言語での使用例:
@@ -8202,7 +8188,6 @@ const char *weechat_config_color_default (struct t_config_option *option);
* _integer_: NULL
* _string_: NULL
* _color_: デフォルト色名
* _enum_: NULL
C 言語での使用例:
@@ -8224,98 +8209,6 @@ option = weechat.config_get("plugin.section.option")
value = weechat.config_color_default(option)
----
// TRANSLATION MISSING
==== config_enum
_WeeChat ≥ 4.1.0._
Return enum value of option, as integer.
Prototype:
[source,c]
----
int weechat_config_enum (struct t_config_option *option);
----
Arguments:
* _option_: option pointer
Return value, depending on the option type:
* _boolean_: boolean value of option (0 or 1)
* _integer_: integer value of option
* _string_: 0
* _color_: color index
* _enum_: integer value of option (index of enum value)
C example:
[source,c]
----
struct t_config_option *option = weechat_config_get ("plugin.section.option");
int value = weechat_config_enum (option);
----
Script (Python):
[source,python]
----
# prototype
def config_enum(option: str) -> int: ...
# example
option = weechat.config_get("plugin.section.option")
value = weechat.config_enum(option)
----
// TRANSLATION MISSING
==== config_enum_default
_WeeChat ≥ 4.1.0._
Return default enum value of option, as integer.
Prototype:
[source,c]
----
int weechat_config_enum_default (struct t_config_option *option);
----
Arguments:
* _option_: option pointer
Return value, depending on the option type:
* _boolean_: default boolean value of option (0 or 1)
* _integer_: default integer value of option
* _string_: 0
* _color_: default color index
* _enum_: integer value of option (index of enum value)
C example:
[source,c]
----
struct t_config_option *option = weechat_config_get ("plugin.section.option");
int value = weechat_config_enum_default (option);
----
Script (Python):
[source,python]
----
# prototype
def config_enum_default(option: str) -> int: ...
# example
option = weechat.config_get("plugin.section.option")
value = weechat.config_enum_default(option)
----
==== config_write_option
設定ファイルにオプションとその値を収めた行を書き込む (この関数をセクションの
@@ -10741,7 +10634,7 @@ hook = weechat.hook_connect("", "my.server.org", 1234, 1, 0, "",
==== hook_line
// TRANSLATION MISSING
_WeeChat ≥ 2.3, updated in 3.7, 4.1.0._
_WeeChat ≥ 2.3, updated in 3.7._
バッファに対する行表示をフックする。
@@ -10811,16 +10704,14 @@ struct t_hook *weechat_hook_line (const char *buffer_type,
|===
| キー | 値 (フォーマット済みバッファ) | 値 (自由内容バッファ) | 例
// TRANSLATION MISSING
| buffer
| Comma-separated list of buffer pointers.
| Comma-separated list of buffer pointers.
| バッファポインタ
| バッファポインタ
| `+0x1234abcd+`
// TRANSLATION MISSING
| buffer_name
| Comma-separated list of buffer names.
| Comma-separated list of buffer names.
| バッファ名
| バッファ名
| `+core.weechat+` +
`+irc.server.libera+` +
`+irc.libera.#weechat+`
@@ -10908,23 +10799,17 @@ WeeChat はそれらを無視します。
|===
| キー | 設定可能な値 (フォーマット済みバッファ) | 設定可能な値 (自由内容バッファ) | 結果
// TRANSLATION MISSING
| buffer
| Comma-separated list buffer pointers (with formatted content)
(multiple buffers are supported only with WeeChat ≥ 4.1.0).
| Comma-separated list buffer pointers (with free content)
(multiple buffers are supported only with WeeChat ≥ 4.1.0).
| The line is displayed on these buffers. +
| フォーマット済みバッファへのポインタ
| 自由内容バッファへのポインタ
| 行を表示するバッファ。 +
この値が空の場合、行は削除されます (ハッシュテーブルに含まれるその他の情報も無視されます);
"line" 型の次のフックも呼び出されません。
// TRANSLATION MISSING
| buffer_name
| Comma-separated list buffer names (with formatted content)
(multiple buffers are supported only with WeeChat ≥ 4.1.0).
| Comma-separated list buffer names (with free content)
(multiple buffers are supported only with WeeChat ≥ 4.1.0).
| The line is displayed on these buffers. +
| フォーマット済み内容バッファの名前.
| 自由内容バッファの名前
| 行を表示するバッファ。 +
`buffer` と `+buffer_name+` の両方が設定された場合、`+buffer_name+` の値が優先されます +
この値が空の場合、行は削除されます (ハッシュテーブルに含まれるその他の情報も無視されます);
"line" 型の次のフックも呼び出されません。
@@ -13167,7 +13052,7 @@ struct t_hook *my_hdata = weechat_hook_hdata ("my_hdata",
==== hook_focus
_WeeChat バージョン 1.5, 4.0.0, 4.1.0 で更新。_
_WeeChat バージョン 1.5 で更新。_
フォーカス (マウスイベントやカーソルモード
(カーソルが自由に移動出来る状態) でキーが押されたこと) をフック。
@@ -13284,26 +13169,18 @@ info を使う前にエリアが一致していることを確認して下さい
| "Hello world!" | ""
// TRANSLATION MISSING
| _chat_focused_line | Line at (x, y) _(WeeChat ≥ 4.0.0)_.
| _chat_focused_line | Line at (x,y) _(WeeChat ≥ 4.0.0)_.
| "Hello world!" | ""
// TRANSLATION MISSING
| _chat_focused_line_bol | Text from beginning of line to (x-1, y) _(WeeChat ≥ 4.1.0)_.
| "Hello" | ""
// TRANSLATION MISSING
| _chat_focused_line_eol | Text from (x, y) to end of line _(WeeChat ≥ 4.1.0)_.
| "llo world!" | ""
| _chat_word | (x,y) の位置にある単語
| "Hello" | ""
// TRANSLATION MISSING
| _chat_bol | Text from beginning of message to (x-1, y).
| _chat_bol | Text from beginning of line to (x-1, y).
| "He" | ""
// TRANSLATION MISSING
| _chat_eol | Text from (x, y) to the end of message.
| _chat_eol | Text from (x, y) to the end of line.
| "llo world!" | ""
| _bar_name | バーの名前
@@ -17876,7 +17753,7 @@ int weechat_hdata_get_var_offset (struct t_hdata *hdata, const char *name);
戻り値:
* オフセットの値、エラーが起きた場合は -1
* オフセットの値、エラーが起きた場合は 0
C 言語での使用例:
+101 -181
View File
@@ -127,7 +127,7 @@ WeeChat:
| pkg-config |
| インストール済みライブラリを検出
| libncurses-dev |
| libncursesw5-dev ^(2)^ |
| ncurses インターフェース
| libcurl4-gnutls-dev |
@@ -137,7 +137,7 @@ WeeChat:
| 保護データ、IRC SASL 認証
// TRANSLATION MISSING
| libgnutls28-dev | ≥ 2.2.0 ^(2)^
| libgnutls28-dev | ≥ 2.2.0 ^(3)^
| IRC plugin: support of TLS connections, IRC SASL authentication (ECDSA-NIST256P-CHALLENGE). +
Relay plugin: support of TLS connections.
@@ -157,7 +157,10 @@ WeeChat:
// TRANSLATION MISSING
^(1)^ Name comes from the Debian GNU/Linux Bookworm distribution, version and
name can be different in other distributions. +
^(2)^ IRC SASL 認証で ECDSA-NIST256P-CHALLENGE を使うには、GnuTLS
^(2)^ WeeChat は libncurses**w**5-dev でコンパイルすることを推奨します
(*w* が重要です)。libncurses5-dev でもコンパイル可能ですが、これは推奨
*されません* (ワイドキャラクタの表示にバグを生じるでしょう)。 +
^(3)^ IRC SASL 認証で ECDSA-NIST256P-CHALLENGE を使うには、GnuTLS
バージョン 3.0.21 以上が必要です。
// TRANSLATION MISSING
@@ -1409,8 +1412,7 @@ By default WeeChat and its default plugins interpret these variables:
| filter
| any string
| Filter defined on some buffers like `/fset`, `/list` (irc), `/server raw` (irc)
and `/script`.
| Filter defined on some buffers like `/fset`, `/server raw` (irc) and `/script`.
| host
| any string
@@ -1518,22 +1520,6 @@ _buflist.conf_ ファイル内のセクション:
include::{autogendir}/autogen_user_options.ja.adoc[tag=buflist_options]
// TRANSLATION MISSING
[[cursor_mode]]
=== Cursor mode
The cursor mode allows you to move freely the cursor anywhere on screen, in chat
area and bars, and lets you perform actions at the given position. +
You can enter in cursor mode either with the command `/cursor` or with a mouse
middle click (mouse must have been enabled with key kbd:[Alt+m] or command
`/mouse enable`).
Typical use is to quote messages (chat area) or interact with nicks (nicklist bar).
See command <<command_weechat_cursor,/cursor>> and
<<key_bindings_cursor_context,key bindings in cursor context>> for the list
of actions you can perform in this mode.
// TRANSLATION MISSING
[[key_bindings]]
== Key bindings
@@ -1791,46 +1777,32 @@ kbd:[Ctrl+r] が押された状態) でのみ有効です。
[[key_bindings_cursor_context]]
=== Cursor context
// TRANSLATION MISSING
以下のキーは「カーソル」モード (画面上でカーソルを自由に動かせる状態) でのみ有効です,
see <<cursor_mode,Cursor mode>>.
以下のキーは「カーソル」モード (画面上でカーソルを自由に動かせる状態) でのみ有効です。
[width="100%",cols="^.^3,^.^2,.^7,.^7",options="header"]
|===
| キー | エリア | 説明 | コマンド
| kbd:[↑] | - | カーソルを上の行に移動 | `+/cursor move up+`
| kbd:[↓] | - | カーソルを下の行に移動 | `+/cursor move down+`
| kbd:[←] | - | カーソルを左の列に移動 | `+/cursor move left+`
| kbd:[→] | - | カーソルを右の列に移動 | `+/cursor move right+`
| キー | エリア | 説明 | コマンド
| kbd:[↑] | - | カーソルを上の行に移動 | `+/cursor move up+`
| kbd:[↓] | - | カーソルを下の行に移動 | `+/cursor move down+`
| kbd:[←] | - | カーソルを左の列に移動 | `+/cursor move left+`
| kbd:[→] | - | カーソルを右の列に移動 | `+/cursor move right+`
| kbd:[Alt+↑] | - | カーソルを上のエリアに移動 | `+/cursor move area_up+`
| kbd:[Alt+↓] | - | カーソルを下のエリアに移動 | `+/cursor move area_down+`
| kbd:[Alt+←] | - | カーソルを左のエリアに移動 | `+/cursor move area_left+`
| kbd:[Alt+→] | - | カーソルを右のエリアに移動 | `+/cursor move area_right+`
| kbd:[m] | チャット | メッセージを引用 | `+hsignal:chat_quote_message;/cursor stop+`
// TRANSLATION MISSING
| kbd:[Alt+↑] | - | Move cursor to the first line of the area. | `+/cursor move edge_top+`
// TRANSLATION MISSING
| kbd:[Alt+↓] | - | Move cursor to the last line of the area. | `+/cursor move edge_bottom+`
// TRANSLATION MISSING
| kbd:[Alt+←] | - | Move cursor to the first column of the area. | `+/cursor move edge_left+`
// TRANSLATION MISSING
| kbd:[Alt+→] | - | Move cursor to the last column of the area. | `+/cursor move edge_right+`
// TRANSLATION MISSING
| kbd:[Alt+Home] | - | Move cursor to the top left corner of the area. | `+/cursor move top_left+`
// TRANSLATION MISSING
| kbd:[Alt+End] | - | Move cursor to the bottom right corner of the area. | `+/cursor move bottom_right+`
| kbd:[Alt+Shift+↑] | - | カーソルを上のエリアに移動 | `+/cursor move area_up+`
| kbd:[Alt+Shift+↓] | - | カーソルを下のエリアに移動 | `+/cursor move area_down+`
| kbd:[Alt+Shift+←] | - | カーソルを左のエリアに移動 | `+/cursor move area_left+`
| kbd:[Alt+Shift+→] | - | カーソルを右のエリアに移動 | `+/cursor move area_right+`
| kbd:[m] | チャット | メッセージを引用 | `+hsignal:chat_quote_message;/cursor stop+`
// TRANSLATION MISSING
| kbd:[l] | チャット | Quote focused line. | `+hsignal:chat_quote_focused_line;/cursor stop+`
| kbd:[q] | チャット | プレフィックスとメッセージを引用 | `+hsignal:chat_quote_prefix_message;/cursor stop+`
| kbd:[Q] | チャット | 時間、プレフィックス、メッセージを引用 | `+hsignal:chat_quote_time_prefix_message;/cursor stop+`
| kbd:[b] | ニックネームリスト | ニックネームをバンする | `+/window ${_window_number};/ban ${nick}+`
| kbd:[k] | ニックネームリスト | ニックネームをキックする | `+/window ${_window_number};/kick ${nick}+`
| kbd:[K] | ニックネームリスト | ニックネームをバンとキックする | `+/window ${_window_number};/kickban ${nick}+`
| kbd:[q] | ニックネームリスト | ニックネームに対するクエリを開く | `+/window ${_window_number};/query ${nick};/cursor stop+`
| kbd:[w] | ニックネームリスト | ニックネームに対して whois を行う | `+/window ${_window_number};/whois ${nick}+`
| kbd:[l] | チャット | Quote focused line. | `+hsignal:chat_quote_focused_line;/cursor stop+`
| kbd:[q] | チャット | プレフィックスとメッセージを引用 | `+hsignal:chat_quote_prefix_message;/cursor stop+`
| kbd:[Q] | チャット | 時間、プレフィックス、メッセージを引用 | `+hsignal:chat_quote_time_prefix_message;/cursor stop+`
| kbd:[b] | ニックネームリスト| ニックネームをバンする | `+/window ${_window_number};/ban ${nick}+`
| kbd:[k] | ニックネームリスト| ニックネームをキックする | `+/window ${_window_number};/kick ${nick}+`
| kbd:[K] | ニックネームリスト| ニックネームをバンとキックする | `+/window ${_window_number};/kickban ${nick}+`
| kbd:[q] | ニックネームリスト| ニックネームに対するクエリを開く | `+/window ${_window_number};/query ${nick};/cursor stop+`
| kbd:[w] | ニックネームリスト| ニックネームに対して whois を行う | `+/window ${_window_number};/whois ${nick}+`
| kbd:[Enter] +
kbd:[Ctrl+j] +
kbd:[Ctrl+m] | - | カーソルモードを終了 | `+/cursor stop+`
kbd:[Ctrl+m] | - | カーソルモードを終了 | `+/cursor stop+`
|===
// TRANSLATION MISSING
@@ -1844,71 +1816,56 @@ These mouse actions are possible only if mouse is enabled with key kbd:[Alt+m]
[width="100%",cols="^.^3,^.^3,^.^3,.^8,.^8",options="header"]
|===
| ボタン/ホイール ^(1)^ | ジェスチャー | エリア | 説明 | コマンド
| kbd:[■ □ □] | - | チャット | ウィンドウに移動 | `+/window ${_window_number}+`
| kbd:[■ □ □] | 左 | チャット | 前のバッファに移動 | `+/window ${_window_number};/buffer +1+`
| kbd:[■ □ □] | 右 | チャット | 次のバッファに移動 | `+/window ${_window_number};/buffer +1+`
| kbd:[■ □ □] | 左 (長く) | チャット | 最初のバッファに移動 | `+/window ${_window_number};/buffer 1+`
| kbd:[■ □ □] | 右 (長く) | チャット | 最後のバッファに移動 | `+/window ${_window_number};/buffer ++`
| kbd:[▲] | - | チャット | バッファ履歴を上方向にスクロール | `+/window scroll_up -window ${_window_number}+`
| kbd:[▼] | - | チャット | バッファ履歴を下方向にスクロール | `+/window scroll_down -window ${_window_number}+`
| kbd:[Ctrl+▲] | - | チャット | 水平左方向にスクロール | `+/window scroll_horiz -window ${_window_number} -10%+`
| kbd:[Ctrl+▼] | - | チャット | 水平右方向にスクロール | `+/window scroll_horiz -window ${_window_number} +10%+`
| ◾◽◽ | - | チャット | ウィンドウに移動 | `+/window ${_window_number}+`
| ◾◽◽ | 左 | チャット | 前のバッファに移動 | `+/window ${_window_number};/buffer +1+`
| ◾◽◽ | 右 | チャット | 次のバッファに移動 | `+/window ${_window_number};/buffer +1+`
| ◾◽◽ | 左 (長く) | チャット | 最初のバッファに移動 | `+/window ${_window_number};/buffer 1+`
| ◾◽◽ | 右 (長く) | チャット | 最後のバッファに移動 | `+/window ${_window_number};/buffer ++`
| kbd:[▲] | - | チャット | バッファ履歴を上方向にスクロール | `+/window scroll_up -window ${_window_number}+`
| kbd:[▼] | - | チャット | バッファ履歴を下方向にスクロール | `+/window scroll_down -window ${_window_number}+`
| kbd:[Ctrl+▲] | - | チャット | 水平左方向にスクロール | `+/window scroll_horiz -window ${_window_number} -10%+`
| kbd:[Ctrl+▼] | - | チャット | 水平右方向にスクロール | `+/window scroll_horiz -window ${_window_number} +10%+`
// TRANSLATION MISSING
| kbd:[▲] | - | chat: fset buffer | Move five lines up in fset buffer. | `+/fset -up 5+`
| kbd:[▲] | - | chat: fset buffer | Move five lines up in fset buffer. | `+/fset -up 5+`
// TRANSLATION MISSING
| kbd:[▼] | - | chat: fset buffer | Move five lines down in fset buffer. | `+/fset -down 5+`
| kbd:[▼] | - | chat: fset buffer | Move five lines down in fset buffer. | `+/fset -down 5+`
// TRANSLATION MISSING
| kbd:[■ □ □] | - | chat: fset buffer | Select line in fset buffer. | `+/window ${_window_number};/fset -go ${fset_option_index}+`
| ◾◽◽ | - | chat: fset buffer | Select line in fset buffer. | `+/window ${_window_number};/fset -go ${_chat_line_y}+`
// TRANSLATION MISSING
| kbd:[□ □ ■] | - | chat: fset buffer | Toggle boolean (on/off) or edit the option value. | `+hsignal:fset_mouse+`
| ◽◽◾ | - | chat: fset buffer | Toggle boolean (on/off) or edit the option value. | `+hsignal:fset_mouse+`
// TRANSLATION MISSING
| kbd:[□ □ ■] | left | chat: fset buffer | Decrease value for integer/color/enum, set/append to value for other types. | `+hsignal:fset_mouse+`
| ◽◽◾ | left | chat: fset buffer | Decrease value for integer/color, set/append to value for other types. | `+hsignal:fset_mouse+`
// TRANSLATION MISSING
| kbd:[□ □ ■] | right | chat: fset buffer | Increase value for integer/color/enum, set/append to value for other types. | `+hsignal:fset_mouse+`
| ◽◽◾ | right | chat: fset buffer | Increase value for integer/color, set/append to value for other types. | `+hsignal:fset_mouse+`
// TRANSLATION MISSING
| kbd:[□ □ ■] | up / down | chat: fset buffer | Mark/unmark multiple options. | `+hsignal:fset_mouse+`
// TRANSLATION MISSING
| kbd:[▲] | - | chat: /list buffer | Move five lines up in /list buffer. | `+/list -up 5+`
// TRANSLATION MISSING
| kbd:[▼] | - | chat: /list buffer | Move five lines down in /list buffer. | `+/list -down 5+`
// TRANSLATION MISSING
| kbd:[■ □ □] | - | chat: /list buffer | Select line in /list buffer. | `+/window ${_window_number};/list -go ${_chat_line_y}+`
// TRANSLATION MISSING
| kbd:[□ □ ■] | - | chat: /list buffer | Join IRC channel on selected line. | `+hsignal:irc_list_mouse+`
| kbd:[▲] | - | チャット: スクリプトバッファ | スクリプトバッファを 5 行上方向にスクロール | `+/script up 5+`
| kbd:[▼] | - | チャット: スクリプトバッファ | スクリプトバッファで 5 行下方向にスクロール | `+/script down 5+`
| kbd:[■ □ □] | - | チャット: スクリプトバッファ | スクリプトバッファで行選択 | `+/script go ${_chat_line_y}+`
| kbd:[□ □ ■] | - | チャット: スクリプトバッファ | スクリプトのインストール `+/ 削除 | /script go ${_chat_line_y};/script installremove ${script_name_with_extension}+`
| kbd:[■ □ □] | 上 / 左 | バッファリスト | 指定したバッファを下の番号に移動 | `+buflist_mouse+` シグナル
| kbd:[■ □ □] | 下 / 右 | バッファリスト | 指定したバッファを上の番号に移動 | `+buflist_mouse+` シグナル
| kbd:[■ □ □] | - | バッファリスト | 指定したバッファに切り替える (現在のバッファを指定した場合、バッファ切り替え履歴で前のバッファに切り替える) | `+buflist_mouse+` シグナル
| kbd:[□ □ ■] | - | バッファリスト | 現在のバッファを指定した場合、バッファ切り替え履歴で次のバッファに切り替える | `+buflist_mouse+` シグナル
| kbd:[Ctrl+▲] | - | バッファリスト | バッファ切り替え履歴で前のバッファに切り替える | `+buflist_mouse+` シグナル
| kbd:[Ctrl+▼] | - | バッファリスト | バッファ切り替え履歴で次のバッファに切り替える | `+buflist_mouse+` シグナル
| kbd:[■ □ □] | | ニックネームリスト | ニックネームリストを 1 ページ分上方向にスクロール | `+/bar scroll nicklist ${_window_number} -100%+`
| kbd:[■ □ □] | | ニックネームリスト | ニックネームリストを 1 ページ分下方向にスクロール | `+/bar scroll nicklist ${_window_number} +100%+`
| kbd:[■ □ □] | 上 (長く) | ニックネームリスト | ニックネームリストの最初に移動 | `+/bar scroll nicklist ${_window_number} b+`
| kbd:[■ □ □] | 下 (長く) | ニックネームリスト | ニックネームリストの最後に移動 | `+/bar scroll nicklist ${_window_number} e+`
| kbd:[■ □ □] | - | ニックネームリスト | ニックネームに対するクエリを開 | `+/window ${_window_number};/query ${nick}+`
| kbd:[□ □ ■] | - | ニックネームリスト | ニックネームに対する whois を行う | `+/window ${_window_number};/whois ${nick}+`
| kbd:[■ □ □] | 左 | ニックネームリスト | ニックネームをキックする | `+/window ${_window_number};/kick ${nick}+`
| kbd:[■ □ □] | 左 (長く) | ニックネームリスト | ニックネームをキックとバンする | `+/window ${_window_number};/kickban ${nick}+`
| kbd:[□ □ ■] | 左 | ニックネームリスト | ニックネームをバンする | `+/window ${_window_number};/ban ${nick}+`
| kbd:[□ □ ■] | - | 入力 | マウスイベントを奪ってコマンドラインにコードを入力 | `+/input grab_mouse_area+`
| kbd:[▲] | - | 任意のバー | バーを -20% スクロール | `+/bar scroll ${_bar_name} ${_window_number} -20%+`
| kbd:[▼] | - | 任意のバー | バーを +20% スクロール | `+/bar scroll ${_bar_name} ${_window_number} +20%+`
| kbd:[□ ■ □] | - | 任意の場所 | この場所でカーソルモードを開始 | `+/cursor go ${_x},${_y}+`
| ◽◽◾ | up / down | chat: fset buffer | Mark/unmark multiple options. | `+hsignal:fset_mouse+`
| kbd:[▲] | - | チャット: スクリプトバッファ | スクリプトバッファを 5 行上方向にスクロール | `+/script up 5+`
| kbd:[▼] | - | チャット: スクリプトバッファ | スクリプトバッファで 5 行下方向にスクロール | `+/script down 5+`
| ◾◽◽ | - | チャット: スクリプトバッファ | スクリプトバッファで行選択 | `+/script go ${_chat_line_y}+`
| ◽◽◾ | - | チャット: スクリプトバッファ | スクリプトのインストール `+/ 削除 | /script go ${_chat_line_y};/script installremove ${script_name_with_extension}+`
| ◾◽◽ | 上 / 左 | バッファリスト | 指定したバッファを下の番号に移動 | `+buflist_mouse+` シグナル
| ◾◽◽ | 下 / 右 | バッファリスト | 指定したバッファを上の番号に移動 | `+buflist_mouse+` シグナル
| ◾◽◽ | - | バッファリスト | 指定したバッファに切り替える (現在のバッファを指定した場合、バッファ切り替え履歴で前のバッファに切り替える) | `+buflist_mouse+` シグナル
| ◽◽◾ | - | バッファリスト | 現在のバッファを指定した場合、バッファ切り替え履歴で次のバッファに切り替える | `+buflist_mouse+` シグナル
| kbd:[Ctrl+▲] | - | バッファリスト | バッファ切り替え履歴で前のバッファに切り替える | `+buflist_mouse+` シグナル
| kbd:[Ctrl+▼] | - | バッファリスト | バッファ切り替え履歴で次のバッファに切り替える | `+buflist_mouse+` シグナル
| ◾◽◽ | | ニックネームリスト | ニックネームリストを 1 ページ分上方向にスクロール | `+/bar scroll nicklist ${_window_number} -100%+`
| ◾◽◽ | | ニックネームリスト | ニックネームリストを 1 ページ分下方向にスクロール | `+/bar scroll nicklist ${_window_number} +100%+`
| ◾◽◽ | 上 (長く) | ニックネームリスト | ニックネームリストの最初に移動 | `+/bar scroll nicklist ${_window_number} b+`
| ◾◽◽ | 下 (長く) | ニックネームリスト | ニックネームリストの最後に移動 | `+/bar scroll nicklist ${_window_number} e+`
| ◾◽◽ | - | ニックネームリスト | ニックネームに対するクエリを開く | `+/window ${_window_number};/query ${nick}+`
| ◽◽◾ | - | ニックネームリスト | ニックネームに対する whois を行う | `+/window ${_window_number};/whois ${nick}+`
| ◾◽◽ | | ニックネームリスト | ニックネームをキックする | `+/window ${_window_number};/kick ${nick}+`
| ◾◽◽ | 左 (長く) | ニックネームリスト | ニックネームをキックとバンする | `+/window ${_window_number};/kickban ${nick}+`
| ◽◽◾ | | ニックネームリスト | ニックネームをバンする | `+/window ${_window_number};/ban ${nick}+`
| ◽◽◾ | - | 入力 | マウスイベントを奪ってコマンドラインにコードを入力 | `+/input grab_mouse_area+`
| kbd:[▲] | - | 任意のバー | バーを -20% スクロール | `+/bar scroll ${_bar_name} ${_window_number} -20%+`
| kbd:[▼] | - | 任意のバー | バーを +20% スクロール | `+/bar scroll ${_bar_name} ${_window_number} +20%+`
| ◽◾◽ | - | 任意の場所 | この場所でカーソルモードを開 | `+/cursor go ${_x},${_y}+`
|===
[NOTE]
// TRANSLATION MISSING
^(1)^ Buttons: +
kbd:[◼ □ □]: click on left button +
kbd:[□ ◼ □]: click on middle button +
kbd:[□ □ ◼]: click on right button +
Wheel: +
kbd:[▲]: wheel up +
kbd:[▼]: wheel down
^(1)^ kbd:[▲] と kbd:[▼] はホイールの上方向回転と下方向回転に対応します。
// TRANSLATION MISSING
[[key_bindings_fset_buffer]]
@@ -1930,8 +1887,8 @@ These keys and actions are used on the fset buffer (see <<fset,Fset plugin>>).
| kbd:[F11] | `pass:[<]` | Scroll horizontally on the left. | `+/fset -left+`
| kbd:[F12] | `pass:[>]` | Scroll horizontally on the right. | `+/fset -right+`
| kbd:[Alt+Space] | `t` | Toggle boolean value. | `+/fset -toggle+`
| kbd:[Alt+-] | `-` | Subtract 1 from value for integer/color/enum, set value for other types. | `+/fset -add -1+`
| kbd:[Alt++] | `+` | Add 1 to value for integer/color/enum, append to value for other types. | `+/fset -add 1+`
| kbd:[Alt+-] | `-` | Subtract 1 from value for integer/color, set value for other types. | `+/fset -add -1+`
| kbd:[Alt++] | `+` | Add 1 to value for integer/color, append to value for other types. | `+/fset -add 1+`
| kbd:[Alt+f], kbd:[Alt+r] | `r` | Reset value. | `+/fset -reset+`
| kbd:[Alt+f], kbd:[Alt+u] | `u` | Unset value. | `+/fset -unset+`
| kbd:[Alt+Enter] | `s` | Set value. | `+/fset -set+`
@@ -1960,40 +1917,6 @@ These keys and actions are used on the fset buffer (see <<fset,Fset plugin>>).
[NOTE]
^(1)^ The action must be entered as input on the command line, followed by kbd:[Enter].
// TRANSLATION MISSING
[[key_bindings_irc_list_buffer]]
=== IRC /list buffer
These keys and actions are used on the IRC /list buffer (see command <<command_irc_list,/list>>).
[width="100%",cols="^.^3,^.^2,.^8,.^5",options="header"]
|===
| Key | Action ^(1)^ | Description | Command
| kbd:[↑] | | Move one line up. | `+/list -up+`
| kbd:[↓] | | Move one line down. | `+/list -down+`
| kbd:[PgUp] | | Move one page up. | `+/window page_up+`
| kbd:[PgDn] | | Move one page down. | `+/window page_down+`
| kbd:[Alt+Home] | `pass:[<<]` | Move to first line. | `+/list -go 0+`
| kbd:[Alt+End] | `pass:[>>]` | Move to last line. | `+/list -go end+`
| kbd:[F11] | `pass:[<]` | Scroll horizontally on the left. | `+/list -left+`
| kbd:[F12] | `pass:[>]` | Scroll horizontally on the right. | `+/list -right+`
| kbd:[Ctrl+j] | `j` | Join IRC channel on selected line. | `+/list -join+`
| | `xxx` | Show only channels with "xxx" in name or topic (case insensitive). |
| | `n:xxx` | Show only channels with "xxx" in name (case insensitive). |
| | `t:xxx` | Show only channels with "xxx" in topic (case insensitive). |
| | `u:n` | Show only channels with at least "n" users. |
| | `u:>n` | Show only channels with more than "n" users. |
| | `u:<n` | Show only channels with less than "n" users. |
| | `c:xxx` | Show only channels matching the evaluated condition "xxx", using following variables: name, name2, users, topic. |
| | `s:x,y` | Sort channels by fields x,y (see command <<command_irc_list,/list>>). |
| | `s:` | Reset sort to its default value (see command <<command_irc_list,/list>>). |
| | `$` | Refresh list (run again command <<command_irc_list,/list>>). |
| | `q` | Close buffer. | `+/buffer close+`
|===
[NOTE]
^(1)^ The action must be entered as input on the command line, followed by kbd:[Enter].
// TRANSLATION MISSING
[[key_bindings_script_buffer]]
=== Script buffer
@@ -2042,7 +1965,7 @@ Example of fset buffer displaying options starting with `weechat.look` :
│2.fset │weechat.look.bare_display_exit_on_input: exit the bare display mode on any c│
│ │hanges in input [default: on] │
│ │----------------------------------------------------------------------------│
│ │ weechat.look.align_end_of_lines enum message │
│ │ weechat.look.align_end_of_lines integer message │
│ │ weechat.look.align_multiline_words boolean on │
│ │ weechat.look.bar_more_down string "++" │
│ │ weechat.look.bar_more_left string "<<" │
@@ -2051,12 +1974,12 @@ Example of fset buffer displaying options starting with `weechat.look` :
│ │## weechat.look.bare_display_exit_on_input boolean on ##│
│ │ weechat.look.bare_display_time_format string "%H:%M" │
│ │ weechat.look.buffer_auto_renumber boolean on │
│ │ weechat.look.buffer_notify_default enum all │
│ │ weechat.look.buffer_position enum end │
│ │ weechat.look.buffer_notify_default integer all │
│ │ weechat.look.buffer_position integer end │
│ │ weechat.look.buffer_search_case_sensitive boolean off │
│ │ weechat.look.buffer_search_force_default boolean off │
│ │ weechat.look.buffer_search_regex boolean off │
│ │ weechat.look.buffer_search_where enum prefix_message │
│ │ weechat.look.buffer_search_where integer prefix_message │
│ │ weechat.look.buffer_time_format string "%H:%M:%S" │
│ │ weechat.look.buffer_time_same string "" │
│ │[12:55] [2] [fset] 2:fset │
@@ -3491,7 +3414,7 @@ irc.server.libera.autorejoin_delay integer null -> 30
irc.server.libera.away_check integer null -> 0
irc.server.libera.away_check_max_nicks integer null -> 25
irc.server.libera.capabilities string null -> "*"
irc.server.libera.charset_message enum null -> message
irc.server.libera.charset_message integer null -> message
irc.server.libera.command string null -> ""
irc.server.libera.command_delay integer null -> 0
irc.server.libera.connection_timeout integer null -> 60
@@ -3507,9 +3430,9 @@ irc.server.libera.notify string null -> ""
irc.server.libera.password string null -> ""
irc.server.libera.proxy string null -> ""
irc.server.libera.realname string null -> ""
irc.server.libera.sasl_fail enum null -> reconnect
irc.server.libera.sasl_fail integer null -> reconnect
irc.server.libera.sasl_key string null -> ""
irc.server.libera.sasl_mechanism enum null -> plain
irc.server.libera.sasl_mechanism integer null -> plain
irc.server.libera.sasl_password string "${sec.data.libera}"
irc.server.libera.sasl_timeout integer null -> 15
irc.server.libera.sasl_username string "alice"
@@ -4238,7 +4161,7 @@ CTCP 応答をカスタマイズしたり、いくつかの CTCP
例えば、CTCP "VERSION" 要求に対する応答をカスタマイズするには、以下のコマンドを使ってください:
----
/set irc.ctcp.version "I'm running WeeChat ${version}, it rocks!"
/set irc.ctcp.version "I'm running WeeChat $version, it rocks!"
----
// TRANSLATION MISSING
@@ -4264,7 +4187,7 @@ CTCP "BLABLA" 要求に対する応答を以下のように設定できます:
名の前に内部サーバ名をつけてください:
----
/set irc.ctcp.libera.version "WeeChat ${version} (for libera)"
/set irc.ctcp.libera.version "WeeChat $version (for libera)"
----
標準の CTCP 応答を復元するには、オプションを削除してください:
@@ -4273,43 +4196,40 @@ CTCP "BLABLA" 要求に対する応答を以下のように設定できます:
/unset irc.ctcp.version
----
// TRANSLATION MISSING
The CTCP replies are evaluated (see command <<command_weechat_eval,/eval>>) and
the following extra variables are available:
以下のコードを設定値に含めることが可能です。これらのコードは
CTCP 応答時に自動的に WeeChat によって展開されます:
[width="100%",cols="2,4,8",options="header"]
[width="100%",cols="2l,4,8",options="header"]
|===
// TRANSLATION MISSING
| Variable | 説明 | 値/例
| `+${clientinfo}+` | サポートしている CTCP オプションのリスト | `+ACTION DCC CLIENTINFO FINGER PING SOURCE TIME USERINFO VERSION+`
| `+${version}+` | WeeChat バージョン | `+4.1.0-dev+`
| `+${versiongit}+` | WeeChat バージョン + Git バージョン ^(1)^ | `+4.1.0-dev (git: v4.0.0-51-g8f98b922a)+`
| `+${git}+` | Git バージョン ^(1)^ | `+v4.0.0-51-g8f98b922a+`
| `+${compilation}+` | WeeChat コンパイル日時 | `+Jul 8 2023 20:14:23+`
| `+${osinfo}+` | OS に関する情報 | `+Linux 5.10.0-23-amd64 / x86_64+`
| `+${site}+` | WeeChat ウェブサイト | `+https://weechat.org/+`
| `+${download}+` | WeeChat ウェブサイトのダウンロードページ | `+https://weechat.org/download/+`
| `+${time}+` | 現在の日時 | `+Sat, 08 Jul 2023 21:11:19 +0200+`
| `+${username}+` | IRC サーバ上で使うユーザ名 | `+name+`
| `+${realname}+` | IRC サーバ上で使う実名 | `+John Doe+`
| コード | 説明 | 値/例
| $clientinfo | サポートしている CTCP オプションのリスト | `+ACTION DCC CLIENTINFO FINGER PING SOURCE TIME USERINFO VERSION+`
| $version | WeeChat バージョン | `+0.4.0-dev+`
| $versiongit | WeeChat バージョン + Git バージョン ^(1)^ | `+0.4.0-dev (git: v0.3.9-104-g7eb5cc4)+`
| $git | Git バージョン ^(1)^ | `+v0.3.9-104-g7eb5cc4+`
| $compilation | WeeChat コンパイル日時 | `+Dec 16 2012+`
| $osinfo | OS に関する情報 | `+Linux 2.6.32-5-amd64 / x86_64+`
| $site | WeeChat ウェブサイト | `+https://weechat.org/+`
| $download | WeeChat ウェブサイトのダウンロードページ | `+https://weechat.org/download/+`
| $time | 現在の日時 | `+Sun, 16 Dec 2012 10:40:48 +0100+`
| $username | IRC サーバ上で使うユーザ名 | `+name+`
| $realname | IRC サーバ上で使う実名 | `+John Doe+`
|===
[NOTE]
^(1)^ git バージョンとは `git describe` コマンドの出力です。Git リポジトリで
WeeChat をコンパイルし、Git がインストールされている場合のみ値が設定されます。
// TRANSLATION MISSING
The default CTCP replies are:
CTCP オプションが設定されていない (デフォルトの) 場合、CTCP 応答は以下のようになります:
[width="100%",cols="2,4,8",options="header"]
|===
| CTCP | 応答書式 | 例
| CLIENTINFO | `+${clientinfo}+` | `+ACTION DCC CLIENTINFO FINGER PING SOURCE TIME USERINFO VERSION+`
| FINGER | `+WeeChat ${version}+` | `+WeeChat 4.1.0-dev+`
| SOURCE | `+${download}+` | `+https://weechat.org/download/+`
| TIME | `+${time}+` | `+Sat, 08 Jul 2023 21:11:19 +0200+`
| USERINFO | `+${username} (${realname})+` | `+name (John Doe)+`
| VERSION | `+WeeChat ${version}+` | `+WeeChat 4.1.0-dev+`
| CTCP | 応答書式 | 例
| CLIENTINFO | `+$clientinfo+` | `+ACTION DCC CLIENTINFO FINGER PING SOURCE TIME USERINFO VERSION+`
| FINGER | `+WeeChat $versiongit+` | `+WeeChat 0.4.0-dev (git: v0.3.9-104-g7eb5cc4)+`
| SOURCE | `+$download+` | `+https://weechat.org/download/+`
| TIME | `+$time+` | `+Sun, 16 Dec 2012 10:40:48 +0100+`
| USERINFO | `+$username ($realname)+` | `+name (John Doe)+`
| VERSION | `+WeeChat $versiongit ($compilation)+` | `+WeeChat 0.4.0-dev (git: v0.3.9-104-g7eb5cc4) (Dec 16 2012)+`
|===
[[irc_target_buffer]]
+16 -28
View File
@@ -39,12 +39,15 @@ https://weechat.org/about/interfaces/[zdalnym interfejsom ^↗^^].
[[compile_git]]
=== Nie mogę skompilować WeeChat po sklonowaniu repozytorium git, dlaczego?
WeeChat musi być kompilowany przy użyciu CMake.
// TRANSLATION MISSING
WeeChat must be compiled with CMake.
Postępuj zgodnie z link:weechat_user.en.html#source_package[instrukcjami kompilacji ^↗^^]
w celu upewnienia się, że wszystkie wymagane zależności są zainstalowane.
// TRANSLATION MISSING
Please follow link:weechat_user.en.html#source_package[build instructions ^↗^^]
and ensure all required dependencies are installed.
Jeśli nadal występują jakieś problemy zgłoś je do developerów.
// TRANSLATION MISSING
If you still have issues, please report them to the developers.
[[compile_macos]]
=== Jak zainstalować WeeChat na macOS?
@@ -612,13 +615,6 @@ komendy w stylu `/123` żeby przejść do bufora #123:
/trigger add numberjump modifier "2000|input_text_for_buffer" "${tg_string} =~ ^/[0-9]+$" "=\/([0-9]+)=/buffer *${re:1}=" "" "" "none"
----
// TRANSLATION MISSING
For an easy jump to buffers, you can also install the _go.py_ script:
----
/script install go.py
----
[[global_history]]
=== Jak używać globalnej historii (zamiast historii buforu) za pomocą strzałek góra/dół?
@@ -632,8 +628,9 @@ Przykład:
/key bind down /input history_global_next
----
Dla wersji WeeChat ≤ 3.8, należy podać kody klawiszy (naciśnij kbd:[Alt+k] następnie kombinacje
klawiszy, aby zobaczyć ich kod):
// TRANSLATION MISSING
With WeeChat ≤ 3.8, you must use the raw key code (press kbd:[Alt+k] then key
to display its code):
----
/key bind meta2-A /input history_global_previous
@@ -826,10 +823,11 @@ regularnych dla przedrostków i zawartości linii.
Filtrowane linie są tylko ukrywane, nie usuwane, można je zobaczyć wyłączając
filtry (domyślnie kbd:[Alt+=] zmienia stan filtrów).
// TRANSLATION MISSING
[[filter_irc_join_part_quit]]
=== Jak odfiltrować informację o join/part/quit i inne uciążliwe wiadomości na kanałach IRC?
=== How can I filter join/part/quit and other annoying messages on IRC channels?
Zobacz link:weechat_user.pl.html#irc_smart_filter[Poradnik użytkownika / Inteligentny filtr ^↗^^].
See link:weechat_user.pl.html#irc_smart_filter[User's guide / IRC smart filter ^↗^^].
[[filter_irc_join_channel_messages]]
=== Jak mogę filtrować wyświetlane wiadomości podczas wejścia na kanał IRC?
@@ -1083,10 +1081,7 @@ W celu zmniejszenia używanej pamięci możesz zastosować się do poniższych r
Możesz skorzystać z tych samych porad jak dla <<memory_usage,memory>>, oraz tych:
// TRANSLATION MISSING
* schowaj pasek "nicklist": `/bar hide nicklist` (key: kbd:[Alt+Shift+N]).
// TRANSLATION MISSING
* Disable "buflist": `/buflist disable` (key: kbd:[Alt+Shift+B]).
* schowaj pasek "nicklist": `/bar hide nicklist`
* usuń wyświetlanie sekund w czasie na pasku statusu:
`+/set weechat.look.item_time_format "%H:%M"+` (domyślna wartość)
* wyłącz automatyczne sprawdzanie poprawności wpisywanych słów w linii poleceń (o ile je włączyłeś):
@@ -1108,21 +1103,14 @@ Wyłącz odpowiedzi na wszystkie zapytania CTCP:
----
/set irc.ctcp.clientinfo ""
/set irc.ctcp.finger ""
/set irc.ctcp.source ""
/set irc.ctcp.time ""
/set irc.ctcp.userinfo ""
/set irc.ctcp.version ""
/set irc.ctcp.ping ""
----
// TRANSLATION MISSING
With WeeChat < 4.1.0, other CTCP queries were replied by default and must be
disabled as well:
----
/set irc.ctcp.finger ""
/set irc.ctcp.userinfo ""
----
Wyładuj i wyłącz automatyczne ładowanie wtyczki "xfer" (używanej przez IRC DCC):
----
/plugin unload xfer
+193 -247
View File
@@ -92,7 +92,8 @@ https://github.com/weechat/weechat-container[weechat-container ^↗^^].
[[source_package]]
=== Pakiety źródłowe
WeeChat musi być kompilowany przy użyciu CMake.
// TRANSLATION MISSING
WeeChat must be built with CMake.
[NOTE]
Na macOS możesz użyć https://brew.sh/[Homebrew ^↗^^]:
@@ -101,15 +102,17 @@ Na macOS możesz użyć https://brew.sh/[Homebrew ^↗^^]:
[[dependencies]]
==== Zależności
Poniższa tabela pokazuje listę pakietów *wymaganych* do skompilowania
// TRANSLATION MISSING
The following table shows the list of packages that are *required* to build
WeeChat:
[width="100%",cols="5,^3,.^15",options="header"]
|===
| Pakiet ^(1)^ | Wersja | Funkcje
// TRANSLATION MISSING
| kompilator C (gcc / clang) |
| Kompilacja źródeł C.
| Compile C sources.
| cmake | ≥ 3.0
| Kompilacja.
@@ -117,7 +120,7 @@ WeeChat:
| pkg-config |
| Wykrywa zainstalowane biblioteki.
| libncurses-dev |
| libncursesw5-dev ^(2)^ |
| Interfejs ncurses.
| libcurl4-gnutls-dev |
@@ -126,7 +129,7 @@ WeeChat:
| libgcrypt20-dev |
| Zabezpieczone dane, uwierzytelnianie IRC SASL.
| libgnutls28-dev | ≥ 2.2.0 ^(2)^
| libgnutls28-dev | ≥ 2.2.0 ^(3)^
| Wtyczka IRC: wsparcie dla połączeń TLS, autentykacja IRC SASL (ECDSA-NIST256P-CHALLENGE). +
Wtyczka relay: wsparcie dla połączeń TLS.
@@ -143,7 +146,10 @@ WeeChat:
[NOTE]
^(1)^ Nazwa pochodzi z repozytorium dystrybucji Debian GNU/Linux Bookworm distribution,
wersja i nazwa mogą się różnić dla innych dystrybucji. +
^(2)^ GnuTLS ≥ 3.0.21 jest wymagany dla uwierzytelnienia IRC SASL za pomocą
^(2)^ Zaleca się kompilację z użyciem libncurses**w**5-dev (*w* jest istotne).
WeeChat można skompilowac używając libncurses5-dev, ale *NIE* jest to zalecane:
możesz doświadczyć błędów wyświetlania. +
^(3)^ GnuTLS ≥ 3.0.21 jest wymagany dla uwierzytelnienia IRC SASL za pomocą
mechanizmu ECDSA-NIST256P-CHALLENGE.
The following table shows the list of packages that are optional to compile
@@ -185,8 +191,9 @@ za pomocą jednej komendy:
# apt-get build-dep weechat
----
// TRANSLATION MISSING
[[build]]
==== Kompilacja
==== Build
* Instalacja w katalogach systemowych (wymaga uprawnień użytkownika _root_):
@@ -245,9 +252,10 @@ Lista popularnych opcji:
| ENABLE_DOC | `ON`, `OFF` | OFF
| Generowanie dokumentacji HTML.
// TRANSLATION MISSING
| ENABLE_DOC_INCOMPLETE | `ON`, `OFF` | OFF
| Wymusza wygenerowanie dokumentacji nawet w przypadku jeśli nie wszystki
wtyczki zostaną skompilowane (nie zalecane: dokumentacja nie będzie kompletna).
| Force build of documentation even if some plugins are not compiled
(not recommended: docs will be incomplete).
| ENABLE_ENCHANT | `ON`, `OFF` | OFF
| Kompilacja <<spell_checking,wtyczki spell>> z Enchant.
@@ -342,8 +350,9 @@ Lub z interfejsem Curses:
$ ccmake ..
----
// TRANSLATION MISSING
[[tests]]
==== Testy
==== Tests
Następujące pakiety są *wymagane* do kompilacji testów:
@@ -619,7 +628,8 @@ XDG z takim podziałem:
[width="100%",cols="1,2m,5",options="header"]
|===
| Katalog | Domyślna wartość | Wartość jeśli $XDG_XXX nie jest zdefiniowana
// TRANSLATION MISSING
| Katalog | Domyślna wartość | Fallback value if $XDG_XXX is not defined
| config | $XDG_CONFIG_HOME/weechat | `$HOME/.config/weechat`
| data | $XDG_DATA_HOME/weechat | `$HOME/.local/share/weechat`
| cache | $XDG_CACHE_HOME/weechat | `$HOME/.cache/weechat`
@@ -1336,9 +1346,7 @@ WeeChat i jego wtyczki domyślnie tworzą następujące zmienne:
| filter
| dowolny ciąg
// TRANSLATION MISSING
| Filter defined on some buffers like `/fset`, `/list` (irc), `/server raw` (irc)
and `/script`.
| Filtry zdefiniowane dla buforów jak `/fset`, `/server raw` (irc) i `/script`.
| host
| dowolny ciąg
@@ -1446,22 +1454,6 @@ Opcje:
include::{autogendir}/autogen_user_options.pl.adoc[tag=buflist_options]
// TRANSLATION MISSING
[[cursor_mode]]
=== Cursor mode
The cursor mode allows you to move freely the cursor anywhere on screen, in chat
area and bars, and lets you perform actions at the given position. +
You can enter in cursor mode either with the command `/cursor` or with a mouse
middle click (mouse must have been enabled with key kbd:[Alt+m] or command
`/mouse enable`).
Typical use is to quote messages (chat area) or interact with nicks (nicklist bar).
See command <<command_weechat_cursor,/cursor>> and
<<key_bindings_cursor_context,key bindings in cursor context>> for the list
of actions you can perform in this mode.
[[key_bindings]]
== Skróty klawiszowe
@@ -1483,18 +1475,24 @@ Można je zmienić oraz dodać nowe za pomocą komendy <<command_weechat_key,/ke
| kbd:[→] +
kbd:[Shift+→] +
kbd:[Ctrl+f] | Idź do następnego znaku w linii poleceń. | `+/input move_next_char+`
| kbd:[Shift+↑] | Idź do poprzedniej linii. | `+/input move_previous_line+`
| kbd:[Shift+] | Idź do następnej linii. | `+/input move_next_line+`
// TRANSLATION MISSING
| kbd:[Shift+] | Go to previous line. | `+/input move_previous_line+`
// TRANSLATION MISSING
| kbd:[Shift+↓] | Go to next line. | `+/input move_next_line+`
| kbd:[Ctrl+←] +
kbd:[Alt+b] | Idź do poprzedniego słowa w linii poleceń. | `+/input move_previous_word+`
| kbd:[Ctrl+→] +
kbd:[Alt+f] | Idź do następnego słowa w linii poleceń. | `+/input move_next_word+`
// TRANSLATION MISSING
| kbd:[Home] +
kbd:[Ctrl+a] | Idź na początek obecnej linii. | `+/input move_beginning_of_line+`
| kbd:[Shift+Home] | Idź na początek lini poleceń. | `+/input move_beginning_of_input+`
kbd:[Ctrl+a] | Go to the beginning of current line. | `+/input move_beginning_of_line+`
// TRANSLATION MISSING
| kbd:[Shift+Home] | Go to the beginning of command line. | `+/input move_beginning_of_input+`
// TRANSLATION MISSING
| kbd:[End] +
kbd:[Ctrl+e] | Idź na koniec obecnej linii. | `+/input move_end_of_line+`
| kbd:[Shift+End] | Idż na koniec linii poleceń. | `+/input move_end_of_input+`
kbd:[Ctrl+e] | Go to the end of current line. | `+/input move_end_of_line+`
// TRANSLATION MISSING
| kbd:[Shift+End] | Go to the end of command line. | `+/input move_end_of_input+`
|===
[[key_bindings_cmdline_editing]]
@@ -1507,11 +1505,15 @@ Można je zmienić oraz dodać nowe za pomocą komendy <<command_weechat_key,/ke
kbd:[Ctrl+d] | Usuń następny znak w linii poleceń. | `+/input delete_next_char+`
| kbd:[Backspace] +
kbd:[Ctrl+h] | Usuń poprzedni znak w linii poleceń. | `+/input delete_previous_char+`
| kbd:[Ctrl+k] | Usuń wszystko od kursora do końca obecnej linii (skasowany ciąg zostanie skopipowany do wewnętrznego schowka). | `+/input delete_end_of_line+`
| kbd:[Alt+Ctrl+k] | Usuń wszystko od kursora do końca linii poleceń (skasowany ciąg zostanie skopipowany do wewnętrznego schowka). | `+/input delete_end_of_input+`
// TRANSLATION MISSING
| kbd:[Ctrl+k] | Delete from cursor until end of current line (deleted string is copied to the internal clipboard). | `+/input delete_end_of_line+`
// TRANSLATION MISSING
| kbd:[Alt+Ctrl+k] | Delete from cursor until end of command line (deleted string is copied to the internal clipboard). | `+/input delete_end_of_input+`
| kbd:[Ctrl+t] | Przestaw znaki. | `+/input transpose_chars+`
| kbd:[Ctrl+u] | Usuń wszystko od kursora do początku obecnej linii (skasowany ciąg zostanie skopipowany do wewnętrznego schowka). | `+/input delete_beginning_of_line+`
| kbd:[Alt+Ctrl+u] | Usuń wszystko od kursora do początku linii poleceń (skasowany ciąg zostanie skopipowany do wewnętrznego schowka). | `+/input delete_beginning_of_input+`
// TRANSLATION MISSING
| kbd:[Ctrl+u] | Delete from cursor until beginning of current line (deleted string is copied to the internal clipboard). | `+/input delete_beginning_of_line+`
// TRANSLATION MISSING
| kbd:[Alt+Ctrl+u] | Delete from cursor until beginning of command line (deleted string is copied to the internal clipboard). | `+/input delete_beginning_of_input+`
| kbd:[Alt+Backspace] | Usuń poprzednie słowo w linii poleceń (usuwany ciąg jest kopiowany do wewnętrznego schowka). | `+/input delete_previous_word+`
| kbd:[Ctrl+w] | Usuń poprzednie słowo w linii poleceń do białego znaku (usuwany ciąg jest kopiowany do wewnętrznego schowka). | `+/input delete_previous_word_whitespace+`
| kbd:[Ctrl+y] | Wkleja zawartość wewnętrznego schowka. | `+/input clipboard_paste+`
@@ -1525,8 +1527,10 @@ Można je zmienić oraz dodać nowe za pomocą komendy <<command_weechat_key,/ke
| kbd:[Alt+Enter] | Wstawia nową linię. | `+/input insert \n+`
| kbd:[Alt+d] | Usuń następne słowo w linii poleceń (usuwany ciąg jest kopiowany do wewnętrznego schowka). | `+/input delete_next_word+`
| kbd:[Alt+k] | Przechwyć wciśnięte klawisze i zwróć ich kod (i przypisaną komendę, jeśli istnieje) w linii poleceń. | `+/input grab_key_command+`
| kbd:[Alt+r] | Usuń obecną linię. | `+/input delete_line+`
| kbd:[Alt+R] | Usuń całą linię poleceń. | `+/input delete_input+`
// TRANSLATION MISSING
| kbd:[Alt+r] | Delete current line. | `+/input delete_line+`
// TRANSLATION MISSING
| kbd:[Alt+R] | Delete entire command line. | `+/input delete_input+`
|===
[[key_bindings_cmdline_color_codes]]
@@ -1678,51 +1682,40 @@ zostanie wciśnięta w buforze tekstowym).
| kbd:[Enter] +
kbd:[Ctrl+j] +
kbd:[Ctrl+m] | Zatrzymaj wyszukiwanie na obecnej pozycji. | `+/input search_stop_here+`
| kbd:[Ctrl+q] | Zatrzymaj wyszukiwanie i przywróć ekran do stanu z przed wyszukiwania. | `+/input search_stop+`
// TRANSLATION MISSING
| kbd:[Ctrl+q] | Stop search and reset scroll to pre-text search state. | `+/input search_stop+`
|===
[[key_bindings_cursor_context]]
=== Kursor
// TRANSLATION MISSING
Te skróty są używane w kontekście kursora (dowolne przemieszczanie kursora na
ekranie), see <<cursor_mode,Cursor mode>>.
ekranie).
[width="100%",cols="^.^3,^.^2,.^7,.^7",options="header"]
|===
| Skrót | Obszar | Opis | Komenda
| kbd:[↑] | - | Przesuń kursor linię wyżej. | `+/cursor move up+`
| kbd:[↓] | - | Przesuń kursor linię niżej. | `+/cursor move down+`
| kbd:[←] | - | Przesuń kursor kolumnę w lewo. | `+/cursor move left+`
| kbd:[→] | - | Przesuń kursor kolumnę w prawo. | `+/cursor move right+`
| Skrót | Obszar | Opis | Komenda
| kbd:[↑] | - | Przesuń kursor linię wyżej. | `+/cursor move up+`
| kbd:[↓] | - | Przesuń kursor linię niżej. | `+/cursor move down+`
| kbd:[←] | - | Przesuń kursor kolumnę w lewo. | `+/cursor move left+`
| kbd:[→] | - | Przesuń kursor kolumnę w prawo. | `+/cursor move right+`
| kbd:[Alt+↑] | - | Przesuń kursor obszar do góry. | `+/cursor move area_up+`
| kbd:[Alt+↓] | - | Przesuń kursor obszar w dół. | `+/cursor move area_down+`
| kbd:[Alt+←] | - | Przesuń kursor obszar w lewo. | `+/cursor move area_left+`
| kbd:[Alt+→] | - | Przesuń kursor obszar w prawo. | `+/cursor move area_right+`
| kbd:[m] | chat | Cytuj wiadomość. | `+hsignal:chat_quote_message;/cursor stop+`
// TRANSLATION MISSING
| kbd:[Alt+↑] | - | Move cursor to the first line of the area. | `+/cursor move edge_top+`
// TRANSLATION MISSING
| kbd:[Alt+↓] | - | Move cursor to the last line of the area. | `+/cursor move edge_bottom+`
// TRANSLATION MISSING
| kbd:[Alt+←] | - | Move cursor to the first column of the area. | `+/cursor move edge_left+`
// TRANSLATION MISSING
| kbd:[Alt+→] | - | Move cursor to the last column of the area. | `+/cursor move edge_right+`
// TRANSLATION MISSING
| kbd:[Alt+Home] | - | Move cursor to the top left corner of the area. | `+/cursor move top_left+`
// TRANSLATION MISSING
| kbd:[Alt+End] | - | Move cursor to the bottom right corner of the area. | `+/cursor move bottom_right+`
| kbd:[Alt+Shift+↑] | - | Przesuń kursor obszar do góry. | `+/cursor move area_up+`
| kbd:[Alt+Shift+↓] | - | Przesuń kursor obszar w dół. | `+/cursor move area_down+`
| kbd:[Alt+Shift+←] | - | Przesuń kursor obszar w lewo. | `+/cursor move area_left+`
| kbd:[Alt+Shift+→] | - | Przesuń kursor obszar w prawo. | `+/cursor move area_right+`
| kbd:[m] | chat | Cytuj wiadomość. | `+hsignal:chat_quote_message;/cursor stop+`
| kbd:[l] | chat | Cytuj zaznaczoną linię. | `+hsignal:chat_quote_focused_line;/cursor stop+`
| kbd:[q] | chat | Cytuj prefiks i wiadomość. | `+hsignal:chat_quote_prefix_message;/cursor stop+`
| kbd:[Q] | chat | Cytuj czas, prefiks i wiadomość. | `+hsignal:chat_quote_time_prefix_message;/cursor stop+`
| kbd:[b] | nicklist | Zbanuj osobę. | `+/window ${_window_number};/ban ${nick}+`
| kbd:[k] | nicklist | Wykop osobę. | `+/window ${_window_number};/kick ${nick}+`
| kbd:[K] | nicklist | Wykop i zbanuj osobę. | `+/window ${_window_number};/kickban ${nick}+`
| kbd:[q] | nicklist | Otwórz rozmowę z osobą. | `+/window ${_window_number};/query ${nick};/cursor stop+`
| kbd:[w] | nicklist | Wykonaj whois dla osoby. | `+/window ${_window_number};/whois ${nick}+`
| kbd:[l] | chat | Quote focused line. | `+hsignal:chat_quote_focused_line;/cursor stop+`
| kbd:[q] | chat | Cytuj prefiks i wiadomość. | `+hsignal:chat_quote_prefix_message;/cursor stop+`
| kbd:[Q] | chat | Cytuj czas, prefiks i wiadomość. | `+hsignal:chat_quote_time_prefix_message;/cursor stop+`
| kbd:[b] | nicklist | Zbanuj osobę. | `+/window ${_window_number};/ban ${nick}+`
| kbd:[k] | nicklist | Wykop osobę. | `+/window ${_window_number};/kick ${nick}+`
| kbd:[K] | nicklist | Wykop i zbanuj osobę. | `+/window ${_window_number};/kickban ${nick}+`
| kbd:[q] | nicklist | Otwórz rozmowę z osobą. | `+/window ${_window_number};/query ${nick};/cursor stop+`
| kbd:[w] | nicklist | Wykonaj whois dla osoby. | `+/window ${_window_number};/whois ${nick}+`
| kbd:[Enter] +
kbd:[Ctrl+j] +
kbd:[Ctrl+m] | - | Wyłącz tryb kursora. | `/cursor stop`
kbd:[Ctrl+m] | - | Wyłącz tryb kursora. | `/cursor stop`
|===
[[key_bindings_mouse]]
@@ -1734,66 +1727,49 @@ za pomocą skrótu kbd:[Alt+m] (komenda: `+/mouse toggle+`).
[width="100%",cols="^.^3,^.^3,^.^3,.^8,.^8",options="header"]
|===
| Klawisz/Wheel ^(1)^ | Gest | Obszar | Opis | Komenda
| kbd:[■ □ □] | - | chat | Przełącz na okno. | `+/window ${_window_number}+`
| kbd:[■ □ □] | lewo | chat | Przełącz na poprzedni bufor. | `+/window ${_window_number};/buffer +1+`
| kbd:[■ □ □] | prawo | chat | Przełącz na następny bufor. | `+/window ${_window_number};/buffer +1+`
| kbd:[■ □ □] | lewo (długo) | chat | Przełącz na pierwszy bufor. | `+/window ${_window_number};/buffer 1+`
| kbd:[■ □ □] | prawo (długo) | chat | Przełącz na ostatni bufor. | `+/window ${_window_number};/buffer ++`
| ◾◽◽ | - | chat | Przełącz na okno. | `+/window ${_window_number}+`
| ◾◽◽ | lewo | chat | Przełącz na poprzedni bufor. | `+/window ${_window_number};/buffer +1+`
| ◾◽◽ | prawo | chat | Przełącz na następny bufor. | `+/window ${_window_number};/buffer +1+`
| ◾◽◽ | lewo (długo) | chat | Przełącz na pierwszy bufor. | `+/window ${_window_number};/buffer 1+`
| ◾◽◽ | prawo (długo) | chat | Przełącz na ostatni bufor. | `+/window ${_window_number};/buffer ++`
| kbd:[▲] | - | chat | Przewiń w górę kilka linii w historii bufora. | `+/window scroll_up -window ${_window_number}+`
| kbd:[▼] | - | chat | Przewiń w dół kilka linii w historii bufora. | `+/window scroll_down -window ${_window_number}+`
| kbd:[Ctrl+▲] | - | chat | Przewiń poziomo w lewo. | `+/window scroll_horiz -window ${_window_number} -10%+`
| kbd:[Ctrl+▼] | - | chat | Przewiń poziomo w prawo. | `+/window scroll_horiz -window ${_window_number} +10%+`
| kbd:[▲] | - | chat: bufor fset | Przewiń pięć linii w góre w buforze fset. | `+/fset -up 5+`
| kbd:[▼] | - | chat: bufor fset | Przewiń pięć linii w dół w buforze fset. | `+/fset -down 5+`
| kbd:[■ □ □] | - | chat: bufor fset | Zaznacz linię b buforze fset. | `+/window ${_window_number};/fset -go ${fset_option_index}+`
| kbd:[□ □ ■] | - | chat: bufor fset | Przełącz (włącz/wyłącz) lub edytuj wartośc opcji. | `+hsignal:fset_mouse+`
// TRANSLATION MISSING
| kbd:[□ □ ■] | left | chat: bufor fset | Zmniejsz wartość zmiennej liczbowej / koloru / enum, ustaw/rozszerz wartośc innego typu. | `+hsignal:fset_mouse+`
// TRANSLATION MISSING
| kbd:[□ □ ■] | right | chat: bufor fset | Zwiększ wartość zmiennej liczbowej / koloru / enum, ustaw/rozszerz wartośc innego typu. | `+hsignal:fset_mouse+`
| kbd:[□ □ ■] | up / down | chat: bufor fset | Zaznacz/odznacz wiele opcji. | `+hsignal:fset_mouse+`
// TRANSLATION MISSING
| kbd:[▲] | - | chat: /list buffer | Move five lines up in /list buffer. | `+/list -up 5+`
// TRANSLATION MISSING
| kbd:[▼] | - | chat: /list buffer | Move five lines down in /list buffer. | `+/list -down 5+`
// TRANSLATION MISSING
| kbd:[■ □ □] | - | chat: /list buffer | Select line in /list buffer. | `+/window ${_window_number};/list -go ${_chat_line_y}+`
// TRANSLATION MISSING
| kbd:[□ □ ■] | - | chat: /list buffer | Join IRC channel on selected line. | `+hsignal:irc_list_mouse+`
| ◾◽◽ | - | chat: bufor fset | Zaznacz linię b buforze fset. | `+/window ${_window_number};/fset -go ${_chat_line_y}+`
| ◽◽◾ | - | chat: bufor fset | Przełącz (włącz/wyłącz) lub edytuj wartośc opcji. | `+hsignal:fset_mouse+`
| ◽◽◾ | left | chat: bufor fset | Zmniejsz wartość zmiennej liczbowej / koloru, ustaw/rozszerz wartośc innego typu. | `+hsignal:fset_mouse+`
| ◽◽◾ | right | chat: bufor fset | Zwiększ wartość zmiennej liczbowej / koloru, ustaw/rozszerz wartośc innego typu. | `+hsignal:fset_mouse+`
| ◽◽◾ | up / down | chat: bufor fset | Zaznacz/odznacz wiele opcji. | `+hsignal:fset_mouse+`
| kbd:[▲] | - | chat: bufor skryptów | Przejdź 5 linii w górę w buforze skryptów. | `+/script up 5+`
| kbd:[▼] | - | chat: bufor skryptów | Przejdź 5 linii w dół w buforze skryptów. | `+/script down 5+`
| kbd:[■ □ □] | - | chat: bufor skryptów | Zaznacz linię w buforze skryptów. | `+/script go ${_chat_line_y}+`
| kbd:[□ □ ■] | - | chat: bufor skryptów | Zainstaluj/usuń skrypt. | `+/script go ${_chat_line_y};/script installremove -q ${script_name_with_extension}+`
| kbd:[■ □ □] | góra / lewo | buflist | Przenieś bufor na niższy numer. | Sygnał `+buflist_mouse+`.
| kbd:[■ □ □] | dół / prawo | buflist | Przenieś bufor na wyższy numer. | Sygnał `+buflist_mouse+`.
| kbd:[■ □ □] | - | buflist | Przełącz na bufor (poprzednio odwiedzony bufor, jeśli jest to obecny bufor). | Sygnał `+buflist_mouse+`.
| kbd:[□ □ ■] | - | buflist | Przełącz na następny odwiedzony bufor, jeśli jest to obecny bufor. | Sygnał `+buflist_mouse+`.
| ◾◽◽ | - | chat: bufor skryptów | Zaznacz linię w buforze skryptów. | `+/script go ${_chat_line_y}+`
| ◽◽◾ | - | chat: bufor skryptów | Zainstaluj/usuń skrypt. | `+/script go ${_chat_line_y};/script installremove -q ${script_name_with_extension}+`
| ◾◽◽ | góra / lewo | buflist | Przenieś bufor na niższy numer. | Sygnał `+buflist_mouse+`.
| ◾◽◽ | dół / prawo | buflist | Przenieś bufor na wyższy numer. | Sygnał `+buflist_mouse+`.
| ◾◽◽ | - | buflist | Przełącz na bufor (poprzednio odwiedzony bufor, jeśli jest to obecny bufor). | Sygnał `+buflist_mouse+`.
| ◽◽◾ | - | buflist | Przełącz na następny odwiedzony bufor, jeśli jest to obecny bufor. | Sygnał `+buflist_mouse+`.
| kbd:[Ctrl+▲] | - | buflist | Przełącz na poprzedni bufor. | Sygnał `+buflist_mouse+`.
| kbd:[Ctrl+▼] | - | buflist | Przełącz na następny bufor. | Sygnał `+buflist_mouse+`.
| kbd:[■ □ □] | góra | lista nicków | Przewiń w górę jedna stronę listy nicków. | `+/bar scroll nicklist ${_window_number} -100%+`
| kbd:[■ □ □] | dół | lista nicków | Przewiń w dół jedna stronę listy nicków. | `+/bar scroll nicklist ${_window_number} +100%+`
| kbd:[■ □ □] | góra (długo) | lista nicków | Idź na początek listy nicków. | `+/bar scroll nicklist ${_window_number} b+`
| kbd:[■ □ □] | dół (długo) | lista nicków | Idź na koniec listy nicków. | `+/bar scroll nicklist ${_window_number} e+`
| kbd:[■ □ □] | - | lista nicków | Otwórz prywatną rozmowę z nick. | `+/window ${_window_number};/query ${nick}+`
| kbd:[□ □ ■] | - | lista nicków | Wykonaj whois dla nicka. | `+/window ${_window_number};/whois ${nick}+`
| kbd:[■ □ □] | lewo | lista nicków | Wykop nick. | `+/window ${_window_number};/kick ${nick}+`
| kbd:[■ □ □] | lewo (długo) | lista nicków | Wykop i zbanuj nick. | `+/window ${_window_number};/kickban ${nick}+`
| kbd:[□ □ ■] | lewo | lista nicków | Zbanuj nick. | `+/window ${_window_number};/ban ${nick}+`
| kbd:[□ □ ■] | - | linia poleceń | Przechwyć zdarzenie myszy i wstaw jego kod w linii poleceń. | `+/input grab_mouse_area+`
| ◾◽◽ | góra | lista nicków | Przewiń w górę jedna stronę listy nicków. | `+/bar scroll nicklist ${_window_number} -100%+`
| ◾◽◽ | dół | lista nicków | Przewiń w dół jedna stronę listy nicków. | `+/bar scroll nicklist ${_window_number} +100%+`
| ◾◽◽ | góra (długo) | lista nicków | Idź na początek listy nicków. | `+/bar scroll nicklist ${_window_number} b+`
| ◾◽◽ | dół (długo) | lista nicków | Idź na koniec listy nicków. | `+/bar scroll nicklist ${_window_number} e+`
| ◾◽◽ | - | lista nicków | Otwórz prywatną rozmowę z nick. | `+/window ${_window_number};/query ${nick}+`
| ◽◽◾ | - | lista nicków | Wykonaj whois dla nicka. | `+/window ${_window_number};/whois ${nick}+`
| ◾◽◽ | lewo | lista nicków | Wykop nick. | `+/window ${_window_number};/kick ${nick}+`
| ◾◽◽ | lewo (długo) | lista nicków | Wykop i zbanuj nick. | `+/window ${_window_number};/kickban ${nick}+`
| ◽◽◾ | lewo | lista nicków | Zbanuj nick. | `+/window ${_window_number};/ban ${nick}+`
| ◽◽◾ | - | linia poleceń | Przechwyć zdarzenie myszy i wstaw jego kod w linii poleceń. | `+/input grab_mouse_area+`
| kbd:[▲] | - | dowolny pasek | Przewiń pasek o -20%. | `+/bar scroll ${_bar_name} ${_window_number} -20%+`
| kbd:[▼] | - | dowolny pasek | Przewiń pasek o +20%. | `+/bar scroll ${_bar_name} ${_window_number} +20%+`
| kbd:[□ ■ □] | - | gdziekolwiek | Włącz tryb kursora w tym miejscu. | `+/cursor go ${_x},${_y}+`
| ◽◾◽ | - | gdziekolwiek | Włącz tryb kursora w tym miejscu. | `+/cursor go ${_x},${_y}+`
|===
[NOTE]
// TRANSLATION MISSING
^(1)^ Buttons: +
kbd:[◼ □ □]: click on left button +
kbd:[□ ◼ □]: click on middle button +
kbd:[□ □ ◼]: click on right button +
Wheel: +
kbd:[▲]: wheel up +
kbd:[▼]: wheel down
^(1)^ kbd:[▲] i kbd:[▼] to przewijanie rolką myszy w górę i w dół.
[[key_bindings_fset_buffer]]
=== Bufor fset
@@ -1812,10 +1788,8 @@ Poniższe skróty i akcje mogą zostać użyte w buforze fset (zobacz <<fset,wty
| kbd:[F11] | `pass:[<]` | Przewiń poziomo w lewo. | `+/fset -left+`
| kbd:[F12] | `pass:[>]` | Przewiń poziomo w prawo. | `+/fset -right+`
| kbd:[Alt+Space] | `t` | Przełącz zmienną boolowską. | `+/fset -toggle+`
// TRANSLATION MISSING
| kbd:[Alt+-] | `-` | Odejmij 1 od wartości liczbowej/koloru/enum, ustaw wartość pozostałych typów. | `+/fset -del -1+`
// TRANSLATION MISSING
| kbd:[Alt++] | `+` | Dodaj 1 do wartości liczbowej/koloru/enum, dodaj to wartości pozostałych typów. | `+/fset -add 1+`
| kbd:[Alt+-] | `-` | Odejmij 1 od wartości liczbowej/koloru, ustaw wartość pozostałych typów. | `+/fset -del -1+`
| kbd:[Alt++] | `+` | Dodaj 1 do wartości liczbowej/koloru, dodaj to wartości pozostałych typów. | `+/fset -add 1+`
| kbd:[Alt+f], kbd:[Alt+r] | `r` | Zresetuj wartość. | `+/fset -reset+`
| kbd:[Alt+f], kbd:[Alt+u] | `u` | Skasuj wartość. | `+/fset -unset+`
| kbd:[Alt+Enter] | `s` | Ustaw wartość. | `+/fset -set+`
@@ -1843,40 +1817,6 @@ Poniższe skróty i akcje mogą zostać użyte w buforze fset (zobacz <<fset,wty
[NOTE]
^(1)^ Akcja musi zostać wprowadzona z linii poleceń i potwierdzona przez kbd:[Enter].
// TRANSLATION MISSING
[[key_bindings_irc_list_buffer]]
=== IRC /list buffer
These keys and actions are used on the IRC /list buffer (see command <<command_irc_list,/list>>).
[width="100%",cols="^.^3,^.^2,.^8,.^5",options="header"]
|===
| Skrót | Akcja ^(1)^ | Opis | Komenda
| kbd:[↑] | | Przejdź linię wyżej. | `+/list -up+`
| kbd:[↓] | | Przejdź linię niżej. | `+/list -down+`
| kbd:[PgUp] | | Przejdź stronę do góry. | `+/window page_up+`
| kbd:[PgDn] | | Przejdź stronę w dół. | `+/window page_down+`
| kbd:[Alt+Home] | `pass:[<<]` | Przejdź do pierwszej linii. | `+/list -go 0+`
| kbd:[Alt+End] | `pass:[>>]` | Przejdź do ostatniej linii. | `+/list -go end+`
| kbd:[F11] | `pass:[<]` | Przewiń poziomo w lewo. | `+/list -left+`
| kbd:[F12] | `pass:[>]` | Przewiń poziomo w prawo. | `+/list -right+`
| kbd:[Ctrl+j] | `j` | Join IRC channel on selected line. | `+/list -join+`
| | `xxx` | Show only channels with "xxx" in name or topic (case insensitive). |
| | `n:xxx` | Show only channels with "xxx" in name (case insensitive). |
| | `t:xxx` | Show only channels with "xxx" in topic (case insensitive). |
| | `u:n` | Show only channels with at least "n" users. |
| | `u:>n` | Show only channels with more than "n" users. |
| | `u:<n` | Show only channels with less than "n" users. |
| | `c:xxx` | Show only channels matching the evaluated condition "xxx", using following variables: name, name2, users, topic. |
| | `s:x,y` | Sort channels by fields x,y (see command <<command_irc_list,/list>>). |
| | `s:` | Reset sort to its default value (see command <<command_irc_list,/list>>). |
| | `$` | Refresh list (run again command <<command_irc_list,/list>>). |
| | `q` | Close buffer. | `+/buffer close+`
|===
[NOTE]
^(1)^ Akcja musi zostać wprowadzona z linii poleceń i potwierdzona przez kbd:[Enter].
[[key_bindings_script_buffer]]
=== Bufor skryptów
@@ -1919,7 +1859,7 @@ Przykład bufora fset wyświetlający opcje zaczynające się od `weechat.look`
│2.fset │weechat.look.bare_display_exit_on_input: exit the bare display mode on any c│
│ │hanges in input [default: on] │
│ │----------------------------------------------------------------------------│
│ │ weechat.look.align_end_of_lines enum message │
│ │ weechat.look.align_end_of_lines integer message │
│ │ weechat.look.align_multiline_words boolean on │
│ │ weechat.look.bar_more_down string "++" │
│ │ weechat.look.bar_more_left string "<<" │
@@ -1928,12 +1868,12 @@ Przykład bufora fset wyświetlający opcje zaczynające się od `weechat.look`
│ │## weechat.look.bare_display_exit_on_input boolean on ##│
│ │ weechat.look.bare_display_time_format string "%H:%M" │
│ │ weechat.look.buffer_auto_renumber boolean on │
│ │ weechat.look.buffer_notify_default enum all │
│ │ weechat.look.buffer_position enum end │
│ │ weechat.look.buffer_notify_default integer all │
│ │ weechat.look.buffer_position integer end │
│ │ weechat.look.buffer_search_case_sensitive boolean off │
│ │ weechat.look.buffer_search_force_default boolean off │
│ │ weechat.look.buffer_search_regex boolean off │
│ │ weechat.look.buffer_search_where enum prefix_message │
│ │ weechat.look.buffer_search_where integer prefix_message │
│ │ weechat.look.buffer_time_format string "%H:%M:%S" │
│ │ weechat.look.buffer_time_same string "" │
│ │[12:55] [2] [fset] 2:fset │
@@ -3368,7 +3308,7 @@ irc.server.libera.autorejoin_delay integer null -> 30
irc.server.libera.away_check integer null -> 0
irc.server.libera.away_check_max_nicks integer null -> 25
irc.server.libera.capabilities string null -> "*"
irc.server.libera.charset_message enum null -> message
irc.server.libera.charset_message integer null -> message
irc.server.libera.command string null -> ""
irc.server.libera.command_delay integer null -> 0
irc.server.libera.connection_timeout integer null -> 60
@@ -3384,9 +3324,9 @@ irc.server.libera.notify string null -> ""
irc.server.libera.password string null -> ""
irc.server.libera.proxy string null -> ""
irc.server.libera.realname string null -> ""
irc.server.libera.sasl_fail enum null -> reconnect
irc.server.libera.sasl_fail integer null -> reconnect
irc.server.libera.sasl_key string null -> ""
irc.server.libera.sasl_mechanism enum null -> plain
irc.server.libera.sasl_mechanism integer null -> plain
irc.server.libera.sasl_password string "${sec.data.libera}"
irc.server.libera.sasl_timeout integer null -> 15
irc.server.libera.sasl_username string "alice"
@@ -3737,16 +3677,17 @@ konkretnym kolorze na liście nicków, za pomocą następujących opcji:
* <<option_irc.server_default.away_check_max_nicks,irc.server_default.away_check_max_nicks>>
* <<option_weechat.look.item_away_message,weechat.look.item_away_message>>
// TRANSLATION MISSING
[[irc_ircv3_batch]]
==== batch
Specifikacja: https://ircv3.net/specs/extensions/batch[batch ^↗^^]
Specification: https://ircv3.net/specs/extensions/batch[batch ^↗^^]
Ta właściwość pozwala serwerowi na wysyłanie seri zdarzeń (pogrupowane kilka powiązanych
wiadomości).
This capability allows the server to send batched events (grouping of several
messages that are related).
Obecnie WeeChat tylko przechowuje wiadomości odebrane w seri i przetwarza je w normalny
sposób, po zakończeniu seri.
For now, WeeChat only stores messages received in a batch and processes as usual
later, when the batch ends.
[[irc_ircv3_cap_notify]]
==== cap-notify
@@ -3769,7 +3710,7 @@ Przykłady:
Specyfikacja: https://ircv3.net/specs/extensions/chghost[chghost ^↗^^]
Ta właściwość pozwala serwerowi na wysyłanie wiadomości, kiedy użytkownik zmienia
Ta właściwośc pozwala serwerowi na wysyłanie wiadomości, kiedy użytkownik zmienia
nazwę lub hosta. Kiedy opcja <<option_irc.look.smart_filter_chghost,irc.look.smart_filter_chghost>>
jest włączona (domyślna wartość), zmiany hosta są domyślnie ukrywane jeśli dany
nick nie odzywał się od kilku minut. +
@@ -3782,44 +3723,45 @@ Przykłady:
-- alice (user@example.com) zmienił hosta na test.com
....
// TRANSLATION MISSING
[[irc_ircv3_draft_multiline]]
==== draft/multiline
Specifikacja: https://ircv3.net/specs/extensions/multiline[multiline ^↗^^]
Specification: https://ircv3.net/specs/extensions/multiline[multiline ^↗^^]
Ta właściwość pozwala klientowi i serwerowi wysyłać wieloliniowe wiadomości,
za pomocą właściwości <<irc_ircv3_batch,batch>>, która również musi być włączona.
This capability allows the client and server to send messages with multiple lines,
using the <<irc_ircv3_batch,batch>> capability, that must be enabled as well.
Istnieje limit bajtów lub ilości lini tych wiadomości podawane dla tej
właściwości wysyłanej przez serwer, na przykład:
There are limits in term of bytes or number of lines in a multiline message
that are given in the capability sent by the server, for example:
....
CAP alice LS * :draft/multiline=max-bytes=4096,max-lines=24
....
Ustawia to limit na 4096 bajtów i 24 linie dla zawartości wieloliniowej serii.
This sets a limit of 4096 bytes and 24 lines for a multiline batched content.
Jeśli serwer nie ustawia limitu, domyślne wartości dla WeeChat to:
If the limits are not given by the server, the default in WeeChat are:
* ilość bajtów: 4096
* ilość lin: 24
* max bytes: 4096
* max lines: 24
Tylko standardowe wiadmości oraz te wysyłane przez polecenie <<command_irc_notice,/notice>>
mogą mieć wiele linii. +
Ta właściwość nie ma wpływu na wiadomości ACTION CTCP wysyłane przez polecenie
<<command_irc_me,/me>>. Oznacza to ze wieloliniowe akcje wysyłane są jako wiele akcji.
Only standard messages and those send by the <<command_irc_notice,/notice>>
command can be multiline. +
ACTION CTCP messages sent with command <<command_irc_me,/me>> are not affected
by this capability. That means multiline actions are sent as multiple actions.
[WARNING]
Ponieważ specyfikacja jest "szkicem" może się zmienić i wsparcie dla tej właściwości
w WeeChat może się zepsuć w dowolnym momencie. +
Wsparcie dla tej właściwości jest automatycznie włączane jeśli serwer ją wspiera,
można ją wyłączyć za pomocą polecenia:
As the specification is a "draft", it may change and the multiline support can
possibly break at any time in WeeChat. +
The capability is automatically enabled if the server supports it and can be
disabled with this command:
`/set irc.server_default.capabilities "*,!draft/multiline"`. +
Kiedy wsparcie jest wyłączone, wieloliniowe wiadomości są wysyłane jako wiele wiadomości,
tak jakby były wysyłane sekwencyjnie do serwera.
When the capability is disabled, a multiline message is sent as multiple messages,
as if they were sent sequentially to the server.
Przykład wiadomości IRC wysłanych dla wiadomości użytkownika z dwoma liniami
(`this is a test` / `on two lines`), wysłane na kanał #test:
Example of IRC messages sent for a user message with two lines (`this is a test`
/ `on two lines`), send to channel #test:
....
BATCH +i8Je7M7gquddoyC9 draft/multiline #test
@@ -3828,25 +3770,26 @@ BATCH +i8Je7M7gquddoyC9 draft/multiline #test
BATCH -i8Je7M7gquddoyC9
....
Wiadomość wyświetlana w WeeChat:
Display of the message sent in WeeChat:
....
19:01:45 alice | this is a test
| on two lines
....
// TRANSLATION MISSING
[[irc_ircv3_echo_message]]
==== echo-message
Specifikacja: https://ircv3.net/specs/extensions/echo-message[echo-message ^↗^^]
Specification: https://ircv3.net/specs/extensions/echo-message[echo-message ^↗^^]
Ta właściwość wymusza na serwerze wysyłanie wiadomości PRIVMSG, NOTICE i TAGMSG
spowrotem do WeeChat.
This capability forces the server to send PRIVMSG, NOTICE and TAGMSG messages
back to WeeChat.
WeeChat wyświetla tylko otrzymane wiadomości, dlatego można zaobserwować pewne
opóźnienia pomiędzy wysłaniem a wyświetleniem wiadomości. Kiedy wiadomość zostanie
wyświetlona, oznacza to, że została ona poprawnie odebrana przez serwer i przesłana
do innych połączonych klientów.
WeeChat displays only the message received and not the message sent, so a delay
can be noticed between the send and the display. When the message is displayed,
it means it has been properly received by the server and propagated to other
clients connected to the server as well.
[[irc_ircv3_extended_join]]
==== extended-join
@@ -4053,11 +3996,12 @@ W celu zamknięcia prywatnego buforu możesz wykonać to polecenie w prywatnym b
/close
----
// TRANSLATION MISSING
[[irc_smart_filter]]
=== Inteligentne filtry
=== Smart filter
Inteligentne filtry są dostępne dla filtrowania części wiadomości w przypadku,
kiedy ktoś nic nie napisał na kanale w określonym czasie:
A smart filter is available to filter some messages when someone did not write
anything in the channel during a configurable delay:
- join: user joins the channel
- part: user leaves the channel
@@ -4068,29 +4012,29 @@ kiedy ktoś nic nie napisał na kanale w określonym czasie:
- nick: user changes its nick
- setname: user changes its real name
Intgeligentne filtry są domyślnie włączone, ale musisz dodać filtr ukrywający
wiadomości w buforach, na przydład:
Smart filter is enabled by default, but you must add a filter to hide lines on
buffers, for example:
----
/filter add irc_smart * irc_smart_filter *
----
Można stworzyć filtry dla pojedynczego kanału lub kanałów, których nazwy
zaczynają się tak samo (zobacz `/help filter`):
It is possible to create filter for one channel only or channels beginning with
same name (see `/help filter`):
----
/filter add irc_smart_weechat irc.libera.#weechat* irc_smart_filter *
----
Możesz ustawić dłuższe opóźnienie (w minutach):
You can setup a longer delay (in minutes):
----
/set irc.look.smart_filter_delay 10
----
Jeśli ktoś nie napiał nic w ciągu ostatnich 10 minut, jego wiadomości jak
join/part/quit zostaną domyślnie ukryte na kanale. Można użyć skrótu kbd:[Alt+=]
(przełącz filtry) żeby je zobaczyć.
If someone did not write anything during last 10 minutes, its messages like
join/part/quit will be hidden by default on channel, and you can use key
kbd:[Alt+=] (toggle filters) to see them.
[[irc_ctcp_replies]]
=== Odpowiedzi CTCP
@@ -4102,12 +4046,13 @@ Na przykład, ustawianie własnej odpowiedzi na CTCP "VERSION", możliwe jest za
pomocą polecenia:
----
/set irc.ctcp.version "I'm running WeeChat ${version}, it rocks!"
/set irc.ctcp.version "I'm running WeeChat $version, it rocks!"
----
// TRANSLATION MISSING
[NOTE]
Nazwa wiadomości CTCP musi być pisana małymi literami. Oznacza to, że ustawienie
opcji _irc.ctcp.VERSION_ nie zadziała.
The name of CTCP must be in lower case. That means option _irc.ctcp.VERSION_
would not work.
Jeśli chcesz zablokować CTCP "VERSION" (nie odpowiadać na zapytanie), ustaw
pusty ciąg:
@@ -4127,7 +4072,7 @@ Możliwe jest dostosowywanie odpowiedzi na CTCP tylko w obrębie serwera, używa
jego wewnętrznej nazwy przed nazwą zapytania CTCP:
----
/set irc.ctcp.libera.version "WeeChat ${version} (for libera)"
/set irc.ctcp.libera.version "WeeChat $version (for libera)"
----
Jeśli chcesz przywrócić standardowe odpowiedzi dla CTCP usuń opcję:
@@ -4136,43 +4081,40 @@ Jeśli chcesz przywrócić standardowe odpowiedzi dla CTCP usuń opcję:
/unset irc.ctcp.version
----
// TRANSLATION MISSING
The CTCP replies are evaluated (see command <<command_weechat_eval,/eval>>) and
the following extra variables are available:
Następujące kody mogą być użyte w ciągach i zostaną automatycznie zamienione
przez WeeChat podczas odpowiedzi na CTCP:
[width="100%",cols="2,4,8",options="header"]
[width="100%",cols="2l,4,8",options="header"]
|===
// TRANSLATION MISSING
| Variable | Opis | Wartość/Przykład
| `+${clientinfo}+` | Lista wspieranych CTCP | `+ACTION DCC CLIENTINFO FINGER PING SOURCE TIME USERINFO VERSION+`
| `+${version}+` | Wersja WeeChat | `+4.1.0-dev+`
| `+${versiongit}+` | Wersja WeeChat + wersja Git ^(1)^ | `+4.1.0-dev (git: v4.0.0-51-g8f98b922a)+`
| `+${git}+` | Wersja git ^(1)^ | `+v4.0.0-51-g8f98b922a+`
| `+${compilation}+` | Data kompilacji WeeChat | `+Jul 8 2023 20:14:23+`
| `+${osinfo}+` | Informacje o systemie operacyjnym | `+Linux 5.10.0-23-amd64 / x86_64+`
| `+${site}+` | Strona WeeChat | `+https://weechat.org/+`
| `+${download}+` | Strona WeeChat, pobieranie | `+https://weechat.org/download/+`
| `+${time}+` | Obecna data/czas | `+Sat, 08 Jul 2023 21:11:19 +0200+`
| `+${username}+` | Nazwa użytkownika na serwerze IRC | `+name+`
| `+${realname}+` | Prawdziwa nazwa na serwerze IRC | `+John Doe+`
| Kod | Opis | Wartość/Przykład
| $clientinfo | Lista wspieranych CTCP | `+ACTION DCC CLIENTINFO FINGER PING SOURCE TIME USERINFO VERSION+`
| $version | Wersja WeeChat | `+0.4.0-dev+`
| $versiongit | Wersja WeeChat + wersja Git ^(1)^ | `+0.4.0-dev (git: v0.3.9-104-g7eb5cc4)+`
| $git | Wersja git ^(1)^ | `+v0.3.9-104-g7eb5cc4+`
| $compilation | Data kompilacji WeeChat | `+Dec 16 2012+`
| $osinfo | Informacje o systemie operacyjnym | `+Linux 2.6.32-5-amd64 / x86_64+`
| $site | Strona WeeChat | `+https://weechat.org/+`
| $download | Strona WeeChat, pobieranie | `+https://weechat.org/download/+`
| $time | Obecna data/czas | `+Sun, 16 Dec 2012 10:40:48 +0100+`
| $username | Nazwa użytkownika na serwerze IRC | `+name+`
| $realname | Prawdziwa nazwa na serwerze IRC | `+John Doe+`
|===
[NOTE]
^(1)^ Wersja git jest wynikiem komendy `git describe`. Jest dostępna tylko jeśli
WeeChat został skompilowany wewnątrz repozytorium Git i Git był zainstalowany.
// TRANSLATION MISSING
The default CTCP replies are:
Jeśli opcje CTCP nie są zdefiniowane (domyślne), odpowiedzi CTCP to:
[width="100%",cols="2,4,8",options="header"]
|===
| CTCP | Format odpowiedzi | Przykład
| CLIENTINFO | `+${clientinfo}+` | `+ACTION DCC CLIENTINFO FINGER PING SOURCE TIME USERINFO VERSION+`
| FINGER | `+WeeChat ${version}+` | `+WeeChat 4.1.0-dev+`
| SOURCE | `+${download}+` | `+https://weechat.org/download/+`
| TIME | `+${time}+` | `+Sat, 08 Jul 2023 21:11:19 +0200+`
| USERINFO | `+${username} (${realname})+` | `+name (John Doe)+`
| VERSION | `+WeeChat ${version}+` | `+WeeChat 4.1.0-dev+`
| CTCP | Format odpowiedzi | Przykład
| CLIENTINFO | `+$clientinfo+` | `+ACTION DCC CLIENTINFO FINGER PING SOURCE TIME USERINFO VERSION+`
| FINGER | `+WeeChat $versiongit+` | `+WeeChat 0.4.0-dev (git: v0.3.9-104-g7eb5cc4)+`
| SOURCE | `+$download+` | `+https://weechat.org/download/+`
| TIME | `+$time+` | `+Sun, 16 Dec 2012 10:40:48 +0100+`
| USERINFO | `+$username ($realname)+` | `+name (John Doe)+`
| VERSION | `+WeeChat $versiongit ($compilation)+` | `+WeeChat 0.4.0-dev (git: v0.3.9-104-g7eb5cc4) (Dec 16 2012)+`
|===
[[irc_target_buffer]]
@@ -4717,8 +4659,9 @@ Składnia dla komend/tekstu przekazywanego do kolejki FIFO wygląda następując
*tekst lub komenda
....
Backslashe mogą być użyte w tym formacie zastępując `*` przez `\`, pozwalając
na przykład wysyłanie wiadomości wieloliniowych:
// TRANSLATION MISSING
Backslashes can be interpreted with this format, where `*` is replaced by `\`,
allowing for example to send multiline messages:
....
plugin.buffer \text or command here
@@ -4739,8 +4682,9 @@ $ echo 'irc.server.libera */nick newnick' >/run/user/1000/weechat/weechat_fifo_1
$ echo 'irc.libera.#weechat *hello!' >/run/user/1000/weechat/weechat_fifo_12345
----
* Wysyłanie wielolinowych wiadomości na kanał IRC #test, jeśli właściwość
"draft/multiline" jest włączona na serwerze ergo:
// TRANSLATION MISSING
* Send a multiline message on IRC #test channel, if capability "draft/multiline"
is enabled on the ergo server:
----
$ echo 'irc.ergo.#test \hello\n...on two lines!' >/run/user/1000/weechat/weechat_fifo_12345
@@ -5340,8 +5284,9 @@ Zmienne ustawiane za pomocą tagów w wiadomościach:
| tg_msg_pv | ciąg | "1" dla prywatnej wiadomości, inaczej "0".
|===
// TRANSLATION MISSING
[NOTE]
^(1)^ Przecinki są zastępowane przez średniki w tagach IRC (kluczach i wartościach)
^(1)^ Commas are replaced by semicolons in IRC tag (key and value).
[[trigger_data_print]]
==== Print
@@ -5377,8 +5322,9 @@ Zmienne ustawiane za pomocą tagów w wiadomościach:
| tg_msg_pv | ciąg | "1" dla prywatnej wiadomości, inaczej "0".
|===
// TRANSLATION MISSING
[NOTE]
^(1)^ Przecinki są zastępowane przez średniki w tagach IRC (kluczach i wartościach)
^(1)^ Commas are replaced by semicolons in IRC tag (key and value).
[[trigger_data_command]]
==== Command
+1 -1
View File
@@ -37,7 +37,7 @@ STUB_HEADER = """\
# DO NOT EDIT BY HAND!
#
from typing import Dict
from typing import Dict, Union
"""
CONSTANT_RE = (
+6 -6
View File
@@ -283,7 +283,6 @@ WeeChat „језгро” се налази у следећим директо
|       irc-info.c | IRC info/infolists/hdata.
|       irc-input.c | Унос команди/текста.
|       irc-join.c | Функције за листе канала којима се приступа.
|       irc-list.c | Бафер за одговор на /list команду.
|       irc-message.c | Функције за манипулисање IRC порукама.
|       irc-mode.c | Функције у вези режима канала/надимка.
|       irc-modelist.c | Листе режима IRC канала (+b, +e, +I, ...).
@@ -439,10 +438,8 @@ WeeChat „језгро” се налази у следећим директо
|             test-irc-channel.cpp | Тестови: IRC канали.
|             test-irc-color.cpp | Тестови: IRC боје.
|             test-irc-config.cpp | Тестови: IRC конфигурација.
|             test-irc-ctcp.cpp | Тестови: IRC CTCP.
|             test-irc-ignore.cpp | Тестови: IRC игнорисања.
|             test-irc-join.cpp | Тестови: IRC функције приступања.
|             test-irc-list.cpp | Тестови: IRC бафер за одговор на /list команду.
|             test-irc-message.cpp | Тестови: IRC поруке.
|             test-irc-mode.cpp | Тестови: IRC режими.
|             test-irc-nick.cpp | Тестови: IRC надимци.
@@ -453,7 +450,8 @@ WeeChat „језгро” се налази у следећим директо
|          logger/ | Корен unit тестива за logger додатак.
|             test-logger.cpp | Тестови: logger.
|             test-logger-backlog.cpp | Тестови: logger заостатак.
|             test-logger-tail.cpp | Тестови: logger tail фунцкије.
// TRANSLATION MISSING
|             test-logger-tail.cpp | Tests: logger tail functions.
|          trigger/ | Корен unit тестова за окидач додатак.
|             test-trigger.cpp | Тестови: окидачи.
|             test-trigger-config.cpp | Тестови: конфигурација окидача.
@@ -462,8 +460,10 @@ WeeChat „језгро” се налази у следећим директо
|             test-typing-status.cpp | Тестови: typing статус.
|          relay/ | Корен unit тестова за Релеј додатак.
|             test-relay-auth.cpp | Тестови: аутентификација клијената.
|             irc/ | Корен unit тестова за Релеј „irc” протокол.
|                test-relay-irc.cpp | Тестови: РЕлеј „irc” протокол.
// TRANSLATION MISSING
|             irc/ | Root of unit tests for Relay "irc" protocol.
// TRANSLATION MISSING
|                test-relay-irc.cpp | Tests: Relay "irc" protocol.
|          xfer/ | Корен unit тестова за Xfer додатак.
|             test-xfer-file.cpp | Тестови: фајл функције.
|             test-xfer-network.cpp | Тестови: мрежне функције.
+3 -19
View File
@@ -543,12 +543,6 @@ UXTerm*metaSendsEscape: true
/trigger add numberjump modifier "2000|input_text_for_buffer" "${tg_string} =~ ^/[0-9]+$" "=\/([0-9]+)=/buffer *${re:1}=" "" "" "none"
----
За једноставно скакање на бафере, можете такође да инсталирате и _go.py_ скрипту:
----
/script install go.py
----
[[global_history]]
=== Како да се тастерима горе и доле користи глобална историја (уместо историје бафера)?
@@ -963,10 +957,7 @@ export OBJC_DISABLE_INITIALIZE_FORK_SAFETY=YES
Можете да следите исте савете као за <<memory_usage,меморију>>, као и следеће:
// TRANSLATION MISSING
* Сакријте „nicklist” траку: `/bar hide nicklist` (key: kbd:[Alt+Shift+N]).
// TRANSLATION MISSING
* Disable "buflist": `/buflist disable` (key: kbd:[Alt+Shift+B]).
* Сакријте „nicklist” траку: `/bar hide nicklist`.
* Уклоните приказ секунди из времена у статусној траци: `+/set weechat.look.item_time_format "%H:%M"+` (ово је и подразумевана вредност).
* Искључите проверу неисправно написаних речи у командној линији у реалном времену (ако сте је укључили): `+/set spell.check.real_time off+`.
* Поставите променљиву _TZ_ (на пример: `export TZ="Europe/Paris"`), тиме спречавате чест приступ фајлу _/etc/localtime_.
@@ -985,21 +976,14 @@ export OBJC_DISABLE_INITIALIZE_FORK_SAFETY=YES
----
/set irc.ctcp.clientinfo ""
/set irc.ctcp.finger ""
/set irc.ctcp.source ""
/set irc.ctcp.time ""
/set irc.ctcp.userinfo ""
/set irc.ctcp.version ""
/set irc.ctcp.ping ""
----
// TRANSLATION MISSING
With WeeChat < 4.1.0, other CTCP queries were replied by default and must be
disabled as well:
----
/set irc.ctcp.finger ""
/set irc.ctcp.userinfo ""
----
Уклоните из меморије и искључите ауто учитавање „xfer” додатка (користи се за IRC DCC):
----
+83 -194
View File
@@ -6509,9 +6509,10 @@ my_section_read_cb (const void *pointer, void *data,
{
/* ... */
return WEECHAT_CONFIG_READ_OK;
/* return WEECHAT_CONFIG_READ_MEMORY_ERROR; */
/* return WEECHAT_CONFIG_READ_FILE_NOT_FOUND; */
return WEECHAT_CONFIG_OPTION_SET_OK_CHANGED;
/* return WEECHAT_CONFIG_OPTION_SET_OK_SAME_VALUE; */
/* return WEECHAT_CONFIG_OPTION_SET_ERROR; */
/* return WEECHAT_CONFIG_OPTION_SET_OPTION_NOT_FOUND; */
}
int
@@ -6601,7 +6602,7 @@ def config_new_section(config_file: str, name: str,
callback_delete_option: str, callback_delete_option_data: str) -> str: ...
# пример
def my_section_read_cb(data: str, config_file: str, section: str, option_name: str, value: str | None) -> int:
def my_section_read_cb(data: str, config_file: str, section: str, option_name: str, value: Union[str, None]) -> int:
# ...
return weechat.WEECHAT_CONFIG_OPTION_SET_OK_CHANGED
# return weechat.WEECHAT_CONFIG_OPTION_SET_OK_SAME_VALUE
@@ -6620,7 +6621,7 @@ def my_section_write_default_cb(data: str, config_file: str, section_name: str)
# return weechat.WEECHAT_CONFIG_WRITE_ERROR
# return weechat.WEECHAT_CONFIG_WRITE_MEMORY_ERROR
def my_section_create_option_cb(data: str, config_file: str, section: str, option_name: str, value: str | None) -> int:
def my_section_create_option_cb(data: str, config_file: str, section: str, option_name: str, value: Union[str, None]) -> int:
# ...
return weechat.WEECHAT_CONFIG_OPTION_SET_OK_CHANGED
# return weechat.WEECHAT_CONFIG_OPTION_SET_OK_SAME_VALUE
@@ -6685,7 +6686,7 @@ section = weechat.config_search_section(config_file, "section")
==== config_new_option
_Ажурирано у верзији 1.5, 4.1.0._
_Ажурирано у верзији 1.5._
Креира нову опцију у одељку конфигурационог фајла.
@@ -6730,13 +6731,11 @@ struct t_config_option *weechat_config_new_option (
* _name_: име опције; у програм у WeeChat верзије ≥ 1.4, име може да укључи и име родитељске опције (у случају да је ова опција „null”, вредност родитељске опције ће се приказати у излазу команде `/set`), тада је синтакса: „име << фајл.одељак.опција”
* _type_: тип опције:
** _boolean_: логичка вредност (on/off)
** _integer_: целобројна вредност
** _integer_: целобројна вредност (са стринговима за вредности који нису обавезни)
** _string_: стринг вредност
** _color_: боја
** _enum_: листа стринг вредности (интерно се чува као цео број)
* _description_: опис опције
* _string_values_: вредности као стринг (раздвојене са `+|+`) (није обавезно, потребно је
за тип _enum_)
* _string_values_: вредности као стринг (раздвојене са `+|+`), користе се за _integer_ тип (није обавезно)
* _min_: минимална вредност (за _integer_ тип)
* _max_: максимална вредност (за _integer_ тип)
* _default_value_: подразумевана вредност опције (користи се када се опција ресетује)
@@ -6774,8 +6773,8 @@ C пример:
[source,c]
----
/* логичка */
struct t_config_option *option_bool =
weechat_config_new_option (config_file, section, "option_bool", "boolean",
struct t_config_option *option1 =
weechat_config_new_option (config_file, section, "option1", "boolean",
"My option, type boolean",
NULL,
0, 0,
@@ -6787,8 +6786,8 @@ struct t_config_option *option_bool =
NULL, NULL, NULL);
/* целобројна */
struct t_config_option *option_int =
weechat_config_new_option (config_file, section, "option_int", "integer",
struct t_config_option *option2 =
weechat_config_new_option (config_file, section, "option2", "integer",
"My option, type integer",
NULL,
0, 100,
@@ -6799,9 +6798,22 @@ struct t_config_option *option_int =
NULL, NULL, NULL,
NULL, NULL, NULL);
/* целобројна (са стринг вредностима) */
struct t_config_option *option3 =
weechat_config_new_option (config_file, section, "option3", "integer",
"My option, type integer (with string values)",
"top|bottom|left|right",
0, 0,
"bottom",
"bottom",
0,
NULL, NULL, NULL,
NULL, NULL, NULL,
NULL, NULL, NULL);
/* стринг */
struct t_config_option *option_str =
weechat_config_new_option (config_file, section, "option_str", "string",
struct t_config_option *option4 =
weechat_config_new_option (config_file, section, "option4", "string",
"My option, type string",
NULL,
0, 0,
@@ -6813,8 +6825,8 @@ struct t_config_option *option_str =
NULL, NULL, NULL);
/* боја */
struct t_config_option *option_col =
weechat_config_new_option (config_file, section, "option_col", "color",
struct t_config_option *option5 =
weechat_config_new_option (config_file, section, "option5", "color",
"My option, type color",
NULL,
0, 0,
@@ -6824,19 +6836,6 @@ struct t_config_option *option_col =
NULL, NULL, NULL,
NULL, NULL, NULL,
NULL, NULL, NULL);
/* целобројна (са стринг вредностима) */
struct t_config_option *option_enum =
weechat_config_new_option (config_file, section, "option_enum", "enum",
"My option, type enum",
"top|bottom|left|right",
0, 0,
"bottom",
"bottom",
0,
NULL, NULL, NULL,
NULL, NULL, NULL,
NULL, NULL, NULL);
----
Скрипта (Python):
@@ -6846,55 +6845,55 @@ struct t_config_option *option_enum =
# прототип
def config_new_option(config_file: str, section: str, name: str, type: str, description: str,
string_values: str, min: int, max: int,
default_value: str | None, value: str | None, null_value_allowed: int,
default_value: Union[str, None], value: Union[str, None], null_value_allowed: int,
callback_check_value: str, callback_check_value_data: str,
callback_change: str, callback_change_data: str,
callback_delete: str, callback_delete_data: str) -> str: ...
# пример
def option_str_check_value_cb(data: str, option: str, value: str) -> int:
def option4_check_value_cb(data: str, option: str, value: str) -> int:
# ...
return 1
# return 0
def option_str_change_cb(data: str, option: str) -> None:
def option4_change_cb(data: str, option: str) -> None:
# ...
def option_str_delete_cb(data: str, option: str) -> None:
def option4_delete_cb(data: str, option: str) -> None:
# ...
option_bool = weechat.config_new_option(config_file, section, "option_bool", "boolean",
option1 = weechat.config_new_option(config_file, section, "option1", "boolean",
"My option, type boolean",
"", 0, 0, "on", "on", 0,
"", "",
"", "",
"", "")
option_int = weechat.config_new_option(config_file, section, "option_int", "integer",
option2 = weechat.config_new_option(config_file, section, "option2", "integer",
"My option, type integer",
"", 0, 100, "15", "15", 0,
"", "",
"", "",
"", "")
option_str = weechat.config_new_option(config_file, section, "option_str", "string",
"My option, type string",
"", 0, 0, "test", "test", 1,
"option_str_check_value_cb", "",
"option_str_change_cb", "",
"option_str_delete_cb", "")
option_col = weechat.config_new_option(config_file, section, "option_col", "color",
"My option, type color",
"", 0, 0, "lightblue", "lightblue", 0,
option3 = weechat.config_new_option(config_file, section, "option3", "integer",
"My option, type integer (with string values)",
"top|bottom|left|right",
0, 0, "bottom", "bottom", 0,
"", "",
"", "",
"", "")
option_enum = weechat.config_new_option(config_file, section, "option_enum", "enum",
"My option, type enum",
"top|bottom|left|right",
0, 0, "bottom", "bottom", 0,
option4 = weechat.config_new_option(config_file, section, "option4", "string",
"My option, type string",
"", 0, 0, "test", "test", 1,
"option4_check_value_cb", "",
"option4_change_cb", "",
"option4_delete_cb", "")
option5 = weechat.config_new_option(config_file, section, "option5", "color",
"My option, type color",
"", 0, 0, "lightblue", "lightblue", 0,
"", "",
"", "",
"", "")
@@ -7166,7 +7165,7 @@ int weechat_config_option_set (struct t_config_option *option,
* _value_: нова вредност опције, могуће су и специјалне вредности које зависе од типа опције:
** _boolean_:
*** `toggle`: пребацује текућу вредност
** _integer_, _color_ или _enum_:
** _integer_ или _color_:
*** `++N`: додаје `N` (било који цео број) на текућу вредност
*** `--N`: одузима `N` (било који цео број) од текуће вредности
* _run_callback_: 1 за позив change функције повратног позива ако је вредност измењена, у супротном 0
@@ -7397,7 +7396,6 @@ const char *weechat_config_option_get_string (struct t_config_option *option,
*** _integer_
*** _string_
*** _color_
*** _enum_
** _description_: опис опције
Повратна вредност:
@@ -7572,7 +7570,6 @@ int weechat_config_boolean (struct t_config_option *option);
* _integer_: 0
* _string_: 0
* _color_: 0
* _enum_: 0
C пример:
@@ -7623,7 +7620,6 @@ int weechat_config_boolean_default (struct t_config_option *option);
* _integer_: 0
* _string_: 0
* _color_: 0
* _enum_: 0
C пример:
@@ -7674,7 +7670,6 @@ int weechat_config_integer (struct t_config_option *option);
* _integer_: целобројна вредност опције
* _string_: 0
* _color_: индекс боје
* _enum_: целобројна вредност опције (индекс enum вредности)
C пример:
@@ -7717,7 +7712,6 @@ int weechat_config_integer_default (struct t_config_option *option);
* _integer_: подразумевана целобројна вредност опције
* _string_: 0
* _color_: подразумевани индекс боје
* _enum_: подразумевана целобројна вредност опције (индекс enum вредности)
C пример:
@@ -7757,10 +7751,9 @@ const char *weechat_config_string (struct t_config_option *option);
Повратна вредност, зависи од типа опције:
* _boolean_: „on” ако је вредност истинита, у супротном „off”
* _integer_: NULL
* _integer_: стринг вредност опције је цео број са стринг вредностима, у супротном је NULL
* _string_: стринг вредност опције
* _color_: име боје
* _enum_: стринг вредност опције
C пример:
@@ -7800,10 +7793,9 @@ const char *weechat_config_string_default (struct t_config_option *option);
Повратна вредност, зависи од типа опције:
* _boolean_: „on” ако је подразумевана вредност истинита, у супротном „off”
* _integer_: NULL
* _integer_: подразумевана стринг вредност опције је цео број са стринг вредностима, у супротном је NULL
* _string_: подразумевана стринг вредност опције
* _color_: име подразумеване боје
* _enum_: подразумевана стринг вредност опције
C пример:
@@ -7846,7 +7838,6 @@ const char *weechat_config_color (struct t_config_option *option);
* _integer_: NULL
* _string_: NULL
* _color_: име боје
* _enum_: NULL
C пример:
@@ -7889,7 +7880,6 @@ const char *weechat_config_color_default (struct t_config_option *option);
* _integer_: NULL
* _string_: NULL
* _color_: име подразумеване боје
* _enum_: NULL
C пример:
@@ -7911,96 +7901,6 @@ option = weechat.config_get("plugin.section.option")
value = weechat.config_color_default(option)
----
==== config_enum
_WeeChat ≥ 4.1.0._
Враћа enum вредност опције, као цео број.
Прототип:
[source,c]
----
int weechat_config_enum (struct t_config_option *option);
----
Аргументи:
* _option_: показивач на опцију
Враћена вредност, у зависности од типа опције:
* _boolean_: логичка вредност опције (0 или 1)
* _integer_: целобројна вредност опције
* _string_: 0
* _color_: индекс боје
* _enum_: целобројна вредност опције (индекс enum вредности)
C пример:
[source,c]
----
struct t_config_option *option = weechat_config_get ("plugin.section.option");
int value = weechat_config_enum (option);
----
Скрипта (Python):
[source,python]
----
# прототип
def config_enum(option: str) -> int: ...
# пример
option = weechat.config_get("plugin.section.option")
value = weechat.config_enum(option)
----
==== config_enum_default
_WeeChat ≥ 4.1.0._
Враћа подразумевану enum вредност опције, као цео број.
Прототип:
[source,c]
----
int weechat_config_enum_default (struct t_config_option *option);
----
Аргументи:
* _option_: показивач на опцију
Повратна вредност, у зависности од типа опције:
* _boolean_: подразумевана логичка вредност опције (0 или 1)
* _integer_: подразумевана целобројна вредност опције
* _string_: 0
* _color_: подразумевани индекс боје
* _enum_: подразумевана целобројна вредност опције (индекс enum вредности)
C пример:
[source,c]
----
struct t_config_option *option = weechat_config_get ("plugin.section.option");
int value = weechat_config_enum_default (option);
----
Скрипта (Python):
[source,python]
----
# прототип
def config_enum_default(option: str) -> int: ...
# пример
option = weechat.config_get("plugin.section.option")
value = weechat.config_enum_default(option)
----
==== config_write_option
Уписује линију у конфигурациони фајл са опцијом и њеном вредности (ова функција би требало да се позове само у „write” или „write_default” функцијама повратног позива за одељак).
@@ -10293,7 +10193,7 @@ hook = weechat.hook_connect("", "my.server.org", 1234, 1, 0, "",
==== hook_line
_WeeChat ≥ 2.3, ажурирано у 3.7, 4.1.0._
_WeeChat ≥ 2.3, ажурирано у 3.7._
Качи се на линију која треба да се испише у бафер.
@@ -10349,16 +10249,14 @@ struct t_hook *weechat_hook_line (const char *buffer_type,
|===
| Кључ | Вредност (форматирани бафер) | Вредност (слободни бафер) | Примери
// TRANSLATION MISSING
| buffer
| Comma-separated list of buffer pointers.
| Comma-separated list of buffer pointers.
| Показивач на бафер.
| Показивач на бафер.
| `+0x1234abcd+`
// TRANSLATION MISSING
| buffer_name
| Comma-separated list of buffer names.
| Comma-separated list of buffer names.
| Име бафера.
| Име бафера.
| `+core.weechat+` +
`+irc.server.libera+` +
`+irc.libera.#weechat+`
@@ -10443,23 +10341,17 @@ struct t_hook *weechat_hook_line (const char *buffer_type,
|===
| Кључ | Дозвољена вредност (форматирани бафер) | Дозвољена вредност (слободни бафер) | Резултат
// TRANSLATION MISSING
| buffer
| Comma-separated list buffer pointers (with formatted content)
(multiple buffers are supported only with WeeChat ≥ 4.1.0).
| Comma-separated list buffer pointers (with free content)
(multiple buffers are supported only with WeeChat ≥ 4.1.0).
| The line is displayed on these buffers. +
| Показивач на бафер са форматираним садржајем.
| Показивач на бафер са слободним садржајем.
| Линија се приказује у овом баферу. +
Ако је вредност празна, линија се брише (тада се све остало у хеш табели
игнорише); наредне куке типа „line” се не позивају.
// TRANSLATION MISSING
| buffer_name
| Comma-separated list buffer names (with formatted content)
(multiple buffers are supported only with WeeChat ≥ 4.1.0).
| Comma-separated list buffer names (with free content)
(multiple buffers are supported only with WeeChat ≥ 4.1.0).
| The line is displayed on these buffers. +
| Име бафера са форматираним садржајем.
| Име бафера са слободним садржајем.
| Линија се приказује у овом баферу. +
Ако је и `buffer` постављено, вредност `+buffer_name+` има виши приоритет и она се користи. +
Ако је вредност празна, линија се брише (тада се све остало у хеш табели
игнорише); наредне куке типа „line” се не позивају.
@@ -12069,22 +11961,25 @@ struct t_hook *weechat_hook_modifier (const char *modifier,
(да стане у 512 подразумевано).
| Нови садржај поруке.
// TRANSLATION MISSING
| [[hook_modifier_relay_client_irc_in]] relay_client_irc_in | 4.0.0
| Стринг са показивачем на релеј клијента (нпр. "0x1234abcd")
| Садржај поруке примљене од релеј IRC клијента.
| Нови садржај поруке.
| String with relay client pointer (eg: "0x1234abcd")
| Content of message received from relay IRC client.
| New content of message.
// TRANSLATION MISSING
| [[hook_modifier_relay_client_irc_out1]] relay_client_irc_out1 | 4.0.0
| Стринг са показивачем на релеј клијента (нпр. "0x1234abcd")
| Садржај поруке која треба да се пошаље релеј IRC клијенту пре аутоматске поделе
(тако да стане у подразумевано 512 бајтова).
| Нови садржај поруке.
| String with relay client pointer (eg: "0x1234abcd")
| Content of message about to be sent to relay IRC client before automatic split
(to fit in 512 bytes by default).
| New content of message.
// TRANSLATION MISSING
| [[hook_modifier_relay_client_irc_out]] relay_client_irc_out | 4.0.0
| Стринг са показивачем на релеј клијента (нпр. "0x1234abcd")
| Садржај поруке која треба да се пошаље релеј IRC клијенту након аутоматске поделе
(тако да стане у подразумевано 512 бајтова).
| Нови садржај поруке.
| String with relay client pointer (eg: "0x1234abcd")
| Content of message about to be sent to relay IRC client after automatic split
(to fit in 512 bytes by default).
| New content of message.
| [[hook_modifier_bar_condition_yyy]] bar_condition_yyy ^(2)^ |
| Стринг са показивачем на прозор (нпр: "0x1234abcd")
@@ -12588,7 +12483,7 @@ struct t_hook *my_hdata = weechat_hook_hdata ("my_hdata",
==== hook_focus
_Ажурирано у верзији 1.5, 4.0.0, 4.1.0._
_Ажурирано у верзији 1.5._
Качи се на фокус: догађај миша или тастер притиснут у режиму померања курсора.
@@ -12690,22 +12585,16 @@ struct t_hook *weechat_hook_focus (const char *area,
| _chat_line_message | Порука линије.
| "Hello world!" | ""
| _chat_focused_line | Линија на (x, y) _(WeeChat ≥ 4.0.0)_.
| _chat_focused_line | Линија на (x,y) _(WeeChat ≥ 4.0.0)_.
| "Здраво свима!" | ""
| _chat_focused_line_bol | Текст од почетка линије до (x-1, y) _(WeeChat ≥ 4.1.0)_.
| "Здраво" | ""
| _chat_focused_line_eol | Текст од (x, y) до краја линије _(WeeChat ≥ 4.1.0)_.
| "аво свима!" | ""
| _chat_word | Реч на (x,y).
| "Здраво" | ""
| _chat_bol | Текст од почетка поруке до (x-1, y).
| _chat_bol | Текст од почетка линије до (x-1, y).
| "Зд" | ""
| _chat_eol | Текст од (x, y) до краја поруке.
| _chat_eol | Тест од (x, y) до краја линије.
| "раво свете!" | ""
| _bar_name | Име траке.
@@ -17130,7 +17019,7 @@ int weechat_hdata_get_var_offset (struct t_hdata *hdata, const char *name);
Повратна вредност:
* померај променљиве, -1 у случају да је дошло до грешке
* померај променљиве, 0 у случају да је дошло до грешке
C пример:
+12 -9
View File
@@ -93,7 +93,7 @@ _клијенти_ су повезани са _релејем_ као што ј
=== handshake
// TRANSLATION MISSING
_WeeChat ≥ 2.9, ажурирано у верзијама 3.5, 4.0.0._
_WeeChat ≥ 2.9, updated in versions 3.5, 4.0.0._
Извршава руковање између клијента и програма WeeChat: ово је у већини случајева неопходно како би се сазнале поставке сесије и припремила аутентификација командом _init_.
@@ -123,10 +123,11 @@ _WeeChat ≥ 2.9, ажурирано у верзијама 3.5, 4.0.0._
*** _zstd_: компресија са https://facebook.github.io/zstd/[Zstandard ^↗^^]: боља
компресија, као и много бржа компресија и декомпресија у односу на _zlib_
_(WeeChat ≥ 3.5)_
** _escape_commands_: команде које клијент шаље релеју морају да се означе:
све обрнуте косе црте се интерпретирају и једна обрнута коса црта мора да се означи (`\\`);
на овај начин клијент, на пример, може да шаље вишелинијске поруке (карактери `\n` се
претварају у преломе редова, погледајте <<command_input,input команду>>)
// TRANSLATION MISSING
** _escape_commands_: commands sent by the client to relay must be escaped:
all backslashes are interpreted and a single backslash must be escaped (`\\`);
this allows for example the client to send multiline messages (chars `\n` are
converted to newlines, see <<command_input,input command>>)
_(WeeChat ≥ 4.0.0)_
Напомене у вези опције _password_hash_algo_:
@@ -157,9 +158,10 @@ _WeeChat ≥ 2.9, ажурирано у верзијама 3.5, 4.0.0._
** _off_: поруке се не компресују
** _zlib_: поруке су компресоване са https://zlib.net/[zlib ^↗^^]
** _zstd_: поруке су компресоване са https://facebook.github.io/zstd/[Zstandard ^↗^^]
// TRANSLATION MISSING
* _escape_commands_:
** _on_: све обрнуте косе црте у порукама клијента се интерпретирају
** _off_: обрнуте косе црте у порукама клијента се *НЕ* интерпретирају и користе се онакве какве су
** _on_: all backslashes are interpreted in the client messages
** _off_: backslashes are *NOT* interpreted in the client messages and used as-is
[TIP]
У програму WeeChat верзије ≤ 2.8, команда _handshake_ није имплементирана, програм WeeChat једноставно игнорише ову команду, чак и ако се пошаље пре _init_ команде. +
@@ -945,8 +947,9 @@ input core.weechat /help filter
input irc.libera.#weechat здраво!
----
* Шаље вишелинијску поруку на #test канал (опција _escape_commands_ мора да буде
укључена у <<command_handshake,handshake команди>> и потребан је
// TRANSLATION MISSING
* Send multiline message to #test channel (option _escape_commands_ must have
been enabled in <<command_handshake,handshake command>> and requires
WeeChat ≥ 4.0.0):
----
+110 -172
View File
@@ -112,7 +112,7 @@ WeeChat мора да се изгради са CMake.
| pkg-config |
| Детекција инсталираних библиотека.
| libncurses-dev |
| libncursesw5-dev ^(2)^ |
| Ncurses интерфејс.
| libcurl4-gnutls-dev |
@@ -121,7 +121,7 @@ WeeChat мора да се изгради са CMake.
| libgcrypt20-dev |
| Обезбеђени подаци, IRC SASL аутентификација.
| libgnutls28-dev | ≥ 2.2.0 ^(2)^
| libgnutls28-dev | ≥ 2.2.0 ^(3)^
| IRC додатак: подршка за TLS везе, IRC SASL аутентификацију (ECDSA-NIST256P-CHALLENGE). +
Relay додатак: подршка за TLS везе.
@@ -138,7 +138,8 @@ WeeChat мора да се изгради са CMake.
[NOTE]
^(1)^ Име долази из Debian GNU/Linux Bookworm дистрибуције, верзија и
име могу да буду другачији у осталим дитрибуцијама. +
^(2)^ GnuTLS ≥ 3.0.21 је неопходан за IRC SASL аутентификацију механизмом ECDSA-NIST256P-CHALLENGE.
^(2)^ Препоручује се компајлирање са libncurses**w**5-dev (битно је *w*). Програм WeeChat може да се компајлира са libncurses5-dev, али се то *НЕ* препоручује: можете имати багове код приказа широких карактера. +
^(3)^ GnuTLS ≥ 3.0.21 је неопходан за IRC SASL аутентификацију механизмом ECDSA-NIST256P-CHALLENGE.
Следећа табела приказује листу пакета који нису обавезни за компајлирање програма WeeChat:
@@ -1245,8 +1246,7 @@ _прозор_ је површина екрана која приказује б
| filter
| било који стринг
| Филтер дефинисан у неким баферима као што су `/fset`, `/list` (irc), `/server raw` (irc)
и `/script`.
| Филтер дефинисан за неке бафере, као што су `/fset`, `/server raw` (irc) и `/script`.
| host
| било који стринг
@@ -1352,20 +1352,6 @@ include::{autogendir}/autogen_user_commands.sr.adoc[tag=buflist_commands]
include::{autogendir}/autogen_user_options.sr.adoc[tag=buflist_options]
[[cursor_mode]]
=== Режим курсора
Режим курсора вам омогућава да курсор слободно померате по целом екрану, у чет
површини и тракама, тако да на одређеној опцији можете да обављате акције. +
У режим курсора можете да уђете било командом `/cursor`, било средњим кликом
(потребно је да миш буде укључен тастером kbd:[Alt+m] или командом `/mouse enable`).
Типична употреба је за цитирање порука (чет површина) или интеракција са надимцима (трака листе надимака).
За листу акција које можете да извршите у овом режим погледајте погледајте
команду <<command_weechat_cursor,/cursor>> и
<<key_bindings_cursor_context,везивања тастера у контексту курсора.>>
[[key_bindings]]
== Тастерске пречице
@@ -1581,44 +1567,38 @@ WeeChat нуди доста подразумеваних тастерских п
| kbd:[Enter] +
kbd:[Ctrl+j] +
kbd:[Ctrl+m] | Заустављање претраге на текућој позицији. | `+/input search_stop_here+`
| kbd:[Ctrl+q] | Заустављање претраге и ресетовање скрола на стање пре почетка претраге текста. | `+/input search_stop+`
// TRANSLATION MISSING
| kbd:[Ctrl+q] | Stop search and reset scroll to pre-text search state. | `+/input search_stop+`
|===
[[key_bindings_cursor_context]]
=== Контекст курсора
Ови тастери се користе у „cursor” контексту (слободно померање курсора по екрану),
погледајте <<cursor_mode,Режим курсора>>.
Ови тастери се користе у „cursor” контексту (слободно померање курсора по екрану).
[width="100%", cols="^.^3,^.^2,.^7,.^7", options="header"]
|===
| Тастер | Површина | Опис | Команда
| kbd:[↑] | - | Помера курсор једну линију навише. | `+/cursor move up+`
| kbd:[↓] | - | Помера курсор једну линију наниже. | `+/cursor move down+`
| kbd:[←] | - | Помера курсор једну колони у лево. | `+/cursor move left+`
| kbd:[→] | - | Помера курсор једну колону у десно. | `+/cursor move right+`
| kbd:[Alt+↑] | - | Помера курсор на прву линију површине. | `+/cursor move edge_top+`
| kbd:[Alt+↓] | - | Помера курсор на последњу линију површине. | `+/cursor move edge_bottom+`
| kbd:[Alt+←] | - | Помера курсор на прву колону површине. | `+/cursor move edge_left+`
| kbd:[Alt+→] | - | Помера курсор на последњу колону површине. | `+/cursor move edge_right+`
| kbd:[Alt+Home] | - | Помера курсор на горњи леви угао површине. | `+/cursor move top_left+`
| kbd:[Alt+End] | - | Помера курсор на доњи десни угао површине. | `+/cursor move bottom_right+`
| kbd:[Alt+Shift+↑] | - | Помера курсор једну површину навише. | `+/cursor move area_up+`
| kbd:[Alt+Shift+↓] | - | Помера курсор једну површину наниже. | `+/cursor move area_down+`
| kbd:[Alt+Shift+←] | - | Помера курсор једну површину у лево. | `+/cursor move area_left+`
| kbd:[Alt+Shift+→] | - | Помера курсор једну површину у десно. | `+/cursor move area_right+`
| kbd:[m] | чет | Цитирање поруке. | `+hsignal:chat_quote_message;/cursor stop+`
| kbd:[l] | чет | Цитирање фокусиране линије. | `+hsignal:chat_quote_focused_line;/cursor stop+`
| kbd:[q] | чет | Цитирање префикса + поруке. | `+hsignal:chat_quote_prefix_message;/cursor stop+`
| kbd:[Q] | чет | Цитирање времена + префикса + поруке. | `+hsignal:chat_quote_time_prefix_message;/cursor stop+`
| kbd:[b] | листа надимака | Забрањује надимак. | `+/window ${_window_number};/ban ${nick}+`
| kbd:[k] | листа надимака | Избацује надимак. | `+/window ${_window_number};/kick ${nick}+`
| kbd:[K] | листа надимака | Избацује и забрањује надимак. | `+/window ${_window_number};/kickban ${nick}+`
| kbd:[q] | листа надимака | Отвара упит са надимком. | `+/window ${_window_number};/query ${nick};/cursor stop+`
| kbd:[w] | листа надимака | Извршава whois над надимком. | `+/window ${_window_number};/whois ${nick}+`
| Тастер | Површина | Опис | Команда
| kbd:[↑] | - | Помера курсор једну линију навише. | `+/cursor move up+`
| kbd:[↓] | - | Помера курсор једну линију наниже. | `+/cursor move down+`
| kbd:[←] | - | Помера курсор једну колони у лево. | `+/cursor move left+`
| kbd:[→] | - | Помера курсор једну колону у десно. | `+/cursor move right+`
| kbd:[Alt+↑] | - | Помера курсор једну површину навише. | `+/cursor move area_up+`
| kbd:[Alt+↓] | - | Помера курсор једну површину наниже. | `+/cursor move area_down+`
| kbd:[Alt+←] | - | Помера курсор једну површину у лево. | `+/cursor move area_left+`
| kbd:[Alt+→] | - | Помера курсор једну површину у десно. | `+/cursor move area_right+`
| kbd:[m] | чет | Цитирање поруке. | `+hsignal:chat_quote_message;/cursor stop+`
| kbd:[l] | чет | Цитирање фокусиране линије. | `+hsignal:chat_quote_focused_line;/cursor stop+`
| kbd:[q] | чет | Цитирање префикса + поруке. | `+hsignal:chat_quote_prefix_message;/cursor stop+`
| kbd:[Q] | чет | Цитирање времена + префикса + поруке. | `+hsignal:chat_quote_time_prefix_message;/cursor stop+`
| kbd:[b] | листа надимака | Забрањује надимак. | `+/window ${_window_number};/ban ${nick}+`
| kbd:[k] | листа надимака | Избацује надимак. | `+/window ${_window_number};/kick ${nick}+`
| kbd:[K] | листа надимака | Избацује и забрањује надимак. | `+/window ${_window_number};/kickban ${nick}+`
| kbd:[q] | листа надимака | Отвара упит са надимком. | `+/window ${_window_number};/query ${nick};/cursor stop+`
| kbd:[w] | листа надимака | Извршава whois над надимком. | `+/window ${_window_number};/whois ${nick}+`
| kbd:[Enter] +
kbd:[Ctrl+j] +
kbd:[Ctrl+m] | - | Зауставља режим померања курсора | `/cursor stop`
kbd:[Ctrl+m] | - | Зауставља режим померања курсора | `/cursor stop`
|===
[[key_bindings_mouse]]
@@ -1629,60 +1609,50 @@ WeeChat нуди доста подразумеваних тастерских п
[width="100%", cols="^.^3,^.^3,^.^3,.^8,.^8", options="header"]
|===
| Тастер/Точкић ^(1)^ | Гестикулација | Површина | Опис | Команда
| kbd:[■ □ □] | - | чет | Пребацивање на прозор. | `+/window ${_window_number}+`
| kbd:[■ □ □] | лево | чет | Пребацивање на претходни бафер. | `+/window ${_window_number};/buffer +1+`
| kbd:[■ □ □] | десно | чет | Пребацивање на наредни бафер. | `+/window ${_window_number};/buffer +1+`
| kbd:[■ □ □] | лево (дуго) | чет | Пребацивање на први бафер. | `+/window ${_window_number};/buffer 1+`
| kbd:[■ □ □] | десно (дуго) | чет | Пребацивање на последњи бафер. | `+/window ${_window_number};/buffer ++`
| kbd:[▲] | - | чет | Скролује навише неколико линија у историји бафера. | `+/window scroll_up -window ${_window_number}+`
| kbd:[▼] | - | чет | Скролује наниже неколико линија у историји бафера. | `+/window scroll_down -window ${_window_number}+`
| kbd:[Ctrl+▲] | - | чет | Скролује хоризонтално у лево. | `+/window scroll_horiz -window ${_window_number} -10%+`
| kbd:[Ctrl+▼] | - | чет | Скролује хоризонтално у десно. | `+/window scroll_horiz -window ${_window_number} +10%+`
| kbd:[▲] | - | чет: fset бафер | Помера за пет линија навише у fset баферу. | `+/fset -up 5+`
| kbd:[▼] | - | чет: fset бафер | Помера за пет линија наниже у fset баферу. | `+/fset -down 5+`
| kbd:[■ □ □] | - | чет: fset бафер | Бира линију у fset баферу. | `+/window ${_window_number};/fset -go ${fset_option_index}+`
| kbd:[□ □ ■] | - | чет: fset бафер | Пребацује логичку вредност (on/off) или уређује вредност опције. | `+hsignal:fset_mouse+`
| kbd:[□ □ ■] | лево | чет: fset бафер | Умањује вредност за цео број/боју/набрајање, поставља/надовезује вредност за остале типове. | `+hsignal:fset_mouse+`
| kbd:[□ □ ■] | десно | чет: fset бафер | Увећава вредност за цео број/боју/набрајање, поставља/надовезује вредност за остале типове. | `+hsignal:fset_mouse+`
| kbd:[□ □ ■] | горе / доле | чет: fset бафер | Маркира/уклања маркер са више опција. | `+hsignal:fset_mouse+`
| kbd:[▲] | - | чет: /list бафер | Помера за пет линија навише у /list баферу. | `+/list -up 5+`
| kbd:[▼] | - | чет: /list бафер | Помера за пет линија наниже у /list баферу. | `+/list -down 5+`
| kbd:[■ □ □] | - | чет: /list бафер | Бира линију у /list баферу. | `+/window ${_window_number};/list -go ${_chat_line_y}+`
| kbd:[□ □ ■] | - | чет: /list бафер | Приступа IRC каналу на изабраној линији. | `+hsignal:irc_list_mouse+`
| kbd:[▲] | - | чет: script бафер | Помера за пет линија навише у script баферу. | `+/script up 5+`
| kbd:[▼] | - | чет: script бафер | Помера за пет линија наниже у script баферу. | `+/script down 5+`
| kbd:[■ □ □] | - | чет: script бафер | Бира линију у script баферу. | `+/script go ${_chat_line_y}+`
| kbd:[□ □ ■] | - | чет: script бафер | Инсталира/уклања скрипту. | `+/script go ${_chat_line_y};/script installremove -q ${script_name_with_extension}+`
| kbd:[■ □ □] | горе / лево | листа бафера | Помера бафер на нижи број. | Signal `+buflist_mouse+`.
| kbd:[■ □ □] | доле / десно | листа бафера | Помера бафер на виши број. | Signal `+buflist_mouse+`.
| kbd:[■ □ □] | - | листа бафера | Пребацивање на бафер (претходно посећени багер ако је бафер текући). | Signal `+buflist_mouse+`.
| kbd:[□ □ ■] | - | листа бафера | Пребацивање на наредни посећени бафер ако је бафер текући. | Signal `+buflist_mouse+`.
| kbd:[Ctrl+▲] | - | листа бафера | Пребацивање на претходни бафер. | Signal `+buflist_mouse+`.
| kbd:[Ctrl+▼] | - | листа бафера | Пребацивање на наредни бафер. | Signal `+buflist_mouse+`.
| kbd:[■ □ □] | горе | листа надимака | Скроловање једне стране навише у листи надимака. | `+/bar scroll nicklist ${_window_number} -100%+`
| kbd:[■ □ □] | доле | листа надимака | Скроловање једне стране наниже у листи надимака. | `+/bar scroll nicklist ${_window_number} +100%+`
| kbd:[■ □ □] | горе (дуго) | листа надимака | Скок на почетак листе надимака. | `+/bar scroll nicklist ${_window_number} b+`
| kbd:[■ □ □] | доле (дуго) | листа надимака | Скок на крај листе надимака. | `+/bar scroll nicklist ${_window_number} e+`
| kbd:[■ □ □] | - | листа надимака | Отварање упита са надимком. | `+/window ${_window_number};/query ${nick}+`
| kbd:[□ □ ■] | - | листа надимака | Извршавање whois над надимком. | `+/window ${_window_number};/whois ${nick}+`
| kbd:[■ □ □] | лево | листа надимака | Избацивање надимка. | `+/window ${_window_number};/kick ${nick}+`
| kbd:[■ □ □] | лево (дуго) | листа надимака | Избацивање и забрана надимка. | `+/window ${_window_number};/kickban ${nick}+`
| kbd:[□ □ ■] | лево | листа надимака | Забрана надимка. | `+/window ${_window_number};/ban ${nick}+`
| kbd:[□ □ ■] | - | унос | Хвата догађај миша и умеће његов кôд у командну линију. | `+/input grab_mouse_area+`
| kbd:[▲] | - | било која трака | Скролује траку за -20%. | `+/bar scroll ${_bar_name} ${_window_number} -20%+`
| kbd:[▼] | - | било која трака | Скролује траку за +20%. | `+/bar scroll ${_bar_name} ${_window_number} +20%+`
| kbd:[□ ■ □] | - | било где | Започиње режим померања курсора на овој тачки. | `+/cursor go ${_x},${_y}+`
| Тастер/Точкић ^(1)^ | Гестикулација | Површина | Опис | Команда
| ◾◽◽ | - | чет | Пребацивање на прозор. | `+/window ${_window_number}+`
| ◾◽◽ | лево | чет | Пребацивање на претходни бафер. | `+/window ${_window_number};/buffer +1+`
| ◾◽◽ | десно | чет | Пребацивање на наредни бафер. | `+/window ${_window_number};/buffer +1+`
| ◾◽◽ | лево (дуго) | чет | Пребацивање на први бафер. | `+/window ${_window_number};/buffer 1+`
| ◾◽◽ | десно (дуго) | чет | Пребацивање на последњи бафер. | `+/window ${_window_number};/buffer ++`
| kbd:[▲] | - | чет | Скролује навише неколико линија у историји бафера. | `+/window scroll_up -window ${_window_number}+`
| kbd:[▼] | - | чет | Скролује наниже неколико линија у историји бафера. | `+/window scroll_down -window ${_window_number}+`
| kbd:[Ctrl+▲] | - | чет | Скролује хоризонтално у лево. | `+/window scroll_horiz -window ${_window_number} -10%+`
| kbd:[Ctrl+▼] | - | чет | Скролује хоризонтално у десно. | `+/window scroll_horiz -window ${_window_number} +10%+`
| kbd:[▲] | - | чет: fset бафер | Помера за пет линија навише у fset баферу. | `+/fset -up 5+`
| kbd:[▼] | - | чет: fset бафер | Помера за пет линија наниже у fset баферу. | `+/fset -down 5+`
| ◾◽◽ | - | чет: fset бафер | Бира линију у fset баферу. | `+/window ${_window_number};/fset -go ${_chat_line_y}+`
| ◽◽◾ | - | чет: fset бафер | Пребацује логичку вредност (on/off) или уређује вредност опције. | `+hsignal:fset_mouse+`
| ◽◽◾ | лево | чет: fset бафер | Умањује вредност за цео број/боју, поставља/надовезује вредност за остале типове. | `+hsignal:fset_mouse+`
| ◽◽◾ | десно | чет: fset бафер | Увећава вредност за цео број/боју, поставља/надовезује вредност за остале типове. | `+hsignal:fset_mouse+`
| ◽◽◾ | горе / доле | чет: fset бафер | Маркира/уклања маркер са више опција. | `+hsignal:fset_mouse+`
| kbd:[▲] | - | чет: script бафер | Помера за пет линија навише у script баферу. | `+/script up 5+`
| kbd:[▼] | - | чет: script бафер | Помера за пет линија наниже у script баферу. | `+/script down 5+`
| ◾◽◽ | - | chat: script бафер | Бира линију у script баферу. | `+/script go ${_chat_line_y}+`
| ◽◽◾ | - | chat: script бафер | Инсталира/уклања скрипту. | `+/script go ${_chat_line_y};/script installremove -q ${script_name_with_extension}+`
| ◾◽◽ | горе / лево | листа бафера | Помера бафер на нижи број. | Signal `+buflist_mouse+`.
| ◾◽◽ | доле / десно | листа бафера | Помера бафер на виши број. | Signal `+buflist_mouse+`.
| ◾◽◽ | - | листа бафера | Пребацивање на бафер (претходно посећени багер ако је бафер текући). | Signal `+buflist_mouse+`.
| ◽◽◾ | - | листа бафера | Пребацивање на наредни посећени бафер ако је бафер текући. | Signal `+buflist_mouse+`.
| kbd:[Ctrl+▲] | - | листа бафера | Пребацивање на претходни бафер. | Signal `+buflist_mouse+`.
| kbd:[Ctrl+▼] | - | листа бафера | Пребацивање на наредни бафер. | Signal `+buflist_mouse+`.
| ◾◽◽ | горе | листа надимака | Скроловање једне стране навише у листи надимака. | `+/bar scroll nicklist ${_window_number} -100%+`
| ◾◽◽ | доле | листа надимака | Скроловање једне стране наниже у листи надимака. | `+/bar scroll nicklist ${_window_number} +100%+`
| ◾◽◽ | горе (дуго) | листа надимака | Скок на почетак листе надимака. | `+/bar scroll nicklist ${_window_number} b+`
| ◾◽◽ | доле (дуго) | листа надимака | Скок на крај листе надимака. | `+/bar scroll nicklist ${_window_number} e+`
| ◾◽◽ | - | листа надимака | Отварање упита са надимком. | `+/window ${_window_number};/query ${nick}+`
| ◽◽◾ | - | листа надимака | Извршавање whois над надимком. | `+/window ${_window_number};/whois ${nick}+`
| ◾◽◽ | лево | листа надимака | Избацивање надимка. | `+/window ${_window_number};/kick ${nick}+`
| ◾◽◽ | лево (дуго) | листа надимака | Избацивање и забрана надимка. | `+/window ${_window_number};/kickban ${nick}+`
| ◽◽◾ | лево | листа надимака | Забрана надимка. | `+/window ${_window_number};/ban ${nick}+`
| ◽◽◾ | - | унос | Хвата догађај миша и умеће његов кôд у командну линију. | `+/input grab_mouse_area+`
| kbd:[▲] | - | било која трака | Скролује траку за -20%. | `+/bar scroll ${_bar_name} ${_window_number} -20%+`
| kbd:[▼] | - | било која трака | Скролује траку за +20%. | `+/bar scroll ${_bar_name} ${_window_number} +20%+`
| ◽◾◽ | - | било где | Започиње режим померања курсора на овој тачки. | `+/cursor go ${_x},${_y}+`
|===
[NOTE]
^(1)^ Тастери: +
kbd:[◼ □ □]: клик на леви тастер +
kbd:[□ ◼ □]: клик на средњи тастер +
kbd:[□ □ ◼]: клик на десни тастер +
Точкић: +
kbd:[▲]: точкић горе +
kbd:[▼]: точкић доле
^(1)^ kbd:[▲] и kbd:[▼] значе точкић навише и наниже.
[[key_bindings_fset_buffer]]
=== Fset бафер
@@ -1701,8 +1671,8 @@ kbd:[▼]: точкић доле
| kbd:[F11] | `pass:[<]` | Скролује хоризонтално у лево. | `+/fset -left+`
| kbd:[F12] | `pass:[>]` | Скролује хоризонтално у десно. | `+/fset -right+`
| kbd:[Alt+Space] | `t` | Пребацује стање логичке вредности. | `+/fset -toggle+`
| kbd:[Alt+-] | `-` | Одузима 1 од вредности за цео број/боју/набрајање, поставља вредност за остале типове. | `+/fset -add -1+`
| kbd:[Alt++] | `+` | Додаје 1 на вредност за цео број/боју/набрајање, надовезује вредност за остале типове. | `+/fset -add 1+`
| kbd:[Alt+-] | `-` | Одузима 1 од вредности за цео број/боју, поставља вредност за остале типове. | `+/fset -add -1+`
| kbd:[Alt++] | `+` | Додаје 1 на вредност за цео број/боју, надовезује вредност за остале типове. | `+/fset -add 1+`
| kbd:[Alt+f], kbd:[Alt+r] | `r` | Ресетује вредност. | `+/fset -reset+`
| kbd:[Alt+f], kbd:[Alt+u] | `u` | Поставља да је вредност празна. | `+/fset -unset+`
| kbd:[Alt+Enter] | `s` | Поставља вредност. | `+/fset -set+`
@@ -1730,39 +1700,6 @@ kbd:[▼]: точкић доле
[NOTE]
^(1)^ Акција мора да се унесе као унос у командну линију, након чега се притисне kbd:[Ентер].
[[key_bindings_irc_list_buffer]]
=== IRC /list бафер
Следећи тастери и акције се користе у IRC /list баферу (погледајте команду <<command_irc_list,/list>>).
[width="100%",cols="^.^3,^.^2,.^8,.^5",options="header"]
|===
| Тастер | Акција ^(1)^ | Опис | Команда
| kbd:[↑] | | Помера једну линију навише. | `+/list -up+`
| kbd:[↓] | | Помера једну линију наниже. | `+/list -down+`
| kbd:[PgUp] | | Помера једну страну навише. | `+/window page_up+`
| kbd:[PgDn] | | Помера једну страну наниже. | `+/window page_down+`
| kbd:[Alt+Home] | `pass:[<<]` | Скок на прву линију. | `+/list -go 0+`
| kbd:[Alt+End] | `pass:[>>]` | Скок на последњу линију. | `+/list -go end+`
| kbd:[F11] | `pass:[<]` | Скролује хоризонтално у лево. | `+/list -left+`
| kbd:[F12] | `pass:[>]` | Скролује хоризонтално у десно. | `+/list -right+`
| kbd:[Ctrl+j] | `j` | Приступа IRC каналу на изабраној линији. | `+/list -join+`
| | `xxx` | Приказује само канале са „xxx” у имену или теми (величина слова се не разликује). |
| | `n:xxx` | Приказује само канале са „xxx” у имену (величина слова се не разликује). |
| | `t:xxx` | Приказује само канале са „xxx” у теми (величина слова се не разликује). |
| | `u:n` | Приказује само канале са барем "n" users. |
| | `u:>n` | Приказује само канале са више од „n” корисника. |
| | `u:<n` | Приказује само канале са мање од „n” корисника. |
| | `c:xxx` | Приказује само канале који задовољавају израчунати услов „xxx”, користећи следеће променљиве: name, name2, users, topic. |
| | `s:x,y` | Сортира канале по пољима x,y (погледајте команду <<command_irc_list,/list>>). |
| | `s:` | Ресетује сортирање на подразумевану вредност (погледајте команду <<command_irc_list,/list>>). |
| | `$` | Освежава листу (поново извршава команду <<command_irc_list,/list>>). |
| | `q` | Затвара бафер. | `+/buffer close+`
|===
[NOTE]
^(1)^ Акција мора да се унесе као унос у командну линију, након чега се притисне kbd:[Ентер].
[[key_bindings_script_buffer]]
=== Script бафер
@@ -1804,7 +1741,7 @@ Fast Set додатак приказује листу опција у бафер
│2.fset │weechat.look.bare_display_exit_on_input: exit the bare display mode on any c│
│ │hanges in input [default: on] │
│ │----------------------------------------------------------------------------│
│ │ weechat.look.align_end_of_lines enum message │
│ │ weechat.look.align_end_of_lines integer message │
│ │ weechat.look.align_multiline_words boolean on │
│ │ weechat.look.bar_more_down string "++" │
│ │ weechat.look.bar_more_left string "<<" │
@@ -1813,12 +1750,12 @@ Fast Set додатак приказује листу опција у бафер
│ │## weechat.look.bare_display_exit_on_input boolean on ##│
│ │ weechat.look.bare_display_time_format string "%H:%M" │
│ │ weechat.look.buffer_auto_renumber boolean on │
│ │ weechat.look.buffer_notify_default enum all │
│ │ weechat.look.buffer_position enum end │
│ │ weechat.look.buffer_notify_default integer all │
│ │ weechat.look.buffer_position integer end │
│ │ weechat.look.buffer_search_case_sensitive boolean off │
│ │ weechat.look.buffer_search_force_default boolean off │
│ │ weechat.look.buffer_search_regex boolean off │
│ │ weechat.look.buffer_search_where enum prefix_message │
│ │ weechat.look.buffer_search_where integer prefix_message │
│ │ weechat.look.buffer_time_format string "%H:%M:%S" │
│ │ weechat.look.buffer_time_same string "" │
│ │[12:55] [2] [fset] 2:fset │
@@ -3128,7 +3065,7 @@ irc.server.libera.autorejoin_delay integer null -> 30
irc.server.libera.away_check integer null -> 0
irc.server.libera.away_check_max_nicks integer null -> 25
irc.server.libera.capabilities string null -> "*"
irc.server.libera.charset_message enum null -> message
irc.server.libera.charset_message integer null -> message
irc.server.libera.command string null -> ""
irc.server.libera.command_delay integer null -> 0
irc.server.libera.connection_timeout integer null -> 60
@@ -3144,9 +3081,9 @@ irc.server.libera.notify string null -> ""
irc.server.libera.password string null -> ""
irc.server.libera.proxy string null -> ""
irc.server.libera.realname string null -> ""
irc.server.libera.sasl_fail enum null -> reconnect
irc.server.libera.sasl_fail integer null -> reconnect
irc.server.libera.sasl_key string null -> ""
irc.server.libera.sasl_mechanism enum null -> plain
irc.server.libera.sasl_mechanism integer null -> plain
irc.server.libera.sasl_password string "${sec.data.libera}"
irc.server.libera.sasl_timeout integer null -> 15
irc.server.libera.sasl_username string "alice"
@@ -3835,7 +3772,7 @@ CTCP одговори могу да се прилагоде, или неки CTC
На пример, ако желите да прилагодите одговор на CTCP „VERSION”, употребите следећу команду:
----
/set irc.ctcp.version "Користим WeeChat ${version}, одличан је!"
/set irc.ctcp.version "Користим WeeChat $version, одличан је!"
----
[NOTE]
@@ -3857,7 +3794,7 @@ CTCP одговори могу да се прилагоде, или неки CTC
CTCP може да се прилагоди само за један сервер, употребом његовог интерног имена испред CTCP имена:
----
/set irc.ctcp.libera.version "WeeChat ${version} (за libera)"
/set irc.ctcp.libera.version "WeeChat $version (за libera)"
----
Ако желите да вратите стандардни CTCP одговор, уклоните опцију:
@@ -3866,39 +3803,38 @@ CTCP може да се прилагоди само за један сервер
/unset irc.ctcp.version
----
CTCP одговори се израчунавају (погледајте команду <<command_weechat_eval,/eval>>) и
доступне су следеће додатне променљиве:
У стринговима је могућа употреба следећих кодова и они се аутоматски развијају када програм WeeChat одговара на CTCP:
[width="100%", cols="2,4,8", options="header"]
[width="100%", cols="2l,4,8", options="header"]
|===
| Променљива | Опис | Вредност/пример
| `+${clientinfo}+` | Листа подржаних CTCP | `+ACTION DCC CLIENTINFO FINGER PING SOURCE TIME USERINFO VERSION+`
| `+${version}+` | Верзија програма WeeChat | `+4.1.0-dev+`
| `+${versiongit}+` | WeeChat верзија + Git верзија ^(1)^ | `+4.1.0-dev (git: v4.0.0-51-g8f98b922a)+`
| `+${git}+` | Git верзија ^(1)^ | `+v4.0.0-51-g8f98b922a+`
| `+${compilation}+` | Датум компајлирања програма WeeChat | `+Jul 8 2023 20:14:23+`
| `+${osinfo}+` | Инфо о ОС | `+Linux 5.10.0-23-amd64 / x86_64+`
| `+${site}+` | WeeChat вебсајт | `+https://weechat.org/+`
| `+${download}+` | WeeChat сајт, страна за преузимање | `+https://weechat.org/download/+`
| `+${time}+` | Текући датум/време | `+Суб, 08 јул 2023 21:11:19 +0200+`
| `+${username}+` | Корисничко име на IRC серверу | `+име+`
| `+${realname}+` | Реално име на IRC серверу | `+Пера Перић+`
| Кôд | Опис | Вредност/пример
| $clientinfo | Листа подржаних CTCP | `+ACTION DCC CLIENTINFO FINGER PING SOURCE TIME USERINFO VERSION+`
| $version | Верзија програма WeeChat | `+0.4.0-dev+`
| $versiongit | WeeChat верзија + Git верзија ^(1)^ | `+0.4.0-dev (git: v0.3.9-104-g7eb5cc4)+`
| $git | Git верзија ^(1)^ | `+v0.3.9-104-g7eb5cc4+`
| $compilation | Датум компајлирања програма WeeChat | `+Dec 16 2012+`
| $osinfo | Инфо о ОС | `+Linux 2.6.32-5-amd64 / x86_64+`
| $site | WeeChat вебсајт | `+https://weechat.org/+`
| $download | WeeChat сајт, страна за преузимање | `+https://weechat.org/download/+`
| $time | Текући датум/време | `+Sun, 16 Dec 2012 10:40:48 +0100+`
| $username | Корисничко име на IRC серверу | `+name+`
| $realname | Реално име на IRC серверу | `+John Doe+`
|===
[NOTE]
^(1)^ Git верзија је излаз команде `git describe`. Позната је само ако је програм WeeChat компајлиран унутар Git репозиторијума и ако је Git инсталиран.
Подразумевани CTCP осговори су:
Ако CTCP опције нису дефинисане (што је подразумевано), CTCP одговори су следећи:
[width="100%", cols="2,4,8", options="header"]
|===
| CTCP | Формат одговора | Пример
| CLIENTINFO | `+${clientinfo}+` | `+ACTION DCC CLIENTINFO FINGER PING SOURCE TIME USERINFO VERSION+`
| FINGER | `+WeeChat ${version}+` | `+WeeChat 4.1.0-dev+`
| SOURCE | `+${download}+` | `+https://weechat.org/download/+`
| TIME | `+${time}+` | `+Суб, 08 Јул 2023 21:11:19 +0200+`
| USERINFO | `+${username} (${realname})+` | `+име (Пера Перић)+`
| VERSION | `+WeeChat ${version}+` | `+WeeChat 4.1.0-dev+`
| CTCP | Формат одговора | Пример
| CLIENTINFO | `+$clientinfo+` | `+ACTION DCC CLIENTINFO FINGER PING SOURCE TIME USERINFO VERSION+`
| FINGER | `+WeeChat $versiongit+` | `+WeeChat 0.4.0-dev (git: v0.3.9-104-g7eb5cc4)+`
| SOURCE | `+$download+` | `+https://weechat.org/download/+`
| TIME | `+$time+` | `+нед, 16 дец 2012 10:40:48 +0100+`
| USERINFO | `+$username ($realname)+` | `+име (Пера Перић)+`
| VERSION | `+WeeChat $versiongit ($compilation)+` | `+WeeChat 0.4.0-dev (git: v0.3.9-104-g7eb5cc4) (Dec 16 2012)+`
|===
[[irc_target_buffer]]
@@ -4405,12 +4341,13 @@ FIFO пајп се налази у WeeChat директоријуму за вр
*овде иде текст или команда
....
Овим форматом могу да се интерпретирају обрнуте косе црте, где је `*` замењено са `\`,
чиме се омогућава слање вишелинијских порука, на пример:
// TRANSLATION MISSING
Backslashes can be interpreted with this format, where `*` is replaced by `\`,
allowing for example to send multiline messages:
....
plugin.buffer \овде иде текст или команда
\овде иде текст или команда
plugin.buffer \text or command here
\text or command here
....
Неки примери:
@@ -4427,11 +4364,12 @@ $ echo 'irc.server.libera */nick newnick' >/run/user/1000/weechat/weechat_fifo_1
$ echo 'irc.libera.#weechat *hello!' >/run/user/1000/weechat/weechat_fifo_12345
----
* Слање вишелинијске поруке на IRC канал #test, у случају да је могуност „draft/multiline”
укључена на ergo серверу:
// TRANSLATION MISSING
* Send a multiline message on IRC #test channel, if capability "draft/multiline"
is enabled on the ergo server:
----
$ echo 'irc.ergo.#test \здраво\n...на две линије!' >/run/user/1000/weechat/weechat_fifo_12345
$ echo 'irc.ergo.#test \hello\n...on two lines!' >/run/user/1000/weechat/weechat_fifo_12345
----
* Слање поруке у текући бафер:
+52 -56
View File
@@ -17,6 +17,11 @@
# along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
#
# Check for programs xgettext, msgmerge and msgfmt
find_program(XGETTEXT_EXECUTABLE xgettext REQUIRED)
find_program(MSGMERGE_EXECUTABLE msgmerge REQUIRED)
find_program(MSGFMT_EXECUTABLE msgfmt REQUIRED)
set(PO_FILES
cs.po
de.po
@@ -39,70 +44,61 @@ set(POT_FILE_PATH "${CMAKE_CURRENT_BINARY_DIR}/${POT_FILE}")
include(srcfiles.cmake)
# Looking for xgettext, msgmerge and msgfmt
find_program(XGETTEXT_EXECUTABLE xgettext)
find_program(MSGMERGE_EXECUTABLE msgmerge)
find_program(MSGFMT_EXECUTABLE msgfmt)
# Create PO template file weechat.pot
set(SRC_FILES)
set(POT_DEPENDS)
if(XGETTEXT_EXECUTABLE AND MSGMERGE_EXECUTABLE AND MSGFMT_EXECUTABLE)
foreach(srcfile ${WEECHAT_SOURCES})
set(SRC_FILES ${SRC_FILES} ${srcfile})
set(POT_DEPENDS ${POT_DEPENDS} "${CMAKE_SOURCE_DIR}/${srcfile}")
endforeach()
# Create PO template file weechat.pot
set(SRC_FILES)
set(POT_DEPENDS)
add_custom_command(
OUTPUT "${POT_FILE_PATH}"
COMMAND "${XGETTEXT_EXECUTABLE}"
ARGS -o "${POT_FILE_PATH}" --add-comments='TRANSLATORS:' --keyword='_' --keyword='weechat_gettext' --keyword='N_' --keyword='NG_:1,2' --keyword='weechat_ngettext:1,2' --no-location --from-code=UTF-8 --directory="${CMAKE_SOURCE_DIR}" --package-name='WeeChat' --package-version=${VERSION} --msgid-bugs-address=${BUGS_ADDRESS} --copyright-holder='NAME' ${SRC_FILES}
DEPENDS ${POT_DEPENDS}
COMMENT "Generating ${POT_FILE}"
)
foreach(srcfile ${WEECHAT_SOURCES})
set(SRC_FILES ${SRC_FILES} ${srcfile})
set(POT_DEPENDS ${POT_DEPENDS} "${CMAKE_SOURCE_DIR}/${srcfile}")
endforeach()
set(MO_FILES)
set(UPDATE_PO_TARGETS)
foreach(pofile ${PO_FILES})
get_filename_component(polang ${pofile} NAME_WE)
# Compile .po files in build directory (to binary .mo files)
set(modir "${CMAKE_CURRENT_BINARY_DIR}/${polang}/LC_MESSAGES")
file(MAKE_DIRECTORY "${modir}")
set(mofile "${modir}/${PROJECT_NAME}.mo")
add_custom_command(
OUTPUT "${POT_FILE_PATH}"
COMMAND "${XGETTEXT_EXECUTABLE}"
ARGS -o "${POT_FILE_PATH}" --add-comments='TRANSLATORS:' --keyword='_' --keyword='weechat_gettext' --keyword='N_' --keyword='NG_:1,2' --keyword='weechat_ngettext:1,2' --no-location --from-code=UTF-8 --directory="${CMAKE_SOURCE_DIR}" --package-name='WeeChat' --package-version=${VERSION} --msgid-bugs-address=${BUGS_ADDRESS} --copyright-holder='NAME' ${SRC_FILES}
DEPENDS ${POT_DEPENDS}
COMMENT "Generating ${POT_FILE}"
OUTPUT "${mofile}"
COMMAND "${MSGMERGE_EXECUTABLE}" ARGS --quiet -o "${CMAKE_CURRENT_BINARY_DIR}/${pofile}" "${CMAKE_CURRENT_SOURCE_DIR}/${pofile}" ${POT_FILE_PATH}
COMMAND "${MSGFMT_EXECUTABLE}" ARGS -o "${mofile}" "${CMAKE_CURRENT_BINARY_DIR}/${pofile}"
COMMAND "${MSGFMT_EXECUTABLE}" ARGS -c --statistics --verbose --output-file=/dev/null "${CMAKE_CURRENT_BINARY_DIR}/${pofile}"
DEPENDS "${POT_FILE_PATH}" "${CMAKE_CURRENT_SOURCE_DIR}/${pofile}"
COMMENT "Compiling ${polang}.po"
)
set(MO_FILES)
set(UPDATE_PO_TARGETS)
foreach(pofile ${PO_FILES})
get_filename_component(polang ${pofile} NAME_WE)
# Compile .po files in build directory (to binary .mo files)
set(modir "${CMAKE_CURRENT_BINARY_DIR}/${polang}/LC_MESSAGES")
file(MAKE_DIRECTORY "${modir}")
set(mofile "${modir}/${PROJECT_NAME}.mo")
add_custom_command(
OUTPUT "${mofile}"
COMMAND "${MSGMERGE_EXECUTABLE}" ARGS --quiet -o "${CMAKE_CURRENT_BINARY_DIR}/${pofile}" "${CMAKE_CURRENT_SOURCE_DIR}/${pofile}" ${POT_FILE_PATH}
COMMAND "${MSGFMT_EXECUTABLE}" ARGS -o "${mofile}" "${CMAKE_CURRENT_BINARY_DIR}/${pofile}"
COMMAND "${MSGFMT_EXECUTABLE}" ARGS -c --statistics --verbose --output-file=/dev/null "${CMAKE_CURRENT_BINARY_DIR}/${pofile}"
DEPENDS "${POT_FILE_PATH}" "${CMAKE_CURRENT_SOURCE_DIR}/${pofile}"
COMMENT "Compiling ${polang}.po"
)
# Update .po files in source directory (if needed)
add_custom_target(
update-${pofile}
COMMAND "${MSGMERGE_EXECUTABLE}" --quiet --update --previous --backup=none "${CMAKE_CURRENT_SOURCE_DIR}/${pofile}" "${POT_FILE_PATH}"
COMMENT "Updating ${polang}.po"
)
set(UPDATE_PO_TARGETS ${UPDATE_PO_TARGETS} update-${pofile})
install(FILES "${mofile}" DESTINATION "${LOCALEDIR}/${polang}/LC_MESSAGES")
set(MO_FILES ${MO_FILES} ${mofile})
endforeach()
add_custom_target(translations ALL DEPENDS ${MO_FILES})
# Update weechat.pot in source directory (if needed)
# Update .po files in source directory (if needed)
add_custom_target(
update-${POT_FILE}
COMMAND "${MSGMERGE_EXECUTABLE}" --quiet --update --backup=none "${CMAKE_CURRENT_SOURCE_DIR}/${POT_FILE}" "${POT_FILE_PATH}"
COMMENT "Updating ${POT_FILE}"
update-${pofile}
COMMAND "${MSGMERGE_EXECUTABLE}" --quiet --update --previous --backup=none "${CMAKE_CURRENT_SOURCE_DIR}/${pofile}" "${POT_FILE_PATH}"
COMMENT "Updating ${polang}.po"
)
set(UPDATE_PO_TARGETS ${UPDATE_PO_TARGETS} update-${pofile})
# Update all .po and weechat.pot in source directory (if needed)
add_custom_target(update-po DEPENDS update-${POT_FILE} ${UPDATE_PO_TARGETS})
install(FILES "${mofile}" DESTINATION "${LOCALEDIR}/${polang}/LC_MESSAGES")
set(MO_FILES ${MO_FILES} ${mofile})
endforeach()
endif()
add_custom_target(translations ALL DEPENDS ${MO_FILES})
# Update weechat.pot in source directory (if needed)
add_custom_target(
update-${POT_FILE}
COMMAND "${MSGMERGE_EXECUTABLE}" --quiet --update --backup=none "${CMAKE_CURRENT_SOURCE_DIR}/${POT_FILE}" "${POT_FILE_PATH}"
COMMENT "Updating ${POT_FILE}"
)
# Update all .po and weechat.pot in source directory (if needed)
add_custom_target(update-po DEPENDS update-${POT_FILE} ${UPDATE_PO_TARGETS})
+103 -279
View File
@@ -21,8 +21,8 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2023-08-22 09:26+0200\n"
"PO-Revision-Date: 2023-06-26 21:34+0200\n"
"POT-Creation-Date: 2023-10-30 23:09+0100\n"
"PO-Revision-Date: 2023-06-25 00:48+0200\n"
"Last-Translator: Ondřej Súkup <mimi.vx@gmail.com>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
"Language: cs\n"
@@ -505,12 +505,12 @@ msgstr "(nedefinováno)"
msgid "current value"
msgstr "aktuální hodnota"
msgid "integer"
msgstr "celé číslo"
msgid "string"
msgstr "řetězec"
msgid "integer"
msgstr "celé číslo"
msgid "any string"
msgstr "jakýkoliv řetězec"
@@ -523,9 +523,6 @@ msgstr "maximálně znaků"
msgid "color"
msgstr "barva"
msgid "enum"
msgstr ""
#. TRANSLATORS: please do not translate "(null)"
msgid "undefined value allowed (null)"
msgstr "povolena nedefinovaná hodnota (null)"
@@ -1427,10 +1424,8 @@ msgstr ""
"obrazovky"
msgid ""
"go chat|<bar> [top_left|top_right|bottom_left|bottom_right] || go <x>,<y> || "
"move up|down|left|right|top_left|top_right|bottom_left|bottom_right|edge_top|"
"edge_bottom|edge_left|edge_right|area_up|area_down|area_left|area_right || "
"stop"
"go chat|<bar>|<x>,<y> || move up|down|left|right|area_up|area_down|area_left|"
"area_right || stop"
msgstr ""
msgid ""
@@ -1462,8 +1457,6 @@ msgid ""
" enter exit cursor mode\n"
"\n"
"Examples:\n"
" go to the bottom left corner of chat area:\n"
" /cursor go chat bottom_left\n"
" go to nicklist:\n"
" /cursor go nicklist\n"
" go to coordinates x=10, y=5:\n"
@@ -4434,6 +4427,22 @@ msgstr "%sChyba: nemohu vytvořit soubor \"%s\""
msgid "%sError writing configuration file \"%s\""
msgstr "%sChyba při zápisu konfiguračního souboru \"%s\""
#, fuzzy, c-format
#| msgid "%s: server %s%s%s has been copied to %s%s%s"
msgid "%sFile %s has been backed up as %s"
msgstr "%s: server %s%s%s byl zkopírován do %s%s%s"
#, fuzzy, c-format
#| msgid "%s%s: unable to load file \"%s\""
msgid "%sError: unable to backup file %s"
msgstr "%s%s: nemůžu načíst soubor \"%s\""
#, c-format
msgid ""
"%sImportant: file %s has been updated from version %d to %d, it is not "
"compatible and can not be loaded any more with any older version"
msgstr ""
#, c-format
msgid "%sWARNING: failed to read configuration file \"%s\" (%s)"
msgstr "%sVAROVÁNÍ: selhalo čtení konfiguračního souboru \"%s\" (%s)"
@@ -4454,9 +4463,8 @@ msgstr "Načítám konfigurační soubor %s"
msgid "%sWarning: %s, line %d: invalid syntax, missing \"]\""
msgstr "%sUpozornění: %s, řádek %d: nevalidní syntaxe, chybí \"]\""
#, fuzzy, c-format
#| msgid "%sWarning: %s, line %d: unknown section identifier (\"%s\")"
msgid "%sWarning: %s, line %d: ignoring unknown section identifier (\"%s\")"
#, c-format
msgid "%sWarning: %s, line %d: unknown section identifier (\"%s\")"
msgstr "%sUpozornění: %s, řádek %d: neznámý identifikátor sekce (\"%s\")"
#, c-format
@@ -4472,17 +4480,15 @@ msgid ""
msgstr ""
#, fuzzy, c-format
msgid "%sWarning: %s, line %d: ignoring option outside section: %s"
msgid "%sWarning: %s, line %d: option outside section: %s"
msgstr "%sUpozornění: %s, řádek %d: neznámý identifikátor sekce (\"%s\")"
#, fuzzy, c-format
msgid "%sWarning: %s, line %d: ignoring unknown option for section \"%s\": %s"
msgid "%sWarning: %s, line %d: unknown option for section \"%s\": %s"
msgstr "%sUpozornění: %s, řádek %d: neznámý identifikátor sekce (\"%s\")"
#, fuzzy, c-format
msgid ""
"%sWarning: %s, line %d: ignoring invalid value for option in section \"%s\": "
"%s"
msgid "%sWarning: %s, line %d: invalid value for option: %s"
msgstr "%sUpozornění: %s, řádek %d: nevalidní syntaxe, chybí \"]\""
#, c-format
@@ -4532,6 +4538,11 @@ msgid ""
"Error: unable to create a temporary home directory (using template: \"%s\")\n"
msgstr "%s%s: nemohu vytvořit adresář pro logy (\"%s\")"
#, fuzzy
#| msgid "Environment variable \"%s\" is not defined"
msgid "Error: environment variable \"HOME\" is not defined\n"
msgstr "Proměnná prostředí \"%s\" není definována"
#, fuzzy, c-format
msgid "Error: \"%s\" is not a directory\n"
msgstr "Chyba: domovský adresář (%s) není adresářem\n"
@@ -5459,7 +5470,7 @@ msgid ""
"10 and 99 buffers\n"
" - ${number_displayed}: \"1\" if the number is displayed, otherwise "
"\"0\"\n"
" - ${indent}: indentation for name (channel, private and list buffers are "
" - ${indent}: indentation for name (channel and private buffers are "
"indented) (evaluation of option buflist.format.indent)\n"
" - ${format_nick_prefix}: colored nick prefix for a channel (evaluation "
"of option buflist.format.nick_prefix)\n"
@@ -5565,8 +5576,8 @@ msgstr ""
msgid ""
"number of buflist bar items that can be used; the item names are: "
"\"buflist\", \"buflist2\", \"buflist3\", \"buflist4\" and \"buflist5\"; be "
"careful, using more than one bar item slows down the display of buffers list"
"\"buflist\", \"buflist2\", \"buflist3\"; be careful, using more than one bar "
"item slows down the display of buffers list"
msgstr ""
msgid ""
@@ -5626,8 +5637,8 @@ msgstr "příkaz spuštěný při startu WeeChat, před načtením pluginů"
#, fuzzy
msgid ""
"string displayed to indent channel, private and list buffers (note: content "
"is evaluated, see /help buflist)"
"string displayed to indent channel and private buffers (note: content is "
"evaluated, see /help buflist)"
msgstr "příkaz spuštěný při startu WeeChat, před načtením pluginů"
#, fuzzy
@@ -6011,7 +6022,7 @@ msgstr "hodnoty"
#. TRANSLATORS: "%s%s%s:" at beginning of string it the name of option
#, fuzzy, c-format
msgid "%s%s%s: %s%s%s %s[%s%s]%s"
msgid "%s%s%s: %s %s[%s%s]%s"
msgstr "%sPřezdívka %s%s%s: %s[%s%s%s]"
#, fuzzy
@@ -6058,9 +6069,9 @@ msgid ""
" -go: select a line by number, first line number is 0 (\"end\" to "
"select the last line)\n"
" -toggle: toggle the boolean value\n"
" -add: add \"value\" (which can be a negative number) for integers, "
"colors and enums, set/append to value for other types (set for a negative "
"value, append for a positive value)\n"
" -add: add \"value\" (which can be a negative number) for integers and "
"colors, set/append to value for other types (set for a negative value, "
"append for a positive value)\n"
" -reset: reset the value of option\n"
" -unset: unset the option\n"
" -set: add the /set command in input to edit the value of option (move "
@@ -6082,8 +6093,7 @@ msgid ""
" * show all options (no filter)\n"
" xxx show only options with \"xxx\" in name\n"
" f:xxx show only configuration file \"xxx\"\n"
" t:xxx show only type \"xxx\" (bool/int/str/col/enum or "
"boolean/integer/string/color/enum)\n"
" t:xxx show only type \"xxx\" (bool/int/str/col)\n"
" d show only changed options\n"
" d:xxx show only changed options with \"xxx\" in name\n"
" d=xxx show only changed options with \"xxx\" in value\n"
@@ -6096,11 +6106,10 @@ msgid ""
" ==xxx show only options with exact value \"xxx\"\n"
" c:xxx show only options matching the evaluated condition "
"\"xxx\", using following variables: file, section, option, name, "
"parent_name, type, type_en, type_short (bool/int/str/col/enum), type_tiny (b/"
"i/s/c/e), default_value, default_value_undef, value, quoted_value, "
"value_undef, value_changed, parent_value, min, max, description, "
"description2, description_en, description_en2, string_values, "
"allowed_values\n"
"parent_name, type, type_en, type_short (bool/int/str/col), type_tiny (b/i/s/"
"c), default_value, default_value_undef, value, quoted_value, value_undef, "
"value_changed, parent_value, min, max, description, description2, "
"description_en, description_en2, string_values\n"
"\n"
"The lines with options are displayed using string evaluation (see /help eval "
"for the format), with these options:\n"
@@ -6116,8 +6125,8 @@ msgid ""
" - ${parent_name}: parent option name\n"
" - ${type}: option type (translated)\n"
" - ${type_en}: option type (in English)\n"
" - ${type_short}: short option type (bool/int/str/col/enum)\n"
" - ${type_tiny}: tiny option type (b/i/s/c/e)\n"
" - ${type_short}: short option type (bool/int/str/col)\n"
" - ${type_tiny}: tiny option type (b/i/s/c)\n"
" - ${default_value}: option default value\n"
" - ${default_value_undef}: \"1\" if default value is null, otherwise "
"\"0\"\n"
@@ -6135,8 +6144,8 @@ msgid ""
" - ${description_en}: option description (in English)\n"
" - ${description_en2}: option description (in English), \"(no "
"description)\" if there's no description\n"
" - ${string_values}: string values allowed for set of an enum option\n"
" - ${allowed_values}: allowed values\n"
" - ${string_values}: string values allowed for set of an integer option "
"using strings\n"
" - ${marked}: \"1\" if option is marked, otherwise \"0\"\n"
" - ${index}: index of option in list\n"
" - option data, with color but no spaces:\n"
@@ -6165,9 +6174,9 @@ msgid ""
"\n"
"Keys and input to set options on fset buffer:\n"
" alt+space t toggle boolean value\n"
" alt+'-' - subtract 1 from value for integer/color/enum, "
"set value for other types\n"
" alt+'+' + add 1 to value for integer/color/enum, append to "
" alt+'-' - subtract 1 from value for integer/color, set "
"value for other types\n"
" alt+'+' + add 1 to value for integer/color, append to "
"value for other types\n"
" alt+f, alt+r r reset value\n"
" alt+f, alt+u u unset value\n"
@@ -6191,8 +6200,10 @@ msgid ""
" alt+p p toggle plugin description options (plugins.desc."
"*)\n"
" alt+v v toggle help bar\n"
" s:x,y sort options by fields x,y (see above)\n"
" s: reset sort to its default value (see above)\n"
" s:x,y sort options by fields x,y (see /help fset.look."
"sort)\n"
" s: reset sort to its default value (see /help fset."
"look.sort)\n"
" w:xxx export options in file \"xxx\"\n"
" w-:xxx export options in file \"xxx\" without help\n"
" w+:xxx export options in file \"xxx\" with help\n"
@@ -6204,8 +6215,8 @@ msgid ""
" left button move line here\n"
" right button toggle boolean (on/off) or edit the option "
"value\n"
" right button + drag left/right increase/decrease value for integer/color/"
"enum, set/append to value for other types\n"
" right button + drag left/right increase/decrease value for integer/color, "
"set/append to value for other types\n"
" right button + drag up/down mark/unmark multiple options\n"
"\n"
"Note: if input has one or more leading spaces, the following text is "
@@ -6333,14 +6344,6 @@ msgid ""
"ctrl-x"
msgstr ""
#, fuzzy
msgid "color for allowed values"
msgstr "barva položek, které jsou pryč"
#, fuzzy
msgid "color for allowed values on the selected line"
msgstr "barva položek, které jsou pryč"
msgid "color for color name when option fset.look.use_color_value is enabled"
msgstr ""
@@ -6395,6 +6398,10 @@ msgstr "barva přezdívky ve vstupním poli"
msgid "color for quotes around string values"
msgstr "barva textu vezprávách připojení"
#, fuzzy
msgid "color for allowed values"
msgstr "barva položek, které jsou pryč"
#, fuzzy
msgid "color for index of option"
msgstr "barva textu pro zvýrazněný prefix"
@@ -6601,11 +6608,6 @@ msgstr "jméno serveru (zástupný znak \"*\" je povolen) (volitelný)"
msgid "fset options"
msgstr "seznam konfiguračních možností"
#, fuzzy
#| msgid "color"
msgid "any color"
msgstr "barva"
#, fuzzy, c-format
msgid "%s%s: script \"%s\" already registered (register ignored)"
msgstr "%s%s: server \"%s\" již existuje, nemohu jej vytvořít!"
@@ -6904,9 +6906,6 @@ msgstr "%s%s: nedostatek paměti pro regulární výraz"
msgid "%s%s: \"%s\" is not a valid regular expression (%s)"
msgstr "%s%s: \"%s\" není validní regulární výraz (%s)"
msgid "Receiving list of channels, please wait..."
msgstr ""
#, c-format
msgid ""
"%s%s: you must specify channel for \"%s\" command if you're not in a channel"
@@ -7356,10 +7355,10 @@ msgid ""
"\n"
"Without argument, \"ls\" and \"list\" are sent.\n"
"\n"
"Capabilities supported by WeeChat are: account-notify, account-tag, away-"
"notify, batch, cap-notify, chghost, draft/multiline, echo-message, extended-"
"join, invite-notify, message-tags, multi-prefix, server-time, setname, "
"userhost-in-names.\n"
"Capabilities supported by WeeChat are: account-notify, away-notify, batch, "
"cap-notify, chghost, draft/multiline, echo-message, extended-join, invite-"
"notify, message-tags, multi-prefix, server-time, setname, userhost-in-"
"names.\n"
"\n"
"The capabilities to automatically enable on servers can be set in option irc."
"server_default.capabilities (or by server in option irc.server.xxx."
@@ -7724,79 +7723,39 @@ msgid "list channels and their topics"
msgstr "vypsat kanály a jejich témata"
#, fuzzy
msgid ""
"[-server <server>] [-re <regex>] [<channel>[,<channel>...]] [<target>] || -"
"up|-down [<number>] || -left|-right [<percent>] || -go <line>|end || -join"
msgid "[-server <server>] [-re <regex>] [<channel>[,<channel>...]] [<target>]"
msgstr "[-server <server>] [<kanál1>[,<kanál2>...]] [<klíč1>[,<klíč2>...]]"
#, fuzzy
msgid ""
" server: send to this server (internal name)\n"
" regex: POSIX extended regular expression used to filter results (case "
"insensitive, can start by \"(?-i)\" to become case sensitive)\n"
"channel: channel to list\n"
" target: server name\n"
" -up: move the selected line up by \"number\" lines\n"
" -down: move the selected line down by \"number\" lines\n"
" -left: scroll the /list buffer by \"percent\" of width on the left\n"
" -right: scroll the /list buffer by \"percent\" of width on the right\n"
" -go: select a line by number, first line number is 0 (\"end\" to select "
"the last line)\n"
" -join: join the channel on the selected line\n"
"\n"
"Keys and input on /list buffer:\n"
" up move one line up\n"
" down move one line down\n"
" pgup move one page up\n"
" pgdn move one page down\n"
" alt-home << move to first line\n"
" alt-end >> move to last line\n"
" F11 < scroll horizontally on the left\n"
" F12 > scroll horizontally on the right\n"
" * show all channels (no filter)\n"
" xxx show only channels with \"xxx\" in name or topic "
"(case insensitive)\n"
" n:xxx show only channels with \"xxx\" in name (case "
"insensitive)\n"
" t:xxx show only channels with \"xxx\" in topic (case "
"insensitive)\n"
" u:n show only channels with at least \"n\" users\n"
" u:>n show only channels with more than \"n\" users\n"
" u:<n show only channels with less than \"n\" users\n"
" c:xxx show only channels matching the evaluated "
"condition \"xxx\", using following variables: name, name2, users, topic\n"
" ctrl-j j join channel on selected line\n"
" s:x,y sort channels by fields x,y (see below)\n"
" s: reset sort to its default value (see below)\n"
" $ refresh list (run again command /list)\n"
" q close buffer\n"
"\n"
"Sort keys on /list buffer:\n"
" name channel name (eg: \"##test\")\n"
" name2 channel name without prefix (eg: \"test\")\n"
" users number of users on channel\n"
" topic channel topic\n"
"\n"
"Examples:\n"
" list all channels on server and display them in a dedicated buffer (can be "
"slow on large networks):\n"
" list all channels on server (can be very slow on large networks):\n"
" /list\n"
" list channel #weechat:\n"
" /list #weechat\n"
" list all channels beginning with \"#weechat\" (can be very slow on large "
"networks):\n"
" /list -re #weechat.*\n"
" on /list buffer:\n"
" channels with \"weechat\" in name:\n"
" n:weechat\n"
" channels with at least 100 users:\n"
" u:100\n"
" channels with \"freebsd\" (case insensitive) in topic and more than 10 "
"users:\n"
" c:${topic} =- freebsd && ${users} > 10\n"
" sort channels by users (big channels first), then name2 (name without "
"prefix):\n"
" s:-users,name2"
" /list -re #weechat.*"
msgstr ""
" kanál: kanál, který vypsat\n"
"server: jméno serveru\n"
"regexp: regulární výraz pro filtrování výsledků\n"
"\n"
"Příklady:\n"
" vypsat všechny kanály na serveru (na velkých sítích může být velmi "
"pomalé):\n"
" /list\n"
" vypsat kanál #weechat:\n"
" /list #weechat\n"
" vypsat všechny kanály začínající na \"#weechat\" (na velkých sítích může "
"být velmi pomalé):\n"
" /list -re #weechat.*"
msgid "get statistics about the size of the IRC network"
msgstr "získat statistiku o velikosti IRC sítě"
@@ -8623,22 +8582,12 @@ msgid ""
"ctcp.%s\" will not work"
msgstr ""
#, fuzzy
#| msgid ""
#| "format for CTCP reply or empty string for blocking CTCP (no reply), "
#| "following variables are replaced: $version (WeeChat version), "
#| "$compilation (compilation date), $osinfo (info about OS), $site (WeeChat "
#| "site), $download (WeeChat site, download page), $time (current date and "
#| "time as text), $username (username on server), $realname (realname on "
#| "server)"
msgid ""
"format for CTCP reply or empty string for blocking CTCP (no reply); content "
"is evaluated, see /help eval; following variables are replaced: "
"${clientinfo}: list of supported CTCP, ${version}: WeeChat version, ${git}: "
"Git version, ${versiongit}: WeeChat version and Git version, ${compilation}: "
"compilation date, ${osinfo}: info about OS, ${site}: WeeChat site, "
"${download}: WeeChat site, download page, ${time}: current date and time as "
"text, ${username}: username on server, ${realname}: realname on server"
"format for CTCP reply or empty string for blocking CTCP (no reply), "
"following variables are replaced: $version (WeeChat version), $compilation "
"(compilation date), $osinfo (info about OS), $site (WeeChat site), $download "
"(WeeChat site, download page), $time (current date and time as text), "
"$username (username on server), $realname (realname on server)"
msgstr ""
"formát CTCP odpovědi nebo prázdný řetězec pro blokování CTCP (žádná "
"odpověď), následující přoměnné jsou nahrazovány: $version (verze WeeChat), "
@@ -9006,11 +8955,6 @@ msgstr "%s%s: chyba při vytváření volby serveru \"%s\""
msgid "IRC option renamed: \"irc.%s.%s\" => \"irc.%s.%s\""
msgstr ""
#, fuzzy, c-format
#| msgid "Command for key: \"%s\""
msgid "IRC CTCP format converted for \"%s\": \"%s\" => \"%s\""
msgstr "příkaz pro klávesu: \"%s\""
msgid ""
"open channel buffer before the JOIN is received from server when it is auto "
"joined (with server option \"autojoin\"); this is useful to open channels "
@@ -9193,21 +9137,6 @@ msgstr ""
"kanálu nezačíná se správným znakem druhu kanálu na serveru; například: \"/"
"join weechat\" ve skutečnosti odešle: \"/join #weechat\""
msgid "left/right scroll in /list buffer (percent of width)"
msgstr ""
msgid ""
"comma-separated list of fields to sort channels (see /help list for a list "
"of fields); char \"-\" can be used before field to reverse order, char \"~\" "
"can be used to do a case insensitive comparison; example: \"-count,~name\" "
"for biggest channels first then case insensitive sort on name"
msgstr ""
#, fuzzy
#| msgid "text color in script buffer"
msgid "strip channel topic colors in /list buffer"
msgstr "barva textu v skript buferu"
msgid ""
"default target buffer for msgbuffer options when target is private and that "
"private buffer is not found"
@@ -9224,20 +9153,6 @@ msgstr ""
"by být poslední buffer), next = aktuální buffer + 1, near_server = za "
"posledním kanálem/pv serveru)"
#, fuzzy
#| 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)"
msgid ""
"force position of new /list buffer in list of buffers (none = default "
"position (should be last buffer), next = current buffer + 1, near_server = "
"after last channel/pv of server)"
msgstr ""
"vynutit pozici nového soukroméno bufferu v seznamu bufferů (none = výchozí "
"pozice (měl by být poslední buffer), next = aktuální buffer + 1, near_server "
"= za posledním kanálem/pv serveru)"
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 "
@@ -9313,6 +9228,10 @@ msgstr ""
"když se změní status nepřítomnosti přezdívky (výsledek příkazu whois), "
"například: \"notify_highlight\", \"notify_message\" or \"notify_private\""
msgid ""
"open a private buffer on self message when capability echo-message is enabled"
msgstr ""
msgid "close buffer when /part is issued on a channel"
msgstr "zavřít buffer, když je na kanálu spuštěn /part"
@@ -9454,14 +9373,6 @@ msgstr "barva přípony přezdívky (přípona je uživatelský řetězec za př
msgid "color for higher supported TLS version in bar item \"tls_version\""
msgstr "barva přípony přezdívky (přípona je uživatelský řetězec za přezdívkou)"
#, fuzzy
msgid "color for selected line on /list buffer"
msgstr "barva textu řádku vybraného klienta"
#, fuzzy
msgid "background color for selected line on /list buffer"
msgstr "barva textu řádku vybraného klienta"
#, fuzzy
msgid "color for text in account messages"
msgstr "barva textu vezprávách připojení"
@@ -9868,12 +9779,6 @@ msgstr "irc server"
msgid "irc batch"
msgstr "irc kanál"
msgid "irc channel on /list buffer"
msgstr ""
msgid "irc data for /list buffer"
msgstr ""
#, c-format
msgid "%sCTCP query to %s%s%s: %s%s%s%s%s"
msgstr "%sCTCP dotaz pro %s%s%s: %s%s%s%s%s"
@@ -9886,17 +9791,6 @@ msgstr "%s%s: nejste připojen k serveru"
msgid "%s%s: this buffer is not a channel!"
msgstr "%s%s: tenhle buffer není kanál!"
#, c-format
msgid ""
"%d channels (total: %d) | Filter: %s | Sort: %s | Key(input): ctrl+j=join "
"channel, ($)=refresh, (q)=close buffer"
msgstr ""
#, fuzzy, c-format
#| msgid "%s%s: error in function \"%s\""
msgid "%s%s: error in redirection of /list: %s"
msgstr "%s%s: chyba ve funkci \"%s\""
#, fuzzy, c-format
msgid "%s%s: cannot allocate new modelist"
msgstr "%s%s: nemohu přidělit nový kanál"
@@ -11286,13 +11180,6 @@ msgid ""
"by the user (option \"-s\" or \"--no-script\")"
msgstr ""
msgid "buffer pointer"
msgstr "ukazatel bufferu"
#, fuzzy
msgid "buffer full name"
msgstr "konfigurační soubory"
msgid "terminal charset"
msgstr "znaková sada terminálu"
@@ -11449,6 +11336,9 @@ msgstr "jméno serveru (zástupný znak \"*\" je povolen) (volitelný)"
msgid "lines of a buffer"
msgstr "řádků bufferu"
msgid "buffer pointer"
msgstr "ukazatel bufferu"
msgid "list of filters"
msgstr "seznam filtrů"
@@ -12524,6 +12414,10 @@ msgstr "%s: skript \"%s\" není načten"
msgid "%s: script \"%s\" not found"
msgstr "%s: skript \"%s\" nenalezen"
#, c-format
msgid "%s: script \"%s\" is not installed"
msgstr "%s: skript \"%s\" není nainstalován"
#, c-format
msgid "%s: autoload enabled for script \"%s\""
msgstr "%s: automatické spuštění pro skript \"%s\" zapnuto"
@@ -12546,10 +12440,6 @@ msgstr ""
msgid "%s: downloading script \"%s\"..."
msgstr "%s: stahuji skript \"%s\"..."
#, c-format
msgid "%s: script \"%s\" is not installed"
msgstr "%s: skript \"%s\" není nainstalován"
#, c-format
msgid "%s: script \"%s\" is held"
msgstr "%s: skript \"%s\"se koná"
@@ -12689,7 +12579,7 @@ msgid ""
"list [-o|-ol|-i|-il] || search <text> || show <script> || load|unload|reload "
"<script> [<script>...] || autoload|noautoload|toggleautoload <script> "
"[<script>...] || install|remove|installremove|hold [-q] <script> "
"[<script>...] || upgrade || update || up|down [<number>] || go <line>|end"
"[<script>...] || upgrade || update"
msgstr ""
"seznam [-o|-i] || hledej <text> || ukaž <script> || načti|uvolni|znovu načís "
"<script> [<script>...] || automaticky načti|nenačítejtej automaticky|přepni "
@@ -12724,10 +12614,6 @@ msgid ""
" upgrade: upgrade all installed scripts which are obsolete (new "
"version available)\n"
" update: update local scripts cache\n"
" up: move the selected line up by \"number\" lines\n"
" down: move the selected line down by \"number\" lines\n"
" go: select a line by number, first line number is 0 (\"end\" to "
"select the last line)\n"
"\n"
"Without argument, this command opens a buffer with list of scripts.\n"
"\n"
@@ -13411,22 +13297,6 @@ msgstr "%sPřezdívka %s%s%s: %s[%s%s%s]"
msgid "No trigger defined"
msgstr "Žádné proxy nejsou definovány"
#, fuzzy
msgid "Triggers enabled:"
msgstr "Seznam trigerů:"
#, fuzzy
#| msgid "default: "
msgid "default"
msgstr "výchozí: "
msgid "custom"
msgstr ""
#, fuzzy
msgid "No triggers enabled"
msgstr "Seznam trigerů:"
#, fuzzy
msgid "List of default triggers:"
msgstr "Seznam trigerů:"
@@ -13570,8 +13440,7 @@ msgid "manage triggers, the Swiss Army knife for WeeChat"
msgstr ""
msgid ""
"list [-o|-ol|-i|-il] || listfull || listdefault || add|addoff|addreplace "
"<name> <hook> "
"list|listfull|listdefault || add|addoff|addreplace <name> <hook> "
"[\"<arguments>\" [\"<conditions>\" [\"<regex>\" [\"<command>\" [\"<return_code>\" [\"<post_action>\"]]]]]] "
"|| addinput [<hook>] || input|output|recreate <name> || set <name> <option> "
"<value> || rename|copy <name> <new_name> || enable|disable|toggle [<name>|-"
@@ -13582,12 +13451,6 @@ msgstr ""
msgid ""
" list: list triggers (without argument, this list is displayed)\n"
" -o: send list of triggers enabled to buffer (string in English)\n"
" -ol: send list of triggers enabled to buffer (translated string)\n"
" -i: copy list of triggers enabled in command line (for sending to "
"buffer) (string in English)\n"
" -il: copy list of triggers enabled in command line (for sending to "
"buffer) (translated string)\n"
" listfull: list triggers with detailed info for each trigger\n"
"listdefault: list default triggers\n"
" add: add a trigger\n"
@@ -14317,42 +14180,3 @@ msgstr "%s%s: vypršel časový limit \"%s\" pro %s"
#, c-format
msgid "%s%s: unable to connect: unexpected error (%d)"
msgstr "%s%s: nemohu se připojit\" neočekávaná chyba (%d)"
#, fuzzy
#~ msgid "color for selected line"
#~ msgstr "sekce konfigu"
#, fuzzy
#~ msgid "background color for selected line"
#~ msgstr "barva textu řádku vybraného klienta"
#, fuzzy
#~ msgid ""
#~ " server: send to this server (internal name)\n"
#~ " regex: POSIX extended regular expression used to filter results (case "
#~ "insensitive, can start by \"(?-i)\" to become case sensitive)\n"
#~ "channel: channel to list\n"
#~ " target: server name\n"
#~ "\n"
#~ "Examples:\n"
#~ " list all channels on server (can be very slow on large networks):\n"
#~ " /list\n"
#~ " list channel #weechat:\n"
#~ " /list #weechat\n"
#~ " list all channels beginning with \"#weechat\" (can be very slow on "
#~ "large networks):\n"
#~ " /list -re #weechat.*"
#~ msgstr ""
#~ " kanál: kanál, který vypsat\n"
#~ "server: jméno serveru\n"
#~ "regexp: regulární výraz pro filtrování výsledků\n"
#~ "\n"
#~ "Příklady:\n"
#~ " vypsat všechny kanály na serveru (na velkých sítích může být velmi "
#~ "pomalé):\n"
#~ " /list\n"
#~ " vypsat kanál #weechat:\n"
#~ " /list #weechat\n"
#~ " vypsat všechny kanály začínající na \"#weechat\" (na velkých sítích "
#~ "může být velmi pomalé):\n"
#~ " /list -re #weechat.*"
+148 -585
View File
File diff suppressed because it is too large Load Diff
+107 -294
View File
@@ -22,8 +22,8 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2023-08-22 09:26+0200\n"
"PO-Revision-Date: 2023-06-26 21:34+0200\n"
"POT-Creation-Date: 2023-10-30 23:09+0100\n"
"PO-Revision-Date: 2023-06-17 11:47+0200\n"
"Last-Translator: Santiago Forero <santiago@forero.xyz>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
"Language: es\n"
@@ -560,12 +560,12 @@ msgstr "(sin definir)"
msgid "current value"
msgstr "valor actual"
msgid "integer"
msgstr "entero"
msgid "string"
msgstr "texto"
msgid "integer"
msgstr "entero"
msgid "any string"
msgstr "cualquier texto"
@@ -578,9 +578,6 @@ msgstr "máximo de caracteres"
msgid "color"
msgstr "color"
msgid "enum"
msgstr ""
#. TRANSLATORS: please do not translate "(null)"
msgid "undefined value allowed (null)"
msgstr "valor sin definir permitido (null)"
@@ -1550,15 +1547,9 @@ msgstr ""
"movimiento libre del cursor en la pantalla para ejecutar acciones en áreas "
"específicas"
#, fuzzy
#| msgid ""
#| "go chat|<bar>|<x>,<y> || move up|down|left|right|area_up|area_down|"
#| "area_left|area_right || stop"
msgid ""
"go chat|<bar> [top_left|top_right|bottom_left|bottom_right] || go <x>,<y> || "
"move up|down|left|right|top_left|top_right|bottom_left|bottom_right|edge_top|"
"edge_bottom|edge_left|edge_right|area_up|area_down|area_left|area_right || "
"stop"
"go chat|<bar>|<x>,<y> || move up|down|left|right|area_up|area_down|area_left|"
"area_right || stop"
msgstr ""
"go chat|<barra>|<x>,<y> || move up|down|left|right|area_up|area_down|"
"area_left|area_right || stop"
@@ -1593,8 +1584,6 @@ msgid ""
" enter exit cursor mode\n"
"\n"
"Examples:\n"
" go to the bottom left corner of chat area:\n"
" /cursor go chat bottom_left\n"
" go to nicklist:\n"
" /cursor go nicklist\n"
" go to coordinates x=10, y=5:\n"
@@ -5063,6 +5052,22 @@ msgstr "%sError: no es posible crear el archivo \"%s\""
msgid "%sError writing configuration file \"%s\""
msgstr "%sError al escribir el archivo de configuración \"%s\""
#, fuzzy, c-format
#| msgid "%s: server %s%s%s has been copied to %s%s%s"
msgid "%sFile %s has been backed up as %s"
msgstr "%s: servidor %s%s%s copiado como %s%s%s"
#, fuzzy, c-format
#| msgid "%s%s: unable to load file \"%s\""
msgid "%sError: unable to backup file %s"
msgstr "%s%s: no es posible cargar el archivo \"%s\""
#, c-format
msgid ""
"%sImportant: file %s has been updated from version %d to %d, it is not "
"compatible and can not be loaded any more with any older version"
msgstr ""
#, fuzzy, c-format
msgid "%sWARNING: failed to read configuration file \"%s\" (%s)"
msgstr "Guardando archivo de configuración %s %s"
@@ -5081,9 +5086,8 @@ msgstr "Leyendo el archivo de configuración %s"
msgid "%sWarning: %s, line %d: invalid syntax, missing \"]\""
msgstr "%sAtención: %s, línea %d: sintaxis inválida, falta un \"]\""
#, fuzzy, c-format
#| msgid "%sWarning: %s, line %d: unknown section identifier (\"%s\")"
msgid "%sWarning: %s, line %d: ignoring unknown section identifier (\"%s\")"
#, c-format
msgid "%sWarning: %s, line %d: unknown section identifier (\"%s\")"
msgstr ""
"%sAtención: %s, línea %d: identificador de sección desconocido (\"%s\")"
@@ -5099,22 +5103,17 @@ msgid ""
"of file is IGNORED, default options are used"
msgstr ""
#, fuzzy, c-format
#| msgid "%sWarning: %s, line %d: option outside section: %s"
msgid "%sWarning: %s, line %d: ignoring option outside section: %s"
#, c-format
msgid "%sWarning: %s, line %d: option outside section: %s"
msgstr "%sAtención: %s, línea %d: opción fuera de sección: %s"
#, fuzzy, c-format
#| msgid "%sWarning: %s, line %d: unknown option for section \"%s\": %s"
msgid "%sWarning: %s, line %d: ignoring unknown option for section \"%s\": %s"
#, c-format
msgid "%sWarning: %s, line %d: unknown option for section \"%s\": %s"
msgstr ""
"%sAtención: %s, línea %d: opción desconocida para la sección \"%s\": %s"
#, fuzzy, c-format
#| msgid "%sWarning: %s, line %d: invalid value for option: %s"
msgid ""
"%sWarning: %s, line %d: ignoring invalid value for option in section \"%s\": "
"%s"
#, c-format
msgid "%sWarning: %s, line %d: invalid value for option: %s"
msgstr "%sAtención: %s, línea %d: valor inválido para la opción: %s"
#, c-format
@@ -5164,6 +5163,11 @@ msgid ""
"Error: unable to create a temporary home directory (using template: \"%s\")\n"
msgstr "%s%s: imposible crear directorio para registros (\"%s\")"
#, fuzzy
#| msgid "Environment variable \"%s\" is not defined"
msgid "Error: environment variable \"HOME\" is not defined\n"
msgstr "Variable \"%s\" no definida"
#, fuzzy, c-format
msgid "Error: \"%s\" is not a directory\n"
msgstr "Error: home (%s) no es un directorio\n"
@@ -6088,7 +6092,7 @@ msgid ""
"10 and 99 buffers\n"
" - ${number_displayed}: \"1\" if the number is displayed, otherwise "
"\"0\"\n"
" - ${indent}: indentation for name (channel, private and list buffers are "
" - ${indent}: indentation for name (channel and private buffers are "
"indented) (evaluation of option buflist.format.indent)\n"
" - ${format_nick_prefix}: colored nick prefix for a channel (evaluation "
"of option buflist.format.nick_prefix)\n"
@@ -6194,8 +6198,8 @@ msgstr ""
msgid ""
"number of buflist bar items that can be used; the item names are: "
"\"buflist\", \"buflist2\", \"buflist3\", \"buflist4\" and \"buflist5\"; be "
"careful, using more than one bar item slows down the display of buffers list"
"\"buflist\", \"buflist2\", \"buflist3\"; be careful, using more than one bar "
"item slows down the display of buffers list"
msgstr ""
msgid ""
@@ -6255,8 +6259,8 @@ msgstr "comando ejecutado cuando WeeChat inicia, antes de cargar los plugins"
#, fuzzy
msgid ""
"string displayed to indent channel, private and list buffers (note: content "
"is evaluated, see /help buflist)"
"string displayed to indent channel and private buffers (note: content is "
"evaluated, see /help buflist)"
msgstr "comando ejecutado cuando WeeChat inicia, antes de cargar los plugins"
#, fuzzy
@@ -6642,7 +6646,7 @@ msgstr "valores"
#. TRANSLATORS: "%s%s%s:" at beginning of string it the name of option
#, fuzzy, c-format
msgid "%s%s%s: %s%s%s %s[%s%s]%s"
msgid "%s%s%s: %s %s[%s%s]%s"
msgstr "%sApodos %s%s%s: %s[%s%s%s]"
#, fuzzy
@@ -6689,9 +6693,9 @@ msgid ""
" -go: select a line by number, first line number is 0 (\"end\" to "
"select the last line)\n"
" -toggle: toggle the boolean value\n"
" -add: add \"value\" (which can be a negative number) for integers, "
"colors and enums, set/append to value for other types (set for a negative "
"value, append for a positive value)\n"
" -add: add \"value\" (which can be a negative number) for integers and "
"colors, set/append to value for other types (set for a negative value, "
"append for a positive value)\n"
" -reset: reset the value of option\n"
" -unset: unset the option\n"
" -set: add the /set command in input to edit the value of option (move "
@@ -6713,8 +6717,7 @@ msgid ""
" * show all options (no filter)\n"
" xxx show only options with \"xxx\" in name\n"
" f:xxx show only configuration file \"xxx\"\n"
" t:xxx show only type \"xxx\" (bool/int/str/col/enum or "
"boolean/integer/string/color/enum)\n"
" t:xxx show only type \"xxx\" (bool/int/str/col)\n"
" d show only changed options\n"
" d:xxx show only changed options with \"xxx\" in name\n"
" d=xxx show only changed options with \"xxx\" in value\n"
@@ -6727,11 +6730,10 @@ msgid ""
" ==xxx show only options with exact value \"xxx\"\n"
" c:xxx show only options matching the evaluated condition "
"\"xxx\", using following variables: file, section, option, name, "
"parent_name, type, type_en, type_short (bool/int/str/col/enum), type_tiny (b/"
"i/s/c/e), default_value, default_value_undef, value, quoted_value, "
"value_undef, value_changed, parent_value, min, max, description, "
"description2, description_en, description_en2, string_values, "
"allowed_values\n"
"parent_name, type, type_en, type_short (bool/int/str/col), type_tiny (b/i/s/"
"c), default_value, default_value_undef, value, quoted_value, value_undef, "
"value_changed, parent_value, min, max, description, description2, "
"description_en, description_en2, string_values\n"
"\n"
"The lines with options are displayed using string evaluation (see /help eval "
"for the format), with these options:\n"
@@ -6747,8 +6749,8 @@ msgid ""
" - ${parent_name}: parent option name\n"
" - ${type}: option type (translated)\n"
" - ${type_en}: option type (in English)\n"
" - ${type_short}: short option type (bool/int/str/col/enum)\n"
" - ${type_tiny}: tiny option type (b/i/s/c/e)\n"
" - ${type_short}: short option type (bool/int/str/col)\n"
" - ${type_tiny}: tiny option type (b/i/s/c)\n"
" - ${default_value}: option default value\n"
" - ${default_value_undef}: \"1\" if default value is null, otherwise "
"\"0\"\n"
@@ -6766,8 +6768,8 @@ msgid ""
" - ${description_en}: option description (in English)\n"
" - ${description_en2}: option description (in English), \"(no "
"description)\" if there's no description\n"
" - ${string_values}: string values allowed for set of an enum option\n"
" - ${allowed_values}: allowed values\n"
" - ${string_values}: string values allowed for set of an integer option "
"using strings\n"
" - ${marked}: \"1\" if option is marked, otherwise \"0\"\n"
" - ${index}: index of option in list\n"
" - option data, with color but no spaces:\n"
@@ -6796,9 +6798,9 @@ msgid ""
"\n"
"Keys and input to set options on fset buffer:\n"
" alt+space t toggle boolean value\n"
" alt+'-' - subtract 1 from value for integer/color/enum, "
"set value for other types\n"
" alt+'+' + add 1 to value for integer/color/enum, append to "
" alt+'-' - subtract 1 from value for integer/color, set "
"value for other types\n"
" alt+'+' + add 1 to value for integer/color, append to "
"value for other types\n"
" alt+f, alt+r r reset value\n"
" alt+f, alt+u u unset value\n"
@@ -6822,8 +6824,10 @@ msgid ""
" alt+p p toggle plugin description options (plugins.desc."
"*)\n"
" alt+v v toggle help bar\n"
" s:x,y sort options by fields x,y (see above)\n"
" s: reset sort to its default value (see above)\n"
" s:x,y sort options by fields x,y (see /help fset.look."
"sort)\n"
" s: reset sort to its default value (see /help fset."
"look.sort)\n"
" w:xxx export options in file \"xxx\"\n"
" w-:xxx export options in file \"xxx\" without help\n"
" w+:xxx export options in file \"xxx\" with help\n"
@@ -6835,8 +6839,8 @@ msgid ""
" left button move line here\n"
" right button toggle boolean (on/off) or edit the option "
"value\n"
" right button + drag left/right increase/decrease value for integer/color/"
"enum, set/append to value for other types\n"
" right button + drag left/right increase/decrease value for integer/color, "
"set/append to value for other types\n"
" right button + drag up/down mark/unmark multiple options\n"
"\n"
"Note: if input has one or more leading spaces, the following text is "
@@ -6964,14 +6968,6 @@ msgid ""
"ctrl-x"
msgstr ""
#, fuzzy
msgid "color for allowed values"
msgstr "color para las líneas del último registro"
#, fuzzy
msgid "color for allowed values on the selected line"
msgstr "color para las líneas del último registro"
msgid "color for color name when option fset.look.use_color_value is enabled"
msgstr ""
@@ -7028,6 +7024,10 @@ msgstr "color para el apodo en la barra de entrada"
msgid "color for quotes around string values"
msgstr "color para el texto en mensajes de unión"
#, fuzzy
msgid "color for allowed values"
msgstr "color para las líneas del último registro"
#, fuzzy
msgid "color for index of option"
msgstr "color del texto para la descripción del cliente"
@@ -7244,11 +7244,6 @@ msgstr ""
msgid "fset options"
msgstr "lista de opciones"
#, fuzzy
#| msgid "color"
msgid "any color"
msgstr "color"
#, c-format
msgid "%s%s: script \"%s\" already registered (register ignored)"
msgstr "%s%s: script \"%s\" ya registrado (registro ignorado)"
@@ -7549,9 +7544,6 @@ msgstr "%s%s: no hay suficiente memoria para la expresión regular"
msgid "%s%s: \"%s\" is not a valid regular expression (%s)"
msgstr "%s%s: \"%s\" no es una expresión regular válida (%s)"
msgid "Receiving list of channels, please wait..."
msgstr ""
#, c-format
msgid ""
"%s%s: you must specify channel for \"%s\" command if you're not in a channel"
@@ -8002,10 +7994,10 @@ msgid ""
"\n"
"Without argument, \"ls\" and \"list\" are sent.\n"
"\n"
"Capabilities supported by WeeChat are: account-notify, account-tag, away-"
"notify, batch, cap-notify, chghost, draft/multiline, echo-message, extended-"
"join, invite-notify, message-tags, multi-prefix, server-time, setname, "
"userhost-in-names.\n"
"Capabilities supported by WeeChat are: account-notify, away-notify, batch, "
"cap-notify, chghost, draft/multiline, echo-message, extended-join, invite-"
"notify, message-tags, multi-prefix, server-time, setname, userhost-in-"
"names.\n"
"\n"
"The capabilities to automatically enable on servers can be set in option irc."
"server_default.capabilities (or by server in option irc.server.xxx."
@@ -8379,79 +8371,40 @@ msgid "list channels and their topics"
msgstr "lista canales y sus temas"
#, fuzzy
msgid ""
"[-server <server>] [-re <regex>] [<channel>[,<channel>...]] [<target>] || -"
"up|-down [<number>] || -left|-right [<percent>] || -go <line>|end || -join"
msgid "[-server <server>] [-re <regex>] [<channel>[,<channel>...]] [<target>]"
msgstr "[-server <servidor>] [<canal1>[,<canal2>...]] [<clave1>[,<clave2>...]]"
#, fuzzy
msgid ""
" server: send to this server (internal name)\n"
" regex: POSIX extended regular expression used to filter results (case "
"insensitive, can start by \"(?-i)\" to become case sensitive)\n"
"channel: channel to list\n"
" target: server name\n"
" -up: move the selected line up by \"number\" lines\n"
" -down: move the selected line down by \"number\" lines\n"
" -left: scroll the /list buffer by \"percent\" of width on the left\n"
" -right: scroll the /list buffer by \"percent\" of width on the right\n"
" -go: select a line by number, first line number is 0 (\"end\" to select "
"the last line)\n"
" -join: join the channel on the selected line\n"
"\n"
"Keys and input on /list buffer:\n"
" up move one line up\n"
" down move one line down\n"
" pgup move one page up\n"
" pgdn move one page down\n"
" alt-home << move to first line\n"
" alt-end >> move to last line\n"
" F11 < scroll horizontally on the left\n"
" F12 > scroll horizontally on the right\n"
" * show all channels (no filter)\n"
" xxx show only channels with \"xxx\" in name or topic "
"(case insensitive)\n"
" n:xxx show only channels with \"xxx\" in name (case "
"insensitive)\n"
" t:xxx show only channels with \"xxx\" in topic (case "
"insensitive)\n"
" u:n show only channels with at least \"n\" users\n"
" u:>n show only channels with more than \"n\" users\n"
" u:<n show only channels with less than \"n\" users\n"
" c:xxx show only channels matching the evaluated "
"condition \"xxx\", using following variables: name, name2, users, topic\n"
" ctrl-j j join channel on selected line\n"
" s:x,y sort channels by fields x,y (see below)\n"
" s: reset sort to its default value (see below)\n"
" $ refresh list (run again command /list)\n"
" q close buffer\n"
"\n"
"Sort keys on /list buffer:\n"
" name channel name (eg: \"##test\")\n"
" name2 channel name without prefix (eg: \"test\")\n"
" users number of users on channel\n"
" topic channel topic\n"
"\n"
"Examples:\n"
" list all channels on server and display them in a dedicated buffer (can be "
"slow on large networks):\n"
" list all channels on server (can be very slow on large networks):\n"
" /list\n"
" list channel #weechat:\n"
" /list #weechat\n"
" list all channels beginning with \"#weechat\" (can be very slow on large "
"networks):\n"
" /list -re #weechat.*\n"
" on /list buffer:\n"
" channels with \"weechat\" in name:\n"
" n:weechat\n"
" channels with at least 100 users:\n"
" u:100\n"
" channels with \"freebsd\" (case insensitive) in topic and more than 10 "
"users:\n"
" c:${topic} =- freebsd && ${users} > 10\n"
" sort channels by users (big channels first), then name2 (name without "
"prefix):\n"
" s:-users,name2"
" /list -re #weechat.*"
msgstr ""
" canal: canal a listar\n"
"servidor: nombre del servidor\n"
" regexp: expresión regular a usar para filtrar resultados (insensible a las "
"mayúsculas, puede empezar con \"(?-i)\" para hacerlo sensible)\n"
"\n"
"Ejemplos:\n"
" listar todos los canales en el servidor (puede ser muy lento en redes "
"grandes):\n"
" /list\n"
" listar canal #weechat:\n"
" /list #weechat\n"
" listar todos los canales que empiecen con \"#weechat\" (puede ser muy "
"lento en redes grandes):\n"
" /list -re #weechat.*"
msgid "get statistics about the size of the IRC network"
msgstr "obtener estadísticas sobre el tamaño de la red IRC"
@@ -9292,22 +9245,12 @@ msgid ""
"ctcp.%s\" will not work"
msgstr ""
#, fuzzy
#| msgid ""
#| "format for CTCP reply or empty string for blocking CTCP (no reply), "
#| "following variables are replaced: $version (WeeChat version), "
#| "$compilation (compilation date), $osinfo (info about OS), $site (WeeChat "
#| "site), $download (WeeChat site, download page), $time (current date and "
#| "time as text), $username (username on server), $realname (realname on "
#| "server)"
msgid ""
"format for CTCP reply or empty string for blocking CTCP (no reply); content "
"is evaluated, see /help eval; following variables are replaced: "
"${clientinfo}: list of supported CTCP, ${version}: WeeChat version, ${git}: "
"Git version, ${versiongit}: WeeChat version and Git version, ${compilation}: "
"compilation date, ${osinfo}: info about OS, ${site}: WeeChat site, "
"${download}: WeeChat site, download page, ${time}: current date and time as "
"text, ${username}: username on server, ${realname}: realname on server"
"format for CTCP reply or empty string for blocking CTCP (no reply), "
"following variables are replaced: $version (WeeChat version), $compilation "
"(compilation date), $osinfo (info about OS), $site (WeeChat site), $download "
"(WeeChat site, download page), $time (current date and time as text), "
"$username (username on server), $realname (realname on server)"
msgstr ""
"formato para un respuesta CTCP o línea vacía para bloquear CTCP (no hay "
"respuesta), las siguientes variables son reemplazadas: $version (versión de "
@@ -9688,11 +9631,6 @@ msgstr "%s%s: error al crear la opción \"%s\" del servidor"
msgid "IRC option renamed: \"irc.%s.%s\" => \"irc.%s.%s\""
msgstr ""
#, fuzzy, c-format
#| msgid "Command for key: \"%s\""
msgid "IRC CTCP format converted for \"%s\": \"%s\" => \"%s\""
msgstr "Comando para el atajo: \"%s\""
msgid ""
"open channel buffer before the JOIN is received from server when it is auto "
"joined (with server option \"autojoin\"); this is useful to open channels "
@@ -9897,21 +9835,6 @@ msgid ""
"for example: \"/join weechat\" will in fact send: \"/join #weechat\""
msgstr ""
msgid "left/right scroll in /list buffer (percent of width)"
msgstr ""
msgid ""
"comma-separated list of fields to sort channels (see /help list for a list "
"of fields); char \"-\" can be used before field to reverse order, char \"~\" "
"can be used to do a case insensitive comparison; example: \"-count,~name\" "
"for biggest channels first then case insensitive sort on name"
msgstr ""
#, fuzzy
#| msgid "text color in script buffer"
msgid "strip channel topic colors in /list buffer"
msgstr "color del texto en el buffer de scripts"
msgid ""
"default target buffer for msgbuffer options when target is private and that "
"private buffer is not found"
@@ -9928,20 +9851,6 @@ msgstr ""
"predeterminada (último buffer), next = buffer actual + 1, near_server = "
"después del último canal/privado del server)"
#, fuzzy
#| 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)"
msgid ""
"force position of new /list buffer in list of buffers (none = default "
"position (should be last buffer), next = current buffer + 1, near_server = "
"after last channel/pv of server)"
msgstr ""
"fuerza la posición de nuevos privados en la lista de buffers (none = "
"posición predeterminada (último buffer), next = buffer actual + 1, "
"near_server = después del último canal/privado del server)"
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 "
@@ -10018,6 +9927,10 @@ msgstr ""
"cuando un apodo cambia su estado de ausencia (resultado del comando whois), "
"por ejemplo: \"notify_highlight\", \"notify_message\" o \"notify_private\""
msgid ""
"open a private buffer on self message when capability echo-message is enabled"
msgstr ""
msgid "close buffer when /part is issued on a channel"
msgstr "cerrar el buffer cuando /part es usado en un canal"
@@ -10166,16 +10079,6 @@ msgid "color for higher supported TLS version in bar item \"tls_version\""
msgstr ""
"color del sufijo del apodo (el sufijo es el texto mostrado después del apodo)"
#, fuzzy
#| msgid "text color for selected line in script buffer"
msgid "color for selected line on /list buffer"
msgstr "color del texto para la línea seleccionada en el buffer de scripts"
#, fuzzy
#| msgid "background color for selected line in script buffer"
msgid "background color for selected line on /list buffer"
msgstr "color de fondo para la línea seleccionada en el buffer de scripts"
#, fuzzy
msgid "color for text in account messages"
msgstr "color para el texto en mensajes de unión"
@@ -10607,12 +10510,6 @@ msgstr "servidor irc"
msgid "irc batch"
msgstr "canal irc"
msgid "irc channel on /list buffer"
msgstr ""
msgid "irc data for /list buffer"
msgstr ""
#, c-format
msgid "%sCTCP query to %s%s%s: %s%s%s%s%s"
msgstr "%sconsulta CTCP a %s%s%s: %s%s%s%s%s"
@@ -10625,17 +10522,6 @@ msgstr "%s%s: no estas conectado a ningún servidor"
msgid "%s%s: this buffer is not a channel!"
msgstr "%s%s: ¡este buffer no es un canal!"
#, c-format
msgid ""
"%d channels (total: %d) | Filter: %s | Sort: %s | Key(input): ctrl+j=join "
"channel, ($)=refresh, (q)=close buffer"
msgstr ""
#, fuzzy, c-format
#| msgid "%s%s: error in function \"%s\""
msgid "%s%s: error in redirection of /list: %s"
msgstr "%s%s: error en la función \"%s\""
#, fuzzy, c-format
msgid "%s%s: cannot allocate new modelist"
msgstr "%s%s: no se pudo crear un nuevo canal"
@@ -12026,14 +11912,6 @@ msgid ""
"by the user (option \"-s\" or \"--no-script\")"
msgstr ""
msgid "buffer pointer"
msgstr "puntero del buffer"
#, fuzzy
#| msgid "buffer local variables"
msgid "buffer full name"
msgstr "Variables del buffer local"
msgid "terminal charset"
msgstr "set de caracteres de la terminal"
@@ -12191,6 +12069,9 @@ msgstr ""
msgid "lines of a buffer"
msgstr "líneas de un buffer"
msgid "buffer pointer"
msgstr "puntero del buffer"
msgid "list of filters"
msgstr "lista de filtros"
@@ -13268,6 +13149,10 @@ msgstr "%s: el script \"%s\" no está cargado"
msgid "%s: script \"%s\" not found"
msgstr "%s: script \"%s\" no encontrado"
#, c-format
msgid "%s: script \"%s\" is not installed"
msgstr "%s: el script \"%s\" no esta instalado"
#, fuzzy, c-format
msgid "%s: autoload enabled for script \"%s\""
msgstr "%s: lenguaje del script \"%s\" desconocido"
@@ -13290,10 +13175,6 @@ msgstr ""
msgid "%s: downloading script \"%s\"..."
msgstr "%s: descargando el script \"%s\"..."
#, c-format
msgid "%s: script \"%s\" is not installed"
msgstr "%s: el script \"%s\" no esta instalado"
#, c-format
msgid "%s: script \"%s\" is held"
msgstr "%s: script \"%s\" esta retenido"
@@ -13430,7 +13311,7 @@ msgid ""
"list [-o|-ol|-i|-il] || search <text> || show <script> || load|unload|reload "
"<script> [<script>...] || autoload|noautoload|toggleautoload <script> "
"[<script>...] || install|remove|installremove|hold [-q] <script> "
"[<script>...] || upgrade || update || up|down [<number>] || go <line>|end"
"[<script>...] || upgrade || update"
msgstr ""
msgid ""
@@ -13460,10 +13341,6 @@ msgid ""
" upgrade: upgrade all installed scripts which are obsolete (new "
"version available)\n"
" update: update local scripts cache\n"
" up: move the selected line up by \"number\" lines\n"
" down: move the selected line down by \"number\" lines\n"
" go: select a line by number, first line number is 0 (\"end\" to "
"select the last line)\n"
"\n"
"Without argument, this command opens a buffer with list of scripts.\n"
"\n"
@@ -14086,22 +13963,6 @@ msgstr "%sApodos %s%s%s: %s[%s%s%s]"
msgid "No trigger defined"
msgstr "Ningún modificador regular definido"
#, fuzzy
msgid "Triggers enabled:"
msgstr "Filtro \"%s\" activado"
#, fuzzy
#| msgid "default: "
msgid "default"
msgstr "predeterminado: "
msgid "custom"
msgstr ""
#, fuzzy
msgid "No triggers enabled"
msgstr "Filtro \"%s\" activado"
#, fuzzy
msgid "List of default triggers:"
msgstr "Lista de alias:"
@@ -14246,8 +14107,7 @@ msgid "manage triggers, the Swiss Army knife for WeeChat"
msgstr ""
msgid ""
"list [-o|-ol|-i|-il] || listfull || listdefault || add|addoff|addreplace "
"<name> <hook> "
"list|listfull|listdefault || add|addoff|addreplace <name> <hook> "
"[\"<arguments>\" [\"<conditions>\" [\"<regex>\" [\"<command>\" [\"<return_code>\" [\"<post_action>\"]]]]]] "
"|| addinput [<hook>] || input|output|recreate <name> || set <name> <option> "
"<value> || rename|copy <name> <new_name> || enable|disable|toggle [<name>|-"
@@ -14258,12 +14118,6 @@ msgstr ""
msgid ""
" list: list triggers (without argument, this list is displayed)\n"
" -o: send list of triggers enabled to buffer (string in English)\n"
" -ol: send list of triggers enabled to buffer (translated string)\n"
" -i: copy list of triggers enabled in command line (for sending to "
"buffer) (string in English)\n"
" -il: copy list of triggers enabled in command line (for sending to "
"buffer) (translated string)\n"
" listfull: list triggers with detailed info for each trigger\n"
"listdefault: list default triggers\n"
" add: add a trigger\n"
@@ -14997,44 +14851,3 @@ msgstr "%s%s: tiempo de espera máximo para \"%s\" con %s"
#, c-format
msgid "%s%s: unable to connect: unexpected error (%d)"
msgstr "%s%s: no es posible conectarse: error (%d)"
#, fuzzy
#~ msgid "color for selected line"
#~ msgstr "sección de configuración"
#, fuzzy
#~| msgid "background color for selected line in script buffer"
#~ msgid "background color for selected line"
#~ msgstr "color de fondo para la línea seleccionada en el buffer de scripts"
#, fuzzy
#~ msgid ""
#~ " server: send to this server (internal name)\n"
#~ " regex: POSIX extended regular expression used to filter results (case "
#~ "insensitive, can start by \"(?-i)\" to become case sensitive)\n"
#~ "channel: channel to list\n"
#~ " target: server name\n"
#~ "\n"
#~ "Examples:\n"
#~ " list all channels on server (can be very slow on large networks):\n"
#~ " /list\n"
#~ " list channel #weechat:\n"
#~ " /list #weechat\n"
#~ " list all channels beginning with \"#weechat\" (can be very slow on "
#~ "large networks):\n"
#~ " /list -re #weechat.*"
#~ msgstr ""
#~ " canal: canal a listar\n"
#~ "servidor: nombre del servidor\n"
#~ " regexp: expresión regular a usar para filtrar resultados (insensible a "
#~ "las mayúsculas, puede empezar con \"(?-i)\" para hacerlo sensible)\n"
#~ "\n"
#~ "Ejemplos:\n"
#~ " listar todos los canales en el servidor (puede ser muy lento en redes "
#~ "grandes):\n"
#~ " /list\n"
#~ " listar canal #weechat:\n"
#~ " /list #weechat\n"
#~ " listar todos los canales que empiecen con \"#weechat\" (puede ser muy "
#~ "lento en redes grandes):\n"
#~ " /list -re #weechat.*"
+139 -399
View File
@@ -21,8 +21,8 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2023-08-22 09:26+0200\n"
"PO-Revision-Date: 2023-08-22 09:28+0200\n"
"POT-Creation-Date: 2023-10-30 23:09+0100\n"
"PO-Revision-Date: 2023-10-30 23:23+0100\n"
"Last-Translator: Sébastien Helleu <flashcode@flashtux.org>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
"Language: fr\n"
@@ -526,12 +526,12 @@ msgstr "(non défini)"
msgid "current value"
msgstr "valeur courante"
msgid "integer"
msgstr "entier"
msgid "string"
msgstr "chaîne"
msgid "integer"
msgstr "entier"
msgid "any string"
msgstr "toute chaîne"
@@ -544,9 +544,6 @@ msgstr "caractères max"
msgid "color"
msgstr "couleur"
msgid "enum"
msgstr "énuméré"
#. TRANSLATORS: please do not translate "(null)"
msgid "undefined value allowed (null)"
msgstr "valeur non définie autorisée (null)"
@@ -1495,15 +1492,11 @@ msgstr ""
"zones spécifiques de l'écran"
msgid ""
"go chat|<bar> [top_left|top_right|bottom_left|bottom_right] || go <x>,<y> || "
"move up|down|left|right|top_left|top_right|bottom_left|bottom_right|edge_top|"
"edge_bottom|edge_left|edge_right|area_up|area_down|area_left|area_right || "
"stop"
msgstr ""
"go chat|<barre> [top_left|top_right|bottom_left|bottom_right] || go <x>,<y> "
"|| move up|down|left|right|top_left|top_right|bottom_left|bottom_right|"
"edge_top|edge_bottom|edge_left|edge_right|area_up|area_down|area_left|"
"go chat|<bar>|<x>,<y> || move up|down|left|right|area_up|area_down|area_left|"
"area_right || stop"
msgstr ""
"go chat|<barre>|<x>,<y> || move up|down|left|right|area_up|area_down|"
"area_left|area_right || stop"
msgid ""
" go: move cursor to chat area, a bar (using bar name) or coordinates \"x,"
@@ -1534,8 +1527,6 @@ msgid ""
" enter exit cursor mode\n"
"\n"
"Examples:\n"
" go to the bottom left corner of chat area:\n"
" /cursor go chat bottom_left\n"
" go to nicklist:\n"
" /cursor go nicklist\n"
" go to coordinates x=10, y=5:\n"
@@ -1570,8 +1561,6 @@ msgstr ""
" entrée sortir du mode curseur\n"
"\n"
"Exemples :\n"
" aller en bas à gauche de la zone de discussion :\n"
" /cursor go chat bottom_left\n"
" aller dans la liste des pseudos :\n"
" /cursor go nicklist\n"
" aller aux coordonnées x=10, y=5 :\n"
@@ -5463,6 +5452,22 @@ msgstr "%sImpossible de créer le fichier \"%s\""
msgid "%sError writing configuration file \"%s\""
msgstr "%sErreur d'écriture du fichier de configuration \"%s\""
#, c-format
msgid "%sFile %s has been backed up as %s"
msgstr "%sLe fichier %s a été sauvegardé sous le nom %s"
#, c-format
msgid "%sError: unable to backup file %s"
msgstr "%sErreur : impossible de sauvegarder le fichier %s"
#, c-format
msgid ""
"%sImportant: file %s has been updated from version %d to %d, it is not "
"compatible and can not be loaded any more with any older version"
msgstr ""
"%sImportant : le fichier %s a été mis à jour de la version %d à %d, il n'est "
"plus compatible et ne peut plus être chargé avec toute version plus ancienne"
#, c-format
msgid "%sWARNING: failed to read configuration file \"%s\" (%s)"
msgstr "%sATTENTION : échec de lecture du fichier de configuration \"%s\" (%s)"
@@ -5485,8 +5490,8 @@ msgid "%sWarning: %s, line %d: invalid syntax, missing \"]\""
msgstr "%sAttention : %s, ligne %d : syntaxe invalide, il manque \"]\""
#, c-format
msgid "%sWarning: %s, line %d: ignoring unknown section identifier (\"%s\")"
msgstr "%sAttention : %s, ligne %d : section inconnue, ignorée (\"%s\")"
msgid "%sWarning: %s, line %d: unknown section identifier (\"%s\")"
msgstr "%sAttention : %s, ligne %d : section inconnue (\"%s\")"
#, c-format
msgid ""
@@ -5505,23 +5510,17 @@ msgstr ""
"(%d) => le reste du fichier est IGNORÉ, les options par défaut sont utilisées"
#, c-format
msgid "%sWarning: %s, line %d: ignoring option outside section: %s"
msgstr ""
"%sAttention : %s, ligne %d : option en dehors de la section, ignorée : %s"
msgid "%sWarning: %s, line %d: option outside section: %s"
msgstr "%sAttention : %s, ligne %d : option en dehors de la section : %s"
#, c-format
msgid "%sWarning: %s, line %d: ignoring unknown option for section \"%s\": %s"
msgid "%sWarning: %s, line %d: unknown option for section \"%s\": %s"
msgstr ""
"%sAttention : %s, ligne %d : option inconnue pour la section \"%s\", "
"ignorée : %s"
"%sAttention : %s, ligne %d : option inconnue pour la section \"%s\" : %s"
#, c-format
msgid ""
"%sWarning: %s, line %d: ignoring invalid value for option in section \"%s\": "
"%s"
msgstr ""
"%sAttention : %s, ligne %d : valeur invalide pour l'option dans la section "
"\"%s\", ignorée : %s"
msgid "%sWarning: %s, line %d: invalid value for option: %s"
msgstr "%sAttention : %s, ligne %d : valeur invalide pour l'option : %s"
#, c-format
msgid "Reloading configuration file %s"
@@ -5578,6 +5577,9 @@ msgstr ""
"Erreur : impossible de créer le répertoire de base temporaire (en utilisant "
"le modèle : \"%s\")\n"
msgid "Error: environment variable \"HOME\" is not defined\n"
msgstr "Erreur : la variable d'environnement \"HOME\" n'est pas définie\n"
#, c-format
msgid "Error: \"%s\" is not a directory\n"
msgstr "Erreur : \"%s\" n'est pas un répertoire\n"
@@ -6568,7 +6570,7 @@ msgid ""
"10 and 99 buffers\n"
" - ${number_displayed}: \"1\" if the number is displayed, otherwise "
"\"0\"\n"
" - ${indent}: indentation for name (channel, private and list buffers are "
" - ${indent}: indentation for name (channel and private buffers are "
"indented) (evaluation of option buflist.format.indent)\n"
" - ${format_nick_prefix}: colored nick prefix for a channel (evaluation "
"of option buflist.format.nick_prefix)\n"
@@ -6649,8 +6651,8 @@ msgstr ""
" - ${number2} : numéro indenté, par exemple \" 1\" s'il y a entre 10 et "
"99 tampons\n"
" - ${number_displayed} : \"1\" si le numéro est affiché, sinon \"0\"\n"
" - ${indent} : indentation pour le nom (les tampons de canaux, privés et "
"listes sont indentés) (évaluation de l'option buflist.format.indent)\n"
" - ${indent} : indentation pour le nom (les tampons de canaux ou privés "
"sont indentés) (évaluation de l'option buflist.format.indent)\n"
" - ${format_nick_prefix} : le préfixe du pseudo en couleur pour un canal "
"(évaluation de l'option buflist.format.nick_prefix)\n"
" - ${color_nick_prefix} : la couleur du préfixe du pseudo pour un canal "
@@ -6802,13 +6804,12 @@ msgstr ""
msgid ""
"number of buflist bar items that can be used; the item names are: "
"\"buflist\", \"buflist2\", \"buflist3\", \"buflist4\" and \"buflist5\"; be "
"careful, using more than one bar item slows down the display of buffers list"
"\"buflist\", \"buflist2\", \"buflist3\"; be careful, using more than one bar "
"item slows down the display of buffers list"
msgstr ""
"nombre d'objets de barre buflist qui peuvent être utilisés ; les objets de "
"barre sont : \"buflist\", \"buflist2\", \"buflist3\", \"buflist4\" et "
"\"buflist5\" ; attention, utiliser plus d'un objet de barre ralentit "
"l'affichage de la liste des tampons"
"barre sont : \"buflist\", \"buflist2\", \"buflist3\" ; attention, utiliser "
"plus d'un objet de barre ralentit l'affichage de la liste des tampons"
msgid ""
"format of each line with a buffer (note: content is evaluated, see /help "
@@ -6879,11 +6880,11 @@ msgstr ""
"voir /help buflist)"
msgid ""
"string displayed to indent channel, private and list buffers (note: content "
"is evaluated, see /help buflist)"
"string displayed to indent channel and private buffers (note: content is "
"evaluated, see /help buflist)"
msgstr ""
"chaîne affichée pour indenter un tampon de canal, privé ou liste (note : le "
"contenu est évalué, voir /help buflist)"
"chaîne affichée pour indenter un tampon de canal ou privé (note : le contenu "
"est évalué, voir /help buflist)"
msgid ""
"format for lag on an IRC server buffer (note: content is evaluated, see /"
@@ -7408,8 +7409,8 @@ msgstr "valeurs :"
#. TRANSLATORS: "%s%s%s:" at beginning of string it the name of option
#, c-format
msgid "%s%s%s: %s%s%s %s[%s%s]%s"
msgstr "%s%s%s : %s%s%s %s[%s%s]%s"
msgid "%s%s%s: %s %s[%s%s]%s"
msgstr "%s%s%s : %s %s[%s%s]%s"
msgid "(no description)"
msgstr "(pas de description)"
@@ -7469,9 +7470,9 @@ msgid ""
" -go: select a line by number, first line number is 0 (\"end\" to "
"select the last line)\n"
" -toggle: toggle the boolean value\n"
" -add: add \"value\" (which can be a negative number) for integers, "
"colors and enums, set/append to value for other types (set for a negative "
"value, append for a positive value)\n"
" -add: add \"value\" (which can be a negative number) for integers and "
"colors, set/append to value for other types (set for a negative value, "
"append for a positive value)\n"
" -reset: reset the value of option\n"
" -unset: unset the option\n"
" -set: add the /set command in input to edit the value of option (move "
@@ -7493,8 +7494,7 @@ msgid ""
" * show all options (no filter)\n"
" xxx show only options with \"xxx\" in name\n"
" f:xxx show only configuration file \"xxx\"\n"
" t:xxx show only type \"xxx\" (bool/int/str/col/enum or "
"boolean/integer/string/color/enum)\n"
" t:xxx show only type \"xxx\" (bool/int/str/col)\n"
" d show only changed options\n"
" d:xxx show only changed options with \"xxx\" in name\n"
" d=xxx show only changed options with \"xxx\" in value\n"
@@ -7507,11 +7507,10 @@ msgid ""
" ==xxx show only options with exact value \"xxx\"\n"
" c:xxx show only options matching the evaluated condition "
"\"xxx\", using following variables: file, section, option, name, "
"parent_name, type, type_en, type_short (bool/int/str/col/enum), type_tiny (b/"
"i/s/c/e), default_value, default_value_undef, value, quoted_value, "
"value_undef, value_changed, parent_value, min, max, description, "
"description2, description_en, description_en2, string_values, "
"allowed_values\n"
"parent_name, type, type_en, type_short (bool/int/str/col), type_tiny (b/i/s/"
"c), default_value, default_value_undef, value, quoted_value, value_undef, "
"value_changed, parent_value, min, max, description, description2, "
"description_en, description_en2, string_values\n"
"\n"
"The lines with options are displayed using string evaluation (see /help eval "
"for the format), with these options:\n"
@@ -7527,8 +7526,8 @@ msgid ""
" - ${parent_name}: parent option name\n"
" - ${type}: option type (translated)\n"
" - ${type_en}: option type (in English)\n"
" - ${type_short}: short option type (bool/int/str/col/enum)\n"
" - ${type_tiny}: tiny option type (b/i/s/c/e)\n"
" - ${type_short}: short option type (bool/int/str/col)\n"
" - ${type_tiny}: tiny option type (b/i/s/c)\n"
" - ${default_value}: option default value\n"
" - ${default_value_undef}: \"1\" if default value is null, otherwise "
"\"0\"\n"
@@ -7546,8 +7545,8 @@ msgid ""
" - ${description_en}: option description (in English)\n"
" - ${description_en2}: option description (in English), \"(no "
"description)\" if there's no description\n"
" - ${string_values}: string values allowed for set of an enum option\n"
" - ${allowed_values}: allowed values\n"
" - ${string_values}: string values allowed for set of an integer option "
"using strings\n"
" - ${marked}: \"1\" if option is marked, otherwise \"0\"\n"
" - ${index}: index of option in list\n"
" - option data, with color but no spaces:\n"
@@ -7576,9 +7575,9 @@ msgid ""
"\n"
"Keys and input to set options on fset buffer:\n"
" alt+space t toggle boolean value\n"
" alt+'-' - subtract 1 from value for integer/color/enum, "
"set value for other types\n"
" alt+'+' + add 1 to value for integer/color/enum, append to "
" alt+'-' - subtract 1 from value for integer/color, set "
"value for other types\n"
" alt+'+' + add 1 to value for integer/color, append to "
"value for other types\n"
" alt+f, alt+r r reset value\n"
" alt+f, alt+u u unset value\n"
@@ -7602,8 +7601,10 @@ msgid ""
" alt+p p toggle plugin description options (plugins.desc."
"*)\n"
" alt+v v toggle help bar\n"
" s:x,y sort options by fields x,y (see above)\n"
" s: reset sort to its default value (see above)\n"
" s:x,y sort options by fields x,y (see /help fset.look."
"sort)\n"
" s: reset sort to its default value (see /help fset."
"look.sort)\n"
" w:xxx export options in file \"xxx\"\n"
" w-:xxx export options in file \"xxx\" without help\n"
" w+:xxx export options in file \"xxx\" with help\n"
@@ -7615,8 +7616,8 @@ msgid ""
" left button move line here\n"
" right button toggle boolean (on/off) or edit the option "
"value\n"
" right button + drag left/right increase/decrease value for integer/color/"
"enum, set/append to value for other types\n"
" right button + drag left/right increase/decrease value for integer/color, "
"set/append to value for other types\n"
" right button + drag up/down mark/unmark multiple options\n"
"\n"
"Note: if input has one or more leading spaces, the following text is "
@@ -7642,16 +7643,16 @@ msgstr ""
"haut\n"
" -down : déplacer la ligne sélectionnée de \"nombre\" lignes vers le "
"bas\n"
" -left : faire défiler le tampon fset de \"pourcentage\" de largeur "
"vers la gauche\n"
" -right : faire défiler le tampon fset de \"pourcentage\" de largeur "
"vers la droite\n"
" -left : faire défier le tampon fset de \"pourcentage\" de largeur vers "
"la gauche\n"
" -right : faire défier le tampon fset de \"pourcentage\" de largeur vers "
"la droite\n"
" -go : sélectionner une ligne par numéro, la première ligne est 0 "
"(\"end\" pour sélectionner la dernière ligne)\n"
" -toggle : basculer la valeur booléenne\n"
" -add : ajouter \"valeur\" (qui peut être un nombre négatif) pour les "
"entiers, couleurs et enumérés, définir/ajouter à la valeur pour les autres "
"types (définir pour une valeur négative, ajouter pour un nombre positif)\n"
"entiers et couleurs, définir/ajouter à la valeur pour les autres types "
"(définir pour une valeur négative, ajouter pour un nombre positif)\n"
" -reset : réinitialiser la valeur de l'option\n"
" -unset : supprimer/réinitialiser l'option\n"
" -set : ajouter la commande /set dans l'entrée pour éditer la valeur "
@@ -7676,8 +7677,8 @@ msgstr ""
"nom\n"
" f:xxx afficher seulement le fichier de configuration "
"\"xxx\"\n"
" t:xxx afficher seulement le type \"xxx\" (bool/int/str/col/"
"enum ou boolean/integer/string/color/enum)\n"
" t:xxx afficher seulement le type \"xxx\" (bool/int/str/"
"col)\n"
" d afficher seulement les options changées\n"
" d:xxx afficher seulement les options changées avec \"xxx\" "
"dans le nom\n"
@@ -7696,10 +7697,9 @@ msgstr ""
" c:xxx afficher seulement les options qui correspondent à la "
"condition évaluée \"xxx\", en utilisant les variables suivantes : file, "
"section, option, name, parent_name, type, type_en, type_short (bool/int/str/"
"col/enum), type_tiny (b/i/s/c/e), default_value, default_value_undef, value, "
"col), type_tiny (b/i/s/c), default_value, default_value_undef, value, "
"quoted_value, value_undef, value_changed, parent_value, min, max, "
"description, description2, description_en, description_en2, string_values, "
"allowed_values\n"
"description, description2, description_en, description_en2, string_values\n"
"\n"
"Les lignes avec des options sont affichées en utilisant l'évaluation de "
"chaîne (voir /help eval pour le format), avec ces options :\n"
@@ -7717,8 +7717,8 @@ msgstr ""
" - ${parent_name} : nom de l'option parente\n"
" - ${type} : type de l'option (traduit)\n"
" - ${type_en} : type de l'option (en Anglais)\n"
" - ${type_short} : type court de l'option (bool/int/str/col/enum)\n"
" - ${type_tiny} : type très court de l'option (b/i/s/c/e)\n"
" - ${type_short} : type court de l'option (bool/int/str/col)\n"
" - ${type_tiny} : type très court de l'option (b/i/s/c)\n"
" - ${default_value} : valeur par défaut de l'option\n"
" - ${default_value_undef} : \"1\" si la valeur par défaut est null, sinon "
"\"0\"\n"
@@ -7737,8 +7737,7 @@ msgstr ""
" - ${description_en2} : description de l'option (en Anglais), \"(no "
"description)\" s'il n'y a pas de description\n"
" - ${string_values} : valeurs chaîne autorisées pour définir une option "
"de type énuméré\n"
" - ${allowed_values} : valeurs autorisées\n"
"de type entier utilisant des chaînes\n"
" - ${marked} : \"1\" si l'option est marquée, sinon \"0\"\n"
" - ${index} : index de l'option dans la liste\n"
" - données de l'option, avec couleur mais sans espaces :\n"
@@ -7767,10 +7766,10 @@ msgstr ""
"\n"
"Touches et entrées pour définir les options sur le tampon fset :\n"
" alt+espace t basculer la valeur booléenne\n"
" alt+'-' - soustraire 1 de la valeur pour un entier/couleur/"
"énuméré, définir la valeur pour les autres types\n"
" alt+'+' + ajouter 1 à la valeur pour un entier/couleur/"
"énuméré, ajouter à la valeur pour les autres types\n"
" alt+'-' - soustraire 1 de la valeur pour un entier/"
"couleur, définir la valeur pour les autres types\n"
" alt+'+' + ajouter 1 à la valeur pour un entier/couleur, "
"ajouter à la valeur pour les autres types\n"
" alt+f, alt+r r réinitialiser la valeur\n"
" alt+f, alt+u u supprimer/réinitialiser la valeur\n"
" alt+entrée s définir la valeur\n"
@@ -7798,10 +7797,10 @@ msgstr ""
" alt+p p activer/désactiver la description des options "
"d'extensions (plugins.desc.*)\n"
" alt+v v activer/désactiver la barre d'aide\n"
" s:x,y trier les options par les champs x,y (voir ci-"
"dessus)\n"
" s:x,y trier les options par les champs x,y (voir /help "
"fset.look.sort)\n"
" s: réinitialiser le tri à sa valeur par défaut "
"(voir ci-dessus)\n"
"(voir /help fset.look.sort)\n"
" w:xxx exporter les options dans le fichier \"xxx\"\n"
" w-:xxx exporter les options dans le fichier \"xxx\" "
"sans aide\n"
@@ -7817,8 +7816,7 @@ msgstr ""
" bouton droit basculer le booléen (on/off) ou "
"éditer la valeur de l'option\n"
" bouton droit + glisser gauche/droite incrémenter/décrémenter la valeur "
"pour un entier/couleur/énuméré, définir/ajouter à la valeur pour les autres "
"types\n"
"pour un entier/couleur, définir/ajouter à la valeur pour les autres types\n"
" bouton droit + glisser haut/bas marquer/démarquer plusieurs options\n"
"\n"
"Note : si l'entrée comporte un ou plusieurs espaces en tête, le texte "
@@ -7978,12 +7976,6 @@ msgstr ""
"${type} ${value2}\"), qui se fait sans évaluation de chaîne et donc plus "
"rapide ; les formats peuvent être changés avec la touche ctrl+x"
msgid "color for allowed values"
msgstr "couleur pour les valeurs autorisées"
msgid "color for allowed values on the selected line"
msgstr "couleur pour les valeurs autorisées sur la ligne sélectionnée"
msgid "color for color name when option fset.look.use_color_value is enabled"
msgstr ""
"couleur pour le nom de la couleur lorsque l'option fset.look.use_color_value "
@@ -8033,6 +8025,9 @@ msgstr "couleur pour le nom dans la barre d'aide"
msgid "color for quotes around string values"
msgstr "couleur pour les guillemets autour des valeurs de type chaîne"
msgid "color for allowed values"
msgstr "couleur pour les valeurs autorisées"
msgid "color for index of option"
msgstr "couleur pour l'index de l'option"
@@ -8222,9 +8217,6 @@ msgstr "nom d'option (le caractère joker \"*\" est autorisé) (optionnel)"
msgid "fset options"
msgstr "options fset"
msgid "any color"
msgstr "toute couleur"
#, c-format
msgid "%s%s: script \"%s\" already registered (register ignored)"
msgstr "%s%s : script \"%s\" déjà enregistré (register ignoré)"
@@ -8532,9 +8524,6 @@ msgstr "%s%s : pas assez de mémoire pour l'expression régulière"
msgid "%s%s: \"%s\" is not a valid regular expression (%s)"
msgstr "%s%s : \"%s\" n'est pas une expression régulière valide (%s)"
msgid "Receiving list of channels, please wait..."
msgstr "Réception de la liste des canaux, merci de patienter..."
#, c-format
msgid ""
"%s%s: you must specify channel for \"%s\" command if you're not in a channel"
@@ -9071,10 +9060,10 @@ msgid ""
"\n"
"Without argument, \"ls\" and \"list\" are sent.\n"
"\n"
"Capabilities supported by WeeChat are: account-notify, account-tag, away-"
"notify, batch, cap-notify, chghost, draft/multiline, echo-message, extended-"
"join, invite-notify, message-tags, multi-prefix, server-time, setname, "
"userhost-in-names.\n"
"Capabilities supported by WeeChat are: account-notify, away-notify, batch, "
"cap-notify, chghost, draft/multiline, echo-message, extended-join, invite-"
"notify, message-tags, multi-prefix, server-time, setname, userhost-in-"
"names.\n"
"\n"
"The capabilities to automatically enable on servers can be set in option irc."
"server_default.capabilities (or by server in option irc.server.xxx."
@@ -9100,10 +9089,10 @@ msgstr ""
"\n"
"Sans paramètre, \"ls\" et \"list\" sont envoyés.\n"
"\n"
"Les capacités supportées par WeeChat sont : account-notify, account-tag, "
"away-notify, batch, cap-notify, chghost, draft/multiline, echo-message, "
"extended-join, invite-notify, message-tags, multi-prefix, server-time, "
"setname, userhost-in-names.\n"
"Les capacités supportées par WeeChat sont : account-notify, away-notify, "
"batch, cap-notify, chghost, draft/multiline, echo-message, extended-join, "
"invite-notify, message-tags, multi-prefix, server-time, setname, userhost-in-"
"names.\n"
"\n"
"Les capacités à activer automatiquement sur les serveurs peuvent être "
"définies dans l'option irc.server_default.capabilities (ou par serveur dans "
@@ -9529,12 +9518,8 @@ msgstr ""
msgid "list channels and their topics"
msgstr "lister les canaux et leurs titres"
msgid ""
"[-server <server>] [-re <regex>] [<channel>[,<channel>...]] [<target>] || -"
"up|-down [<number>] || -left|-right [<percent>] || -go <line>|end || -join"
msgstr ""
"[-server <serveur>] [-re <regex>] [<canal>[,<canal>...]] [<cible>] || -up|-"
"down [<nombre>] || -left|-right [<pourcentage>] || -go <ligne>|end || -join"
msgid "[-server <server>] [-re <regex>] [<channel>[,<channel>...]] [<target>]"
msgstr "[-server <serveur>] [-re <regex>] [<canal>[,<canal>...]] [<cible>]"
msgid ""
" server: send to this server (internal name)\n"
@@ -9542,67 +9527,15 @@ msgid ""
"insensitive, can start by \"(?-i)\" to become case sensitive)\n"
"channel: channel to list\n"
" target: server name\n"
" -up: move the selected line up by \"number\" lines\n"
" -down: move the selected line down by \"number\" lines\n"
" -left: scroll the /list buffer by \"percent\" of width on the left\n"
" -right: scroll the /list buffer by \"percent\" of width on the right\n"
" -go: select a line by number, first line number is 0 (\"end\" to select "
"the last line)\n"
" -join: join the channel on the selected line\n"
"\n"
"Keys and input on /list buffer:\n"
" up move one line up\n"
" down move one line down\n"
" pgup move one page up\n"
" pgdn move one page down\n"
" alt-home << move to first line\n"
" alt-end >> move to last line\n"
" F11 < scroll horizontally on the left\n"
" F12 > scroll horizontally on the right\n"
" * show all channels (no filter)\n"
" xxx show only channels with \"xxx\" in name or topic "
"(case insensitive)\n"
" n:xxx show only channels with \"xxx\" in name (case "
"insensitive)\n"
" t:xxx show only channels with \"xxx\" in topic (case "
"insensitive)\n"
" u:n show only channels with at least \"n\" users\n"
" u:>n show only channels with more than \"n\" users\n"
" u:<n show only channels with less than \"n\" users\n"
" c:xxx show only channels matching the evaluated "
"condition \"xxx\", using following variables: name, name2, users, topic\n"
" ctrl-j j join channel on selected line\n"
" s:x,y sort channels by fields x,y (see below)\n"
" s: reset sort to its default value (see below)\n"
" $ refresh list (run again command /list)\n"
" q close buffer\n"
"\n"
"Sort keys on /list buffer:\n"
" name channel name (eg: \"##test\")\n"
" name2 channel name without prefix (eg: \"test\")\n"
" users number of users on channel\n"
" topic channel topic\n"
"\n"
"Examples:\n"
" list all channels on server and display them in a dedicated buffer (can be "
"slow on large networks):\n"
" list all channels on server (can be very slow on large networks):\n"
" /list\n"
" list channel #weechat:\n"
" /list #weechat\n"
" list all channels beginning with \"#weechat\" (can be very slow on large "
"networks):\n"
" /list -re #weechat.*\n"
" on /list buffer:\n"
" channels with \"weechat\" in name:\n"
" n:weechat\n"
" channels with at least 100 users:\n"
" u:100\n"
" channels with \"freebsd\" (case insensitive) in topic and more than 10 "
"users:\n"
" c:${topic} =- freebsd && ${users} > 10\n"
" sort channels by users (big channels first), then name2 (name without "
"prefix):\n"
" s:-users,name2"
" /list -re #weechat.*"
msgstr ""
"serveur : envoyer à ce serveur (nom interne)\n"
" regex : expression régulière POSIX étendue utilisée pour filtrer les "
@@ -9610,75 +9543,16 @@ msgstr ""
"sensible à la casse)\n"
" canal : canal à lister\n"
" cible : nom du serveur\n"
" -up : déplacer la ligne sélectionnée de \"nombre\" lignes vers le haut\n"
" -down : déplacer la ligne sélectionnée de \"nombre\" lignes vers le bas\n"
" -left : faire défiler le tampon /list de \"pourcentage\" de largeur vers "
"la gauche\n"
" -right : faire défiler le tampon /list de \"pourcentage\" de largeur vers "
"la droite\n"
" -go : sélectionner une ligne par numéro, la première ligne est 0 "
"(\"end\" pour sélectionner la dernière ligne)\n"
" -join : rejoindre le canal sur la ligne sélectionnée\n"
"\n"
"Touches et entrée sur le tampon /list :\n"
" haut se déplacer d'une ligne vers le haut\n"
" bas se déplacer d'une ligne vers le bas\n"
" pgup se déplacer d'une page vers le haut\n"
" pgdn se déplacer d'une page vers le bas\n"
" alt-home << se déplacer à la première ligne\n"
" alt-end >> se déplacer à la dernière ligne\n"
" F11 < faire défiler horizontalement vers la gauche\n"
" F12 > faire défiler horizontalement vers la droite\n"
" * afficher tous les canaux (pas de filtre)\n"
" xxx afficher seulement les canaux avec \"xxx\" dans "
"le nom ou le titre (insensible à la casse)\n"
" n:xxx afficher seulement les canaux avec \"xxx\" dans "
"le nom (insensible à la casse)\n"
" t:xxx afficher seulement les canaux avec \"xxx\" dans "
"le titre (insensible à la casse)\n"
" u:n afficher seulement les canaux avec au moins \"n\" "
"utilisateurs\n"
" u:>n afficher seulement les canaux avec plus de \"n\" "
"utilisateurs\n"
" u:<n afficher seulement les canaux avec moins de \"n\" "
"utilisateurs\n"
" c:xxx afficher seulement les canaux qui correspondent à "
"la condition évaluée \"xxx\", en utilisant les variables suivantes : name, "
"name2, users, topic\n"
" ctrl-j j rejoindre le canal sur la ligne sélectionnée\n"
" s:x,y trier les canaux par les champs x,y (voir ci-"
"dessous)\n"
" s: réinitialiser le tri à sa valeur par défaut (voir "
"ci-dessous)\n"
" $ rafraîchir la liste (relancer la commande /list)\n"
" q fermer le tampon\n"
"\n"
"Clés de tri sur le tampon /list :\n"
" name nom du canal (par exemple : \"##test\")\n"
" name2 nom du canal sans le préfixe (par exemple : \"test\")\n"
" users nombre d'utilisateurs sur le canal\n"
" topic titre du canal\n"
"\n"
"Exemples :\n"
" lister tous les canaux du serveur et les afficher dans un tampon dédié "
"(peut être lent pour les grands réseaux) :\n"
" lister tous les canaux du serveur (peut être très lent pour les grands "
"réseaux) :\n"
" /list\n"
" lister le canal #weechat :\n"
" /list #weechat\n"
" lister tous les canaux commençant par \"#weechat\" (peut être lent pour "
"les grands réseaux) :\n"
" /list -re #weechat.*\n"
" sur le tampon /list :\n"
" canaux avec \"weechat\" dans le nom :\n"
" n:weechat\n"
" canaux avec au moins 100 utilisateurs :\n"
" u:100\n"
" canaux avec \"freebsd\" (insensible à la casse) dans le titre et plus de "
"10 utilisateurs :\n"
" c:${topic} =- freebsd && ${users} > 10\n"
" tri des canaux par nombre d'utilisateurs (gros canaux en premier) puis "
"\"name2\" (nom sans le préfixe):\n"
" s:-users,name2"
" lister tous les canaux commençant par \"#weechat\" (peut être très lent "
"pour les grands réseaux) :\n"
" /list -re #weechat.*"
msgid "get statistics about the size of the IRC network"
msgstr "obtenir des statistiques sur la taille du réseau IRC"
@@ -10591,23 +10465,19 @@ msgstr ""
"\"irc.ctcp.%s\" ne fonctionnera pas"
msgid ""
"format for CTCP reply or empty string for blocking CTCP (no reply); content "
"is evaluated, see /help eval; following variables are replaced: "
"${clientinfo}: list of supported CTCP, ${version}: WeeChat version, ${git}: "
"Git version, ${versiongit}: WeeChat version and Git version, ${compilation}: "
"compilation date, ${osinfo}: info about OS, ${site}: WeeChat site, "
"${download}: WeeChat site, download page, ${time}: current date and time as "
"text, ${username}: username on server, ${realname}: realname on server"
"format for CTCP reply or empty string for blocking CTCP (no reply), "
"following variables are replaced: $version (WeeChat version), $compilation "
"(compilation date), $osinfo (info about OS), $site (WeeChat site), $download "
"(WeeChat site, download page), $time (current date and time as text), "
"$username (username on server), $realname (realname on server)"
msgstr ""
"format de réponse CTCP ou une chaîne vide pour bloquer le CTCP (pas de "
"réponse) ; le contenu est évalué, voir /help eval ; les variables suivantes "
"sont remplacées : ${clientinfo} : liste des CTCP supportés, ${version} : "
"version de WeeChat, ${git} : version Git, ${versiongit} : version de WeeChat "
"et version Git, ${compilation} : date de compilation, ${osinfo} : "
"information sur l'OS, ${site} : site de WeeChat, ${download} : page de "
"téléchargement du site de WeeChat, ${time} : date et heure courante sous "
"forme de texte, ${username} : nom d'utilisateur sur le serveur, "
"${realname} : nom réel sur le serveur"
"réponse), les variables suivantes sont remplacées : $version (version "
"WeeChat), $compilation (date de compilation), $osinfo (information sur "
"l'OS), $site (site WeeChat), $download (site WeeChat, page de "
"téléchargement), $time (date et heure courante sous forme de texte), "
"$username (nom d'utilisateur sur le serveur), $realname (nom réel sur le "
"serveur)"
#, c-format
msgid "%s%s: error creating CTCP \"%s\" => \"%s\""
@@ -11043,10 +10913,6 @@ msgstr "%s%s : erreur de création de l'option serveur \"%s\""
msgid "IRC option renamed: \"irc.%s.%s\" => \"irc.%s.%s\""
msgstr "Option IRC renommée : \"irc.%s.%s\" => \"irc.%s.%s\""
#, c-format
msgid "IRC CTCP format converted for \"%s\": \"%s\" => \"%s\""
msgstr "Format IRC CTCP converti pour \"%s\" : \"%s\" => \"%s\""
msgid ""
"open channel buffer before the JOIN is received from server when it is auto "
"joined (with server option \"autojoin\"); this is useful to open channels "
@@ -11273,25 +11139,6 @@ msgstr ""
"valide pour le serveur ; par exemple \"/join weechat\" enverra en fait : \"/"
"join #weechat\""
msgid "left/right scroll in /list buffer (percent of width)"
msgstr ""
"défilement gauche/droite dans le tampon /list (pourcentage de la largeur)"
msgid ""
"comma-separated list of fields to sort channels (see /help list for a list "
"of fields); char \"-\" can be used before field to reverse order, char \"~\" "
"can be used to do a case insensitive comparison; example: \"-count,~name\" "
"for biggest channels first then case insensitive sort on name"
msgstr ""
"liste de champs séparés par des virgules pour trier les options (voir /help "
"list pour la liste des champs) ; le caractère \"-\" peut être utilisé pour "
"inverser l'ordre, le caractère \"~\" peut être utilisé pour effectuer une "
"comparaison insensible à la casse ; exemple : \"-count,~name\" pour les plus "
"gros canaux en premier puis tri insensible à la casse sur le nom"
msgid "strip channel topic colors in /list buffer"
msgstr "supprimer les couleurs des titres des canaux dans le tampon /list"
msgid ""
"default target buffer for msgbuffer options when target is private and that "
"private buffer is not found"
@@ -11308,15 +11155,6 @@ msgstr ""
"position par défaut (devrait être le dernier tampon), next = tampon courant "
"+ 1, near_server = après le dernier canal/privé du serveur)"
msgid ""
"force position of new /list buffer in list of buffers (none = default "
"position (should be last buffer), next = current buffer + 1, near_server = "
"after last channel/pv of server)"
msgstr ""
"force la position du nouveau tampon /list dans la liste des tampons (none = "
"position par défaut (devrait être le dernier tampon), next = tampon courant "
"+ 1, near_server = après le dernier canal/privé du serveur)"
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 "
@@ -11407,6 +11245,12 @@ msgstr ""
"de la commande whois), par exemple : \"notify_message\", \"notify_private\" "
"ou \"notify_highlight\""
msgid ""
"open a private buffer on self message when capability echo-message is enabled"
msgstr ""
"ouvrir un tampon privé sur son propre message quand la capacité echo-message "
"est activée"
msgid "close buffer when /part is issued on a channel"
msgstr "fermer le tampon lorsque /part est exécuté sur un canal"
@@ -11571,12 +11415,6 @@ msgstr ""
"couleur pour la version de TLS la plus haute dans l'objet de barre "
"\"tls_version\""
msgid "color for selected line on /list buffer"
msgstr "couleur du texte pour la ligne sélectionnée dans le tampon /list"
msgid "background color for selected line on /list buffer"
msgstr "couleur du fond pour la ligne sélectionnée dans le tampon /list"
msgid "color for text in account messages"
msgstr "couleur pour le texte dans les messages account"
@@ -12007,12 +11845,6 @@ msgstr "serveur irc"
msgid "irc batch"
msgstr "batch irc"
msgid "irc channel on /list buffer"
msgstr "canal irc sur le tampon /list"
msgid "irc data for /list buffer"
msgstr "données irc sur le tampon /list"
#, c-format
msgid "%sCTCP query to %s%s%s: %s%s%s%s%s"
msgstr "%sDemande CTCP vers %s%s%s : %s%s%s%s%s"
@@ -12025,18 +11857,6 @@ msgstr "%s%s : vous n'êtes pas connecté au serveur"
msgid "%s%s: this buffer is not a channel!"
msgstr "%s%s : ce tampon n'est pas un canal !"
#, c-format
msgid ""
"%d channels (total: %d) | Filter: %s | Sort: %s | Key(input): ctrl+j=join "
"channel, ($)=refresh, (q)=close buffer"
msgstr ""
"%d canaux (total : %d) | Filtre : %s | Tri : %s | Touche(entrée) : "
"ctrl+j=rejoindre canal, ($)=rafraîchir, (q)=fermer le tampon"
#, c-format
msgid "%s%s: error in redirection of /list: %s"
msgstr "%s%s : erreur dans la redirection de /list : %s"
#, c-format
msgid "%s%s: cannot allocate new modelist"
msgstr "%s%s : impossible d'allouer une nouvelle liste de modes"
@@ -13452,12 +13272,6 @@ msgstr ""
"1 si la les scripts sont automatiquement charés, 0 si l'auto-chargement a "
"été désactivé par l'utilisateur (option \"-s\" ou \"--no-script\")"
msgid "buffer pointer"
msgstr "pointeur vers le tampon"
msgid "buffer full name"
msgstr "nom complet du tampon"
msgid "terminal charset"
msgstr "charset du terminal"
@@ -13622,6 +13436,9 @@ msgstr "nom de tampon (le caractère joker \"*\" est autorisé) (optionnel)"
msgid "lines of a buffer"
msgstr "lignes d'un tampon"
msgid "buffer pointer"
msgstr "pointeur vers le tampon"
msgid "list of filters"
msgstr "liste des filtres"
@@ -14820,6 +14637,10 @@ msgstr "%s : script \"%s\" non chargé"
msgid "%s: script \"%s\" not found"
msgstr "%s : script \"%s\" non trouvé"
#, c-format
msgid "%s: script \"%s\" is not installed"
msgstr "%s : le script \"%s\" n'est pas installé"
#, c-format
msgid "%s: autoload enabled for script \"%s\""
msgstr "%s : chargement automatique activé pour le script \"%s\""
@@ -14843,10 +14664,6 @@ msgstr ""
msgid "%s: downloading script \"%s\"..."
msgstr "%s : téléchargement du script \"%s\"..."
#, c-format
msgid "%s: script \"%s\" is not installed"
msgstr "%s : le script \"%s\" n'est pas installé"
#, c-format
msgid "%s: script \"%s\" is held"
msgstr "%s : le script \"%s\" est figé"
@@ -14987,12 +14804,12 @@ msgid ""
"list [-o|-ol|-i|-il] || search <text> || show <script> || load|unload|reload "
"<script> [<script>...] || autoload|noautoload|toggleautoload <script> "
"[<script>...] || install|remove|installremove|hold [-q] <script> "
"[<script>...] || upgrade || update || up|down [<number>] || go <line>|end"
"[<script>...] || upgrade || update"
msgstr ""
"list [-o|-ol|-i|-il] || search <texte> || show <script> || load|unload|"
"reload <script> [<script>...] || autoload|noautoload|toggleautoload <script> "
"[<script>...] || install|remove|installremove|hold [-q] <script> "
"[<script>...] || upgrade || update || up|down [<nombre>] || go <ligne>|end"
"[<script>...] || upgrade || update"
msgid ""
" list: list loaded scripts (all languages)\n"
@@ -15021,10 +14838,6 @@ msgid ""
" upgrade: upgrade all installed scripts which are obsolete (new "
"version available)\n"
" update: update local scripts cache\n"
" up: move the selected line up by \"number\" lines\n"
" down: move the selected line down by \"number\" lines\n"
" go: select a line by number, first line number is 0 (\"end\" to "
"select the last line)\n"
"\n"
"Without argument, this command opens a buffer with list of scripts.\n"
"\n"
@@ -15111,12 +14924,6 @@ msgstr ""
" upgrade : mettre à jour les scripts obsolètes (avec nouvelle version "
"disponible)\n"
" update : mettre à jour le cache local des scripts\n"
" up : déplacer la ligne sélectionnée de \"nombre\" lignes vers le "
"haut\n"
" down : déplacer la ligne sélectionnée de \"nombre\" lignes vers le "
"bas\n"
" go : sélectionner une ligne par numéro, la première ligne est 0 "
"(\"end\" pour sélectionner la dernière ligne)\n"
"\n"
"Sans paramètre, cette commande ouvre un tampon avec la liste des scripts.\n"
"\n"
@@ -15793,18 +15600,6 @@ msgstr " %s%s%s : %s%s%s%s%s%s%s%s%s%s%s%s%s"
msgid "No trigger defined"
msgstr "Pas de trigger défini"
msgid "Triggers enabled:"
msgstr "Triggers activés :"
msgid "default"
msgstr "par défaut"
msgid "custom"
msgstr "personnalisé"
msgid "No triggers enabled"
msgstr "Aucun trigger activé"
msgid "List of default triggers:"
msgstr "Liste des triggers par défaut :"
@@ -15950,8 +15745,7 @@ msgid "manage triggers, the Swiss Army knife for WeeChat"
msgstr "gestion des triggers, le couteau Suisse pour WeeChat"
msgid ""
"list [-o|-ol|-i|-il] || listfull || listdefault || add|addoff|addreplace "
"<name> <hook> "
"list|listfull|listdefault || add|addoff|addreplace <name> <hook> "
"[\"<arguments>\" [\"<conditions>\" [\"<regex>\" [\"<command>\" [\"<return_code>\" [\"<post_action>\"]]]]]] "
"|| addinput [<hook>] || input|output|recreate <name> || set <name> <option> "
"<value> || rename|copy <name> <new_name> || enable|disable|toggle [<name>|-"
@@ -15959,8 +15753,7 @@ msgid ""
"<name>|-all [<name>...] || restore <name> [<name>...] || default -yes || "
"monitor [<filter>]"
msgstr ""
"list [-o|-ol|-i|-il] || listfull || listdefault || add|addoff|addreplace "
"<nom> <hook> "
"list|listfull|listdefault || add|addoff|addreplace <nom> <hook> "
"[\"<paramètres>\" [\"<conditions>\" [\"<regex>\" [\"<commande>\" [\"<code_retour>\" [\"action_post\"]]]]]] "
"|| addinput [<hook>] || input|output|recreate <nom> || set <nom> <option> "
"<valeur> || rename|copy <nom> <nouveau_nom> || enable|disable|toggle [<nom>|-"
@@ -15970,12 +15763,6 @@ msgstr ""
msgid ""
" list: list triggers (without argument, this list is displayed)\n"
" -o: send list of triggers enabled to buffer (string in English)\n"
" -ol: send list of triggers enabled to buffer (translated string)\n"
" -i: copy list of triggers enabled in command line (for sending to "
"buffer) (string in English)\n"
" -il: copy list of triggers enabled in command line (for sending to "
"buffer) (translated string)\n"
" listfull: list triggers with detailed info for each trigger\n"
"listdefault: list default triggers\n"
" add: add a trigger\n"
@@ -16073,14 +15860,6 @@ msgid ""
msgstr ""
" list : lister les triggers (sans paramètre, cette liste est "
"affichée)\n"
" -o : envoyer la liste des triggers activés au tampon (chaîne en "
"anglais)\n"
" -ol : envoyer la liste des triggers activés au tampon (chaîne "
"traduite)\n"
" -i : copier la liste des triggers activés dans la ligne de commande "
"(pour envoi au tampon) (chaîne en anglais)\n"
" -il : copier la liste des triggers activés dans la ligne de commande "
"(pour envoi au tampon) (chaîne traduite)\n"
" listfull : lister les triggers avec des informations détaillées pour "
"chaque trigger\n"
"listdefault : lister les triggers par défaut\n"
@@ -16876,42 +16655,3 @@ msgstr "%s%s : délai d'attente dépassé pour \"%s\" avec %s"
#, c-format
msgid "%s%s: unable to connect: unexpected error (%d)"
msgstr "%s%s : impossible de se connecter : erreur inattendue (%d)"
#~ msgid "color for selected line"
#~ msgstr "couleur pour la ligne sélectionnée"
#~ msgid "background color for selected line"
#~ msgstr "couleur du fond pour la ligne sélectionnée"
#~ msgid ""
#~ " server: send to this server (internal name)\n"
#~ " regex: POSIX extended regular expression used to filter results (case "
#~ "insensitive, can start by \"(?-i)\" to become case sensitive)\n"
#~ "channel: channel to list\n"
#~ " target: server name\n"
#~ "\n"
#~ "Examples:\n"
#~ " list all channels on server (can be very slow on large networks):\n"
#~ " /list\n"
#~ " list channel #weechat:\n"
#~ " /list #weechat\n"
#~ " list all channels beginning with \"#weechat\" (can be very slow on "
#~ "large networks):\n"
#~ " /list -re #weechat.*"
#~ msgstr ""
#~ "serveur : envoyer à ce serveur (nom interne)\n"
#~ " regex : expression régulière POSIX étendue utilisée pour filtrer les "
#~ "résultats (insensible à la casse, peut commencer par \"(?-i)\" pour "
#~ "devenir sensible à la casse)\n"
#~ " canal : canal à lister\n"
#~ " cible : nom du serveur\n"
#~ "\n"
#~ "Exemples :\n"
#~ " lister tous les canaux du serveur (peut être très lent pour les grands "
#~ "réseaux) :\n"
#~ " /list\n"
#~ " lister le canal #weechat :\n"
#~ " /list #weechat\n"
#~ " lister tous les canaux commençant par \"#weechat\" (peut être très lent "
#~ "pour les grands réseaux) :\n"
#~ " /list -re #weechat.*"
+86 -226
View File
@@ -20,7 +20,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2023-08-22 09:26+0200\n"
"POT-Creation-Date: 2023-10-30 23:09+0100\n"
"PO-Revision-Date: 2023-06-17 11:47+0200\n"
"Last-Translator: Andras Voroskoi <voroskoi@frugalware.org>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -472,14 +472,14 @@ msgstr " . alapérték: %d\n"
msgid "current value"
msgstr ""
#, fuzzy
msgid "integer"
msgstr "perc"
#, fuzzy
msgid "string"
msgstr "Várakozás"
#, fuzzy
msgid "integer"
msgstr "perc"
#, fuzzy
msgid "any string"
msgstr "Várakozás"
@@ -496,9 +496,6 @@ msgstr "pufferek kezelése"
msgid "color"
msgstr "üzenetek színe"
msgid "enum"
msgstr ""
#. TRANSLATORS: please do not translate "(null)"
msgid "undefined value allowed (null)"
msgstr ""
@@ -1311,10 +1308,8 @@ msgid ""
msgstr ""
msgid ""
"go chat|<bar> [top_left|top_right|bottom_left|bottom_right] || go <x>,<y> || "
"move up|down|left|right|top_left|top_right|bottom_left|bottom_right|edge_top|"
"edge_bottom|edge_left|edge_right|area_up|area_down|area_left|area_right || "
"stop"
"go chat|<bar>|<x>,<y> || move up|down|left|right|area_up|area_down|area_left|"
"area_right || stop"
msgstr ""
msgid ""
@@ -1346,8 +1341,6 @@ msgid ""
" enter exit cursor mode\n"
"\n"
"Examples:\n"
" go to the bottom left corner of chat area:\n"
" /cursor go chat bottom_left\n"
" go to nicklist:\n"
" /cursor go nicklist\n"
" go to coordinates x=10, y=5:\n"
@@ -3979,6 +3972,20 @@ msgstr "%s nem sikerült a \"%s\" fájlt létrehozni\n"
msgid "%sError writing configuration file \"%s\""
msgstr "szerver konfigurációs fájljának újraolvastatása"
#, fuzzy, c-format
msgid "%sFile %s has been backed up as %s"
msgstr "A %s%s%s szerver másolva lett %s%s néven\n"
#, fuzzy, c-format
msgid "%sError: unable to backup file %s"
msgstr "Nem sikerült a(z) \"%s\" naplófájlt írni\n"
#, c-format
msgid ""
"%sImportant: file %s has been updated from version %d to %d, it is not "
"compatible and can not be loaded any more with any older version"
msgstr ""
#, fuzzy, c-format
msgid "%sWARNING: failed to read configuration file \"%s\" (%s)"
msgstr "beállítások mentése kilépéskor"
@@ -3998,7 +4005,7 @@ msgid "%sWarning: %s, line %d: invalid syntax, missing \"]\""
msgstr "%s %s, %d. sor: érvénytelen szintaxis, hiányzó \"]\"\n"
#, fuzzy, c-format
msgid "%sWarning: %s, line %d: ignoring unknown section identifier (\"%s\")"
msgid "%sWarning: %s, line %d: unknown section identifier (\"%s\")"
msgstr "%s %s, %d. sor: ismeretlen csoportazonosító (\"%s\")\n"
#, c-format
@@ -4014,17 +4021,15 @@ msgid ""
msgstr ""
#, fuzzy, c-format
msgid "%sWarning: %s, line %d: ignoring option outside section: %s"
msgid "%sWarning: %s, line %d: option outside section: %s"
msgstr "%s %s, %d. sor: ismeretlen csoportazonosító (\"%s\")\n"
#, fuzzy, c-format
msgid "%sWarning: %s, line %d: ignoring unknown option for section \"%s\": %s"
msgid "%sWarning: %s, line %d: unknown option for section \"%s\": %s"
msgstr "%s %s, %d. sor: ismeretlen csoportazonosító (\"%s\")\n"
#, fuzzy, c-format
msgid ""
"%sWarning: %s, line %d: ignoring invalid value for option in section \"%s\": "
"%s"
msgid "%sWarning: %s, line %d: invalid value for option: %s"
msgstr "%s %s, %d. sor: érvénytelen opció: \"%s\"\n"
#, fuzzy, c-format
@@ -4075,6 +4080,10 @@ msgid ""
"Error: unable to create a temporary home directory (using template: \"%s\")\n"
msgstr "%s nem sikerült a szervert létrehozni\n"
#, fuzzy
msgid "Error: environment variable \"HOME\" is not defined\n"
msgstr " . típus: szám\n"
#, fuzzy, c-format
msgid "Error: \"%s\" is not a directory\n"
msgstr "%s nem sikerült a \"%s\" könyvtárat létrehozni\n"
@@ -4974,7 +4983,7 @@ msgid ""
"10 and 99 buffers\n"
" - ${number_displayed}: \"1\" if the number is displayed, otherwise "
"\"0\"\n"
" - ${indent}: indentation for name (channel, private and list buffers are "
" - ${indent}: indentation for name (channel and private buffers are "
"indented) (evaluation of option buflist.format.indent)\n"
" - ${format_nick_prefix}: colored nick prefix for a channel (evaluation "
"of option buflist.format.nick_prefix)\n"
@@ -5079,8 +5088,8 @@ msgstr ""
msgid ""
"number of buflist bar items that can be used; the item names are: "
"\"buflist\", \"buflist2\", \"buflist3\", \"buflist4\" and \"buflist5\"; be "
"careful, using more than one bar item slows down the display of buffers list"
"\"buflist\", \"buflist2\", \"buflist3\"; be careful, using more than one bar "
"item slows down the display of buffers list"
msgstr ""
msgid ""
@@ -5139,8 +5148,8 @@ msgstr "felhasználónév az IRC szerveren"
#, fuzzy
msgid ""
"string displayed to indent channel, private and list buffers (note: content "
"is evaluated, see /help buflist)"
"string displayed to indent channel and private buffers (note: content is "
"evaluated, see /help buflist)"
msgstr "felhasználónév az IRC szerveren"
#, fuzzy
@@ -5523,7 +5532,7 @@ msgstr " . értékek: "
#. TRANSLATORS: "%s%s%s:" at beginning of string it the name of option
#, fuzzy, c-format
msgid "%s%s%s: %s%s%s %s[%s%s]%s"
msgid "%s%s%s: %s %s[%s%s]%s"
msgstr "%s Szerver: %s%s %s[%s%s%s]\n"
#, fuzzy
@@ -5570,9 +5579,9 @@ msgid ""
" -go: select a line by number, first line number is 0 (\"end\" to "
"select the last line)\n"
" -toggle: toggle the boolean value\n"
" -add: add \"value\" (which can be a negative number) for integers, "
"colors and enums, set/append to value for other types (set for a negative "
"value, append for a positive value)\n"
" -add: add \"value\" (which can be a negative number) for integers and "
"colors, set/append to value for other types (set for a negative value, "
"append for a positive value)\n"
" -reset: reset the value of option\n"
" -unset: unset the option\n"
" -set: add the /set command in input to edit the value of option (move "
@@ -5594,8 +5603,7 @@ msgid ""
" * show all options (no filter)\n"
" xxx show only options with \"xxx\" in name\n"
" f:xxx show only configuration file \"xxx\"\n"
" t:xxx show only type \"xxx\" (bool/int/str/col/enum or "
"boolean/integer/string/color/enum)\n"
" t:xxx show only type \"xxx\" (bool/int/str/col)\n"
" d show only changed options\n"
" d:xxx show only changed options with \"xxx\" in name\n"
" d=xxx show only changed options with \"xxx\" in value\n"
@@ -5608,11 +5616,10 @@ msgid ""
" ==xxx show only options with exact value \"xxx\"\n"
" c:xxx show only options matching the evaluated condition "
"\"xxx\", using following variables: file, section, option, name, "
"parent_name, type, type_en, type_short (bool/int/str/col/enum), type_tiny (b/"
"i/s/c/e), default_value, default_value_undef, value, quoted_value, "
"value_undef, value_changed, parent_value, min, max, description, "
"description2, description_en, description_en2, string_values, "
"allowed_values\n"
"parent_name, type, type_en, type_short (bool/int/str/col), type_tiny (b/i/s/"
"c), default_value, default_value_undef, value, quoted_value, value_undef, "
"value_changed, parent_value, min, max, description, description2, "
"description_en, description_en2, string_values\n"
"\n"
"The lines with options are displayed using string evaluation (see /help eval "
"for the format), with these options:\n"
@@ -5628,8 +5635,8 @@ msgid ""
" - ${parent_name}: parent option name\n"
" - ${type}: option type (translated)\n"
" - ${type_en}: option type (in English)\n"
" - ${type_short}: short option type (bool/int/str/col/enum)\n"
" - ${type_tiny}: tiny option type (b/i/s/c/e)\n"
" - ${type_short}: short option type (bool/int/str/col)\n"
" - ${type_tiny}: tiny option type (b/i/s/c)\n"
" - ${default_value}: option default value\n"
" - ${default_value_undef}: \"1\" if default value is null, otherwise "
"\"0\"\n"
@@ -5647,8 +5654,8 @@ msgid ""
" - ${description_en}: option description (in English)\n"
" - ${description_en2}: option description (in English), \"(no "
"description)\" if there's no description\n"
" - ${string_values}: string values allowed for set of an enum option\n"
" - ${allowed_values}: allowed values\n"
" - ${string_values}: string values allowed for set of an integer option "
"using strings\n"
" - ${marked}: \"1\" if option is marked, otherwise \"0\"\n"
" - ${index}: index of option in list\n"
" - option data, with color but no spaces:\n"
@@ -5677,9 +5684,9 @@ msgid ""
"\n"
"Keys and input to set options on fset buffer:\n"
" alt+space t toggle boolean value\n"
" alt+'-' - subtract 1 from value for integer/color/enum, "
"set value for other types\n"
" alt+'+' + add 1 to value for integer/color/enum, append to "
" alt+'-' - subtract 1 from value for integer/color, set "
"value for other types\n"
" alt+'+' + add 1 to value for integer/color, append to "
"value for other types\n"
" alt+f, alt+r r reset value\n"
" alt+f, alt+u u unset value\n"
@@ -5703,8 +5710,10 @@ msgid ""
" alt+p p toggle plugin description options (plugins.desc."
"*)\n"
" alt+v v toggle help bar\n"
" s:x,y sort options by fields x,y (see above)\n"
" s: reset sort to its default value (see above)\n"
" s:x,y sort options by fields x,y (see /help fset.look."
"sort)\n"
" s: reset sort to its default value (see /help fset."
"look.sort)\n"
" w:xxx export options in file \"xxx\"\n"
" w-:xxx export options in file \"xxx\" without help\n"
" w+:xxx export options in file \"xxx\" with help\n"
@@ -5716,8 +5725,8 @@ msgid ""
" left button move line here\n"
" right button toggle boolean (on/off) or edit the option "
"value\n"
" right button + drag left/right increase/decrease value for integer/color/"
"enum, set/append to value for other types\n"
" right button + drag left/right increase/decrease value for integer/color, "
"set/append to value for other types\n"
" right button + drag up/down mark/unmark multiple options\n"
"\n"
"Note: if input has one or more leading spaces, the following text is "
@@ -5843,14 +5852,6 @@ msgid ""
"ctrl-x"
msgstr ""
#, fuzzy
msgid "color for allowed values"
msgstr "távollevő felhasználók nevének színe"
#, fuzzy
msgid "color for allowed values on the selected line"
msgstr "távollevő felhasználók nevének színe"
msgid "color for color name when option fset.look.use_color_value is enabled"
msgstr ""
@@ -5905,6 +5906,10 @@ msgstr "nevek színe"
msgid "color for quotes around string values"
msgstr "új üzenetet tartalmazó ablak színe"
#, fuzzy
msgid "color for allowed values"
msgstr "távollevő felhasználók nevének színe"
#, fuzzy
msgid "color for index of option"
msgstr "információs pult határolóinak színe"
@@ -6110,10 +6115,6 @@ msgstr ""
msgid "fset options"
msgstr "konfigurációs paraméterek beállítása"
#, fuzzy
msgid "any color"
msgstr "üzenetek színe"
#, fuzzy, c-format
msgid "%s%s: script \"%s\" already registered (register ignored)"
msgstr "%s a \"%s\" szerver már létezik, nem hozhatja létre!\n"
@@ -6391,9 +6392,6 @@ msgstr "%s nincs elég memória a reguláris kifejezéshez\n"
msgid "%s%s: \"%s\" is not a valid regular expression (%s)"
msgstr "%s a(z) \"%s\" érvénytelen reguláris kifejezés (%s)\n"
msgid "Receiving list of channels, please wait..."
msgstr ""
#, c-format
msgid ""
"%s%s: you must specify channel for \"%s\" command if you're not in a channel"
@@ -6804,10 +6802,10 @@ msgid ""
"\n"
"Without argument, \"ls\" and \"list\" are sent.\n"
"\n"
"Capabilities supported by WeeChat are: account-notify, account-tag, away-"
"notify, batch, cap-notify, chghost, draft/multiline, echo-message, extended-"
"join, invite-notify, message-tags, multi-prefix, server-time, setname, "
"userhost-in-names.\n"
"Capabilities supported by WeeChat are: account-notify, away-notify, batch, "
"cap-notify, chghost, draft/multiline, echo-message, extended-join, invite-"
"notify, message-tags, multi-prefix, server-time, setname, userhost-in-"
"names.\n"
"\n"
"The capabilities to automatically enable on servers can be set in option irc."
"server_default.capabilities (or by server in option irc.server.xxx."
@@ -7181,9 +7179,7 @@ msgid "list channels and their topics"
msgstr "szobák listája témájukkal együtt"
#, fuzzy
msgid ""
"[-server <server>] [-re <regex>] [<channel>[,<channel>...]] [<target>] || -"
"up|-down [<number>] || -left|-right [<percent>] || -go <line>|end || -join"
msgid "[-server <server>] [-re <regex>] [<channel>[,<channel>...]] [<target>]"
msgstr "szoba[,szoba] [kulcs[,kulcs]]"
msgid ""
@@ -7192,67 +7188,15 @@ msgid ""
"insensitive, can start by \"(?-i)\" to become case sensitive)\n"
"channel: channel to list\n"
" target: server name\n"
" -up: move the selected line up by \"number\" lines\n"
" -down: move the selected line down by \"number\" lines\n"
" -left: scroll the /list buffer by \"percent\" of width on the left\n"
" -right: scroll the /list buffer by \"percent\" of width on the right\n"
" -go: select a line by number, first line number is 0 (\"end\" to select "
"the last line)\n"
" -join: join the channel on the selected line\n"
"\n"
"Keys and input on /list buffer:\n"
" up move one line up\n"
" down move one line down\n"
" pgup move one page up\n"
" pgdn move one page down\n"
" alt-home << move to first line\n"
" alt-end >> move to last line\n"
" F11 < scroll horizontally on the left\n"
" F12 > scroll horizontally on the right\n"
" * show all channels (no filter)\n"
" xxx show only channels with \"xxx\" in name or topic "
"(case insensitive)\n"
" n:xxx show only channels with \"xxx\" in name (case "
"insensitive)\n"
" t:xxx show only channels with \"xxx\" in topic (case "
"insensitive)\n"
" u:n show only channels with at least \"n\" users\n"
" u:>n show only channels with more than \"n\" users\n"
" u:<n show only channels with less than \"n\" users\n"
" c:xxx show only channels matching the evaluated "
"condition \"xxx\", using following variables: name, name2, users, topic\n"
" ctrl-j j join channel on selected line\n"
" s:x,y sort channels by fields x,y (see below)\n"
" s: reset sort to its default value (see below)\n"
" $ refresh list (run again command /list)\n"
" q close buffer\n"
"\n"
"Sort keys on /list buffer:\n"
" name channel name (eg: \"##test\")\n"
" name2 channel name without prefix (eg: \"test\")\n"
" users number of users on channel\n"
" topic channel topic\n"
"\n"
"Examples:\n"
" list all channels on server and display them in a dedicated buffer (can be "
"slow on large networks):\n"
" list all channels on server (can be very slow on large networks):\n"
" /list\n"
" list channel #weechat:\n"
" /list #weechat\n"
" list all channels beginning with \"#weechat\" (can be very slow on large "
"networks):\n"
" /list -re #weechat.*\n"
" on /list buffer:\n"
" channels with \"weechat\" in name:\n"
" n:weechat\n"
" channels with at least 100 users:\n"
" u:100\n"
" channels with \"freebsd\" (case insensitive) in topic and more than 10 "
"users:\n"
" c:${topic} =- freebsd && ${users} > 10\n"
" sort channels by users (big channels first), then name2 (name without "
"prefix):\n"
" s:-users,name2"
" /list -re #weechat.*"
msgstr ""
msgid "get statistics about the size of the IRC network"
@@ -8146,13 +8090,11 @@ msgid ""
msgstr ""
msgid ""
"format for CTCP reply or empty string for blocking CTCP (no reply); content "
"is evaluated, see /help eval; following variables are replaced: "
"${clientinfo}: list of supported CTCP, ${version}: WeeChat version, ${git}: "
"Git version, ${versiongit}: WeeChat version and Git version, ${compilation}: "
"compilation date, ${osinfo}: info about OS, ${site}: WeeChat site, "
"${download}: WeeChat site, download page, ${time}: current date and time as "
"text, ${username}: username on server, ${realname}: realname on server"
"format for CTCP reply or empty string for blocking CTCP (no reply), "
"following variables are replaced: $version (WeeChat version), $compilation "
"(compilation date), $osinfo (info about OS), $site (WeeChat site), $download "
"(WeeChat site, download page), $time (current date and time as text), "
"$username (username on server), $realname (realname on server)"
msgstr ""
#, fuzzy, c-format
@@ -8503,10 +8445,6 @@ msgstr "%s nincs elég memória az információs pult üzenethez\n"
msgid "IRC option renamed: \"irc.%s.%s\" => \"irc.%s.%s\""
msgstr ""
#, c-format
msgid "IRC CTCP format converted for \"%s\": \"%s\" => \"%s\""
msgstr ""
msgid ""
"open channel buffer before the JOIN is received from server when it is auto "
"joined (with server option \"autojoin\"); this is useful to open channels "
@@ -8676,20 +8614,6 @@ msgid ""
"for example: \"/join weechat\" will in fact send: \"/join #weechat\""
msgstr ""
msgid "left/right scroll in /list buffer (percent of width)"
msgstr ""
msgid ""
"comma-separated list of fields to sort channels (see /help list for a list "
"of fields); char \"-\" can be used before field to reverse order, char \"~\" "
"can be used to do a case insensitive comparison; example: \"-count,~name\" "
"for biggest channels first then case insensitive sort on name"
msgstr ""
#, fuzzy
msgid "strip channel topic colors in /list buffer"
msgstr "szerver nevének színe"
msgid ""
"default target buffer for msgbuffer options when target is private and that "
"private buffer is not found"
@@ -8701,12 +8625,6 @@ msgid ""
"channel/pv of server)"
msgstr ""
msgid ""
"force position of new /list buffer 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 "
@@ -8766,6 +8684,10 @@ msgid ""
"\"notify_message\", \"notify_private\" or \"notify_highlight\""
msgstr ""
msgid ""
"open a private buffer on self message when capability echo-message is enabled"
msgstr ""
msgid "close buffer when /part is issued on a channel"
msgstr ""
@@ -8895,14 +8817,6 @@ msgstr "névkiegészítés után beszúrt szöveg"
msgid "color for higher supported TLS version in bar item \"tls_version\""
msgstr "névkiegészítés után beszúrt szöveg"
#, fuzzy
msgid "color for selected line on /list buffer"
msgstr "szerver nevének színe"
#, fuzzy
msgid "background color for selected line on /list buffer"
msgstr "szerver nevének színe"
#, fuzzy
msgid "color for text in account messages"
msgstr "új üzenetet tartalmazó ablak színe"
@@ -9315,12 +9229,6 @@ msgstr "szerver"
msgid "irc batch"
msgstr "%d szoba"
msgid "irc channel on /list buffer"
msgstr ""
msgid "irc data for /list buffer"
msgstr ""
#, fuzzy, c-format
msgid "%sCTCP query to %s%s%s: %s%s%s%s%s"
msgstr "%s Szerver: %s%s %s[%s%s%s]\n"
@@ -9333,16 +9241,6 @@ msgstr "%s nincs csatlakozva szerverhez!\n"
msgid "%s%s: this buffer is not a channel!"
msgstr "Ez az ablak nem egy szoba!\n"
#, c-format
msgid ""
"%d channels (total: %d) | Filter: %s | Sort: %s | Key(input): ctrl+j=join "
"channel, ($)=refresh, (q)=close buffer"
msgstr ""
#, fuzzy, c-format
msgid "%s%s: error in redirection of /list: %s"
msgstr "Nem sikerült a(z) \"%s\" naplófájlt írni\n"
#, fuzzy, c-format
msgid "%s%s: cannot allocate new modelist"
msgstr "%s nem sikerült új csatornát lefoglalni"
@@ -10662,14 +10560,6 @@ msgid ""
"by the user (option \"-s\" or \"--no-script\")"
msgstr ""
#, fuzzy
msgid "buffer pointer"
msgstr "szöveg keresése a puffertörténetben"
#, fuzzy
msgid "buffer full name"
msgstr "szerver konfigurációs fájljának újraolvastatása"
#, fuzzy
msgid "terminal charset"
msgstr "pufferek kezelése"
@@ -10826,6 +10716,10 @@ msgstr ""
msgid "lines of a buffer"
msgstr "puffer betöltése sikertelen"
#, fuzzy
msgid "buffer pointer"
msgstr "szöveg keresése a puffertörténetben"
#, fuzzy
msgid "list of filters"
msgstr "Aliaszok listája:\n"
@@ -11868,6 +11762,10 @@ msgstr "%s a \"%s\" szerver nem található\n"
msgid "%s: script \"%s\" not found"
msgstr "%s a \"%s\" szerver nem található\n"
#, fuzzy, c-format
msgid "%s: script \"%s\" is not installed"
msgstr "%s a \"%s\" szerver nem található\n"
#, fuzzy, c-format
msgid "%s: autoload enabled for script \"%s\""
msgstr "folyamat: \"%s\" szerver betöltése\n"
@@ -11891,10 +11789,6 @@ msgstr ""
msgid "%s: downloading script \"%s\"..."
msgstr "folyamat: \"%s\" szerver betöltése\n"
#, fuzzy, c-format
msgid "%s: script \"%s\" is not installed"
msgstr "%s a \"%s\" szerver nem található\n"
#, fuzzy, c-format
msgid "%s: script \"%s\" is held"
msgstr "A \"%s\" modul eltávolítva.\n"
@@ -12038,7 +11932,7 @@ msgid ""
"list [-o|-ol|-i|-il] || search <text> || show <script> || load|unload|reload "
"<script> [<script>...] || autoload|noautoload|toggleautoload <script> "
"[<script>...] || install|remove|installremove|hold [-q] <script> "
"[<script>...] || upgrade || update || up|down [<number>] || go <line>|end"
"[<script>...] || upgrade || update"
msgstr ""
msgid ""
@@ -12068,10 +11962,6 @@ msgid ""
" upgrade: upgrade all installed scripts which are obsolete (new "
"version available)\n"
" update: update local scripts cache\n"
" up: move the selected line up by \"number\" lines\n"
" down: move the selected line down by \"number\" lines\n"
" go: select a line by number, first line number is 0 (\"end\" to "
"select the last line)\n"
"\n"
"Without argument, this command opens a buffer with list of scripts.\n"
"\n"
@@ -12666,21 +12556,6 @@ msgstr "%s Szerver: %s%s %s[%s%s%s]\n"
msgid "No trigger defined"
msgstr "Nincs aliasz definiálva.\n"
#, fuzzy
msgid "Triggers enabled:"
msgstr "a felhasználók le lettek tiltva"
#, fuzzy
msgid "default"
msgstr " . alapérték: %d\n"
msgid "custom"
msgstr ""
#, fuzzy
msgid "No triggers enabled"
msgstr "a felhasználók le lettek tiltva"
#, fuzzy
msgid "List of default triggers:"
msgstr "Aliaszok listája:\n"
@@ -12824,8 +12699,7 @@ msgid "manage triggers, the Swiss Army knife for WeeChat"
msgstr ""
msgid ""
"list [-o|-ol|-i|-il] || listfull || listdefault || add|addoff|addreplace "
"<name> <hook> "
"list|listfull|listdefault || add|addoff|addreplace <name> <hook> "
"[\"<arguments>\" [\"<conditions>\" [\"<regex>\" [\"<command>\" [\"<return_code>\" [\"<post_action>\"]]]]]] "
"|| addinput [<hook>] || input|output|recreate <name> || set <name> <option> "
"<value> || rename|copy <name> <new_name> || enable|disable|toggle [<name>|-"
@@ -12836,12 +12710,6 @@ msgstr ""
msgid ""
" list: list triggers (without argument, this list is displayed)\n"
" -o: send list of triggers enabled to buffer (string in English)\n"
" -ol: send list of triggers enabled to buffer (translated string)\n"
" -i: copy list of triggers enabled in command line (for sending to "
"buffer) (string in English)\n"
" -il: copy list of triggers enabled in command line (for sending to "
"buffer) (translated string)\n"
" listfull: list triggers with detailed info for each trigger\n"
"listdefault: list default triggers\n"
" add: add a trigger\n"
@@ -13573,11 +13441,3 @@ msgstr "%s hiányzó argumentum a(z) \"%s\" opciónak\n"
#, fuzzy, c-format
msgid "%s%s: unable to connect: unexpected error (%d)"
msgstr "%s DCC: nem sikerült kapcsolódni a küldőhöz\n"
#, fuzzy
#~ msgid "color for selected line"
#~ msgstr "konfigurációs paraméterek beállítása"
#, fuzzy
#~ msgid "background color for selected line"
#~ msgstr "szerver nevének színe"
+107 -294
View File
@@ -20,8 +20,8 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2023-08-22 09:26+0200\n"
"PO-Revision-Date: 2023-06-26 21:34+0200\n"
"POT-Creation-Date: 2023-10-30 23:09+0100\n"
"PO-Revision-Date: 2023-06-17 11:47+0200\n"
"Last-Translator: Esteban I. Ruiz Moreno <exio4.com@gmail.com>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
"Language: it\n"
@@ -472,12 +472,12 @@ msgstr "(non definito)"
msgid "current value"
msgstr "valore attivo"
msgid "integer"
msgstr "intero"
msgid "string"
msgstr "stringa"
msgid "integer"
msgstr "intero"
msgid "any string"
msgstr "qualsiasi stringa"
@@ -490,9 +490,6 @@ msgstr "caratteri massimi"
msgid "color"
msgstr "colore"
msgid "enum"
msgstr ""
#. TRANSLATORS: please do not translate "(null)"
msgid "undefined value allowed (null)"
msgstr "valore non definito consentito (null)"
@@ -1401,15 +1398,9 @@ msgstr ""
"movimento libero del cursore sullo schermo per eseguire azioni su aree "
"specifiche dello schermo"
#, fuzzy
#| msgid ""
#| "go chat|<bar>|<x>,<y> || move up|down|left|right|area_up|area_down|"
#| "area_left|area_right || stop"
msgid ""
"go chat|<bar> [top_left|top_right|bottom_left|bottom_right] || go <x>,<y> || "
"move up|down|left|right|top_left|top_right|bottom_left|bottom_right|edge_top|"
"edge_bottom|edge_left|edge_right|area_up|area_down|area_left|area_right || "
"stop"
"go chat|<bar>|<x>,<y> || move up|down|left|right|area_up|area_down|area_left|"
"area_right || stop"
msgstr ""
"go chat|<barra>|<x>,<y> || move up|down|left|right|area_up|area_down|"
"area_left|area_right || stop"
@@ -1444,8 +1435,6 @@ msgid ""
" enter exit cursor mode\n"
"\n"
"Examples:\n"
" go to the bottom left corner of chat area:\n"
" /cursor go chat bottom_left\n"
" go to nicklist:\n"
" /cursor go nicklist\n"
" go to coordinates x=10, y=5:\n"
@@ -4700,6 +4689,22 @@ msgstr "%sErrore: impossibile creare il file \"%s\""
msgid "%sError writing configuration file \"%s\""
msgstr "%sErrore: impossibile scrivere sul file di configurazione \"%s\""
#, fuzzy, c-format
#| msgid "%s: server %s%s%s has been copied to %s%s%s"
msgid "%sFile %s has been backed up as %s"
msgstr "%s: il server %s%s%s è stato copiato in %s%s%s"
#, fuzzy, c-format
#| msgid "%s%s: unable to load file \"%s\""
msgid "%sError: unable to backup file %s"
msgstr "%s%s: impossibile caricare il file \"%s\""
#, c-format
msgid ""
"%sImportant: file %s has been updated from version %d to %d, it is not "
"compatible and can not be loaded any more with any older version"
msgstr ""
#, fuzzy, c-format
msgid "%sWARNING: failed to read configuration file \"%s\" (%s)"
msgstr "Salvataggio del file di configurazione %s %s"
@@ -4718,9 +4723,8 @@ msgstr "Lettura del file di configurazione %s"
msgid "%sWarning: %s, line %d: invalid syntax, missing \"]\""
msgstr "%sAttenzione: %s, riga %d: sintassi invalida, \"]\" mancante"
#, fuzzy, c-format
#| msgid "%sWarning: %s, line %d: unknown section identifier (\"%s\")"
msgid "%sWarning: %s, line %d: ignoring unknown section identifier (\"%s\")"
#, c-format
msgid "%sWarning: %s, line %d: unknown section identifier (\"%s\")"
msgstr ""
"%sAttenzione: %s, riga %d: identificatore di sezione sconosciuto (\"%s\")"
@@ -4736,22 +4740,17 @@ msgid ""
"of file is IGNORED, default options are used"
msgstr ""
#, fuzzy, c-format
#| msgid "%sWarning: %s, line %d: option outside section: %s"
msgid "%sWarning: %s, line %d: ignoring option outside section: %s"
#, c-format
msgid "%sWarning: %s, line %d: option outside section: %s"
msgstr "%sAttenzione: %s, riga %d: opzione al di fuori della sezione: %s"
#, fuzzy, c-format
#| msgid "%sWarning: %s, line %d: unknown option for section \"%s\": %s"
msgid "%sWarning: %s, line %d: ignoring unknown option for section \"%s\": %s"
#, c-format
msgid "%sWarning: %s, line %d: unknown option for section \"%s\": %s"
msgstr ""
"%sAttenzione: %s, riga %d: opzione sconosciuta per la sezione \"%s\": %s"
#, fuzzy, c-format
#| msgid "%sWarning: %s, line %d: invalid value for option: %s"
msgid ""
"%sWarning: %s, line %d: ignoring invalid value for option in section \"%s\": "
"%s"
#, c-format
msgid "%sWarning: %s, line %d: invalid value for option: %s"
msgstr "%sAttenzione: %s, riga %d: valore non valido per l'opzione: %s"
#, c-format
@@ -4801,6 +4800,10 @@ msgid ""
"Error: unable to create a temporary home directory (using template: \"%s\")\n"
msgstr "%s%s: impossibile creare la directory per i log (\"%s\")"
#, fuzzy
msgid "Error: environment variable \"HOME\" is not defined\n"
msgstr "Variabili"
#, fuzzy, c-format
msgid "Error: \"%s\" is not a directory\n"
msgstr "Errore: home (%s) non è una directory\n"
@@ -5750,7 +5753,7 @@ msgid ""
"10 and 99 buffers\n"
" - ${number_displayed}: \"1\" if the number is displayed, otherwise "
"\"0\"\n"
" - ${indent}: indentation for name (channel, private and list buffers are "
" - ${indent}: indentation for name (channel and private buffers are "
"indented) (evaluation of option buflist.format.indent)\n"
" - ${format_nick_prefix}: colored nick prefix for a channel (evaluation "
"of option buflist.format.nick_prefix)\n"
@@ -5856,8 +5859,8 @@ msgstr ""
msgid ""
"number of buflist bar items that can be used; the item names are: "
"\"buflist\", \"buflist2\", \"buflist3\", \"buflist4\" and \"buflist5\"; be "
"careful, using more than one bar item slows down the display of buffers list"
"\"buflist\", \"buflist2\", \"buflist3\"; be careful, using more than one bar "
"item slows down the display of buffers list"
msgstr ""
msgid ""
@@ -5933,8 +5936,8 @@ msgstr ""
#, fuzzy
msgid ""
"string displayed to indent channel, private and list buffers (note: content "
"is evaluated, see /help buflist)"
"string displayed to indent channel and private buffers (note: content is "
"evaluated, see /help buflist)"
msgstr ""
"nome utente per il server proxy (nota: il contenuto viene valutato, "
"consultare /help eval)"
@@ -6337,7 +6340,7 @@ msgstr "valori"
#. TRANSLATORS: "%s%s%s:" at beginning of string it the name of option
#, fuzzy, c-format
msgid "%s%s%s: %s%s%s %s[%s%s]%s"
msgid "%s%s%s: %s %s[%s%s]%s"
msgstr "%sNick %s%s%s: %s[%s%s%s]"
#, fuzzy
@@ -6384,9 +6387,9 @@ msgid ""
" -go: select a line by number, first line number is 0 (\"end\" to "
"select the last line)\n"
" -toggle: toggle the boolean value\n"
" -add: add \"value\" (which can be a negative number) for integers, "
"colors and enums, set/append to value for other types (set for a negative "
"value, append for a positive value)\n"
" -add: add \"value\" (which can be a negative number) for integers and "
"colors, set/append to value for other types (set for a negative value, "
"append for a positive value)\n"
" -reset: reset the value of option\n"
" -unset: unset the option\n"
" -set: add the /set command in input to edit the value of option (move "
@@ -6408,8 +6411,7 @@ msgid ""
" * show all options (no filter)\n"
" xxx show only options with \"xxx\" in name\n"
" f:xxx show only configuration file \"xxx\"\n"
" t:xxx show only type \"xxx\" (bool/int/str/col/enum or "
"boolean/integer/string/color/enum)\n"
" t:xxx show only type \"xxx\" (bool/int/str/col)\n"
" d show only changed options\n"
" d:xxx show only changed options with \"xxx\" in name\n"
" d=xxx show only changed options with \"xxx\" in value\n"
@@ -6422,11 +6424,10 @@ msgid ""
" ==xxx show only options with exact value \"xxx\"\n"
" c:xxx show only options matching the evaluated condition "
"\"xxx\", using following variables: file, section, option, name, "
"parent_name, type, type_en, type_short (bool/int/str/col/enum), type_tiny (b/"
"i/s/c/e), default_value, default_value_undef, value, quoted_value, "
"value_undef, value_changed, parent_value, min, max, description, "
"description2, description_en, description_en2, string_values, "
"allowed_values\n"
"parent_name, type, type_en, type_short (bool/int/str/col), type_tiny (b/i/s/"
"c), default_value, default_value_undef, value, quoted_value, value_undef, "
"value_changed, parent_value, min, max, description, description2, "
"description_en, description_en2, string_values\n"
"\n"
"The lines with options are displayed using string evaluation (see /help eval "
"for the format), with these options:\n"
@@ -6442,8 +6443,8 @@ msgid ""
" - ${parent_name}: parent option name\n"
" - ${type}: option type (translated)\n"
" - ${type_en}: option type (in English)\n"
" - ${type_short}: short option type (bool/int/str/col/enum)\n"
" - ${type_tiny}: tiny option type (b/i/s/c/e)\n"
" - ${type_short}: short option type (bool/int/str/col)\n"
" - ${type_tiny}: tiny option type (b/i/s/c)\n"
" - ${default_value}: option default value\n"
" - ${default_value_undef}: \"1\" if default value is null, otherwise "
"\"0\"\n"
@@ -6461,8 +6462,8 @@ msgid ""
" - ${description_en}: option description (in English)\n"
" - ${description_en2}: option description (in English), \"(no "
"description)\" if there's no description\n"
" - ${string_values}: string values allowed for set of an enum option\n"
" - ${allowed_values}: allowed values\n"
" - ${string_values}: string values allowed for set of an integer option "
"using strings\n"
" - ${marked}: \"1\" if option is marked, otherwise \"0\"\n"
" - ${index}: index of option in list\n"
" - option data, with color but no spaces:\n"
@@ -6491,9 +6492,9 @@ msgid ""
"\n"
"Keys and input to set options on fset buffer:\n"
" alt+space t toggle boolean value\n"
" alt+'-' - subtract 1 from value for integer/color/enum, "
"set value for other types\n"
" alt+'+' + add 1 to value for integer/color/enum, append to "
" alt+'-' - subtract 1 from value for integer/color, set "
"value for other types\n"
" alt+'+' + add 1 to value for integer/color, append to "
"value for other types\n"
" alt+f, alt+r r reset value\n"
" alt+f, alt+u u unset value\n"
@@ -6517,8 +6518,10 @@ msgid ""
" alt+p p toggle plugin description options (plugins.desc."
"*)\n"
" alt+v v toggle help bar\n"
" s:x,y sort options by fields x,y (see above)\n"
" s: reset sort to its default value (see above)\n"
" s:x,y sort options by fields x,y (see /help fset.look."
"sort)\n"
" s: reset sort to its default value (see /help fset."
"look.sort)\n"
" w:xxx export options in file \"xxx\"\n"
" w-:xxx export options in file \"xxx\" without help\n"
" w+:xxx export options in file \"xxx\" with help\n"
@@ -6530,8 +6533,8 @@ msgid ""
" left button move line here\n"
" right button toggle boolean (on/off) or edit the option "
"value\n"
" right button + drag left/right increase/decrease value for integer/color/"
"enum, set/append to value for other types\n"
" right button + drag left/right increase/decrease value for integer/color, "
"set/append to value for other types\n"
" right button + drag up/down mark/unmark multiple options\n"
"\n"
"Note: if input has one or more leading spaces, the following text is "
@@ -6666,14 +6669,6 @@ msgid ""
"ctrl-x"
msgstr ""
#, fuzzy
msgid "color for allowed values"
msgstr "colore per la cronologia"
#, fuzzy
msgid "color for allowed values on the selected line"
msgstr "colore per la cronologia"
msgid "color for color name when option fset.look.use_color_value is enabled"
msgstr ""
@@ -6730,6 +6725,10 @@ msgstr "colore per il nick nella riga di input"
msgid "color for quotes around string values"
msgstr "colore per il testo nei messaggi di entrata"
#, fuzzy
msgid "color for allowed values"
msgstr "colore per la cronologia"
#, fuzzy
msgid "color for index of option"
msgstr "colore del testo per la descrizione del client"
@@ -6943,11 +6942,6 @@ msgstr ""
msgid "fset options"
msgstr "elenco delle opzioni"
#, fuzzy
#| msgid "color"
msgid "any color"
msgstr "colore"
#, c-format
msgid "%s%s: script \"%s\" already registered (register ignored)"
msgstr "%s%s: script \"%s\" già registrato (funzione register ignorata)"
@@ -7248,9 +7242,6 @@ msgstr "%s%s: memoria non sufficiente per l'espressione regolare"
msgid "%s%s: \"%s\" is not a valid regular expression (%s)"
msgstr "%s%s: \"%s\" non è una espressione regolare valida (%s)"
msgid "Receiving list of channels, please wait..."
msgstr ""
#, c-format
msgid ""
"%s%s: you must specify channel for \"%s\" command if you're not in a channel"
@@ -7701,10 +7692,10 @@ msgid ""
"\n"
"Without argument, \"ls\" and \"list\" are sent.\n"
"\n"
"Capabilities supported by WeeChat are: account-notify, account-tag, away-"
"notify, batch, cap-notify, chghost, draft/multiline, echo-message, extended-"
"join, invite-notify, message-tags, multi-prefix, server-time, setname, "
"userhost-in-names.\n"
"Capabilities supported by WeeChat are: account-notify, away-notify, batch, "
"cap-notify, chghost, draft/multiline, echo-message, extended-join, invite-"
"notify, message-tags, multi-prefix, server-time, setname, userhost-in-"
"names.\n"
"\n"
"The capabilities to automatically enable on servers can be set in option irc."
"server_default.capabilities (or by server in option irc.server.xxx."
@@ -8080,81 +8071,43 @@ msgid "list channels and their topics"
msgstr "elenca i canali ed i loro argomenti"
#, fuzzy
msgid ""
"[-server <server>] [-re <regex>] [<channel>[,<channel>...]] [<target>] || -"
"up|-down [<number>] || -left|-right [<percent>] || -go <line>|end || -join"
msgid "[-server <server>] [-re <regex>] [<channel>[,<channel>...]] [<target>]"
msgstr ""
"[-noswitch] [-server <server>] [<canale1>[,<canale2>...]] [<chiave1>[,"
"<chiave2>...]]"
#, fuzzy
msgid ""
" server: send to this server (internal name)\n"
" regex: POSIX extended regular expression used to filter results (case "
"insensitive, can start by \"(?-i)\" to become case sensitive)\n"
"channel: channel to list\n"
" target: server name\n"
" -up: move the selected line up by \"number\" lines\n"
" -down: move the selected line down by \"number\" lines\n"
" -left: scroll the /list buffer by \"percent\" of width on the left\n"
" -right: scroll the /list buffer by \"percent\" of width on the right\n"
" -go: select a line by number, first line number is 0 (\"end\" to select "
"the last line)\n"
" -join: join the channel on the selected line\n"
"\n"
"Keys and input on /list buffer:\n"
" up move one line up\n"
" down move one line down\n"
" pgup move one page up\n"
" pgdn move one page down\n"
" alt-home << move to first line\n"
" alt-end >> move to last line\n"
" F11 < scroll horizontally on the left\n"
" F12 > scroll horizontally on the right\n"
" * show all channels (no filter)\n"
" xxx show only channels with \"xxx\" in name or topic "
"(case insensitive)\n"
" n:xxx show only channels with \"xxx\" in name (case "
"insensitive)\n"
" t:xxx show only channels with \"xxx\" in topic (case "
"insensitive)\n"
" u:n show only channels with at least \"n\" users\n"
" u:>n show only channels with more than \"n\" users\n"
" u:<n show only channels with less than \"n\" users\n"
" c:xxx show only channels matching the evaluated "
"condition \"xxx\", using following variables: name, name2, users, topic\n"
" ctrl-j j join channel on selected line\n"
" s:x,y sort channels by fields x,y (see below)\n"
" s: reset sort to its default value (see below)\n"
" $ refresh list (run again command /list)\n"
" q close buffer\n"
"\n"
"Sort keys on /list buffer:\n"
" name channel name (eg: \"##test\")\n"
" name2 channel name without prefix (eg: \"test\")\n"
" users number of users on channel\n"
" topic channel topic\n"
"\n"
"Examples:\n"
" list all channels on server and display them in a dedicated buffer (can be "
"slow on large networks):\n"
" list all channels on server (can be very slow on large networks):\n"
" /list\n"
" list channel #weechat:\n"
" /list #weechat\n"
" list all channels beginning with \"#weechat\" (can be very slow on large "
"networks):\n"
" /list -re #weechat.*\n"
" on /list buffer:\n"
" channels with \"weechat\" in name:\n"
" n:weechat\n"
" channels with at least 100 users:\n"
" u:100\n"
" channels with \"freebsd\" (case insensitive) in topic and more than 10 "
"users:\n"
" c:${topic} =- freebsd && ${users} > 10\n"
" sort channels by users (big channels first), then name2 (name without "
"prefix):\n"
" s:-users,name2"
" /list -re #weechat.*"
msgstr ""
"canale: canale da elencare\n"
"server: nome del server\n"
" regex: espressione regolare usata per filtrare i risultati (non sensibile "
"alle maiuscole, può iniziare con \"(?-i)\" per renderla sensibile alle "
"maiuscole)\n"
"\n"
"Esempi:\n"
" elenca tutti i canali sul server (può essere molto lento su grandi "
"network):\n"
" /list\n"
" elenca il canale #weechat:\n"
" /list #weechat.*\n"
" elenca tutti i canali che iniziano con \"#weechat\" (può essere molto "
"lento su grandi network):\n"
" /list -re #weechat.*"
msgid "get statistics about the size of the IRC network"
msgstr "ottiene statistiche sulla dimensione del network IRC"
@@ -8997,22 +8950,12 @@ msgid ""
"ctcp.%s\" will not work"
msgstr ""
#, fuzzy
#| msgid ""
#| "format for CTCP reply or empty string for blocking CTCP (no reply), "
#| "following variables are replaced: $version (WeeChat version), "
#| "$compilation (compilation date), $osinfo (info about OS), $site (WeeChat "
#| "site), $download (WeeChat site, download page), $time (current date and "
#| "time as text), $username (username on server), $realname (realname on "
#| "server)"
msgid ""
"format for CTCP reply or empty string for blocking CTCP (no reply); content "
"is evaluated, see /help eval; following variables are replaced: "
"${clientinfo}: list of supported CTCP, ${version}: WeeChat version, ${git}: "
"Git version, ${versiongit}: WeeChat version and Git version, ${compilation}: "
"compilation date, ${osinfo}: info about OS, ${site}: WeeChat site, "
"${download}: WeeChat site, download page, ${time}: current date and time as "
"text, ${username}: username on server, ${realname}: realname on server"
"format for CTCP reply or empty string for blocking CTCP (no reply), "
"following variables are replaced: $version (WeeChat version), $compilation "
"(compilation date), $osinfo (info about OS), $site (WeeChat site), $download "
"(WeeChat site, download page), $time (current date and time as text), "
"$username (username on server), $realname (realname on server)"
msgstr ""
"formato per la reply CTCP o stringa vuota per bloccare CTCP (nessuna reply), "
"vengono sostituite le seguenti variabili: $version (versione di WeeChat), "
@@ -9396,11 +9339,6 @@ msgstr "%s%s: errore durante la creazione dell'opzione del server \"%s\""
msgid "IRC option renamed: \"irc.%s.%s\" => \"irc.%s.%s\""
msgstr ""
#, fuzzy, c-format
#| msgid "Command for key: \"%s\""
msgid "IRC CTCP format converted for \"%s\": \"%s\" => \"%s\""
msgstr "Comando per il tasto \"%s\""
msgid ""
"open channel buffer before the JOIN is received from server when it is auto "
"joined (with server option \"autojoin\"); this is useful to open channels "
@@ -9615,21 +9553,6 @@ msgid ""
"for example: \"/join weechat\" will in fact send: \"/join #weechat\""
msgstr ""
msgid "left/right scroll in /list buffer (percent of width)"
msgstr ""
msgid ""
"comma-separated list of fields to sort channels (see /help list for a list "
"of fields); char \"-\" can be used before field to reverse order, char \"~\" "
"can be used to do a case insensitive comparison; example: \"-count,~name\" "
"for biggest channels first then case insensitive sort on name"
msgstr ""
#, fuzzy
#| msgid "text color in script buffer"
msgid "strip channel topic colors in /list buffer"
msgstr "colore del testo nel buffer degli script"
msgid ""
"default target buffer for msgbuffer options when target is private and that "
"private buffer is not found"
@@ -9646,20 +9569,6 @@ msgstr ""
"predefinita (dovrebbe essere l'ultimo buffer), next = buffer corrente + 1, "
"near_server = dopo l'ultimo canale/privato del server)"
#, fuzzy
#| 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)"
msgid ""
"force position of new /list buffer in list of buffers (none = default "
"position (should be last buffer), next = current buffer + 1, near_server = "
"after last channel/pv of server)"
msgstr ""
"forza la posizione del nuovo buffer privato nell'elenco dei buffer (none = "
"posizione predefinita (dovrebbe essere l'ultimo buffer), next = buffer "
"corrente + 1, near_server = dopo l'ultimo canale/privato del server)"
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 "
@@ -9742,6 +9651,10 @@ msgstr ""
"whois), ad esempio: \"notify_message\", \"notify_private\" o "
"\"notify_highlight\""
msgid ""
"open a private buffer on self message when capability echo-message is enabled"
msgstr ""
msgid "close buffer when /part is issued on a channel"
msgstr "chiude buffer quando viene digitato /part nel canale"
@@ -9894,16 +9807,6 @@ msgstr ""
"colore per il prefisso del nick (stringa visualizzata dopo il nick nel "
"prefisso)"
#, fuzzy
#| msgid "text color for selected line in script buffer"
msgid "color for selected line on /list buffer"
msgstr "colore del testo della riga selezionata nel buffer degli script"
#, fuzzy
#| msgid "background color for selected line in script buffer"
msgid "background color for selected line on /list buffer"
msgstr "colore di sfondo per la riga selezionata nel buffer degli script"
#, fuzzy
msgid "color for text in account messages"
msgstr "colore per il testo nei messaggi di entrata"
@@ -10336,12 +10239,6 @@ msgstr "server irc"
msgid "irc batch"
msgstr "canale irc"
msgid "irc channel on /list buffer"
msgstr ""
msgid "irc data for /list buffer"
msgstr ""
#, c-format
msgid "%sCTCP query to %s%s%s: %s%s%s%s%s"
msgstr "%sRichiesta CTCP a %s%s%s: %s%s%s%s%s"
@@ -10354,17 +10251,6 @@ msgstr "%s%s: non connesso al server"
msgid "%s%s: this buffer is not a channel!"
msgstr "%s%s: questo buffer non è un canale!"
#, c-format
msgid ""
"%d channels (total: %d) | Filter: %s | Sort: %s | Key(input): ctrl+j=join "
"channel, ($)=refresh, (q)=close buffer"
msgstr ""
#, fuzzy, c-format
#| msgid "%s%s: error in function \"%s\""
msgid "%s%s: error in redirection of /list: %s"
msgstr "%s%s: errore nella funzioe \"%s\""
#, fuzzy, c-format
msgid "%s%s: cannot allocate new modelist"
msgstr "%s%s: impossibile allocare un nuovo canale"
@@ -11748,13 +11634,6 @@ msgid ""
"by the user (option \"-s\" or \"--no-script\")"
msgstr ""
msgid "buffer pointer"
msgstr "puntatore al buffer"
#, fuzzy
msgid "buffer full name"
msgstr "Registra i buffer su file"
msgid "terminal charset"
msgstr "set caratteri terminale"
@@ -11914,6 +11793,9 @@ msgstr ""
msgid "lines of a buffer"
msgstr "righe di un buffer"
msgid "buffer pointer"
msgstr "puntatore al buffer"
msgid "list of filters"
msgstr "elenco dei filtri"
@@ -13022,6 +12904,10 @@ msgstr "%s: script \"%s\" non caricato"
msgid "%s: script \"%s\" not found"
msgstr "%s: script \"%s\" non trovato"
#, c-format
msgid "%s: script \"%s\" is not installed"
msgstr "%s: script \"%s\" non installato"
#, c-format
msgid "%s: autoload enabled for script \"%s\""
msgstr "%s: autoload per lo script \"%s\" attivato"
@@ -13045,10 +12931,6 @@ msgstr ""
msgid "%s: downloading script \"%s\"..."
msgstr "%s: download dello script \"%s\"..."
#, c-format
msgid "%s: script \"%s\" is not installed"
msgstr "%s: script \"%s\" non installato"
#, c-format
msgid "%s: script \"%s\" is held"
msgstr "%s: lo script \"%s\" è bloccato"
@@ -13186,7 +13068,7 @@ msgid ""
"list [-o|-ol|-i|-il] || search <text> || show <script> || load|unload|reload "
"<script> [<script>...] || autoload|noautoload|toggleautoload <script> "
"[<script>...] || install|remove|installremove|hold [-q] <script> "
"[<script>...] || upgrade || update || up|down [<number>] || go <line>|end"
"[<script>...] || upgrade || update"
msgstr ""
msgid ""
@@ -13216,10 +13098,6 @@ msgid ""
" upgrade: upgrade all installed scripts which are obsolete (new "
"version available)\n"
" update: update local scripts cache\n"
" up: move the selected line up by \"number\" lines\n"
" down: move the selected line down by \"number\" lines\n"
" go: select a line by number, first line number is 0 (\"end\" to "
"select the last line)\n"
"\n"
"Without argument, this command opens a buffer with list of scripts.\n"
"\n"
@@ -13861,22 +13739,6 @@ msgstr "%sNick %s%s%s: %s[%s%s%s]"
msgid "No trigger defined"
msgstr "Nessun rmodifier definito"
#, fuzzy
msgid "Triggers enabled:"
msgstr "Filtro \"%s\" abilitato"
#, fuzzy
#| msgid "default: "
msgid "default"
msgstr "predefinito: "
msgid "custom"
msgstr ""
#, fuzzy
msgid "No triggers enabled"
msgstr "Filtro \"%s\" abilitato"
#, fuzzy
msgid "List of default triggers:"
msgstr "Elenco degli alias:"
@@ -14021,8 +13883,7 @@ msgid "manage triggers, the Swiss Army knife for WeeChat"
msgstr ""
msgid ""
"list [-o|-ol|-i|-il] || listfull || listdefault || add|addoff|addreplace "
"<name> <hook> "
"list|listfull|listdefault || add|addoff|addreplace <name> <hook> "
"[\"<arguments>\" [\"<conditions>\" [\"<regex>\" [\"<command>\" [\"<return_code>\" [\"<post_action>\"]]]]]] "
"|| addinput [<hook>] || input|output|recreate <name> || set <name> <option> "
"<value> || rename|copy <name> <new_name> || enable|disable|toggle [<name>|-"
@@ -14033,12 +13894,6 @@ msgstr ""
msgid ""
" list: list triggers (without argument, this list is displayed)\n"
" -o: send list of triggers enabled to buffer (string in English)\n"
" -ol: send list of triggers enabled to buffer (translated string)\n"
" -i: copy list of triggers enabled in command line (for sending to "
"buffer) (string in English)\n"
" -il: copy list of triggers enabled in command line (for sending to "
"buffer) (translated string)\n"
" listfull: list triggers with detailed info for each trigger\n"
"listdefault: list default triggers\n"
" add: add a trigger\n"
@@ -14767,45 +14622,3 @@ msgstr "%s%s: timeout per \"%s\" con %s"
#, fuzzy, c-format
msgid "%s%s: unable to connect: unexpected error (%d)"
msgstr "%s%s: impossibile connettersi al mittente"
#, fuzzy
#~ msgid "color for selected line"
#~ msgstr "sezione di configurazione"
#, fuzzy
#~| msgid "background color for selected line in script buffer"
#~ msgid "background color for selected line"
#~ msgstr "colore di sfondo per la riga selezionata nel buffer degli script"
#, fuzzy
#~ msgid ""
#~ " server: send to this server (internal name)\n"
#~ " regex: POSIX extended regular expression used to filter results (case "
#~ "insensitive, can start by \"(?-i)\" to become case sensitive)\n"
#~ "channel: channel to list\n"
#~ " target: server name\n"
#~ "\n"
#~ "Examples:\n"
#~ " list all channels on server (can be very slow on large networks):\n"
#~ " /list\n"
#~ " list channel #weechat:\n"
#~ " /list #weechat\n"
#~ " list all channels beginning with \"#weechat\" (can be very slow on "
#~ "large networks):\n"
#~ " /list -re #weechat.*"
#~ msgstr ""
#~ "canale: canale da elencare\n"
#~ "server: nome del server\n"
#~ " regex: espressione regolare usata per filtrare i risultati (non "
#~ "sensibile alle maiuscole, può iniziare con \"(?-i)\" per renderla "
#~ "sensibile alle maiuscole)\n"
#~ "\n"
#~ "Esempi:\n"
#~ " elenca tutti i canali sul server (può essere molto lento su grandi "
#~ "network):\n"
#~ " /list\n"
#~ " elenca il canale #weechat:\n"
#~ " /list #weechat.*\n"
#~ " elenca tutti i canali che iniziano con \"#weechat\" (può essere molto "
#~ "lento su grandi network):\n"
#~ " /list -re #weechat.*"
+107 -326
View File
@@ -20,8 +20,8 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2023-08-22 09:26+0200\n"
"PO-Revision-Date: 2023-08-08 07:13+0200\n"
"POT-Creation-Date: 2023-10-30 23:09+0100\n"
"PO-Revision-Date: 2023-06-17 11:47+0200\n"
"Last-Translator: AYANOKOUZI, Ryuunosuke <i38w7i3@yahoo.co.jp>\n"
"Language-Team: Japanese <https://github.com/l/weechat/tree/master/"
"translation/ja_JP>\n"
@@ -522,12 +522,12 @@ msgstr "(未定義)"
msgid "current value"
msgstr "現在の値"
msgid "integer"
msgstr "整数"
msgid "string"
msgstr "文字列"
msgid "integer"
msgstr "整数"
msgid "any string"
msgstr "未制約文字列"
@@ -540,9 +540,6 @@ msgstr "最大文字数"
msgid "color"
msgstr "色"
msgid "enum"
msgstr ""
#. TRANSLATORS: please do not translate "(null)"
msgid "undefined value allowed (null)"
msgstr "(null) は設定できません"
@@ -1515,15 +1512,9 @@ msgid ""
"screen"
msgstr "カーソルを移動してアクションを実行するエリアを指定"
#, fuzzy
#| msgid ""
#| "go chat|<bar>|<x>,<y> || move up|down|left|right|area_up|area_down|"
#| "area_left|area_right || stop"
msgid ""
"go chat|<bar> [top_left|top_right|bottom_left|bottom_right] || go <x>,<y> || "
"move up|down|left|right|top_left|top_right|bottom_left|bottom_right|edge_top|"
"edge_bottom|edge_left|edge_right|area_up|area_down|area_left|area_right || "
"stop"
"go chat|<bar>|<x>,<y> || move up|down|left|right|area_up|area_down|area_left|"
"area_right || stop"
msgstr ""
"go chat|<bar>|<x>,<y> || move up|down|left|right|area_up|area_down|area_left|"
"area_right || stop"
@@ -1558,8 +1549,6 @@ msgid ""
" enter exit cursor mode\n"
"\n"
"Examples:\n"
" go to the bottom left corner of chat area:\n"
" /cursor go chat bottom_left\n"
" go to nicklist:\n"
" /cursor go nicklist\n"
" go to coordinates x=10, y=5:\n"
@@ -5305,6 +5294,22 @@ msgstr "%sエラー: ファイル \"%s\" の作成に失敗"
msgid "%sError writing configuration file \"%s\""
msgstr "%s設定ファイル \"%s\" の書き込み中にエラー"
#, fuzzy, c-format
#| msgid "%s: server %s%s%s has been copied to %s%s%s"
msgid "%sFile %s has been backed up as %s"
msgstr "%s: サーバ %s%s%s を %s%s%s にコピーしました"
#, fuzzy, c-format
#| msgid "%s%s: unable to load file \"%s\""
msgid "%sError: unable to backup file %s"
msgstr "%s%s: ファイル \"%s\" をロードできません"
#, c-format
msgid ""
"%sImportant: file %s has been updated from version %d to %d, it is not "
"compatible and can not be loaded any more with any older version"
msgstr ""
#, c-format
msgid "%sWARNING: failed to read configuration file \"%s\" (%s)"
msgstr "%s警告: 設定ファイル \"%s\" (%s) の読み込みに失敗"
@@ -5325,9 +5330,8 @@ msgstr "設定ファイル %s の読み込み中"
msgid "%sWarning: %s, line %d: invalid syntax, missing \"]\""
msgstr "%s警告: %s、行 %d: 無効な構文、\"]\" が足りません"
#, fuzzy, c-format
#| msgid "%sWarning: %s, line %d: unknown section identifier (\"%s\")"
msgid "%sWarning: %s, line %d: ignoring unknown section identifier (\"%s\")"
#, c-format
msgid "%sWarning: %s, line %d: unknown section identifier (\"%s\")"
msgstr "%s警告: %s、行 %d: セクションインジケータ (\"%s\") は未定義"
#, c-format
@@ -5342,21 +5346,16 @@ msgid ""
"of file is IGNORED, default options are used"
msgstr ""
#, fuzzy, c-format
#| msgid "%sWarning: %s, line %d: option outside section: %s"
msgid "%sWarning: %s, line %d: ignoring option outside section: %s"
#, c-format
msgid "%sWarning: %s, line %d: option outside section: %s"
msgstr "%s警告: %s、行 %d: セクション外オプション: %s"
#, fuzzy, c-format
#| msgid "%sWarning: %s, line %d: unknown option for section \"%s\": %s"
msgid "%sWarning: %s, line %d: ignoring unknown option for section \"%s\": %s"
#, c-format
msgid "%sWarning: %s, line %d: unknown option for section \"%s\": %s"
msgstr "%s警告: %s、行 %d: セクション \"%s\" の無効なオプション: %s"
#, fuzzy, c-format
#| msgid "%sWarning: %s, line %d: invalid value for option: %s"
msgid ""
"%sWarning: %s, line %d: ignoring invalid value for option in section \"%s\": "
"%s"
#, c-format
msgid "%sWarning: %s, line %d: invalid value for option: %s"
msgstr "%s警告: %s、行 %d: オプションに対する無効な値: %s"
#, c-format
@@ -5408,6 +5407,11 @@ msgid ""
msgstr ""
"エラー: 一時的なホームディレクリ (テンプレート: \"%s\") を作成できません\n"
#, fuzzy
#| msgid "Environment variable \"%s\" is not defined"
msgid "Error: environment variable \"HOME\" is not defined\n"
msgstr "環境変数 \"%s\" が定義されていません"
#, fuzzy, c-format
msgid "Error: \"%s\" is not a directory\n"
msgstr "エラー: ホーム (%s) はディレクトリではありません\n"
@@ -6363,7 +6367,7 @@ msgid ""
"10 and 99 buffers\n"
" - ${number_displayed}: \"1\" if the number is displayed, otherwise "
"\"0\"\n"
" - ${indent}: indentation for name (channel, private and list buffers are "
" - ${indent}: indentation for name (channel and private buffers are "
"indented) (evaluation of option buflist.format.indent)\n"
" - ${format_nick_prefix}: colored nick prefix for a channel (evaluation "
"of option buflist.format.nick_prefix)\n"
@@ -6570,8 +6574,8 @@ msgstr ""
msgid ""
"number of buflist bar items that can be used; the item names are: "
"\"buflist\", \"buflist2\", \"buflist3\", \"buflist4\" and \"buflist5\"; be "
"careful, using more than one bar item slows down the display of buffers list"
"\"buflist\", \"buflist2\", \"buflist3\"; be careful, using more than one bar "
"item slows down the display of buffers list"
msgstr ""
msgid ""
@@ -6643,13 +6647,9 @@ msgstr ""
"ホットリスト内のカウンタを示す区切り文字 (注意: 値は評価されます、/help eval "
"を参照してください)"
#, fuzzy
#| msgid ""
#| "string displayed to indent channel and private buffers (note: content is "
#| "evaluated, see /help buflist)"
msgid ""
"string displayed to indent channel, private and list buffers (note: content "
"is evaluated, see /help buflist)"
"string displayed to indent channel and private buffers (note: content is "
"evaluated, see /help buflist)"
msgstr ""
"indent チャンネルとプライベートバッファに表示される文字列 (注意: 値は評価され"
"ます、/help buflist を参照してください)"
@@ -7157,8 +7157,8 @@ msgstr "値:"
#. TRANSLATORS: "%s%s%s:" at beginning of string it the name of option
#, c-format
msgid "%s%s%s: %s%s%s %s[%s%s]%s"
msgstr "%s%s%s: %s%s%s %s[%s%s]%s"
msgid "%s%s%s: %s %s[%s%s]%s"
msgstr "%s%s%s: %s %s[%s%s]%s"
msgid "(no description)"
msgstr "(説明がありません)"
@@ -7225,9 +7225,9 @@ msgid ""
" -go: select a line by number, first line number is 0 (\"end\" to "
"select the last line)\n"
" -toggle: toggle the boolean value\n"
" -add: add \"value\" (which can be a negative number) for integers, "
"colors and enums, set/append to value for other types (set for a negative "
"value, append for a positive value)\n"
" -add: add \"value\" (which can be a negative number) for integers and "
"colors, set/append to value for other types (set for a negative value, "
"append for a positive value)\n"
" -reset: reset the value of option\n"
" -unset: unset the option\n"
" -set: add the /set command in input to edit the value of option (move "
@@ -7249,8 +7249,7 @@ msgid ""
" * show all options (no filter)\n"
" xxx show only options with \"xxx\" in name\n"
" f:xxx show only configuration file \"xxx\"\n"
" t:xxx show only type \"xxx\" (bool/int/str/col/enum or "
"boolean/integer/string/color/enum)\n"
" t:xxx show only type \"xxx\" (bool/int/str/col)\n"
" d show only changed options\n"
" d:xxx show only changed options with \"xxx\" in name\n"
" d=xxx show only changed options with \"xxx\" in value\n"
@@ -7263,11 +7262,10 @@ msgid ""
" ==xxx show only options with exact value \"xxx\"\n"
" c:xxx show only options matching the evaluated condition "
"\"xxx\", using following variables: file, section, option, name, "
"parent_name, type, type_en, type_short (bool/int/str/col/enum), type_tiny (b/"
"i/s/c/e), default_value, default_value_undef, value, quoted_value, "
"value_undef, value_changed, parent_value, min, max, description, "
"description2, description_en, description_en2, string_values, "
"allowed_values\n"
"parent_name, type, type_en, type_short (bool/int/str/col), type_tiny (b/i/s/"
"c), default_value, default_value_undef, value, quoted_value, value_undef, "
"value_changed, parent_value, min, max, description, description2, "
"description_en, description_en2, string_values\n"
"\n"
"The lines with options are displayed using string evaluation (see /help eval "
"for the format), with these options:\n"
@@ -7283,8 +7281,8 @@ msgid ""
" - ${parent_name}: parent option name\n"
" - ${type}: option type (translated)\n"
" - ${type_en}: option type (in English)\n"
" - ${type_short}: short option type (bool/int/str/col/enum)\n"
" - ${type_tiny}: tiny option type (b/i/s/c/e)\n"
" - ${type_short}: short option type (bool/int/str/col)\n"
" - ${type_tiny}: tiny option type (b/i/s/c)\n"
" - ${default_value}: option default value\n"
" - ${default_value_undef}: \"1\" if default value is null, otherwise "
"\"0\"\n"
@@ -7302,8 +7300,8 @@ msgid ""
" - ${description_en}: option description (in English)\n"
" - ${description_en2}: option description (in English), \"(no "
"description)\" if there's no description\n"
" - ${string_values}: string values allowed for set of an enum option\n"
" - ${allowed_values}: allowed values\n"
" - ${string_values}: string values allowed for set of an integer option "
"using strings\n"
" - ${marked}: \"1\" if option is marked, otherwise \"0\"\n"
" - ${index}: index of option in list\n"
" - option data, with color but no spaces:\n"
@@ -7332,9 +7330,9 @@ msgid ""
"\n"
"Keys and input to set options on fset buffer:\n"
" alt+space t toggle boolean value\n"
" alt+'-' - subtract 1 from value for integer/color/enum, "
"set value for other types\n"
" alt+'+' + add 1 to value for integer/color/enum, append to "
" alt+'-' - subtract 1 from value for integer/color, set "
"value for other types\n"
" alt+'+' + add 1 to value for integer/color, append to "
"value for other types\n"
" alt+f, alt+r r reset value\n"
" alt+f, alt+u u unset value\n"
@@ -7358,8 +7356,10 @@ msgid ""
" alt+p p toggle plugin description options (plugins.desc."
"*)\n"
" alt+v v toggle help bar\n"
" s:x,y sort options by fields x,y (see above)\n"
" s: reset sort to its default value (see above)\n"
" s:x,y sort options by fields x,y (see /help fset.look."
"sort)\n"
" s: reset sort to its default value (see /help fset."
"look.sort)\n"
" w:xxx export options in file \"xxx\"\n"
" w-:xxx export options in file \"xxx\" without help\n"
" w+:xxx export options in file \"xxx\" with help\n"
@@ -7371,8 +7371,8 @@ msgid ""
" left button move line here\n"
" right button toggle boolean (on/off) or edit the option "
"value\n"
" right button + drag left/right increase/decrease value for integer/color/"
"enum, set/append to value for other types\n"
" right button + drag left/right increase/decrease value for integer/color, "
"set/append to value for other types\n"
" right button + drag up/down mark/unmark multiple options\n"
"\n"
"Note: if input has one or more leading spaces, the following text is "
@@ -7711,14 +7711,6 @@ msgstr ""
"書式 (\"${marked} ${name} ${type} ${value2}\") を使います、デフォルト書式は"
"文字列を評価しないので高速です; 書式を切り替えるには ctrl+X を使います"
msgid "color for allowed values"
msgstr "利用可能な値のテキスト色"
#, fuzzy
#| msgid "color for max value on the selected line"
msgid "color for allowed values on the selected line"
msgstr "最大値を意味するテキスト色 (選択行に表示される場合)"
msgid "color for color name when option fset.look.use_color_value is enabled"
msgstr ""
@@ -7769,6 +7761,9 @@ msgstr "オプション名のテキスト色 (ヘルプバー内に表示され
msgid "color for quotes around string values"
msgstr "文字列値を囲む引用符のテキスト色"
msgid "color for allowed values"
msgstr "利用可能な値のテキスト色"
msgid "color for index of option"
msgstr "オプションインデックスのテキスト色"
@@ -7949,11 +7944,6 @@ msgstr "オプション名 (ワイルドカード \"*\" を使うことができ
msgid "fset options"
msgstr "fset オプション"
#, fuzzy
#| msgid "color"
msgid "any color"
msgstr "色"
#, c-format
msgid "%s%s: script \"%s\" already registered (register ignored)"
msgstr "%s%s: サーバ \"%s\" は既に登録済みです (登録しませんでした)"
@@ -8254,9 +8244,6 @@ msgstr "%s%s: 正規表現用のメモリが足りません"
msgid "%s%s: \"%s\" is not a valid regular expression (%s)"
msgstr "%s%s: \"%s\" は不正な正規表現です (%s)"
msgid "Receiving list of channels, please wait..."
msgstr ""
#, c-format
msgid ""
"%s%s: you must specify channel for \"%s\" command if you're not in a channel"
@@ -8724,10 +8711,10 @@ msgid ""
"\n"
"Without argument, \"ls\" and \"list\" are sent.\n"
"\n"
"Capabilities supported by WeeChat are: account-notify, account-tag, away-"
"notify, batch, cap-notify, chghost, draft/multiline, echo-message, extended-"
"join, invite-notify, message-tags, multi-prefix, server-time, setname, "
"userhost-in-names.\n"
"Capabilities supported by WeeChat are: account-notify, away-notify, batch, "
"cap-notify, chghost, draft/multiline, echo-message, extended-join, invite-"
"notify, message-tags, multi-prefix, server-time, setname, userhost-in-"
"names.\n"
"\n"
"The capabilities to automatically enable on servers can be set in option irc."
"server_default.capabilities (or by server in option irc.server.xxx."
@@ -9176,12 +9163,7 @@ msgstr ""
msgid "list channels and their topics"
msgstr "チャンネルとトピックをリストアップ"
#, fuzzy
#| msgid ""
#| "[-server <server>] [-re <regex>] [<channel>[,<channel>...]] [<target>]"
msgid ""
"[-server <server>] [-re <regex>] [<channel>[,<channel>...]] [<target>] || -"
"up|-down [<number>] || -left|-right [<percent>] || -go <line>|end || -join"
msgid "[-server <server>] [-re <regex>] [<channel>[,<channel>...]] [<target>]"
msgstr "[-server <server>] [-re <regex>] [<channel>[,<channel>...]] [<target>]"
msgid ""
@@ -9190,68 +9172,31 @@ msgid ""
"insensitive, can start by \"(?-i)\" to become case sensitive)\n"
"channel: channel to list\n"
" target: server name\n"
" -up: move the selected line up by \"number\" lines\n"
" -down: move the selected line down by \"number\" lines\n"
" -left: scroll the /list buffer by \"percent\" of width on the left\n"
" -right: scroll the /list buffer by \"percent\" of width on the right\n"
" -go: select a line by number, first line number is 0 (\"end\" to select "
"the last line)\n"
" -join: join the channel on the selected line\n"
"\n"
"Keys and input on /list buffer:\n"
" up move one line up\n"
" down move one line down\n"
" pgup move one page up\n"
" pgdn move one page down\n"
" alt-home << move to first line\n"
" alt-end >> move to last line\n"
" F11 < scroll horizontally on the left\n"
" F12 > scroll horizontally on the right\n"
" * show all channels (no filter)\n"
" xxx show only channels with \"xxx\" in name or topic "
"(case insensitive)\n"
" n:xxx show only channels with \"xxx\" in name (case "
"insensitive)\n"
" t:xxx show only channels with \"xxx\" in topic (case "
"insensitive)\n"
" u:n show only channels with at least \"n\" users\n"
" u:>n show only channels with more than \"n\" users\n"
" u:<n show only channels with less than \"n\" users\n"
" c:xxx show only channels matching the evaluated "
"condition \"xxx\", using following variables: name, name2, users, topic\n"
" ctrl-j j join channel on selected line\n"
" s:x,y sort channels by fields x,y (see below)\n"
" s: reset sort to its default value (see below)\n"
" $ refresh list (run again command /list)\n"
" q close buffer\n"
"\n"
"Sort keys on /list buffer:\n"
" name channel name (eg: \"##test\")\n"
" name2 channel name without prefix (eg: \"test\")\n"
" users number of users on channel\n"
" topic channel topic\n"
"\n"
"Examples:\n"
" list all channels on server and display them in a dedicated buffer (can be "
"slow on large networks):\n"
" list all channels on server (can be very slow on large networks):\n"
" /list\n"
" list channel #weechat:\n"
" /list #weechat\n"
" list all channels beginning with \"#weechat\" (can be very slow on large "
"networks):\n"
" /list -re #weechat.*\n"
" on /list buffer:\n"
" channels with \"weechat\" in name:\n"
" n:weechat\n"
" channels with at least 100 users:\n"
" u:100\n"
" channels with \"freebsd\" (case insensitive) in topic and more than 10 "
"users:\n"
" c:${topic} =- freebsd && ${users} > 10\n"
" sort channels by users (big channels first), then name2 (name without "
"prefix):\n"
" s:-users,name2"
" /list -re #weechat.*"
msgstr ""
" server: 宛先サーバ (内部名)\n"
" regex: 結果をフィルタする POSIX 拡張正規表現 (大文字小文字は区別しな"
"い、\"(?-i)\" で始めれば区別する)\n"
"channel: リストアップするチャンネル名\n"
" server: サーバ名\n"
"\n"
"例:\n"
" サーバ上の全てのチャンネルをリストアップ (大きなネットワークでは非常に遅"
"い):\n"
" /list\n"
" #weechat チャンネルをリストアップ:\n"
" /list #weechat\n"
" \"#weechat\" で始まる全てのチャンネルをリストアップ (大きなネットワークでは"
"非常に遅い):\n"
" /list -re #weechat.*"
msgid "get statistics about the size of the IRC network"
msgstr "IRC ネットワークのサイズに関する統計を入手"
@@ -10128,22 +10073,12 @@ msgid ""
"ctcp.%s\" will not work"
msgstr ""
#, fuzzy
#| msgid ""
#| "format for CTCP reply or empty string for blocking CTCP (no reply), "
#| "following variables are replaced: $version (WeeChat version), "
#| "$compilation (compilation date), $osinfo (info about OS), $site (WeeChat "
#| "site), $download (WeeChat site, download page), $time (current date and "
#| "time as text), $username (username on server), $realname (realname on "
#| "server)"
msgid ""
"format for CTCP reply or empty string for blocking CTCP (no reply); content "
"is evaluated, see /help eval; following variables are replaced: "
"${clientinfo}: list of supported CTCP, ${version}: WeeChat version, ${git}: "
"Git version, ${versiongit}: WeeChat version and Git version, ${compilation}: "
"compilation date, ${osinfo}: info about OS, ${site}: WeeChat site, "
"${download}: WeeChat site, download page, ${time}: current date and time as "
"text, ${username}: username on server, ${realname}: realname on server"
"format for CTCP reply or empty string for blocking CTCP (no reply), "
"following variables are replaced: $version (WeeChat version), $compilation "
"(compilation date), $osinfo (info about OS), $site (WeeChat site), $download "
"(WeeChat site, download page), $time (current date and time as text), "
"$username (username on server), $realname (realname on server)"
msgstr ""
"CTCP リプライを設定したり CTCP をブロックする (返信しない) ための空文字列を指"
"定する、以下の変数は置換されます: $version (WeeChat バージョ"
@@ -10578,11 +10513,6 @@ msgstr "%s%s: サーバオプション \"%s\" 作成中にエラー"
msgid "IRC option renamed: \"irc.%s.%s\" => \"irc.%s.%s\""
msgstr ""
#, fuzzy, c-format
#| msgid "Command for key: \"%s\""
msgid "IRC CTCP format converted for \"%s\": \"%s\" => \"%s\""
msgstr "キーに対するコマンド: \"%s\""
msgid ""
"open channel buffer before the JOIN is received from server when it is auto "
"joined (with server option \"autojoin\"); this is useful to open channels "
@@ -10799,34 +10729,6 @@ msgstr ""
"る; 例: \"/join weechat\" とした場合、実際に送信されるコマンドは \"/join "
"#weechat\" になります"
#, fuzzy
#| msgid "left/right scroll in fset buffer (percent of width)"
msgid "left/right scroll in /list buffer (percent of width)"
msgstr "fset バッファの左右スクロール量 (横幅の割合)"
#, fuzzy
#| msgid ""
#| "comma-separated list of fields to sort options (see /help fset for a list "
#| "of fields); char \"-\" can be used before field to reverse order, char "
#| "\"~\" can be used to do a case insensitive comparison; example: \"-"
#| "~name\" for case insensitive and reverse sort on option name"
msgid ""
"comma-separated list of fields to sort channels (see /help list for a list "
"of fields); char \"-\" can be used before field to reverse order, char \"~\" "
"can be used to do a case insensitive comparison; example: \"-count,~name\" "
"for biggest channels first then case insensitive sort on name"
msgstr ""
"ソートオプションのコンマ区切りリスト (フィールドのリストは /help fset を参照"
"してください); フィールドの先頭に \"-\" 文字を付けることでソート順を逆にする"
"ことも可能です。大文字小文字を区別せずに比較を行うには \"~\" 文字を使います; "
"例: \"-~name\" オプション名を基準に大文字小文字を区別せずにソートして、順番を"
"逆にします"
#, fuzzy
#| msgid "text color in script buffer"
msgid "strip channel topic colors in /list buffer"
msgstr "スクリプトバッファのテキスト色"
msgid ""
"default target buffer for msgbuffer options when target is private and that "
"private buffer is not found"
@@ -10843,20 +10745,6 @@ msgstr ""
"後ろのバッファ)、next = 現在のバッファ番号 + 1、near_server = サーバの一番後"
"ろのチャンネル/プライベートバッファ)"
#, fuzzy
#| 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)"
msgid ""
"force position of new /list buffer in list of buffers (none = default "
"position (should be last buffer), next = current buffer + 1, near_server = "
"after last channel/pv of server)"
msgstr ""
"バッファリスト内で新しいプライベートバッファの位置を固定 (none = デフォルトの"
"位置 (一番後ろのバッファ)、next = 現在のバッファ番号 + 1、near_server = サー"
"バの一番後ろのチャンネル/プライベートバッファ)"
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 "
@@ -10944,6 +10832,10 @@ msgstr ""
"よって表示されたメッセージに使われたタグのコンマ区切りリスト、例: "
"\"notify_message\"、\"notify_private\"、\"notify_highlight\""
msgid ""
"open a private buffer on self message when capability echo-message is enabled"
msgstr ""
msgid "close buffer when /part is issued on a channel"
msgstr "/part を実行した場合にバッファを閉じる"
@@ -11094,16 +10986,6 @@ msgstr "\"input_prompt\" バー要素内のニックネームモードに付け
msgid "color for higher supported TLS version in bar item \"tls_version\""
msgstr "\"input_prompt\" バー要素内のニックネームモードに付ける色"
#, fuzzy
#| msgid "text color for selected line in script buffer"
msgid "color for selected line on /list buffer"
msgstr "スクリプトバッファ内の選択行のテキスト色"
#, fuzzy
#| msgid "background color for selected line in script buffer"
msgid "background color for selected line on /list buffer"
msgstr "スクリプトバッファ内の選択行の背景色"
#, fuzzy
msgid "color for text in account messages"
msgstr "参加メッセージの色"
@@ -11537,12 +11419,6 @@ msgstr "irc サーバ"
msgid "irc batch"
msgstr "irc チャンネル"
msgid "irc channel on /list buffer"
msgstr ""
msgid "irc data for /list buffer"
msgstr ""
#, c-format
msgid "%sCTCP query to %s%s%s: %s%s%s%s%s"
msgstr "%s%s%s%s への CTCP クエリ: %s%s%s%s%s"
@@ -11555,17 +11431,6 @@ msgstr "%s%s: サーバに接続していません"
msgid "%s%s: this buffer is not a channel!"
msgstr "%s%s: このバッファはチャンネルではありません"
#, c-format
msgid ""
"%d channels (total: %d) | Filter: %s | Sort: %s | Key(input): ctrl+j=join "
"channel, ($)=refresh, (q)=close buffer"
msgstr ""
#, fuzzy, c-format
#| msgid "%s%s: error in function \"%s\""
msgid "%s%s: error in redirection of /list: %s"
msgstr "%s%s: 関数 \"%s\" にエラー"
#, c-format
msgid "%s%s: cannot allocate new modelist"
msgstr "%s%s: 新しいモードリストの割り当てに失敗"
@@ -12975,13 +12840,6 @@ msgid ""
"by the user (option \"-s\" or \"--no-script\")"
msgstr ""
msgid "buffer pointer"
msgstr "バッファポインタ"
#, fuzzy
msgid "buffer full name"
msgstr "ファイルにバッファログを保存"
msgid "terminal charset"
msgstr "端末の文字セット"
@@ -13139,6 +12997,9 @@ msgstr "バッファ名 (ワイルドカード \"*\" を使うことができま
msgid "lines of a buffer"
msgstr "バッファの行数"
msgid "buffer pointer"
msgstr "バッファポインタ"
msgid "list of filters"
msgstr "フィルタのリスト"
@@ -14315,6 +14176,10 @@ msgstr "%s: スクリプト \"%s\" はロードされていません"
msgid "%s: script \"%s\" not found"
msgstr "%s: スクリプト \"%s\" が見つかりません"
#, c-format
msgid "%s: script \"%s\" is not installed"
msgstr "%s: スクリプト \"%s\" はインストールされていません"
#, c-format
msgid "%s: autoload enabled for script \"%s\""
msgstr "%s: スクリプト \"%s\" の自動ロードが有効化されました"
@@ -14338,10 +14203,6 @@ msgstr ""
msgid "%s: downloading script \"%s\"..."
msgstr "%s: スクリプト \"%s\" のダウンロード中..."
#, c-format
msgid "%s: script \"%s\" is not installed"
msgstr "%s: スクリプト \"%s\" はインストールされていません"
#, c-format
msgid "%s: script \"%s\" is held"
msgstr "%s: スクリプト \"%s\" はホールド状態です"
@@ -14480,7 +14341,7 @@ msgid ""
"list [-o|-ol|-i|-il] || search <text> || show <script> || load|unload|reload "
"<script> [<script>...] || autoload|noautoload|toggleautoload <script> "
"[<script>...] || install|remove|installremove|hold [-q] <script> "
"[<script>...] || upgrade || update || up|down [<number>] || go <line>|end"
"[<script>...] || upgrade || update"
msgstr ""
"list [-o|-i] || search <text> || show <script> || load|unload|reload "
"<script> [<script>...] || autoload|noautoload|toggleautoload <script> "
@@ -14515,10 +14376,6 @@ msgid ""
" upgrade: upgrade all installed scripts which are obsolete (new "
"version available)\n"
" update: update local scripts cache\n"
" up: move the selected line up by \"number\" lines\n"
" down: move the selected line down by \"number\" lines\n"
" go: select a line by number, first line number is 0 (\"end\" to "
"select the last line)\n"
"\n"
"Without argument, this command opens a buffer with list of scripts.\n"
"\n"
@@ -15238,24 +15095,6 @@ msgstr "%s%s%s: %s %s[%s%s]%s"
msgid "No trigger defined"
msgstr "トリガは定義されていません"
#, fuzzy
#| msgid "Triggers enabled"
msgid "Triggers enabled:"
msgstr "トリガが有効化されました"
#, fuzzy
#| msgid "default: "
msgid "default"
msgstr "デフォルト: "
msgid "custom"
msgstr ""
#, fuzzy
#| msgid "Triggers enabled"
msgid "No triggers enabled"
msgstr "トリガが有効化されました"
msgid "List of default triggers:"
msgstr "デフォルトトリガのリスト:"
@@ -15402,18 +15241,8 @@ msgstr ""
msgid "manage triggers, the Swiss Army knife for WeeChat"
msgstr "トリガ (WeeChat 用のスイスアーミーナイフ) の管理"
#, fuzzy
#| msgid ""
#| "list|listfull|listdefault || add|addoff|addreplace <name> <hook> "
#| "[\"<arguments>\" [\"<conditions>\" [\"<regex>\" [\"<command>\" [\"<return_code>\" [\"<post_action>\"]]]]]] "
#| "|| addinput [<hook>] || input|output|recreate <name> || set <name> "
#| "<option> <value> || rename|copy <name> <new_name> || enable|disable|"
#| "toggle [<name>|-all [<name>...]] || restart <name>|-all [<name>...] || "
#| "show <name> || del <name>|-all [<name>...] || restore <name> [<name>...] "
#| "|| default -yes || monitor [<filter>]"
msgid ""
"list [-o|-ol|-i|-il] || listfull || listdefault || add|addoff|addreplace "
"<name> <hook> "
"list|listfull|listdefault || add|addoff|addreplace <name> <hook> "
"[\"<arguments>\" [\"<conditions>\" [\"<regex>\" [\"<command>\" [\"<return_code>\" [\"<post_action>\"]]]]]] "
"|| addinput [<hook>] || input|output|recreate <name> || set <name> <option> "
"<value> || rename|copy <name> <new_name> || enable|disable|toggle [<name>|-"
@@ -15432,12 +15261,6 @@ msgstr ""
#, fuzzy
msgid ""
" list: list triggers (without argument, this list is displayed)\n"
" -o: send list of triggers enabled to buffer (string in English)\n"
" -ol: send list of triggers enabled to buffer (translated string)\n"
" -i: copy list of triggers enabled in command line (for sending to "
"buffer) (string in English)\n"
" -il: copy list of triggers enabled in command line (for sending to "
"buffer) (translated string)\n"
" listfull: list triggers with detailed info for each trigger\n"
"listdefault: list default triggers\n"
" add: add a trigger\n"
@@ -16252,45 +16075,3 @@ msgstr "%s%s: \"%s\" のタイムアウト %s"
#, c-format
msgid "%s%s: unable to connect: unexpected error (%d)"
msgstr "%s%s: 接続できません: 未定義のエラー (%d)"
#, fuzzy
#~| msgid "color for section"
#~ msgid "color for selected line"
#~ msgstr "セクション名のテキスト色"
#, fuzzy
#~| msgid "background color for selected line in script buffer"
#~ msgid "background color for selected line"
#~ msgstr "スクリプトバッファ内の選択行の背景色"
#~ msgid ""
#~ " server: send to this server (internal name)\n"
#~ " regex: POSIX extended regular expression used to filter results (case "
#~ "insensitive, can start by \"(?-i)\" to become case sensitive)\n"
#~ "channel: channel to list\n"
#~ " target: server name\n"
#~ "\n"
#~ "Examples:\n"
#~ " list all channels on server (can be very slow on large networks):\n"
#~ " /list\n"
#~ " list channel #weechat:\n"
#~ " /list #weechat\n"
#~ " list all channels beginning with \"#weechat\" (can be very slow on "
#~ "large networks):\n"
#~ " /list -re #weechat.*"
#~ msgstr ""
#~ " server: 宛先サーバ (内部名)\n"
#~ " regex: 結果をフィルタする POSIX 拡張正規表現 (大文字小文字は区別しな"
#~ "い、\"(?-i)\" で始めれば区別する)\n"
#~ "channel: リストアップするチャンネル名\n"
#~ " server: サーバ名\n"
#~ "\n"
#~ "例:\n"
#~ " サーバ上の全てのチャンネルをリストアップ (大きなネットワークでは非常に遅"
#~ "い):\n"
#~ " /list\n"
#~ " #weechat チャンネルをリストアップ:\n"
#~ " /list #weechat\n"
#~ " \"#weechat\" で始まる全てのチャンネルをリストアップ (大きなネットワーク"
#~ "では非常に遅い):\n"
#~ " /list -re #weechat.*"
+108 -640
View File
File diff suppressed because it is too large Load Diff
+108 -305
View File
@@ -20,8 +20,8 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2023-08-22 09:26+0200\n"
"PO-Revision-Date: 2023-06-26 21:34+0200\n"
"POT-Creation-Date: 2023-10-30 23:09+0100\n"
"PO-Revision-Date: 2023-06-17 11:47+0200\n"
"Last-Translator: Vasco Almeida <vascomalmeida@sapo.pt>\n"
"Language-Team: Portuguese <>\n"
"Language: pt\n"
@@ -506,12 +506,12 @@ msgstr "(indefinido)"
msgid "current value"
msgstr "valor atual"
msgid "integer"
msgstr "inteiro"
msgid "string"
msgstr "cadeia"
msgid "integer"
msgstr "inteiro"
msgid "any string"
msgstr "qualquer cadeia"
@@ -524,9 +524,6 @@ msgstr "carateres max"
msgid "color"
msgstr "cor"
msgid "enum"
msgstr ""
#. TRANSLATORS: please do not translate "(null)"
msgid "undefined value allowed (null)"
msgstr "valor indefinido permitido (null)"
@@ -1512,15 +1509,9 @@ msgstr ""
"movimentar o cursor livremente no ecrã para executar ações em áreas "
"específicas"
#, fuzzy
#| msgid ""
#| "go chat|<bar>|<x>,<y> || move up|down|left|right|area_up|area_down|"
#| "area_left|area_right || stop"
msgid ""
"go chat|<bar> [top_left|top_right|bottom_left|bottom_right] || go <x>,<y> || "
"move up|down|left|right|top_left|top_right|bottom_left|bottom_right|edge_top|"
"edge_bottom|edge_left|edge_right|area_up|area_down|area_left|area_right || "
"stop"
"go chat|<bar>|<x>,<y> || move up|down|left|right|area_up|area_down|area_left|"
"area_right || stop"
msgstr ""
"go chat|<barra>|<x>,<y> || move up|down|left|right|area_up|area_down|"
"area_left|area_right || stop"
@@ -1555,8 +1546,6 @@ msgid ""
" enter exit cursor mode\n"
"\n"
"Examples:\n"
" go to the bottom left corner of chat area:\n"
" /cursor go chat bottom_left\n"
" go to nicklist:\n"
" /cursor go nicklist\n"
" go to coordinates x=10, y=5:\n"
@@ -5335,6 +5324,22 @@ msgstr "%sErro: não é possível criar o ficheiro \"%s\""
msgid "%sError writing configuration file \"%s\""
msgstr "%sErro ao escrever o ficheiro de configuração \"%s\""
#, fuzzy, c-format
#| msgid "%s: server %s%s%s has been copied to %s%s%s"
msgid "%sFile %s has been backed up as %s"
msgstr "%s: o servidor %s%s%s foi copiado para %s%s%s"
#, fuzzy, c-format
#| msgid "%s%s: unable to load file \"%s\""
msgid "%sError: unable to backup file %s"
msgstr "%s%s: não foi possível carregar o ficheiro \"%s\""
#, c-format
msgid ""
"%sImportant: file %s has been updated from version %d to %d, it is not "
"compatible and can not be loaded any more with any older version"
msgstr ""
#, c-format
msgid "%sWARNING: failed to read configuration file \"%s\" (%s)"
msgstr "%sAVISO: falha ao ler o ficheiro de configuração \"%s\" (%s)"
@@ -5356,9 +5361,8 @@ msgstr "A ler o ficheiro de configuração %s"
msgid "%sWarning: %s, line %d: invalid syntax, missing \"]\""
msgstr "%sAviso: %s, linha %d: sintaxe inválida, falta ']'"
#, fuzzy, c-format
#| msgid "%sWarning: %s, line %d: unknown section identifier (\"%s\")"
msgid "%sWarning: %s, line %d: ignoring unknown section identifier (\"%s\")"
#, c-format
msgid "%sWarning: %s, line %d: unknown section identifier (\"%s\")"
msgstr "%sAviso: %s, linha %d: identificador de secção desconhecido (\"%s\")"
#, c-format
@@ -5373,21 +5377,16 @@ msgid ""
"of file is IGNORED, default options are used"
msgstr ""
#, fuzzy, c-format
#| msgid "%sWarning: %s, line %d: option outside section: %s"
msgid "%sWarning: %s, line %d: ignoring option outside section: %s"
#, c-format
msgid "%sWarning: %s, line %d: option outside section: %s"
msgstr "%sAviso: %s, linha %d: opção fora de secção: %s"
#, fuzzy, c-format
#| msgid "%sWarning: %s, line %d: unknown option for section \"%s\": %s"
msgid "%sWarning: %s, line %d: ignoring unknown option for section \"%s\": %s"
#, c-format
msgid "%sWarning: %s, line %d: unknown option for section \"%s\": %s"
msgstr "%sAviso: %s, linha %d: opção desconhecida na secção \"%s\": %s"
#, fuzzy, c-format
#| msgid "%sWarning: %s, line %d: invalid value for option: %s"
msgid ""
"%sWarning: %s, line %d: ignoring invalid value for option in section \"%s\": "
"%s"
#, c-format
msgid "%sWarning: %s, line %d: invalid value for option: %s"
msgstr "%sAviso: %s, linha %d: valor inválido na opção: %s"
#, c-format
@@ -5438,6 +5437,11 @@ msgid ""
"Error: unable to create a temporary home directory (using template: \"%s\")\n"
msgstr "%s%s: não foi possível criar diretório para registos (\"%s\")"
#, fuzzy
#| msgid "Environment variable \"%s\" is not defined"
msgid "Error: environment variable \"HOME\" is not defined\n"
msgstr "A variável de ambiente \"%s\" não está definida"
#, fuzzy, c-format
msgid "Error: \"%s\" is not a directory\n"
msgstr "Erro: a base (%s) não é um diretório\n"
@@ -6406,7 +6410,7 @@ msgid ""
"10 and 99 buffers\n"
" - ${number_displayed}: \"1\" if the number is displayed, otherwise "
"\"0\"\n"
" - ${indent}: indentation for name (channel, private and list buffers are "
" - ${indent}: indentation for name (channel and private buffers are "
"indented) (evaluation of option buflist.format.indent)\n"
" - ${format_nick_prefix}: colored nick prefix for a channel (evaluation "
"of option buflist.format.nick_prefix)\n"
@@ -6512,8 +6516,8 @@ msgstr ""
msgid ""
"number of buflist bar items that can be used; the item names are: "
"\"buflist\", \"buflist2\", \"buflist3\", \"buflist4\" and \"buflist5\"; be "
"careful, using more than one bar item slows down the display of buffers list"
"\"buflist\", \"buflist2\", \"buflist3\"; be careful, using more than one bar "
"item slows down the display of buffers list"
msgstr ""
msgid ""
@@ -6585,8 +6589,8 @@ msgstr ""
#, fuzzy
msgid ""
"string displayed to indent channel, private and list buffers (note: content "
"is evaluated, see /help buflist)"
"string displayed to indent channel and private buffers (note: content is "
"evaluated, see /help buflist)"
msgstr ""
"nome real a usar no servidor (nota: o conteúdo é avaliado, ver /help eval)"
@@ -7096,7 +7100,7 @@ msgstr "valores"
#. TRANSLATORS: "%s%s%s:" at beginning of string it the name of option
#, fuzzy, c-format
msgid "%s%s%s: %s%s%s %s[%s%s]%s"
msgid "%s%s%s: %s %s[%s%s]%s"
msgstr "%sNicks %s%s%s: %s[%s%s%s]"
#, fuzzy
@@ -7143,9 +7147,9 @@ msgid ""
" -go: select a line by number, first line number is 0 (\"end\" to "
"select the last line)\n"
" -toggle: toggle the boolean value\n"
" -add: add \"value\" (which can be a negative number) for integers, "
"colors and enums, set/append to value for other types (set for a negative "
"value, append for a positive value)\n"
" -add: add \"value\" (which can be a negative number) for integers and "
"colors, set/append to value for other types (set for a negative value, "
"append for a positive value)\n"
" -reset: reset the value of option\n"
" -unset: unset the option\n"
" -set: add the /set command in input to edit the value of option (move "
@@ -7167,8 +7171,7 @@ msgid ""
" * show all options (no filter)\n"
" xxx show only options with \"xxx\" in name\n"
" f:xxx show only configuration file \"xxx\"\n"
" t:xxx show only type \"xxx\" (bool/int/str/col/enum or "
"boolean/integer/string/color/enum)\n"
" t:xxx show only type \"xxx\" (bool/int/str/col)\n"
" d show only changed options\n"
" d:xxx show only changed options with \"xxx\" in name\n"
" d=xxx show only changed options with \"xxx\" in value\n"
@@ -7181,11 +7184,10 @@ msgid ""
" ==xxx show only options with exact value \"xxx\"\n"
" c:xxx show only options matching the evaluated condition "
"\"xxx\", using following variables: file, section, option, name, "
"parent_name, type, type_en, type_short (bool/int/str/col/enum), type_tiny (b/"
"i/s/c/e), default_value, default_value_undef, value, quoted_value, "
"value_undef, value_changed, parent_value, min, max, description, "
"description2, description_en, description_en2, string_values, "
"allowed_values\n"
"parent_name, type, type_en, type_short (bool/int/str/col), type_tiny (b/i/s/"
"c), default_value, default_value_undef, value, quoted_value, value_undef, "
"value_changed, parent_value, min, max, description, description2, "
"description_en, description_en2, string_values\n"
"\n"
"The lines with options are displayed using string evaluation (see /help eval "
"for the format), with these options:\n"
@@ -7201,8 +7203,8 @@ msgid ""
" - ${parent_name}: parent option name\n"
" - ${type}: option type (translated)\n"
" - ${type_en}: option type (in English)\n"
" - ${type_short}: short option type (bool/int/str/col/enum)\n"
" - ${type_tiny}: tiny option type (b/i/s/c/e)\n"
" - ${type_short}: short option type (bool/int/str/col)\n"
" - ${type_tiny}: tiny option type (b/i/s/c)\n"
" - ${default_value}: option default value\n"
" - ${default_value_undef}: \"1\" if default value is null, otherwise "
"\"0\"\n"
@@ -7220,8 +7222,8 @@ msgid ""
" - ${description_en}: option description (in English)\n"
" - ${description_en2}: option description (in English), \"(no "
"description)\" if there's no description\n"
" - ${string_values}: string values allowed for set of an enum option\n"
" - ${allowed_values}: allowed values\n"
" - ${string_values}: string values allowed for set of an integer option "
"using strings\n"
" - ${marked}: \"1\" if option is marked, otherwise \"0\"\n"
" - ${index}: index of option in list\n"
" - option data, with color but no spaces:\n"
@@ -7250,9 +7252,9 @@ msgid ""
"\n"
"Keys and input to set options on fset buffer:\n"
" alt+space t toggle boolean value\n"
" alt+'-' - subtract 1 from value for integer/color/enum, "
"set value for other types\n"
" alt+'+' + add 1 to value for integer/color/enum, append to "
" alt+'-' - subtract 1 from value for integer/color, set "
"value for other types\n"
" alt+'+' + add 1 to value for integer/color, append to "
"value for other types\n"
" alt+f, alt+r r reset value\n"
" alt+f, alt+u u unset value\n"
@@ -7276,8 +7278,10 @@ msgid ""
" alt+p p toggle plugin description options (plugins.desc."
"*)\n"
" alt+v v toggle help bar\n"
" s:x,y sort options by fields x,y (see above)\n"
" s: reset sort to its default value (see above)\n"
" s:x,y sort options by fields x,y (see /help fset.look."
"sort)\n"
" s: reset sort to its default value (see /help fset."
"look.sort)\n"
" w:xxx export options in file \"xxx\"\n"
" w-:xxx export options in file \"xxx\" without help\n"
" w+:xxx export options in file \"xxx\" with help\n"
@@ -7289,8 +7293,8 @@ msgid ""
" left button move line here\n"
" right button toggle boolean (on/off) or edit the option "
"value\n"
" right button + drag left/right increase/decrease value for integer/color/"
"enum, set/append to value for other types\n"
" right button + drag left/right increase/decrease value for integer/color, "
"set/append to value for other types\n"
" right button + drag up/down mark/unmark multiple options\n"
"\n"
"Note: if input has one or more leading spaces, the following text is "
@@ -7426,14 +7430,6 @@ msgid ""
"ctrl-x"
msgstr ""
#, fuzzy
msgid "color for allowed values"
msgstr "cor das linhas do registo recente"
#, fuzzy
msgid "color for allowed values on the selected line"
msgstr "cor das linhas do registo recente"
msgid "color for color name when option fset.look.use_color_value is enabled"
msgstr ""
@@ -7494,6 +7490,10 @@ msgstr "cor do nick na barra de entrada"
msgid "color for quotes around string values"
msgstr "cor do texto das mensagens de join"
#, fuzzy
msgid "color for allowed values"
msgstr "cor das linhas do registo recente"
#, fuzzy
msgid "color for index of option"
msgstr "cor do texto da descrição do cliente"
@@ -7703,11 +7703,6 @@ msgstr "nome da opção (o caráter universal \"*\" é permitido) (opcional)"
msgid "fset options"
msgstr "lista de opções"
#, fuzzy
#| msgid "color"
msgid "any color"
msgstr "cor"
#, c-format
msgid "%s%s: script \"%s\" already registered (register ignored)"
msgstr "%s%s: script \"%s\" já registado (registo ignorado)"
@@ -8009,9 +8004,6 @@ msgstr "%s%s: memória insuficiente para a expressão regular"
msgid "%s%s: \"%s\" is not a valid regular expression (%s)"
msgstr "%s%s: \"%s\" não é uma expressão regular válida (%s)"
msgid "Receiving list of channels, please wait..."
msgstr ""
#, c-format
msgid ""
"%s%s: you must specify channel for \"%s\" command if you're not in a channel"
@@ -8466,10 +8458,10 @@ msgid ""
"\n"
"Without argument, \"ls\" and \"list\" are sent.\n"
"\n"
"Capabilities supported by WeeChat are: account-notify, account-tag, away-"
"notify, batch, cap-notify, chghost, draft/multiline, echo-message, extended-"
"join, invite-notify, message-tags, multi-prefix, server-time, setname, "
"userhost-in-names.\n"
"Capabilities supported by WeeChat are: account-notify, away-notify, batch, "
"cap-notify, chghost, draft/multiline, echo-message, extended-join, invite-"
"notify, message-tags, multi-prefix, server-time, setname, userhost-in-"
"names.\n"
"\n"
"The capabilities to automatically enable on servers can be set in option irc."
"server_default.capabilities (or by server in option irc.server.xxx."
@@ -8924,81 +8916,43 @@ msgid "list channels and their topics"
msgstr "listar canais e respetivos tópicos"
#, fuzzy
msgid ""
"[-server <server>] [-re <regex>] [<channel>[,<channel>...]] [<target>] || -"
"up|-down [<number>] || -left|-right [<percent>] || -go <line>|end || -join"
msgid "[-server <server>] [-re <regex>] [<channel>[,<channel>...]] [<target>]"
msgstr ""
"[-noswitch] [-server <servidor>] [<canal1>[,<canal2>...]] [<chave1>[,"
"<chave2>...]]"
#, fuzzy
msgid ""
" server: send to this server (internal name)\n"
" regex: POSIX extended regular expression used to filter results (case "
"insensitive, can start by \"(?-i)\" to become case sensitive)\n"
"channel: channel to list\n"
" target: server name\n"
" -up: move the selected line up by \"number\" lines\n"
" -down: move the selected line down by \"number\" lines\n"
" -left: scroll the /list buffer by \"percent\" of width on the left\n"
" -right: scroll the /list buffer by \"percent\" of width on the right\n"
" -go: select a line by number, first line number is 0 (\"end\" to select "
"the last line)\n"
" -join: join the channel on the selected line\n"
"\n"
"Keys and input on /list buffer:\n"
" up move one line up\n"
" down move one line down\n"
" pgup move one page up\n"
" pgdn move one page down\n"
" alt-home << move to first line\n"
" alt-end >> move to last line\n"
" F11 < scroll horizontally on the left\n"
" F12 > scroll horizontally on the right\n"
" * show all channels (no filter)\n"
" xxx show only channels with \"xxx\" in name or topic "
"(case insensitive)\n"
" n:xxx show only channels with \"xxx\" in name (case "
"insensitive)\n"
" t:xxx show only channels with \"xxx\" in topic (case "
"insensitive)\n"
" u:n show only channels with at least \"n\" users\n"
" u:>n show only channels with more than \"n\" users\n"
" u:<n show only channels with less than \"n\" users\n"
" c:xxx show only channels matching the evaluated "
"condition \"xxx\", using following variables: name, name2, users, topic\n"
" ctrl-j j join channel on selected line\n"
" s:x,y sort channels by fields x,y (see below)\n"
" s: reset sort to its default value (see below)\n"
" $ refresh list (run again command /list)\n"
" q close buffer\n"
"\n"
"Sort keys on /list buffer:\n"
" name channel name (eg: \"##test\")\n"
" name2 channel name without prefix (eg: \"test\")\n"
" users number of users on channel\n"
" topic channel topic\n"
"\n"
"Examples:\n"
" list all channels on server and display them in a dedicated buffer (can be "
"slow on large networks):\n"
" list all channels on server (can be very slow on large networks):\n"
" /list\n"
" list channel #weechat:\n"
" /list #weechat\n"
" list all channels beginning with \"#weechat\" (can be very slow on large "
"networks):\n"
" /list -re #weechat.*\n"
" on /list buffer:\n"
" channels with \"weechat\" in name:\n"
" n:weechat\n"
" channels with at least 100 users:\n"
" u:100\n"
" channels with \"freebsd\" (case insensitive) in topic and more than 10 "
"users:\n"
" c:${topic} =- freebsd && ${users} > 10\n"
" sort channels by users (big channels first), then name2 (name without "
"prefix):\n"
" s:-users,name2"
" /list -re #weechat.*"
msgstr ""
" canal: canal a listar\n"
"servidor: nome do servidor\n"
" regex: expressão regular POSIX estendida usada para filtrar os resultados "
"(não distingue maiúscula e minúsculas, pode começar por \"(?-i)\" para "
"distinguir)\n"
"\n"
"Exemplos:\n"
" listar todos os canais no servidor (pode ser muito lento em redes "
"grandes):\n"
" /list\n"
" listar o canal #weechat:\n"
" /list #weechat\n"
" listar todos os canais começados por \"#weechat\" (pode ser muito lento em "
"redes grandes):\n"
" /list -re #weechat.*"
msgid "get statistics about the size of the IRC network"
msgstr "obter estatísticas sobre o tamanho da rede IRC"
@@ -9891,22 +9845,12 @@ msgid ""
"ctcp.%s\" will not work"
msgstr ""
#, fuzzy
#| msgid ""
#| "format for CTCP reply or empty string for blocking CTCP (no reply), "
#| "following variables are replaced: $version (WeeChat version), "
#| "$compilation (compilation date), $osinfo (info about OS), $site (WeeChat "
#| "site), $download (WeeChat site, download page), $time (current date and "
#| "time as text), $username (username on server), $realname (realname on "
#| "server)"
msgid ""
"format for CTCP reply or empty string for blocking CTCP (no reply); content "
"is evaluated, see /help eval; following variables are replaced: "
"${clientinfo}: list of supported CTCP, ${version}: WeeChat version, ${git}: "
"Git version, ${versiongit}: WeeChat version and Git version, ${compilation}: "
"compilation date, ${osinfo}: info about OS, ${site}: WeeChat site, "
"${download}: WeeChat site, download page, ${time}: current date and time as "
"text, ${username}: username on server, ${realname}: realname on server"
"format for CTCP reply or empty string for blocking CTCP (no reply), "
"following variables are replaced: $version (WeeChat version), $compilation "
"(compilation date), $osinfo (info about OS), $site (WeeChat site), $download "
"(WeeChat site, download page), $time (current date and time as text), "
"$username (username on server), $realname (realname on server)"
msgstr ""
"formato da resposta CTCP ou cadeia vazia para bloquear CTCP (não responder), "
"as seguintes variáveis são substituídas: $version (versão do WeeChat), "
@@ -10329,11 +10273,6 @@ msgstr "%s%s: erro ao cria a opção de servidor \"%s\""
msgid "IRC option renamed: \"irc.%s.%s\" => \"irc.%s.%s\""
msgstr ""
#, fuzzy, c-format
#| msgid "Command for key: \"%s\""
msgid "IRC CTCP format converted for \"%s\": \"%s\" => \"%s\""
msgstr "Comando para a tecla: \"%s\""
msgid ""
"open channel buffer before the JOIN is received from server when it is auto "
"joined (with server option \"autojoin\"); this is useful to open channels "
@@ -10555,21 +10494,6 @@ msgstr ""
"comando /join se o nome do canal não começar por um tipo de canal válido do "
"servidor; por exemplo: \"/join weechat\" enviará de facto: \"/join #weechat\""
msgid "left/right scroll in /list buffer (percent of width)"
msgstr ""
msgid ""
"comma-separated list of fields to sort channels (see /help list for a list "
"of fields); char \"-\" can be used before field to reverse order, char \"~\" "
"can be used to do a case insensitive comparison; example: \"-count,~name\" "
"for biggest channels first then case insensitive sort on name"
msgstr ""
#, fuzzy
#| msgid "text color in script buffer"
msgid "strip channel topic colors in /list buffer"
msgstr "cor do texto no buffer de scripts"
msgid ""
"default target buffer for msgbuffer options when target is private and that "
"private buffer is not found"
@@ -10586,20 +10510,6 @@ msgstr ""
"predefinida (deverá ser o último buffer), next = buffer atual + 1, "
"near_server = depois do último canal/pvt do servidor)"
#, fuzzy
#| 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)"
msgid ""
"force position of new /list buffer in list of buffers (none = default "
"position (should be last buffer), next = current buffer + 1, near_server = "
"after last channel/pv of server)"
msgstr ""
"forçar a posição do novo privado na lista de buffers (none = posição "
"predefinida (deverá ser o último buffer), next = buffer atual + 1, "
"near_server = depois do último canal/pvt do servidor)"
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 "
@@ -10689,6 +10599,10 @@ msgstr ""
"whois), por exemplo: \"notify_message\", \"notify_private\" ou "
"\"notify_highlight\""
msgid ""
"open a private buffer on self message when capability echo-message is enabled"
msgstr ""
msgid "close buffer when /part is issued on a channel"
msgstr "fechar o buffer ao executar /part num canal"
@@ -10837,16 +10751,6 @@ msgstr "cor dos modos de nick no item de barra \"input_prompt\""
msgid "color for higher supported TLS version in bar item \"tls_version\""
msgstr "cor dos modos de nick no item de barra \"input_prompt\""
#, fuzzy
#| msgid "text color for selected line in script buffer"
msgid "color for selected line on /list buffer"
msgstr "cor do texto da linha selecionada no buffer de scripts"
#, fuzzy
#| msgid "background color for selected line in script buffer"
msgid "background color for selected line on /list buffer"
msgstr "cor de fundo da linha selecionada no buffer de scripts"
#, fuzzy
msgid "color for text in account messages"
msgstr "cor do texto das mensagens de join"
@@ -11295,12 +11199,6 @@ msgstr "servidor de irc"
msgid "irc batch"
msgstr "canal de irc"
msgid "irc channel on /list buffer"
msgstr ""
msgid "irc data for /list buffer"
msgstr ""
#, c-format
msgid "%sCTCP query to %s%s%s: %s%s%s%s%s"
msgstr "%sconsulta CTCP a %s%s%s: %s%s%s%s%s"
@@ -11313,17 +11211,6 @@ msgstr "%s%s: não está conectado ao servidor"
msgid "%s%s: this buffer is not a channel!"
msgstr "%s%s: este buffer não é um canal!"
#, c-format
msgid ""
"%d channels (total: %d) | Filter: %s | Sort: %s | Key(input): ctrl+j=join "
"channel, ($)=refresh, (q)=close buffer"
msgstr ""
#, fuzzy, c-format
#| msgid "%s%s: error in function \"%s\""
msgid "%s%s: error in redirection of /list: %s"
msgstr "%s%s: erro na função \"%s\""
#, fuzzy, c-format
msgid "%s%s: cannot allocate new modelist"
msgstr "%s%s: não é possível alocar novo canal"
@@ -12721,13 +12608,6 @@ msgid ""
"by the user (option \"-s\" or \"--no-script\")"
msgstr ""
msgid "buffer pointer"
msgstr "ponteiro para o buffer"
#, fuzzy
msgid "buffer full name"
msgstr "Registar buffers em ficheiros"
msgid "terminal charset"
msgstr "charset do termianl"
@@ -12881,6 +12761,9 @@ msgstr "nome do buffer (o caráter universal \"*\" é permitido) (opcional)"
msgid "lines of a buffer"
msgstr "linhas de um buffer"
msgid "buffer pointer"
msgstr "ponteiro para o buffer"
msgid "list of filters"
msgstr "lista de filtros"
@@ -14034,6 +13917,10 @@ msgstr "%s: o script \"%s\" não está carregado"
msgid "%s: script \"%s\" not found"
msgstr "%s: script \"%s\" não encontrado"
#, c-format
msgid "%s: script \"%s\" is not installed"
msgstr "%s: o script \"%s\" não está instalado"
#, c-format
msgid "%s: autoload enabled for script \"%s\""
msgstr "%s: o carregamento automático do \"%s\" foi ativado"
@@ -14057,10 +13944,6 @@ msgstr ""
msgid "%s: downloading script \"%s\"..."
msgstr "%s: a transferir o script \"%s\"..."
#, c-format
msgid "%s: script \"%s\" is not installed"
msgstr "%s: o script \"%s\" não está instalado"
#, c-format
msgid "%s: script \"%s\" is held"
msgstr "%s: o script \"%s\" está retido"
@@ -14202,7 +14085,7 @@ msgid ""
"list [-o|-ol|-i|-il] || search <text> || show <script> || load|unload|reload "
"<script> [<script>...] || autoload|noautoload|toggleautoload <script> "
"[<script>...] || install|remove|installremove|hold [-q] <script> "
"[<script>...] || upgrade || update || up|down [<number>] || go <line>|end"
"[<script>...] || upgrade || update"
msgstr ""
"list [-o|-i] || search <texto> || show <script> || load|unload|reload "
"<script> [<script>...] || autoload|noautoload|toggleautoload <script> "
@@ -14237,10 +14120,6 @@ msgid ""
" upgrade: upgrade all installed scripts which are obsolete (new "
"version available)\n"
" update: update local scripts cache\n"
" up: move the selected line up by \"number\" lines\n"
" down: move the selected line down by \"number\" lines\n"
" go: select a line by number, first line number is 0 (\"end\" to "
"select the last line)\n"
"\n"
"Without argument, this command opens a buffer with list of scripts.\n"
"\n"
@@ -14966,24 +14845,6 @@ msgstr "%sNicks %s%s%s: %s[%s%s%s]"
msgid "No trigger defined"
msgstr "Nenhum acionador definido"
#, fuzzy
#| msgid "Triggers enabled"
msgid "Triggers enabled:"
msgstr "Acionadores ativado"
#, fuzzy
#| msgid "default: "
msgid "default"
msgstr "predefinição: "
msgid "custom"
msgstr ""
#, fuzzy
#| msgid "Triggers enabled"
msgid "No triggers enabled"
msgstr "Acionadores ativado"
msgid "List of default triggers:"
msgstr "Lista de acionadores predefinidos:"
@@ -15130,18 +14991,8 @@ msgstr ""
msgid "manage triggers, the Swiss Army knife for WeeChat"
msgstr "gerir acionadores, o canivete suíço do WeeChat"
#, fuzzy
#| msgid ""
#| "list|listfull|listdefault || add|addoff|addreplace <name> <hook> "
#| "[\"<arguments>\" [\"<conditions>\" [\"<regex>\" [\"<command>\" [\"<return_code>\" [\"<post_action>\"]]]]]] "
#| "|| addinput [<hook>] || input|output|recreate <name> || set <name> "
#| "<option> <value> || rename|copy <name> <new_name> || enable|disable|"
#| "toggle [<name>|-all [<name>...]] || restart <name>|-all [<name>...] || "
#| "show <name> || del <name>|-all [<name>...] || restore <name> [<name>...] "
#| "|| default -yes || monitor [<filter>]"
msgid ""
"list [-o|-ol|-i|-il] || listfull || listdefault || add|addoff|addreplace "
"<name> <hook> "
"list|listfull|listdefault || add|addoff|addreplace <name> <hook> "
"[\"<arguments>\" [\"<conditions>\" [\"<regex>\" [\"<command>\" [\"<return_code>\" [\"<post_action>\"]]]]]] "
"|| addinput [<hook>] || input|output|recreate <name> || set <name> <option> "
"<value> || rename|copy <name> <new_name> || enable|disable|toggle [<name>|-"
@@ -15160,12 +15011,6 @@ msgstr ""
#, fuzzy
msgid ""
" list: list triggers (without argument, this list is displayed)\n"
" -o: send list of triggers enabled to buffer (string in English)\n"
" -ol: send list of triggers enabled to buffer (translated string)\n"
" -i: copy list of triggers enabled in command line (for sending to "
"buffer) (string in English)\n"
" -il: copy list of triggers enabled in command line (for sending to "
"buffer) (translated string)\n"
" listfull: list triggers with detailed info for each trigger\n"
"listdefault: list default triggers\n"
" add: add a trigger\n"
@@ -15998,45 +15843,3 @@ msgstr "%s%s: tempo limite de \"%s\" com %s"
#, c-format
msgid "%s%s: unable to connect: unexpected error (%d)"
msgstr "%s%s: não foi possível conectar: erro inesperado (%d)"
#, fuzzy
#~ msgid "color for selected line"
#~ msgstr "secção de configuração"
#, fuzzy
#~| msgid "background color for selected line in script buffer"
#~ msgid "background color for selected line"
#~ msgstr "cor de fundo da linha selecionada no buffer de scripts"
#, fuzzy
#~ msgid ""
#~ " server: send to this server (internal name)\n"
#~ " regex: POSIX extended regular expression used to filter results (case "
#~ "insensitive, can start by \"(?-i)\" to become case sensitive)\n"
#~ "channel: channel to list\n"
#~ " target: server name\n"
#~ "\n"
#~ "Examples:\n"
#~ " list all channels on server (can be very slow on large networks):\n"
#~ " /list\n"
#~ " list channel #weechat:\n"
#~ " /list #weechat\n"
#~ " list all channels beginning with \"#weechat\" (can be very slow on "
#~ "large networks):\n"
#~ " /list -re #weechat.*"
#~ msgstr ""
#~ " canal: canal a listar\n"
#~ "servidor: nome do servidor\n"
#~ " regex: expressão regular POSIX estendida usada para filtrar os "
#~ "resultados (não distingue maiúscula e minúsculas, pode começar por \"(?-"
#~ "i)\" para distinguir)\n"
#~ "\n"
#~ "Exemplos:\n"
#~ " listar todos os canais no servidor (pode ser muito lento em redes "
#~ "grandes):\n"
#~ " /list\n"
#~ " listar o canal #weechat:\n"
#~ " /list #weechat\n"
#~ " listar todos os canais começados por \"#weechat\" (pode ser muito lento "
#~ "em redes grandes):\n"
#~ " /list -re #weechat.*"
+91 -257
View File
@@ -21,8 +21,8 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2023-08-22 09:26+0200\n"
"PO-Revision-Date: 2023-06-26 21:34+0200\n"
"POT-Creation-Date: 2023-10-30 23:09+0100\n"
"PO-Revision-Date: 2023-06-17 11:47+0200\n"
"Last-Translator: Érico Nogueira <ericonr@disroot.org>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
"Language: pt_BR\n"
@@ -514,12 +514,12 @@ msgstr "(indefinido)"
msgid "current value"
msgstr "valor atual"
msgid "integer"
msgstr "inteiro"
msgid "string"
msgstr "string"
msgid "integer"
msgstr "inteiro"
msgid "any string"
msgstr "qualquer string"
@@ -532,9 +532,6 @@ msgstr "máximo de caracteres"
msgid "color"
msgstr "cor"
msgid "enum"
msgstr ""
#. TRANSLATORS: please do not translate "(null)"
msgid "undefined value allowed (null)"
msgstr "valor indefinido permitido (null)"
@@ -1468,15 +1465,9 @@ msgstr ""
"da tela"
# Are those weechat commands/options? I don't think they must be translated
#, fuzzy
#| msgid ""
#| "go chat|<bar>|<x>,<y> || move up|down|left|right|area_up|area_down|"
#| "area_left|area_right || stop"
msgid ""
"go chat|<bar> [top_left|top_right|bottom_left|bottom_right] || go <x>,<y> || "
"move up|down|left|right|top_left|top_right|bottom_left|bottom_right|edge_top|"
"edge_bottom|edge_left|edge_right|area_up|area_down|area_left|area_right || "
"stop"
"go chat|<bar>|<x>,<y> || move up|down|left|right|area_up|area_down|area_left|"
"area_right || stop"
msgstr ""
"go chat|<bar>|<x>,<y> || move up|down|left|right|area_up|area_down|area_left|"
"area_right || stop"
@@ -1511,8 +1502,6 @@ msgid ""
" enter exit cursor mode\n"
"\n"
"Examples:\n"
" go to the bottom left corner of chat area:\n"
" /cursor go chat bottom_left\n"
" go to nicklist:\n"
" /cursor go nicklist\n"
" go to coordinates x=10, y=5:\n"
@@ -4709,6 +4698,22 @@ msgstr "%sErro: não foi possível criar arquivo \"%s\""
msgid "%sError writing configuration file \"%s\""
msgstr "%sErro escrevendo arquivo de configuração \"%s\""
#, fuzzy, c-format
#| msgid "Layout \"%s\" has been renamed to \"%s\""
msgid "%sFile %s has been backed up as %s"
msgstr "Disposição \"%s\" renomeado para \"%s\""
#, fuzzy, c-format
#| msgid "%s%s: unable to load file \"%s\""
msgid "%sError: unable to backup file %s"
msgstr "%s%s: não foi possível carregar arquivo \"%s\""
#, c-format
msgid ""
"%sImportant: file %s has been updated from version %d to %d, it is not "
"compatible and can not be loaded any more with any older version"
msgstr ""
#, fuzzy, c-format
msgid "%sWARNING: failed to read configuration file \"%s\" (%s)"
msgstr "Escrevendo arquivo de configurações %s %s"
@@ -4727,9 +4732,8 @@ msgstr "Lendo arquivo de configuração %s"
msgid "%sWarning: %s, line %d: invalid syntax, missing \"]\""
msgstr "%sAviso: %s, linha %d: sintaxe inválida, faltando \"]\""
#, fuzzy, c-format
#| msgid "%sWarning: %s, line %d: unknown section identifier (\"%s\")"
msgid "%sWarning: %s, line %d: ignoring unknown section identifier (\"%s\")"
#, c-format
msgid "%sWarning: %s, line %d: unknown section identifier (\"%s\")"
msgstr "%sAviso: %s, linha %d: identificador de seção desconhecido (\"%s\")"
#, c-format
@@ -4744,21 +4748,16 @@ msgid ""
"of file is IGNORED, default options are used"
msgstr ""
#, fuzzy, c-format
#| msgid "%sWarning: %s, line %d: option outside section: %s"
msgid "%sWarning: %s, line %d: ignoring option outside section: %s"
#, c-format
msgid "%sWarning: %s, line %d: option outside section: %s"
msgstr "%sAviso: %s, linha %d: opção fora da seção: %s"
#, fuzzy, c-format
#| msgid "%sWarning: %s, line %d: unknown option for section \"%s\": %s"
msgid "%sWarning: %s, line %d: ignoring unknown option for section \"%s\": %s"
#, c-format
msgid "%sWarning: %s, line %d: unknown option for section \"%s\": %s"
msgstr "%sAviso: %s, linha %d: opção \"%s\" desconhecido para seção \"%s\""
#, fuzzy, c-format
#| msgid "%sWarning: %s, line %d: invalid value for option: %s"
msgid ""
"%sWarning: %s, line %d: ignoring invalid value for option in section \"%s\": "
"%s"
#, c-format
msgid "%sWarning: %s, line %d: invalid value for option: %s"
msgstr "%sAviso: %s, linha %d: valor \"%s\" inválido para opção"
#, c-format
@@ -4808,6 +4807,10 @@ msgid ""
"Error: unable to create a temporary home directory (using template: \"%s\")\n"
msgstr "%s%s: não foi possível criar diretório para registros (\"%s\")"
#, fuzzy
msgid "Error: environment variable \"HOME\" is not defined\n"
msgstr "Variáveis"
#, fuzzy, c-format
msgid "Error: \"%s\" is not a directory\n"
msgstr "Erro: (%s) não é um diretório\n"
@@ -5683,7 +5686,7 @@ msgid ""
"10 and 99 buffers\n"
" - ${number_displayed}: \"1\" if the number is displayed, otherwise "
"\"0\"\n"
" - ${indent}: indentation for name (channel, private and list buffers are "
" - ${indent}: indentation for name (channel and private buffers are "
"indented) (evaluation of option buflist.format.indent)\n"
" - ${format_nick_prefix}: colored nick prefix for a channel (evaluation "
"of option buflist.format.nick_prefix)\n"
@@ -5789,8 +5792,8 @@ msgstr ""
msgid ""
"number of buflist bar items that can be used; the item names are: "
"\"buflist\", \"buflist2\", \"buflist3\", \"buflist4\" and \"buflist5\"; be "
"careful, using more than one bar item slows down the display of buffers list"
"\"buflist\", \"buflist2\", \"buflist3\"; be careful, using more than one bar "
"item slows down the display of buffers list"
msgstr ""
msgid ""
@@ -5866,8 +5869,8 @@ msgstr ""
#, fuzzy
msgid ""
"string displayed to indent channel, private and list buffers (note: content "
"is evaluated, see /help buflist)"
"string displayed to indent channel and private buffers (note: content is "
"evaluated, see /help buflist)"
msgstr ""
"comando executado quando o WeeChat inicia, antes do carregamento dos plugins "
"(nota: conteúdo é avaliado, veja /help eval)"
@@ -6261,7 +6264,7 @@ msgstr "valores"
#. TRANSLATORS: "%s%s%s:" at beginning of string it the name of option
#, fuzzy, c-format
msgid "%s%s%s: %s%s%s %s[%s%s]%s"
msgid "%s%s%s: %s %s[%s%s]%s"
msgstr "%sApelidos: %s%s%s: %s[%s%s%s]"
#, fuzzy
@@ -6308,9 +6311,9 @@ msgid ""
" -go: select a line by number, first line number is 0 (\"end\" to "
"select the last line)\n"
" -toggle: toggle the boolean value\n"
" -add: add \"value\" (which can be a negative number) for integers, "
"colors and enums, set/append to value for other types (set for a negative "
"value, append for a positive value)\n"
" -add: add \"value\" (which can be a negative number) for integers and "
"colors, set/append to value for other types (set for a negative value, "
"append for a positive value)\n"
" -reset: reset the value of option\n"
" -unset: unset the option\n"
" -set: add the /set command in input to edit the value of option (move "
@@ -6332,8 +6335,7 @@ msgid ""
" * show all options (no filter)\n"
" xxx show only options with \"xxx\" in name\n"
" f:xxx show only configuration file \"xxx\"\n"
" t:xxx show only type \"xxx\" (bool/int/str/col/enum or "
"boolean/integer/string/color/enum)\n"
" t:xxx show only type \"xxx\" (bool/int/str/col)\n"
" d show only changed options\n"
" d:xxx show only changed options with \"xxx\" in name\n"
" d=xxx show only changed options with \"xxx\" in value\n"
@@ -6346,11 +6348,10 @@ msgid ""
" ==xxx show only options with exact value \"xxx\"\n"
" c:xxx show only options matching the evaluated condition "
"\"xxx\", using following variables: file, section, option, name, "
"parent_name, type, type_en, type_short (bool/int/str/col/enum), type_tiny (b/"
"i/s/c/e), default_value, default_value_undef, value, quoted_value, "
"value_undef, value_changed, parent_value, min, max, description, "
"description2, description_en, description_en2, string_values, "
"allowed_values\n"
"parent_name, type, type_en, type_short (bool/int/str/col), type_tiny (b/i/s/"
"c), default_value, default_value_undef, value, quoted_value, value_undef, "
"value_changed, parent_value, min, max, description, description2, "
"description_en, description_en2, string_values\n"
"\n"
"The lines with options are displayed using string evaluation (see /help eval "
"for the format), with these options:\n"
@@ -6366,8 +6367,8 @@ msgid ""
" - ${parent_name}: parent option name\n"
" - ${type}: option type (translated)\n"
" - ${type_en}: option type (in English)\n"
" - ${type_short}: short option type (bool/int/str/col/enum)\n"
" - ${type_tiny}: tiny option type (b/i/s/c/e)\n"
" - ${type_short}: short option type (bool/int/str/col)\n"
" - ${type_tiny}: tiny option type (b/i/s/c)\n"
" - ${default_value}: option default value\n"
" - ${default_value_undef}: \"1\" if default value is null, otherwise "
"\"0\"\n"
@@ -6385,8 +6386,8 @@ msgid ""
" - ${description_en}: option description (in English)\n"
" - ${description_en2}: option description (in English), \"(no "
"description)\" if there's no description\n"
" - ${string_values}: string values allowed for set of an enum option\n"
" - ${allowed_values}: allowed values\n"
" - ${string_values}: string values allowed for set of an integer option "
"using strings\n"
" - ${marked}: \"1\" if option is marked, otherwise \"0\"\n"
" - ${index}: index of option in list\n"
" - option data, with color but no spaces:\n"
@@ -6415,9 +6416,9 @@ msgid ""
"\n"
"Keys and input to set options on fset buffer:\n"
" alt+space t toggle boolean value\n"
" alt+'-' - subtract 1 from value for integer/color/enum, "
"set value for other types\n"
" alt+'+' + add 1 to value for integer/color/enum, append to "
" alt+'-' - subtract 1 from value for integer/color, set "
"value for other types\n"
" alt+'+' + add 1 to value for integer/color, append to "
"value for other types\n"
" alt+f, alt+r r reset value\n"
" alt+f, alt+u u unset value\n"
@@ -6441,8 +6442,10 @@ msgid ""
" alt+p p toggle plugin description options (plugins.desc."
"*)\n"
" alt+v v toggle help bar\n"
" s:x,y sort options by fields x,y (see above)\n"
" s: reset sort to its default value (see above)\n"
" s:x,y sort options by fields x,y (see /help fset.look."
"sort)\n"
" s: reset sort to its default value (see /help fset."
"look.sort)\n"
" w:xxx export options in file \"xxx\"\n"
" w-:xxx export options in file \"xxx\" without help\n"
" w+:xxx export options in file \"xxx\" with help\n"
@@ -6454,8 +6457,8 @@ msgid ""
" left button move line here\n"
" right button toggle boolean (on/off) or edit the option "
"value\n"
" right button + drag left/right increase/decrease value for integer/color/"
"enum, set/append to value for other types\n"
" right button + drag left/right increase/decrease value for integer/color, "
"set/append to value for other types\n"
" right button + drag up/down mark/unmark multiple options\n"
"\n"
"Note: if input has one or more leading spaces, the following text is "
@@ -6590,14 +6593,6 @@ msgid ""
"ctrl-x"
msgstr ""
#, fuzzy
msgid "color for allowed values"
msgstr "cor de texto para valores"
#, fuzzy
msgid "color for allowed values on the selected line"
msgstr "cor de texto para valores"
msgid "color for color name when option fset.look.use_color_value is enabled"
msgstr ""
@@ -6651,6 +6646,10 @@ msgstr "cor para o apelido na barra de entrada"
msgid "color for quotes around string values"
msgstr ""
#, fuzzy
msgid "color for allowed values"
msgstr "cor de texto para valores"
#, fuzzy
msgid "color for index of option"
msgstr "cor do texto para delimitadores de tempo"
@@ -6857,11 +6856,6 @@ msgstr ""
msgid "fset options"
msgstr "lista de opções"
#, fuzzy
#| msgid "color"
msgid "any color"
msgstr "cor"
#, c-format
msgid "%s%s: script \"%s\" already registered (register ignored)"
msgstr ""
@@ -7145,9 +7139,6 @@ msgstr ""
msgid "%s%s: \"%s\" is not a valid regular expression (%s)"
msgstr ""
msgid "Receiving list of channels, please wait..."
msgstr ""
#, c-format
msgid ""
"%s%s: you must specify channel for \"%s\" command if you're not in a channel"
@@ -7537,10 +7528,10 @@ msgid ""
"\n"
"Without argument, \"ls\" and \"list\" are sent.\n"
"\n"
"Capabilities supported by WeeChat are: account-notify, account-tag, away-"
"notify, batch, cap-notify, chghost, draft/multiline, echo-message, extended-"
"join, invite-notify, message-tags, multi-prefix, server-time, setname, "
"userhost-in-names.\n"
"Capabilities supported by WeeChat are: account-notify, away-notify, batch, "
"cap-notify, chghost, draft/multiline, echo-message, extended-join, invite-"
"notify, message-tags, multi-prefix, server-time, setname, userhost-in-"
"names.\n"
"\n"
"The capabilities to automatically enable on servers can be set in option irc."
"server_default.capabilities (or by server in option irc.server.xxx."
@@ -7874,9 +7865,7 @@ msgid "list channels and their topics"
msgstr "listar canais e seus tópicos"
#, fuzzy
msgid ""
"[-server <server>] [-re <regex>] [<channel>[,<channel>...]] [<target>] || -"
"up|-down [<number>] || -left|-right [<percent>] || -go <line>|end || -join"
msgid "[-server <server>] [-re <regex>] [<channel>[,<channel>...]] [<target>]"
msgstr "<target> <tipo> [<argumentos>]"
msgid ""
@@ -7885,67 +7874,15 @@ msgid ""
"insensitive, can start by \"(?-i)\" to become case sensitive)\n"
"channel: channel to list\n"
" target: server name\n"
" -up: move the selected line up by \"number\" lines\n"
" -down: move the selected line down by \"number\" lines\n"
" -left: scroll the /list buffer by \"percent\" of width on the left\n"
" -right: scroll the /list buffer by \"percent\" of width on the right\n"
" -go: select a line by number, first line number is 0 (\"end\" to select "
"the last line)\n"
" -join: join the channel on the selected line\n"
"\n"
"Keys and input on /list buffer:\n"
" up move one line up\n"
" down move one line down\n"
" pgup move one page up\n"
" pgdn move one page down\n"
" alt-home << move to first line\n"
" alt-end >> move to last line\n"
" F11 < scroll horizontally on the left\n"
" F12 > scroll horizontally on the right\n"
" * show all channels (no filter)\n"
" xxx show only channels with \"xxx\" in name or topic "
"(case insensitive)\n"
" n:xxx show only channels with \"xxx\" in name (case "
"insensitive)\n"
" t:xxx show only channels with \"xxx\" in topic (case "
"insensitive)\n"
" u:n show only channels with at least \"n\" users\n"
" u:>n show only channels with more than \"n\" users\n"
" u:<n show only channels with less than \"n\" users\n"
" c:xxx show only channels matching the evaluated "
"condition \"xxx\", using following variables: name, name2, users, topic\n"
" ctrl-j j join channel on selected line\n"
" s:x,y sort channels by fields x,y (see below)\n"
" s: reset sort to its default value (see below)\n"
" $ refresh list (run again command /list)\n"
" q close buffer\n"
"\n"
"Sort keys on /list buffer:\n"
" name channel name (eg: \"##test\")\n"
" name2 channel name without prefix (eg: \"test\")\n"
" users number of users on channel\n"
" topic channel topic\n"
"\n"
"Examples:\n"
" list all channels on server and display them in a dedicated buffer (can be "
"slow on large networks):\n"
" list all channels on server (can be very slow on large networks):\n"
" /list\n"
" list channel #weechat:\n"
" /list #weechat\n"
" list all channels beginning with \"#weechat\" (can be very slow on large "
"networks):\n"
" /list -re #weechat.*\n"
" on /list buffer:\n"
" channels with \"weechat\" in name:\n"
" n:weechat\n"
" channels with at least 100 users:\n"
" u:100\n"
" channels with \"freebsd\" (case insensitive) in topic and more than 10 "
"users:\n"
" c:${topic} =- freebsd && ${users} > 10\n"
" sort channels by users (big channels first), then name2 (name without "
"prefix):\n"
" s:-users,name2"
" /list -re #weechat.*"
msgstr ""
msgid "get statistics about the size of the IRC network"
@@ -8683,22 +8620,12 @@ msgid ""
"ctcp.%s\" will not work"
msgstr ""
#, fuzzy
#| msgid ""
#| "format for CTCP reply or empty string for blocking CTCP (no reply), "
#| "following variables are replaced: $version (WeeChat version), "
#| "$compilation (compilation date), $osinfo (info about OS), $site (WeeChat "
#| "site), $download (WeeChat site, download page), $time (current date and "
#| "time as text), $username (username on server), $realname (realname on "
#| "server)"
msgid ""
"format for CTCP reply or empty string for blocking CTCP (no reply); content "
"is evaluated, see /help eval; following variables are replaced: "
"${clientinfo}: list of supported CTCP, ${version}: WeeChat version, ${git}: "
"Git version, ${versiongit}: WeeChat version and Git version, ${compilation}: "
"compilation date, ${osinfo}: info about OS, ${site}: WeeChat site, "
"${download}: WeeChat site, download page, ${time}: current date and time as "
"text, ${username}: username on server, ${realname}: realname on server"
"format for CTCP reply or empty string for blocking CTCP (no reply), "
"following variables are replaced: $version (WeeChat version), $compilation "
"(compilation date), $osinfo (info about OS), $site (WeeChat site), $download "
"(WeeChat site, download page), $time (current date and time as text), "
"$username (username on server), $realname (realname on server)"
msgstr ""
"formato para CTCP reply ou string vazia para CTCP bloqueante (sem resposta), "
"as seguintes variáveis são substituídas: $version (versão do WeeChat), "
@@ -9052,11 +8979,6 @@ msgstr "%s%s: erro ao criar opção do servidor \"%s\""
msgid "IRC option renamed: \"irc.%s.%s\" => \"irc.%s.%s\""
msgstr ""
#, fuzzy, c-format
#| msgid "Command for key: \"%s\""
msgid "IRC CTCP format converted for \"%s\": \"%s\" => \"%s\""
msgstr "Comando para tecla: \"%s\""
msgid ""
"open channel buffer before the JOIN is received from server when it is auto "
"joined (with server option \"autojoin\"); this is useful to open channels "
@@ -9235,20 +9157,6 @@ msgid ""
"for example: \"/join weechat\" will in fact send: \"/join #weechat\""
msgstr ""
msgid "left/right scroll in /list buffer (percent of width)"
msgstr ""
msgid ""
"comma-separated list of fields to sort channels (see /help list for a list "
"of fields); char \"-\" can be used before field to reverse order, char \"~\" "
"can be used to do a case insensitive comparison; example: \"-count,~name\" "
"for biggest channels first then case insensitive sort on name"
msgstr ""
#, fuzzy
msgid "strip channel topic colors in /list buffer"
msgstr "cor do texto para nomes de buffer"
msgid ""
"default target buffer for msgbuffer options when target is private and that "
"private buffer is not found"
@@ -9263,20 +9171,6 @@ msgstr ""
"(deve ser o último buffer), next = buffer atual + 1, near_server = depois do "
"último canal/privado do servidor"
#, fuzzy
#| 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)"
msgid ""
"force position of new /list buffer in list of buffers (none = default "
"position (should be last buffer), next = current buffer + 1, near_server = "
"after last channel/pv of server)"
msgstr ""
"forçar posição de novo canal na lista de buffers (none = posição padrão "
"(deve ser o último buffer), next = buffer atual + 1, near_server = depois do "
"último canal/privado do servidor"
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 "
@@ -9335,6 +9229,10 @@ msgid ""
"\"notify_message\", \"notify_private\" or \"notify_highlight\""
msgstr ""
msgid ""
"open a private buffer on self message when capability echo-message is enabled"
msgstr ""
msgid "close buffer when /part is issued on a channel"
msgstr "fechar buffer quando o comando /part é executado em um canal"
@@ -9464,14 +9362,6 @@ msgid "color for higher supported TLS version in bar item \"tls_version\""
msgstr ""
"cor para o sufixo do apelido (string exibida depois do apelido no prefixo)"
#, fuzzy
msgid "color for selected line on /list buffer"
msgstr "cor do texto da linha do cliente selecionada"
#, fuzzy
msgid "background color for selected line on /list buffer"
msgstr "cor do texto da linha do cliente selecionada"
#, fuzzy
msgid "color for text in account messages"
msgstr "cor de texto para valores"
@@ -9879,12 +9769,6 @@ msgstr "servidor irc"
msgid "irc batch"
msgstr "canal irc"
msgid "irc channel on /list buffer"
msgstr ""
msgid "irc data for /list buffer"
msgstr ""
#, c-format
msgid "%sCTCP query to %s%s%s: %s%s%s%s%s"
msgstr ""
@@ -9897,17 +9781,6 @@ msgstr "%s%s: você não está conectado ao servidor"
msgid "%s%s: this buffer is not a channel!"
msgstr "%s%s: este buffer não é um canal!"
#, c-format
msgid ""
"%d channels (total: %d) | Filter: %s | Sort: %s | Key(input): ctrl+j=join "
"channel, ($)=refresh, (q)=close buffer"
msgstr ""
#, fuzzy, c-format
#| msgid "%s%s: error in function \"%s\""
msgid "%s%s: error in redirection of /list: %s"
msgstr "%s%s: erro na função \"%s\""
#, fuzzy, c-format
msgid "%s%s: cannot allocate new modelist"
msgstr "%s%s: não foi possível criar novo canal \"%s\""
@@ -11255,13 +11128,6 @@ msgid ""
"by the user (option \"-s\" or \"--no-script\")"
msgstr ""
msgid "buffer pointer"
msgstr "pointeiro do buffer"
#, fuzzy
msgid "buffer full name"
msgstr "arquivos de configuração"
msgid "terminal charset"
msgstr "charset do terminar"
@@ -11418,6 +11284,9 @@ msgstr ""
msgid "lines of a buffer"
msgstr "linhas de um buffer"
msgid "buffer pointer"
msgstr "pointeiro do buffer"
msgid "list of filters"
msgstr "lista de filtros"
@@ -12479,6 +12348,10 @@ msgstr "%s%s: script \"%s\" não carregado"
msgid "%s: script \"%s\" not found"
msgstr "%s%s: script \"%s\" não encontrado"
#, fuzzy, c-format
msgid "%s: script \"%s\" is not installed"
msgstr "%s%s: script \"%s\" não carregado"
#, fuzzy, c-format
msgid "%s: autoload enabled for script \"%s\""
msgstr "%s: descarregando script \"%s\""
@@ -12501,10 +12374,6 @@ msgstr ""
msgid "%s: downloading script \"%s\"..."
msgstr "%s: descarregando script \"%s\"..."
#, fuzzy, c-format
msgid "%s: script \"%s\" is not installed"
msgstr "%s%s: script \"%s\" não carregado"
#, fuzzy, c-format
msgid "%s: script \"%s\" is held"
msgstr "%s: script \"%s\" descarregado"
@@ -12648,7 +12517,7 @@ msgid ""
"list [-o|-ol|-i|-il] || search <text> || show <script> || load|unload|reload "
"<script> [<script>...] || autoload|noautoload|toggleautoload <script> "
"[<script>...] || install|remove|installremove|hold [-q] <script> "
"[<script>...] || upgrade || update || up|down [<number>] || go <line>|end"
"[<script>...] || upgrade || update"
msgstr ""
msgid ""
@@ -12678,10 +12547,6 @@ msgid ""
" upgrade: upgrade all installed scripts which are obsolete (new "
"version available)\n"
" update: update local scripts cache\n"
" up: move the selected line up by \"number\" lines\n"
" down: move the selected line down by \"number\" lines\n"
" go: select a line by number, first line number is 0 (\"end\" to "
"select the last line)\n"
"\n"
"Without argument, this command opens a buffer with list of scripts.\n"
"\n"
@@ -13300,22 +13165,6 @@ msgstr "%sApelidos: %s%s%s: %s[%s%s%s]"
msgid "No trigger defined"
msgstr "Nenhuma rmodifier definido"
#, fuzzy
msgid "Triggers enabled:"
msgstr "Filtro \"%s\" habilitado"
#, fuzzy
#| msgid "default: "
msgid "default"
msgstr "padrão: "
msgid "custom"
msgstr ""
#, fuzzy
msgid "No triggers enabled"
msgstr "Filtro \"%s\" habilitado"
#, fuzzy
msgid "List of default triggers:"
msgstr "Lista de atalhos:"
@@ -13460,8 +13309,7 @@ msgid "manage triggers, the Swiss Army knife for WeeChat"
msgstr ""
msgid ""
"list [-o|-ol|-i|-il] || listfull || listdefault || add|addoff|addreplace "
"<name> <hook> "
"list|listfull|listdefault || add|addoff|addreplace <name> <hook> "
"[\"<arguments>\" [\"<conditions>\" [\"<regex>\" [\"<command>\" [\"<return_code>\" [\"<post_action>\"]]]]]] "
"|| addinput [<hook>] || input|output|recreate <name> || set <name> <option> "
"<value> || rename|copy <name> <new_name> || enable|disable|toggle [<name>|-"
@@ -13472,12 +13320,6 @@ msgstr ""
msgid ""
" list: list triggers (without argument, this list is displayed)\n"
" -o: send list of triggers enabled to buffer (string in English)\n"
" -ol: send list of triggers enabled to buffer (translated string)\n"
" -i: copy list of triggers enabled in command line (for sending to "
"buffer) (string in English)\n"
" -il: copy list of triggers enabled in command line (for sending to "
"buffer) (translated string)\n"
" listfull: list triggers with detailed info for each trigger\n"
"listdefault: list default triggers\n"
" add: add a trigger\n"
@@ -14203,11 +14045,3 @@ msgstr "%s%s: tempo esgotado para \"%s\" com %s"
#, fuzzy, c-format
msgid "%s%s: unable to connect: unexpected error (%d)"
msgstr "%s%s: não foi possível conectar ao remetente"
#, fuzzy
#~ msgid "color for selected line"
#~ msgstr "seção de configuração"
#, fuzzy
#~ msgid "background color for selected line"
#~ msgstr "cor do texto da linha do cliente selecionada"
+86 -226
View File
@@ -21,7 +21,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2023-08-22 09:26+0200\n"
"POT-Creation-Date: 2023-10-30 23:09+0100\n"
"PO-Revision-Date: 2023-06-17 11:47+0200\n"
"Last-Translator: Aleksey V Zapparov AKA ixti <ixti@member.fsf.org>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -483,14 +483,14 @@ msgstr " . значение по умолчанию: %d\n"
msgid "current value"
msgstr "текущее значение"
#, fuzzy
msgid "integer"
msgstr "минута"
#, fuzzy
msgid "string"
msgstr "Ожидание"
#, fuzzy
msgid "integer"
msgstr "минута"
#, fuzzy
msgid "any string"
msgstr "Ожидание"
@@ -507,9 +507,6 @@ msgstr "управление буферами"
msgid "color"
msgstr "цвет чата"
msgid "enum"
msgstr ""
#. TRANSLATORS: please do not translate "(null)"
msgid "undefined value allowed (null)"
msgstr "разрешено неопределённое значение (null)"
@@ -1331,10 +1328,8 @@ msgid ""
msgstr ""
msgid ""
"go chat|<bar> [top_left|top_right|bottom_left|bottom_right] || go <x>,<y> || "
"move up|down|left|right|top_left|top_right|bottom_left|bottom_right|edge_top|"
"edge_bottom|edge_left|edge_right|area_up|area_down|area_left|area_right || "
"stop"
"go chat|<bar>|<x>,<y> || move up|down|left|right|area_up|area_down|area_left|"
"area_right || stop"
msgstr ""
msgid ""
@@ -1366,8 +1361,6 @@ msgid ""
" enter exit cursor mode\n"
"\n"
"Examples:\n"
" go to the bottom left corner of chat area:\n"
" /cursor go chat bottom_left\n"
" go to nicklist:\n"
" /cursor go nicklist\n"
" go to coordinates x=10, y=5:\n"
@@ -4007,6 +4000,20 @@ msgstr "%s не могу создать файл \"%s\"\n"
msgid "%sError writing configuration file \"%s\""
msgstr "перезагрузить конфигурационный файл сервера"
#, fuzzy, c-format
msgid "%sFile %s has been backed up as %s"
msgstr "Сервер %s%s%s скопирован в %s%s\n"
#, fuzzy, c-format
msgid "%sError: unable to backup file %s"
msgstr "Не могу записать лог-файл \"%s\"\n"
#, c-format
msgid ""
"%sImportant: file %s has been updated from version %d to %d, it is not "
"compatible and can not be loaded any more with any older version"
msgstr ""
#, fuzzy, c-format
msgid "%sWARNING: failed to read configuration file \"%s\" (%s)"
msgstr "сохранять конфигурационный файл при выходе"
@@ -4026,7 +4033,7 @@ msgid "%sWarning: %s, line %d: invalid syntax, missing \"]\""
msgstr "%s %s, строка %d: некорректный синтаксис, не хватает \"]\"\n"
#, fuzzy, c-format
msgid "%sWarning: %s, line %d: ignoring unknown section identifier (\"%s\")"
msgid "%sWarning: %s, line %d: unknown section identifier (\"%s\")"
msgstr "%s %s, строка %d: неизвестный идентификатор секции (\"%s\")\n"
#, c-format
@@ -4042,17 +4049,15 @@ msgid ""
msgstr ""
#, fuzzy, c-format
msgid "%sWarning: %s, line %d: ignoring option outside section: %s"
msgid "%sWarning: %s, line %d: option outside section: %s"
msgstr "%s %s, строка %d: неизвестный идентификатор секции (\"%s\")\n"
#, fuzzy, c-format
msgid "%sWarning: %s, line %d: ignoring unknown option for section \"%s\": %s"
msgid "%sWarning: %s, line %d: unknown option for section \"%s\": %s"
msgstr "%s %s, строка %d: неизвестный идентификатор секции (\"%s\")\n"
#, fuzzy, c-format
msgid ""
"%sWarning: %s, line %d: ignoring invalid value for option in section \"%s\": "
"%s"
msgid "%sWarning: %s, line %d: invalid value for option: %s"
msgstr "%s %s, строка %d: некорректный параметр \"%s\"\n"
#, fuzzy, c-format
@@ -4103,6 +4108,10 @@ msgid ""
"Error: unable to create a temporary home directory (using template: \"%s\")\n"
msgstr "%s не могу создать сервер \"%s\"\n"
#, fuzzy
msgid "Error: environment variable \"HOME\" is not defined\n"
msgstr " . тип: целочисленный\n"
#, fuzzy, c-format
msgid "Error: \"%s\" is not a directory\n"
msgstr "%s домашний каталог (%s) не является директорией\n"
@@ -5011,7 +5020,7 @@ msgid ""
"10 and 99 buffers\n"
" - ${number_displayed}: \"1\" if the number is displayed, otherwise "
"\"0\"\n"
" - ${indent}: indentation for name (channel, private and list buffers are "
" - ${indent}: indentation for name (channel and private buffers are "
"indented) (evaluation of option buflist.format.indent)\n"
" - ${format_nick_prefix}: colored nick prefix for a channel (evaluation "
"of option buflist.format.nick_prefix)\n"
@@ -5116,8 +5125,8 @@ msgstr ""
msgid ""
"number of buflist bar items that can be used; the item names are: "
"\"buflist\", \"buflist2\", \"buflist3\", \"buflist4\" and \"buflist5\"; be "
"careful, using more than one bar item slows down the display of buffers list"
"\"buflist\", \"buflist2\", \"buflist3\"; be careful, using more than one bar "
"item slows down the display of buffers list"
msgstr ""
msgid ""
@@ -5176,8 +5185,8 @@ msgstr "ник, используемый на IRC сервере"
#, fuzzy
msgid ""
"string displayed to indent channel, private and list buffers (note: content "
"is evaluated, see /help buflist)"
"string displayed to indent channel and private buffers (note: content is "
"evaluated, see /help buflist)"
msgstr "ник, используемый на IRC сервере"
#, fuzzy
@@ -5560,7 +5569,7 @@ msgstr " . значения: "
#. TRANSLATORS: "%s%s%s:" at beginning of string it the name of option
#, fuzzy, c-format
msgid "%s%s%s: %s%s%s %s[%s%s]%s"
msgid "%s%s%s: %s %s[%s%s]%s"
msgstr "%sСервер: %s%s %s[%s%s%s]\n"
#, fuzzy
@@ -5607,9 +5616,9 @@ msgid ""
" -go: select a line by number, first line number is 0 (\"end\" to "
"select the last line)\n"
" -toggle: toggle the boolean value\n"
" -add: add \"value\" (which can be a negative number) for integers, "
"colors and enums, set/append to value for other types (set for a negative "
"value, append for a positive value)\n"
" -add: add \"value\" (which can be a negative number) for integers and "
"colors, set/append to value for other types (set for a negative value, "
"append for a positive value)\n"
" -reset: reset the value of option\n"
" -unset: unset the option\n"
" -set: add the /set command in input to edit the value of option (move "
@@ -5631,8 +5640,7 @@ msgid ""
" * show all options (no filter)\n"
" xxx show only options with \"xxx\" in name\n"
" f:xxx show only configuration file \"xxx\"\n"
" t:xxx show only type \"xxx\" (bool/int/str/col/enum or "
"boolean/integer/string/color/enum)\n"
" t:xxx show only type \"xxx\" (bool/int/str/col)\n"
" d show only changed options\n"
" d:xxx show only changed options with \"xxx\" in name\n"
" d=xxx show only changed options with \"xxx\" in value\n"
@@ -5645,11 +5653,10 @@ msgid ""
" ==xxx show only options with exact value \"xxx\"\n"
" c:xxx show only options matching the evaluated condition "
"\"xxx\", using following variables: file, section, option, name, "
"parent_name, type, type_en, type_short (bool/int/str/col/enum), type_tiny (b/"
"i/s/c/e), default_value, default_value_undef, value, quoted_value, "
"value_undef, value_changed, parent_value, min, max, description, "
"description2, description_en, description_en2, string_values, "
"allowed_values\n"
"parent_name, type, type_en, type_short (bool/int/str/col), type_tiny (b/i/s/"
"c), default_value, default_value_undef, value, quoted_value, value_undef, "
"value_changed, parent_value, min, max, description, description2, "
"description_en, description_en2, string_values\n"
"\n"
"The lines with options are displayed using string evaluation (see /help eval "
"for the format), with these options:\n"
@@ -5665,8 +5672,8 @@ msgid ""
" - ${parent_name}: parent option name\n"
" - ${type}: option type (translated)\n"
" - ${type_en}: option type (in English)\n"
" - ${type_short}: short option type (bool/int/str/col/enum)\n"
" - ${type_tiny}: tiny option type (b/i/s/c/e)\n"
" - ${type_short}: short option type (bool/int/str/col)\n"
" - ${type_tiny}: tiny option type (b/i/s/c)\n"
" - ${default_value}: option default value\n"
" - ${default_value_undef}: \"1\" if default value is null, otherwise "
"\"0\"\n"
@@ -5684,8 +5691,8 @@ msgid ""
" - ${description_en}: option description (in English)\n"
" - ${description_en2}: option description (in English), \"(no "
"description)\" if there's no description\n"
" - ${string_values}: string values allowed for set of an enum option\n"
" - ${allowed_values}: allowed values\n"
" - ${string_values}: string values allowed for set of an integer option "
"using strings\n"
" - ${marked}: \"1\" if option is marked, otherwise \"0\"\n"
" - ${index}: index of option in list\n"
" - option data, with color but no spaces:\n"
@@ -5714,9 +5721,9 @@ msgid ""
"\n"
"Keys and input to set options on fset buffer:\n"
" alt+space t toggle boolean value\n"
" alt+'-' - subtract 1 from value for integer/color/enum, "
"set value for other types\n"
" alt+'+' + add 1 to value for integer/color/enum, append to "
" alt+'-' - subtract 1 from value for integer/color, set "
"value for other types\n"
" alt+'+' + add 1 to value for integer/color, append to "
"value for other types\n"
" alt+f, alt+r r reset value\n"
" alt+f, alt+u u unset value\n"
@@ -5740,8 +5747,10 @@ msgid ""
" alt+p p toggle plugin description options (plugins.desc."
"*)\n"
" alt+v v toggle help bar\n"
" s:x,y sort options by fields x,y (see above)\n"
" s: reset sort to its default value (see above)\n"
" s:x,y sort options by fields x,y (see /help fset.look."
"sort)\n"
" s: reset sort to its default value (see /help fset."
"look.sort)\n"
" w:xxx export options in file \"xxx\"\n"
" w-:xxx export options in file \"xxx\" without help\n"
" w+:xxx export options in file \"xxx\" with help\n"
@@ -5753,8 +5762,8 @@ msgid ""
" left button move line here\n"
" right button toggle boolean (on/off) or edit the option "
"value\n"
" right button + drag left/right increase/decrease value for integer/color/"
"enum, set/append to value for other types\n"
" right button + drag left/right increase/decrease value for integer/color, "
"set/append to value for other types\n"
" right button + drag up/down mark/unmark multiple options\n"
"\n"
"Note: if input has one or more leading spaces, the following text is "
@@ -5880,14 +5889,6 @@ msgid ""
"ctrl-x"
msgstr ""
#, fuzzy
msgid "color for allowed values"
msgstr "цвет отошедших ников"
#, fuzzy
msgid "color for allowed values on the selected line"
msgstr "цвет отошедших ников"
msgid "color for color name when option fset.look.use_color_value is enabled"
msgstr ""
@@ -5942,6 +5943,10 @@ msgstr "цвет ников"
msgid "color for quotes around string values"
msgstr "цвет текущего окна с сообщениями"
#, fuzzy
msgid "color for allowed values"
msgstr "цвет отошедших ников"
#, fuzzy
msgid "color for index of option"
msgstr "цвет разделителей информационной панели"
@@ -6147,10 +6152,6 @@ msgstr ""
msgid "fset options"
msgstr "настроить параметры конфигурации"
#, fuzzy
msgid "any color"
msgstr "цвет чата"
#, fuzzy, c-format
msgid "%s%s: script \"%s\" already registered (register ignored)"
msgstr "%s сервер \"%s\" уже существует, не могу создать его!\n"
@@ -6429,9 +6430,6 @@ msgstr "%s недостаточно памяти для регулярного
msgid "%s%s: \"%s\" is not a valid regular expression (%s)"
msgstr "%s \"%s\" не является регулярным выражением (%s)\n"
msgid "Receiving list of channels, please wait..."
msgstr ""
#, c-format
msgid ""
"%s%s: you must specify channel for \"%s\" command if you're not in a channel"
@@ -6846,10 +6844,10 @@ msgid ""
"\n"
"Without argument, \"ls\" and \"list\" are sent.\n"
"\n"
"Capabilities supported by WeeChat are: account-notify, account-tag, away-"
"notify, batch, cap-notify, chghost, draft/multiline, echo-message, extended-"
"join, invite-notify, message-tags, multi-prefix, server-time, setname, "
"userhost-in-names.\n"
"Capabilities supported by WeeChat are: account-notify, away-notify, batch, "
"cap-notify, chghost, draft/multiline, echo-message, extended-join, invite-"
"notify, message-tags, multi-prefix, server-time, setname, userhost-in-"
"names.\n"
"\n"
"The capabilities to automatically enable on servers can be set in option irc."
"server_default.capabilities (or by server in option irc.server.xxx."
@@ -7219,9 +7217,7 @@ msgid "list channels and their topics"
msgstr "перечислить каналы и их темы"
#, fuzzy
msgid ""
"[-server <server>] [-re <regex>] [<channel>[,<channel>...]] [<target>] || -"
"up|-down [<number>] || -left|-right [<percent>] || -go <line>|end || -join"
msgid "[-server <server>] [-re <regex>] [<channel>[,<channel>...]] [<target>]"
msgstr "канал[,канал] [ключ[,ключ]]"
msgid ""
@@ -7230,67 +7226,15 @@ msgid ""
"insensitive, can start by \"(?-i)\" to become case sensitive)\n"
"channel: channel to list\n"
" target: server name\n"
" -up: move the selected line up by \"number\" lines\n"
" -down: move the selected line down by \"number\" lines\n"
" -left: scroll the /list buffer by \"percent\" of width on the left\n"
" -right: scroll the /list buffer by \"percent\" of width on the right\n"
" -go: select a line by number, first line number is 0 (\"end\" to select "
"the last line)\n"
" -join: join the channel on the selected line\n"
"\n"
"Keys and input on /list buffer:\n"
" up move one line up\n"
" down move one line down\n"
" pgup move one page up\n"
" pgdn move one page down\n"
" alt-home << move to first line\n"
" alt-end >> move to last line\n"
" F11 < scroll horizontally on the left\n"
" F12 > scroll horizontally on the right\n"
" * show all channels (no filter)\n"
" xxx show only channels with \"xxx\" in name or topic "
"(case insensitive)\n"
" n:xxx show only channels with \"xxx\" in name (case "
"insensitive)\n"
" t:xxx show only channels with \"xxx\" in topic (case "
"insensitive)\n"
" u:n show only channels with at least \"n\" users\n"
" u:>n show only channels with more than \"n\" users\n"
" u:<n show only channels with less than \"n\" users\n"
" c:xxx show only channels matching the evaluated "
"condition \"xxx\", using following variables: name, name2, users, topic\n"
" ctrl-j j join channel on selected line\n"
" s:x,y sort channels by fields x,y (see below)\n"
" s: reset sort to its default value (see below)\n"
" $ refresh list (run again command /list)\n"
" q close buffer\n"
"\n"
"Sort keys on /list buffer:\n"
" name channel name (eg: \"##test\")\n"
" name2 channel name without prefix (eg: \"test\")\n"
" users number of users on channel\n"
" topic channel topic\n"
"\n"
"Examples:\n"
" list all channels on server and display them in a dedicated buffer (can be "
"slow on large networks):\n"
" list all channels on server (can be very slow on large networks):\n"
" /list\n"
" list channel #weechat:\n"
" /list #weechat\n"
" list all channels beginning with \"#weechat\" (can be very slow on large "
"networks):\n"
" /list -re #weechat.*\n"
" on /list buffer:\n"
" channels with \"weechat\" in name:\n"
" n:weechat\n"
" channels with at least 100 users:\n"
" u:100\n"
" channels with \"freebsd\" (case insensitive) in topic and more than 10 "
"users:\n"
" c:${topic} =- freebsd && ${users} > 10\n"
" sort channels by users (big channels first), then name2 (name without "
"prefix):\n"
" s:-users,name2"
" /list -re #weechat.*"
msgstr ""
msgid "get statistics about the size of the IRC network"
@@ -8176,13 +8120,11 @@ msgid ""
msgstr ""
msgid ""
"format for CTCP reply or empty string for blocking CTCP (no reply); content "
"is evaluated, see /help eval; following variables are replaced: "
"${clientinfo}: list of supported CTCP, ${version}: WeeChat version, ${git}: "
"Git version, ${versiongit}: WeeChat version and Git version, ${compilation}: "
"compilation date, ${osinfo}: info about OS, ${site}: WeeChat site, "
"${download}: WeeChat site, download page, ${time}: current date and time as "
"text, ${username}: username on server, ${realname}: realname on server"
"format for CTCP reply or empty string for blocking CTCP (no reply), "
"following variables are replaced: $version (WeeChat version), $compilation "
"(compilation date), $osinfo (info about OS), $site (WeeChat site), $download "
"(WeeChat site, download page), $time (current date and time as text), "
"$username (username on server), $realname (realname on server)"
msgstr ""
#, fuzzy, c-format
@@ -8535,10 +8477,6 @@ msgstr "%s недостаточно памяти для сообщения в с
msgid "IRC option renamed: \"irc.%s.%s\" => \"irc.%s.%s\""
msgstr ""
#, c-format
msgid "IRC CTCP format converted for \"%s\": \"%s\" => \"%s\""
msgstr ""
msgid ""
"open channel buffer before the JOIN is received from server when it is auto "
"joined (with server option \"autojoin\"); this is useful to open channels "
@@ -8708,20 +8646,6 @@ msgid ""
"for example: \"/join weechat\" will in fact send: \"/join #weechat\""
msgstr ""
msgid "left/right scroll in /list buffer (percent of width)"
msgstr ""
msgid ""
"comma-separated list of fields to sort channels (see /help list for a list "
"of fields); char \"-\" can be used before field to reverse order, char \"~\" "
"can be used to do a case insensitive comparison; example: \"-count,~name\" "
"for biggest channels first then case insensitive sort on name"
msgstr ""
#, fuzzy
msgid "strip channel topic colors in /list buffer"
msgstr "цвет названия сервера"
msgid ""
"default target buffer for msgbuffer options when target is private and that "
"private buffer is not found"
@@ -8733,12 +8657,6 @@ msgid ""
"channel/pv of server)"
msgstr ""
msgid ""
"force position of new /list buffer 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 "
@@ -8798,6 +8716,10 @@ msgid ""
"\"notify_message\", \"notify_private\" or \"notify_highlight\""
msgstr ""
msgid ""
"open a private buffer on self message when capability echo-message is enabled"
msgstr ""
msgid "close buffer when /part is issued on a channel"
msgstr ""
@@ -8927,14 +8849,6 @@ msgstr "строка, вставляемая после автодополнен
msgid "color for higher supported TLS version in bar item \"tls_version\""
msgstr "строка, вставляемая после автодополнения ника"
#, fuzzy
msgid "color for selected line on /list buffer"
msgstr "цвет названия сервера"
#, fuzzy
msgid "background color for selected line on /list buffer"
msgstr "цвет названия сервера"
#, fuzzy
msgid "color for text in account messages"
msgstr "цвет текущего окна с сообщениями"
@@ -9352,12 +9266,6 @@ msgstr "сервер"
msgid "irc batch"
msgstr "%d канал"
msgid "irc channel on /list buffer"
msgstr ""
msgid "irc data for /list buffer"
msgstr ""
#, fuzzy, c-format
msgid "%sCTCP query to %s%s%s: %s%s%s%s%s"
msgstr "%sСервер: %s%s %s[%s%s%s]\n"
@@ -9370,16 +9278,6 @@ msgstr "%s вы не подключены к серверу\n"
msgid "%s%s: this buffer is not a channel!"
msgstr "Это окно не является каналом!\n"
#, c-format
msgid ""
"%d channels (total: %d) | Filter: %s | Sort: %s | Key(input): ctrl+j=join "
"channel, ($)=refresh, (q)=close buffer"
msgstr ""
#, fuzzy, c-format
msgid "%s%s: error in redirection of /list: %s"
msgstr "Не могу записать лог-файл \"%s\"\n"
#, fuzzy, c-format
msgid "%s%s: cannot allocate new modelist"
msgstr "%s не могу расположить новый канал"
@@ -10700,14 +10598,6 @@ msgid ""
"by the user (option \"-s\" or \"--no-script\")"
msgstr ""
#, fuzzy
msgid "buffer pointer"
msgstr "поиск текста в истории буфера"
#, fuzzy
msgid "buffer full name"
msgstr "перезагрузить конфигурационный файл сервера"
#, fuzzy
msgid "terminal charset"
msgstr "управление буферами"
@@ -10864,6 +10754,10 @@ msgstr ""
msgid "lines of a buffer"
msgstr "загрузка буфера не удалась"
#, fuzzy
msgid "buffer pointer"
msgstr "поиск текста в истории буфера"
#, fuzzy
msgid "list of filters"
msgstr "Список сокращений:\n"
@@ -11906,6 +11800,10 @@ msgstr "%s сервер \"%s\" не найден\n"
msgid "%s: script \"%s\" not found"
msgstr "%s сервер \"%s\" не найден\n"
#, fuzzy, c-format
msgid "%s: script \"%s\" is not installed"
msgstr "%s сервер \"%s\" не найден\n"
#, fuzzy, c-format
msgid "%s: autoload enabled for script \"%s\""
msgstr "сессия: загружаю сервер \"%s\"\n"
@@ -11929,10 +11827,6 @@ msgstr ""
msgid "%s: downloading script \"%s\"..."
msgstr "сессия: загружаю сервер \"%s\"\n"
#, fuzzy, c-format
msgid "%s: script \"%s\" is not installed"
msgstr "%s сервер \"%s\" не найден\n"
#, fuzzy, c-format
msgid "%s: script \"%s\" is held"
msgstr "Plugin \"%s\" выгружен.\n"
@@ -12076,7 +11970,7 @@ msgid ""
"list [-o|-ol|-i|-il] || search <text> || show <script> || load|unload|reload "
"<script> [<script>...] || autoload|noautoload|toggleautoload <script> "
"[<script>...] || install|remove|installremove|hold [-q] <script> "
"[<script>...] || upgrade || update || up|down [<number>] || go <line>|end"
"[<script>...] || upgrade || update"
msgstr ""
msgid ""
@@ -12106,10 +12000,6 @@ msgid ""
" upgrade: upgrade all installed scripts which are obsolete (new "
"version available)\n"
" update: update local scripts cache\n"
" up: move the selected line up by \"number\" lines\n"
" down: move the selected line down by \"number\" lines\n"
" go: select a line by number, first line number is 0 (\"end\" to "
"select the last line)\n"
"\n"
"Without argument, this command opens a buffer with list of scripts.\n"
"\n"
@@ -12704,21 +12594,6 @@ msgstr "%sСервер: %s%s %s[%s%s%s]\n"
msgid "No trigger defined"
msgstr "Сокращения не заданы.\n"
#, fuzzy
msgid "Triggers enabled:"
msgstr "команда users отключена"
#, fuzzy
msgid "default"
msgstr " . значение по умолчанию: %d\n"
msgid "custom"
msgstr ""
#, fuzzy
msgid "No triggers enabled"
msgstr "команда users отключена"
#, fuzzy
msgid "List of default triggers:"
msgstr "Список сокращений:\n"
@@ -12861,8 +12736,7 @@ msgid "manage triggers, the Swiss Army knife for WeeChat"
msgstr ""
msgid ""
"list [-o|-ol|-i|-il] || listfull || listdefault || add|addoff|addreplace "
"<name> <hook> "
"list|listfull|listdefault || add|addoff|addreplace <name> <hook> "
"[\"<arguments>\" [\"<conditions>\" [\"<regex>\" [\"<command>\" [\"<return_code>\" [\"<post_action>\"]]]]]] "
"|| addinput [<hook>] || input|output|recreate <name> || set <name> <option> "
"<value> || rename|copy <name> <new_name> || enable|disable|toggle [<name>|-"
@@ -12873,12 +12747,6 @@ msgstr ""
msgid ""
" list: list triggers (without argument, this list is displayed)\n"
" -o: send list of triggers enabled to buffer (string in English)\n"
" -ol: send list of triggers enabled to buffer (translated string)\n"
" -i: copy list of triggers enabled in command line (for sending to "
"buffer) (string in English)\n"
" -il: copy list of triggers enabled in command line (for sending to "
"buffer) (translated string)\n"
" listfull: list triggers with detailed info for each trigger\n"
"listdefault: list default triggers\n"
" add: add a trigger\n"
@@ -13607,11 +13475,3 @@ msgstr "%s нет аргумента для параметра \"%s\"\n"
#, fuzzy, c-format
msgid "%s%s: unable to connect: unexpected error (%d)"
msgstr "%s DCC: не могу соединиться с отправителем\n"
#, fuzzy
#~ msgid "color for selected line"
#~ msgstr "настроить параметры конфигурации"
#, fuzzy
#~ msgid "background color for selected line"
#~ msgstr "цвет названия сервера"
+247 -504
View File
File diff suppressed because it is too large Load Diff
-2
View File
@@ -258,8 +258,6 @@ SET(WEECHAT_SOURCES
./src/plugins/irc/irc-input.h
./src/plugins/irc/irc-join.c
./src/plugins/irc/irc-join.h
./src/plugins/irc/irc-list.c
./src/plugins/irc/irc-list.h
./src/plugins/irc/irc-message.c
./src/plugins/irc/irc-message.h
./src/plugins/irc/irc-mode.c
+106 -540
View File
@@ -20,8 +20,8 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2023-08-22 09:26+0200\n"
"PO-Revision-Date: 2023-08-08 07:14+0200\n"
"POT-Creation-Date: 2023-10-30 23:09+0100\n"
"PO-Revision-Date: 2023-06-17 11:47+0200\n"
"Last-Translator: Emir SARI <emir_sari@icloud.com>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
"Language: tr\n"
@@ -540,12 +540,12 @@ msgstr "(tanımlanmamış)"
msgid "current value"
msgstr "mevcut değer"
msgid "integer"
msgstr "tamsayı"
msgid "string"
msgstr "dizi"
msgid "integer"
msgstr "tamsayı"
msgid "any string"
msgstr "herhangi bir dizi"
@@ -558,9 +558,6 @@ msgstr "en çok karakter"
msgid "color"
msgstr "renk"
msgid "enum"
msgstr ""
#. TRANSLATORS: please do not translate "(null)"
msgid "undefined value allowed (null)"
msgstr "izin verilen tanımlanmamış değer (null)"
@@ -1528,53 +1525,13 @@ msgid ""
"screen"
msgstr "ekranın belirli alanlarındaki eylemleri yürütmek için serbest dolaşım"
#, fuzzy
#| msgid ""
#| "go chat|<bar>|<x>,<y> || move up|down|left|right|area_up|area_down|"
#| "area_left|area_right || stop"
msgid ""
"go chat|<bar> [top_left|top_right|bottom_left|bottom_right] || go <x>,<y> || "
"move up|down|left|right|top_left|top_right|bottom_left|bottom_right|edge_top|"
"edge_bottom|edge_left|edge_right|area_up|area_down|area_left|area_right || "
"stop"
"go chat|<bar>|<x>,<y> || move up|down|left|right|area_up|area_down|area_left|"
"area_right || stop"
msgstr ""
"go chat|<çubuk>|<x>,<y> || move up|down|left|right|area_up|area_down|"
"area_left|area_right || stop"
#, fuzzy
#| msgid ""
#| " go: move cursor to chat area, a bar (using bar name) or coordinates \"x,"
#| "y\"\n"
#| "move: move cursor with direction\n"
#| "stop: stop cursor mode\n"
#| "\n"
#| "Without argument, this command toggles cursor mode.\n"
#| "\n"
#| "When mouse is enabled (see /help mouse), by default a middle click will "
#| "start cursor mode at this point.\n"
#| "\n"
#| "Default keys in cursor mode on chat messages:\n"
#| " m quote message\n"
#| " q quote prefix + message\n"
#| " Q quote time + prefix + message\n"
#| "\n"
#| "Default keys in cursor mode on nicklist:\n"
#| " b ban nick (/ban)\n"
#| " k kick nick (/kick)\n"
#| " K kick and ban nick (/kickban)\n"
#| " q open query with nick (/query)\n"
#| " w query information about user (/whois)\n"
#| "\n"
#| "Other default keys in cursor mode:\n"
#| " arrow move cursor\n"
#| " alt+arrow move cursor to the next area\n"
#| " enter exit cursor mode\n"
#| "\n"
#| "Examples:\n"
#| " go to nicklist:\n"
#| " /cursor go nicklist\n"
#| " go to coordinates x=10, y=5:\n"
#| " /cursor go 10,5"
msgid ""
" go: move cursor to chat area, a bar (using bar name) or coordinates \"x,"
"y\"\n"
@@ -1604,8 +1561,6 @@ msgid ""
" enter exit cursor mode\n"
"\n"
"Examples:\n"
" go to the bottom left corner of chat area:\n"
" /cursor go chat bottom_left\n"
" go to nicklist:\n"
" /cursor go nicklist\n"
" go to coordinates x=10, y=5:\n"
@@ -5420,6 +5375,22 @@ msgstr "%s\"%s\" dosyası oluşturulamıyor"
msgid "%sError writing configuration file \"%s\""
msgstr "%s\"%s\" yapılandırma dosyası yazılırken hata"
#, fuzzy, c-format
#| msgid "%s: server %s%s%s has been copied to %s%s%s"
msgid "%sFile %s has been backed up as %s"
msgstr "%s: %s%s%s sunucusu %s%s%s konumuna kopyalandı"
#, fuzzy, c-format
#| msgid "%s%s: unable to load file \"%s\""
msgid "%sError: unable to backup file %s"
msgstr "%s%s: \"%s\" dosyası yüklenemiyor"
#, c-format
msgid ""
"%sImportant: file %s has been updated from version %d to %d, it is not "
"compatible and can not be loaded any more with any older version"
msgstr ""
#, c-format
msgid "%sWARNING: failed to read configuration file \"%s\" (%s)"
msgstr "%sUYARI: \"%s\" yapılandırma dosyası okunamadı (%s)"
@@ -5440,9 +5411,8 @@ msgstr "%s yapılandırma dosyası okunuyor"
msgid "%sWarning: %s, line %d: invalid syntax, missing \"]\""
msgstr "%sUyarı: %s, %d. satır: Geçersiz sözdizim, \"!\" eksik"
#, fuzzy, c-format
#| msgid "%sWarning: %s, line %d: unknown section identifier (\"%s\")"
msgid "%sWarning: %s, line %d: ignoring unknown section identifier (\"%s\")"
#, c-format
msgid "%sWarning: %s, line %d: unknown section identifier (\"%s\")"
msgstr "%sUyarı: %s, %d. satır: Bilinmeyen bölüm tanımlayıcısı (\"%s\")"
#, c-format
@@ -5457,21 +5427,16 @@ msgid ""
"of file is IGNORED, default options are used"
msgstr ""
#, fuzzy, c-format
#| msgid "%sWarning: %s, line %d: option outside section: %s"
msgid "%sWarning: %s, line %d: ignoring option outside section: %s"
#, c-format
msgid "%sWarning: %s, line %d: option outside section: %s"
msgstr "%sUyarı: %s, %d. satır: Bölüm dışı seçenek: %s"
#, fuzzy, c-format
#| msgid "%sWarning: %s, line %d: unknown option for section \"%s\": %s"
msgid "%sWarning: %s, line %d: ignoring unknown option for section \"%s\": %s"
#, c-format
msgid "%sWarning: %s, line %d: unknown option for section \"%s\": %s"
msgstr "%sUyarı: %s, %d. satır: \"%s\" bölümü için bilinmeyen seçenek: %s"
#, fuzzy, c-format
#| msgid "%sWarning: %s, line %d: invalid value for option: %s"
msgid ""
"%sWarning: %s, line %d: ignoring invalid value for option in section \"%s\": "
"%s"
#, c-format
msgid "%sWarning: %s, line %d: invalid value for option: %s"
msgstr "%sUyarı: %s, %d. satır: Seçenek için geçersiz değer: %s"
#, c-format
@@ -5523,6 +5488,11 @@ msgid ""
msgstr ""
"Hata: Geçici bir ev dizini oluşturulamıyor (kullanılan şablon: \"%s\")\n"
#, fuzzy
#| msgid "Environment variable \"%s\" is not defined"
msgid "Error: environment variable \"HOME\" is not defined\n"
msgstr "Ortam değişkeni \"%s\" tanımlanmamış"
#, c-format
msgid "Error: \"%s\" is not a directory\n"
msgstr "Hata: \"%s\" bir dizin değil\n"
@@ -6456,88 +6426,6 @@ msgstr ""
msgid "bar item with list of buffers"
msgstr "arabellek listesini içeren çubuk ögesi"
#, fuzzy
#| msgid ""
#| " enable: enable buflist\n"
#| "disable: disable buflist\n"
#| " toggle: toggle buflist\n"
#| " bar: add the \"buflist\" bar\n"
#| "refresh: force the refresh of the bar items (buflist, buflist2 and "
#| "buflist3)\n"
#| "\n"
#| "The lines with buffers are displayed using string evaluation (see /help "
#| "eval for the format), with these options:\n"
#| " - buflist.look.display_conditions: conditions to display a buffer in "
#| "the list\n"
#| " - buflist.format.buffer: format for a buffer which is not current "
#| "buffer\n"
#| " - buflist.format.buffer_current: format for the current buffer\n"
#| "\n"
#| "The following variables can be used in these options:\n"
#| " - bar item data (see hdata \"bar_item\" in API doc for a complete "
#| "list), for example:\n"
#| " - ${bar_item.name}\n"
#| " - window data, where the bar item is displayed (there's no window in "
#| "root bars, see hdata \"window\" in API doc for a complete list), for "
#| "example:\n"
#| " - ${window.number}\n"
#| " - ${window.buffer.full_name}\n"
#| " - buffer data (see hdata \"buffer\" in API doc for a complete list), "
#| "for example:\n"
#| " - ${buffer.number}\n"
#| " - ${buffer.name}\n"
#| " - ${buffer.full_name}\n"
#| " - ${buffer.short_name}\n"
#| " - ${buffer.nicklist_nicks_count}\n"
#| " - irc_server: IRC server data, defined only on an IRC buffer (see hdata "
#| "\"irc_server\" in API doc)\n"
#| " - irc_channel: IRC channel data, defined only on an IRC channel buffer "
#| "(see hdata \"irc_channel\" in API doc)\n"
#| " - extra variables added by buflist for convenience:\n"
#| " - ${format_buffer}: the evaluated value of option buflist.format."
#| "buffer; this can be used in option buflist.format.buffer_current to just "
#| "change the background color for example\n"
#| " - ${current_buffer}: a boolean (\"0\" or \"1\"), \"1\" if this is the "
#| "current buffer; it can be used in a condition: ${if:"
#| "${current_buffer}?...:...}\n"
#| " - ${merged}: a boolean (\"0\" or \"1\"), \"1\" if the buffer is "
#| "merged with at least another buffer; it can be used in a condition: ${if:"
#| "${merged}?...:...}\n"
#| " - ${format_number}: indented number with separator (evaluation of "
#| "option buflist.format.number)\n"
#| " - ${number}: indented number, for example \" 1\" if there are between "
#| "10 and 99 buffers; for merged buffers, this variable is set with number "
#| "for the first buffer and spaces for the next buffers with same number\n"
#| " - ${number2}: indented number, for example \" 1\" if there are "
#| "between 10 and 99 buffers\n"
#| " - ${number_displayed}: \"1\" if the number is displayed, otherwise "
#| "\"0\"\n"
#| " - ${indent}: indentation for name (channel and private buffers are "
#| "indented) (evaluation of option buflist.format.indent)\n"
#| " - ${format_nick_prefix}: colored nick prefix for a channel "
#| "(evaluation of option buflist.format.nick_prefix)\n"
#| " - ${color_nick_prefix}: color of nick prefix for a channel (set only "
#| "if the option buflist.look.nick_prefix is enabled)\n"
#| " - ${nick_prefix}: nick prefix for a channel (set only if the option "
#| "buflist.look.nick_prefix is enabled)\n"
#| " - ${format_name}: formatted name (evaluation of option buflist.format."
#| "name)\n"
#| " - ${name}: the short name (if set), with a fallback on the name\n"
#| " - ${color_hotlist}: the color depending on the highest hotlist level "
#| "for the buffer (evaluation of option buflist.format.hotlist_xxx where xxx "
#| "is the level)\n"
#| " - ${format_hotlist}: the formatted hotlist (evaluation of option "
#| "buflist.format.hotlist)\n"
#| " - ${hotlist}: the raw hotlist\n"
#| " - ${hotlist_priority}: \"none\", \"low\", \"message\", \"private\" or "
#| "\"highlight\"\n"
#| " - ${hotlist_priority_number}: -1 = none, 0 = low, 1 = message, 2 = "
#| "private, 3 = highlight\n"
#| " - ${format_lag}: the lag for an IRC server buffer, empty if there's "
#| "no lag (evaluation of option buflist.format.lag)\n"
#| " - ${format_tls_version}: indicator of TLS version for a server "
#| "buffer, empty for channels (evaluation of option buflist.format."
#| "tls_version)"
msgid ""
" enable: enable buflist\n"
"disable: disable buflist\n"
@@ -6591,7 +6479,7 @@ msgid ""
"10 and 99 buffers\n"
" - ${number_displayed}: \"1\" if the number is displayed, otherwise "
"\"0\"\n"
" - ${indent}: indentation for name (channel, private and list buffers are "
" - ${indent}: indentation for name (channel and private buffers are "
"indented) (evaluation of option buflist.format.indent)\n"
" - ${format_nick_prefix}: colored nick prefix for a channel (evaluation "
"of option buflist.format.nick_prefix)\n"
@@ -6819,15 +6707,10 @@ msgstr ""
"yalnızca buflist ögeleri arasında ayrım yapmak için kullanılabilecek tek "
"değişkendir; örneğin: \"${bar_item.name}\")"
#, fuzzy
#| msgid ""
#| "number of buflist bar items that can be used; the item names are: "
#| "\"buflist\", \"buflist2\", \"buflist3\"; be careful, using more than one "
#| "bar item slows down the display of buffers list"
msgid ""
"number of buflist bar items that can be used; the item names are: "
"\"buflist\", \"buflist2\", \"buflist3\", \"buflist4\" and \"buflist5\"; be "
"careful, using more than one bar item slows down the display of buffers list"
"\"buflist\", \"buflist2\", \"buflist3\"; be careful, using more than one bar "
"item slows down the display of buffers list"
msgstr ""
"kullanılabilecek buflist çubuk ögelerinin sayısı; öge adları: \"buflist\", "
"\"buflist2\", \"buflist3\"; dikkatli olun, birden çok çubuk ögesi kullanmak "
@@ -6900,13 +6783,9 @@ msgstr ""
"sıcak listedeki sayımlar için ayırıcı (not: içerik değerlendirilir, bkz. /"
"help buflist)"
#, fuzzy
#| msgid ""
#| "string displayed to indent channel and private buffers (note: content is "
#| "evaluated, see /help buflist)"
msgid ""
"string displayed to indent channel, private and list buffers (note: content "
"is evaluated, see /help buflist)"
"string displayed to indent channel and private buffers (note: content is "
"evaluated, see /help buflist)"
msgstr ""
"kanal ve özel arabellekleri girintilendirmek için görüntülenen dizi (not: "
"içerik değerlendirilir, bkz. /help buflist)"
@@ -7418,8 +7297,8 @@ msgstr "değerler:"
#. TRANSLATORS: "%s%s%s:" at beginning of string it the name of option
#, c-format
msgid "%s%s%s: %s%s%s %s[%s%s]%s"
msgstr "%s%s%s: %s%s%s %s[%s%s]%s"
msgid "%s%s%s: %s %s[%s%s]%s"
msgstr "%s%s%s: %s %s[%s%s]%s"
msgid "(no description)"
msgstr "(açıklama yok)"
@@ -7665,9 +7544,9 @@ msgid ""
" -go: select a line by number, first line number is 0 (\"end\" to "
"select the last line)\n"
" -toggle: toggle the boolean value\n"
" -add: add \"value\" (which can be a negative number) for integers, "
"colors and enums, set/append to value for other types (set for a negative "
"value, append for a positive value)\n"
" -add: add \"value\" (which can be a negative number) for integers and "
"colors, set/append to value for other types (set for a negative value, "
"append for a positive value)\n"
" -reset: reset the value of option\n"
" -unset: unset the option\n"
" -set: add the /set command in input to edit the value of option (move "
@@ -7689,8 +7568,7 @@ msgid ""
" * show all options (no filter)\n"
" xxx show only options with \"xxx\" in name\n"
" f:xxx show only configuration file \"xxx\"\n"
" t:xxx show only type \"xxx\" (bool/int/str/col/enum or "
"boolean/integer/string/color/enum)\n"
" t:xxx show only type \"xxx\" (bool/int/str/col)\n"
" d show only changed options\n"
" d:xxx show only changed options with \"xxx\" in name\n"
" d=xxx show only changed options with \"xxx\" in value\n"
@@ -7703,11 +7581,10 @@ msgid ""
" ==xxx show only options with exact value \"xxx\"\n"
" c:xxx show only options matching the evaluated condition "
"\"xxx\", using following variables: file, section, option, name, "
"parent_name, type, type_en, type_short (bool/int/str/col/enum), type_tiny (b/"
"i/s/c/e), default_value, default_value_undef, value, quoted_value, "
"value_undef, value_changed, parent_value, min, max, description, "
"description2, description_en, description_en2, string_values, "
"allowed_values\n"
"parent_name, type, type_en, type_short (bool/int/str/col), type_tiny (b/i/s/"
"c), default_value, default_value_undef, value, quoted_value, value_undef, "
"value_changed, parent_value, min, max, description, description2, "
"description_en, description_en2, string_values\n"
"\n"
"The lines with options are displayed using string evaluation (see /help eval "
"for the format), with these options:\n"
@@ -7723,8 +7600,8 @@ msgid ""
" - ${parent_name}: parent option name\n"
" - ${type}: option type (translated)\n"
" - ${type_en}: option type (in English)\n"
" - ${type_short}: short option type (bool/int/str/col/enum)\n"
" - ${type_tiny}: tiny option type (b/i/s/c/e)\n"
" - ${type_short}: short option type (bool/int/str/col)\n"
" - ${type_tiny}: tiny option type (b/i/s/c)\n"
" - ${default_value}: option default value\n"
" - ${default_value_undef}: \"1\" if default value is null, otherwise "
"\"0\"\n"
@@ -7742,8 +7619,8 @@ msgid ""
" - ${description_en}: option description (in English)\n"
" - ${description_en2}: option description (in English), \"(no "
"description)\" if there's no description\n"
" - ${string_values}: string values allowed for set of an enum option\n"
" - ${allowed_values}: allowed values\n"
" - ${string_values}: string values allowed for set of an integer option "
"using strings\n"
" - ${marked}: \"1\" if option is marked, otherwise \"0\"\n"
" - ${index}: index of option in list\n"
" - option data, with color but no spaces:\n"
@@ -7772,9 +7649,9 @@ msgid ""
"\n"
"Keys and input to set options on fset buffer:\n"
" alt+space t toggle boolean value\n"
" alt+'-' - subtract 1 from value for integer/color/enum, "
"set value for other types\n"
" alt+'+' + add 1 to value for integer/color/enum, append to "
" alt+'-' - subtract 1 from value for integer/color, set "
"value for other types\n"
" alt+'+' + add 1 to value for integer/color, append to "
"value for other types\n"
" alt+f, alt+r r reset value\n"
" alt+f, alt+u u unset value\n"
@@ -7798,8 +7675,10 @@ msgid ""
" alt+p p toggle plugin description options (plugins.desc."
"*)\n"
" alt+v v toggle help bar\n"
" s:x,y sort options by fields x,y (see above)\n"
" s: reset sort to its default value (see above)\n"
" s:x,y sort options by fields x,y (see /help fset.look."
"sort)\n"
" s: reset sort to its default value (see /help fset."
"look.sort)\n"
" w:xxx export options in file \"xxx\"\n"
" w-:xxx export options in file \"xxx\" without help\n"
" w+:xxx export options in file \"xxx\" with help\n"
@@ -7811,8 +7690,8 @@ msgid ""
" left button move line here\n"
" right button toggle boolean (on/off) or edit the option "
"value\n"
" right button + drag left/right increase/decrease value for integer/color/"
"enum, set/append to value for other types\n"
" right button + drag left/right increase/decrease value for integer/color, "
"set/append to value for other types\n"
" right button + drag up/down mark/unmark multiple options\n"
"\n"
"Note: if input has one or more leading spaces, the following text is "
@@ -8164,14 +8043,6 @@ msgstr ""
"değerlendirilmediğinden çok daha hızlı olur; biçimler, ctrl+X ile birbiri "
"arasında değiştirilebilir"
msgid "color for allowed values"
msgstr "izin verilen değerler rengi"
#, fuzzy
#| msgid "color for max value on the selected line"
msgid "color for allowed values on the selected line"
msgstr "seçili satırdaki en büyük değer rengi"
msgid "color for color name when option fset.look.use_color_value is enabled"
msgstr ""
@@ -8222,6 +8093,9 @@ msgstr "yardım çubuğundaki ad rengi"
msgid "color for quotes around string values"
msgstr "dizi değerlerinin çevresindeki tırnak imi rengi"
msgid "color for allowed values"
msgstr "izin verilen değerler rengi"
msgid "color for index of option"
msgstr "bir seçenek indeksi rengi"
@@ -8398,11 +8272,6 @@ msgstr "seçenek adı (\"*\" jokerine izin verilir) (isteğe bağlı)"
msgid "fset options"
msgstr "fset seçenekleri"
#, fuzzy
#| msgid "color"
msgid "any color"
msgstr "renk"
#, c-format
msgid "%s%s: script \"%s\" already registered (register ignored)"
msgstr "%s%s: \"%s\" betiği halihazırda kayıt edilmiş (kaydetme yok sayıldı)"
@@ -8712,9 +8581,6 @@ msgstr "%s%s: Düzenli ifade için yetersiz bellek"
msgid "%s%s: \"%s\" is not a valid regular expression (%s)"
msgstr "%s%s: \"%s\", geçerli bir düzenli ifade değil (%s)"
msgid "Receiving list of channels, please wait..."
msgstr ""
#, c-format
msgid ""
"%s%s: you must specify channel for \"%s\" command if you're not in a channel"
@@ -9284,10 +9150,10 @@ msgid ""
"\n"
"Without argument, \"ls\" and \"list\" are sent.\n"
"\n"
"Capabilities supported by WeeChat are: account-notify, account-tag, away-"
"notify, batch, cap-notify, chghost, draft/multiline, echo-message, extended-"
"join, invite-notify, message-tags, multi-prefix, server-time, setname, "
"userhost-in-names.\n"
"Capabilities supported by WeeChat are: account-notify, away-notify, batch, "
"cap-notify, chghost, draft/multiline, echo-message, extended-join, invite-"
"notify, message-tags, multi-prefix, server-time, setname, userhost-in-"
"names.\n"
"\n"
"The capabilities to automatically enable on servers can be set in option irc."
"server_default.capabilities (or by server in option irc.server.xxx."
@@ -9767,12 +9633,7 @@ msgstr ""
msgid "list channels and their topics"
msgstr "kanalları ve konularını listele"
#, fuzzy
#| msgid ""
#| "[-server <server>] [-re <regex>] [<channel>[,<channel>...]] [<target>]"
msgid ""
"[-server <server>] [-re <regex>] [<channel>[,<channel>...]] [<target>] || -"
"up|-down [<number>] || -left|-right [<percent>] || -go <line>|end || -join"
msgid "[-server <server>] [-re <regex>] [<channel>[,<channel>...]] [<target>]"
msgstr "[-server <sunucu>] [-re <ifade>] [<kanal>[,<kanal>...]] [<hedef>]"
msgid ""
@@ -9781,68 +9642,30 @@ msgid ""
"insensitive, can start by \"(?-i)\" to become case sensitive)\n"
"channel: channel to list\n"
" target: server name\n"
" -up: move the selected line up by \"number\" lines\n"
" -down: move the selected line down by \"number\" lines\n"
" -left: scroll the /list buffer by \"percent\" of width on the left\n"
" -right: scroll the /list buffer by \"percent\" of width on the right\n"
" -go: select a line by number, first line number is 0 (\"end\" to select "
"the last line)\n"
" -join: join the channel on the selected line\n"
"\n"
"Keys and input on /list buffer:\n"
" up move one line up\n"
" down move one line down\n"
" pgup move one page up\n"
" pgdn move one page down\n"
" alt-home << move to first line\n"
" alt-end >> move to last line\n"
" F11 < scroll horizontally on the left\n"
" F12 > scroll horizontally on the right\n"
" * show all channels (no filter)\n"
" xxx show only channels with \"xxx\" in name or topic "
"(case insensitive)\n"
" n:xxx show only channels with \"xxx\" in name (case "
"insensitive)\n"
" t:xxx show only channels with \"xxx\" in topic (case "
"insensitive)\n"
" u:n show only channels with at least \"n\" users\n"
" u:>n show only channels with more than \"n\" users\n"
" u:<n show only channels with less than \"n\" users\n"
" c:xxx show only channels matching the evaluated "
"condition \"xxx\", using following variables: name, name2, users, topic\n"
" ctrl-j j join channel on selected line\n"
" s:x,y sort channels by fields x,y (see below)\n"
" s: reset sort to its default value (see below)\n"
" $ refresh list (run again command /list)\n"
" q close buffer\n"
"\n"
"Sort keys on /list buffer:\n"
" name channel name (eg: \"##test\")\n"
" name2 channel name without prefix (eg: \"test\")\n"
" users number of users on channel\n"
" topic channel topic\n"
"\n"
"Examples:\n"
" list all channels on server and display them in a dedicated buffer (can be "
"slow on large networks):\n"
" list all channels on server (can be very slow on large networks):\n"
" /list\n"
" list channel #weechat:\n"
" /list #weechat\n"
" list all channels beginning with \"#weechat\" (can be very slow on large "
"networks):\n"
" /list -re #weechat.*\n"
" on /list buffer:\n"
" channels with \"weechat\" in name:\n"
" n:weechat\n"
" channels with at least 100 users:\n"
" u:100\n"
" channels with \"freebsd\" (case insensitive) in topic and more than 10 "
"users:\n"
" c:${topic} =- freebsd && ${users} > 10\n"
" sort channels by users (big channels first), then name2 (name without "
"prefix):\n"
" s:-users,name2"
" /list -re #weechat.*"
msgstr ""
" sunucu: Bunu sunucuya gönder (içsel ad)\n"
" ifade: Sonuçları süzmek için kullanılan POSIX genişletilmiş düzenli "
"ifadesi (BÜYÜK/küçük harf duyarsız, duyarlı yapmak için \"(?-i)\" ile "
"başlayabilir)\n"
" kanal: Listelenecek kanal\n"
" hedef: Sunucu adı\n"
"\n"
"Örnekler:\n"
" bir sunucudaki tüm kanalları listele (büyük ağlarda çok yavaş olabilir):\n"
" /list\n"
" #weechat kanalını listele:\n"
" /list #weechat\n"
" \"#weechat\" ile başlayan tüm kanalları listele (yavaş olabilir):\n"
" /list -re #weechat.*"
msgid "get statistics about the size of the IRC network"
msgstr "IRC ağının büyüklüğü hakkındaki istatistikleri al"
@@ -10782,22 +10605,12 @@ msgid ""
"ctcp.%s\" will not work"
msgstr ""
#, fuzzy
#| msgid ""
#| "format for CTCP reply or empty string for blocking CTCP (no reply), "
#| "following variables are replaced: $version (WeeChat version), "
#| "$compilation (compilation date), $osinfo (info about OS), $site (WeeChat "
#| "site), $download (WeeChat site, download page), $time (current date and "
#| "time as text), $username (username on server), $realname (realname on "
#| "server)"
msgid ""
"format for CTCP reply or empty string for blocking CTCP (no reply); content "
"is evaluated, see /help eval; following variables are replaced: "
"${clientinfo}: list of supported CTCP, ${version}: WeeChat version, ${git}: "
"Git version, ${versiongit}: WeeChat version and Git version, ${compilation}: "
"compilation date, ${osinfo}: info about OS, ${site}: WeeChat site, "
"${download}: WeeChat site, download page, ${time}: current date and time as "
"text, ${username}: username on server, ${realname}: realname on server"
"format for CTCP reply or empty string for blocking CTCP (no reply), "
"following variables are replaced: $version (WeeChat version), $compilation "
"(compilation date), $osinfo (info about OS), $site (WeeChat site), $download "
"(WeeChat site, download page), $time (current date and time as text), "
"$username (username on server), $realname (realname on server)"
msgstr ""
"CTCP yanıtı veya CTCP'yi engellemek için kullanılan dizi biçimi (yanıt yok), "
"şu değişkenler yenileriyle değiştirilir: $version (WeeChat sürümü), "
@@ -11262,11 +11075,6 @@ msgstr "%s%s: \"%s\" sunucu seçeneği oluşturulurken hata"
msgid "IRC option renamed: \"irc.%s.%s\" => \"irc.%s.%s\""
msgstr ""
#, fuzzy, c-format
#| msgid "Command for key: \"%s\""
msgid "IRC CTCP format converted for \"%s\": \"%s\" => \"%s\""
msgstr "Düğme komutu: \"%s\""
msgid ""
"open channel buffer before the JOIN is received from server when it is auto "
"joined (with server option \"autojoin\"); this is useful to open channels "
@@ -11488,34 +11296,6 @@ msgstr ""
"komutundaki kanal adının önüne kendiliğinden kanal türünü ekle; örneğin: \"/"
"join weechat\" komutu \"/join #weechat\" olarak algılanacaktır"
#, fuzzy
#| msgid "left/right scroll in fset buffer (percent of width)"
msgid "left/right scroll in /list buffer (percent of width)"
msgstr "fset arabelleğinde sola/sağa kaydırma (genişlik yüzdesi)"
#, fuzzy
#| msgid ""
#| "comma-separated list of fields to sort options (see /help fset for a list "
#| "of fields); char \"-\" can be used before field to reverse order, char "
#| "\"~\" can be used to do a case insensitive comparison; example: \"-"
#| "~name\" for case insensitive and reverse sort on option name"
msgid ""
"comma-separated list of fields to sort channels (see /help list for a list "
"of fields); char \"-\" can be used before field to reverse order, char \"~\" "
"can be used to do a case insensitive comparison; example: \"-count,~name\" "
"for biggest channels first then case insensitive sort on name"
msgstr ""
"seçenekleri sıralamak için kullanılan alanların virgülle ayrılmış listesi "
"(alanların bir listesi için bkz. /help fset); sıralamayı tersine çevirmek "
"için \"-\" karakteri, BÜYÜK/küçük harf duyarsız bir kıyaslama yapmak için "
"\"~\" karakteri kullanılabilir; örnek: seçenek adında BÜYÜK/küçük harf "
"duyarsız ve ters sıralama yapmak için \"-~ad\" kullanın"
#, fuzzy
#| msgid "text color in script buffer"
msgid "strip channel topic colors in /list buffer"
msgstr "betik arabelleği metin rengi"
msgid ""
"default target buffer for msgbuffer options when target is private and that "
"private buffer is not found"
@@ -11532,20 +11312,6 @@ msgstr ""
"(son arabellek olur), next = geçerli arabellek + 1, near_server = sunucunun "
"son kanalından/özel arabelleğinden sonra)"
#, fuzzy
#| 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)"
msgid ""
"force position of new /list buffer in list of buffers (none = default "
"position (should be last buffer), next = current buffer + 1, near_server = "
"after last channel/pv of server)"
msgstr ""
"arabellek listesinde yeni özel arabelleğin konumunu zorla (none = öntanımlı "
"konum (son arabellek olur), next = geçerli arabellek + 1, near_server = "
"sunucunun son kanalından/özel arabelleğinden sonra)"
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 "
@@ -11632,6 +11398,10 @@ msgstr ""
"kullanılan etiketlerin virgülle ayrılmış listesi (komut whois'inin sonucu); "
"örneğin: \"notify_message\", \"notify_private\" veya \"notify_highlight\""
msgid ""
"open a private buffer on self message when capability echo-message is enabled"
msgstr ""
msgid "close buffer when /part is issued on a channel"
msgstr "bir kanalda /part verildiğinde arabelleği kapat"
@@ -11783,16 +11553,6 @@ msgid "color for higher supported TLS version in bar item \"tls_version\""
msgstr ""
"\"tls_version\" bar ögesindeki daha yükseği desteklenen TLS sürümleri rengi"
#, fuzzy
#| msgid "text color for selected line in script buffer"
msgid "color for selected line on /list buffer"
msgstr "betik arabelleği seçili satır metin rengi"
#, fuzzy
#| msgid "background color for selected line in script buffer"
msgid "background color for selected line on /list buffer"
msgstr "betik arabelleği seçili satır arka plan rengi"
msgid "color for text in account messages"
msgstr "hesap iletilerindeki metin rengi"
@@ -12218,12 +11978,6 @@ msgstr "irc sunucusu"
msgid "irc batch"
msgstr "irc kanalı"
msgid "irc channel on /list buffer"
msgstr ""
msgid "irc data for /list buffer"
msgstr ""
#, c-format
msgid "%sCTCP query to %s%s%s: %s%s%s%s%s"
msgstr "%s%s%s%s konumuna CTCP sorgusu: %s%s%s%s%s"
@@ -12236,17 +11990,6 @@ msgstr "%s%s: Sunucuya bağlı değilsiniz"
msgid "%s%s: this buffer is not a channel!"
msgstr "%s%s: Bu arabellek bir kanal değil!"
#, c-format
msgid ""
"%d channels (total: %d) | Filter: %s | Sort: %s | Key(input): ctrl+j=join "
"channel, ($)=refresh, (q)=close buffer"
msgstr ""
#, fuzzy, c-format
#| msgid "%s%s: error in function \"%s\""
msgid "%s%s: error in redirection of /list: %s"
msgstr "%s%s: \"%s\" işlevinde hata"
#, c-format
msgid "%s%s: cannot allocate new modelist"
msgstr "%s%s: Yeni kip listesi için yer ayrılamıyor"
@@ -13659,14 +13402,6 @@ msgstr ""
"Sunuculara kendiliğinden bağlantı etkinleştirilmişse 1, kullanıcı ayarı ile "
"devre dışı bırakılmışsa 0 (\"-a\" veya \"--no-connect\" seçeneği)"
msgid "buffer pointer"
msgstr "arabellek işaretçisi"
#, fuzzy
#| msgid "buffer local variables"
msgid "buffer full name"
msgstr "arabellek yerel değişkenleri"
msgid "terminal charset"
msgstr "uçbirim karakter seti"
@@ -13828,6 +13563,9 @@ msgstr "arabellek adı (\"*\" jokerine izin verilir) (isteğe bağlı)"
msgid "lines of a buffer"
msgstr "bir arabelleğin satırları"
msgid "buffer pointer"
msgstr "arabellek işaretçisi"
msgid "list of filters"
msgstr "süzgeçlerin listesi"
@@ -15074,6 +14812,10 @@ msgstr "%s: \"%s\" betiği yüklenmedi"
msgid "%s: script \"%s\" not found"
msgstr "%s: \"%s\" betiği bulunamadı"
#, c-format
msgid "%s: script \"%s\" is not installed"
msgstr "%s: \"%s\" betiği kurulu değil"
#, c-format
msgid "%s: autoload enabled for script \"%s\""
msgstr "%s: \"%s\" betiği için kendiliğinden yükleme etkin"
@@ -15095,10 +14837,6 @@ msgstr "%s: \"%s\" betiği kurulamadı; çünkü \"%s\" eklentisi yüklü değil
msgid "%s: downloading script \"%s\"..."
msgstr "%s: \"%s\" betiği indiriliyor..."
#, c-format
msgid "%s: script \"%s\" is not installed"
msgstr "%s: \"%s\" betiği kurulu değil"
#, c-format
msgid "%s: script \"%s\" is held"
msgstr "%s: \"%s\" betiği tutuluyor"
@@ -15232,109 +14970,17 @@ msgstr ""
msgid "WeeChat script manager"
msgstr "WeeChat betik yöneticisi"
#, fuzzy
#| msgid ""
#| "list [-o|-ol|-i|-il] || search <text> || show <script> || load|unload|"
#| "reload <script> [<script>...] || autoload|noautoload|toggleautoload "
#| "<script> [<script>...] || install|remove|installremove|hold [-q] <script> "
#| "[<script>...] || upgrade || update"
msgid ""
"list [-o|-ol|-i|-il] || search <text> || show <script> || load|unload|reload "
"<script> [<script>...] || autoload|noautoload|toggleautoload <script> "
"[<script>...] || install|remove|installremove|hold [-q] <script> "
"[<script>...] || upgrade || update || up|down [<number>] || go <line>|end"
"[<script>...] || upgrade || update"
msgstr ""
"list [-o|-ol|-i|-il] || search <metin> || show <betik> || load|unload|reload "
"<betik> [<betik>...] || autoload|noautoload|toggleautoload <betik> "
"[<betik>...] || install|remove|installremove|hold [-q] <betik> [<betik>...] "
"|| upgrade || update"
#, fuzzy
#| msgid ""
#| " list: list loaded scripts (all languages)\n"
#| " -o: send list of loaded scripts to buffer (string in "
#| "English)\n"
#| " -ol: send list of loaded scripts to buffer (translated "
#| "string)\n"
#| " -i: copy list of loaded scripts in command line (for sending "
#| "to buffer) (string in English)\n"
#| " -il: copy list of loaded scripts in command line (for sending "
#| "to buffer) (translated string)\n"
#| " search: search scripts by tags, language (python, perl, ...), "
#| "filename extension (py, pl, ...) or text; result is displayed on scripts "
#| "buffer\n"
#| " show: show detailed info about a script\n"
#| " load: load script(s)\n"
#| " unload: unload script(s)\n"
#| " reload: reload script(s)\n"
#| " autoload: autoload the script\n"
#| " noautoload: do not autoload the script\n"
#| "toggleautoload: toggle autoload\n"
#| " install: install/upgrade script(s)\n"
#| " remove: remove script(s)\n"
#| " installremove: install or remove script(s), depending on current state\n"
#| " hold: hold/unhold script(s) (a script held will not be upgraded "
#| "any more and cannot be removed)\n"
#| " -q: quiet mode: do not display messages\n"
#| " upgrade: upgrade all installed scripts which are obsolete (new "
#| "version available)\n"
#| " update: update local scripts cache\n"
#| "\n"
#| "Without argument, this command opens a buffer with list of scripts.\n"
#| "\n"
#| "On script buffer, the possible status for each script are:\n"
#| " * i a H r N\n"
#| " | | | | | |\n"
#| " | | | | | obsolete (new version available)\n"
#| " | | | | running (loaded)\n"
#| " | | | held\n"
#| " | | autoloaded\n"
#| " | installed\n"
#| " popular script\n"
#| "\n"
#| "In output of /script list, the possible status for each script are:\n"
#| " * ? i a H N\n"
#| " | | | | | |\n"
#| " | | | | | obsolete (new version available)\n"
#| " | | | | held\n"
#| " | | | autoloaded\n"
#| " | | installed\n"
#| " | unknown script (can not be downloaded/updated)\n"
#| " popular script\n"
#| "\n"
#| "Keys on script buffer:\n"
#| " alt+i install script\n"
#| " alt+r remove script\n"
#| " alt+l load script\n"
#| " alt+L reload script\n"
#| " alt+u unload script\n"
#| " alt+A autoload script\n"
#| " alt+h (un)hold script\n"
#| " alt+v view script\n"
#| "\n"
#| "Input allowed on script buffer:\n"
#| " i/r/l/L/u/A/h/v action on script (same as keys above)\n"
#| " q close buffer\n"
#| " $ refresh buffer\n"
#| " s:x,y sort buffer using keys x and y (see /help script.look."
#| "sort)\n"
#| " s: reset sort (use default sort)\n"
#| " word(s) filter scripts: search word(s) in scripts "
#| "(description, tags, ...)\n"
#| " * remove filter\n"
#| "\n"
#| "Mouse actions on script buffer:\n"
#| " wheel scroll list\n"
#| " left button select script\n"
#| " right button install/remove script\n"
#| "\n"
#| "Examples:\n"
#| " /script search url\n"
#| " /script install go.py urlserver.py\n"
#| " /script remove go.py\n"
#| " /script hold urlserver.py\n"
#| " /script reload urlserver\n"
#| " /script upgrade"
msgid ""
" list: list loaded scripts (all languages)\n"
" -o: send list of loaded scripts to buffer (string in English)\n"
@@ -15362,10 +15008,6 @@ msgid ""
" upgrade: upgrade all installed scripts which are obsolete (new "
"version available)\n"
" update: update local scripts cache\n"
" up: move the selected line up by \"number\" lines\n"
" down: move the selected line down by \"number\" lines\n"
" go: select a line by number, first line number is 0 (\"end\" to "
"select the last line)\n"
"\n"
"Without argument, this command opens a buffer with list of scripts.\n"
"\n"
@@ -16085,24 +15727,6 @@ msgstr "%s%s%s: %s %s[%s%s]%s"
msgid "No trigger defined"
msgstr "Tanımlanan bir tetik yok"
#, fuzzy
#| msgid "Triggers enabled"
msgid "Triggers enabled:"
msgstr "Tetikler etkin"
#, fuzzy
#| msgid "default: "
msgid "default"
msgstr "öntanımlı: "
msgid "custom"
msgstr ""
#, fuzzy
#| msgid "Triggers enabled"
msgid "No triggers enabled"
msgstr "Tetikler etkin"
msgid "List of default triggers:"
msgstr "Öntanımlı tetiklerin listesi:"
@@ -16246,18 +15870,8 @@ msgstr ""
msgid "manage triggers, the Swiss Army knife for WeeChat"
msgstr "WeeChat'in İsviçre Çakısı olan tetikleri yönetin"
#, fuzzy
#| msgid ""
#| "list|listfull|listdefault || add|addoff|addreplace <name> <hook> "
#| "[\"<arguments>\" [\"<conditions>\" [\"<regex>\" [\"<command>\" [\"<return_code>\" [\"<post_action>\"]]]]]] "
#| "|| addinput [<hook>] || input|output|recreate <name> || set <name> "
#| "<option> <value> || rename|copy <name> <new_name> || enable|disable|"
#| "toggle [<name>|-all [<name>...]] || restart <name>|-all [<name>...] || "
#| "show <name> || del <name>|-all [<name>...] || restore <name> [<name>...] "
#| "|| default -yes || monitor [<filter>]"
msgid ""
"list [-o|-ol|-i|-il] || listfull || listdefault || add|addoff|addreplace "
"<name> <hook> "
"list|listfull|listdefault || add|addoff|addreplace <name> <hook> "
"[\"<arguments>\" [\"<conditions>\" [\"<regex>\" [\"<command>\" [\"<return_code>\" [\"<post_action>\"]]]]]] "
"|| addinput [<hook>] || input|output|recreate <name> || set <name> <option> "
"<value> || rename|copy <name> <new_name> || enable|disable|toggle [<name>|-"
@@ -16275,12 +15889,6 @@ msgstr ""
#, fuzzy
msgid ""
" list: list triggers (without argument, this list is displayed)\n"
" -o: send list of triggers enabled to buffer (string in English)\n"
" -ol: send list of triggers enabled to buffer (translated string)\n"
" -i: copy list of triggers enabled in command line (for sending to "
"buffer) (string in English)\n"
" -il: copy list of triggers enabled in command line (for sending to "
"buffer) (translated string)\n"
" listfull: list triggers with detailed info for each trigger\n"
"listdefault: list default triggers\n"
" add: add a trigger\n"
@@ -17119,45 +16727,3 @@ msgstr "%s%s: \"%s\" için %s ile zaman aşımı"
#, c-format
msgid "%s%s: unable to connect: unexpected error (%d)"
msgstr "%s%s: Bağlanılamıyor: Beklenmedik hata (%d)"
#, fuzzy
#~| msgid "color for section"
#~ msgid "color for selected line"
#~ msgstr "bölüm rengi"
#, fuzzy
#~| msgid "background color for selected line in script buffer"
#~ msgid "background color for selected line"
#~ msgstr "betik arabelleği seçili satır arka plan rengi"
#~ msgid ""
#~ " server: send to this server (internal name)\n"
#~ " regex: POSIX extended regular expression used to filter results (case "
#~ "insensitive, can start by \"(?-i)\" to become case sensitive)\n"
#~ "channel: channel to list\n"
#~ " target: server name\n"
#~ "\n"
#~ "Examples:\n"
#~ " list all channels on server (can be very slow on large networks):\n"
#~ " /list\n"
#~ " list channel #weechat:\n"
#~ " /list #weechat\n"
#~ " list all channels beginning with \"#weechat\" (can be very slow on "
#~ "large networks):\n"
#~ " /list -re #weechat.*"
#~ msgstr ""
#~ " sunucu: Bunu sunucuya gönder (içsel ad)\n"
#~ " ifade: Sonuçları süzmek için kullanılan POSIX genişletilmiş düzenli "
#~ "ifadesi (BÜYÜK/küçük harf duyarsız, duyarlı yapmak için \"(?-i)\" ile "
#~ "başlayabilir)\n"
#~ " kanal: Listelenecek kanal\n"
#~ " hedef: Sunucu adı\n"
#~ "\n"
#~ "Örnekler:\n"
#~ " bir sunucudaki tüm kanalları listele (büyük ağlarda çok yavaş "
#~ "olabilir):\n"
#~ " /list\n"
#~ " #weechat kanalını listele:\n"
#~ " /list #weechat\n"
#~ " \"#weechat\" ile başlayan tüm kanalları listele (yavaş olabilir):\n"
#~ " /list -re #weechat.*"
+81 -205
View File
@@ -21,7 +21,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2023-08-22 09:26+0200\n"
"POT-Creation-Date: 2023-10-30 23:09+0100\n"
"PO-Revision-Date: 2014-08-16 10:27+0200\n"
"Last-Translator: Sébastien Helleu <flashcode@flashtux.org>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -442,10 +442,10 @@ msgstr ""
msgid "current value"
msgstr ""
msgid "integer"
msgid "string"
msgstr ""
msgid "string"
msgid "integer"
msgstr ""
msgid "any string"
@@ -460,9 +460,6 @@ msgstr ""
msgid "color"
msgstr ""
msgid "enum"
msgstr ""
#. TRANSLATORS: please do not translate "(null)"
msgid "undefined value allowed (null)"
msgstr ""
@@ -1193,10 +1190,8 @@ msgid ""
msgstr ""
msgid ""
"go chat|<bar> [top_left|top_right|bottom_left|bottom_right] || go <x>,<y> || "
"move up|down|left|right|top_left|top_right|bottom_left|bottom_right|edge_top|"
"edge_bottom|edge_left|edge_right|area_up|area_down|area_left|area_right || "
"stop"
"go chat|<bar>|<x>,<y> || move up|down|left|right|area_up|area_down|area_left|"
"area_right || stop"
msgstr ""
msgid ""
@@ -1228,8 +1223,6 @@ msgid ""
" enter exit cursor mode\n"
"\n"
"Examples:\n"
" go to the bottom left corner of chat area:\n"
" /cursor go chat bottom_left\n"
" go to nicklist:\n"
" /cursor go nicklist\n"
" go to coordinates x=10, y=5:\n"
@@ -3631,6 +3624,20 @@ msgstr ""
msgid "%sError writing configuration file \"%s\""
msgstr ""
#, c-format
msgid "%sFile %s has been backed up as %s"
msgstr ""
#, c-format
msgid "%sError: unable to backup file %s"
msgstr ""
#, c-format
msgid ""
"%sImportant: file %s has been updated from version %d to %d, it is not "
"compatible and can not be loaded any more with any older version"
msgstr ""
#, c-format
msgid "%sWARNING: failed to read configuration file \"%s\" (%s)"
msgstr ""
@@ -3650,7 +3657,7 @@ msgid "%sWarning: %s, line %d: invalid syntax, missing \"]\""
msgstr ""
#, c-format
msgid "%sWarning: %s, line %d: ignoring unknown section identifier (\"%s\")"
msgid "%sWarning: %s, line %d: unknown section identifier (\"%s\")"
msgstr ""
#, c-format
@@ -3666,17 +3673,15 @@ msgid ""
msgstr ""
#, c-format
msgid "%sWarning: %s, line %d: ignoring option outside section: %s"
msgid "%sWarning: %s, line %d: option outside section: %s"
msgstr ""
#, c-format
msgid "%sWarning: %s, line %d: ignoring unknown option for section \"%s\": %s"
msgid "%sWarning: %s, line %d: unknown option for section \"%s\": %s"
msgstr ""
#, c-format
msgid ""
"%sWarning: %s, line %d: ignoring invalid value for option in section \"%s\": "
"%s"
msgid "%sWarning: %s, line %d: invalid value for option: %s"
msgstr ""
#, c-format
@@ -3725,6 +3730,9 @@ msgid ""
"Error: unable to create a temporary home directory (using template: \"%s\")\n"
msgstr ""
msgid "Error: environment variable \"HOME\" is not defined\n"
msgstr ""
#, c-format
msgid "Error: \"%s\" is not a directory\n"
msgstr ""
@@ -4565,7 +4573,7 @@ msgid ""
"10 and 99 buffers\n"
" - ${number_displayed}: \"1\" if the number is displayed, otherwise "
"\"0\"\n"
" - ${indent}: indentation for name (channel, private and list buffers are "
" - ${indent}: indentation for name (channel and private buffers are "
"indented) (evaluation of option buflist.format.indent)\n"
" - ${format_nick_prefix}: colored nick prefix for a channel (evaluation "
"of option buflist.format.nick_prefix)\n"
@@ -4670,8 +4678,8 @@ msgstr ""
msgid ""
"number of buflist bar items that can be used; the item names are: "
"\"buflist\", \"buflist2\", \"buflist3\", \"buflist4\" and \"buflist5\"; be "
"careful, using more than one bar item slows down the display of buffers list"
"\"buflist\", \"buflist2\", \"buflist3\"; be careful, using more than one bar "
"item slows down the display of buffers list"
msgstr ""
msgid ""
@@ -4722,8 +4730,8 @@ msgid ""
msgstr ""
msgid ""
"string displayed to indent channel, private and list buffers (note: content "
"is evaluated, see /help buflist)"
"string displayed to indent channel and private buffers (note: content is "
"evaluated, see /help buflist)"
msgstr ""
msgid ""
@@ -5089,7 +5097,7 @@ msgstr ""
#. TRANSLATORS: "%s%s%s:" at beginning of string it the name of option
#, c-format
msgid "%s%s%s: %s%s%s %s[%s%s]%s"
msgid "%s%s%s: %s %s[%s%s]%s"
msgstr ""
msgid "(no description)"
@@ -5135,9 +5143,9 @@ msgid ""
" -go: select a line by number, first line number is 0 (\"end\" to "
"select the last line)\n"
" -toggle: toggle the boolean value\n"
" -add: add \"value\" (which can be a negative number) for integers, "
"colors and enums, set/append to value for other types (set for a negative "
"value, append for a positive value)\n"
" -add: add \"value\" (which can be a negative number) for integers and "
"colors, set/append to value for other types (set for a negative value, "
"append for a positive value)\n"
" -reset: reset the value of option\n"
" -unset: unset the option\n"
" -set: add the /set command in input to edit the value of option (move "
@@ -5159,8 +5167,7 @@ msgid ""
" * show all options (no filter)\n"
" xxx show only options with \"xxx\" in name\n"
" f:xxx show only configuration file \"xxx\"\n"
" t:xxx show only type \"xxx\" (bool/int/str/col/enum or "
"boolean/integer/string/color/enum)\n"
" t:xxx show only type \"xxx\" (bool/int/str/col)\n"
" d show only changed options\n"
" d:xxx show only changed options with \"xxx\" in name\n"
" d=xxx show only changed options with \"xxx\" in value\n"
@@ -5173,11 +5180,10 @@ msgid ""
" ==xxx show only options with exact value \"xxx\"\n"
" c:xxx show only options matching the evaluated condition "
"\"xxx\", using following variables: file, section, option, name, "
"parent_name, type, type_en, type_short (bool/int/str/col/enum), type_tiny (b/"
"i/s/c/e), default_value, default_value_undef, value, quoted_value, "
"value_undef, value_changed, parent_value, min, max, description, "
"description2, description_en, description_en2, string_values, "
"allowed_values\n"
"parent_name, type, type_en, type_short (bool/int/str/col), type_tiny (b/i/s/"
"c), default_value, default_value_undef, value, quoted_value, value_undef, "
"value_changed, parent_value, min, max, description, description2, "
"description_en, description_en2, string_values\n"
"\n"
"The lines with options are displayed using string evaluation (see /help eval "
"for the format), with these options:\n"
@@ -5193,8 +5199,8 @@ msgid ""
" - ${parent_name}: parent option name\n"
" - ${type}: option type (translated)\n"
" - ${type_en}: option type (in English)\n"
" - ${type_short}: short option type (bool/int/str/col/enum)\n"
" - ${type_tiny}: tiny option type (b/i/s/c/e)\n"
" - ${type_short}: short option type (bool/int/str/col)\n"
" - ${type_tiny}: tiny option type (b/i/s/c)\n"
" - ${default_value}: option default value\n"
" - ${default_value_undef}: \"1\" if default value is null, otherwise "
"\"0\"\n"
@@ -5212,8 +5218,8 @@ msgid ""
" - ${description_en}: option description (in English)\n"
" - ${description_en2}: option description (in English), \"(no "
"description)\" if there's no description\n"
" - ${string_values}: string values allowed for set of an enum option\n"
" - ${allowed_values}: allowed values\n"
" - ${string_values}: string values allowed for set of an integer option "
"using strings\n"
" - ${marked}: \"1\" if option is marked, otherwise \"0\"\n"
" - ${index}: index of option in list\n"
" - option data, with color but no spaces:\n"
@@ -5242,9 +5248,9 @@ msgid ""
"\n"
"Keys and input to set options on fset buffer:\n"
" alt+space t toggle boolean value\n"
" alt+'-' - subtract 1 from value for integer/color/enum, "
"set value for other types\n"
" alt+'+' + add 1 to value for integer/color/enum, append to "
" alt+'-' - subtract 1 from value for integer/color, set "
"value for other types\n"
" alt+'+' + add 1 to value for integer/color, append to "
"value for other types\n"
" alt+f, alt+r r reset value\n"
" alt+f, alt+u u unset value\n"
@@ -5268,8 +5274,10 @@ msgid ""
" alt+p p toggle plugin description options (plugins.desc."
"*)\n"
" alt+v v toggle help bar\n"
" s:x,y sort options by fields x,y (see above)\n"
" s: reset sort to its default value (see above)\n"
" s:x,y sort options by fields x,y (see /help fset.look."
"sort)\n"
" s: reset sort to its default value (see /help fset."
"look.sort)\n"
" w:xxx export options in file \"xxx\"\n"
" w-:xxx export options in file \"xxx\" without help\n"
" w+:xxx export options in file \"xxx\" with help\n"
@@ -5281,8 +5289,8 @@ msgid ""
" left button move line here\n"
" right button toggle boolean (on/off) or edit the option "
"value\n"
" right button + drag left/right increase/decrease value for integer/color/"
"enum, set/append to value for other types\n"
" right button + drag left/right increase/decrease value for integer/color, "
"set/append to value for other types\n"
" right button + drag up/down mark/unmark multiple options\n"
"\n"
"Note: if input has one or more leading spaces, the following text is "
@@ -5398,12 +5406,6 @@ msgid ""
"ctrl-x"
msgstr ""
msgid "color for allowed values"
msgstr ""
msgid "color for allowed values on the selected line"
msgstr ""
msgid "color for color name when option fset.look.use_color_value is enabled"
msgstr ""
@@ -5448,6 +5450,9 @@ msgstr ""
msgid "color for quotes around string values"
msgstr ""
msgid "color for allowed values"
msgstr ""
msgid "color for index of option"
msgstr ""
@@ -5616,9 +5621,6 @@ msgstr ""
msgid "fset options"
msgstr ""
msgid "any color"
msgstr ""
#, c-format
msgid "%s%s: script \"%s\" already registered (register ignored)"
msgstr ""
@@ -5891,9 +5893,6 @@ msgstr ""
msgid "%s%s: \"%s\" is not a valid regular expression (%s)"
msgstr ""
msgid "Receiving list of channels, please wait..."
msgstr ""
#, c-format
msgid ""
"%s%s: you must specify channel for \"%s\" command if you're not in a channel"
@@ -6274,10 +6273,10 @@ msgid ""
"\n"
"Without argument, \"ls\" and \"list\" are sent.\n"
"\n"
"Capabilities supported by WeeChat are: account-notify, account-tag, away-"
"notify, batch, cap-notify, chghost, draft/multiline, echo-message, extended-"
"join, invite-notify, message-tags, multi-prefix, server-time, setname, "
"userhost-in-names.\n"
"Capabilities supported by WeeChat are: account-notify, away-notify, batch, "
"cap-notify, chghost, draft/multiline, echo-message, extended-join, invite-"
"notify, message-tags, multi-prefix, server-time, setname, userhost-in-"
"names.\n"
"\n"
"The capabilities to automatically enable on servers can be set in option irc."
"server_default.capabilities (or by server in option irc.server.xxx."
@@ -6575,9 +6574,7 @@ msgstr ""
msgid "list channels and their topics"
msgstr ""
msgid ""
"[-server <server>] [-re <regex>] [<channel>[,<channel>...]] [<target>] || -"
"up|-down [<number>] || -left|-right [<percent>] || -go <line>|end || -join"
msgid "[-server <server>] [-re <regex>] [<channel>[,<channel>...]] [<target>]"
msgstr ""
msgid ""
@@ -6586,67 +6583,15 @@ msgid ""
"insensitive, can start by \"(?-i)\" to become case sensitive)\n"
"channel: channel to list\n"
" target: server name\n"
" -up: move the selected line up by \"number\" lines\n"
" -down: move the selected line down by \"number\" lines\n"
" -left: scroll the /list buffer by \"percent\" of width on the left\n"
" -right: scroll the /list buffer by \"percent\" of width on the right\n"
" -go: select a line by number, first line number is 0 (\"end\" to select "
"the last line)\n"
" -join: join the channel on the selected line\n"
"\n"
"Keys and input on /list buffer:\n"
" up move one line up\n"
" down move one line down\n"
" pgup move one page up\n"
" pgdn move one page down\n"
" alt-home << move to first line\n"
" alt-end >> move to last line\n"
" F11 < scroll horizontally on the left\n"
" F12 > scroll horizontally on the right\n"
" * show all channels (no filter)\n"
" xxx show only channels with \"xxx\" in name or topic "
"(case insensitive)\n"
" n:xxx show only channels with \"xxx\" in name (case "
"insensitive)\n"
" t:xxx show only channels with \"xxx\" in topic (case "
"insensitive)\n"
" u:n show only channels with at least \"n\" users\n"
" u:>n show only channels with more than \"n\" users\n"
" u:<n show only channels with less than \"n\" users\n"
" c:xxx show only channels matching the evaluated "
"condition \"xxx\", using following variables: name, name2, users, topic\n"
" ctrl-j j join channel on selected line\n"
" s:x,y sort channels by fields x,y (see below)\n"
" s: reset sort to its default value (see below)\n"
" $ refresh list (run again command /list)\n"
" q close buffer\n"
"\n"
"Sort keys on /list buffer:\n"
" name channel name (eg: \"##test\")\n"
" name2 channel name without prefix (eg: \"test\")\n"
" users number of users on channel\n"
" topic channel topic\n"
"\n"
"Examples:\n"
" list all channels on server and display them in a dedicated buffer (can be "
"slow on large networks):\n"
" list all channels on server (can be very slow on large networks):\n"
" /list\n"
" list channel #weechat:\n"
" /list #weechat\n"
" list all channels beginning with \"#weechat\" (can be very slow on large "
"networks):\n"
" /list -re #weechat.*\n"
" on /list buffer:\n"
" channels with \"weechat\" in name:\n"
" n:weechat\n"
" channels with at least 100 users:\n"
" u:100\n"
" channels with \"freebsd\" (case insensitive) in topic and more than 10 "
"users:\n"
" c:${topic} =- freebsd && ${users} > 10\n"
" sort channels by users (big channels first), then name2 (name without "
"prefix):\n"
" s:-users,name2"
" /list -re #weechat.*"
msgstr ""
msgid "get statistics about the size of the IRC network"
@@ -7330,13 +7275,11 @@ msgid ""
msgstr ""
msgid ""
"format for CTCP reply or empty string for blocking CTCP (no reply); content "
"is evaluated, see /help eval; following variables are replaced: "
"${clientinfo}: list of supported CTCP, ${version}: WeeChat version, ${git}: "
"Git version, ${versiongit}: WeeChat version and Git version, ${compilation}: "
"compilation date, ${osinfo}: info about OS, ${site}: WeeChat site, "
"${download}: WeeChat site, download page, ${time}: current date and time as "
"text, ${username}: username on server, ${realname}: realname on server"
"format for CTCP reply or empty string for blocking CTCP (no reply), "
"following variables are replaced: $version (WeeChat version), $compilation "
"(compilation date), $osinfo (info about OS), $site (WeeChat site), $download "
"(WeeChat site, download page), $time (current date and time as text), "
"$username (username on server), $realname (realname on server)"
msgstr ""
#, c-format
@@ -7623,10 +7566,6 @@ msgstr ""
msgid "IRC option renamed: \"irc.%s.%s\" => \"irc.%s.%s\""
msgstr ""
#, c-format
msgid "IRC CTCP format converted for \"%s\": \"%s\" => \"%s\""
msgstr ""
msgid ""
"open channel buffer before the JOIN is received from server when it is auto "
"joined (with server option \"autojoin\"); this is useful to open channels "
@@ -7785,19 +7724,6 @@ msgid ""
"for example: \"/join weechat\" will in fact send: \"/join #weechat\""
msgstr ""
msgid "left/right scroll in /list buffer (percent of width)"
msgstr ""
msgid ""
"comma-separated list of fields to sort channels (see /help list for a list "
"of fields); char \"-\" can be used before field to reverse order, char \"~\" "
"can be used to do a case insensitive comparison; example: \"-count,~name\" "
"for biggest channels first then case insensitive sort on name"
msgstr ""
msgid "strip channel topic colors in /list buffer"
msgstr ""
msgid ""
"default target buffer for msgbuffer options when target is private and that "
"private buffer is not found"
@@ -7809,12 +7735,6 @@ msgid ""
"channel/pv of server)"
msgstr ""
msgid ""
"force position of new /list buffer 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 "
@@ -7872,6 +7792,10 @@ msgid ""
"\"notify_message\", \"notify_private\" or \"notify_highlight\""
msgstr ""
msgid ""
"open a private buffer on self message when capability echo-message is enabled"
msgstr ""
msgid "close buffer when /part is issued on a channel"
msgstr ""
@@ -7989,12 +7913,6 @@ msgstr ""
msgid "color for higher supported TLS version in bar item \"tls_version\""
msgstr ""
msgid "color for selected line on /list buffer"
msgstr ""
msgid "background color for selected line on /list buffer"
msgstr ""
msgid "color for text in account messages"
msgstr ""
@@ -8355,12 +8273,6 @@ msgstr ""
msgid "irc batch"
msgstr ""
msgid "irc channel on /list buffer"
msgstr ""
msgid "irc data for /list buffer"
msgstr ""
#, c-format
msgid "%sCTCP query to %s%s%s: %s%s%s%s%s"
msgstr ""
@@ -8373,16 +8285,6 @@ msgstr ""
msgid "%s%s: this buffer is not a channel!"
msgstr ""
#, c-format
msgid ""
"%d channels (total: %d) | Filter: %s | Sort: %s | Key(input): ctrl+j=join "
"channel, ($)=refresh, (q)=close buffer"
msgstr ""
#, c-format
msgid "%s%s: error in redirection of /list: %s"
msgstr ""
#, c-format
msgid "%s%s: cannot allocate new modelist"
msgstr ""
@@ -9642,12 +9544,6 @@ msgid ""
"by the user (option \"-s\" or \"--no-script\")"
msgstr ""
msgid "buffer pointer"
msgstr ""
msgid "buffer full name"
msgstr ""
msgid "terminal charset"
msgstr ""
@@ -9791,6 +9687,9 @@ msgstr ""
msgid "lines of a buffer"
msgstr ""
msgid "buffer pointer"
msgstr ""
msgid "list of filters"
msgstr ""
@@ -10752,6 +10651,10 @@ msgstr ""
msgid "%s: script \"%s\" not found"
msgstr ""
#, c-format
msgid "%s: script \"%s\" is not installed"
msgstr ""
#, c-format
msgid "%s: autoload enabled for script \"%s\""
msgstr ""
@@ -10773,10 +10676,6 @@ msgstr ""
msgid "%s: downloading script \"%s\"..."
msgstr ""
#, c-format
msgid "%s: script \"%s\" is not installed"
msgstr ""
#, c-format
msgid "%s: script \"%s\" is held"
msgstr ""
@@ -10908,7 +10807,7 @@ msgid ""
"list [-o|-ol|-i|-il] || search <text> || show <script> || load|unload|reload "
"<script> [<script>...] || autoload|noautoload|toggleautoload <script> "
"[<script>...] || install|remove|installremove|hold [-q] <script> "
"[<script>...] || upgrade || update || up|down [<number>] || go <line>|end"
"[<script>...] || upgrade || update"
msgstr ""
msgid ""
@@ -10938,10 +10837,6 @@ msgid ""
" upgrade: upgrade all installed scripts which are obsolete (new "
"version available)\n"
" update: update local scripts cache\n"
" up: move the selected line up by \"number\" lines\n"
" down: move the selected line down by \"number\" lines\n"
" go: select a line by number, first line number is 0 (\"end\" to "
"select the last line)\n"
"\n"
"Without argument, this command opens a buffer with list of scripts.\n"
"\n"
@@ -11487,18 +11382,6 @@ msgstr ""
msgid "No trigger defined"
msgstr ""
msgid "Triggers enabled:"
msgstr ""
msgid "default"
msgstr ""
msgid "custom"
msgstr ""
msgid "No triggers enabled"
msgstr ""
msgid "List of default triggers:"
msgstr ""
@@ -11637,8 +11520,7 @@ msgid "manage triggers, the Swiss Army knife for WeeChat"
msgstr ""
msgid ""
"list [-o|-ol|-i|-il] || listfull || listdefault || add|addoff|addreplace "
"<name> <hook> "
"list|listfull|listdefault || add|addoff|addreplace <name> <hook> "
"[\"<arguments>\" [\"<conditions>\" [\"<regex>\" [\"<command>\" [\"<return_code>\" [\"<post_action>\"]]]]]] "
"|| addinput [<hook>] || input|output|recreate <name> || set <name> <option> "
"<value> || rename|copy <name> <new_name> || enable|disable|toggle [<name>|-"
@@ -11649,12 +11531,6 @@ msgstr ""
msgid ""
" list: list triggers (without argument, this list is displayed)\n"
" -o: send list of triggers enabled to buffer (string in English)\n"
" -ol: send list of triggers enabled to buffer (translated string)\n"
" -i: copy list of triggers enabled in command line (for sending to "
"buffer) (string in English)\n"
" -il: copy list of triggers enabled in command line (for sending to "
"buffer) (translated string)\n"
" listfull: list triggers with detailed info for each trigger\n"
"listdefault: list default triggers\n"
" add: add a trigger\n"
+1 -1
View File
@@ -89,7 +89,7 @@ include_directories(${GNUTLS_INCLUDE_PATH})
include_directories(${CURL_INCLUDE_DIRS})
include_directories(${ZSTD_INCLUDE_DIRS})
include_directories(${LIBZSTD_INCLUDE_DIRS})
include_directories("${CMAKE_BINARY_DIR}")
add_library(weechat_core STATIC ${LIB_CORE_SRC})
+7 -51
View File
@@ -27,7 +27,6 @@
#include <string.h>
#include "../weechat.h"
#include "../wee-arraylist.h"
#include "../wee-hashtable.h"
#include "../wee-hook.h"
#include "../wee-infolist.h"
@@ -122,31 +121,17 @@ hook_line (struct t_weechat_plugin *plugin, const char *buffer_type,
* Executes a line hook and updates the line data.
*/
struct t_arraylist *
void
hook_line_exec (struct t_gui_line *line)
{
struct t_hook *ptr_hook, *next_hook;
struct t_hashtable *hashtable, *hashtable2;
struct t_arraylist *buffers;
struct t_gui_buffer *ptr_buffer;
char str_value[128], *str_tags, **str_buffers;
int i, size;
hashtable = NULL;
buffers = NULL;
str_buffers = NULL;
buffers = arraylist_new (16, 0, 0, NULL, NULL, NULL, NULL);
if (!buffers)
goto end;
arraylist_add (buffers, line->data->buffer);
char str_value[128], *str_tags;
if (!weechat_hooks[HOOK_TYPE_LINE])
goto end;
return;
str_buffers = string_dyn_alloc (256);
if (!str_buffers)
goto end;
hashtable = NULL;
hook_exec_start ();
@@ -176,28 +161,8 @@ hook_line_exec (struct t_gui_line *line)
if (!hashtable)
break;
}
size = arraylist_size (buffers);
/* build list of buffer pointers */
string_dyn_copy (str_buffers, NULL);
for (i = 0; i < size; i++)
{
if (i > 0)
string_dyn_concat (str_buffers, ",", -1);
snprintf (str_value, sizeof (str_value),
"0x%lx", (unsigned long)(arraylist_get (buffers, i)));
string_dyn_concat (str_buffers, str_value, -1);
}
HASHTABLE_SET_STR("buffer", *str_buffers);
/* build list of buffer names */
string_dyn_copy (str_buffers, NULL);
for (i = 0; i < size; i++)
{
if (i > 0)
string_dyn_concat (str_buffers, ",", -1);
ptr_buffer = (struct t_gui_buffer *)arraylist_get (buffers, i);
string_dyn_concat (str_buffers, ptr_buffer->full_name, -1);
}
HASHTABLE_SET_STR("buffer_name", *str_buffers);
HASHTABLE_SET_POINTER("buffer", line->data->buffer);
HASHTABLE_SET_STR("buffer_name", line->data->buffer->full_name);
HASHTABLE_SET_STR("buffer_type",
gui_buffer_type_string[line->data->buffer->type]);
HASHTABLE_SET_INT("y", line->data->y);
@@ -226,7 +191,7 @@ hook_line_exec (struct t_gui_line *line)
if (hashtable2)
{
gui_line_hook_update (line, buffers, hashtable, hashtable2);
gui_line_hook_update (line, hashtable, hashtable2);
hashtable_free (hashtable2);
if (!line->data->buffer)
break;
@@ -238,17 +203,8 @@ hook_line_exec (struct t_gui_line *line)
hook_exec_end ();
end:
if (hashtable)
hashtable_free (hashtable);
if (str_buffers)
string_dyn_free (str_buffers, 1);
if (line->data->buffer && buffers && (arraylist_size (buffers) == 0))
arraylist_add (buffers, line->data->buffer);
return buffers;
}
/*
+1 -1
View File
@@ -51,7 +51,7 @@ extern struct t_hook *hook_line (struct t_weechat_plugin *plugin,
t_hook_callback_line *callback,
const void *callback_pointer,
void *callback_data);
extern struct t_arraylist *hook_line_exec (struct t_gui_line *line);
extern void hook_line_exec (struct t_gui_line *line);
extern void hook_line_free_data (struct t_hook *hook);
extern int hook_line_add_to_infolist (struct t_infolist_item *item,
struct t_hook *hook);
+1
View File
@@ -146,6 +146,7 @@ hook_process_hashtable (struct t_weechat_plugin *plugin,
ptr_value = hashtable_get (options, "buffer_flush");
if (ptr_value && ptr_value[0])
{
error = NULL;
number = strtol (ptr_value, &error, 10);
if (error && !error[0]
&& (number >= 1) && (number <= HOOK_PROCESS_BUFFER_SIZE))
+108 -124
View File
@@ -173,15 +173,15 @@ command_bar_list (int full)
GUI_COLOR(GUI_COLOR_CHAT),
(CONFIG_BOOLEAN(ptr_bar->options[GUI_BAR_OPTION_HIDDEN])) ? _("(hidden)") : "",
(CONFIG_BOOLEAN(ptr_bar->options[GUI_BAR_OPTION_HIDDEN])) ? " " : "",
gui_bar_type_string[CONFIG_ENUM(ptr_bar->options[GUI_BAR_OPTION_TYPE])],
gui_bar_type_string[CONFIG_INTEGER(ptr_bar->options[GUI_BAR_OPTION_TYPE])],
(CONFIG_STRING(ptr_bar->options[GUI_BAR_OPTION_CONDITIONS])
&& CONFIG_STRING(ptr_bar->options[GUI_BAR_OPTION_CONDITIONS])[0]) ?
CONFIG_STRING(ptr_bar->options[GUI_BAR_OPTION_CONDITIONS]) : "-",
gui_bar_position_string[CONFIG_ENUM(ptr_bar->options[GUI_BAR_OPTION_POSITION])],
gui_bar_filling_string[CONFIG_ENUM(ptr_bar->options[GUI_BAR_OPTION_FILLING_TOP_BOTTOM])],
gui_bar_filling_string[CONFIG_ENUM(ptr_bar->options[GUI_BAR_OPTION_FILLING_LEFT_RIGHT])],
((CONFIG_ENUM(ptr_bar->options[GUI_BAR_OPTION_POSITION]) == GUI_BAR_POSITION_BOTTOM)
|| (CONFIG_ENUM(ptr_bar->options[GUI_BAR_OPTION_POSITION]) == GUI_BAR_POSITION_TOP)) ?
gui_bar_position_string[CONFIG_INTEGER(ptr_bar->options[GUI_BAR_OPTION_POSITION])],
gui_bar_filling_string[CONFIG_INTEGER(ptr_bar->options[GUI_BAR_OPTION_FILLING_TOP_BOTTOM])],
gui_bar_filling_string[CONFIG_INTEGER(ptr_bar->options[GUI_BAR_OPTION_FILLING_LEFT_RIGHT])],
((CONFIG_INTEGER(ptr_bar->options[GUI_BAR_OPTION_POSITION]) == GUI_BAR_POSITION_BOTTOM)
|| (CONFIG_INTEGER(ptr_bar->options[GUI_BAR_OPTION_POSITION]) == GUI_BAR_POSITION_TOP)) ?
_("height") : _("width"),
(CONFIG_INTEGER(ptr_bar->options[GUI_BAR_OPTION_SIZE]) == 0) ? _("auto") : str_size);
gui_chat_printf (NULL,
@@ -205,10 +205,10 @@ command_bar_list (int full)
GUI_COLOR(GUI_COLOR_CHAT),
(CONFIG_BOOLEAN(ptr_bar->options[GUI_BAR_OPTION_HIDDEN])) ? _("(hidden)") : "",
(CONFIG_BOOLEAN(ptr_bar->options[GUI_BAR_OPTION_HIDDEN])) ? " " : "",
gui_bar_type_string[CONFIG_ENUM(ptr_bar->options[GUI_BAR_OPTION_TYPE])],
gui_bar_position_string[CONFIG_ENUM(ptr_bar->options[GUI_BAR_OPTION_POSITION])],
((CONFIG_ENUM(ptr_bar->options[GUI_BAR_OPTION_POSITION]) == GUI_BAR_POSITION_BOTTOM)
|| (CONFIG_ENUM(ptr_bar->options[GUI_BAR_OPTION_POSITION]) == GUI_BAR_POSITION_TOP)) ?
gui_bar_type_string[CONFIG_INTEGER(ptr_bar->options[GUI_BAR_OPTION_TYPE])],
gui_bar_position_string[CONFIG_INTEGER(ptr_bar->options[GUI_BAR_OPTION_POSITION])],
((CONFIG_INTEGER(ptr_bar->options[GUI_BAR_OPTION_POSITION]) == GUI_BAR_POSITION_BOTTOM)
|| (CONFIG_INTEGER(ptr_bar->options[GUI_BAR_OPTION_POSITION]) == GUI_BAR_POSITION_TOP)) ?
_("height") : _("width"),
(CONFIG_INTEGER(ptr_bar->options[GUI_BAR_OPTION_SIZE]) == 0) ? _("auto") : str_size);
}
@@ -736,6 +736,7 @@ COMMAND_CALLBACK(buffer)
else
{
ptr_buffer = gui_buffer_search_by_number_or_name (argv[i]);
error = NULL;
(void) strtol (argv[i], &error, 10);
clear_number = (error && !error[0]);
}
@@ -971,6 +972,7 @@ COMMAND_CALLBACK(buffer)
ptr_buffer = gui_buffer_search_by_number_or_name (argv[i]);
if (ptr_buffer)
{
error = NULL;
(void) strtol (argv[i], &error, 10);
if (error && !error[0])
{
@@ -1009,6 +1011,7 @@ COMMAND_CALLBACK(buffer)
ptr_buffer = gui_buffer_search_by_number_or_name (argv[i]);
if (ptr_buffer)
{
error = NULL;
(void) strtol (argv[i], &error, 10);
if (error && !error[0])
{
@@ -1892,10 +1895,7 @@ COMMAND_CALLBACK(cursor)
}
}
else
{
gui_cursor_move_area (argv[2],
(argc > 3) ? argv_eol[3] : NULL);
}
gui_cursor_move_area (argv[2]);
}
return WEECHAT_RC_OK;
}
@@ -1920,17 +1920,6 @@ COMMAND_CALLBACK(cursor)
gui_cursor_move_area_add_xy (-1, 0);
else if (string_strcmp (argv[2], "area_right") == 0)
gui_cursor_move_area_add_xy (1, 0);
else if ((string_strcmp (argv[2], "top_left") == 0)
|| (string_strcmp (argv[2], "top_right") == 0)
|| (string_strcmp (argv[2], "bottom_left") == 0)
|| (string_strcmp (argv[2], "bottom_right") == 0)
|| (string_strcmp (argv[2], "edge_top") == 0)
|| (string_strcmp (argv[2], "edge_bottom") == 0)
|| (string_strcmp (argv[2], "edge_left") == 0)
|| (string_strcmp (argv[2], "edge_right") == 0))
{
gui_cursor_move_position (argv[2]);
}
}
return WEECHAT_RC_OK;
}
@@ -3142,35 +3131,99 @@ COMMAND_CALLBACK(help)
}
break;
case CONFIG_OPTION_TYPE_INTEGER:
gui_chat_printf (NULL, " %s: %s",
_("type"), _("integer"));
gui_chat_printf (NULL, " %s: %d .. %d",
_("values"),
ptr_option->min, ptr_option->max);
if (ptr_option->default_value)
if (ptr_option->string_values)
{
gui_chat_printf (NULL, " %s: %d",
_("default value"),
CONFIG_INTEGER_DEFAULT(ptr_option));
length = 0;
i = 0;
while (ptr_option->string_values[i])
{
length += strlen (ptr_option->string_values[i]) + 5;
i++;
}
if (length > 0)
{
string = malloc (length);
if (string)
{
string[0] = '\0';
i = 0;
while (ptr_option->string_values[i])
{
strcat (string, "\"");
strcat (string, ptr_option->string_values[i]);
strcat (string, "\"");
if (ptr_option->string_values[i + 1])
strcat (string, ", ");
i++;
}
gui_chat_printf (NULL, " %s: %s",
_("type"), _("string"));
gui_chat_printf (NULL, " %s: %s",
_("values"), string);
if (ptr_option->default_value)
{
gui_chat_printf (NULL, " %s: \"%s\"",
_("default value"),
ptr_option->string_values[CONFIG_INTEGER_DEFAULT(ptr_option)]);
}
else
{
gui_chat_printf (NULL, " %s: %s",
_("default value"),
_("(undefined)"));
}
if (ptr_option->value)
{
gui_chat_printf (NULL,
" %s: \"%s%s%s\"",
_("current value"),
GUI_COLOR(GUI_COLOR_CHAT_VALUE),
ptr_option->string_values[CONFIG_INTEGER(ptr_option)],
GUI_COLOR(GUI_COLOR_CHAT));
}
else
{
gui_chat_printf (NULL,
" %s: %s",
_("current value"),
_("(undefined)"));
}
free (string);
}
}
}
else
{
gui_chat_printf (NULL, " %s: %s",
_("default value"),
_("(undefined)"));
}
if (ptr_option->value)
{
gui_chat_printf (NULL, " %s: %s%d",
_("current value"),
GUI_COLOR(GUI_COLOR_CHAT_VALUE),
CONFIG_INTEGER(ptr_option));
}
else
{
gui_chat_printf (NULL, " %s: %s",
_("current value"),
_("(undefined)"));
_("type"), _("integer"));
gui_chat_printf (NULL, " %s: %d .. %d",
_("values"),
ptr_option->min, ptr_option->max);
if (ptr_option->default_value)
{
gui_chat_printf (NULL, " %s: %d",
_("default value"),
CONFIG_INTEGER_DEFAULT(ptr_option));
}
else
{
gui_chat_printf (NULL, " %s: %s",
_("default value"),
_("(undefined)"));
}
if (ptr_option->value)
{
gui_chat_printf (NULL, " %s: %s%d",
_("current value"),
GUI_COLOR(GUI_COLOR_CHAT_VALUE),
CONFIG_INTEGER(ptr_option));
}
else
{
gui_chat_printf (NULL, " %s: %s",
_("current value"),
_("(undefined)"));
}
}
break;
case CONFIG_OPTION_TYPE_STRING:
@@ -3256,66 +3309,6 @@ COMMAND_CALLBACK(help)
_("(undefined)"));
}
break;
case CONFIG_OPTION_TYPE_ENUM:
length = 0;
i = 0;
while (ptr_option->string_values[i])
{
length += strlen (ptr_option->string_values[i]) + 5;
i++;
}
if (length > 0)
{
string = malloc (length);
if (string)
{
string[0] = '\0';
i = 0;
while (ptr_option->string_values[i])
{
strcat (string, "\"");
strcat (string, ptr_option->string_values[i]);
strcat (string, "\"");
if (ptr_option->string_values[i + 1])
strcat (string, ", ");
i++;
}
gui_chat_printf (NULL, " %s: %s",
_("type"), _("enum"));
gui_chat_printf (NULL, " %s: %s",
_("values"), string);
if (ptr_option->default_value)
{
gui_chat_printf (NULL, " %s: \"%s\"",
_("default value"),
ptr_option->string_values[CONFIG_ENUM_DEFAULT(ptr_option)]);
}
else
{
gui_chat_printf (NULL, " %s: %s",
_("default value"),
_("(undefined)"));
}
if (ptr_option->value)
{
gui_chat_printf (NULL,
" %s: \"%s%s%s\"",
_("current value"),
GUI_COLOR(GUI_COLOR_CHAT_VALUE),
ptr_option->string_values[CONFIG_ENUM(ptr_option)],
GUI_COLOR(GUI_COLOR_CHAT));
}
else
{
gui_chat_printf (NULL,
" %s: %s",
_("current value"),
_("(undefined)"));
}
free (string);
}
}
break;
case CONFIG_NUM_OPTION_TYPES:
break;
}
@@ -4951,7 +4944,7 @@ command_plugin_list_input (struct t_gui_buffer *buffer,
else
{
gui_buffer_set (buffer, "input", *buf);
length = utf8_strlen (*buf);
length = strlen (*buf);
snprintf (str_pos, sizeof (str_pos), "%d", length);
gui_buffer_set (buffer, "input_pos", str_pos);
}
@@ -5387,7 +5380,7 @@ command_proxy_list ()
GUI_COLOR(GUI_COLOR_CHAT_BUFFER),
ptr_proxy->name,
GUI_COLOR(GUI_COLOR_CHAT),
proxy_type_string[CONFIG_ENUM(ptr_proxy->options[PROXY_OPTION_TYPE])],
proxy_type_string[CONFIG_INTEGER(ptr_proxy->options[PROXY_OPTION_TYPE])],
CONFIG_STRING(ptr_proxy->options[PROXY_OPTION_ADDRESS]),
CONFIG_INTEGER(ptr_proxy->options[PROXY_OPTION_PORT]),
(CONFIG_INTEGER(ptr_proxy->options[PROXY_OPTION_IPV6])) ? "IPv6" : "IPv4",
@@ -7925,12 +7918,8 @@ command_init ()
NULL, "cursor",
N_("free movement of cursor on screen to execute actions on specific "
"areas of screen"),
N_("go chat|<bar> [top_left|top_right|bottom_left|bottom_right]"
" || go <x>,<y>"
" || move up|down|left|right|"
"top_left|top_right|bottom_left|bottom_right|"
"edge_top|edge_bottom|edge_left|edge_right|"
"area_up|area_down|area_left|area_right"
N_("go chat|<bar>|<x>,<y>"
" || move up|down|left|right|area_up|area_down|area_left|area_right"
" || stop"),
N_(" go: move cursor to chat area, a bar (using bar name) or "
"coordinates \"x,y\"\n"
@@ -7960,17 +7949,12 @@ command_init ()
" enter exit cursor mode\n"
"\n"
"Examples:\n"
" go to the bottom left corner of chat area:\n"
" /cursor go chat bottom_left\n"
" go to nicklist:\n"
" /cursor go nicklist\n"
" go to coordinates x=10, y=5:\n"
" /cursor go 10,5"),
"go %(cursor_areas) top_left|top_right|bottom_left|bottom_right"
" || move up|down|left|right|"
"top_left|top_right|bottom_left|bottom_right|"
"edge_top|edge_bottom|edge_left|edge_right|"
"area_up|area_down|area_left|area_right"
"go %(cursor_areas)"
" || move up|down|left|right|area_up|area_down|area_left|area_right"
" || stop",
&command_cursor, NULL, NULL);
hook_command (
+45 -41
View File
@@ -1461,31 +1461,59 @@ completion_list_add_config_option_values_cb (const void *pointer, void *data,
}
break;
case CONFIG_OPTION_TYPE_INTEGER:
if (option_found->value && CONFIG_INTEGER(option_found) > option_found->min)
gui_completion_list_add (completion, "--1",
0, WEECHAT_LIST_POS_BEGINNING);
if (option_found->value && CONFIG_INTEGER(option_found) < option_found->max)
gui_completion_list_add (completion, "++1",
0, WEECHAT_LIST_POS_BEGINNING);
if (option_found->value)
if (option_found->string_values)
{
length = 64;
value_string = malloc (length);
if (value_string)
for (i = 0; option_found->string_values[i]; i++)
{
snprintf (value_string, length,
"%d", CONFIG_INTEGER(option_found));
gui_completion_list_add (completion,
value_string,
option_found->string_values[i],
0, WEECHAT_LIST_POS_SORT);
}
gui_completion_list_add (completion, "++1",
0, WEECHAT_LIST_POS_END);
gui_completion_list_add (completion, "--1",
0, WEECHAT_LIST_POS_END);
if (option_found->value)
{
gui_completion_list_add (completion,
option_found->string_values[CONFIG_INTEGER(option_found)],
0, WEECHAT_LIST_POS_BEGINNING);
}
else
{
gui_completion_list_add (completion,
WEECHAT_CONFIG_OPTION_NULL,
0, WEECHAT_LIST_POS_BEGINNING);
free (value_string);
}
}
else
{
gui_completion_list_add (completion,
WEECHAT_CONFIG_OPTION_NULL,
0, WEECHAT_LIST_POS_BEGINNING);
if (option_found->value && CONFIG_INTEGER(option_found) > option_found->min)
gui_completion_list_add (completion, "--1",
0, WEECHAT_LIST_POS_BEGINNING);
if (option_found->value && CONFIG_INTEGER(option_found) < option_found->max)
gui_completion_list_add (completion, "++1",
0, WEECHAT_LIST_POS_BEGINNING);
if (option_found->value)
{
length = 64;
value_string = malloc (length);
if (value_string)
{
snprintf (value_string, length,
"%d", CONFIG_INTEGER(option_found));
gui_completion_list_add (completion,
value_string,
0, WEECHAT_LIST_POS_BEGINNING);
free (value_string);
}
}
else
{
gui_completion_list_add (completion,
WEECHAT_CONFIG_OPTION_NULL,
0, WEECHAT_LIST_POS_BEGINNING);
}
}
break;
case CONFIG_OPTION_TYPE_STRING:
@@ -1539,30 +1567,6 @@ completion_list_add_config_option_values_cb (const void *pointer, void *data,
0, WEECHAT_LIST_POS_BEGINNING);
}
break;
case CONFIG_OPTION_TYPE_ENUM:
for (i = 0; option_found->string_values[i]; i++)
{
gui_completion_list_add (completion,
option_found->string_values[i],
0, WEECHAT_LIST_POS_SORT);
}
gui_completion_list_add (completion, "++1",
0, WEECHAT_LIST_POS_END);
gui_completion_list_add (completion, "--1",
0, WEECHAT_LIST_POS_END);
if (option_found->value)
{
gui_completion_list_add (completion,
option_found->string_values[CONFIG_ENUM(option_found)],
0, WEECHAT_LIST_POS_BEGINNING);
}
else
{
gui_completion_list_add (completion,
WEECHAT_CONFIG_OPTION_NULL,
0, WEECHAT_LIST_POS_BEGINNING);
}
break;
case CONFIG_NUM_OPTION_TYPES:
break;
}
+490 -490
View File
File diff suppressed because it is too large Load Diff
-6
View File
@@ -39,9 +39,6 @@
#define CONFIG_COLOR(option) (*((int *)((option)->value)))
#define CONFIG_COLOR_DEFAULT(option) (*((int *)((option)->default_value)))
#define CONFIG_ENUM(option) (*((int *)((option)->value)))
#define CONFIG_ENUM_DEFAULT(option) (*((int *)((option)->default_value)))
#define CONFIG_BOOLEAN_FALSE 0
#define CONFIG_BOOLEAN_TRUE 1
@@ -139,7 +136,6 @@ enum t_config_option_type
CONFIG_OPTION_TYPE_INTEGER,
CONFIG_OPTION_TYPE_STRING,
CONFIG_OPTION_TYPE_COLOR,
CONFIG_OPTION_TYPE_ENUM,
/* number of option types */
CONFIG_NUM_OPTION_TYPES,
};
@@ -321,8 +317,6 @@ extern const char *config_file_option_string (struct t_config_option *option);
extern const char *config_file_option_string_default (struct t_config_option *option);
extern const char *config_file_option_color (struct t_config_option *option);
extern const char *config_file_option_color_default (struct t_config_option *option);
extern int config_file_option_enum (struct t_config_option *option);
extern int config_file_option_enum_default (struct t_config_option *option);
extern int config_file_write_option (struct t_config_file *config_file,
struct t_config_option *option);
extern int config_file_write_line (struct t_config_file *config_file,
+34 -25
View File
@@ -391,7 +391,7 @@ void
config_change_save_config_layout_on_exit ()
{
if (gui_init_ok && !CONFIG_BOOLEAN(config_look_save_config_on_exit)
&& (CONFIG_ENUM(config_look_save_layout_on_exit) != CONFIG_LOOK_SAVE_LAYOUT_ON_EXIT_NONE))
&& (CONFIG_INTEGER(config_look_save_layout_on_exit) != CONFIG_LOOK_SAVE_LAYOUT_ON_EXIT_NONE))
{
gui_chat_printf (NULL,
_("Warning: option weechat.look.save_config_on_exit "
@@ -2195,17 +2195,20 @@ config_weechat_custom_bar_item_read_cb (const void *pointer, void *data,
if (!ptr_temp_item)
{
/* create new temporary custom bar item */
ptr_temp_item = gui_bar_item_custom_alloc (item_name);
if (ptr_temp_item)
if (gui_bar_item_search_default (item_name) < 0)
{
/* add new custom bar item at the end */
ptr_temp_item->prev_item = last_gui_temp_custom_bar_item;
ptr_temp_item->next_item = NULL;
if (last_gui_temp_custom_bar_item)
last_gui_temp_custom_bar_item->next_item = ptr_temp_item;
else
gui_temp_custom_bar_items = ptr_temp_item;
last_gui_temp_custom_bar_item = ptr_temp_item;
ptr_temp_item = gui_bar_item_custom_alloc (item_name);
if (ptr_temp_item)
{
/* add new custom bar item at the end */
ptr_temp_item->prev_item = last_gui_temp_custom_bar_item;
ptr_temp_item->next_item = NULL;
if (last_gui_temp_custom_bar_item)
last_gui_temp_custom_bar_item->next_item = ptr_temp_item;
else
gui_temp_custom_bar_items = ptr_temp_item;
last_gui_temp_custom_bar_item = ptr_temp_item;
}
}
}
@@ -2226,6 +2229,13 @@ config_weechat_custom_bar_item_read_cb (const void *pointer, void *data,
section->name, option_name, value);
}
}
else
{
gui_chat_printf (NULL,
_("%sUnable to add custom bar item \"%s\""),
gui_chat_prefix[GUI_CHAT_PREFIX_ERROR],
item_name);
}
free (item_name);
@@ -2525,8 +2535,7 @@ config_weechat_notify_create_option_cb (const void *pointer, void *data,
{
ptr_option = config_file_new_option (
config_file, section,
option_name, "enum",
_("Notify level for buffer"),
option_name, "integer", _("Notify level for buffer"),
"none|highlight|message|all",
0, 0, "", value, 0,
NULL, NULL, NULL,
@@ -2881,7 +2890,7 @@ config_weechat_init_options ()
{
config_look_align_end_of_lines = config_file_new_option (
weechat_config_file, weechat_config_section_look,
"align_end_of_lines", "enum",
"align_end_of_lines", "integer",
N_("alignment for end of lines (all lines after the first): they "
"are starting under this data (time, buffer, prefix, suffix, "
"message (default))"),
@@ -2964,7 +2973,7 @@ config_weechat_init_options ()
NULL, NULL, NULL);
config_look_buffer_notify_default = config_file_new_option (
weechat_config_file, weechat_config_section_look,
"buffer_notify_default", "enum",
"buffer_notify_default", "integer",
N_("default notify level for buffers (used to tell WeeChat if "
"buffer must be displayed in hotlist or not, according to "
"importance of message): all=all messages (default), "
@@ -2976,7 +2985,7 @@ config_weechat_init_options ()
NULL, NULL, NULL);
config_look_buffer_position = config_file_new_option (
weechat_config_file, weechat_config_section_look,
"buffer_position", "enum",
"buffer_position", "integer",
N_("position of a new buffer: end = after the end of list (number = "
"last number + 1) (default), first_gap = at first available "
"number in the list (after the end of list if no number is "
@@ -3006,7 +3015,7 @@ config_weechat_init_options ()
NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
config_look_buffer_search_where = config_file_new_option (
weechat_config_file, weechat_config_section_look,
"buffer_search_where", "enum",
"buffer_search_where", "integer",
N_("default text search in buffer: in message, prefix, prefix and "
"message"),
"prefix|message|prefix_message", 0, 0, "prefix_message",
@@ -3372,7 +3381,7 @@ config_weechat_init_options ()
NULL, NULL, NULL);
config_look_hotlist_remove = config_file_new_option (
weechat_config_file, weechat_config_section_look,
"hotlist_remove", "enum",
"hotlist_remove", "integer",
N_("remove buffers in hotlist: buffer = remove buffer by buffer, "
"merged = remove all visible merged buffers at once"),
"buffer|merged",
@@ -3389,7 +3398,7 @@ config_weechat_init_options ()
NULL, NULL, NULL);
config_look_hotlist_sort = config_file_new_option (
weechat_config_file, weechat_config_section_look,
"hotlist_sort", "enum",
"hotlist_sort", "integer",
N_("sort of hotlist: group_time_*: group by notify level "
"(highlights first) then sort by time, group_number_*: group "
"by notify level (highlights first) then sort by number, "
@@ -3440,7 +3449,7 @@ config_weechat_init_options ()
NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
config_look_input_share = config_file_new_option (
weechat_config_file, weechat_config_section_look,
"input_share", "enum",
"input_share", "integer",
N_("share commands, text, or both in input for all buffers (there "
"is still local history for each buffer)"),
"none|commands|text|all",
@@ -3572,7 +3581,7 @@ config_weechat_init_options ()
NULL, NULL, NULL);
config_look_nick_color_hash = config_file_new_option (
weechat_config_file, weechat_config_section_look,
"nick_color_hash", "enum",
"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), djb2_32 = variant of djb2 using 32-bit instead "
@@ -3701,7 +3710,7 @@ config_weechat_init_options ()
NULL, NULL, NULL);
config_look_prefix_align = config_file_new_option (
weechat_config_file, weechat_config_section_look,
"prefix_align", "enum",
"prefix_align", "integer",
N_("prefix alignment (none, left, right (default))"),
"none|left|right", 0, 0, "right", NULL, 0,
NULL, NULL, NULL,
@@ -3744,7 +3753,7 @@ config_weechat_init_options ()
NULL, NULL, NULL);
config_look_prefix_buffer_align = config_file_new_option (
weechat_config_file, weechat_config_section_look,
"prefix_buffer_align", "enum",
"prefix_buffer_align", "integer",
N_("prefix alignment for buffer name, when many buffers are merged "
"with same number (none, left, right (default))"),
"none|left|right", 0, 0, "right", NULL, 0,
@@ -3832,7 +3841,7 @@ config_weechat_init_options ()
NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
config_look_read_marker = config_file_new_option (
weechat_config_file, weechat_config_section_look,
"read_marker", "enum",
"read_marker", "integer",
N_("use a marker (line or char) on buffers to show first unread "
"line"),
"none|line|char",
@@ -3882,7 +3891,7 @@ config_weechat_init_options ()
NULL, NULL, NULL);
config_look_save_layout_on_exit = config_file_new_option (
weechat_config_file, weechat_config_section_look,
"save_layout_on_exit", "enum",
"save_layout_on_exit", "integer",
N_("save layout on exit (buffers, windows, or both)"),
"none|buffers|windows|all", 0, 0, "none", NULL, 0,
NULL, NULL, NULL,
+5
View File
@@ -421,6 +421,10 @@ weecrypto_totp_generate_internal (const char *secret, int length_secret,
int rc, offset, length;
unsigned long bin_code;
#if __BYTE_ORDER == __BIG_ENDIAN
/* Big endian does not need to swap bytes here! */
moving_factor_swapped = moving_factor;
#else
moving_factor_swapped = (moving_factor >> 56)
| ((moving_factor << 40) & 0x00FF000000000000)
| ((moving_factor << 24) & 0x0000FF0000000000)
@@ -429,6 +433,7 @@ weecrypto_totp_generate_internal (const char *secret, int length_secret,
| ((moving_factor >> 24) & 0x0000000000FF0000)
| ((moving_factor >> 40) & 0x000000000000FF00)
| (moving_factor << 56);
#endif
rc = weecrypto_hmac (secret, length_secret,
&moving_factor_swapped, sizeof (moving_factor_swapped),
+16 -5
View File
@@ -440,6 +440,9 @@ dir_find_xdg_dirs (char **config_dir, char **data_dir, char **cache_dir,
*runtime_dir = NULL;
ptr_home = getenv ("HOME");
if (!ptr_home)
goto error_home;
xdg_config_home = getenv ("XDG_CONFIG_HOME");
xdg_data_home = getenv ("XDG_DATA_HOME");
xdg_cache_home = getenv ("XDG_CACHE_HOME");
@@ -460,7 +463,7 @@ dir_find_xdg_dirs (char **config_dir, char **data_dir, char **cache_dir,
}
*config_dir = strdup (path);
if (!*config_dir)
goto error;
goto error_memory;
/* set data dir: $XDG_DATA_HOME/weechat or $HOME/.local/share/weechat */
if (xdg_data_home && xdg_data_home[0])
@@ -478,7 +481,7 @@ dir_find_xdg_dirs (char **config_dir, char **data_dir, char **cache_dir,
}
*data_dir = strdup (path);
if (!*data_dir)
goto error;
goto error_memory;
/* set cache dir: $XDG_CACHE_HOME/weechat or $HOME/.cache/weechat */
if (xdg_cache_home && xdg_cache_home[0])
@@ -495,7 +498,7 @@ dir_find_xdg_dirs (char **config_dir, char **data_dir, char **cache_dir,
}
*cache_dir = strdup (path);
if (!*cache_dir)
goto error;
goto error_memory;
/* set runtime dir: $XDG_RUNTIME_DIR/weechat or same as cache dir */
if (xdg_runtime_dir && xdg_runtime_dir[0])
@@ -510,10 +513,19 @@ dir_find_xdg_dirs (char **config_dir, char **data_dir, char **cache_dir,
*runtime_dir = strdup (*cache_dir);
}
if (!*runtime_dir)
goto error;
goto error_memory;
return 1;
error_home:
string_fprintf (stderr,
_("Error: environment variable \"HOME\" is not defined\n"));
goto error;
error_memory:
string_fprintf (stderr, _("Error: not enough memory\n"));
goto error;
error:
if (*config_dir)
{
@@ -535,7 +547,6 @@ error:
free (*runtime_dir);
*runtime_dir = NULL;
}
string_fprintf (stderr, _("Error: not enough memory\n"));
return 0;
}
+23 -14
View File
@@ -144,7 +144,7 @@ doc_gen_open_file (const char *path, const char *doc, const char *name,
/*
* Closes the file and renames it without ".temp" suffix, if the target name
* does not exist or if it exists with a different (obsolete) content.
* does not exist of if it exists with a different (obsolete) content.
*
* If the target name exists with same content it's kept as-is (so the
* timestamp does not change) and the temporary file is just deleted.
@@ -541,11 +541,19 @@ doc_gen_user_options (const char *path, const char *lang)
values = strdup ("on, off");
break;
case CONFIG_OPTION_TYPE_INTEGER:
snprintf (str_values, sizeof (str_values),
"%d .. %d",
ptr_option->min,
ptr_option->max);
values = strdup (str_values);
if (ptr_option->string_values)
{
values = string_rebuild_split_string (
(const char **)ptr_option->string_values, ", ", 0, -1);
}
else
{
snprintf (str_values, sizeof (str_values),
"%d .. %d",
ptr_option->min,
ptr_option->max);
values = strdup (str_values);
}
break;
case CONFIG_OPTION_TYPE_STRING:
if (ptr_option->max <= 0)
@@ -565,10 +573,6 @@ doc_gen_user_options (const char *path, const char *lang)
case CONFIG_OPTION_TYPE_COLOR:
values = strdup (command_help_option_color_values ());
break;
case CONFIG_OPTION_TYPE_ENUM:
values = string_rebuild_split_string (
(const char **)ptr_option->string_values, ", ", 0, -1);
break;
default:
values = NULL;
break;
@@ -598,10 +602,13 @@ doc_gen_user_options (const char *path, const char *lang)
free (default_value);
}
string_fprintf (
file,
"// end::%s_options[]\n",
old_config->name);
if (old_config)
{
string_fprintf (
file,
"// end::%s_options[]\n",
old_config->name);
}
arraylist_free (list_options);
@@ -1658,9 +1665,11 @@ doc_generate (const char *path)
* (this is used to generate documentation without installing WeeChat,
* that means no need to run `make install`)
*/
#ifdef ENABLE_NLS
localedir = getenv ("WEECHAT_DOCGEN_LOCALEDIR");
if (localedir && localedir[0])
bindtextdomain (PACKAGE, localedir);
#endif /* ENABLE_NLS */
for (i = 0; locales[i]; i++)
{
+16 -3
View File
@@ -413,6 +413,7 @@ eval_string_cut (const char *text, int screen)
if (!tmp)
return strdup ("");
error = NULL;
number = strtol (tmp, &error, 10);
if (!error || error[0] || (number < 0))
{
@@ -453,6 +454,7 @@ eval_string_repeat (const char *text)
if (!tmp)
return strdup ("");
error = NULL;
number = strtol (tmp, &error, 10);
if (!error || error[0] || (number < 0))
{
@@ -538,6 +540,7 @@ eval_string_split (const char *text)
}
else
{
error = NULL;
number = strtol (str_number, &error, 10);
if (!error || error[0] || (number == 0))
goto end;
@@ -578,6 +581,7 @@ eval_string_split (const char *text)
}
else if (strncmp (list_flags[i], "max_items=", 10) == 0)
{
error = NULL;
max_items = strtol (list_flags[i] + 10, &error, 10);
if (!error || error[0] || (max_items < 0))
goto end;
@@ -686,6 +690,7 @@ eval_string_split_shell (const char *text)
}
else
{
error = NULL;
number = strtol (str_number, &error, 10);
if (!error || error[0] || (number == 0))
goto end;
@@ -766,6 +771,7 @@ eval_string_regex_group (const char *text, struct t_eval_context *eval_context)
}
else
{
error = NULL;
number = strtol (text, &error, 10);
if (!error || error[0])
number = -1;
@@ -897,6 +903,7 @@ eval_string_base_encode (const char *text)
if (!base)
goto end;
error = NULL;
number = strtol (base, &error, 10);
if (!error || error[0])
goto end;
@@ -946,6 +953,7 @@ eval_string_base_decode (const char *text)
if (!base)
goto end;
error = NULL;
number = strtol (base, &error, 10);
if (!error || error[0])
goto end;
@@ -1087,6 +1095,7 @@ eval_string_random (const char *text)
tmp = string_strndup (text, pos - text);
if (!tmp)
goto error;
error = NULL;
min_number = strtoll (tmp, &error, 10);
if (!error || error[0])
{
@@ -1095,6 +1104,7 @@ eval_string_random (const char *text)
}
free (tmp);
error = NULL;
max_number = strtoll (pos + 1, &error, 10);
if (!error || error[0])
goto error;
@@ -1832,6 +1842,11 @@ eval_replace_vars_cb (void *data, const char *text)
EVAL_STR_TRUE : EVAL_STR_FALSE);
goto end;
case CONFIG_OPTION_TYPE_INTEGER:
if (ptr_option->string_values)
{
value = strdup (ptr_option->string_values[CONFIG_INTEGER(ptr_option)]);
goto end;
}
snprintf (str_value, sizeof (str_value),
"%d", CONFIG_INTEGER(ptr_option));
value = strdup (str_value);
@@ -1842,9 +1857,6 @@ eval_replace_vars_cb (void *data, const char *text)
case CONFIG_OPTION_TYPE_COLOR:
value = strdup (gui_color_get_name (CONFIG_COLOR(ptr_option)));
goto end;
case CONFIG_OPTION_TYPE_ENUM:
value = strdup (ptr_option->string_values[CONFIG_ENUM(ptr_option)]);
goto end;
case CONFIG_NUM_OPTION_TYPES:
value = strdup ("");
goto end;
@@ -2616,6 +2628,7 @@ eval_expression (const char *expr, struct t_hashtable *pointers,
ptr_value = hashtable_get (options, "debug");
if (ptr_value && ptr_value[0])
{
error = NULL;
number = strtol (ptr_value, &error, 10);
if (error && !error[0] && (number >= 1))
{
+1 -1
View File
@@ -767,7 +767,7 @@ network_pass_proxy (const char *proxy, int sock, const char *address, int port)
ptr_proxy = proxy_search (proxy);
if (ptr_proxy)
{
switch (CONFIG_ENUM(ptr_proxy->options[PROXY_OPTION_TYPE]))
switch (CONFIG_INTEGER(ptr_proxy->options[PROXY_OPTION_TYPE]))
{
case PROXY_TYPE_HTTP:
rc = network_pass_httpproxy (ptr_proxy, sock, address, port);
+5 -5
View File
@@ -272,7 +272,7 @@ proxy_create_option (const char *proxy_name, int index_option,
case PROXY_OPTION_TYPE:
ptr_option = config_file_new_option (
weechat_config_file, weechat_config_section_proxy,
option_name, "enum",
option_name, "integer",
N_("proxy type (http (default), socks4, socks5)"),
"http|socks4|socks5", 0, 0, value, NULL, 0,
NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
@@ -633,9 +633,9 @@ proxy_add_to_infolist (struct t_infolist *infolist, struct t_proxy *proxy)
if (!infolist_new_var_string (ptr_item, "name", proxy->name))
return 0;
if (!infolist_new_var_integer (ptr_item, "type", CONFIG_ENUM(proxy->options[PROXY_OPTION_TYPE])))
if (!infolist_new_var_integer (ptr_item, "type", CONFIG_INTEGER(proxy->options[PROXY_OPTION_TYPE])))
return 0;
if (!infolist_new_var_string (ptr_item, "type_string", proxy_type_string[CONFIG_ENUM(proxy->options[PROXY_OPTION_TYPE])]))
if (!infolist_new_var_string (ptr_item, "type_string", proxy_type_string[CONFIG_INTEGER(proxy->options[PROXY_OPTION_TYPE])]))
return 0;
if (!infolist_new_var_integer (ptr_item, "ipv6", CONFIG_INTEGER(proxy->options[PROXY_OPTION_IPV6])))
return 0;
@@ -667,8 +667,8 @@ proxy_print_log ()
log_printf ("[proxy (addr:0x%lx)]", ptr_proxy);
log_printf (" name . . . . . . . . . : '%s'", ptr_proxy->name);
log_printf (" type . . . . . . . . . : %d (%s)",
CONFIG_ENUM(ptr_proxy->options[PROXY_OPTION_TYPE]),
proxy_type_string[CONFIG_ENUM(ptr_proxy->options[PROXY_OPTION_TYPE])]);
CONFIG_INTEGER(ptr_proxy->options[PROXY_OPTION_TYPE]),
proxy_type_string[CONFIG_INTEGER(ptr_proxy->options[PROXY_OPTION_TYPE])]);
log_printf (" ipv6 . . . . . . . . . : %d", CONFIG_INTEGER(ptr_proxy->options[PROXY_OPTION_IPV6]));
log_printf (" address. . . . . . . . : '%s'", CONFIG_STRING(ptr_proxy->options[PROXY_OPTION_ADDRESS]));
log_printf (" port . . . . . . . . . : %d", CONFIG_INTEGER(ptr_proxy->options[PROXY_OPTION_PORT]));
+2 -2
View File
@@ -101,8 +101,8 @@ secure_buffer_display ()
gui_chat_printf_y (secure_buffer, line++,
"Hash algo: %s Cipher: %s Salt: %s",
secure_hash_algo_string[CONFIG_ENUM(secure_config_crypt_hash_algo)],
secure_cipher_string[CONFIG_ENUM(secure_config_crypt_cipher)],
secure_hash_algo_string[CONFIG_INTEGER(secure_config_crypt_hash_algo)],
secure_cipher_string[CONFIG_INTEGER(secure_config_crypt_cipher)],
(CONFIG_BOOLEAN(secure_config_crypt_salt)) ? _("on") : _("off"));
/* display passphrase */
+6 -6
View File
@@ -250,8 +250,8 @@ secure_config_data_read_cb (const void *pointer, void *data,
rc = secure_decrypt_data (
buffer,
length_buffer,
secure_hash_algo[CONFIG_ENUM(secure_config_crypt_hash_algo)],
secure_cipher[CONFIG_ENUM(secure_config_crypt_cipher)],
secure_hash_algo[CONFIG_INTEGER(secure_config_crypt_hash_algo)],
secure_cipher[CONFIG_INTEGER(secure_config_crypt_cipher)],
secure_passphrase,
&decrypted,
&length_decrypted);
@@ -326,8 +326,8 @@ secure_config_data_write_map_cb (void *data,
/* encrypt password using passphrase */
rc = secure_encrypt_data (
value, strlen (value) + 1,
secure_hash_algo[CONFIG_ENUM(secure_config_crypt_hash_algo)],
secure_cipher[CONFIG_ENUM(secure_config_crypt_cipher)],
secure_hash_algo[CONFIG_INTEGER(secure_config_crypt_hash_algo)],
secure_cipher[CONFIG_INTEGER(secure_config_crypt_cipher)],
secure_passphrase,
&buffer,
&length_buffer);
@@ -465,14 +465,14 @@ secure_config_init_options ()
{
secure_config_crypt_cipher = config_file_new_option (
secure_config_file, secure_config_section_crypt,
"cipher", "enum",
"cipher", "integer",
N_("cipher used to crypt data (the number after algorithm is the "
"size of the key in bits)"),
"aes128|aes192|aes256", 0, 0, "aes256", NULL, 0,
NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
secure_config_crypt_hash_algo = config_file_new_option (
secure_config_file, secure_config_section_crypt,
"hash_algo", "enum",
"hash_algo", "integer",
N_("hash algorithm used to check the decrypted data"),
"sha224|sha256|sha384|sha512", 0, 0, "sha256", NULL, 0,
NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
+2 -2
View File
@@ -469,8 +469,8 @@ secure_decrypt_data_not_decrypted (const char *passphrase)
rc = secure_decrypt_data (
buffer,
length_buffer,
secure_hash_algo[CONFIG_ENUM(secure_config_crypt_hash_algo)],
secure_cipher[CONFIG_ENUM(secure_config_crypt_cipher)],
secure_hash_algo[CONFIG_INTEGER(secure_config_crypt_hash_algo)],
secure_cipher[CONFIG_INTEGER(secure_config_crypt_cipher)],
passphrase,
&decrypted,
&length_decrypted);
+1
View File
@@ -3279,6 +3279,7 @@ string_parse_size (const char *size)
if (!str_number)
goto end;
error = NULL;
number = strtoll (str_number, &error, 10);
if (!error || error[0])
goto end;
+1 -1
View File
@@ -1249,7 +1249,7 @@ weeurl_set_proxy (CURL *curl, struct t_proxy *proxy)
return;
/* set proxy type */
switch (CONFIG_ENUM(proxy->options[PROXY_OPTION_TYPE]))
switch (CONFIG_INTEGER(proxy->options[PROXY_OPTION_TYPE]))
{
case PROXY_TYPE_HTTP:
curl_easy_setopt (curl, CURLOPT_PROXYTYPE, CURLPROXY_HTTP);
+1 -5
View File
@@ -33,11 +33,7 @@
#include <locale.h>
#if defined(ENABLE_NLS) && !defined(_)
#ifdef HAVE_LIBINTL_H
#include <libintl.h>
#else
#include "../../intl/libintl.h"
#endif /* HAVE_LIBINTL_H */
#include <libintl.h>
#define _(string) gettext(string)
#define NG_(single,plural,number) ngettext(single,plural,number)
#ifdef gettext_noop
+4 -4
View File
@@ -128,7 +128,7 @@ gui_bar_window_create_win (struct t_gui_bar_window *bar_window)
if (CONFIG_INTEGER(bar_window->bar->options[GUI_BAR_OPTION_SEPARATOR]))
{
switch (CONFIG_ENUM(bar_window->bar->options[GUI_BAR_OPTION_POSITION]))
switch (CONFIG_INTEGER(bar_window->bar->options[GUI_BAR_OPTION_POSITION]))
{
case GUI_BAR_POSITION_BOTTOM:
GUI_BAR_WINDOW_OBJECTS(bar_window)->win_separator =
@@ -184,7 +184,7 @@ gui_bar_window_print_string (struct t_gui_bar_window *bar_window,
wmove (GUI_BAR_WINDOW_OBJECTS(bar_window)->win_bar, *y, *x);
color_bg = ((CONFIG_ENUM(bar_window->bar->options[GUI_BAR_OPTION_TYPE]) != GUI_BAR_TYPE_ROOT)
color_bg = ((CONFIG_INTEGER(bar_window->bar->options[GUI_BAR_OPTION_TYPE]) != GUI_BAR_TYPE_ROOT)
&& (window != gui_current_window)) ?
GUI_BAR_OPTION_COLOR_BG_INACTIVE : GUI_BAR_OPTION_COLOR_BG;
@@ -556,7 +556,7 @@ gui_bar_window_draw (struct t_gui_bar_window *bar_window,
if (!bar_window || (bar_window->x < 0) || (bar_window->y < 0))
return;
color_bg = ((CONFIG_ENUM(bar_window->bar->options[GUI_BAR_OPTION_TYPE]) != GUI_BAR_TYPE_ROOT)
color_bg = ((CONFIG_INTEGER(bar_window->bar->options[GUI_BAR_OPTION_TYPE]) != GUI_BAR_TYPE_ROOT)
&& (window != gui_current_window)) ?
GUI_BAR_OPTION_COLOR_BG_INACTIVE : GUI_BAR_OPTION_COLOR_BG;
@@ -595,7 +595,7 @@ gui_bar_window_draw (struct t_gui_bar_window *bar_window,
gui_window_current_emphasis = 0;
bar_position = CONFIG_ENUM(bar_window->bar->options[GUI_BAR_OPTION_POSITION]);
bar_position = CONFIG_INTEGER(bar_window->bar->options[GUI_BAR_OPTION_POSITION]);
bar_filling = gui_bar_get_filling (bar_window->bar);
bar_size = CONFIG_INTEGER(bar_window->bar->options[GUI_BAR_OPTION_SIZE]);
+23 -19
View File
@@ -84,7 +84,7 @@ gui_chat_marker_for_line (struct t_gui_buffer *buffer, struct t_gui_line *line)
struct t_gui_line *last_read_line;
/* marker is disabled in config? */
if (CONFIG_ENUM(config_look_read_marker) != CONFIG_LOOK_READ_MARKER_LINE)
if (CONFIG_INTEGER(config_look_read_marker) != CONFIG_LOOK_READ_MARKER_LINE)
return 0;
/* marker is not set for buffer? */
@@ -204,7 +204,7 @@ gui_chat_display_horizontal_line (struct t_gui_window *window, int simulate)
return;
gui_window_coords_init_line (window, window->win_chat_cursor_y);
if (CONFIG_ENUM(config_look_read_marker) == CONFIG_LOOK_READ_MARKER_LINE)
if (CONFIG_INTEGER(config_look_read_marker) == CONFIG_LOOK_READ_MARKER_LINE)
{
read_marker_string = CONFIG_STRING(config_look_read_marker_string);
if (!read_marker_string || !read_marker_string[0])
@@ -526,8 +526,8 @@ gui_chat_display_prefix_suffix (struct t_gui_window *window,
{
window->win_chat_cursor_x += length_align;
if ((CONFIG_ENUM(config_look_align_end_of_lines) == CONFIG_LOOK_ALIGN_END_OF_LINES_MESSAGE)
&& (CONFIG_ENUM(config_look_prefix_align) != CONFIG_LOOK_PREFIX_ALIGN_NONE)
if ((CONFIG_INTEGER(config_look_align_end_of_lines) == CONFIG_LOOK_ALIGN_END_OF_LINES_MESSAGE)
&& (CONFIG_INTEGER(config_look_prefix_align) != CONFIG_LOOK_PREFIX_ALIGN_NONE)
&& CONFIG_STRING(config_look_prefix_suffix)
&& CONFIG_STRING(config_look_prefix_suffix)[0]
&& line->data->date > 0)
@@ -643,6 +643,8 @@ gui_chat_display_word (struct t_gui_window *window,
nick_offline);
}
ptr_data[pos_saved_char] = saved_char;
if (pos_saved_char == 0)
break;
ptr_data += pos_saved_char;
}
else
@@ -664,6 +666,8 @@ gui_chat_display_word (struct t_gui_window *window,
apply_style_inactive,
nick_offline);
}
if (!ptr_data[0])
break;
ptr_data += strlen (ptr_data);
}
@@ -892,7 +896,7 @@ gui_chat_display_time_to_prefix (struct t_gui_window *window,
if (mixed_lines && (line->data->buffer->active != 2))
{
if ((CONFIG_INTEGER(config_look_prefix_buffer_align_max) > 0)
&& (CONFIG_ENUM(config_look_prefix_buffer_align) != CONFIG_LOOK_PREFIX_BUFFER_ALIGN_NONE))
&& (CONFIG_INTEGER(config_look_prefix_buffer_align) != CONFIG_LOOK_PREFIX_BUFFER_ALIGN_NONE))
{
length_allowed =
(mixed_lines->buffer_max_length <= CONFIG_INTEGER(config_look_prefix_buffer_align_max)) ?
@@ -905,7 +909,7 @@ gui_chat_display_time_to_prefix (struct t_gui_window *window,
length = gui_chat_strlen_screen (short_name);
num_spaces = length_allowed - length;
if (CONFIG_ENUM(config_look_prefix_buffer_align) == CONFIG_LOOK_PREFIX_BUFFER_ALIGN_RIGHT)
if (CONFIG_INTEGER(config_look_prefix_buffer_align) == CONFIG_LOOK_PREFIX_BUFFER_ALIGN_RIGHT)
{
if (!simulate)
{
@@ -941,7 +945,7 @@ gui_chat_display_time_to_prefix (struct t_gui_window *window,
window->coords[window->win_chat_cursor_y].buffer_x1 = window->win_chat_cursor_x;
/* not enough space to display full buffer name? => truncate it! */
if ((CONFIG_ENUM(config_look_prefix_buffer_align) != CONFIG_LOOK_PREFIX_BUFFER_ALIGN_NONE)
if ((CONFIG_INTEGER(config_look_prefix_buffer_align) != CONFIG_LOOK_PREFIX_BUFFER_ALIGN_NONE)
&& (num_spaces < 0))
{
chars_to_display = length_allowed;
@@ -976,7 +980,7 @@ gui_chat_display_time_to_prefix (struct t_gui_window *window,
if (window->win_chat_cursor_y < window->coords_size)
window->coords[window->win_chat_cursor_y].buffer_x2 = window->win_chat_cursor_x - 1;
if ((CONFIG_ENUM(config_look_prefix_buffer_align) != CONFIG_LOOK_PREFIX_BUFFER_ALIGN_NONE)
if ((CONFIG_INTEGER(config_look_prefix_buffer_align) != CONFIG_LOOK_PREFIX_BUFFER_ALIGN_NONE)
&& (num_spaces < 0))
{
if (!simulate)
@@ -1017,9 +1021,9 @@ gui_chat_display_time_to_prefix (struct t_gui_window *window,
GUI_COLOR_CHAT_INACTIVE_BUFFER,
GUI_COLOR_CHAT);
}
if ((CONFIG_ENUM(config_look_prefix_buffer_align) == CONFIG_LOOK_PREFIX_BUFFER_ALIGN_LEFT)
|| ((CONFIG_ENUM(config_look_prefix_buffer_align) == CONFIG_LOOK_PREFIX_BUFFER_ALIGN_NONE)
&& (CONFIG_ENUM(config_look_prefix_align) != CONFIG_LOOK_PREFIX_ALIGN_NONE)))
if ((CONFIG_INTEGER(config_look_prefix_buffer_align) == CONFIG_LOOK_PREFIX_BUFFER_ALIGN_LEFT)
|| ((CONFIG_INTEGER(config_look_prefix_buffer_align) == CONFIG_LOOK_PREFIX_BUFFER_ALIGN_NONE)
&& (CONFIG_INTEGER(config_look_prefix_align) != CONFIG_LOOK_PREFIX_ALIGN_NONE)))
{
for (i = 0; i < num_spaces; i++)
{
@@ -1083,7 +1087,7 @@ gui_chat_display_time_to_prefix (struct t_gui_window *window,
/* display prefix */
if (ptr_prefix
&& (ptr_prefix[0]
|| (CONFIG_ENUM(config_look_prefix_align) != CONFIG_LOOK_PREFIX_ALIGN_NONE)))
|| (CONFIG_INTEGER(config_look_prefix_align) != CONFIG_LOOK_PREFIX_ALIGN_NONE)))
{
if (!simulate)
{
@@ -1116,7 +1120,7 @@ gui_chat_display_time_to_prefix (struct t_gui_window *window,
num_spaces = length_allowed - prefix_length - length_nick_prefix_suffix;
if (CONFIG_ENUM(config_look_prefix_align) == CONFIG_LOOK_PREFIX_ALIGN_RIGHT)
if (CONFIG_INTEGER(config_look_prefix_align) == CONFIG_LOOK_PREFIX_ALIGN_RIGHT)
{
for (i = 0; i < num_spaces; i++)
{
@@ -1195,7 +1199,7 @@ gui_chat_display_time_to_prefix (struct t_gui_window *window,
/* not enough space to display full prefix? => truncate it! */
extra_spaces = 0;
if ((CONFIG_ENUM(config_look_prefix_align) != CONFIG_LOOK_PREFIX_ALIGN_NONE)
if ((CONFIG_INTEGER(config_look_prefix_align) != CONFIG_LOOK_PREFIX_ALIGN_NONE)
&& (num_spaces < 0))
{
chars_to_display = length_allowed - length_nick_prefix_suffix;
@@ -1256,7 +1260,7 @@ gui_chat_display_time_to_prefix (struct t_gui_window *window,
}
if (!CONFIG_BOOLEAN(config_look_prefix_align_more_after)
&& (CONFIG_ENUM(config_look_prefix_align) != CONFIG_LOOK_PREFIX_ALIGN_NONE)
&& (CONFIG_INTEGER(config_look_prefix_align) != CONFIG_LOOK_PREFIX_ALIGN_NONE)
&& (num_spaces < 0))
{
if (!simulate)
@@ -1288,7 +1292,7 @@ gui_chat_display_time_to_prefix (struct t_gui_window *window,
simulate, 0, 0);
}
if (CONFIG_ENUM(config_look_prefix_align) == CONFIG_LOOK_PREFIX_ALIGN_LEFT)
if (CONFIG_INTEGER(config_look_prefix_align) == CONFIG_LOOK_PREFIX_ALIGN_LEFT)
{
if (!simulate)
{
@@ -1309,7 +1313,7 @@ gui_chat_display_time_to_prefix (struct t_gui_window *window,
}
if (CONFIG_BOOLEAN(config_look_prefix_align_more_after)
&& (CONFIG_ENUM(config_look_prefix_align) != CONFIG_LOOK_PREFIX_ALIGN_NONE)
&& (CONFIG_INTEGER(config_look_prefix_align) != CONFIG_LOOK_PREFIX_ALIGN_NONE)
&& (num_spaces < 0))
{
if (!simulate)
@@ -1345,7 +1349,7 @@ gui_chat_display_time_to_prefix (struct t_gui_window *window,
}
}
if ((CONFIG_ENUM(config_look_prefix_align) != CONFIG_LOOK_PREFIX_ALIGN_NONE)
if ((CONFIG_INTEGER(config_look_prefix_align) != CONFIG_LOOK_PREFIX_ALIGN_NONE)
&& CONFIG_STRING(config_look_prefix_suffix)
&& CONFIG_STRING(config_look_prefix_suffix)[0])
{
@@ -1709,7 +1713,7 @@ gui_chat_display_line (struct t_gui_window *window, struct t_gui_line *line,
else
{
/* display read marker if needed */
if ((CONFIG_ENUM(config_look_read_marker) == CONFIG_LOOK_READ_MARKER_CHAR)
if ((CONFIG_INTEGER(config_look_read_marker) == CONFIG_LOOK_READ_MARKER_CHAR)
&& window->buffer->lines->last_read_line
&& (window->buffer->lines->last_read_line == gui_line_get_prev_displayed (line)))
{
+9 -15
View File
@@ -217,21 +217,15 @@ gui_key_default_bindings (int context, int create_option)
else if (context == GUI_KEY_CONTEXT_CURSOR)
{
/* general & move */
BIND("return", "/cursor stop");
BIND("up", "/cursor move up");
BIND("down", "/cursor move down");
BIND("left", "/cursor move left");
BIND("right", "/cursor move right");
BIND("meta-up", "/cursor move edge_top");
BIND("meta-down", "/cursor move edge_bottom");
BIND("meta-left", "/cursor move edge_left");
BIND("meta-right", "/cursor move edge_right");
BIND("meta-home", "/cursor move top_left");
BIND("meta-end", "/cursor move bottom_right");
BIND("meta-shift-up", "/cursor move area_up");
BIND("meta-shift-down", "/cursor move area_down");
BIND("meta-shift-left", "/cursor move area_left");
BIND("meta-shift-right", "/cursor move area_right");
BIND("return", "/cursor stop");
BIND("up", "/cursor move up");
BIND("down", "/cursor move down");
BIND("left", "/cursor move left");
BIND("right", "/cursor move right");
BIND("meta-up", "/cursor move area_up");
BIND("meta-down", "/cursor move area_down");
BIND("meta-left", "/cursor move area_left");
BIND("meta-right","/cursor move area_right");
/* chat */
BIND("@chat:m", "hsignal:chat_quote_message;/cursor stop");
BIND("@chat:l", "hsignal:chat_quote_focused_line;/cursor stop");
+2
View File
@@ -74,6 +74,8 @@ char *gui_mouse_button_codes[][2] =
{ "*", "alt-button2" },
{ ")", "alt-button3" },
{ "8", "alt-ctrl-button1" },
{ ":", "alt-ctrl-button2" },
{ "9", "alt-ctrl-button3" },
{ NULL, NULL } };
+1 -1
View File
@@ -1826,7 +1826,7 @@ gui_window_refresh_windows ()
for (ptr_bar = gui_bars; ptr_bar; ptr_bar = ptr_bar->next_bar)
{
if ((CONFIG_ENUM(ptr_bar->options[GUI_BAR_OPTION_TYPE]) == GUI_BAR_TYPE_ROOT)
if ((CONFIG_INTEGER(ptr_bar->options[GUI_BAR_OPTION_TYPE]) == GUI_BAR_TYPE_ROOT)
&& ptr_bar->bar_window
&& !CONFIG_BOOLEAN(ptr_bar->options[GUI_BAR_OPTION_HIDDEN]))
{
+63 -20
View File
@@ -439,31 +439,46 @@ gui_bar_item_custom_new (const char *name, const char *conditions,
if (gui_bar_item_custom_search (name))
return NULL;
if (gui_bar_item_search_default (name) >= 0)
return NULL;
option_conditions = NULL;
option_content = NULL;
new_bar_item_custom = NULL;
option_conditions = gui_bar_item_custom_create_option (
name,
GUI_BAR_ITEM_CUSTOM_OPTION_CONDITIONS,
conditions);
if (!option_conditions)
return NULL;
goto error;
option_content = gui_bar_item_custom_create_option (
name,
GUI_BAR_ITEM_CUSTOM_OPTION_CONTENT,
content);
if (!option_content)
{
config_file_option_free (option_conditions, 0);
return NULL;
}
goto error;
new_bar_item_custom = gui_bar_item_custom_new_with_options (
name,
option_conditions,
option_content);
if (!new_bar_item_custom)
goto error;
gui_bar_item_custom_create_bar_item (new_bar_item_custom);
if (!new_bar_item_custom->bar_item)
goto error;
gui_bar_item_update (name);
return new_bar_item_custom;
error:
if (new_bar_item_custom)
{
gui_bar_item_custom_create_bar_item (new_bar_item_custom);
gui_bar_item_update (name);
gui_bar_item_custom_free (new_bar_item_custom);
}
else
{
@@ -472,8 +487,7 @@ gui_bar_item_custom_new (const char *name, const char *conditions,
if (option_content)
config_file_option_free (option_content, 0);
}
return new_bar_item_custom;
return NULL;
}
/*
@@ -483,12 +497,13 @@ gui_bar_item_custom_new (const char *name, const char *conditions,
void
gui_bar_item_custom_use_temp_items ()
{
struct t_gui_bar_item_custom *ptr_temp_item;
struct t_gui_bar_item_custom *ptr_temp_item, *ptr_next_temp_item;
int i;
for (ptr_temp_item = gui_temp_custom_bar_items; ptr_temp_item;
ptr_temp_item = ptr_temp_item->next_item)
ptr_temp_item = gui_temp_custom_bar_items;
while (ptr_temp_item)
{
ptr_next_temp_item = ptr_temp_item->next_item;
for (i = 0; i < GUI_BAR_ITEM_CUSTOM_NUM_OPTIONS; i++)
{
if (!ptr_temp_item->options[i])
@@ -500,6 +515,20 @@ gui_bar_item_custom_use_temp_items ()
}
}
gui_bar_item_custom_create_bar_item (ptr_temp_item);
if (!ptr_temp_item->bar_item)
{
if (ptr_temp_item->prev_item)
(ptr_temp_item->prev_item)->next_item = ptr_temp_item->next_item;
if (ptr_temp_item->next_item)
(ptr_temp_item->next_item)->prev_item = ptr_temp_item->prev_item;
if (gui_temp_custom_bar_items == ptr_temp_item)
gui_temp_custom_bar_items = ptr_temp_item->next_item;
if (last_gui_temp_custom_bar_item == ptr_temp_item)
last_gui_temp_custom_bar_item = ptr_temp_item->prev_item;
gui_bar_item_custom_free_data (ptr_temp_item);
free (ptr_temp_item);
}
ptr_temp_item = ptr_next_temp_item;
}
/* remove any existing custom bar item */
@@ -534,6 +563,9 @@ gui_bar_item_custom_rename (struct t_gui_bar_item_custom *item,
if (gui_bar_item_custom_search (new_name))
return 0;
if (gui_bar_item_search_default (new_name) >= 0)
return 0;
old_name = strdup (item->name);
if (!old_name)
return 0;
@@ -570,6 +602,24 @@ gui_bar_item_custom_rename (struct t_gui_bar_item_custom *item,
return 1;
}
/*
* Frees data in a custom bar item.*
*/
void
gui_bar_item_custom_free_data (struct t_gui_bar_item_custom *item)
{
int i;
if (item->name)
free (item->name);
for (i = 0; i < GUI_BAR_ITEM_CUSTOM_NUM_OPTIONS; i++)
{
if (item->options[i])
config_file_option_free (item->options[i], 1);
}
}
/*
* Deletes a custom bar item.
*/
@@ -578,7 +628,6 @@ void
gui_bar_item_custom_free (struct t_gui_bar_item_custom *item)
{
char *name;
int i;
if (!item)
return;
@@ -599,13 +648,7 @@ gui_bar_item_custom_free (struct t_gui_bar_item_custom *item)
last_gui_custom_bar_item = item->prev_item;
/* free data */
if (item->name)
free (item->name);
for (i = 0; i < GUI_BAR_ITEM_CUSTOM_NUM_OPTIONS; i++)
{
if (item->options[i])
config_file_option_free (item->options[i], 1);
}
gui_bar_item_custom_free_data (item);
free (item);
+1
View File
@@ -69,6 +69,7 @@ extern struct t_gui_bar_item_custom *gui_bar_item_custom_new (const char *name,
extern void gui_bar_item_custom_use_temp_items ();
extern int gui_bar_item_custom_rename (struct t_gui_bar_item_custom *item,
const char *new_name);
extern void gui_bar_item_custom_free_data (struct t_gui_bar_item_custom *item);
extern void gui_bar_item_custom_free (struct t_gui_bar_item_custom *item);
extern void gui_bar_item_custom_free_all ();
+26 -2
View File
@@ -97,6 +97,30 @@ gui_bar_item_valid (struct t_gui_bar_item *bar_item)
return 0;
}
/*
* Searches for a default bar item by name.
*
* Returns index in gui_bar_item_names[], -1 if not found.
*/
int
gui_bar_item_search_default (const char *item_name)
{
int i;
if (!item_name || !item_name[0])
return -1;
for (i = 0; i < GUI_BAR_NUM_ITEMS; i++)
{
if (strcmp (gui_bar_item_names[i], item_name) == 0)
return i;
}
/* default bar item not found */
return -1;
}
/*
* Searches for a bar item by name.
*/
@@ -587,7 +611,7 @@ gui_bar_item_update (const char *item_name)
if (!CONFIG_BOOLEAN(ptr_bar->options[GUI_BAR_OPTION_HIDDEN]))
check_bar_conditions = 1;
if (CONFIG_ENUM(ptr_bar->options[GUI_BAR_OPTION_TYPE]) == GUI_BAR_TYPE_ROOT)
if (CONFIG_INTEGER(ptr_bar->options[GUI_BAR_OPTION_TYPE]) == GUI_BAR_TYPE_ROOT)
{
if (ptr_bar->bar_window)
{
@@ -621,7 +645,7 @@ gui_bar_item_update (const char *item_name)
*/
if (check_bar_conditions)
{
if (CONFIG_ENUM(ptr_bar->options[GUI_BAR_OPTION_TYPE]) == GUI_BAR_TYPE_ROOT)
if (CONFIG_INTEGER(ptr_bar->options[GUI_BAR_OPTION_TYPE]) == GUI_BAR_TYPE_ROOT)
{
condition_ok = gui_bar_check_conditions (ptr_bar, NULL);
if ((condition_ok && !ptr_bar->bar_window)
+1
View File
@@ -89,6 +89,7 @@ extern char *gui_bar_item_names[];
/* functions */
extern int gui_bar_item_valid (struct t_gui_bar_item *bar_item);
extern int gui_bar_item_search_default (const char *item_name);
extern struct t_gui_bar_item *gui_bar_item_search (const char *name);
extern int gui_bar_item_used_in_bar (struct t_gui_bar *bar,
const char *item_name,
+13 -13
View File
@@ -168,7 +168,7 @@ gui_bar_window_search_by_xy (struct t_gui_window *window, int x, int y,
if (*bar_window)
{
filling = gui_bar_get_filling ((*bar_window)->bar);
position = CONFIG_ENUM((*bar_window)->bar->options[GUI_BAR_OPTION_POSITION]);
position = CONFIG_INTEGER((*bar_window)->bar->options[GUI_BAR_OPTION_POSITION]);
*bar_item_line = y - (*bar_window)->y + (*bar_window)->scroll_y;
*bar_item_col = x - (*bar_window)->x + (*bar_window)->scroll_x;
@@ -300,8 +300,8 @@ gui_bar_window_get_size (struct t_gui_bar *bar, struct t_gui_window *window,
if (!CONFIG_BOOLEAN(ptr_bar_window->bar->options[GUI_BAR_OPTION_HIDDEN]))
{
if ((CONFIG_ENUM(ptr_bar_window->bar->options[GUI_BAR_OPTION_TYPE]) != GUI_BAR_TYPE_ROOT)
&& (CONFIG_ENUM(ptr_bar_window->bar->options[GUI_BAR_OPTION_POSITION]) == (int)position))
if ((CONFIG_INTEGER(ptr_bar_window->bar->options[GUI_BAR_OPTION_TYPE]) != GUI_BAR_TYPE_ROOT)
&& (CONFIG_INTEGER(ptr_bar_window->bar->options[GUI_BAR_OPTION_POSITION]) == (int)position))
{
switch (position)
{
@@ -365,7 +365,7 @@ gui_bar_window_calculate_pos_size (struct t_gui_bar_window *bar_window,
add_right = gui_bar_root_get_size (bar_window->bar, GUI_BAR_POSITION_RIGHT);
}
switch (CONFIG_ENUM(bar_window->bar->options[GUI_BAR_OPTION_POSITION]))
switch (CONFIG_INTEGER(bar_window->bar->options[GUI_BAR_OPTION_POSITION]))
{
case GUI_BAR_POSITION_BOTTOM:
bar_window->x = x1 + add_left;
@@ -880,8 +880,8 @@ gui_bar_window_content_get_with_filling (struct t_gui_bar_window *bar_window,
else
split_items[i] = NULL;
}
if ((CONFIG_ENUM(bar_window->bar->options[GUI_BAR_OPTION_POSITION]) == GUI_BAR_POSITION_BOTTOM)
|| (CONFIG_ENUM(bar_window->bar->options[GUI_BAR_OPTION_POSITION]) == GUI_BAR_POSITION_TOP))
if ((CONFIG_INTEGER(bar_window->bar->options[GUI_BAR_OPTION_POSITION]) == GUI_BAR_POSITION_BOTTOM)
|| (CONFIG_INTEGER(bar_window->bar->options[GUI_BAR_OPTION_POSITION]) == GUI_BAR_POSITION_TOP))
{
columns = bar_window->width / (max_length_screen + 1);
if (columns == 0)
@@ -1008,7 +1008,7 @@ gui_bar_window_can_use_spacer (struct t_gui_bar_window *bar_window)
if (!bar_window)
return 0;
position = CONFIG_ENUM(bar_window->bar->options[GUI_BAR_OPTION_POSITION]);
position = CONFIG_INTEGER(bar_window->bar->options[GUI_BAR_OPTION_POSITION]);
filling = gui_bar_get_filling (bar_window->bar);
bar_size = CONFIG_INTEGER(bar_window->bar->options[GUI_BAR_OPTION_SIZE]);
@@ -1194,7 +1194,7 @@ gui_bar_window_new (struct t_gui_bar *bar, struct t_gui_window *window)
if (window)
{
if ((CONFIG_ENUM(bar->options[GUI_BAR_OPTION_TYPE]) == GUI_BAR_TYPE_WINDOW)
if ((CONFIG_INTEGER(bar->options[GUI_BAR_OPTION_TYPE]) == GUI_BAR_TYPE_WINDOW)
&& (!gui_bar_check_conditions (bar, window)))
return;
}
@@ -1272,7 +1272,7 @@ gui_bar_window_get_max_size_in_window (struct t_gui_bar_window *bar_window,
if (bar_window && window)
{
switch (CONFIG_ENUM(bar_window->bar->options[GUI_BAR_OPTION_POSITION]))
switch (CONFIG_INTEGER(bar_window->bar->options[GUI_BAR_OPTION_POSITION]))
{
case GUI_BAR_POSITION_BOTTOM:
case GUI_BAR_POSITION_TOP:
@@ -1439,7 +1439,7 @@ gui_bar_window_remove_unused_bars (struct t_gui_window *window)
{
next_bar_win = ptr_bar_win->next_bar_window;
if ((CONFIG_ENUM(ptr_bar_win->bar->options[GUI_BAR_OPTION_TYPE]) == GUI_BAR_TYPE_WINDOW)
if ((CONFIG_INTEGER(ptr_bar_win->bar->options[GUI_BAR_OPTION_TYPE]) == GUI_BAR_TYPE_WINDOW)
&& (!gui_bar_check_conditions (ptr_bar_win->bar, window)))
{
gui_bar_window_free (ptr_bar_win, window);
@@ -1454,7 +1454,7 @@ gui_bar_window_remove_unused_bars (struct t_gui_window *window)
/* remove unused root bars */
for (ptr_bar = gui_bars; ptr_bar; ptr_bar = ptr_bar->next_bar)
{
if ((CONFIG_ENUM(ptr_bar->options[GUI_BAR_OPTION_TYPE]) == GUI_BAR_TYPE_ROOT)
if ((CONFIG_INTEGER(ptr_bar->options[GUI_BAR_OPTION_TYPE]) == GUI_BAR_TYPE_ROOT)
&& ptr_bar->bar_window
&& (!gui_bar_check_conditions (ptr_bar, NULL)))
{
@@ -1491,7 +1491,7 @@ gui_bar_window_add_missing_bars (struct t_gui_window *window)
/* add missing window bars in window */
for (ptr_bar = gui_bars; ptr_bar; ptr_bar = ptr_bar->next_bar)
{
if ((CONFIG_ENUM(ptr_bar->options[GUI_BAR_OPTION_TYPE]) == GUI_BAR_TYPE_WINDOW)
if ((CONFIG_INTEGER(ptr_bar->options[GUI_BAR_OPTION_TYPE]) == GUI_BAR_TYPE_WINDOW)
&& (!gui_bar_window_search_bar (window, ptr_bar))
&& (gui_bar_check_conditions (ptr_bar, window)))
{
@@ -1505,7 +1505,7 @@ gui_bar_window_add_missing_bars (struct t_gui_window *window)
/* add missing root bars */
for (ptr_bar = gui_bars; ptr_bar; ptr_bar = ptr_bar->next_bar)
{
if ((CONFIG_ENUM(ptr_bar->options[GUI_BAR_OPTION_TYPE]) == GUI_BAR_TYPE_ROOT)
if ((CONFIG_INTEGER(ptr_bar->options[GUI_BAR_OPTION_TYPE]) == GUI_BAR_TYPE_ROOT)
&& !ptr_bar->bar_window
&& (gui_bar_check_conditions (ptr_bar, NULL)))
{
+29 -29
View File
@@ -239,7 +239,7 @@ gui_bar_check_size_add (struct t_gui_bar *bar, int add_size)
sub_width = 0;
sub_height = 0;
switch (CONFIG_ENUM(bar->options[GUI_BAR_OPTION_POSITION]))
switch (CONFIG_INTEGER(bar->options[GUI_BAR_OPTION_POSITION]))
{
case GUI_BAR_POSITION_BOTTOM:
case GUI_BAR_POSITION_TOP:
@@ -256,7 +256,7 @@ gui_bar_check_size_add (struct t_gui_bar *bar, int add_size)
for (ptr_window = gui_windows; ptr_window;
ptr_window = ptr_window->next_window)
{
if ((CONFIG_ENUM(bar->options[GUI_BAR_OPTION_TYPE]) == GUI_BAR_TYPE_ROOT)
if ((CONFIG_INTEGER(bar->options[GUI_BAR_OPTION_TYPE]) == GUI_BAR_TYPE_ROOT)
|| (gui_bar_window_search_bar (ptr_window, bar)))
{
if ((ptr_window->win_chat_width - sub_width < 1)
@@ -277,11 +277,11 @@ gui_bar_check_size_add (struct t_gui_bar *bar, int add_size)
enum t_gui_bar_filling
gui_bar_get_filling (struct t_gui_bar *bar)
{
if ((CONFIG_ENUM(bar->options[GUI_BAR_OPTION_POSITION]) == GUI_BAR_POSITION_BOTTOM)
|| (CONFIG_ENUM(bar->options[GUI_BAR_OPTION_POSITION]) == GUI_BAR_POSITION_TOP))
return CONFIG_ENUM(bar->options[GUI_BAR_OPTION_FILLING_TOP_BOTTOM]);
if ((CONFIG_INTEGER(bar->options[GUI_BAR_OPTION_POSITION]) == GUI_BAR_POSITION_BOTTOM)
|| (CONFIG_INTEGER(bar->options[GUI_BAR_OPTION_POSITION]) == GUI_BAR_POSITION_TOP))
return CONFIG_INTEGER(bar->options[GUI_BAR_OPTION_FILLING_TOP_BOTTOM]);
return CONFIG_ENUM(bar->options[GUI_BAR_OPTION_FILLING_LEFT_RIGHT]);
return CONFIG_INTEGER(bar->options[GUI_BAR_OPTION_FILLING_LEFT_RIGHT]);
}
/*
@@ -474,8 +474,8 @@ gui_bar_root_get_size (struct t_gui_bar *bar, enum t_gui_bar_position position)
if (!CONFIG_BOOLEAN(ptr_bar->options[GUI_BAR_OPTION_HIDDEN])
&& ptr_bar->bar_window)
{
if ((CONFIG_ENUM(ptr_bar->options[GUI_BAR_OPTION_TYPE]) == GUI_BAR_TYPE_ROOT)
&& (CONFIG_ENUM(ptr_bar->options[GUI_BAR_OPTION_POSITION]) == (int)position))
if ((CONFIG_INTEGER(ptr_bar->options[GUI_BAR_OPTION_TYPE]) == GUI_BAR_TYPE_ROOT)
&& (CONFIG_INTEGER(ptr_bar->options[GUI_BAR_OPTION_POSITION]) == (int)position))
{
total_size += gui_bar_window_get_current_size (ptr_bar->bar_window);
if (CONFIG_INTEGER(ptr_bar->options[GUI_BAR_OPTION_SEPARATOR]))
@@ -596,7 +596,7 @@ gui_bar_refresh (struct t_gui_bar *bar)
{
struct t_gui_window *ptr_win;
if (CONFIG_ENUM(bar->options[GUI_BAR_OPTION_TYPE]) == GUI_BAR_TYPE_ROOT)
if (CONFIG_INTEGER(bar->options[GUI_BAR_OPTION_TYPE]) == GUI_BAR_TYPE_ROOT)
gui_window_ask_refresh (1);
else
{
@@ -654,7 +654,7 @@ gui_bar_apply_current_size (struct t_gui_bar *bar)
struct t_gui_window *ptr_win;
struct t_gui_bar_window *ptr_bar_win;
if (CONFIG_ENUM(bar->options[GUI_BAR_OPTION_TYPE]) == GUI_BAR_TYPE_ROOT)
if (CONFIG_INTEGER(bar->options[GUI_BAR_OPTION_TYPE]) == GUI_BAR_TYPE_ROOT)
{
gui_bar_window_set_current_size (bar->bar_window,
NULL,
@@ -853,7 +853,7 @@ gui_bar_config_change_hidden (const void *pointer, void *data,
ptr_bar = gui_bar_search_with_option_name (option->name);
if (ptr_bar)
{
if (CONFIG_ENUM(ptr_bar->options[GUI_BAR_OPTION_TYPE]) == GUI_BAR_TYPE_ROOT)
if (CONFIG_INTEGER(ptr_bar->options[GUI_BAR_OPTION_TYPE]) == GUI_BAR_TYPE_ROOT)
{
if (CONFIG_BOOLEAN(ptr_bar->options[GUI_BAR_OPTION_HIDDEN]))
{
@@ -1374,7 +1374,7 @@ gui_bar_create_option (const char *bar_name, int index_option, const char *value
case GUI_BAR_OPTION_TYPE:
ptr_option = config_file_new_option (
weechat_config_file, weechat_config_section_bar,
option_name, "enum",
option_name, "integer",
N_("bar type (root, window, window_active, window_inactive)"),
"root|window|window_active|window_inactive",
0, 0, default_value, value, 0,
@@ -1401,7 +1401,7 @@ gui_bar_create_option (const char *bar_name, int index_option, const char *value
case GUI_BAR_OPTION_POSITION:
ptr_option = config_file_new_option (
weechat_config_file, weechat_config_section_bar,
option_name, "enum",
option_name, "integer",
N_("bar position (bottom, top, left, right)"),
"bottom|top|left|right", 0, 0, default_value, value, 0,
NULL, NULL, NULL,
@@ -1411,7 +1411,7 @@ gui_bar_create_option (const char *bar_name, int index_option, const char *value
case GUI_BAR_OPTION_FILLING_TOP_BOTTOM:
ptr_option = config_file_new_option (
weechat_config_file, weechat_config_section_bar,
option_name, "enum",
option_name, "integer",
N_("bar filling direction (\"horizontal\" (from left to right) "
"or \"vertical\" (from top to bottom)) when bar position is "
"top or bottom"),
@@ -1424,7 +1424,7 @@ gui_bar_create_option (const char *bar_name, int index_option, const char *value
case GUI_BAR_OPTION_FILLING_LEFT_RIGHT:
ptr_option = config_file_new_option (
weechat_config_file, weechat_config_section_bar,
option_name, "enum",
option_name, "integer",
N_("bar filling direction (\"horizontal\" (from left to right) "
"or \"vertical\" (from top to bottom)) when bar position is "
"left or right"),
@@ -1669,7 +1669,7 @@ gui_bar_new_with_options (const char *name,
gui_bar_insert (new_bar);
/* add window bar */
if (CONFIG_ENUM(new_bar->options[GUI_BAR_OPTION_TYPE]) == GUI_BAR_TYPE_ROOT)
if (CONFIG_INTEGER(new_bar->options[GUI_BAR_OPTION_TYPE]) == GUI_BAR_TYPE_ROOT)
{
/* create only one window for bar */
gui_bar_window_new (new_bar, NULL);
@@ -2172,7 +2172,7 @@ gui_bar_scroll (struct t_gui_bar *bar, struct t_gui_window *window,
}
}
if (CONFIG_ENUM(bar->options[GUI_BAR_OPTION_TYPE]) == GUI_BAR_TYPE_ROOT)
if (CONFIG_INTEGER(bar->options[GUI_BAR_OPTION_TYPE]) == GUI_BAR_TYPE_ROOT)
{
gui_bar_window_scroll (bar->bar_window, NULL,
add_x, scroll_beginning, scroll_end,
@@ -2352,15 +2352,15 @@ gui_bar_add_to_infolist (struct t_infolist *infolist,
return 0;
if (!infolist_new_var_integer (ptr_item, "priority", CONFIG_INTEGER(bar->options[GUI_BAR_OPTION_PRIORITY])))
return 0;
if (!infolist_new_var_integer (ptr_item, "type", CONFIG_ENUM(bar->options[GUI_BAR_OPTION_TYPE])))
if (!infolist_new_var_integer (ptr_item, "type", CONFIG_INTEGER(bar->options[GUI_BAR_OPTION_TYPE])))
return 0;
if (!infolist_new_var_string (ptr_item, "conditions", CONFIG_STRING(bar->options[GUI_BAR_OPTION_CONDITIONS])))
return 0;
if (!infolist_new_var_integer (ptr_item, "position", CONFIG_ENUM(bar->options[GUI_BAR_OPTION_POSITION])))
if (!infolist_new_var_integer (ptr_item, "position", CONFIG_INTEGER(bar->options[GUI_BAR_OPTION_POSITION])))
return 0;
if (!infolist_new_var_integer (ptr_item, "filling_top_bottom", CONFIG_ENUM(bar->options[GUI_BAR_OPTION_FILLING_TOP_BOTTOM])))
if (!infolist_new_var_integer (ptr_item, "filling_top_bottom", CONFIG_INTEGER(bar->options[GUI_BAR_OPTION_FILLING_TOP_BOTTOM])))
return 0;
if (!infolist_new_var_integer (ptr_item, "filling_left_right", CONFIG_ENUM(bar->options[GUI_BAR_OPTION_FILLING_LEFT_RIGHT])))
if (!infolist_new_var_integer (ptr_item, "filling_left_right", CONFIG_INTEGER(bar->options[GUI_BAR_OPTION_FILLING_LEFT_RIGHT])))
return 0;
if (!infolist_new_var_integer (ptr_item, "size", CONFIG_INTEGER(bar->options[GUI_BAR_OPTION_SIZE])))
return 0;
@@ -2430,18 +2430,18 @@ gui_bar_print_log ()
log_printf (" hidden . . . . . . . . : %d", CONFIG_INTEGER(ptr_bar->options[GUI_BAR_OPTION_HIDDEN]));
log_printf (" priority . . . . . . . : %d", CONFIG_INTEGER(ptr_bar->options[GUI_BAR_OPTION_PRIORITY]));
log_printf (" type . . . . . . . . . : %d (%s)",
CONFIG_ENUM(ptr_bar->options[GUI_BAR_OPTION_TYPE]),
gui_bar_type_string[CONFIG_ENUM(ptr_bar->options[GUI_BAR_OPTION_TYPE])]);
CONFIG_INTEGER(ptr_bar->options[GUI_BAR_OPTION_TYPE]),
gui_bar_type_string[CONFIG_INTEGER(ptr_bar->options[GUI_BAR_OPTION_TYPE])]);
log_printf (" conditions . . . . . . : '%s'", CONFIG_STRING(ptr_bar->options[GUI_BAR_OPTION_CONDITIONS]));
log_printf (" position . . . . . . . : %d (%s)",
CONFIG_ENUM(ptr_bar->options[GUI_BAR_OPTION_POSITION]),
gui_bar_position_string[CONFIG_ENUM(ptr_bar->options[GUI_BAR_OPTION_POSITION])]);
CONFIG_INTEGER(ptr_bar->options[GUI_BAR_OPTION_POSITION]),
gui_bar_position_string[CONFIG_INTEGER(ptr_bar->options[GUI_BAR_OPTION_POSITION])]);
log_printf (" filling_top_bottom . . : %d (%s)",
CONFIG_ENUM(ptr_bar->options[GUI_BAR_OPTION_FILLING_TOP_BOTTOM]),
gui_bar_filling_string[CONFIG_ENUM(ptr_bar->options[GUI_BAR_OPTION_FILLING_TOP_BOTTOM])]);
CONFIG_INTEGER(ptr_bar->options[GUI_BAR_OPTION_FILLING_TOP_BOTTOM]),
gui_bar_filling_string[CONFIG_INTEGER(ptr_bar->options[GUI_BAR_OPTION_FILLING_TOP_BOTTOM])]);
log_printf (" filling_left_right . . : %d (%s)",
CONFIG_ENUM(ptr_bar->options[GUI_BAR_OPTION_FILLING_LEFT_RIGHT]),
gui_bar_filling_string[CONFIG_ENUM(ptr_bar->options[GUI_BAR_OPTION_FILLING_LEFT_RIGHT])]);
CONFIG_INTEGER(ptr_bar->options[GUI_BAR_OPTION_FILLING_LEFT_RIGHT]),
gui_bar_filling_string[CONFIG_INTEGER(ptr_bar->options[GUI_BAR_OPTION_FILLING_LEFT_RIGHT])]);
log_printf (" size . . . . . . . . . : %d", CONFIG_INTEGER(ptr_bar->options[GUI_BAR_OPTION_SIZE]));
log_printf (" size_max . . . . . . . : %d", CONFIG_INTEGER(ptr_bar->options[GUI_BAR_OPTION_SIZE_MAX]));
log_printf (" color_fg . . . . . . . : %d (%s)",
+68 -47
View File
@@ -301,45 +301,50 @@ gui_buffer_local_var_remove_all (struct t_gui_buffer *buffer)
int
gui_buffer_notify_get (struct t_gui_buffer *buffer)
{
char *option_name, *pos;
char *option_name, *ptr_end;
int length;
struct t_config_option *ptr_option;
if (!buffer || !buffer->full_name)
return CONFIG_ENUM(config_look_buffer_notify_default);
if (!buffer)
return CONFIG_INTEGER(config_look_buffer_notify_default);
option_name = strdup (buffer->full_name);
if (!option_name)
return CONFIG_ENUM(config_look_buffer_notify_default);
ptr_option = NULL;
while (1)
length = strlen (buffer->full_name) + 1;
option_name = malloc (length);
if (option_name)
{
snprintf (option_name, length, "%s", buffer->full_name);
ptr_end = option_name + strlen (option_name);
while (ptr_end >= option_name)
{
ptr_option = config_file_search_option (weechat_config_file,
weechat_config_section_notify,
option_name);
if (ptr_option)
{
free (option_name);
return CONFIG_INTEGER(ptr_option);
}
ptr_end--;
while ((ptr_end >= option_name) && (ptr_end[0] != '.'))
{
ptr_end--;
}
if ((ptr_end >= option_name) && (ptr_end[0] == '.'))
ptr_end[0] = '\0';
}
ptr_option = config_file_search_option (weechat_config_file,
weechat_config_section_notify,
option_name);
free (option_name);
if (ptr_option)
{
free (option_name);
return CONFIG_INTEGER(ptr_option);
}
pos = strrchr (option_name, '.');
if (!pos)
break;
pos[0] = '\0';
}
ptr_option = config_file_search_option (weechat_config_file,
weechat_config_section_notify,
option_name);
free (option_name);
if (ptr_option)
return CONFIG_INTEGER(ptr_option);
/* notify level not found */
return CONFIG_ENUM(config_look_buffer_notify_default);
return CONFIG_INTEGER(config_look_buffer_notify_default);
}
/*
@@ -475,7 +480,7 @@ gui_buffer_insert (struct t_gui_buffer *buffer)
*/
if (!pos_buffer
&& (buffer->layout_number == 0)
&& (CONFIG_ENUM(config_look_buffer_position) == CONFIG_LOOK_BUFFER_POSITION_FIRST_GAP))
&& (CONFIG_INTEGER(config_look_buffer_position) == CONFIG_LOOK_BUFFER_POSITION_FIRST_GAP))
{
for (ptr_buffer = gui_buffers; ptr_buffer;
ptr_buffer = ptr_buffer->next_buffer)
@@ -714,7 +719,7 @@ gui_buffer_new_props (struct t_weechat_plugin *plugin,
gui_buffer_build_full_name (new_buffer);
new_buffer->short_name = NULL;
new_buffer->type = GUI_BUFFER_TYPE_DEFAULT;
new_buffer->notify = CONFIG_ENUM(config_look_buffer_notify_default);
new_buffer->notify = CONFIG_INTEGER(config_look_buffer_notify_default);
new_buffer->num_displayed = 0;
new_buffer->active = 1;
new_buffer->hidden = 0;
@@ -1630,34 +1635,46 @@ gui_buffer_set_highlight_words_list (struct t_gui_buffer *buffer,
struct t_weelist *list)
{
struct t_weelist_item *ptr_list_item;
int length;
const char *ptr_string;
char **words;
char *words;
if (!buffer)
return;
words = string_dyn_alloc (64);
/* compute length */
length = 0;
for (ptr_list_item = weelist_get (list, 0); ptr_list_item;
ptr_list_item = weelist_next (ptr_list_item))
{
ptr_string = weelist_string (ptr_list_item);
if (ptr_string)
length += strlen (ptr_string) + 1;
}
length += 2; /* '\n' + '\0' */
/* allocate memory */
words = malloc (length);
if (!words)
return;
if (list)
/* build string */
words[0] = '\0';
for (ptr_list_item = weelist_get (list, 0); ptr_list_item;
ptr_list_item = weelist_next (ptr_list_item))
{
for (ptr_list_item = weelist_get (list, 0); ptr_list_item;
ptr_list_item = weelist_next (ptr_list_item))
ptr_string = weelist_string (ptr_list_item);
if (ptr_string)
{
ptr_string = weelist_string (ptr_list_item);
if (ptr_string)
{
if (*words[0])
string_dyn_concat (words, ",", -1);
string_dyn_concat (words, ptr_string, -1);
}
strcat (words, ptr_string);
if (weelist_next (ptr_list_item))
strcat (words, ",");
}
}
gui_buffer_set_highlight_words (buffer, *words);
gui_buffer_set_highlight_words (buffer, words);
string_dyn_free (words, 1);
free (words);
}
/*
@@ -2128,6 +2145,7 @@ gui_buffer_set_unread (struct t_gui_buffer *buffer, const char *argument)
else if (argument[0] == '-')
{
/* move the unread marker N lines towards the first line */
error = NULL;
number = strtol (argument, &error, 10);
if (error && !error[0] && (number < 0))
{
@@ -2155,6 +2173,7 @@ gui_buffer_set_unread (struct t_gui_buffer *buffer, const char *argument)
else if (argument[0] == '+')
{
/* move the unread marker N lines towards the last line */
error = NULL;
number = strtol (argument, &error, 10);
if (error && !error[0] && (number > 0))
{
@@ -2180,6 +2199,7 @@ gui_buffer_set_unread (struct t_gui_buffer *buffer, const char *argument)
else
{
/* move the unread marker N lines from the end towards the first line */
error = NULL;
number = strtol (argument, &error, 10);
if (error && !error[0] && (number > 0))
{
@@ -2354,7 +2374,7 @@ gui_buffer_set (struct t_gui_buffer *buffer, const char *property,
if (number < GUI_BUFFER_NUM_NOTIFY)
{
if (number < 0)
number = CONFIG_ENUM(config_look_buffer_notify_default);
number = CONFIG_INTEGER(config_look_buffer_notify_default);
ptr_notify = gui_buffer_notify_string[number];
}
}
@@ -2868,6 +2888,7 @@ gui_buffer_search_by_number_or_name (const char *string)
ptr_buffer = NULL;
error = NULL;
number = strtol (string, &error, 10);
if (error && !error[0])
{
@@ -4605,7 +4626,7 @@ gui_buffer_input_move_to_buffer (struct t_gui_buffer *from_buffer,
* - input buffer in first buffer is not empty
*/
if (!from_buffer || !to_buffer || (from_buffer == to_buffer)
|| (CONFIG_ENUM(config_look_input_share) == CONFIG_LOOK_INPUT_SHARE_NONE)
|| (CONFIG_INTEGER(config_look_input_share) == CONFIG_LOOK_INPUT_SHARE_NONE)
|| !from_buffer->input_buffer || !from_buffer->input_buffer[0])
return;
@@ -4615,8 +4636,8 @@ gui_buffer_input_move_to_buffer (struct t_gui_buffer *from_buffer,
* then do nothing
*/
is_command = (string_input_for_buffer (from_buffer->input_buffer) == NULL) ? 1 : 0;
if ((is_command && (CONFIG_ENUM(config_look_input_share) == CONFIG_LOOK_INPUT_SHARE_TEXT))
|| (!is_command && (CONFIG_ENUM(config_look_input_share) == CONFIG_LOOK_INPUT_SHARE_COMMANDS)))
if ((is_command && (CONFIG_INTEGER(config_look_input_share) == CONFIG_LOOK_INPUT_SHARE_TEXT))
|| (!is_command && (CONFIG_INTEGER(config_look_input_share) == CONFIG_LOOK_INPUT_SHARE_COMMANDS)))
return;
/*
+158 -196
View File
@@ -32,7 +32,6 @@
#include <regex.h>
#include "../core/weechat.h"
#include "../core/wee-arraylist.h"
#include "../core/wee-config.h"
#include "../core/wee-eval.h"
#include "../core/wee-hashtable.h"
@@ -593,18 +592,18 @@ gui_chat_printf_date_tags_internal (struct t_gui_buffer *buffer,
const char *tags,
char *message)
{
int i, display_time, length_data, length_str, num_buffers;
int display_time, length_data, length_str;
char *ptr_msg, *pos_prefix, *pos_tab;
char *modifier_data, *string, *new_string, *pos_newline;
struct t_gui_line *new_line, *new_line2;
struct t_arraylist *buffers;
struct t_gui_line *new_line;
if (!buffer)
return;
new_line = NULL;
new_line2 = NULL;
string = NULL;
modifier_data = NULL;
new_string = NULL;
buffers = NULL;
display_time = 1;
@@ -647,145 +646,130 @@ gui_chat_printf_date_tags_internal (struct t_gui_buffer *buffer,
if (!new_line)
goto no_print;
buffers = hook_line_exec (new_line);
if (!buffers || !new_line->data->buffer)
hook_line_exec (new_line);
if (!new_line->data->buffer)
goto no_print;
num_buffers = arraylist_size (buffers);
for (i = 0; i < num_buffers; i++)
/* call modifier for message printed ("weechat_print") */
length_data = 64 + 1 + ((tags) ? strlen (tags) : 0) + 1;
modifier_data = malloc (length_data);
length_str = ((new_line->data->prefix && new_line->data->prefix[0]) ? strlen (new_line->data->prefix) : 1) +
1 +
(new_line->data->message ? strlen (new_line->data->message) : 0) +
1;
string = malloc (length_str);
if (modifier_data && string)
{
new_line2 = gui_line_dup_for_buffer (new_line,
arraylist_get (buffers, i));
if (!new_line2)
goto no_print;
/* call modifier for message printed ("weechat_print") */
length_data = 64 + 1 + ((tags) ? strlen (tags) : 0) + 1;
modifier_data = malloc (length_data);
length_str = ((new_line2->data->prefix && new_line2->data->prefix[0]) ? strlen (new_line2->data->prefix) : 1) +
1 +
(new_line2->data->message ? strlen (new_line2->data->message) : 0) +
1;
string = malloc (length_str);
if (modifier_data && string)
snprintf (modifier_data, length_data,
"0x%lx;%s",
(unsigned long)buffer,
(tags) ? tags : "");
if (display_time)
{
snprintf (modifier_data, length_data,
"0x%lx;%s",
(unsigned long)buffer,
(tags) ? tags : "");
if (display_time)
snprintf (string, length_str,
"%s\t%s",
(new_line->data->prefix && new_line->data->prefix[0]) ?
new_line->data->prefix : " ",
(new_line->data->message) ? new_line->data->message : "");
}
else
{
snprintf (string, length_str,
"\t\t%s",
(new_line->data->message) ? new_line->data->message : "");
}
new_string = hook_modifier_exec (NULL,
"weechat_print",
modifier_data,
string);
if (new_string)
{
if (!new_string[0] && string[0])
{
snprintf (string, length_str,
"%s\t%s",
(new_line2->data->prefix && new_line2->data->prefix[0]) ?
new_line2->data->prefix : " ",
(new_line2->data->message) ? new_line2->data->message : "");
/*
* modifier returned empty message, then we'll not
* print anything
*/
goto no_print;
}
else
else if (strcmp (string, new_string) != 0)
{
snprintf (string, length_str,
"\t\t%s",
(new_line2->data->message) ? new_line2->data->message : "");
}
new_string = hook_modifier_exec (NULL,
"weechat_print",
modifier_data,
string);
if (new_string)
{
if (!new_string[0] && string[0])
if (!buffer->input_multiline)
{
/*
* modifier returned empty message, then we'll not
* print anything
*/
goto no_print;
/* if input_multiline is not set, keep only first line */
pos_newline = strchr (new_string, '\n');
if (pos_newline)
pos_newline[0] = '\0';
}
else if (strcmp (string, new_string) != 0)
{
if (!buffer->input_multiline)
{
/* if input_multiline is not set, keep only first line */
pos_newline = strchr (new_string, '\n');
if (pos_newline)
pos_newline[0] = '\0';
}
/* use new message if there are changes */
display_time = 1;
pos_prefix = NULL;
ptr_msg = new_string;
/* space followed by tab => prefix ignored */
if ((ptr_msg[0] == ' ') && (ptr_msg[1] == '\t'))
/* use new message if there are changes */
display_time = 1;
pos_prefix = NULL;
ptr_msg = new_string;
/* space followed by tab => prefix ignored */
if ((ptr_msg[0] == ' ') && (ptr_msg[1] == '\t'))
{
ptr_msg += 2;
}
else
{
/* if two first chars are tab, then do not display time */
if ((ptr_msg[0] == '\t') && (ptr_msg[1] == '\t'))
{
display_time = 0;
new_line->data->date = 0;
ptr_msg += 2;
}
else
{
/* if two first chars are tab, then do not display time */
if ((ptr_msg[0] == '\t') && (ptr_msg[1] == '\t'))
/* if tab found, use prefix (before tab) */
pos_tab = strchr (ptr_msg, '\t');
if (pos_tab)
{
display_time = 0;
new_line2->data->date = 0;
ptr_msg += 2;
}
else
{
/* if tab found, use prefix (before tab) */
pos_tab = strchr (ptr_msg, '\t');
if (pos_tab)
{
pos_tab[0] = '\0';
pos_prefix = ptr_msg;
ptr_msg = pos_tab + 1;
}
pos_tab[0] = '\0';
pos_prefix = ptr_msg;
ptr_msg = pos_tab + 1;
}
}
if ((new_line2->data->date == 0) && display_time)
new_line2->data->date = new_line2->data->date_printed;
if (new_line2->data->prefix)
string_shared_free (new_line2->data->prefix);
if (pos_prefix)
{
new_line2->data->prefix = (char *)string_shared_get (pos_prefix);
}
else
{
new_line2->data->prefix = (new_line2->data->date != 0) ?
(char *)string_shared_get ("") : NULL;
}
new_line2->data->prefix_length = gui_chat_strlen_screen (
new_line2->data->prefix);
if (new_line2->data->message)
free (new_line2->data->message);
new_line2->data->message = strdup (ptr_msg);
}
if ((new_line->data->date == 0) && display_time)
new_line->data->date = new_line->data->date_printed;
if (new_line->data->prefix)
string_shared_free (new_line->data->prefix);
if (pos_prefix)
{
new_line->data->prefix = (char *)string_shared_get (pos_prefix);
}
else
{
new_line->data->prefix = (new_line->data->date != 0) ?
(char *)string_shared_get ("") : NULL;
}
new_line->data->prefix_length = gui_chat_strlen_screen (
new_line->data->prefix);
if (new_line->data->message)
free (new_line->data->message);
new_line->data->message = strdup (ptr_msg);
}
}
/* add line in the buffer */
gui_line_add (new_line2);
/* run hook_print for the new line */
if (new_line2->data->buffer && new_line2->data->buffer->print_hooks_enabled)
hook_print_exec (new_line2->data->buffer, new_line2);
gui_buffer_ask_chat_refresh (new_line2->data->buffer, 1);
}
if (new_line)
{
gui_line_free_data (new_line);
free (new_line);
}
/* add line in the buffer */
gui_line_add (new_line);
/* run hook_print for the new line */
if (new_line->data->buffer && new_line->data->buffer->print_hooks_enabled)
hook_print_exec (new_line->data->buffer, new_line);
gui_buffer_ask_chat_refresh (new_line->data->buffer, 1);
if (string)
free (string);
if (modifier_data)
free (modifier_data);
if (new_string)
free (new_string);
if (buffers)
arraylist_free (buffers);
return;
@@ -795,19 +779,12 @@ no_print:
gui_line_free_data (new_line);
free (new_line);
}
if (new_line2)
{
gui_line_free_data (new_line2);
free (new_line2);
}
if (string)
free (string);
if (modifier_data)
free (modifier_data);
if (new_string)
free (new_string);
if (buffers)
arraylist_free (buffers);
}
/*
@@ -958,13 +935,9 @@ void
gui_chat_printf_y_date_tags (struct t_gui_buffer *buffer, int y, time_t date,
const char *tags, const char *message, ...)
{
struct t_gui_line *ptr_line, *new_line, *new_line2, *new_line_empty;
struct t_arraylist *buffers;
struct t_gui_line *ptr_line, *new_line, *new_line_empty;
time_t date_printed;
int i, last_y, num_lines_to_add, num_buffers;
new_line = NULL;
buffers = NULL;
int i, last_y, num_lines_to_add;
if (!message)
return;
@@ -994,96 +967,84 @@ gui_chat_printf_y_date_tags (struct t_gui_buffer *buffer, int y, time_t date,
if (!new_line)
goto end;
buffers = hook_line_exec (new_line);
if (!buffers || !new_line->data->buffer)
hook_line_exec (new_line);
if (!new_line->data->buffer)
{
gui_line_free_data (new_line);
free (new_line);
goto end;
}
num_buffers = arraylist_size (buffers);
for (i = 0; i < num_buffers; i++)
if (new_line->data->message && new_line->data->message[0])
{
new_line2 = gui_line_dup_for_buffer (new_line,
arraylist_get (buffers, i));
if (new_line2->data->message && new_line2->data->message[0])
if (gui_init_ok)
{
if (gui_init_ok)
/* compute the number of lines to add before y */
if (new_line->data->buffer->own_lines
&& new_line->data->buffer->own_lines->last_line)
{
/* compute the number of lines to add before y */
if (new_line2->data->buffer->own_lines
&& new_line2->data->buffer->own_lines->last_line)
{
num_lines_to_add = y - new_line2->data->buffer->own_lines->last_line->data->y - 1;
}
else
{
num_lines_to_add = y;
}
if (num_lines_to_add > 0)
{
/*
* add empty line(s) before asked line, to ensure there is at
* least "y" lines in buffer, and then be able to scroll
* properly buffer page by page
*/
for (i = y - num_lines_to_add; i < y; i++)
{
new_line_empty = gui_line_new (new_line2->data->buffer,
i, 0, 0, NULL, NULL, "");
if (new_line_empty)
gui_line_add_y (new_line_empty);
}
}
gui_line_add_y (new_line2);
num_lines_to_add = y - new_line->data->buffer->own_lines->last_line->data->y - 1;
}
else
{
string_fprintf (stdout, "%s\n", new_line2->data->message);
gui_line_free_data (new_line2);
free (new_line2);
num_lines_to_add = y;
}
if (num_lines_to_add > 0)
{
/*
* add empty line(s) before asked line, to ensure there is at
* least "y" lines in buffer, and then be able to scroll
* properly buffer page by page
*/
for (i = y - num_lines_to_add; i < y; i++)
{
new_line_empty = gui_line_new (new_line->data->buffer,
i, 0, 0, NULL, NULL, "");
if (new_line_empty)
gui_line_add_y (new_line_empty);
}
}
gui_line_add_y (new_line);
}
else
{
if (gui_init_ok)
{
/* delete line */
last_y = (new_line2->data->buffer->own_lines->last_line) ?
new_line2->data->buffer->own_lines->last_line->data->y : 0;
if (y <= last_y)
{
for (ptr_line = new_line2->data->buffer->own_lines->first_line;
ptr_line; ptr_line = ptr_line->next_line)
{
if (ptr_line->data->y >= y)
break;
}
if (ptr_line && (ptr_line->data->y == y))
{
if (ptr_line->next_line)
gui_line_clear (ptr_line);
else
gui_line_free (new_line2->data->buffer, ptr_line);
gui_buffer_ask_chat_refresh (new_line2->data->buffer, 2);
}
}
}
gui_line_free_data (new_line2);
free (new_line2);
string_fprintf (stdout, "%s\n", new_line->data->message);
gui_line_free_data (new_line);
free (new_line);
}
}
end:
if (new_line)
else
{
if (gui_init_ok)
{
/* delete line */
last_y = (new_line->data->buffer->own_lines->last_line) ?
new_line->data->buffer->own_lines->last_line->data->y : 0;
if (y <= last_y)
{
for (ptr_line = new_line->data->buffer->own_lines->first_line;
ptr_line; ptr_line = ptr_line->next_line)
{
if (ptr_line->data->y >= y)
break;
}
if (ptr_line && (ptr_line->data->y == y))
{
if (ptr_line->next_line)
gui_line_clear (ptr_line);
else
gui_line_free (new_line->data->buffer, ptr_line);
gui_buffer_ask_chat_refresh (new_line->data->buffer, 2);
}
}
}
gui_line_free_data (new_line);
free (new_line);
}
end:
free (vbuffer);
if (buffers)
arraylist_free (buffers);
}
/*
@@ -1118,6 +1079,7 @@ gui_chat_hsignal_quote_line_cb (const void *pointer, void *data,
hashtable_get (hashtable, "_chat_line_date") : NULL;
if (date)
{
error = NULL;
number = strtol (date, &error, 10);
if (error && !error[0])
{
+17 -152
View File
@@ -202,104 +202,6 @@ gui_cursor_move_add_xy (int add_x, int add_y)
gui_window_move_cursor ();
}
/*
* Moves cursor to the given position: top_left, top_right, bottom_left or
* bottom_right.
*/
void
gui_cursor_move_position (const char *position)
{
struct t_gui_focus_info *focus_info;
int x1, y1, x2, y2, x, y;
if (!position)
return;
if (!gui_cursor_mode)
gui_cursor_mode_toggle ();
x = gui_cursor_x;
y = gui_cursor_y;
focus_info = gui_focus_get_info (x, y);
if (!focus_info)
return;
x1 = -1;
y1 = -1;
x2 = -1;
y2 = -1;
if (focus_info->bar_window)
{
x1 = focus_info->bar_window->x;
y1 = focus_info->bar_window->y;
x2 = x1 + focus_info->bar_window->width - 1;
y2 = y1 + focus_info->bar_window->height - 1;
}
else if (focus_info->chat && focus_info->window)
{
x1 = focus_info->window->win_chat_x;
y1 = focus_info->window->win_chat_y;
x2 = x1 + focus_info->window->win_chat_width - 1;
y2 = y1 + focus_info->window->win_chat_height - 1;
}
if ((x1 < 0) || (y1 < 0) || (x2 < 0) || (y2 < 0))
goto end;
if (strcmp (position, "top_left") == 0)
{
x = x1;
y = y1;
}
else if (strcmp (position, "top_right") == 0)
{
x = x2;
y = y1;
}
else if (strcmp (position, "bottom_left") == 0)
{
x = x1;
y = y2;
}
else if (strcmp (position, "bottom_right") == 0)
{
x = x2;
y = y2;
}
else if (strcmp (position, "edge_top") == 0)
{
y = y1;
}
else if (strcmp (position, "edge_bottom") == 0)
{
y = y2;
}
else if (strcmp (position, "edge_left") == 0)
{
x = x1;
}
else if (strcmp (position, "edge_right") == 0)
{
x = x2;
}
else
{
goto end;
}
gui_cursor_x = x;
gui_cursor_y = y;
gui_cursor_display_debug_info ();
gui_window_move_cursor ();
end:
gui_focus_free_info (focus_info);
}
/*
* Moves cursor to another area by adding values to (x,y).
*/
@@ -384,31 +286,24 @@ gui_cursor_move_area_add_xy (int add_x, int add_y)
/*
* Moves cursor to another area by name.
*
* Parameter "position" can be "top_left", "top_right", "bottom_left" or
* "bottom_right" (if NULL, top left is the default position).
*/
void
gui_cursor_move_area (const char *area, const char *position)
gui_cursor_move_area (const char *area)
{
int area_found, x1, y1, x2, y2, x, y;
int area_found, x, y;
struct t_gui_bar_window *ptr_bar_win;
struct t_gui_bar *ptr_bar;
area_found = 0;
x1 = 0;
y1 = 0;
x2 = 0;
y2 = 0;
x = 0;
y = 0;
if (strcmp (area, "chat") == 0)
{
area_found = 1;
x1 = gui_current_window->win_chat_x;
y1 = gui_current_window->win_chat_y;
x2 = x1 + gui_current_window->win_chat_width - 1;
y2 = y1 + gui_current_window->win_chat_height - 1;
x = gui_current_window->win_chat_x;
y = gui_current_window->win_chat_y;
}
else
{
@@ -418,10 +313,8 @@ gui_cursor_move_area (const char *area, const char *position)
if (strcmp (ptr_bar_win->bar->name, area) == 0)
{
area_found = 1;
x1 = ptr_bar_win->x;
y1 = ptr_bar_win->y;
x2 = x1 + ptr_bar_win->width - 1;
y2 = y1 + ptr_bar_win->height - 1;
x = ptr_bar_win->x;
y = ptr_bar_win->y;
break;
}
}
@@ -432,48 +325,20 @@ gui_cursor_move_area (const char *area, const char *position)
if (ptr_bar->bar_window && (strcmp (ptr_bar->name, area) == 0))
{
area_found = 1;
x1 = ptr_bar->bar_window->x;
y1 = ptr_bar->bar_window->y;
x2 = x1 + ptr_bar->bar_window->width - 1;
y2 = y1 + ptr_bar->bar_window->height - 1;
x = ptr_bar->bar_window->x;
y = ptr_bar->bar_window->y;
}
}
}
}
if (!area_found)
return;
if (!position || (strcmp (position, "top_left") == 0))
if (area_found)
{
x = x1;
y = y1;
if (!gui_cursor_mode)
gui_cursor_mode_toggle ();
gui_cursor_x = x;
gui_cursor_y = y;
gui_cursor_display_debug_info ();
gui_window_move_cursor ();
}
else if (strcmp (position, "top_right") == 0)
{
x = x2;
y = y1;
}
else if (strcmp (position, "bottom_left") == 0)
{
x = x1;
y = y2;
}
else if (strcmp (position, "bottom_right") == 0)
{
x = x2;
y = y2;
}
else
{
x = x1;
y = y1;
}
if (!gui_cursor_mode)
gui_cursor_mode_toggle ();
gui_cursor_x = x;
gui_cursor_y = y;
gui_cursor_display_debug_info ();
gui_window_move_cursor ();
}
+1 -2
View File
@@ -34,8 +34,7 @@ extern void gui_cursor_mode_stop ();
extern void gui_cursor_debug_set (int debug);
extern void gui_cursor_move_xy (int x, int y);
extern void gui_cursor_move_add_xy (int add_x, int add_y);
extern void gui_cursor_move_position (const char *position);
extern void gui_cursor_move_area_add_xy (int add_x, int add_y);
extern void gui_cursor_move_area (const char *area, const char *position);
extern void gui_cursor_move_area (const char *area);
#endif /* WEECHAT_GUI_CURSOR_H */
+1 -1
View File
@@ -363,7 +363,7 @@ gui_filter_new (int enabled, const char *name, const char *buffer_name,
{
struct t_gui_filter *new_filter;
regex_t *regex1, *regex2;
char *pos_tab, *regex_prefix, buf[512], str_error[512];
char *pos_tab, *regex_prefix, buf[512], str_error[1024];
const char *ptr_start_regex, *pos_regex_message;
int rc;
-8
View File
@@ -72,8 +72,6 @@ gui_focus_get_info (int x, int y)
&focus_info->chat_line_x,
&focus_info->chat_word,
&focus_info->chat_focused_line,
&focus_info->chat_focused_line_bol,
&focus_info->chat_focused_line_eol,
&focus_info->chat_bol,
&focus_info->chat_eol);
@@ -104,10 +102,6 @@ gui_focus_free_info (struct t_gui_focus_info *focus_info)
free (focus_info->chat_word);
if (focus_info->chat_focused_line)
free (focus_info->chat_focused_line);
if (focus_info->chat_focused_line_bol)
free (focus_info->chat_focused_line_bol);
if (focus_info->chat_focused_line_eol)
free (focus_info->chat_focused_line_eol);
if (focus_info->chat_bol)
free (focus_info->chat_bol);
if (focus_info->chat_eol)
@@ -248,8 +242,6 @@ gui_focus_to_hashtable (struct t_gui_focus_info *focus_info, const char *key)
}
HASHTABLE_SET_STR_NOT_NULL("_chat_word", focus_info->chat_word);
HASHTABLE_SET_STR_NOT_NULL("_chat_focused_line", focus_info->chat_focused_line);
HASHTABLE_SET_STR_NOT_NULL("_chat_focused_line_bol", focus_info->chat_focused_line_bol);
HASHTABLE_SET_STR_NOT_NULL("_chat_focused_line_eol", focus_info->chat_focused_line_eol);
HASHTABLE_SET_STR_NOT_NULL("_chat_bol", focus_info->chat_bol);
HASHTABLE_SET_STR_NOT_NULL("_chat_eol", focus_info->chat_eol);
-2
View File
@@ -32,8 +32,6 @@ struct t_gui_focus_info
int chat_line_x; /* x in line */
char *chat_word; /* word at (x,y) */
char *chat_focused_line; /* line at (x,y) */
char *chat_focused_line_bol; /* beg. of focused line until (x,y) */
char *chat_focused_line_eol; /* (x,y) until end of focused line */
char *chat_bol; /* beginning of line until (x,y) */
char *chat_eol; /* (x,y) until end of line */
struct t_gui_bar_window *bar_window; /* bar window found */
+1 -1
View File
@@ -88,7 +88,7 @@ gui_history_buffer_add (struct t_gui_buffer *buffer, const char *string)
free (buffer->last_history->text);
free (buffer->last_history);
buffer->last_history = ptr_history;
buffer->num_history++;
buffer->num_history--;
}
}
}
+2 -2
View File
@@ -238,7 +238,7 @@ gui_hotlist_find_pos (struct t_gui_hotlist *hotlist,
{
struct t_gui_hotlist *ptr_hotlist;
switch (CONFIG_ENUM(config_look_hotlist_sort))
switch (CONFIG_INTEGER(config_look_hotlist_sort))
{
case CONFIG_LOOK_HOTLIST_SORT_GROUP_TIME_ASC:
for (ptr_hotlist = hotlist; ptr_hotlist;
@@ -691,7 +691,7 @@ gui_hotlist_remove_buffer (struct t_gui_buffer *buffer,
hotlist_changed = 0;
hotlist_remove = CONFIG_ENUM(config_look_hotlist_remove);
hotlist_remove = CONFIG_INTEGER(config_look_hotlist_remove);
ptr_hotlist = gui_hotlist;
while (ptr_hotlist)
+20 -40
View File
@@ -75,8 +75,8 @@ char *gui_key_modifier_list[] =
{ "meta-", "ctrl-", "shift-", NULL };
char *gui_key_alias_list[] =
{ "f0", "f1", "f2", "f3", "f4", "f5", "f6", "f7", "f8", "f9", "f10", "f11",
"f12", "f13", "f14", "f15", "f16", "f17", "f18", "f19", "f20",
{ "f10", "f11", "f12", "f13", "f14", "f15", "f16", "f17", "f18", "f19", "f20",
"f0", "f1", "f2", "f3", "f4", "f5", "f6", "f7", "f8", "f9",
"home", "insert", "delete", "end", "backspace", "pgup", "pgdn",
"up", "down", "right", "left", "tab", "return", "comma", "space", NULL };
@@ -2002,31 +2002,6 @@ gui_key_focus_matching (struct t_gui_key *key,
return match[0] && match[1];
}
/*
* Displays focus hashtable (for debug).
*/
void
gui_key_focus_display_hashtable (struct t_hashtable *hashtable)
{
struct t_weelist *list_keys;
struct t_weelist_item *ptr_item;
gui_chat_printf (NULL, _("Hashtable focus:"));
list_keys = hashtable_get_list_keys (hashtable);
if (list_keys)
{
for (ptr_item = list_keys->items; ptr_item;
ptr_item = ptr_item->next_item)
{
gui_chat_printf (NULL, " %s: \"%s\"",
ptr_item->data,
hashtable_get (hashtable, ptr_item->data));
}
weelist_free (list_keys);
}
}
/*
* Runs command according to focus.
*
@@ -2045,6 +2020,8 @@ gui_key_focus_command (const char *key, int context,
char *command, **commands;
const char *str_buffer;
struct t_hashtable *hashtable;
struct t_weelist *list_keys;
struct t_weelist_item *ptr_item;
struct t_gui_buffer *ptr_buffer;
debug = 0;
@@ -2111,10 +2088,24 @@ gui_key_focus_command (const char *key, int context,
gui_input_delete_line (gui_current_window->buffer);
}
if (debug > 1)
{
gui_chat_printf (NULL, _("Hashtable focus:"));
list_keys = hashtable_get_list_keys (hashtable);
if (list_keys)
{
for (ptr_item = list_keys->items; ptr_item;
ptr_item = ptr_item->next_item)
{
gui_chat_printf (NULL, " %s: \"%s\"",
ptr_item->data,
hashtable_get (hashtable, ptr_item->data));
}
weelist_free (list_keys);
}
}
if (debug)
{
if (debug > 1)
gui_key_focus_display_hashtable (hashtable);
gui_chat_printf (NULL, _("Command for key: \"%s\""),
ptr_key->command);
}
@@ -2165,17 +2156,6 @@ gui_key_focus_command (const char *key, int context,
return 1;
}
if (debug > 1)
{
hashtable = hook_focus_get_data (hashtable_focus[0],
hashtable_focus[1]);
if (hashtable)
{
gui_key_focus_display_hashtable (hashtable);
hashtable_free (hashtable);
}
}
return 0;
}
+2 -2
View File
@@ -770,7 +770,7 @@ gui_layout_store_on_exit ()
{
struct t_gui_layout *ptr_layout;
if (CONFIG_ENUM(config_look_save_layout_on_exit) == CONFIG_LOOK_SAVE_LAYOUT_ON_EXIT_NONE)
if (CONFIG_BOOLEAN(config_look_save_layout_on_exit) == CONFIG_LOOK_SAVE_LAYOUT_ON_EXIT_NONE)
return;
ptr_layout = gui_layout_current;
@@ -788,7 +788,7 @@ gui_layout_store_on_exit ()
}
/* store current layout */
switch (CONFIG_ENUM(config_look_save_layout_on_exit))
switch (CONFIG_BOOLEAN(config_look_save_layout_on_exit))
{
case CONFIG_LOOK_SAVE_LAYOUT_ON_EXIT_BUFFERS:
gui_layout_buffer_store (ptr_layout);
+19 -179
View File
@@ -30,7 +30,6 @@
#include <regex.h>
#include "../core/weechat.h"
#include "../core/wee-arraylist.h"
#include "../core/wee-config.h"
#include "../core/wee-hashtable.h"
#include "../core/wee-hdata.h"
@@ -113,45 +112,6 @@ gui_line_tags_alloc (struct t_gui_line_data *line_data, const char *tags)
}
}
/*
* Duplicates array with tags of a line into another line.
*/
void
gui_line_tags_dup (struct t_gui_line_data *line_data,
struct t_gui_line_data *line_data2)
{
int i;
if (!line_data || !line_data2)
return;
if (line_data->tags_count > 0)
{
line_data2->tags_array = malloc (
(line_data->tags_count + 1) * sizeof (*(line_data->tags_array)));
if (line_data2->tags_array)
{
line_data2->tags_count = line_data->tags_count;
for (i = 0; i < line_data->tags_count; i++)
{
line_data2->tags_array[i] = (char *)string_shared_get (
line_data->tags_array[i]);
}
line_data2->tags_array[line_data->tags_count] = NULL;
}
else
{
line_data2->tags_count = 0;
}
}
else
{
line_data2->tags_count = 0;
line_data2->tags_array = NULL;
}
}
/*
* Frees array with tags in a line_data.
*/
@@ -344,7 +304,7 @@ gui_line_get_align (struct t_gui_buffer *buffer, struct t_gui_line *line,
/* return immediately if alignment for end of lines is "time" */
if (!first_line
&& (CONFIG_ENUM(config_look_align_end_of_lines) == CONFIG_LOOK_ALIGN_END_OF_LINES_TIME))
&& (CONFIG_INTEGER(config_look_align_end_of_lines) == CONFIG_LOOK_ALIGN_END_OF_LINES_TIME))
{
return 0;
}
@@ -359,7 +319,7 @@ gui_line_get_align (struct t_gui_buffer *buffer, struct t_gui_line *line,
/* return immediately if alignment for end of lines is "buffer" */
if (!first_line
&& (CONFIG_ENUM(config_look_align_end_of_lines) == CONFIG_LOOK_ALIGN_END_OF_LINES_BUFFER))
&& (CONFIG_INTEGER(config_look_align_end_of_lines) == CONFIG_LOOK_ALIGN_END_OF_LINES_BUFFER))
{
return length_time;
}
@@ -367,12 +327,12 @@ gui_line_get_align (struct t_gui_buffer *buffer, struct t_gui_line *line,
/* length of buffer name (when many buffers are merged) */
if (buffer->mixed_lines && (buffer->active != 2))
{
if ((CONFIG_ENUM(config_look_prefix_buffer_align) == CONFIG_LOOK_PREFIX_BUFFER_ALIGN_NONE)
&& (CONFIG_ENUM(config_look_prefix_align) == CONFIG_LOOK_PREFIX_ALIGN_NONE))
if ((CONFIG_INTEGER(config_look_prefix_buffer_align) == CONFIG_LOOK_PREFIX_BUFFER_ALIGN_NONE)
&& (CONFIG_INTEGER(config_look_prefix_align) == CONFIG_LOOK_PREFIX_ALIGN_NONE))
length_buffer = gui_chat_strlen_screen (gui_buffer_get_short_name (line->data->buffer)) + 1;
else
{
if (CONFIG_ENUM(config_look_prefix_buffer_align) == CONFIG_LOOK_PREFIX_BUFFER_ALIGN_NONE)
if (CONFIG_INTEGER(config_look_prefix_buffer_align) == CONFIG_LOOK_PREFIX_BUFFER_ALIGN_NONE)
length_buffer = buffer->mixed_lines->buffer_max_length + 1;
else
length_buffer = ((CONFIG_INTEGER(config_look_prefix_buffer_align_max) > 0)
@@ -385,7 +345,7 @@ gui_line_get_align (struct t_gui_buffer *buffer, struct t_gui_line *line,
/* return immediately if alignment for end of lines is "prefix" */
if (!first_line
&& (CONFIG_ENUM(config_look_align_end_of_lines) == CONFIG_LOOK_ALIGN_END_OF_LINES_PREFIX))
&& (CONFIG_INTEGER(config_look_align_end_of_lines) == CONFIG_LOOK_ALIGN_END_OF_LINES_PREFIX))
{
return length_time + length_buffer;
}
@@ -396,7 +356,7 @@ gui_line_get_align (struct t_gui_buffer *buffer, struct t_gui_line *line,
if (prefix_is_nick)
prefix_length += config_length_nick_prefix_suffix;
if (CONFIG_ENUM(config_look_prefix_align) == CONFIG_LOOK_PREFIX_ALIGN_NONE)
if (CONFIG_INTEGER(config_look_prefix_align) == CONFIG_LOOK_PREFIX_ALIGN_NONE)
{
return length_time + length_buffer + prefix_length + ((prefix_length > 0) ? 1 : 0);
}
@@ -1601,96 +1561,12 @@ gui_line_new (struct t_gui_buffer *buffer, int y, time_t date,
return new_line;
}
/*
* Duplicates a line to print it on another buffer.
*/
struct t_gui_line *
gui_line_dup_for_buffer (struct t_gui_line *line, struct t_gui_buffer *buffer)
{
struct t_gui_line *new_line;
struct t_gui_line_data *new_line_data;
if (!line || !buffer)
return NULL;
/* create new line */
new_line = malloc (sizeof (*new_line));
if (!new_line)
return NULL;
/* create data for line */
new_line_data = malloc (sizeof (*new_line_data));
if (!new_line_data)
{
free (new_line);
return NULL;
}
new_line->data = new_line_data;
/* fill data in new line */
new_line->data->buffer = buffer;
new_line->data->message = (line->data->message) ?
strdup (line->data->message) : strdup ("");
if (buffer->type == GUI_BUFFER_TYPE_FORMATTED)
{
/*
* the line identifier is almost unique: when reaching INT_MAX, it is
* reset to 0; it is extremely unlikely all integer are used in the
* same buffer, that would mean the buffer has a huge number of lines;
* when searching a line id in a buffer, it is recommended to start
* from the last line and loop to the first
*/
new_line->data->id = buffer->next_line_id;
buffer->next_line_id = (buffer->next_line_id == INT_MAX) ?
0 : buffer->next_line_id + 1;
new_line->data->y = line->data->y;
new_line->data->date = line->data->date;
new_line->data->date_printed = line->data->date_printed;
new_line->data->str_time = (line->data->str_time) ?
strdup (line->data->str_time) : NULL;
gui_line_tags_dup (line->data, new_line->data);
new_line->data->refresh_needed = line->data->refresh_needed;
new_line->data->prefix = (line->data->prefix) ?
(char *)string_shared_get (line->data->prefix) : NULL;
new_line->data->prefix_length = line->data->prefix_length;
new_line->data->notify_level = line->data->notify_level;
new_line->data->highlight = line->data->highlight;
}
else
{
new_line->data->id = line->data->y;
new_line->data->y = line->data->y;
new_line->data->date = line->data->date;
new_line->data->date_printed = line->data->date_printed;
new_line->data->str_time = (line->data->str_time) ?
strdup (line->data->str_time) : NULL;
gui_line_tags_dup (line->data, new_line->data);
new_line->data->refresh_needed = line->data->refresh_needed;
new_line->data->prefix = (line->data->prefix) ?
(char *)string_shared_get (line->data->prefix) : NULL;
new_line->data->prefix_length = line->data->prefix_length;
new_line->data->notify_level = line->data->notify_level;
new_line->data->highlight = line->data->highlight;
}
/* set display flag (check if line is filtered or not) */
new_line->data->displayed = gui_filter_check_line (new_line->data);
new_line->prev_line = NULL;
new_line->next_line = NULL;
return new_line;
}
/*
* Updates data in a line via the hook_line.
*/
void
gui_line_hook_update (struct t_gui_line *line,
struct t_arraylist *buffers,
struct t_hashtable *hashtable,
struct t_hashtable *hashtable2)
{
@@ -1698,9 +1574,9 @@ gui_line_hook_update (struct t_gui_line *line,
struct t_gui_buffer *ptr_buffer;
unsigned long value_pointer;
long value;
char *error, *new_message, *pos_newline, **list_buffers;
int i, rc, tags_updated, notify_level_updated, highlight_updated;
int max_notify_level, num_buffers;
char *error, *new_message, *pos_newline;
int rc, tags_updated, notify_level_updated, highlight_updated;
int max_notify_level;
tags_updated = 0;
notify_level_updated = 0;
@@ -1711,30 +1587,12 @@ gui_line_hook_update (struct t_gui_line *line,
{
if (ptr_value2[0])
{
list_buffers = string_split (
ptr_value2, ",", NULL,
WEECHAT_STRING_SPLIT_STRIP_LEFT
| WEECHAT_STRING_SPLIT_STRIP_RIGHT
| WEECHAT_STRING_SPLIT_COLLAPSE_SEPS,
0, &num_buffers);
if (list_buffers)
{
arraylist_clear (buffers);
for (i = 0; i < num_buffers; i++)
{
ptr_buffer = gui_buffer_search_by_full_name (list_buffers[i]);
if (gui_chat_buffer_valid (ptr_buffer,
line->data->buffer->type))
{
arraylist_add (buffers, ptr_buffer);
}
}
string_free_split (list_buffers);
}
ptr_buffer = gui_buffer_search_by_full_name (ptr_value2);
if (gui_chat_buffer_valid (ptr_buffer, line->data->buffer->type))
line->data->buffer = ptr_buffer;
}
else
{
arraylist_clear (buffers);
line->data->buffer = NULL;
return;
}
@@ -1746,37 +1604,19 @@ gui_line_hook_update (struct t_gui_line *line,
{
if (ptr_value2[0])
{
list_buffers = string_split (
ptr_value2, ",", NULL,
WEECHAT_STRING_SPLIT_STRIP_LEFT
| WEECHAT_STRING_SPLIT_STRIP_RIGHT
| WEECHAT_STRING_SPLIT_COLLAPSE_SEPS,
0, &num_buffers);
if (list_buffers)
if ((ptr_value2[0] == '0') && (ptr_value2[1] == 'x'))
{
arraylist_clear (buffers);
for (i = 0; i < num_buffers; i++)
rc = sscanf (ptr_value2 + 2, "%lx", &value_pointer);
ptr_buffer = (struct t_gui_buffer *)value_pointer;
if ((rc != EOF) && (rc >= 1)
&& gui_chat_buffer_valid (ptr_buffer, line->data->buffer->type))
{
if ((list_buffers[i][0] == '0')
&& (list_buffers[i][1] == 'x'))
{
rc = sscanf (list_buffers[i] + 2,
"%lx", &value_pointer);
ptr_buffer = (struct t_gui_buffer *)value_pointer;
if ((rc != EOF) && (rc >= 1)
&& gui_chat_buffer_valid (
ptr_buffer, line->data->buffer->type))
{
arraylist_add (buffers, ptr_buffer);
}
}
line->data->buffer = ptr_buffer;
}
string_free_split (list_buffers);
}
}
else
{
arraylist_clear (buffers);
line->data->buffer = NULL;
return;
}
-3
View File
@@ -128,10 +128,7 @@ extern struct t_gui_line *gui_line_new (struct t_gui_buffer *buffer,
const char *tags,
const char *prefix,
const char *message);
extern struct t_gui_line *gui_line_dup_for_buffer (struct t_gui_line *line,
struct t_gui_buffer *buffer);
extern void gui_line_hook_update (struct t_gui_line *line,
struct t_arraylist *buffers,
struct t_hashtable *hashtable,
struct t_hashtable *hashtable2);
extern void gui_line_add (struct t_gui_line *line);
+1 -1
View File
@@ -129,7 +129,7 @@ gui_nick_hash_color (const char *nickname, int num_colors)
color_64 = 0;
switch (CONFIG_ENUM(config_look_nick_color_hash))
switch (CONFIG_INTEGER(config_look_nick_color_hash))
{
case CONFIG_LOOK_NICK_COLOR_HASH_DJB2:
/* variant of djb2 hash, using 64-bit integer */
+2 -24
View File
@@ -137,8 +137,6 @@ gui_window_get_context_at_xy (struct t_gui_window *window,
int *line_x,
char **word,
char **focused_line,
char **focused_line_beginning,
char **focused_line_end,
char **beginning,
char **end)
{
@@ -152,8 +150,6 @@ gui_window_get_context_at_xy (struct t_gui_window *window,
*line_x = -1;
*word = NULL;
*focused_line = NULL;
*focused_line_beginning = NULL;
*focused_line_end = NULL;
*beginning = NULL;
*end = NULL;
@@ -291,24 +287,6 @@ gui_window_get_context_at_xy (struct t_gui_window *window,
free (str_temp);
}
}
if (line_start)
{
str_temp = string_strndup (line_start, ptr_data - line_start);
if (str_temp)
{
*focused_line_beginning = gui_color_decode (str_temp, NULL);
free (str_temp);
}
}
if (line_end)
{
str_temp = string_strndup (ptr_data, line_end - ptr_data);
if (str_temp)
{
*focused_line_end = gui_color_decode (str_temp, NULL);
free (str_temp);
}
}
}
}
}
@@ -736,7 +714,7 @@ gui_window_new (struct t_gui_window *parent_window, struct t_gui_buffer *buffer,
/* create bar windows */
for (ptr_bar = gui_bars; ptr_bar; ptr_bar = ptr_bar->next_bar)
{
if (CONFIG_ENUM(ptr_bar->options[GUI_BAR_OPTION_TYPE]) != GUI_BAR_TYPE_ROOT)
if (CONFIG_INTEGER(ptr_bar->options[GUI_BAR_OPTION_TYPE]) != GUI_BAR_TYPE_ROOT)
gui_bar_window_new (ptr_bar, new_window);
}
@@ -1691,7 +1669,7 @@ gui_window_search_start (struct t_gui_window *window,
window->buffer->text_search_regex = CONFIG_BOOLEAN(config_look_buffer_search_regex);
if (window->buffer->type == GUI_BUFFER_TYPE_FORMATTED)
{
switch (CONFIG_ENUM(config_look_buffer_search_where))
switch (CONFIG_INTEGER(config_look_buffer_search_where))
{
case CONFIG_LOOK_BUFFER_SEARCH_PREFIX:
window->buffer->text_search_where = GUI_TEXT_SEARCH_IN_PREFIX;

Some files were not shown because too many files have changed in this diff Show More