1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-03 16:23:14 +02:00

Compare commits

..

29 Commits

Author SHA1 Message Date
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
177 changed files with 4689 additions and 14538 deletions
+2 -6
View File
@@ -5,7 +5,7 @@ on:
- pull_request - pull_request
env: 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: jobs:
@@ -92,9 +92,7 @@ jobs:
steps: steps:
- name: Setup Homebrew - uses: actions/checkout@v2
id: setup-homebrew
uses: Homebrew/actions/setup-homebrew@master
- name: Install dependencies - name: Install dependencies
run: | run: |
@@ -114,8 +112,6 @@ jobs:
; ;
brew install asciidoctor guile lua pkg-config ruby brew install asciidoctor guile lua pkg-config ruby
- uses: actions/checkout@v2
- name: Build - name: Build
env: env:
CC: ${{ matrix.config.cc }} CC: ${{ matrix.config.cc }}
+2 -2
View File
@@ -19,7 +19,7 @@
# along with WeeChat. If not, see <https://www.gnu.org/licenses/>. # 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) project(weechat C)
@@ -29,7 +29,7 @@ set(CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake" "${CMAKE_MODULE_PATH}")
set(CMAKE_SKIP_RPATH ON) set(CMAKE_SKIP_RPATH ON)
# compiler options # 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") set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fsigned-char -fms-extensions -Wall -Wextra")
if (CMAKE_C_COMPILER_ID STREQUAL "GNU") if (CMAKE_C_COMPILER_ID STREQUAL "GNU")
# extra options specific to gcc/g++ # extra options specific to gcc/g++
+4 -81
View File
@@ -10,85 +10,6 @@ This document lists all the changes for each version. +
For a list of important changes that require manual actions, please look at release notes. 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)
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`
Tests::
* core: add tests on GUI buffer functions
[[v4.0.4]]
== Version 4.0.4 (2023-08-22)
Bug fixes::
* core: fix integer overflow when setting integer option with `++N` or `--N`
* core: fix increment/decrement of options weechat.notify.*
* irc: add missing tags on multiline messages (issue #1987)
* irc: fix redirection of command `/list` when the reply doesn't start with message 321 (start of /list)
* irc: fix wrong time displayed for CTCP messages received from self nick (issue #2000)
* logger: remove trailing empty line in display of backlog (issue #2002)
* perl: fix display of non-ASCII chars after load of a script with Perl >= 5.38 (issue #1996)
* script: adjust scroll after command `/script go N`
* scripts: fix function string_parse_size on 32-bit systems (python and ruby) (issue #1999)
* xfer: fix conversion of string to IPv4 on 32-bit systems (issue #1999)
Tests::
* irc: fix tests on function irc_join_compare_join_channel (issue #1997)
* scripts: fix tests of functions print_date_tag, print_y_date_tags and hook_timer on 32-bit systems (issue #1999)
[[v4.0.3]]
== Version 4.0.3 (2023-08-08)
Bug fixes::
* core: fix input length and crash after delete of line (issue #1989)
* irc: fix display of self CTCP message containing bold attribute (issue #1981)
* irc: fix memory leak in IRC message parser
* irc: fix switch to channel manually joined when server option autojoin_dynamic is on and option irc.look.buffer_switch_autojoin is off (issue #1982)
* irc: fix display of outgoing notice with channel when capability "echo-message" is enabled (issue #1991)
* relay: fix display of IRC CTCP messages received from client (issue #1986)
Build::
* doc: display a warning if a locale is missing with fallback to English for auto-generated content (issue #1985)
[[v4.0.2]] [[v4.0.2]]
== Version 4.0.2 (2023-07-12) == Version 4.0.2 (2023-07-12)
@@ -112,6 +33,8 @@ Build::
[[v4.0.1]] [[v4.0.1]]
== Version 4.0.1 (2023-06-30) == Version 4.0.1 (2023-06-30)
Bug fixes::
* core: force key "return" to command "/input return" when migrating legacy keys * 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: 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) * core: check for newline characters in string_is_whitespace_char (issue #1968)
@@ -251,7 +174,7 @@ Build::
* core: remove obsolete cpack config * core: remove obsolete cpack config
* core: add "stable-number" and "devel-number" in script version.sh * core: add "stable-number" and "devel-number" in script version.sh
* core: add quotes around paths in CMake files (issue #29) * 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]] [[v3.8]]
== Version 3.8 (2023-01-08) == Version 3.8 (2023-01-08)
@@ -2072,7 +1995,7 @@ Documentation::
Build:: 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: 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) * xfer: fix compilation on OpenBSD (bug #39071)
[[v0.4.1]] [[v0.4.1]]
+31 -119
View File
@@ -11,94 +11,6 @@ It is recommended to read it when upgrading to a new stable version. +
For a complete list of changes, please look at ChangeLog. For a complete list of changes, please look at ChangeLog.
[[v4.1.0]]
== Version 4.1.0 (under dev)
[[v4.1.0_cursor_mode_keys]]
=== New keys to move in cursor mode
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].
You can change existing keys and add new ones with these commands:
----
/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.1.0_irc_ctcp_replies]]
=== IRC CTCP replies
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.
In addition, for privacy reasons, these default CTCP replies have been removed:
- FINGER
- USERINFO
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
----
[[v4.0.4]]
== Version 4.0.4 (2023-08-22)
No release notes.
[[v4.0.3]]
== Version 4.0.3 (2023-08-08)
No release notes.
[[v4.0.2]]
== Version 4.0.2 (2023-07-12)
No release notes.
[[v4.0.1]] [[v4.0.1]]
== Version 4.0.1 (2023-06-30) == Version 4.0.1 (2023-06-30)
@@ -561,7 +473,7 @@ now any return value is ignored (like it has always been in the C API).
[[v3.7.1]] [[v3.7.1]]
== Version 3.7.1 (2022-10-21) == Version 3.7.1 (2022-10-21)
No release notes. Bug fix and maintenance release.
[[v3.7]] [[v3.7]]
== Version 3.7 (2022-10-09) == Version 3.7 (2022-10-09)
@@ -683,7 +595,7 @@ and is now a percentage between `0` and `100`:
[[v3.4.1]] [[v3.4.1]]
== Version 3.4.1 (2022-03-13) == Version 3.4.1 (2022-03-13)
No release notes. Bug fix and maintenance release.
[[v3.4]] [[v3.4]]
== Version 3.4 (2021-12-18) == Version 3.4 (2021-12-18)
@@ -841,7 +753,7 @@ For example:
[[v3.2.1]] [[v3.2.1]]
== Version 3.2.1 (2021-09-04) == Version 3.2.1 (2021-09-04)
No release notes. Bug fix and maintenance release.
[[v3.2]] [[v3.2]]
== Version 3.2 (2021-06-13) == Version 3.2 (2021-06-13)
@@ -1071,7 +983,7 @@ must adjust the value of the new option, which defaults to 1:
[[v3.0.1]] [[v3.0.1]]
== Version 3.0.1 (2021-01-31) == Version 3.0.1 (2021-01-31)
No release notes. Bug fix and maintenance release.
[[v3.0]] [[v3.0]]
== Version 3.0 (2020-11-11) == Version 3.0 (2020-11-11)
@@ -1379,7 +1291,7 @@ version:
[[v2.7.1]] [[v2.7.1]]
== Version 2.7.1 (2020-02-20) == Version 2.7.1 (2020-02-20)
No release notes. Bug fix and maintenance release.
[[v2.7]] [[v2.7]]
== Version 2.7 (2019-12-08) == Version 2.7 (2019-12-08)
@@ -1623,7 +1535,7 @@ Functions removed from C API:
[[v2.3]] [[v2.3]]
== Version 2.3 (2018-10-21) == Version 2.3 (2018-10-21)
No release notes. No release note.
[[v2.2]] [[v2.2]]
== Version 2.2 (2018-07-14) == Version 2.2 (2018-07-14)
@@ -1759,7 +1671,7 @@ List of options moved:
[[v2.0.1]] [[v2.0.1]]
== Version 2.0.1 (2017-12-20) == Version 2.0.1 (2017-12-20)
No release notes. Bug fix and maintenance release.
[[v2.0]] [[v2.0]]
== Version 2.0 (2017-12-03) == Version 2.0 (2017-12-03)
@@ -1854,12 +1766,12 @@ to integer before using it, for example in Python: `int(fd)`.
[[v1.9.1]] [[v1.9.1]]
== Version 1.9.1 (2017-09-23) == Version 1.9.1 (2017-09-23)
No release notes. Bug fix and maintenance release.
[[v1.9]] [[v1.9]]
== Version 1.9 (2017-06-25) == Version 1.9 (2017-06-25)
No release notes. No release note.
[[v1.8]] [[v1.8]]
== Version 1.8 (2017-05-13) == Version 1.8 (2017-05-13)
@@ -1911,7 +1823,7 @@ Aspell option with color for suggestion on a misspelled word has been renamed:
[[v1.7.1]] [[v1.7.1]]
== Version 1.7.1 (2017-04-22) == Version 1.7.1 (2017-04-22)
No release notes. Bug fix and maintenance release.
[[v1.7]] [[v1.7]]
== Version 1.7 (2017-01-15) == Version 1.7 (2017-01-15)
@@ -2158,7 +2070,7 @@ command:
[[v1.1.1]] [[v1.1.1]]
== Version 1.1.1 (2015-01-25) == Version 1.1.1 (2015-01-25)
No release notes. Bug fix and maintenance release.
[[v1.1]] [[v1.1]]
== Version 1.1 (2015-01-11) == Version 1.1 (2015-01-11)
@@ -2278,7 +2190,7 @@ instead of milliseconds:
[[v1.0.1]] [[v1.0.1]]
== Version 1.0.1 (2014-09-28) == Version 1.0.1 (2014-09-28)
No release notes. Bug fix and maintenance release.
[[v1.0]] [[v1.0]]
== Version 1.0 (2014-08-15) == Version 1.0 (2014-08-15)
@@ -3104,17 +3016,17 @@ This version fixes a major bug: crash with some special chars in IRC messages.
[[v0.2.6]] [[v0.2.6]]
== Version 0.2.6 (2007-09-06) == Version 0.2.6 (2007-09-06)
No release notes. No release note.
[[v0.2.5]] [[v0.2.5]]
== Version 0.2.5 (2007-06-07) == Version 0.2.5 (2007-06-07)
No release notes. No release note.
[[v0.2.4]] [[v0.2.4]]
== Version 0.2.4 (2007-03-29) == Version 0.2.4 (2007-03-29)
No release notes. No release note.
[[v0.2.3]] [[v0.2.3]]
== Version 0.2.3 (2007-01-10) == Version 0.2.3 (2007-01-10)
@@ -3173,7 +3085,7 @@ Which gives something like:
[[v0.2.1]] [[v0.2.1]]
== Version 0.2.1 (2006-10-01) == Version 0.2.1 (2006-10-01)
No release notes. No release note.
[[v0.2.0]] [[v0.2.0]]
== Version 0.2.0 (2006-08-19) == Version 0.2.0 (2006-08-19)
@@ -3287,74 +3199,74 @@ at startup.
[[v0.1.5]] [[v0.1.5]]
== Version 0.1.5 (2005-09-24) == Version 0.1.5 (2005-09-24)
No release notes. No release note.
[[v0.1.4]] [[v0.1.4]]
== Version 0.1.4 (2005-07-30) == Version 0.1.4 (2005-07-30)
No release notes. No release note.
[[v0.1.3]] [[v0.1.3]]
== Version 0.1.3 (2005-07-02) == Version 0.1.3 (2005-07-02)
No release notes. No release note.
[[v0.1.2]] [[v0.1.2]]
== Version 0.1.2 (2005-05-21) == Version 0.1.2 (2005-05-21)
No release notes. No release note.
[[v0.1.1]] [[v0.1.1]]
== Version 0.1.1 (2005-03-20) == Version 0.1.1 (2005-03-20)
No release notes. No release note.
[[v0.1.0]] [[v0.1.0]]
== Version 0.1.0 (2005-02-12) == Version 0.1.0 (2005-02-12)
No release notes. No release note.
[[v0.0.9]] [[v0.0.9]]
== Version 0.0.9 (2005-01-01) == Version 0.0.9 (2005-01-01)
No release notes. No release note.
[[v0.0.8]] [[v0.0.8]]
== Version 0.0.8 (2004-10-30) == Version 0.0.8 (2004-10-30)
No release notes. No release note.
[[v0.0.7]] [[v0.0.7]]
== Version 0.0.7 (2004-08-08) == Version 0.0.7 (2004-08-08)
No release notes. No release note.
[[v0.0.6]] [[v0.0.6]]
== Version 0.0.6 (2004-06-05) == Version 0.0.6 (2004-06-05)
No release notes. No release note.
[[v0.0.5]] [[v0.0.5]]
== Version 0.0.5 (2004-02-07) == Version 0.0.5 (2004-02-07)
No release notes. No release note.
[[v0.0.4]] [[v0.0.4]]
== Version 0.0.4 (2004-01-01) == Version 0.0.4 (2004-01-01)
No release notes. No release note.
[[v0.0.3]] [[v0.0.3]]
== Version 0.0.3 (2003-11-03) == Version 0.0.3 (2003-11-03)
No release notes. No release note.
[[v0.0.2]] [[v0.0.2]]
== Version 0.0.2 (2003-10-05) == Version 0.0.2 (2003-10-05)
No release notes. No release note.
[[v0.0.1]] [[v0.0.1]]
== Version 0.0.1 (2003-09-27) == Version 0.0.1 (2003-09-27)
No release notes. No release note.
+2 -2
View File
@@ -7,7 +7,7 @@ Build-Depends:
ruby-pygments.rb, ruby-pygments.rb,
debhelper (>= 12), debhelper (>= 12),
cmake, pkg-config, cmake, pkg-config,
libncurses-dev, libncursesw5-dev,
gem2deb, gem2deb,
libperl-dev, libperl-dev,
python3-dev, python3-dev,
@@ -22,7 +22,7 @@ Build-Depends:
libgnutls28-dev, libgnutls28-dev,
libzstd-dev, libzstd-dev,
zlib1g-dev zlib1g-dev
Standards-Version: 4.6.2 Standards-Version: 4.6.0.1
Homepage: https://weechat.org/ Homepage: https://weechat.org/
Vcs-Git: https://salsa.debian.org/kolter/weechat.git Vcs-Git: https://salsa.debian.org/kolter/weechat.git
Vcs-Browser: https://salsa.debian.org/kolter/weechat 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
-16
View File
@@ -1,19 +1,3 @@
weechat (4.0.2-1) unstable; urgency=medium
* New upstream release (Closes: #1040248)
-- Emmanuel Bouthenot <kolter@debian.org> Sat, 22 Jul 2023 05:48:35 +0000
weechat (4.0.1-1) unstable; urgency=medium
* New upstream release
* Remove NEWS file, no longer required
* Update build dependency from libncursesw5-dev to libncurses-dev
* Bump Standards-Version to 4.6.2
* Remove all patches (no longer required)
-- Emmanuel Bouthenot <kolter@debian.org> Tue, 04 Jul 2023 19:02:41 +0000
weechat (3.8-1) unstable; urgency=medium weechat (3.8-1) unstable; urgency=medium
* New upstream release * New upstream release
+2 -2
View File
@@ -7,7 +7,7 @@ Build-Depends:
ruby-pygments.rb, ruby-pygments.rb,
debhelper (>= 12), debhelper (>= 12),
cmake, pkg-config, cmake, pkg-config,
libncurses-dev, libncursesw5-dev,
gem2deb, gem2deb,
libperl-dev, libperl-dev,
python3-dev, python3-dev,
@@ -22,7 +22,7 @@ Build-Depends:
libgnutls28-dev, libgnutls28-dev,
libzstd-dev, libzstd-dev,
zlib1g-dev zlib1g-dev
Standards-Version: 4.6.2 Standards-Version: 4.6.1.0
Homepage: https://weechat.org/ Homepage: https://weechat.org/
Vcs-Git: https://salsa.debian.org/kolter/weechat.git Vcs-Git: https://salsa.debian.org/kolter/weechat.git
Vcs-Browser: https://salsa.debian.org/kolter/weechat 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" /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]] [[global_history]]
=== Wie kann ich den globalen Verlaufsspeicher (anstelle des Buffer eigenen) mit den Up-/Down-Tasten nutzen? === 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 Man sollte sich die Tipps zum <<memory_usage,Speicherverbrauch>> ansehen
und zusätzlich diese Tipps beherzigen: und zusätzlich diese Tipps beherzigen:
// TRANSLATION MISSING * "nicklist"-Bar sollte versteckt werden: `/bar hide nicklist`
* "nicklist"-Bar sollte versteckt werden: `/bar hide nicklist` (key: kbd:[Alt+Shift+N]).
// TRANSLATION MISSING
* Disable "buflist": `/buflist disable` (key: kbd:[Alt+Shift+B]).
* die Sekundenanzeigen in der Statusbar sollte deaktiviert werden: * die Sekundenanzeigen in der Statusbar sollte deaktiviert werden:
`+/set weechat.look.item_time_format "%H:%M"+` (dies ist die Standardeinstellung) `+/set weechat.look.item_time_format "%H:%M"+` (dies ist die Standardeinstellung)
* die Echtzeit Rechtschreibkorrektur sollte deaktiviert werden (falls sie aktiviert wurde): * 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.clientinfo ""
/set irc.ctcp.finger ""
/set irc.ctcp.source "" /set irc.ctcp.source ""
/set irc.ctcp.time "" /set irc.ctcp.time ""
/set irc.ctcp.userinfo ""
/set irc.ctcp.version "" /set irc.ctcp.version ""
/set irc.ctcp.ping "" /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: 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 | | pkg-config |
| entdeckt installierte Bibliotheken. | entdeckt installierte Bibliotheken.
| libncurses-dev | | libncursesw5-dev ^(2)^ |
| Ncurses Oberfläche. | Ncurses Oberfläche.
| libcurl4-gnutls-dev | | libcurl4-gnutls-dev |
@@ -127,7 +127,7 @@ Die folgende Tabelle zeigt eine Auflistung der Pakete, die zum Erstellen von Wee
| libgcrypt20-dev | | libgcrypt20-dev |
| Geschützte Daten, IRC SASL Authentifikation. | 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). + | IRC-Erweiterung: Unterstützung von TLS Verbindungen, IRC SASL Authentifikation (ECDSA-NIST256P-CHALLENGE). +
Relay-Erweiterung: Untersützung von TLS Verbindungen. 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] [NOTE]
^(1)^ Der Name stammt von der Debian GNU/Linux Bookworm-Distribution, ^(1)^ Der Name stammt von der Debian GNU/Linux Bookworm-Distribution,
Version und Name können in anderen Distributionen anders lauten. + 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. ECDSA-NIST256P-CHALLENGE durchzuführen.
Die folgende Tabelle zeigt die Liste der Pakete, die zum Kompilieren von 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 | filter
| beliebige Zeichenkette | beliebige Zeichenkette
| Filter für einige Buffer definiert, zum Beispiel`/fset`, `/list` (irc), `/server raw` (irc) | Filter definiert für einige Buffer `/fset`, `/server raw` (irc) und `/script`.
und `/script`.
| host | host
| beliebige Zeichenkette | beliebige Zeichenkette
@@ -1451,20 +1454,6 @@ Optionen:
include::{autogendir}/autogen_user_options.de.adoc[tag=buflist_options] 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]] [[key_bindings]]
== Tastenbelegungen == Tastenbelegungen
@@ -1687,38 +1676,31 @@ in einem Buffer nach einem Text zu suchen).
[[key_bindings_cursor_context]] [[key_bindings_cursor_context]]
=== Cursor-Kontext === Cursor-Kontext
Diese Tasten werden im Kontext "cursor" verwendet (Cursor kann frei auf dem Bildschirm bewegt werden), Diese Tasten werden im Kontext "cursor" verwendet (Cursor kann frei auf dem Bildschirm bewegt werden)
see <<cursor_mode,Cursor mode>>.
[width="100%",cols="^.^3,^.^2,.^7,.^7",options="header"] [width="100%",cols="^.^3,^.^2,.^7,.^7",options="header"]
|=== |===
| Taste | Bereich | Beschreibung | Befehl | Taste | Bereich | Beschreibung | Befehl
| kbd:[↑] | - | bewegt den Cursor eine Zeile nach oben. | `+/cursor move up+` | kbd:[↑] | - | bewegt Cursor eine Zeile nach oben. | `+/cursor move up+`
| kbd:[↓] | - | bewegt den Cursor eine Zeile nach unten. | `+/cursor move down+` | kbd:[↓] | - | bewegt Cursor eine Zeile nach unten. | `+/cursor move down+`
| kbd:[←] | - | bewegt den Cursor eine Spalte nach links. | `+/cursor move left+` | kbd:[←] | - | bewegt Cursor eine Spalte nach links. | `+/cursor move left+`
| kbd:[→] | - | bewegt den Cursor eine Spalte nach rechts. | `+/cursor move right+` | kbd:[→] | - | bewegt 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 Cursor einen Bereich nach oben. | `+/cursor move area_up+`
| kbd:[Alt+↓] | - | bewegt den Cursor zur letzten Zeile des Bereichs. | `+/cursor move edge_bottom+` | kbd:[Alt+↓] | - | bewegt Cursor einen Bereich nach unten. | `+/cursor move area_down+`
| kbd:[Alt+←] | - | bewegt den Cursor zur ersten Spalte des Bereichs. | `+/cursor move edge_left+` | kbd:[Alt+←] | - | bewegt Cursor einen Bereich nach links. | `+/cursor move area_left+`
| kbd:[Alt+→] | - | bewegt den Cursor zur letzten Spalte des Bereichs. | `+/cursor move edge_right+` | kbd:[Alt+→] | - | bewegt Cursor einen Bereich nach rechts. | `+/cursor move area_right+`
| kbd:[Alt+Home] | - | bewegt den Cursor in die obere linke Ecke des Bereichs. | `+/cursor move top_left+` | kbd:[m] | Chat | zitiert Nachricht. | `+hsignal:chat_quote_message;/cursor stop+`
| kbd:[Alt+End] | - | bewegt den Cursor in die untere rechte Ecke des Bereichs. | `+/cursor move bottom_right+` | kbd:[l] | Chat | zitiert aktuelle Zeile. | `+hsignal:chat_quote_focused_line;/cursor stop+`
| kbd:[Alt+Shift+↑] | - | bewegt den Cursor einen Bereich nach oben. | `+/cursor move area_up+` | kbd:[q] | Chat | zitiert prefix + Nachricht. | `+hsignal:chat_quote_prefix_message;/cursor stop+`
| kbd:[Alt+Shift+↓] | - | bewegt den Cursor einen Bereich nach unten. | `+/cursor move area_down+` | kbd:[Q] | Chat | zitiert Uhrzeit + prefix + Nachricht. | `+hsignal:chat_quote_time_prefix_message;/cursor stop+`
| kbd:[Alt+Shift+←] | - | bewegt den Cursor einen Bereich nach links. | `+/cursor move area_left+` | kbd:[b] | Benutzerliste | verbannt nick (Ban). | `+/window ${_window_number};/ban ${nick}+`
| kbd:[Alt+Shift+→] | - | bewegt den Cursor einen Bereich nach rechts. | `+/cursor move area_right+` | kbd:[k] | Benutzerliste | kickt nick. | `+/window ${_window_number};/kick ${nick}+`
| kbd:[m] | Chat | zitiert Nachricht. | `+hsignal:chat_quote_message;/cursor stop+` | kbd:[K] | Benutzerliste | kickt und verbannt nick. | `+/window ${_window_number};/kickban ${nick}+`
| kbd:[l] | Chat | zitiert aktuelle Zeile. | `+hsignal:chat_quote_focused_line;/cursor stop+` | kbd:[q] | Benutzerliste | öffnet privaten Chat mit Nick. | `+/window ${_window_number};/query ${nick};/cursor stop+`
| kbd:[q] | Chat | zitiert prefix + Nachricht. | `+hsignal:chat_quote_prefix_message;/cursor stop+` | kbd:[w] | Benutzerliste | führt einen whois für Nick aus. | `+/window ${_window_number};/whois ${nick}+`
| 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:[Enter] +
kbd:[Ctrl+j] + kbd:[Ctrl+j] +
kbd:[Ctrl+m] | - | beendet den Cursor-Modus. | `+/cursor stop+` kbd:[Ctrl+m] | - | beendet den Cursor-Modus. | `+/cursor stop+`
|=== |===
[[key_bindings_mouse]] [[key_bindings_mouse]]
@@ -1730,59 +1712,49 @@ wurde (Befehl: `+/mouse toggle+`).
[width="100%",cols="^.^3,^.^3,^.^3,.^8,.^8",options="header"] [width="100%",cols="^.^3,^.^3,^.^3,.^8,.^8",options="header"]
|=== |===
| Maustaste/Mausrad ^(1)^ | Mausgeste | Bereich | Beschreibung | Befehl | Maustaste/Mausrad ^(1)^ | Mausgeste | Bereich | Beschreibung | Befehl
| kbd:[■ □ □] | - | Chat | wechselt zum Fenster. | `+/window ${_window_number}+` | ◾◽◽ | - | Chat | wechselt zum Fenster. | `+/window ${_window_number}+`
| kbd:[■ □ □] | links | Chat | zum vorherigen Buffer springen. | `+/window ${_window_number};/buffer +1+` | ◾◽◽ | links | Chat | zum vorherigen Buffer springen. | `+/window ${_window_number};/buffer +1+`
| kbd:[■ □ □] | rechts | Chat | zum nächsten Buffer springen. | `+/window ${_window_number};/buffer +1+` | ◾◽◽ | 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+` | ◾◽◽ | links(lang) | Chat | wechselt zum ersten Buffer. | `+/window ${_window_number};/buffer 1+`
| kbd:[■ □ □] | rechts(lang) | Chat | wechselt zum letzten Buffer. | `+/window ${_window_number};/buffer ++` | ◾◽◽ | 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 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:[▼] | - | 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 links scrollen. | `+/window scroll_horiz -window ${_window_number} -10%+`
| kbd:[Ctrl+▼] | - | Chat | horizontal, nach rechts 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 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 | 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}+` | ◾◽◽ | - | chat: fset buffer | springt zu einem Eintrag im fset Buffer. | `+/window ${_window_number};/fset -go ${_chat_line_y}+`
| kbd:[□ □ ■] | - | chat: fset buffer | Boolean-Wert wird umgeschaltet (an/aus) oder editiere den Wert einer Option. | `+hsignal:fset_mouse+` | ◽◽◾ | - | 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+` | ◽◽◾ | left | chat: fset buffer | Integer/Farbwerte 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+` | ◽◽◾ | right | chat: fset buffer | Integer/Farbwerte 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+` | ◽◽◾ | 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+`
| 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 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 | 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}+` | ◾◽◽ | - | 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}+` | ◽◽◾ | - | 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+`. | ◾◽◽ | 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+`. | ◾◽◽ | 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+`. | ◾◽◽ | - | 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+`. | ◽◽◾ | - | 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 vorherigen Buffer. | Signal `+buflist_mouse+`.
| kbd:[Ctrl+▼] | - | buflist | wechselt zum nächsten 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%+` | ◾◽◽ | 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%+` | ◾◽◽ | 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+` | ◾◽◽ | 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+` | ◾◽◽ | 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}+` | ◾◽◽ | - | 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}+` | ◽◽◾ | - | Benutzerliste | führt einen whois für Nick aus. | `+/window ${_window_number};/whois ${nick}+`
| kbd:[■ □ □] | links | Benutzerliste | kickt Nick. | `+/window ${_window_number};/kick ${nick}+` | ◾◽◽ | links | Benutzerliste | kickt Nick. | `+/window ${_window_number};/kick ${nick}+`
| kbd:[■ □ □] | links(lang) | Benutzerliste | kickt und verbannt Nick. | `+/window ${_window_number};/kickban ${nick}+` | ◾◽◽ | links(lang) | Benutzerliste | kickt und verbannt Nick. | `+/window ${_window_number};/kickban ${nick}+`
| kbd:[□ □ ■] | links | Benutzerliste | verbannt Nick. | `+/window ${_window_number};/ban ${nick}+` | ◽◽◾ | 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+` | ◽◽◾ | - | 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 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:[▼] | - | 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] [NOTE]
^(1)^ Buttons: + ^(1)^ kbd:[▲] und kbd:[▼] sind Symbole für Mausrad hoch/runter.
kbd:[◼ □ □]: Klicke linke Maustaste +
kbd:[□ ◼ □]: Klicke mittlere Maustaste +
kbd:[□ □ ◼]: Klicke rechte Maustaste +
Mausrad: +
kbd:[▲]: Mausrad hoch +
kbd:[▼]: Mausrad runter
[[key_bindings_fset_buffer]] [[key_bindings_fset_buffer]]
=== 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:[F11] | `pass:[<]` | scrollt horizontal nach links. | `+/fset -left+`
| kbd:[F12] | `pass:[>]` | scrollt horizontal nach rechts. | `+/fset -right+` | kbd:[F12] | `pass:[>]` | scrollt horizontal nach rechts. | `+/fset -right+`
| kbd:[Alt+Space] | `t` | Boolean Wert ein/ausschalten. | `+/fset -toggle+` | 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+-] | `-` | 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/Aufzählung, 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+r] | `r` | Wert resetten. | `+/fset -reset+`
| kbd:[Alt+f], kbd:[Alt+u] | `u` | Wert zurücksetzen. | `+/fset -unset+` | kbd:[Alt+f], kbd:[Alt+u] | `u` | Wert zurücksetzen. | `+/fset -unset+`
| kbd:[Alt+Enter] | `s` | Wert setzen. | `+/fset -set+` | 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] [NOTE]
^(1)^ Die Aktion muss als Eingabe in die Befehlszeile eingegeben werden, gefolgt von kbd:[Enter]. ^(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]] [[key_bindings_script_buffer]]
=== Skriptbuffer === 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│ │2.fset │weechat.look.bare_display_exit_on_input: exit the bare display mode on any c│
│ │hanges in input [default: on] │ │ │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.align_multiline_words boolean on │
│ │ weechat.look.bar_more_down string "++" │ │ │ weechat.look.bar_more_down string "++" │
│ │ weechat.look.bar_more_left 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_exit_on_input boolean on ##│
│ │ weechat.look.bare_display_time_format string "%H:%M" │ │ │ weechat.look.bare_display_time_format string "%H:%M" │
│ │ weechat.look.buffer_auto_renumber boolean on │ │ │ weechat.look.buffer_auto_renumber boolean on │
│ │ weechat.look.buffer_notify_default enum all │ │ │ weechat.look.buffer_notify_default integer all │
│ │ weechat.look.buffer_position enum end │ │ │ weechat.look.buffer_position integer end │
│ │ weechat.look.buffer_search_case_sensitive boolean off │ │ │ weechat.look.buffer_search_case_sensitive boolean off │
│ │ weechat.look.buffer_search_force_default boolean off │ │ │ weechat.look.buffer_search_force_default boolean off │
│ │ weechat.look.buffer_search_regex 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_format string "%H:%M:%S" │
│ │ weechat.look.buffer_time_same string "" │ │ │ weechat.look.buffer_time_same string "" │
│ │[12:55] [2] [fset] 2:fset │ │ │[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 integer null -> 0
irc.server.libera.away_check_max_nicks integer null -> 25 irc.server.libera.away_check_max_nicks integer null -> 25
irc.server.libera.capabilities string null -> "*" 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 string null -> ""
irc.server.libera.command_delay integer null -> 0 irc.server.libera.command_delay integer null -> 0
irc.server.libera.connection_timeout integer null -> 60 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.password string null -> ""
irc.server.libera.proxy string null -> "" irc.server.libera.proxy string null -> ""
irc.server.libera.realname 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_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_password string "${sec.data.libera}"
irc.server.libera.sasl_timeout integer null -> 15 irc.server.libera.sasl_timeout integer null -> 15
irc.server.libera.sasl_username string "alice" 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: 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] [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: 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 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 /unset irc.ctcp.version
---- ----
Die CTCP Antworten sind evaluiert (siehe Befehl <<command_weechat_eval,/eval>>) und Folgende Platzhalter können in den CTCP-Antworten genutzt werden. Diese werden dann
die folgenden zusätzlichen Variablen sind verfügbar: 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 | Platzhalter | Beschreibung | Wert/Beispiel
| `+${clientinfo}+` | Liste der CTCP Antworten | `+ACTION DCC CLIENTINFO FINGER PING SOURCE TIME USERINFO VERSION+` | $clientinfo | Liste der CTCP Antworten | `+ACTION DCC CLIENTINFO FINGER PING SOURCE TIME USERINFO VERSION+`
| `+${version}+` | WeeChat Version | `+4.1.0-dev+` | $version | WeeChat Version | `+0.4.0-dev+`
| `+${versiongit}+` | WeeChat Version + Git version ^(1)^ | `+4.1.0-dev (git: v4.0.0-51-g8f98b922a)+` | $versiongit | WeeChat Version + Git version ^(1)^ | `+0.4.0-dev (git: v0.3.9-104-g7eb5cc4)+`
| `+${git}+` | Git Version ^(1)^ | `+v4.0.0-51-g8f98b922a+` | $git | Git Version ^(1)^ | `+v0.3.9-104-g7eb5cc4+`
| `+${compilation}+` | Datum der Kompilierung | `+Jul 8 2023 20:14:23+` | $compilation | Datum der Kompilierung | `+Dec 16 2012+`
| `+${osinfo}+` | Info über das genutzte OS | `+Linux 5.10.0-23-amd64 / x86_64+` | $osinfo | Info über das genutzte OS | `+Linux 2.6.32-5-amd64 / x86_64+`
| `+${site}+` | WeeChat Seite | `+https://weechat.org/+` | $site | WeeChat Seite | `+https://weechat.org/+`
| `+${download}+` | WeeChat, Download Seite | `+https://weechat.org/download/+` | $download | WeeChat, Download Seite | `+https://weechat.org/download/+`
| `+${time}+` | Aktuelle Uhrzeit/Datum | `+Sat, 08 Jul 2023 21:11:19 +0200+` | $time | Aktuelle Uhrzeit/Datum | `+Sun, 16 Dec 2012 10:40:48 +0100+`
| `+${username}+` | Username beim IRC Server | `+Name+` | $username | Username beim IRC Server | `+Name+`
| `+${realname}+` | Realname beim IRC Server | `+John Doe+` | $realname | Realname beim IRC Server | `+John Doe+`
|=== |===
[NOTE] [NOTE]
@@ -4186,17 +4125,17 @@ die folgenden zusätzlichen Variablen sind verfügbar:
Dies erfordert, dass WeeChat aus dem Git Repository heraus kompiliert wurde Dies erfordert, dass WeeChat aus dem Git Repository heraus kompiliert wurde
und das Git überhaupt installiert ist. 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"] [width="100%",cols="2,4,8",options="header"]
|=== |===
| CTCP | Antwortformat | Beispiel | CTCP | Antwortformat | Beispiel
| CLIENTINFO | `+${clientinfo}+` | `+ACTION DCC CLIENTINFO FINGER PING SOURCE TIME USERINFO VERSION+` | CLIENTINFO | `+$clientinfo+` | `+ACTION DCC CLIENTINFO FINGER PING SOURCE TIME USERINFO VERSION+`
| FINGER | `+WeeChat ${version}+` | `+WeeChat 4.1.0-dev+` | FINGER | `+WeeChat $versiongit+` | `+WeeChat 0.4.0-dev (git: v0.3.9-104-g7eb5cc4)+`
| SOURCE | `+${download}+` | `+https://weechat.org/download/+` | SOURCE | `+$download+` | `+https://weechat.org/download/+`
| TIME | `+${time}+` | `+Sat, 08 Jul 2023 21:11:19 +0200+` | TIME | `+$time+` | `+Sun, 16 Dec 2012 10:40:48 +0100+`
| USERINFO | `+${username} (${realname})+` | `+Name (John Doe)+` | USERINFO | `+$username ($realname)+` | `+Name (John Doe)+`
| VERSION | `+WeeChat ${version}+` | `+WeeChat 4.1.0-dev+` | VERSION | `+WeeChat $versiongit ($compilation)+` | `+WeeChat 0.4.0-dev (git: v0.3.9-104-g7eb5cc4) (Dec 16 2012)+`
|=== |===
[[irc_target_buffer]] [[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-info.c | IRC info/infolists/hdata.
|       irc-input.c | Input of commands/text. |       irc-input.c | Input of commands/text.
|       irc-join.c | Functions for list of channels to join. |       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-message.c | Functions to manipulate IRC messages.
|       irc-mode.c | Functions about channel/nick modes. |       irc-mode.c | Functions about channel/nick modes.
|       irc-modelist.c | IRC channel mode lists (+b, +e, +I, ...). |       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-channel.cpp | Tests: IRC channels.
|             test-irc-color.cpp | Tests: IRC colors. |             test-irc-color.cpp | Tests: IRC colors.
|             test-irc-config.cpp | Tests: IRC configuration. |             test-irc-config.cpp | Tests: IRC configuration.
|             test-irc-ctcp.cpp | Tests: IRC CTCP.
|             test-irc-ignore.cpp | Tests: IRC ignores. |             test-irc-ignore.cpp | Tests: IRC ignores.
|             test-irc-join.cpp | Tests: IRC join functions. |             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-message.cpp | Tests: IRC messages.
|             test-irc-mode.cpp | Tests: IRC modes. |             test-irc-mode.cpp | Tests: IRC modes.
|             test-irc-nick.cpp | Tests: IRC nicks. |             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" /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]] [[global_history]]
=== How to use global history (instead of buffer history) with up and down keys? === 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: You can follow same tips as for <<memory_usage,memory>>, and these ones:
* Hide "nicklist" bar: `/bar hide nicklist` (key: kbd:[Alt+Shift+N]). * Hide "nicklist" bar: `/bar hide nicklist`.
* Disable "buflist": `/buflist disable` (key: kbd:[Alt+Shift+B]).
* Remove display of seconds in status bar time: * Remove display of seconds in status bar time:
`+/set weechat.look.item_time_format "%H:%M"+` (this is the default value). `+/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): * 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.clientinfo ""
/set irc.ctcp.finger ""
/set irc.ctcp.source "" /set irc.ctcp.source ""
/set irc.ctcp.time "" /set irc.ctcp.time ""
/set irc.ctcp.userinfo ""
/set irc.ctcp.version "" /set irc.ctcp.version ""
/set irc.ctcp.ping "" /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): Unload and disable auto-loading of "xfer" plugin (used for IRC DCC):
---- ----
+65 -173
View File
@@ -6880,7 +6880,7 @@ section = weechat.config_search_section(config_file, "section")
==== config_new_option ==== 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. Create a new option in a section of a configuration file.
@@ -6928,13 +6928,12 @@ Arguments:
"name << file.section.option" "name << file.section.option"
* _type_: type of option: * _type_: type of option:
** _boolean_: boolean value (on/off) ** _boolean_: boolean value (on/off)
** _integer_: integer value ** _integer_: integer value (with optional strings for values)
** _string_: string value ** _string_: string value
** _color_: color ** _color_: color
** _enum_: list of string values (stored as integer internally)
* _description_: description of option * _description_: description of option
* _string_values_: values as string (separated by `+|+`) (optional, required * _string_values_: values as string (separated by `+|+`), used for type
for type _enum_) _integer_ (optional)
* _min_: minimum value (for type _integer_) * _min_: minimum value (for type _integer_)
* _max_: maximum value (for type _integer_) * _max_: maximum value (for type _integer_)
* _default_value_: default value for option (used when option is reset) * _default_value_: default value for option (used when option is reset)
@@ -6985,8 +6984,8 @@ C example:
[source,c] [source,c]
---- ----
/* boolean */ /* boolean */
struct t_config_option *option_bool = struct t_config_option *option1 =
weechat_config_new_option (config_file, section, "option_bool", "boolean", weechat_config_new_option (config_file, section, "option1", "boolean",
"My option, type boolean", "My option, type boolean",
NULL, NULL,
0, 0, 0, 0,
@@ -6998,8 +6997,8 @@ struct t_config_option *option_bool =
NULL, NULL, NULL); NULL, NULL, NULL);
/* integer */ /* integer */
struct t_config_option *option_int = struct t_config_option *option2 =
weechat_config_new_option (config_file, section, "option_int", "integer", weechat_config_new_option (config_file, section, "option2", "integer",
"My option, type integer", "My option, type integer",
NULL, NULL,
0, 100, 0, 100,
@@ -7010,9 +7009,22 @@ struct t_config_option *option_int =
NULL, NULL, NULL, NULL, NULL, NULL,
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 */ /* string */
struct t_config_option *option_str = struct t_config_option *option4 =
weechat_config_new_option (config_file, section, "option_str", "string", weechat_config_new_option (config_file, section, "option4", "string",
"My option, type string", "My option, type string",
NULL, NULL,
0, 0, 0, 0,
@@ -7024,8 +7036,8 @@ struct t_config_option *option_str =
NULL, NULL, NULL); NULL, NULL, NULL);
/* color */ /* color */
struct t_config_option *option_col = struct t_config_option *option5 =
weechat_config_new_option (config_file, section, "option_col", "color", weechat_config_new_option (config_file, section, "option5", "color",
"My option, type color", "My option, type color",
NULL, NULL,
0, 0, 0, 0,
@@ -7035,19 +7047,6 @@ struct t_config_option *option_col =
NULL, NULL, NULL, NULL, NULL, NULL,
NULL, NULL, NULL, 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): Script (Python):
@@ -7063,49 +7062,49 @@ def config_new_option(config_file: str, section: str, name: str, type: str, desc
callback_delete: str, callback_delete_data: str) -> str: ... callback_delete: str, callback_delete_data: str) -> str: ...
# example # 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 1
# return 0 # 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", "My option, type boolean",
"", 0, 0, "on", "on", 0, "", 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", "My option, type integer",
"", 0, 100, "15", "15", 0, "", 0, 100, "15", "15", 0,
"", "", "", "",
"", "", "", "",
"", "") "", "")
option_str = weechat.config_new_option(config_file, section, "option_str", "string", option3 = weechat.config_new_option(config_file, section, "option3", "integer",
"My option, type string", "My option, type integer (with string values)",
"", 0, 0, "test", "test", 1, "top|bottom|left|right",
"option_str_check_value_cb", "", 0, 0, "bottom", "bottom", 0,
"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,
"", "", "", "",
"", "", "", "",
"", "") "", "")
option_enum = weechat.config_new_option(config_file, section, "option_enum", "enum", option4 = weechat.config_new_option(config_file, section, "option4", "string",
"My option, type enum", "My option, type string",
"top|bottom|left|right", "", 0, 0, "test", "test", 1,
0, 0, "bottom", "bottom", 0, "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: type of option:
** _boolean_: ** _boolean_:
*** `toggle`: toggle the current value *** `toggle`: toggle the current value
** _integer_, _color_ or _enum_: ** _integer_ or _color_:
*** `++N`: add `N` (any integer) to the current value *** `++N`: add `N` (any integer) to the current value
*** `--N`: subtract `N` (any integer) from 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, * _run_callback_: 1 for calling change callback if value of option is changed,
@@ -7622,7 +7621,6 @@ Arguments:
*** _integer_ *** _integer_
*** _string_ *** _string_
*** _color_ *** _color_
*** _enum_
** _description_: option description ** _description_: option description
Return value: Return value:
@@ -7796,7 +7794,6 @@ Return value, depending on the option type:
* _integer_: 0 * _integer_: 0
* _string_: 0 * _string_: 0
* _color_: 0 * _color_: 0
* _enum_: 0
C example: C example:
@@ -7847,7 +7844,6 @@ Return value, depending on the option type:
* _integer_: 0 * _integer_: 0
* _string_: 0 * _string_: 0
* _color_: 0 * _color_: 0
* _enum_: 0
C example: C example:
@@ -7898,7 +7894,6 @@ Return value, depending on the option type:
* _integer_: integer value of option * _integer_: integer value of option
* _string_: 0 * _string_: 0
* _color_: color index * _color_: color index
* _enum_: integer value of option (index of enum value)
C example: C example:
@@ -7941,7 +7936,6 @@ Return value, depending on the option type:
* _integer_: default integer value of option * _integer_: default integer value of option
* _string_: 0 * _string_: 0
* _color_: default color index * _color_: default color index
* _enum_: default integer value of option (index of enum value)
C example: C example:
@@ -7981,10 +7975,10 @@ Arguments:
Return value, depending on the option type: Return value, depending on the option type:
* _boolean_: "on" if value is true, otherwise "off" * _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 * _string_: string value of option
* _color_: name of color * _color_: name of color
* _enum_: string value of option
C example: C example:
@@ -8024,10 +8018,10 @@ Arguments:
Return value, depending on the option type: Return value, depending on the option type:
* _boolean_: "on" if default value is true, otherwise "off" * _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 * _string_: default string value of option
* _color_: name of default color * _color_: name of default color
* _enum_: default string value of option
C example: C example:
@@ -8070,7 +8064,6 @@ Return value, depending on the option type:
* _integer_: NULL * _integer_: NULL
* _string_: NULL * _string_: NULL
* _color_: name of color * _color_: name of color
* _enum_: NULL
C example: C example:
@@ -8113,7 +8106,6 @@ Return value, depending on the option type:
* _integer_: NULL * _integer_: NULL
* _string_: NULL * _string_: NULL
* _color_: name of default color * _color_: name of default color
* _enum_: NULL
C example: C example:
@@ -8135,96 +8127,6 @@ option = weechat.config_get("plugin.section.option")
value = weechat.config_color_default(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 ==== config_write_option
Write a line in a configuration file with option and its value (this function 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 ==== 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. 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 | Key | Value (formatted buffer) | Value (free buffer) | Examples
| buffer | buffer
| Comma-separated list of buffer pointers. | Buffer pointer.
| Comma-separated list of buffer pointers. | Buffer pointer.
| `+0x1234abcd+` | `+0x1234abcd+`
| buffer_name | buffer_name
| Comma-separated list of buffer names. | Buffer name.
| Comma-separated list of buffer names. | Buffer name.
| `+core.weechat+` + | `+core.weechat+` +
`+irc.server.libera+` + `+irc.server.libera+` +
`+irc.libera.#weechat+` `+irc.libera.#weechat+`
@@ -10793,20 +10695,16 @@ in this hashtable):
| Key | Allowed value (formatted buffer) | Allowed value (free buffer) | Result | Key | Allowed value (formatted buffer) | Allowed value (free buffer) | Result
| buffer | buffer
| Comma-separated list buffer pointers (with formatted content) | Pointer of a buffer with formatted content.
(multiple buffers are supported only with WeeChat ≥ 4.1.0). | Pointer of a buffer with free content.
| Comma-separated list buffer pointers (with free content) | The line is displayed on this buffer. +
(multiple buffers are supported only with WeeChat ≥ 4.1.0).
| The line is displayed on these buffers. +
If the value is empty, the line is deleted (anything else in the hashtable 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. is then ignored); the next hooks of type "line" are not called.
| buffer_name | buffer_name
| Comma-separated list buffer names (with formatted content) | Name of a buffer with formatted content.
(multiple buffers are supported only with WeeChat ≥ 4.1.0). | Name of a buffer with free content.
| Comma-separated list buffer names (with free content) | The line is displayed on this buffer. +
(multiple buffers are supported only with WeeChat ≥ 4.1.0).
| The line is displayed on these buffers. +
If `buffer` is also set, the value of `+buffer_name+` has higher priority and is used. + 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 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. 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 ==== 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 Hook a focus: mouse event or key pressed in cursor mode (free movement of
cursor). cursor).
@@ -13119,22 +13017,16 @@ Content of hashtable sent to callback (keys and values are of type "string"):
| _chat_line_message | Message of line. | _chat_line_message | Message of line.
| "Hello world!" | "" | "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!" | "" | "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). | _chat_word | Word at (x,y).
| "Hello" | "" | "Hello" | ""
| _chat_bol | Text from beginning of message to (x-1, y). | _chat_bol | Text from beginning of line to (x-1, y).
| "He" | "" | "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!" | "" | "llo world!" | ""
| _bar_name | Name of bar. | _bar_name | Name of bar.
@@ -17683,7 +17575,7 @@ Arguments:
Return value: Return value:
* variable offset, -1 if an error occurred * variable offset, 0 if an error occurred
C example: C example:
+89 -152
View File
@@ -113,7 +113,7 @@ WeeChat:
| pkg-config | | pkg-config |
| Detect installed libraries. | Detect installed libraries.
| libncurses-dev | | libncursesw5-dev ^(2)^ |
| Ncurses interface. | Ncurses interface.
| libcurl4-gnutls-dev | | libcurl4-gnutls-dev |
@@ -122,7 +122,7 @@ WeeChat:
| libgcrypt20-dev | | libgcrypt20-dev |
| Secured data, IRC SASL authentication. | 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). + | IRC plugin: support of TLS connections, IRC SASL authentication (ECDSA-NIST256P-CHALLENGE). +
Relay plugin: support of TLS connections. Relay plugin: support of TLS connections.
@@ -139,7 +139,10 @@ WeeChat:
[NOTE] [NOTE]
^(1)^ Name comes from the Debian GNU/Linux Bookworm distribution, version and ^(1)^ Name comes from the Debian GNU/Linux Bookworm distribution, version and
name can be different in other distributions. + 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. ECDSA-NIST256P-CHALLENGE.
The following table shows the list of packages that are optional to compile 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 | filter
| any string | any string
| Filter defined on some buffers like `/fset`, `/list` (irc), `/server raw` (irc) | Filter defined on some buffers like `/fset`, `/server raw` (irc) and `/script`.
and `/script`.
| host | host
| any string | any string
@@ -1437,21 +1439,6 @@ Options:
include::{autogendir}/autogen_user_options.en.adoc[tag=buflist_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]]
== Key bindings == Key bindings
@@ -1674,38 +1661,31 @@ text in buffer).
[[key_bindings_cursor_context]] [[key_bindings_cursor_context]]
=== Cursor context === Cursor context
These keys are used in context "cursor" (free movement of cursor on screen), These keys are used in context "cursor" (free movement of cursor on screen).
see <<cursor_mode,Cursor mode>>.
[width="100%",cols="^.^3,^.^2,.^7,.^7",options="header"] [width="100%",cols="^.^3,^.^2,.^7,.^7",options="header"]
|=== |===
| Key | Area | Description | Command | Key | Area | Description | Command
| kbd:[↑] | - | Move cursor one line up. | `+/cursor move up+` | kbd:[↑] | - | Move cursor one line up. | `+/cursor move up+`
| kbd:[↓] | - | Move cursor one line down. | `+/cursor move down+` | kbd:[↓] | - | Move cursor one line down. | `+/cursor move down+`
| kbd:[←] | - | Move cursor one column left. | `+/cursor move left+` | kbd:[←] | - | Move cursor one column left. | `+/cursor move left+`
| kbd:[→] | - | Move cursor one column right. | `+/cursor move right+` | 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 one area up. | `+/cursor move area_up+`
| kbd:[Alt+↓] | - | Move cursor to the last line of the area. | `+/cursor move edge_bottom+` | kbd:[Alt+↓] | - | Move cursor one area down. | `+/cursor move area_down+`
| kbd:[Alt+←] | - | Move cursor to the first column of the area. | `+/cursor move edge_left+` | kbd:[Alt+←] | - | Move cursor one area left. | `+/cursor move area_left+`
| kbd:[Alt+→] | - | Move cursor to the last column of the area. | `+/cursor move edge_right+` | kbd:[Alt+→] | - | Move cursor one area right. | `+/cursor move area_right+`
| kbd:[Alt+Home] | - | Move cursor to the top left corner of the area. | `+/cursor move top_left+` | kbd:[m] | chat | Quote message. | `+hsignal:chat_quote_message;/cursor stop+`
| kbd:[Alt+End] | - | Move cursor to the bottom right corner of the area. | `+/cursor move bottom_right+` | kbd:[l] | chat | Quote focused line. | `+hsignal:chat_quote_focused_line;/cursor stop+`
| kbd:[Alt+Shift+↑] | - | Move cursor one area up. | `+/cursor move area_up+` | kbd:[q] | chat | Quote prefix + message. | `+hsignal:chat_quote_prefix_message;/cursor stop+`
| kbd:[Alt+Shift+↓] | - | Move cursor one area down. | `+/cursor move area_down+` | kbd:[Q] | chat | Quote time + prefix + message. | `+hsignal:chat_quote_time_prefix_message;/cursor stop+`
| kbd:[Alt+Shift+←] | - | Move cursor one area left. | `+/cursor move area_left+` | kbd:[b] | nicklist | Ban nick. | `+/window ${_window_number};/ban ${nick}+`
| kbd:[Alt+Shift+→] | - | Move cursor one area right. | `+/cursor move area_right+` | kbd:[k] | nicklist | Kick nick. | `+/window ${_window_number};/kick ${nick}+`
| kbd:[m] | chat | Quote message. | `+hsignal:chat_quote_message;/cursor stop+` | kbd:[K] | nicklist | Kick and ban nick. | `+/window ${_window_number};/kickban ${nick}+`
| kbd:[l] | chat | Quote focused line. | `+hsignal:chat_quote_focused_line;/cursor stop+` | kbd:[q] | nicklist | Open query with nick. | `+/window ${_window_number};/query ${nick};/cursor stop+`
| kbd:[q] | chat | Quote prefix + message. | `+hsignal:chat_quote_prefix_message;/cursor stop+` | kbd:[w] | nicklist | Do a whois on nick. | `+/window ${_window_number};/whois ${nick}+`
| 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:[Enter] +
kbd:[Ctrl+j] + kbd:[Ctrl+j] +
kbd:[Ctrl+m] | - | Stop cursor mode | `/cursor stop` kbd:[Ctrl+m] | - | Stop cursor mode | `/cursor stop`
|=== |===
[[key_bindings_mouse]] [[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"] [width="100%",cols="^.^3,^.^3,^.^3,.^8,.^8",options="header"]
|=== |===
| Button/Wheel ^(1)^ | Gesture | Area | Description | Command | Button/Wheel ^(1)^ | Gesture | Area | Description | Command
| kbd:[■ □ □] | - | chat | Switch to window. | `+/window ${_window_number}+` | ◾◽◽ | - | chat | Switch to window. | `+/window ${_window_number}+`
| kbd:[■ □ □] | left | chat | Switch to previous buffer. | `+/window ${_window_number};/buffer +1+` | ◾◽◽ | left | chat | Switch to previous buffer. | `+/window ${_window_number};/buffer +1+`
| kbd:[■ □ □] | right | chat | Switch to next buffer. | `+/window ${_window_number};/buffer +1+` | ◾◽◽ | right | chat | Switch to next buffer. | `+/window ${_window_number};/buffer +1+`
| kbd:[■ □ □] | left (long) | chat | Switch to first buffer. | `+/window ${_window_number};/buffer 1+` | ◾◽◽ | left (long) | chat | Switch to first buffer. | `+/window ${_window_number};/buffer 1+`
| kbd:[■ □ □] | right (long) | chat | Switch to last buffer. | `+/window ${_window_number};/buffer ++` | ◾◽◽ | 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 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:[▼] | - | 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 left. | `+/window scroll_horiz -window ${_window_number} -10%+`
| kbd:[Ctrl+▼] | - | chat | Scroll horizontally to the right. | `+/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 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 | 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}+` | ◾◽◽ | - | chat: fset buffer | Select line in fset buffer. | `+/window ${_window_number};/fset -go ${_chat_line_y}+`
| 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+`
| 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+`
| 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+`
| kbd:[□ □ ■] | up / down | chat: fset buffer | Mark/unmark multiple options. | `+hsignal:fset_mouse+` | ◽◽◾ | 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+`
| kbd:[▲] | - | chat: script buffer | Move five lines up in script buffer. | `+/script up 5+` | 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 | Move five lines down in script buffer. | `+/script down 5+`
| 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}+`
| 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}+`
| 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+`.
| 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+`.
| 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+`.
| 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+`.
| kbd:[Ctrl+▲] | - | buflist | Switch to previous buffer. | Signal `+buflist_mouse+`. | kbd:[Ctrl+▲] | - | buflist | Switch to previous buffer. | Signal `+buflist_mouse+`.
| kbd:[Ctrl+▼] | - | buflist | Switch to next 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%+` | ◾◽◽ | 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%+` | ◾◽◽ | 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+` | ◾◽◽ | 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+` | ◾◽◽ | 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}+` | ◾◽◽ | - | nicklist | Open query with nick. | `+/window ${_window_number};/query ${nick}+`
| kbd:[□ □ ■] | - | nicklist | Do a whois on nick. | `+/window ${_window_number};/whois ${nick}+` | ◽◽◾ | - | nicklist | Do a whois on nick. | `+/window ${_window_number};/whois ${nick}+`
| kbd:[■ □ □] | left | nicklist | Kick nick. | `+/window ${_window_number};/kick ${nick}+` | ◾◽◽ | left | nicklist | Kick nick. | `+/window ${_window_number};/kick ${nick}+`
| kbd:[■ □ □] | left (long) | nicklist | Kick and ban nick. | `+/window ${_window_number};/kickban ${nick}+` | ◾◽◽ | left (long) | nicklist | Kick and ban nick. | `+/window ${_window_number};/kickban ${nick}+`
| kbd:[□ □ ■] | left | nicklist | Ban nick. | `+/window ${_window_number};/ban ${nick}+` | ◽◽◾ | 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+` | ◽◽◾ | - | 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:[▼] | - | 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] [NOTE]
^(1)^ Buttons: + ^(1)^ kbd:[▲] and kbd:[▼] are wheel up and down.
kbd:[◼ □ □]: click on left button +
kbd:[□ ◼ □]: click on middle button +
kbd:[□ □ ◼]: click on right button +
Wheel: +
kbd:[▲]: wheel up +
kbd:[▼]: wheel down
[[key_bindings_fset_buffer]] [[key_bindings_fset_buffer]]
=== 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:[F11] | `pass:[<]` | Scroll horizontally on the left. | `+/fset -left+`
| kbd:[F12] | `pass:[>]` | Scroll horizontally on the right. | `+/fset -right+` | kbd:[F12] | `pass:[>]` | Scroll horizontally on the right. | `+/fset -right+`
| kbd:[Alt+Space] | `t` | Toggle boolean value. | `+/fset -toggle+` | 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+-] | `-` | Subtract 1 from value for integer/color, 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++] | `+` | 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+r] | `r` | Reset value. | `+/fset -reset+`
| kbd:[Alt+f], kbd:[Alt+u] | `u` | Unset value. | `+/fset -unset+` | kbd:[Alt+f], kbd:[Alt+u] | `u` | Unset value. | `+/fset -unset+`
| kbd:[Alt+Enter] | `s` | Set value. | `+/fset -set+` | 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] [NOTE]
^(1)^ The action must be entered as input on the command line, followed by kbd:[Enter]. ^(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]] [[key_bindings_script_buffer]]
=== 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│ │2.fset │weechat.look.bare_display_exit_on_input: exit the bare display mode on any c│
│ │hanges in input [default: on] │ │ │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.align_multiline_words boolean on │
│ │ weechat.look.bar_more_down string "++" │ │ │ weechat.look.bar_more_down string "++" │
│ │ weechat.look.bar_more_left 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_exit_on_input boolean on ##│
│ │ weechat.look.bare_display_time_format string "%H:%M" │ │ │ weechat.look.bare_display_time_format string "%H:%M" │
│ │ weechat.look.buffer_auto_renumber boolean on │ │ │ weechat.look.buffer_auto_renumber boolean on │
│ │ weechat.look.buffer_notify_default enum all │ │ │ weechat.look.buffer_notify_default integer all │
│ │ weechat.look.buffer_position enum end │ │ │ weechat.look.buffer_position integer end │
│ │ weechat.look.buffer_search_case_sensitive boolean off │ │ │ weechat.look.buffer_search_case_sensitive boolean off │
│ │ weechat.look.buffer_search_force_default boolean off │ │ │ weechat.look.buffer_search_force_default boolean off │
│ │ weechat.look.buffer_search_regex 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_format string "%H:%M:%S" │
│ │ weechat.look.buffer_time_same string "" │ │ │ weechat.look.buffer_time_same string "" │
│ │[12:55] [2] [fset] 2:fset │ │ │[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 integer null -> 0
irc.server.libera.away_check_max_nicks integer null -> 25 irc.server.libera.away_check_max_nicks integer null -> 25
irc.server.libera.capabilities string null -> "*" 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 string null -> ""
irc.server.libera.command_delay integer null -> 0 irc.server.libera.command_delay integer null -> 0
irc.server.libera.connection_timeout integer null -> 60 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.password string null -> ""
irc.server.libera.proxy string null -> "" irc.server.libera.proxy string null -> ""
irc.server.libera.realname 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_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_password string "${sec.data.libera}"
irc.server.libera.sasl_timeout integer null -> 15 irc.server.libera.sasl_timeout integer null -> 15
irc.server.libera.sasl_username string "alice" irc.server.libera.sasl_username string "alice"
@@ -4055,7 +3992,7 @@ reply).
For example, to customize reply to CTCP "VERSION", use following command: 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] [NOTE]
@@ -4080,7 +4017,7 @@ It is possible to customize CTCP for one server only, using its internal name
before CTCP 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: 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 /unset irc.ctcp.version
---- ----
The CTCP replies are evaluated (see command <<command_weechat_eval,/eval>>) and Following codes can be used in strings and are automatically expanded by WeeChat
the following extra variables are available: when replying to CTCP:
[width="100%",cols="2,4,8",options="header"] [width="100%",cols="2l,4,8",options="header"]
|=== |===
| Variable | Description | Value/example | Code | Description | Value/example
| `+${clientinfo}+` | List of supported CTCP | `+ACTION DCC CLIENTINFO FINGER PING SOURCE TIME USERINFO VERSION+` | $clientinfo | List of supported CTCP | `+ACTION DCC CLIENTINFO FINGER PING SOURCE TIME USERINFO VERSION+`
| `+${version}+` | WeeChat version | `+4.1.0-dev+` | $version | WeeChat version | `+0.4.0-dev+`
| `+${versiongit}+` | WeeChat version + Git version ^(1)^ | `+4.1.0-dev (git: v4.0.0-51-g8f98b922a)+` | $versiongit | WeeChat version + Git version ^(1)^ | `+0.4.0-dev (git: v0.3.9-104-g7eb5cc4)+`
| `+${git}+` | Git version ^(1)^ | `+v4.0.0-51-g8f98b922a+` | $git | Git version ^(1)^ | `+v0.3.9-104-g7eb5cc4+`
| `+${compilation}+` | WeeChat compilation date | `+Jul 8 2023 20:14:23+` | $compilation | WeeChat compilation date | `+Dec 16 2012+`
| `+${osinfo}+` | Info about OS | `+Linux 5.10.0-23-amd64 / x86_64+` | $osinfo | Info about OS | `+Linux 2.6.32-5-amd64 / x86_64+`
| `+${site}+` | WeeChat site | `+https://weechat.org/+` | $site | WeeChat site | `+https://weechat.org/+`
| `+${download}+` | WeeChat site, download page | `+https://weechat.org/download/+` | $download | WeeChat site, download page | `+https://weechat.org/download/+`
| `+${time}+` | Current date/time | `+Sat, 08 Jul 2023 21:11:19 +0200+` | $time | Current date/time | `+Sun, 16 Dec 2012 10:40:48 +0100+`
| `+${username}+` | User name on IRC server | `+name+` | $username | User name on IRC server | `+name+`
| `+${realname}+` | Real name on IRC server | `+John Doe+` | $realname | Real name on IRC server | `+John Doe+`
|=== |===
[NOTE] [NOTE]
^(1)^ The Git version is the output of command `git describe`. It is known only ^(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. 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"] [width="100%",cols="2,4,8",options="header"]
|=== |===
| CTCP | Reply format | Example | CTCP | Reply format | Example
| CLIENTINFO | `+${clientinfo}+` | `+ACTION DCC CLIENTINFO FINGER PING SOURCE TIME USERINFO VERSION+` | CLIENTINFO | `+$clientinfo+` | `+ACTION DCC CLIENTINFO FINGER PING SOURCE TIME USERINFO VERSION+`
| FINGER | `+WeeChat ${version}+` | `+WeeChat 4.1.0-dev+` | FINGER | `+WeeChat $versiongit+` | `+WeeChat 0.4.0-dev (git: v0.3.9-104-g7eb5cc4)+`
| SOURCE | `+${download}+` | `+https://weechat.org/download/+` | SOURCE | `+$download+` | `+https://weechat.org/download/+`
| TIME | `+${time}+` | `+Sat, 08 Jul 2023 21:11:19 +0200+` | TIME | `+$time+` | `+Sun, 16 Dec 2012 10:40:48 +0100+`
| USERINFO | `+${username} (${realname})+` | `+name (John Doe)+` | USERINFO | `+$username ($realname)+` | `+name (John Doe)+`
| VERSION | `+WeeChat ${version}+` | `+WeeChat 4.1.0-dev+` | VERSION | `+WeeChat $versiongit ($compilation)+` | `+WeeChat 0.4.0-dev (git: v0.3.9-104-g7eb5cc4) (Dec 16 2012)+`
|=== |===
[[irc_target_buffer]] [[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" /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]] [[global_history]]
=== ¿Cómo utilizar el historial global (en vez del historial del buffer) con las teclas de las flechas arriba y abajo? === ¿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: 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`.
* 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]).
* Elimine que se muestren los segundos en la hora de la barra de estado: * 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). `+/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): * 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.clientinfo ""
/set irc.ctcp.finger ""
/set irc.ctcp.source "" /set irc.ctcp.source ""
/set irc.ctcp.time "" /set irc.ctcp.time ""
/set irc.ctcp.userinfo ""
/set irc.ctcp.version "" /set irc.ctcp.version ""
/set irc.ctcp.ping "" /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): 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-info.c | Info/infolists/hdata pour IRC.
|       irc-input.c | Entrée de commandes/texte. |       irc-input.c | Entrée de commandes/texte.
|       irc-join.c | Fonctions pour les listes de canaux à rejoindre. |       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-message.c | Fonctions pour manipuler les messages IRC.
|       irc-mode.c | Fonctions pour les modes de canal/pseudo. |       irc-mode.c | Fonctions pour les modes de canal/pseudo.
|       irc-modelist.c | Listes de modes de canaux IRC (+b, +e, +I, ...). |       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-channel.cpp | Tests : canaux IRC.
|             test-irc-color.cpp | Tests : couleurs IRC. |             test-irc-color.cpp | Tests : couleurs IRC.
|             test-irc-config.cpp | Tests : configuration IRC. |             test-irc-config.cpp | Tests : configuration IRC.
|             test-irc-ctcp.cpp | Tests : CTCP IRC.
|             test-irc-ignore.cpp | Tests : ignores IRC. |             test-irc-ignore.cpp | Tests : ignores IRC.
|             test-irc-join.cpp | Tests : fonctions de join 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-message.cpp | Tests : messages IRC.
|             test-irc-mode.cpp | Tests : modes IRC. |             test-irc-mode.cpp | Tests : modes IRC.
|             test-irc-nick.cpp | Tests : pseudos 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" /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]] [[global_history]]
=== Comment utiliser l'historique global (au lieu de l'historique du tampon) avec les touches haut et bas ? === 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 Vous pouvez suivre les mêmes astuces que pour la <<memory_usage,mémoire>>, et
celles-ci : celles-ci :
* Cacher la barre "nicklist" : `/bar hide nicklist` (touche : kbd:[Alt+Shift+N]). * Cacher la barre "nicklist" : `/bar hide nicklist`.
* Désactiver "buflist" : `/buflist disable` (touche : kbd:[Alt+Shift+B]).
* Supprimer l'affichage des secondes dans l'heure de la barre de statut : * 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). `+/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 * 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.clientinfo ""
/set irc.ctcp.finger ""
/set irc.ctcp.source "" /set irc.ctcp.source ""
/set irc.ctcp.time "" /set irc.ctcp.time ""
/set irc.ctcp.userinfo ""
/set irc.ctcp.version "" /set irc.ctcp.version ""
/set irc.ctcp.ping "" /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" Déchargez et désactivez le chargement automatique de l'extension "xfer"
(utilisée pour le DCC IRC) : (utilisée pour le DCC IRC) :
+66 -174
View File
@@ -6995,7 +6995,7 @@ section = weechat.config_search_section(config_file, "section")
==== config_new_option ==== 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. Créer une nouvelle option dans une section d'un fichier de configuration.
@@ -7043,14 +7043,12 @@ Paramètres :
"name << file.section.option" "name << file.section.option"
* _type_ : type de l'option : * _type_ : type de l'option :
** _boolean_ : valeur booléenne (on/off) ** _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 ** _string_ : une chaîne de caractères
** _color_ : une couleur ** _color_ : une couleur
** _enum_ : liste de valeurs sous forme de chaînes (stocké comme nombre entier
en interne)
* _description_ : description de l'option * _description_ : description de l'option
* _string_values_ : valeurs sous forme de chaîne (séparées par `+|+`) (optionnel, * _string_values_ : valeurs sous forme de chaîne (séparées par `+|+`), utilisées
requis pour le type _enum_) pour le type _integer_ (optionnel)
* _min_ : valeur minimum (pour le type _integer_) * _min_ : valeur minimum (pour le type _integer_)
* _max_ : valeur maximum (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 * _default_value_ : valeur par défaut de l'option (utilisée quand l'option est
@@ -7105,8 +7103,8 @@ Exemple en C :
[source,c] [source,c]
---- ----
/* booléen */ /* booléen */
struct t_config_option *option1_bool = struct t_config_option *option1 =
weechat_config_new_option (config_file, section, "option_bool", "boolean", weechat_config_new_option (config_file, section, "option1", "boolean",
"Mon option, type booléen", "Mon option, type booléen",
NULL, NULL,
0, 0, 0, 0,
@@ -7118,8 +7116,8 @@ struct t_config_option *option1_bool =
NULL, NULL, NULL); NULL, NULL, NULL);
/* entier */ /* entier */
struct t_config_option *option_int = struct t_config_option *option2 =
weechat_config_new_option (config_file, section, "option_int", "integer", weechat_config_new_option (config_file, section, "option2", "integer",
"Mon option, type entier", "Mon option, type entier",
NULL, NULL,
0, 100, 0, 100,
@@ -7130,9 +7128,23 @@ struct t_config_option *option_int =
NULL, NULL, NULL, NULL, NULL, NULL,
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 */ /* chaîne */
struct t_config_option *option_str = struct t_config_option *option4 =
weechat_config_new_option (config_file, section, "option_str", "string", weechat_config_new_option (config_file, section, "option4", "string",
"Mon option, type chaîne", "Mon option, type chaîne",
NULL, NULL,
0, 0, 0, 0,
@@ -7144,8 +7156,8 @@ struct t_config_option *option_str =
NULL, NULL, NULL); NULL, NULL, NULL);
/* couleur */ /* couleur */
struct t_config_option *option_col = struct t_config_option *option5 =
weechat_config_new_option (config_file, section, "option_col", "color", weechat_config_new_option (config_file, section, "option5", "color",
"Mon option, type couleur", "Mon option, type couleur",
NULL, NULL,
0, 0, 0, 0,
@@ -7155,19 +7167,6 @@ struct t_config_option *option_col =
NULL, NULL, NULL, NULL, NULL, NULL,
NULL, NULL, NULL, 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) : Script (Python) :
@@ -7183,49 +7182,49 @@ def config_new_option(config_file: str, section: str, name: str, type: str, desc
callback_delete: str, callback_delete_data: str) -> str: ... callback_delete: str, callback_delete_data: str) -> str: ...
# exemple # 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 1
# return 0 # 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", "Mon option, type booléen",
"", 0, 0, "on", "on", 0, "", 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", "Mon option, type entier",
"", 0, 100, "15", "15", 0, "", 0, 100, "15", "15", 0,
"", "", "", "",
"", "", "", "",
"", "") "", "")
option_str = weechat.config_new_option(config_file, section, "option_str", "string", option3 = weechat.config_new_option(config_file, section, "option3", "integer",
"Mon option, type chaîne", "Mon option, type entier (avec valeurs sous forme de chaînes)",
"", 0, 0, "test", "test", 1, "top|bottom|left|right",
"option_str_check_value_cb", "", 0, 0, "bottom", "bottom", 0,
"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,
"", "", "", "",
"", "", "", "",
"", "") "", "")
option_enum = weechat.config_new_option(config_file, section, "option_enum", "enum", option4 = weechat.config_new_option(config_file, section, "option4", "string",
"Mon option, type énuméré", "Mon option, type chaîne",
"top|bottom|left|right", "", 0, 0, "test", "test", 1,
0, 0, "bottom", "bottom", 0, "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 +7512,7 @@ Paramètres :
selon le type de l'option : selon le type de l'option :
** _boolean_ : ** _boolean_ :
*** `toggle` : basculer la valeur courante *** `toggle` : basculer la valeur courante
** _integer_, _color_ ou _enum_ : ** _integer_ ou _color_ :
*** `++N` : ajouter `N` (un entier) à la valeur courante *** `++N` : ajouter `N` (un entier) à la valeur courante
*** `--N` : soustraire `N` (un entier) de 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 * _run_callback_ : 1 pour appeler la fonction de rappel si la valeur de
@@ -7749,7 +7748,6 @@ Paramètres :
*** _integer_ *** _integer_
*** _string_ *** _string_
*** _color_ *** _color_
*** _enum_
** _description_ : description de l'option ** _description_ : description de l'option
Valeur de retour : Valeur de retour :
@@ -7926,7 +7924,6 @@ Valeur de retour, selon le type de l'option :
* _integer_ : 0 * _integer_ : 0
* _string_ : 0 * _string_ : 0
* _color_ : 0 * _color_ : 0
* _enum_ : 0
Exemple en C : Exemple en C :
@@ -7977,7 +7974,6 @@ Valeur de retour, selon le type de l'option :
* _integer_ : 0 * _integer_ : 0
* _string_ : 0 * _string_ : 0
* _color_ : 0 * _color_ : 0
* _enum_ : 0
Exemple en C : Exemple en C :
@@ -8028,7 +8024,6 @@ Valeur de retour, selon le type de l'option :
* _integer_ : valeur entière de l'option * _integer_ : valeur entière de l'option
* _string_ : 0 * _string_ : 0
* _color_ : index de la couleur * _color_ : index de la couleur
* _enum_ : valeur entière de l'option (index de la valeur de l'énuméré)
Exemple en C : Exemple en C :
@@ -8071,7 +8066,6 @@ Valeur de retour, selon le type de l'option :
* _integer_ : valeur entière par défaut de l'option * _integer_ : valeur entière par défaut de l'option
* _string_ : 0 * _string_ : 0
* _color_ : index de la couleur par défaut * _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 : Exemple en C :
@@ -8111,10 +8105,10 @@ Paramètres :
Valeur de retour, selon le type de l'option : Valeur de retour, selon le type de l'option :
* _boolean_ : "on" si la valeur est vraie, sinon "off" * _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 * _string_ : valeur de l'option sous forme de chaîne
* _color_ : nom de la couleur * _color_ : nom de la couleur
* _enum_ : valeur de l'option sous forme de chaîne
Exemple en C : Exemple en C :
@@ -8154,10 +8148,10 @@ Paramètres :
Valeur de retour, selon le type de l'option : Valeur de retour, selon le type de l'option :
* _boolean_ : "on" si la valeur par défaut est vraie, sinon "off" * _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 * _string_ : valeur par défaut de l'option sous forme de chaîne
* _color_ : nom de la couleur par défaut * _color_ : nom de la couleur par défaut
* _enum_ : valeur par défaut de l'option sous forme de chaîne
Exemple en C : Exemple en C :
@@ -8200,7 +8194,6 @@ Valeur de retour, selon le type de l'option :
* _integer_ : NULL * _integer_ : NULL
* _string_ : NULL * _string_ : NULL
* _color_ : nom de la couleur * _color_ : nom de la couleur
* _enum_ : NULL
Exemple en C : Exemple en C :
@@ -8243,7 +8236,6 @@ Valeur de retour, selon le type de l'option :
* _integer_ : NULL * _integer_ : NULL
* _string_ : NULL * _string_ : NULL
* _color_ : nom de la couleur par défaut * _color_ : nom de la couleur par défaut
* _enum_ : NULL
Exemple en C : Exemple en C :
@@ -8265,96 +8257,6 @@ option = weechat.config_get("plugin.section.option")
value = weechat.config_color_default(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 ==== config_write_option
Écrire une ligne dans le fichier de configuration avec l'option et sa valeur Écrire une ligne dans le fichier de configuration avec l'option et sa valeur
@@ -10831,7 +10733,7 @@ hook = weechat.hook_connect("", "my.server.org", 1234, 1, 0, "",
==== hook_line ==== 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. Intercepter une ligne sur le point d'être affichée dans un tampon.
@@ -10909,13 +10811,13 @@ de hachage, avec les valeurs suivantes (les clés et valeurs sont des chaînes)
| Clé | Valeur (tampon formaté) | Valeur (tampon libre) | Exemples | Clé | Valeur (tampon formaté) | Valeur (tampon libre) | Exemples
| buffer | buffer
| Liste de pointeurs vers les tampons, séparés par des virgules. | Pointeur vers le tampon.
| Liste de pointeurs vers les tampons, séparés par des virgules. | Pointeur vers le tampon.
| `+0x1234abcd+` | `+0x1234abcd+`
| buffer_name | buffer_name
| Liste de noms de tampons, séparés par des virgules. | Nom du tampon.
| Liste de noms de tampons, séparés par des virgules. | Nom du tampon.
| `+core.weechat+` + | `+core.weechat+` +
`+irc.server.libera+` + `+irc.server.libera+` +
`+irc.libera.#weechat+` `+irc.libera.#weechat+`
@@ -11004,20 +10906,16 @@ valeurs sont des chaînes dans cette table de hachage) :
| Clé | Valeur autorisée (tampon formaté) | Valeur autorisée (tampon libre) | Résultat | Clé | Valeur autorisée (tampon formaté) | Valeur autorisée (tampon libre) | Résultat
| buffer | buffer
| Liste de pointeurs vers les tampons, séparés par des virgules (avec contenu formaté) | Pointeur vers un tampon avec contenu formaté.
(plusieurs tampons sont supportés seulement avec WeeChat ≥ 4.1.0). | Pointeur vers un tampon avec contenu libre.
| Liste de pointeurs vers les tampons, séparés par des virgules (avec contenu libre) | La ligne est affichée sur ce tampon. +
(plusieurs tampons sont supportés seulement avec WeeChat ≥ 4.1.0).
| La ligne est affichée sur ces tampons. +
Si la valeur est vide, la ligne est supprimée (le reste de la table de hachage 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. est alors ignoré) ; les "hooks" suivants de type "line" ne sont pas appelés.
| buffer_name | buffer_name
| Liste de noms de tampons, séparés par des virgules (avec contenu formaté) | Nom d'un tampon avec contenu formaté.
(multiple buffers are supported only with WeeChat ≥ 4.1.0). | Nom d'un tampon avec contenu libre.
| Liste de noms de tampons, séparés par des virgules (avec contenu libre) | La ligne est affichée sur ce tampon. +
(multiple buffers are supported only with WeeChat ≥ 4.1.0).
| La ligne est affichée sur ces tampons. +
Si `buffer` est également défini, la valeur de `+buffer_name+` a une priorité Si `buffer` est également défini, la valeur de `+buffer_name+` a une priorité
plus haute est est utilisée. + plus haute est est utilisée. +
Si la valeur est vide, la ligne est supprimée (le reste de la table de hachage Si la valeur est vide, la ligne est supprimée (le reste de la table de hachage
@@ -13294,7 +13192,7 @@ Cette fonction n'est pas disponible dans l'API script.
==== hook_focus ==== 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 Accrocher un focus : évènement souris ou touche du clavier pressée dans le mode
"curseur" (mouvement libre du curseur). "curseur" (mouvement libre du curseur).
@@ -13414,22 +13312,16 @@ valeurs sont de type "string") :
| _chat_line_message | Message de la ligne. | _chat_line_message | Message de la ligne.
| "Hello world!" | "" | "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!" | "" | "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). | _chat_word | Mot à la position (x,y).
| "Hello" | "" | "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" | "" | "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!" | "" | "llo world!" | ""
| _bar_name | Nom de la barre. | _bar_name | Nom de la barre.
@@ -18057,7 +17949,7 @@ Paramètres :
Valeur de retour : 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 : Exemple en C :
+105 -168
View File
@@ -113,7 +113,7 @@ Le tableau suivant liste les paquets *requis* pour construire WeeChat :
| pkg-config | | pkg-config |
| Détection des bibliothèques installées. | Détection des bibliothèques installées.
| libncurses-dev | | libncursesw5-dev ^(2)^ |
| Interface ncurses. | Interface ncurses.
| libcurl4-gnutls-dev | | libcurl4-gnutls-dev |
@@ -122,7 +122,7 @@ Le tableau suivant liste les paquets *requis* pour construire WeeChat :
| libgcrypt20-dev | | libgcrypt20-dev |
| Données sécurisées, authentification IRC SASL. | 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 IRC : support des connexions TLS, authentification IRC SASL (ECDSA-NIST256P-CHALLENGE). +
Extension Relay : support des connexions TLS. Extension Relay : support des connexions TLS.
@@ -138,8 +138,12 @@ Le tableau suivant liste les paquets *requis* pour construire WeeChat :
[NOTE] [NOTE]
^(1)^ Le nom provient de la distribution GNU/Linux Debian Bookworm, la version ^(1)^ Le nom provient de la distribution GNU/Linux Debian Bookworm, la version
et le nom peuvent être différents dans les autres distributions. + 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 ^(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. ECDSA-NIST256P-CHALLENGE.
Le tableau suivant liste les paquets optionnels pour compiler WeeChat : 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 | filter
| toute chaîne | toute chaîne
| Filtre défini sur certains tampons comme `/fset`, `/list` (irc), | Filtre défini sur certains tampons comme `/fset`, `/server raw` (irc) et
`/server raw` (irc) et `/script`. `/script`.
| host | host
| toute chaîne | toute chaîne
@@ -1469,23 +1473,6 @@ Options :
include::{autogendir}/autogen_user_options.fr.adoc[tag=buflist_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]] [[key_bindings]]
== Raccourcis clavier == Raccourcis clavier
@@ -1711,37 +1698,31 @@ pressé pour chercher du texte dans le tampon).
=== Contexte curseur === Contexte curseur
Ces touches sont utilisées dans le contexte "cursor" (mouvement libre du 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"] [width="100%",cols="^.^3,^.^2,.^7,.^7",options="header"]
|=== |===
| Touche | Zone | Description | Commande | 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 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 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 gauche. | `+/cursor move left+`
| kbd:[→] | - | Déplacer le curseur d'une colonne vers la droite. | `+/cursor move right+` | 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 zone au dessus. | `+/cursor move area_up+`
| 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 zone en dessous. | `+/cursor move area_down+`
| 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 zone sur la gauche. | `+/cursor move area_left+`
| kbd:[Alt+→] | - | Déplacer le curseur vers la dernière colonne de la zone. | `+/cursor move edge_right+` | kbd:[Alt+→] | - | Déplacer le curseur vers la zone sur la droite. | `+/cursor move area_right+`
| kbd:[Alt+Home] | - | Déplacer le curseur vers le coin supérieur gauche de la zone. | `+/cursor move top_left+` | kbd:[m] | chat | Citer le message. | `+hsignal:chat_quote_message;/cursor stop+`
| kbd:[Alt+End] | - | Déplacer le curseur vers la coin inférieur droit de la zone. | `+/cursor move bottom_right+` | kbd:[l] | chat | Citer la ligne ciblée. | `+hsignal:chat_quote_focused_line;/cursor stop+`
| kbd:[Alt+Shift+↑] | - | Déplacer le curseur vers la zone au dessus. | `+/cursor move area_up+` | kbd:[q] | chat | Citer le préfixe + le message. | `+hsignal:chat_quote_prefix_message;/cursor stop+`
| kbd:[Alt+Shift+↓] | - | Déplacer le curseur vers la zone en dessous. | `+/cursor move area_down+` | kbd:[Q] | chat | Citer l'heure + le préfixe + le message. | `+hsignal:chat_quote_time_prefix_message;/cursor stop+`
| kbd:[Alt+Shift+←] | - | Déplacer le curseur vers la zone sur la gauche. | `+/cursor move area_left+` | kbd:[b] | liste des pseudos | Bannir le pseudo. | `+/window ${_window_number};/ban ${nick}+`
| kbd:[Alt+Shift+→] | - | Déplacer le curseur vers la zone sur la droite. | `+/cursor move area_right+` | kbd:[k] | liste des pseudos | Retirer par la force le pseudo. | `+/window ${_window_number};/kick ${nick}+`
| kbd:[m] | chat | Citer le message. | `+hsignal:chat_quote_message;/cursor stop+` | kbd:[K] | liste des pseudos | Retirer par la force et bannir le pseudo. | `+/window ${_window_number};/kickban ${nick}+`
| kbd:[l] | chat | Citer la ligne ciblée. | `+hsignal:chat_quote_focused_line;/cursor stop+` | kbd:[q] | liste des pseudos | Ouvrir une discussion avec le pseudo. | `+/window ${_window_number};/query ${nick};/cursor stop+`
| kbd:[q] | chat | Citer le préfixe + le message. | `+hsignal:chat_quote_prefix_message;/cursor stop+` | kbd:[w] | liste des pseudos | Effectuer un whois sur le pseudo. | `+/window ${_window_number};/whois ${nick}+`
| 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:[Enter] +
kbd:[Ctrl+j] + 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]] [[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"] [width="100%",cols="^.^3,^.^3,^.^3,.^8,.^8",options="header"]
|=== |===
| Bouton/Roulette ^(1)^ | Geste | Zone | Description | Commande | Bouton/Roulette ^(1)^ | Geste | Zone | Description | Commande
| kbd:[■ □ □] | - | chat | Aller à la fenêtre. | `+/window ${_window_number}+` | ◾◽◽ | - | chat | Aller à la fenêtre. | `+/window ${_window_number}+`
| kbd:[■ □ □] | gauche | chat | Aller au tampon précédent. | `+/window ${_window_number};/buffer +1+` | ◾◽◽ | left | chat | Aller au tampon précédent. | `+/window ${_window_number};/buffer +1+`
| kbd:[■ □ □] | droit | chat | Aller au tampon suivant. | `+/window ${_window_number};/buffer +1+` | ◾◽◽ | right | chat | Aller au tampon suivant. | `+/window ${_window_number};/buffer +1+`
| kbd:[■ □ □] | gauche (long) | chat | Aller au premier tampon. | `+/window ${_window_number};/buffer 1+` | ◾◽◽ | left (long) | chat | Aller au premier tampon. | `+/window ${_window_number};/buffer 1+`
| kbd:[■ □ □] | droit (long) | chat | Aller au dernier tampon. | `+/window ${_window_number};/buffer ++` | ◾◽◽ | 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 | 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:[▼] | - | 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 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:[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 | 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 | 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}+` | ◾◽◽ | - | chat : tampon fset | Sélectionner la ligne dans le tampon fset. | `+/window ${_window_number};/fset -go ${_chat_line_y}+`
| kbd:[□ □ ■] | - | chat : tampon fset | Basculer le booléen (on/off) ou éditer la valeur de l'option. | `+hsignal:fset_mouse+` | ◽◽◾ | - | 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+` | ◽◽◾ | 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+`
| 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+` | ◽◽◾ | right | chat : tampon fset | Incrémenter la valeur de l'entier/couleur, 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+` | ◽◽◾ | up / down | 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 script | Monter de 5 lignes dans le tampon script. | `+/script up 5+`
| kbd:[▼] | - | chat : tampon /list | Descendre de cinq lignes dans le tampon /list. | `+/list -down 5+` | kbd:[▼] | - | chat : tampon script | Descendre de 5 lignes dans le tampon script. | `+/script down 5+`
| kbd:[■ □ □] | - | chat : tampon /list | Sélectionner la ligne dans le tampon /list. | `+/window ${_window_number};/list -go ${_chat_line_y}+` | ◾◽◽ | - | chat : tampon script | Sélectionner la ligne dans le tampon script. | `+/script go ${_chat_line_y}+`
| kbd:[□ □ ■] | - | chat : tampon /list | Rejoindre le canal IRC sur la ligne sélectionnée. | `+hsignal:irc_list_mouse+` | ◽◽◾ | - | chat : tampon script | Installer/supprimer un script. | `+/script go ${_chat_line_y};/script installremove -q ${script_name_with_extension}+`
| kbd:[▲] | - | chat : tampon script | Monter de 5 lignes dans le tampon script. | `+/script up 5+` | ◾◽◽ | up / left | buflist | Déplacer le tampon vers un numéro inférieur. | Signal `+buflist_mouse+`.
| kbd:[▼] | - | chat : tampon script | Descendre de 5 lignes dans le tampon script. | `+/script down 5+` | ◾◽◽ | down / right | buflist | Déplacer le tampon vers un numéro supérieur. | Signal `+buflist_mouse+`.
| kbd:[■ □ □] | - | chat : tampon script | Sélectionner la ligne dans le tampon script. | `+/script go ${_chat_line_y}+` | ◾◽◽ | - | 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:[□ □ ■] | - | chat : tampon script | Installer/supprimer un script. | `+/script go ${_chat_line_y};/script installremove -q ${script_name_with_extension}+` | ◽◽◾ | - | buflist | Aller au tampon suivant dans la liste des tampons visités si le tampon est le courant. | Signal `+buflist_mouse+`.
| kbd:[■ □ □] | haut / gauche | buflist | Déplacer le tampon vers un numéro inférieur. | Signal `+buflist_mouse+`. | kbd:[Ctrl+▲] | - | buflist | Aller au tampon précédent. | Signal `+buflist_mouse+`.
| kbd:[■ □ □] | bas / droit | buflist | Déplacer le tampon vers un numéro supérieur. | Signal `+buflist_mouse+`. | kbd:[Ctrl+▼] | - | buflist | Aller au tampon suivant. | 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+`. | ◾◽◽ | up | liste des pseudos | Monter d'une page dans la liste des pseudos. | `+/bar scroll nicklist ${_window_number} -100%+`
| kbd:[□ □ ■] | - | buflist | Aller au tampon suivant dans la liste des tampons visités si le tampon est le courant. | Signal `+buflist_mouse+`. | ◾◽◽ | down | liste des pseudos | Descendre d'une page dans la liste des pseudos. | `+/bar scroll nicklist ${_window_number} +100%+`
| kbd:[Ctrl+▲] | - | buflist | Aller au tampon précédent. | Signal `+buflist_mouse+`. | ◾◽◽ | up (long) | liste des pseudos | Aller au début de la liste des pseudos. | `+/bar scroll nicklist ${_window_number} b+`
| kbd:[Ctrl+▼] | - | buflist | Aller au tampon suivant. | Signal `+buflist_mouse+`. | ◾◽◽ | down (long) | liste des pseudos | Aller à la fin de la liste des pseudos. | `+/bar scroll nicklist ${_window_number} e+`
| kbd:[■ □ □] | haut | liste des pseudos | Monter d'une page dans la liste des pseudos. | `+/bar scroll nicklist ${_window_number} -100%+` | ◾◽◽ | - | liste des pseudos | Ouvrir une discussion avec le pseudo. | `+/window ${_window_number};/query ${nick}+`
| kbd:[■ □ □] | bas | liste des pseudos | Descendre d'une page dans la liste des pseudos. | `+/bar scroll nicklist ${_window_number} +100%+` | ◽◽◾ | - | liste des pseudos | Effectuer un whois sur le pseudo. | `+/window ${_window_number};/whois ${nick}+`
| kbd:[■ □ □] | haut (long) | liste des pseudos | Aller au début de la liste des pseudos. | `+/bar scroll nicklist ${_window_number} b+` | ◾◽◽ | left | liste des pseudos | Retirer par la force le pseudo. | `+/window ${_window_number};/kick ${nick}+`
| kbd:[■ □ □] | bas (long) | liste des pseudos | Aller à la fin de la liste des pseudos. | `+/bar scroll nicklist ${_window_number} e+` | ◾◽◽ | left (long) | liste des pseudos | Retirer par la force et bannir le pseudo. | `+/window ${_window_number};/kickban ${nick}+`
| kbd:[■ □ □] | - | liste des pseudos | Ouvrir une discussion avec le pseudo. | `+/window ${_window_number};/query ${nick}+` | ◽◽◾ | left | liste des pseudos | Bannir le pseudo. | `+/window ${_window_number};/ban ${nick}+`
| kbd:[□ □ ■] | - | liste des pseudos | Effectuer un whois sur le pseudo. | `+/window ${_window_number};/whois ${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:[■ □ □] | gauche | liste des pseudos | Retirer par la force le pseudo. | `+/window ${_window_number};/kick ${nick}+` | kbd:[▲] | - | toute barre | Faire défiler la barre de -20%. | `+/bar scroll ${_bar_name} ${_window_number} -20%+`
| kbd:[■ □ □] | gauche (long) | liste des pseudos | Retirer par la force et bannir le pseudo. | `+/window ${_window_number};/kickban ${nick}+` | kbd:[▼] | - | toute barre | Faire défiler la barre de +20%. | `+/bar scroll ${_bar_name} ${_window_number} +20%+`
| kbd:[□ □ ■] | gauche | liste des pseudos | Bannir le pseudo. | `+/window ${_window_number};/ban ${nick}+` | ◽◾◽ | - | n'importe où | Démarrer le mode curseur ("cursor") à ce point. | `+/cursor go ${_x},${_y}+`
| 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}+`
|=== |===
[NOTE] [NOTE]
^(1)^ Boutons : + ^(1)^ kbd:[▲] et kbd:[▼] sont la roulette vers le haut et le bas.
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
[[key_bindings_fset_buffer]] [[key_bindings_fset_buffer]]
=== Tampon fset === 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:[F11] | `pass:[<]` | Faire défiler horizontalement vers la gauche. | `+/fset -left+`
| kbd:[F12] | `pass:[>]` | Faire défiler horizontalement vers la droite. | `+/fset -right+` | 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+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+-] | `-` | 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/énuméré, ajouter à 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+r] | `r` | Réinitialiser la valeur. | `+/fset -reset+`
| kbd:[Alt+f], kbd:[Alt+u] | `u` | Supprimer/réinitialiser la valeur. | `+/fset -unset+` | kbd:[Alt+f], kbd:[Alt+u] | `u` | Supprimer/réinitialiser la valeur. | `+/fset -unset+`
| kbd:[Alt+Enter] | `s` | Définir la valeur. | `+/fset -set+` | 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] [NOTE]
^(1)^ L'action doit être tapée comme entrée dans la ligne de commande, suivie de kbd:[Enter]. ^(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]] [[key_bindings_script_buffer]]
=== Tampon script === 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│ │2.fset │weechat.look.bare_display_exit_on_input: exit the bare display mode on any c│
│ │hanges in input [default: on] │ │ │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.align_multiline_words boolean on │
│ │ weechat.look.bar_more_down string "++" │ │ │ weechat.look.bar_more_down string "++" │
│ │ weechat.look.bar_more_left 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_exit_on_input boolean on ##│
│ │ weechat.look.bare_display_time_format string "%H:%M" │ │ │ weechat.look.bare_display_time_format string "%H:%M" │
│ │ weechat.look.buffer_auto_renumber boolean on │ │ │ weechat.look.buffer_auto_renumber boolean on │
│ │ weechat.look.buffer_notify_default enum all │ │ │ weechat.look.buffer_notify_default integer all │
│ │ weechat.look.buffer_position enum end │ │ │ weechat.look.buffer_position integer end │
│ │ weechat.look.buffer_search_case_sensitive boolean off │ │ │ weechat.look.buffer_search_case_sensitive boolean off │
│ │ weechat.look.buffer_search_force_default boolean off │ │ │ weechat.look.buffer_search_force_default boolean off │
│ │ weechat.look.buffer_search_regex 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_format string "%H:%M:%S" │
│ │ weechat.look.buffer_time_same string "" │ │ │ weechat.look.buffer_time_same string "" │
│ │[12:55] [2] [fset] 2:fset │ │ │[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 integer null -> 0
irc.server.libera.away_check_max_nicks integer null -> 25 irc.server.libera.away_check_max_nicks integer null -> 25
irc.server.libera.capabilities string null -> "*" 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 string null -> ""
irc.server.libera.command_delay integer null -> 0 irc.server.libera.command_delay integer null -> 0
irc.server.libera.connection_timeout integer null -> 60 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.password string null -> ""
irc.server.libera.proxy string null -> "" irc.server.libera.proxy string null -> ""
irc.server.libera.realname 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_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_password string "${sec.data.libera}"
irc.server.libera.sasl_timeout integer null -> 15 irc.server.libera.sasl_timeout integer null -> 15
irc.server.libera.sasl_username string "alice" 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 : 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] [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 : 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 : 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 /unset irc.ctcp.version
---- ----
Les réponses CTCP sont évaluées (voir la commande <<command_weechat_eval,/eval>>) Les codes suivants peuvent être utilisés dans les chaînes et sont
et les variables supplémentaires suivantes sont disponibles : 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 | Code | Description | Valeur / exemple
| `+${clientinfo}+` | Liste des CTCP supportés | `+ACTION DCC CLIENTINFO FINGER PING SOURCE TIME USERINFO VERSION+` | $clientinfo | Liste des CTCP supportés | `+ACTION DCC CLIENTINFO FINGER PING SOURCE TIME USERINFO VERSION+`
| `+${version}+` | Version de WeeChat | `+4.1.0-dev+` | $version | Version de WeeChat | `+0.4.0-dev+`
| `+${versiongit}+` | Version de WeeChat + version Git ^(1)^ | `+4.1.0-dev (git: v4.0.0-51-g8f98b922a)+` | $versiongit | Version de WeeChat + version Git ^(1)^ | `+0.4.0-dev (git: v0.3.9-104-g7eb5cc4)+`
| `+${git}+` | Version Git ^(1)^ | `+v4.0.0-51-g8f98b922a+` | $git | Version Git ^(1)^ | `+v0.3.9-104-g7eb5cc4+`
| `+${compilation}+` | Date de compilation WeeChat | `+Jul 8 2023 20:14:23+` | $compilation | Date de compilation WeeChat | `+Dec 16 2012+`
| `+${osinfo}+` | Information sur l'OS | `+Linux 5.10.0-23-amd64 / x86_64+` | $osinfo | Information sur l'OS | `+Linux 2.6.32-5-amd64 / x86_64+`
| `+${site}+` | Site WeeChat | `+https://weechat.org/+` | $site | Site WeeChat | `+https://weechat.org/+`
| `+${download}+` | Site WeeChat, page téléchargement | `+https://weechat.org/download/+` | $download | Site WeeChat, page téléchargement | `+https://weechat.org/download/+`
| `+${time}+` | Date/heure courante | `+Sat, 08 Jul 2023 21:11:19 +0200+` | $time | Date/heure courante | `+Sun, 16 Dec 2012 10:40:48 +0100+`
| `+${username}+` | Nom d'utilisateur sur le serveur | `+nom+` | $username | Nom d'utilisateur sur le serveur | `+nom+`
| `+${realname}+` | Nom réel sur le serveur | `+John Doe+` | $realname | Nom réel sur le serveur | `+John Doe+`
|=== |===
[NOTE] [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 connue seulement si WeeChat a été compilé dans le dépôt Git et si Git était
installé. 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"] [width="100%",cols="2,4,8",options="header"]
|=== |===
| CTCP | Format de réponse | Exemple | CTCP | Format de réponse | Exemple
| CLIENTINFO | `+${clientinfo}+` | `+ACTION DCC CLIENTINFO FINGER PING SOURCE TIME USERINFO VERSION+` | CLIENTINFO | `+$clientinfo+` | `+ACTION DCC CLIENTINFO FINGER PING SOURCE TIME USERINFO VERSION+`
| FINGER | `+WeeChat ${version}+` | `+WeeChat 4.1.0-dev+` | FINGER | `+WeeChat $versiongit+` | `+WeeChat 0.4.0-dev (git: v0.3.9-104-g7eb5cc4)+`
| SOURCE | `+${download}+` | `+https://weechat.org/download/+` | SOURCE | `+$download+` | `+https://weechat.org/download/+`
| TIME | `+${time}+` | `+Sat, 08 Jul 2023 21:11:19 +0200+` | TIME | `+$time+` | `+Sun, 16 Dec 2012 10:40:48 +0100+`
| USERINFO | `+${username} (${realname})+` | `+nom (John Doe)+` | USERINFO | `+$username ($realname)+` | `+nom (John Doe)+`
| VERSION | `+WeeChat ${version}+` | `+WeeChat 4.1.0-dev+` | VERSION | `+WeeChat $versiongit ($compilation)+` | `+WeeChat 0.4.0-dev (git: v0.3.9-104-g7eb5cc4) (Dec 16 2012)+`
|=== |===
[[irc_target_buffer]] [[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" /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]] [[global_history]]
=== Come si può usare la cronologia globale (invece di quella del buffer) con i tasti su e giù? === 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 // TRANSLATION MISSING
You can follow same tips as for <<memory_usage,memory>>, and these ones: You can follow same tips as for <<memory_usage,memory>>, and these ones:
// TRANSLATION MISSING * hide "nicklist" bar: `/bar hide nicklist`
* hide "nicklist" bar: `/bar hide nicklist` (key: kbd:[Alt+Shift+N]).
// TRANSLATION MISSING
* Disable "buflist": `/buflist disable` (key: kbd:[Alt+Shift+B]).
* remove display of seconds in status bar time: * remove display of seconds in status bar time:
`+/set weechat.look.item_time_format "%H:%M"+` (this is the default value) `+/set weechat.look.item_time_format "%H:%M"+` (this is the default value)
// TRANSLATION MISSING // TRANSLATION MISSING
@@ -1215,21 +1205,14 @@ Disable answers to all CTCP queries:
---- ----
/set irc.ctcp.clientinfo "" /set irc.ctcp.clientinfo ""
/set irc.ctcp.finger ""
/set irc.ctcp.source "" /set irc.ctcp.source ""
/set irc.ctcp.time "" /set irc.ctcp.time ""
/set irc.ctcp.userinfo ""
/set irc.ctcp.version "" /set irc.ctcp.version ""
/set irc.ctcp.ping "" /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 // TRANSLATION MISSING
Unload and disable auto-loading of "xfer" plugin (used for IRC DCC): Unload and disable auto-loading of "xfer" plugin (used for IRC DCC):
+65 -179
View File
@@ -7157,7 +7157,7 @@ section = weechat.config_search_section(config_file, "section")
==== config_new_option ==== config_new_option
// TRANSLATION MISSING // TRANSLATION MISSING
_Updated in 1.5, 4.1.0._ _Updated in 1.5._
Crea una nuova opzione nella sezione di un file di configurazione. Crea una nuova opzione nella sezione di un file di configurazione.
@@ -7206,15 +7206,12 @@ Argomenti:
"name << file.section.option" "name << file.section.option"
* _type_: tipo dell'opzione: * _type_: tipo dell'opzione:
** _boolean_: valore booleano (on/off) ** _boolean_: valore booleano (on/off)
** _integer_: valore intero ** _integer_: valore intero (con stringhe opzionali per i valori)
** _string_: valore stringa ** _string_: valore stringa
** _color_: colore ** _color_: colore
// TRANSLATION MISSING
** _enum_: list of string values (stored as integer internally)
* _description_: descrizione dell'opzione * _description_: descrizione dell'opzione
// TRANSLATION MISSING * _string_values_: valori come stringa (separati da `+|+`), usato dal tipo _integer_
* _string_values_: valori come stringa (separati da `+|+`) (optional, required (opzionale)
for type _enum_)
* _min_: valore minimo (per il tipo _integer_) * _min_: valore minimo (per il tipo _integer_)
* _max_: valore massimo (per il tipo _integer_) * _max_: valore massimo (per il tipo _integer_)
* _default_value_: valore predefinito per l'opzione (usato per il reset dell'opzione) * _default_value_: valore predefinito per l'opzione (usato per il reset dell'opzione)
@@ -7268,8 +7265,8 @@ Esempio in C:
[source,c] [source,c]
---- ----
/* booleano */ /* booleano */
struct t_config_option *option_bool = struct t_config_option *option1 =
weechat_config_new_option (config_file, section, "option_bool", "boolean", weechat_config_new_option (config_file, section, "option1", "boolean",
"My option, type boolean", "My option, type boolean",
NULL, NULL,
0, 0, 0, 0,
@@ -7281,8 +7278,8 @@ struct t_config_option *option_bool =
NULL, NULL, NULL); NULL, NULL, NULL);
/* intero */ /* intero */
struct t_config_option *option_int = struct t_config_option *option2 =
weechat_config_new_option (config_file, section, "option_int", "integer", weechat_config_new_option (config_file, section, "option2", "integer",
"My option, type integer", "My option, type integer",
NULL, NULL,
0, 100, 0, 100,
@@ -7293,9 +7290,22 @@ struct t_config_option *option_int =
NULL, NULL, NULL, NULL, NULL, NULL,
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 */ /* stringa */
struct t_config_option *option_str = struct t_config_option *option4 =
weechat_config_new_option (config_file, section, "option_str", "string", weechat_config_new_option (config_file, section, "option4", "string",
"My option, type string", "My option, type string",
NULL, NULL,
0, 0, 0, 0,
@@ -7307,8 +7317,8 @@ struct t_config_option *option_str =
NULL, NULL, NULL); NULL, NULL, NULL);
/* colore */ /* colore */
struct t_config_option *option_col = struct t_config_option *option5 =
weechat_config_new_option (config_file, section, "option_col", "color", weechat_config_new_option (config_file, section, "option5", "color",
"My option, type color", "My option, type color",
NULL, NULL,
0, 0, 0, 0,
@@ -7318,19 +7328,6 @@ struct t_config_option *option_col =
NULL, NULL, NULL, NULL, NULL, NULL,
NULL, NULL, NULL, 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): Script (Python):
@@ -7346,49 +7343,49 @@ def config_new_option(config_file: str, section: str, name: str, type: str, desc
callback_delete: str, callback_delete_data: str) -> str: ... callback_delete: str, callback_delete_data: str) -> str: ...
# esempio # 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 1
# return 0 # 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", "My option, type boolean",
"", 0, 0, "on", "on", 0, "", 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", "My option, type integer",
"", 0, 100, "15", "15", 0, "", 0, 100, "15", "15", 0,
"", "", "", "",
"", "", "", "",
"", "") "", "")
option_str = weechat.config_new_option(config_file, section, "option_str", "string", option3 = weechat.config_new_option(config_file, section, "option3", "integer",
"My option, type string", "My option, type integer (with string values)",
"", 0, 0, "test", "test", 1, "top|bottom|left|right",
"option_str_check_value_cb", "", 0, 0, "bottom", "bottom", 0,
"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,
"", "", "", "",
"", "", "", "",
"", "") "", "")
option_enum = weechat.config_new_option(config_file, section, "option_enum", "enum", option4 = weechat.config_new_option(config_file, section, "option4", "string",
"My option, type enum", "My option, type string",
"top|bottom|left|right", "", 0, 0, "test", "test", 1,
0, 0, "bottom", "bottom", 0, "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 +7677,7 @@ Argomenti:
// TRANSLATION MISSING // TRANSLATION MISSING
*** `toggle`: toggle the current value *** `toggle`: toggle the current value
// TRANSLATION MISSING // TRANSLATION MISSING
** _integer_, _color_ or _enum_: ** _integer_ or _color_:
// TRANSLATION MISSING // TRANSLATION MISSING
*** `++N`: add `N` (any integer) to the current value *** `++N`: add `N` (any integer) to the current value
// TRANSLATION MISSING // TRANSLATION MISSING
@@ -7922,7 +7919,6 @@ Argomenti:
*** _integer_ *** _integer_
*** _string_ *** _string_
*** _color_ *** _color_
*** _enum_
** _description_: option description ** _description_: option description
Valore restituito: Valore restituito:
@@ -8099,7 +8095,6 @@ Return value, depending on the option type:
* _integer_: 0 * _integer_: 0
* _string_: 0 * _string_: 0
* _color_: 0 * _color_: 0
* _enum_: 0
Esempio in C: Esempio in C:
@@ -8151,7 +8146,6 @@ Return value, depending on the option type:
* _integer_: 0 * _integer_: 0
* _string_: 0 * _string_: 0
* _color_: 0 * _color_: 0
* _enum_: 0
Esempio in C: Esempio in C:
@@ -8203,7 +8197,6 @@ Return value, depending on the option type:
* _integer_: integer value of option * _integer_: integer value of option
* _string_: 0 * _string_: 0
* _color_: color index * _color_: color index
* _enum_: integer value of option (index of enum value)
Esempio in C: Esempio in C:
@@ -8247,7 +8240,6 @@ Return value, depending on the option type:
* _integer_: default integer value of option * _integer_: default integer value of option
* _string_: 0 * _string_: 0
* _color_: default color index * _color_: default color index
* _enum_: default integer value of option (index of enum value)
Esempio in C: Esempio in C:
@@ -8288,10 +8280,10 @@ Argomenti:
Return value, depending on the option type: Return value, depending on the option type:
* _boolean_: "on" if value is true, otherwise "off" * _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 * _string_: string value of option
* _color_: name of color * _color_: name of color
* _enum_: string value of option
Esempio in C: Esempio in C:
@@ -8332,10 +8324,10 @@ Argomenti:
Return value, depending on the option type: Return value, depending on the option type:
* _boolean_: "on" if default value is true, otherwise "off" * _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 * _string_: default string value of option
* _color_: name of default color * _color_: name of default color
* _enum_: default string value of option
Esempio in C: Esempio in C:
@@ -8379,7 +8371,6 @@ Return value, depending on the option type:
* _integer_: NULL * _integer_: NULL
* _string_: NULL * _string_: NULL
* _color_: name of color * _color_: name of color
* _enum_: NULL
Esempio in C: Esempio in C:
@@ -8423,7 +8414,6 @@ Return value, depending on the option type:
* _integer_: NULL * _integer_: NULL
* _string_: NULL * _string_: NULL
* _color_: name of default color * _color_: name of default color
* _enum_: NULL
Esempio in C: Esempio in C:
@@ -8445,98 +8435,6 @@ option = weechat.config_get("plugin.section.option")
value = weechat.config_color_default(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 ==== config_write_option
Scrive una riga nel file di configurazione con l'opzione ed il suo valore Scrive una riga nel file di configurazione con l'opzione ed il suo valore
@@ -11016,7 +10914,7 @@ hook = weechat.hook_connect("", "my.server.org", 1234, 1, 0, "",
// TRANSLATION MISSING // TRANSLATION MISSING
==== hook_line ==== 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. Hook a line to be printed in a buffer.
@@ -11087,13 +10985,13 @@ Line data sent to the callback is a hashtable, with following values
| Key | Value (formatted buffer) | Value (free buffer) | Examples | Key | Value (formatted buffer) | Value (free buffer) | Examples
| buffer | buffer
| Comma-separated list of buffer pointers. | Buffer pointer.
| Comma-separated list of buffer pointers. | Buffer pointer.
| `+0x1234abcd+` | `+0x1234abcd+`
| buffer_name | buffer_name
| Comma-separated list of buffer names. | Buffer name.
| Comma-separated list of buffer names. | Buffer name.
| `+core.weechat+` + | `+core.weechat+` +
`+irc.server.libera+` + `+irc.server.libera+` +
`+irc.libera.#weechat+` `+irc.libera.#weechat+`
@@ -11181,20 +11079,16 @@ in this hashtable):
| Key | Allowed value (formatted buffer) | Allowed value (free buffer) | Result | Key | Allowed value (formatted buffer) | Allowed value (free buffer) | Result
| buffer | buffer
| Comma-separated list buffer pointers (with formatted content) | Pointer of a buffer with formatted content.
(multiple buffers are supported only with WeeChat ≥ 4.1.0). | Pointer of a buffer with free content.
| Comma-separated list buffer pointers (with free content) | The line is displayed on this buffer. +
(multiple buffers are supported only with WeeChat ≥ 4.1.0).
| The line is displayed on these buffers. +
If the value is empty, the line is deleted (anything else in the hashtable 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. is then ignored); the next hooks of type "line" are not called.
| buffer_name | buffer_name
| Comma-separated list buffer names (with formatted content) | Name of a buffer with formatted content.
(multiple buffers are supported only with WeeChat ≥ 4.1.0). | Name of a buffer with free content.
| Comma-separated list buffer names (with free content) | The line is displayed on this buffer. +
(multiple buffers are supported only with WeeChat ≥ 4.1.0).
| The line is displayed on these buffers. +
If `buffer` is also set, the value of `+buffer_name+` has higher priority and is used. + 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 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. is then ignored); the next hooks of type "line" are not called.
@@ -13592,7 +13486,7 @@ Questa funzione non è disponibile nelle API per lo scripting.
==== hook_focus ==== hook_focus
// TRANSLATION MISSING // 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 Hook sul foucus: evento del mouse o tasto premuto nella modalità cursore
(movimento libero del cursore). (movimento libero del cursore).
@@ -13712,26 +13606,18 @@ Contenuto della tabella hash inviata alla callback (tasti e valori sono di tipo
| "Hello world!" | "" | "Hello world!" | ""
// TRANSLATION MISSING // 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!" | "" | "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). | _chat_word | Parola a (x,y).
| "Hello" | "" | "Hello" | ""
// TRANSLATION MISSING // 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" | "" | "He" | ""
// TRANSLATION MISSING // 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!" | "" | "llo world!" | ""
| _bar_name | Nome della barra. | _bar_name | Nome della barra.
@@ -18468,7 +18354,7 @@ Argomenti:
Valore restituito: Valore restituito:
* offset della variabile, -1 in caso di errore * offset della variabile, 0 in caso di errore
Esempio in C: Esempio in C:
+94 -170
View File
@@ -139,7 +139,7 @@ WeeChat:
| pkg-config | | pkg-config |
| Detect installed libraries. | Detect installed libraries.
| libncurses-dev | | libncursesw5-dev ^(2)^ |
| Interfaccia ncurses. | Interfaccia ncurses.
| libcurl4-gnutls-dev | | libcurl4-gnutls-dev |
@@ -150,7 +150,7 @@ WeeChat:
| Secured data, IRC SASL authentication. | Secured data, IRC SASL authentication.
// TRANSLATION MISSING // 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). + | IRC plugin: support of TLS connections, IRC SASL authentication (ECDSA-NIST256P-CHALLENGE). +
Relay plugin: support of TLS connections. Relay plugin: support of TLS connections.
@@ -171,7 +171,11 @@ WeeChat:
^(1)^ Name comes from the Debian GNU/Linux Bookworm distribution, version and ^(1)^ Name comes from the Debian GNU/Linux Bookworm distribution, version and
name can be different in other distributions. + name can be different in other distributions. +
// TRANSLATION MISSING // 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. ECDSA-NIST256P-CHALLENGE.
// TRANSLATION MISSING // TRANSLATION MISSING
@@ -1446,8 +1450,7 @@ By default WeeChat and its default plugins interpret these variables:
| filter | filter
| any string | any string
| Filter defined on some buffers like `/fset`, `/list` (irc), `/server raw` (irc) | Filter defined on some buffers like `/fset`, `/server raw` (irc) and `/script`.
and `/script`.
| host | host
| any string | any string
@@ -1559,22 +1562,6 @@ Options:
include::{autogendir}/autogen_user_options.it.adoc[tag=buflist_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 // TRANSLATION MISSING
[[key_bindings]] [[key_bindings]]
== Key bindings == Key bindings
@@ -1845,46 +1832,33 @@ kbd:[Ctrl+r] per cercare del testo nel buffer).
[[key_bindings_cursor_context]] [[key_bindings_cursor_context]]
=== Cursor context === Cursor context
// TRANSLATION MISSING
Questi tasti sono usati nel contesto "cursor" (movimento libero del cursore 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"] [width="100%",cols="^.^3,^.^2,.^7,.^7",options="header"]
|=== |===
| Tasto | Zona | Descrizione | Comando | Tasto | Zona | Descrizione | Comando
| kbd:[↑] | - | Sposta il cursore di una riga in alto. | `+/cursor move up+` | 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 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 sinistra. | `+/cursor move left+`
| kbd:[→] | - | Sposta il cursore di una colonna a destra. | `+/cursor move right+` | 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 // TRANSLATION MISSING
| kbd:[Alt+↑] | - | Move cursor to the first line of the area. | `+/cursor move edge_top+` | kbd:[l] | chat | Quote focused line. | `+hsignal:chat_quote_focused_line;/cursor stop+`
// TRANSLATION MISSING | kbd:[q] | chat | Cita prefisso + messaggio. | `+hsignal:chat_quote_prefix_message;/cursor stop+`
| kbd:[Alt+↓] | - | Move cursor to the last line of the area. | `+/cursor move edge_bottom+` | kbd:[Q] | chat | Cita ora + prefisso + messaggio. | `+hsignal:chat_quote_time_prefix_message;/cursor stop+`
// TRANSLATION MISSING | kbd:[b] | lista nick | Ban di un nick. | `+/window ${_window_number};/ban ${nick}+`
| kbd:[Alt+←] | - | Move cursor to the first column of the area. | `+/cursor move edge_left+` | kbd:[k] | lista nick | Kick di un nick. | `+/window ${_window_number};/kick ${nick}+`
// TRANSLATION MISSING | kbd:[K] | lista nick | Kick e ban di un nick. | `+/window ${_window_number};/kickban ${nick}+`
| kbd:[Alt+→] | - | Move cursor to the last column of the area. | `+/cursor move edge_right+` | kbd:[q] | lista nick | Apri query con il nick. | `+/window ${_window_number};/query ${nick};/cursor stop+`
// TRANSLATION MISSING | kbd:[w] | lista nick | Effettua un whois sul nick. | `+/window ${_window_number};/whois ${nick}+`
| 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:[Enter] + | kbd:[Enter] +
kbd:[Ctrl+j] + kbd:[Ctrl+j] +
kbd:[Ctrl+m] | - | Ferma la modalità cursore. | `+/cursor stop+` kbd:[Ctrl+m] | - | Ferma la modalità cursore. | `+/cursor stop+`
|=== |===
// TRANSLATION MISSING // TRANSLATION MISSING
@@ -1900,11 +1874,11 @@ These mouse actions are possible only if mouse is enabled with key kbd:[Alt+m]
|=== |===
// TRANSLATION MISSING // TRANSLATION MISSING
| Tasto/Wheel ^(1)^ | Azione | Zona | Descrizione | Comando | Tasto/Wheel ^(1)^ | Azione | Zona | Descrizione | Comando
| kbd:[■ □ □] | - | chat | Passa alla finestra. | `+/window ${_window_number}+` | ◾◽◽ | - | chat | Passa alla finestra. | `+/window ${_window_number}+`
| kbd:[■ □ □] | sinistra | chat | Passa al buffer precedente. | `+/window ${_window_number};/buffer +1+` | ◾◽◽ | sinistra | chat | Passa al buffer precedente. | `+/window ${_window_number};/buffer +1+`
| kbd:[■ □ □] | destra | chat | Passa al buffer successivo. | `+/window ${_window_number};/buffer +1+` | ◾◽◽ | destra | chat | Passa al buffer successivo. | `+/window ${_window_number};/buffer +1+`
| kbd:[■ □ □] | sinistra (lungo) | chat | Switch to first buffer. | `+/window ${_window_number};/buffer 1+` | ◾◽◽ | sinistra (lungo) | chat | Switch to first buffer. | `+/window ${_window_number};/buffer 1+`
| kbd:[■ □ □] | destra (lungo) | chat | Passa all'ultimo buffer. | `+/window ${_window_number};/buffer ++` | ◾◽◽ | 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 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:[▼] | - | 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%+` | 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 // 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 // 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 // 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 // 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 // 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 // TRANSLATION MISSING
| kbd:[□ □ ■] | up / down | chat: fset buffer | Mark/unmark multiple options. | `+hsignal:fset_mouse+` | ◽◽◾ | 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+`
// TRANSLATION MISSING // TRANSLATION MISSING
| kbd:[▲] | - | chat: script buffer | Move 5 lines up in script buffer. | `+/script up 5+` | kbd:[▲] | - | chat: script buffer | Move 5 lines up in script buffer. | `+/script up 5+`
// TRANSLATION MISSING // TRANSLATION MISSING
| kbd:[▼] | - | chat: script buffer | Move 5 lines down in script buffer. | `+/script down 5+` | kbd:[▼] | - | chat: script buffer | Move 5 lines down in script buffer. | `+/script down 5+`
// TRANSLATION MISSING // 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 // 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 // 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 // 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 // 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 // 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 // TRANSLATION MISSING
| kbd:[Ctrl+▲] | - | buflist | Switch to previous buffer. | Signal `+buflist_mouse+`. | kbd:[Ctrl+▲] | - | buflist | Switch to previous buffer. | Signal `+buflist_mouse+`.
// TRANSLATION MISSING // TRANSLATION MISSING
| kbd:[Ctrl+▼] | - | buflist | Switch to next buffer. | Signal `+buflist_mouse+`. | 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%+` | ◾◽◽ | 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%+` | ◾◽◽ | 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+` | ◾◽◽ | 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+` | ◾◽◽ | 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}+` | ◾◽◽ | - | 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}+` | ◽◽◾ | - | 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}+` | ◾◽◽ | 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}+` | ◾◽◽ | 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}+` | ◽◽◾ | 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+` | ◽◽◾ | - | 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:[▼] | - | 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 // TRANSLATION MISSING
^(1)^ Buttons: + [NOTE]
kbd:[◼ □ □]: click on left button + ^(1)^ kbd:[▲] and kbd:[▼] are wheel up and down.
kbd:[□ ◼ □]: click on middle button +
kbd:[□ □ ◼]: click on right button +
Wheel: +
kbd:[▲]: wheel up +
kbd:[▼]: wheel down
// TRANSLATION MISSING // TRANSLATION MISSING
[[key_bindings_fset_buffer]] [[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:[F11] | `pass:[<]` | Scroll horizontally on the left. | `+/fset -left+`
| kbd:[F12] | `pass:[>]` | Scroll horizontally on the right. | `+/fset -right+` | kbd:[F12] | `pass:[>]` | Scroll horizontally on the right. | `+/fset -right+`
| kbd:[Alt+Space] | `t` | Toggle boolean value. | `+/fset -toggle+` | 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+-] | `-` | Subtract 1 from value for integer/color, 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++] | `+` | 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+r] | `r` | Reset value. | `+/fset -reset+`
| kbd:[Alt+f], kbd:[Alt+u] | `u` | Unset value. | `+/fset -unset+` | kbd:[Alt+f], kbd:[Alt+u] | `u` | Unset value. | `+/fset -unset+`
| kbd:[Alt+Enter] | `s` | Set value. | `+/fset -set+` | 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] [NOTE]
^(1)^ The action must be entered as input on the command line, followed by kbd:[Enter]. ^(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 // TRANSLATION MISSING
[[key_bindings_script_buffer]] [[key_bindings_script_buffer]]
=== 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│ │2.fset │weechat.look.bare_display_exit_on_input: exit the bare display mode on any c│
│ │hanges in input [default: on] │ │ │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.align_multiline_words boolean on │
│ │ weechat.look.bar_more_down string "++" │ │ │ weechat.look.bar_more_down string "++" │
│ │ weechat.look.bar_more_left 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_exit_on_input boolean on ##│
│ │ weechat.look.bare_display_time_format string "%H:%M" │ │ │ weechat.look.bare_display_time_format string "%H:%M" │
│ │ weechat.look.buffer_auto_renumber boolean on │ │ │ weechat.look.buffer_auto_renumber boolean on │
│ │ weechat.look.buffer_notify_default enum all │ │ │ weechat.look.buffer_notify_default integer all │
│ │ weechat.look.buffer_position enum end │ │ │ weechat.look.buffer_position integer end │
│ │ weechat.look.buffer_search_case_sensitive boolean off │ │ │ weechat.look.buffer_search_case_sensitive boolean off │
│ │ weechat.look.buffer_search_force_default boolean off │ │ │ weechat.look.buffer_search_force_default boolean off │
│ │ weechat.look.buffer_search_regex 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_format string "%H:%M:%S" │
│ │ weechat.look.buffer_time_same string "" │ │ │ weechat.look.buffer_time_same string "" │
│ │[12:55] [2] [fset] 2:fset │ │ │[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 integer null -> 0
irc.server.libera.away_check_max_nicks integer null -> 25 irc.server.libera.away_check_max_nicks integer null -> 25
irc.server.libera.capabilities string null -> "*" 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 string null -> ""
irc.server.libera.command_delay integer null -> 0 irc.server.libera.command_delay integer null -> 0
irc.server.libera.connection_timeout integer null -> 60 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.password string null -> ""
irc.server.libera.proxy string null -> "" irc.server.libera.proxy string null -> ""
irc.server.libera.realname 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_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_password string "${sec.data.libera}"
irc.server.libera.sasl_timeout integer null -> 15 irc.server.libera.sasl_timeout integer null -> 15
irc.server.libera.sasl_username string "alice" irc.server.libera.sasl_username string "alice"
@@ -4376,7 +4302,7 @@ Ad esempio, per personalizzare la richiesta CTCP "VERSIONE", utilizzare il
seguente comando: seguente comando:
---- ----
/set irc.ctcp.version "Uso WeeChat ${version}, fico!" /set irc.ctcp.version "Uso WeeChat $version, fico!"
---- ----
// TRANSLATION MISSING // TRANSLATION MISSING
@@ -4402,7 +4328,7 @@ può rispondere "BLABLA":
interno prima del nome CTCP: 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 Se si desidera ripristinare la risposta CTCP standard, allora disabilitare
@@ -4412,27 +4338,24 @@ l'opzione:
/unset irc.ctcp.version /unset irc.ctcp.version
---- ----
// TRANSLATION MISSING I codici seguenti possono essere utilizzati nelle stringhe e vengono estese
The CTCP replies are evaluated (see command <<command_weechat_eval,/eval>>) and automaticamente da WeeChat quando si risponde alle CTCP
the following extra variables are available:
[width="100%",cols="2,4,8",options="header"] // TRANSLATION MISSING ($versiongit + $git + $username (name))
[width="100%",cols="2l,4,8",options="header"]
|=== |===
// TRANSLATION MISSING | Codice | Descrizione | Valore/esempio
| Variable | Descrizione | Valore/esempio | $clientinfo | Elenco di CTCP supportate | `+ACTION DCC CLIENTINFO FINGER PING SOURCE TIME USERINFO VERSION+`
| `+${clientinfo}+` | Elenco di CTCP supportate | `+ACTION DCC CLIENTINFO FINGER PING SOURCE TIME USERINFO VERSION+` | $version | Versione di WeeChat | `+0.4.0-dev+`
| `+${version}+` | Versione di WeeChat | `+4.1.0-dev+` | $versiongit | Versione di WeeChat + Git version ^(1)^ | `+0.4.0-dev (git: v0.3.9-104-g7eb5cc4)+`
// TRANSLATION MISSING | $git | Git version ^(1)^ | `+v0.3.9-104-g7eb5cc4+`
| `+${versiongit}+` | Versione di WeeChat + Git version ^(1)^ | `+4.1.0-dev (git: v4.0.0-51-g8f98b922a)+` | $compilation | Data di compilazione di WeeChat | `+Dec 16 2012+`
// TRANSLATION MISSING | $osinfo | Informazioni sull'OS | `+Linux 2.6.32-5-amd64 / x86_64+`
| `+${git}+` | Git version ^(1)^ | `+v4.0.0-51-g8f98b922a+` | $site | Sito di WeeChat | `+https://weechat.org/+`
| `+${compilation}+` | Data di compilazione di WeeChat | `+Jul 8 2023 20:14:23+` | $download | Sito di WeeChat, pagina di download | `+https://weechat.org/download/+`
| `+${osinfo}+` | Informazioni sull'OS | `+Linux 5.10.0-23-amd64 / x86_64+` | $time | Data/ora correnti | `+Sun, 16 Dec 2012 10:40:48 +0100+`
| `+${site}+` | Sito di WeeChat | `+https://weechat.org/+` | $username | Nome utente sul server IRC | `+name+`
| `+${download}+` | Sito di WeeChat, pagina di download | `+https://weechat.org/download/+` | $realname | Nome reale sul server IRC | `+John Doe+`
| `+${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+`
|=== |===
// TRANSLATION MISSING // 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 ^(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. if WeeChat has been compiled inside the Git repository and if Git was installed.
// TRANSLATION MISSING Se le opzioni CTCP non sono definite (comportamento predefinito),
The default CTCP replies are: le risposte CTCP sono:
// TRANSLATION MISSING ($username (name))
[width="100%",cols="2,4,8",options="header"] [width="100%",cols="2,4,8",options="header"]
|=== |===
| CTCP | Formato risposta | Esempio | CTCP | Formato risposta | Esempio
| CLIENTINFO | `+${clientinfo}+` | `+ACTION DCC CLIENTINFO FINGER PING SOURCE TIME USERINFO VERSION+` | CLIENTINFO | `+$clientinfo+` | `+ACTION DCC CLIENTINFO FINGER PING SOURCE TIME USERINFO VERSION+`
| FINGER | `+WeeChat ${version}+` | `+WeeChat 4.1.0-dev+` | FINGER | `+WeeChat $versiongit+` | `+WeeChat 0.4.0-dev (git: v0.3.9-104-g7eb5cc4)+`
| SOURCE | `+${download}+` | `+https://weechat.org/download/+` | SOURCE | `+$download+` | `+https://weechat.org/download/+`
| TIME | `+${time}+` | `+Sat, 08 Jul 2023 21:11:19 +0200+` | TIME | `+$time+` | `+Sun, 16 Dec 2012 10:40:48 +0100+`
| USERINFO | `+${username} (${realname})+` | `+name (John Doe)+` | USERINFO | `+$username ($realname)+` | `+name (John Doe)+`
| VERSION | `+WeeChat ${version}+` | `+WeeChat 4.1.0-dev+` | VERSION | `+WeeChat $versiongit ($compilation)+` | `+WeeChat 0.4.0-dev (git: v0.3.9-104-g7eb5cc4) (Dec 16 2012)+`
|=== |===
[[irc_target_buffer]] [[irc_target_buffer]]
-6
View File
@@ -295,8 +295,6 @@ WeeChat "core" は以下のディレクトリに配置されています:
|       irc-input.c | コマンドおよびテキストの入力 |       irc-input.c | コマンドおよびテキストの入力
// TRANSLATION MISSING // TRANSLATION MISSING
|       irc-join.c | Functions for list of channels to join. |       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-message.c | IRC メッセージを操作する関数
|       irc-mode.c | チャンネルおよびニックネームのモードを操作する関数 |       irc-mode.c | チャンネルおよびニックネームのモードを操作する関数
|       irc-modelist.c | IRC チャンネルモードリスト (+b、+e、+I、...). |       irc-modelist.c | IRC チャンネルモードリスト (+b、+e、+I、...).
@@ -481,14 +479,10 @@ WeeChat "core" は以下のディレクトリに配置されています:
|             test-irc-color.cpp | Tests: IRC colors. |             test-irc-color.cpp | Tests: IRC colors.
|             test-irc-config.cpp | テスト: IRC 設定 |             test-irc-config.cpp | テスト: IRC 設定
// TRANSLATION MISSING // TRANSLATION MISSING
|             test-irc-ctcp.cpp | Tests: IRC CTCP.
// TRANSLATION MISSING
|             test-irc-ignore.cpp | Tests: IRC ignores. |             test-irc-ignore.cpp | Tests: IRC ignores.
// TRANSLATION MISSING // TRANSLATION MISSING
|             test-irc-join.cpp | Tests: IRC join functions. |             test-irc-join.cpp | Tests: IRC join functions.
// TRANSLATION MISSING // TRANSLATION MISSING
|             test-irc-list.cpp | Tests: IRC buffer for reply to /list command.
// TRANSLATION MISSING
|             test-irc-message.cpp | Tests: IRC messages. |             test-irc-message.cpp | Tests: IRC messages.
// TRANSLATION MISSING // TRANSLATION MISSING
|             test-irc-mode.cpp | Tests: IRC modes. |             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" /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]] [[global_history]]
=== どうすればグローバルヒストリを (バッファヒストリの代わりに) 上下矢印キーで使えますか。 === どうすればグローバルヒストリを (バッファヒストリの代わりに) 上下矢印キーで使えますか。
@@ -1111,10 +1104,7 @@ spell プラグインをリロードしてください:
以下に挙げる <<memory_usage,memory>> に関するヒントに従ってください: 以下に挙げる <<memory_usage,memory>> に関するヒントに従ってください:
// TRANSLATION MISSING * "nicklist" バーを非表示にする: `/bar hide nicklist`
* "nicklist" バーを非表示にする: `/bar hide nicklist` (key: kbd:[Alt+Shift+N]).
// TRANSLATION MISSING
* Disable "buflist": `/buflist disable` (key: kbd:[Alt+Shift+B]).
* ステータスバー時間に秒の表示を止める: * ステータスバー時間に秒の表示を止める:
`+/set weechat.look.item_time_format "%H:%M"+` (これはデフォルト値です) `+/set weechat.look.item_time_format "%H:%M"+` (これはデフォルト値です)
* コマンドライン内の単語スペルミスのリアルタイムチェックを無効にする (有効にしていた場合): * コマンドライン内の単語スペルミスのリアルタイムチェックを無効にする (有効にしていた場合):
@@ -1136,21 +1126,14 @@ IRC の退出および終了メッセージを無効化します:
---- ----
/set irc.ctcp.clientinfo "" /set irc.ctcp.clientinfo ""
/set irc.ctcp.finger ""
/set irc.ctcp.source "" /set irc.ctcp.source ""
/set irc.ctcp.time "" /set irc.ctcp.time ""
/set irc.ctcp.userinfo ""
/set irc.ctcp.version "" /set irc.ctcp.version ""
/set irc.ctcp.ping "" /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 機能を使うためのものです) をアンロードして自動ロードを無効化します: "xfer" プラグイン (これは IRC DCC 機能を使うためのものです) をアンロードして自動ロードを無効化します:
---- ----
+64 -188
View File
@@ -6960,8 +6960,7 @@ section = weechat.config_search_section(config_file, "section")
==== config_new_option ==== config_new_option
// TRANSLATION MISSING _WeeChat バージョン 1.5 で更新。_
_Updated in 1.5, 4.1.0._
設定ファイルのあるセクションに新しいオプションを作成。 設定ファイルのあるセクションに新しいオプションを作成。
@@ -7009,15 +7008,12 @@ struct t_config_option *weechat_config_new_option (
"name << file.section.option" "name << file.section.option"
* _type_: オプションの型: * _type_: オプションの型:
** _boolean_: ブール値 (on/off) ** _boolean_: ブール値 (on/off)
** _integer_: 整数値 ** _integer_: 整数値 (任意で文字列を受けるようにすることも可)
** _string_: 文字列 ** _string_: 文字列
** _color_: 色 ** _color_: 色
// TRANSLATION MISSING
** _enum_: list of string values (stored as integer internally)
* _description_: オプションの説明 * _description_: オプションの説明
// TRANSLATION MISSING
* _string_values_: 文字列で値を受ける * _string_values_: 文字列で値を受ける
(`+|+` で区切る) (optional, required for type _enum_) (`+|+` で区切る)、_integer_ 型の場合に使う (任意)
* _min_: 最小値 (_integer_ 型で有効) * _min_: 最小値 (_integer_ 型で有効)
* _max_: 最大値 (_integer_ 型で有効) * _max_: 最大値 (_integer_ 型で有効)
* _default_value_: オプションのデフォルト値 (オプションをリセットした際に使われる) * _default_value_: オプションのデフォルト値 (オプションをリセットした際に使われる)
@@ -7068,8 +7064,8 @@ C 言語での使用例:
[source,c] [source,c]
---- ----
/* boolean */ /* boolean */
struct t_config_option *option_bool = struct t_config_option *option1 =
weechat_config_new_option (config_file, section, "option_bool", "boolean", weechat_config_new_option (config_file, section, "option1", "boolean",
"My option, type boolean", "My option, type boolean",
NULL, NULL,
0, 0, 0, 0,
@@ -7081,8 +7077,8 @@ struct t_config_option *option_bool =
NULL, NULL, NULL); NULL, NULL, NULL);
/* integer */ /* integer */
struct t_config_option *option_int = struct t_config_option *option2 =
weechat_config_new_option (config_file, section, "option_int", "integer", weechat_config_new_option (config_file, section, "option2", "integer",
"My option, type integer", "My option, type integer",
NULL, NULL,
0, 100, 0, 100,
@@ -7093,9 +7089,22 @@ struct t_config_option *option_int =
NULL, NULL, NULL, NULL, NULL, NULL,
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 */ /* string */
struct t_config_option *option_str = struct t_config_option *option4 =
weechat_config_new_option (config_file, section, "option_str", "string", weechat_config_new_option (config_file, section, "option4", "string",
"My option, type string", "My option, type string",
NULL, NULL,
0, 0, 0, 0,
@@ -7107,8 +7116,8 @@ struct t_config_option *option_str =
NULL, NULL, NULL); NULL, NULL, NULL);
/* color */ /* color */
struct t_config_option *option_col = struct t_config_option *option5 =
weechat_config_new_option (config_file, section, "option_col", "color", weechat_config_new_option (config_file, section, "option5", "color",
"My option, type color", "My option, type color",
NULL, NULL,
0, 0, 0, 0,
@@ -7118,19 +7127,6 @@ struct t_config_option *option_col =
NULL, NULL, NULL, NULL, NULL, NULL,
NULL, NULL, NULL, 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) での使用例: スクリプト (Python) での使用例:
@@ -7146,49 +7142,49 @@ def config_new_option(config_file: str, section: str, name: str, type: str, desc
callback_delete: str, callback_delete_data: str) -> 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 1
# return 0 # 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", "My option, type boolean",
"", 0, 0, "on", "on", 0, "", 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", "My option, type integer",
"", 0, 100, "15", "15", 0, "", 0, 100, "15", "15", 0,
"", "", "", "",
"", "", "", "",
"", "") "", "")
option_str = weechat.config_new_option(config_file, section, "option_str", "string", option3 = weechat.config_new_option(config_file, section, "option3", "integer",
"My option, type string", "My option, type integer (with string values)",
"", 0, 0, "test", "test", 1, "top|bottom|left|right",
"option_str_check_value_cb", "", 0, 0, "bottom", "bottom", 0,
"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,
"", "", "", "",
"", "", "", "",
"", "") "", "")
option_enum = weechat.config_new_option(config_file, section, "option_enum", "enum", option4 = weechat.config_new_option(config_file, section, "option4", "string",
"My option, type enum", "My option, type string",
"top|bottom|left|right", "", 0, 0, "test", "test", 1,
0, 0, "bottom", "bottom", 0, "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 +7468,7 @@ int weechat_config_option_set (struct t_config_option *option,
オプションの新しい値、オプションのタイプによって以下の特殊値を取ることも可能です: オプションの新しい値、オプションのタイプによって以下の特殊値を取ることも可能です:
** _ブール型_: ** _ブール型_:
*** `toggle`: 現在の値を切り替える *** `toggle`: 現在の値を切り替える
// TRANSLATION MISSING ** _整数型_ または _色_:
** _integer_, _color_ or _enum_:
*** `++N`: 現在の値に `N` (任意の整数) を加える *** `++N`: 現在の値に `N` (任意の整数) を加える
*** `--N`: 現在の値から `N` (任意の整数) を引く *** `--N`: 現在の値から `N` (任意の整数) を引く
* _run_callback_: オプションが変更された際に、_callback_change_ コールバックを呼び出す場合は * _run_callback_: オプションが変更された際に、_callback_change_ コールバックを呼び出す場合は
@@ -7707,7 +7702,6 @@ const char *weechat_config_option_get_string (struct t_config_option *option,
*** _integer_ *** _integer_
*** _string_ *** _string_
*** _color_ *** _color_
*** _enum_
** _description_: オプションの説明 ** _description_: オプションの説明
戻り値: 戻り値:
@@ -7881,7 +7875,6 @@ int weechat_config_boolean (struct t_config_option *option);
* _integer_: 0 * _integer_: 0
* _string_: 0 * _string_: 0
* _color_: 0 * _color_: 0
* _enum_: 0
C 言語での使用例: C 言語での使用例:
@@ -7932,7 +7925,6 @@ int weechat_config_boolean_default (struct t_config_option *option);
* _integer_: 0 * _integer_: 0
* _string_: 0 * _string_: 0
* _color_: 0 * _color_: 0
* _enum_: 0
C 言語での使用例: C 言語での使用例:
@@ -7983,8 +7975,6 @@ int weechat_config_integer (struct t_config_option *option);
* _integer_: オプションの整数値 * _integer_: オプションの整数値
* _string_: 0 * _string_: 0
* _color_: 色インデックス * _color_: 色インデックス
// TRANSLATION MISSING
* _enum_: integer value of option (index of enum value)
C 言語での使用例: C 言語での使用例:
@@ -8027,8 +8017,6 @@ int weechat_config_integer_default (struct t_config_option *option);
* _integer_: オプションのデフォルト整数値 * _integer_: オプションのデフォルト整数値
* _string_: 0 * _string_: 0
* _color_: デフォルト色インデックス * _color_: デフォルト色インデックス
// TRANSLATION MISSING
* _enum_: default integer value of option (index of enum value)
C 言語での使用例: C 言語での使用例:
@@ -8068,11 +8056,10 @@ const char *weechat_config_string (struct t_config_option *option);
戻り値、オプションの型に依存: 戻り値、オプションの型に依存:
* _boolean_: 値が真の場合は "on"、それ以外の場合は "off" * _boolean_: 値が真の場合は "on"、それ以外の場合は "off"
* _integer_: NULL * _integer_: 値が文字列に対応付けられている場合はその文字列値、それ以外の場合は
NULL
* _string_: オプションの文字列値 * _string_: オプションの文字列値
* _color_: 色名 * _color_: 色名
// TRANSLATION MISSING
* _enum_: string value of option
C 言語での使用例: C 言語での使用例:
@@ -8112,11 +8099,10 @@ const char *weechat_config_string_default (struct t_config_option *option);
戻り値、オプションの型に依存: 戻り値、オプションの型に依存:
* _boolean_: デフォルト値が真の場合は "on"、それ以外の場合は "off" * _boolean_: デフォルト値が真の場合は "on"、それ以外の場合は "off"
* _integer_: NULL * _integer_: デフォルト値が文字列に対応付けられている場合はその文字列値、それ以外の場合は
NULL
* _string_: オプションのデフォルト文字列値 * _string_: オプションのデフォルト文字列値
* _color_: デフォルト色名 * _color_: デフォルト色名
// TRANSLATION MISSING
* _enum_: default string value of option
C 言語での使用例: C 言語での使用例:
@@ -8159,7 +8145,6 @@ const char *weechat_config_color (struct t_config_option *option);
* _integer_: NULL * _integer_: NULL
* _string_: NULL * _string_: NULL
* _color_: 色名 * _color_: 色名
* _enum_: NULL
C 言語での使用例: C 言語での使用例:
@@ -8202,7 +8187,6 @@ const char *weechat_config_color_default (struct t_config_option *option);
* _integer_: NULL * _integer_: NULL
* _string_: NULL * _string_: NULL
* _color_: デフォルト色名 * _color_: デフォルト色名
* _enum_: NULL
C 言語での使用例: C 言語での使用例:
@@ -8224,98 +8208,6 @@ option = weechat.config_get("plugin.section.option")
value = weechat.config_color_default(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 ==== config_write_option
設定ファイルにオプションとその値を収めた行を書き込む (この関数をセクションの 設定ファイルにオプションとその値を収めた行を書き込む (この関数をセクションの
@@ -10741,7 +10633,7 @@ hook = weechat.hook_connect("", "my.server.org", 1234, 1, 0, "",
==== hook_line ==== hook_line
// TRANSLATION MISSING // TRANSLATION MISSING
_WeeChat ≥ 2.3, updated in 3.7, 4.1.0._ _WeeChat ≥ 2.3, updated in 3.7._
バッファに対する行表示をフックする。 バッファに対する行表示をフックする。
@@ -10811,16 +10703,14 @@ struct t_hook *weechat_hook_line (const char *buffer_type,
|=== |===
| キー | 値 (フォーマット済みバッファ) | 値 (自由内容バッファ) | 例 | キー | 値 (フォーマット済みバッファ) | 値 (自由内容バッファ) | 例
// TRANSLATION MISSING
| buffer | buffer
| Comma-separated list of buffer pointers. | バッファポインタ
| Comma-separated list of buffer pointers. | バッファポインタ
| `+0x1234abcd+` | `+0x1234abcd+`
// TRANSLATION MISSING
| buffer_name | buffer_name
| Comma-separated list of buffer names. | バッファ名
| Comma-separated list of buffer names. | バッファ名
| `+core.weechat+` + | `+core.weechat+` +
`+irc.server.libera+` + `+irc.server.libera+` +
`+irc.libera.#weechat+` `+irc.libera.#weechat+`
@@ -10908,23 +10798,17 @@ WeeChat はそれらを無視します。
|=== |===
| キー | 設定可能な値 (フォーマット済みバッファ) | 設定可能な値 (自由内容バッファ) | 結果 | キー | 設定可能な値 (フォーマット済みバッファ) | 設定可能な値 (自由内容バッファ) | 結果
// TRANSLATION MISSING
| buffer | 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" 型の次のフックも呼び出されません。 "line" 型の次のフックも呼び出されません。
// TRANSLATION MISSING
| buffer_name | 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+` の値が優先されます + `buffer` と `+buffer_name+` の両方が設定された場合、`+buffer_name+` の値が優先されます +
この値が空の場合、行は削除されます (ハッシュテーブルに含まれるその他の情報も無視されます); この値が空の場合、行は削除されます (ハッシュテーブルに含まれるその他の情報も無視されます);
"line" 型の次のフックも呼び出されません。 "line" 型の次のフックも呼び出されません。
@@ -13167,7 +13051,7 @@ struct t_hook *my_hdata = weechat_hook_hdata ("my_hdata",
==== hook_focus ==== hook_focus
_WeeChat バージョン 1.5, 4.0.0, 4.1.0 で更新。_ _WeeChat バージョン 1.5 で更新。_
フォーカス (マウスイベントやカーソルモード フォーカス (マウスイベントやカーソルモード
(カーソルが自由に移動出来る状態) でキーが押されたこと) をフック。 (カーソルが自由に移動出来る状態) でキーが押されたこと) をフック。
@@ -13284,26 +13168,18 @@ info を使う前にエリアが一致していることを確認して下さい
| "Hello world!" | "" | "Hello world!" | ""
// TRANSLATION MISSING // 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!" | "" | "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) の位置にある単語 | _chat_word | (x,y) の位置にある単語
| "Hello" | "" | "Hello" | ""
// TRANSLATION MISSING // 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" | "" | "He" | ""
// TRANSLATION MISSING // 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!" | "" | "llo world!" | ""
| _bar_name | バーの名前 | _bar_name | バーの名前
@@ -17876,7 +17752,7 @@ int weechat_hdata_get_var_offset (struct t_hdata *hdata, const char *name);
戻り値: 戻り値:
* オフセットの値、エラーが起きた場合は -1 * オフセットの値、エラーが起きた場合は 0
C 言語での使用例: C 言語での使用例:
+101 -181
View File
@@ -127,7 +127,7 @@ WeeChat:
| pkg-config | | pkg-config |
| インストール済みライブラリを検出 | インストール済みライブラリを検出
| libncurses-dev | | libncursesw5-dev ^(2)^ |
| ncurses インターフェース | ncurses インターフェース
| libcurl4-gnutls-dev | | libcurl4-gnutls-dev |
@@ -137,7 +137,7 @@ WeeChat:
| 保護データ、IRC SASL 認証 | 保護データ、IRC SASL 認証
// TRANSLATION MISSING // 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). + | IRC plugin: support of TLS connections, IRC SASL authentication (ECDSA-NIST256P-CHALLENGE). +
Relay plugin: support of TLS connections. Relay plugin: support of TLS connections.
@@ -157,7 +157,10 @@ WeeChat:
// TRANSLATION MISSING // TRANSLATION MISSING
^(1)^ Name comes from the Debian GNU/Linux Bookworm distribution, version and ^(1)^ Name comes from the Debian GNU/Linux Bookworm distribution, version and
name can be different in other distributions. + 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 以上が必要です。 バージョン 3.0.21 以上が必要です。
// TRANSLATION MISSING // TRANSLATION MISSING
@@ -1409,8 +1412,7 @@ By default WeeChat and its default plugins interpret these variables:
| filter | filter
| any string | any string
| Filter defined on some buffers like `/fset`, `/list` (irc), `/server raw` (irc) | Filter defined on some buffers like `/fset`, `/server raw` (irc) and `/script`.
and `/script`.
| host | host
| any string | any string
@@ -1518,22 +1520,6 @@ _buflist.conf_ ファイル内のセクション:
include::{autogendir}/autogen_user_options.ja.adoc[tag=buflist_options] 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 // TRANSLATION MISSING
[[key_bindings]] [[key_bindings]]
== Key bindings == Key bindings
@@ -1791,46 +1777,32 @@ kbd:[Ctrl+r] が押された状態) でのみ有効です。
[[key_bindings_cursor_context]] [[key_bindings_cursor_context]]
=== Cursor context === Cursor context
// TRANSLATION MISSING 以下のキーは「カーソル」モード (画面上でカーソルを自由に動かせる状態) でのみ有効です。
以下のキーは「カーソル」モード (画面上でカーソルを自由に動かせる状態) でのみ有効です,
see <<cursor_mode,Cursor mode>>.
[width="100%",cols="^.^3,^.^2,.^7,.^7",options="header"] [width="100%",cols="^.^3,^.^2,.^7,.^7",options="header"]
|=== |===
| キー | エリア | 説明 | コマンド | キー | エリア | 説明 | コマンド
| kbd:[↑] | - | カーソルを上の行に移動 | `+/cursor move up+` | kbd:[↑] | - | カーソルを上の行に移動 | `+/cursor move up+`
| kbd:[↓] | - | カーソルを下の行に移動 | `+/cursor move down+` | kbd:[↓] | - | カーソルを下の行に移動 | `+/cursor move down+`
| kbd:[←] | - | カーソルを左の列に移動 | `+/cursor move left+` | kbd:[←] | - | カーソルを左の列に移動 | `+/cursor move left+`
| kbd:[→] | - | カーソルを右の列に移動 | `+/cursor move right+` | 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 // TRANSLATION MISSING
| kbd:[Alt+↑] | - | Move cursor to the first line of the area. | `+/cursor move edge_top+` | kbd:[l] | チャット | Quote focused line. | `+hsignal:chat_quote_focused_line;/cursor stop+`
// TRANSLATION MISSING | kbd:[q] | チャット | プレフィックスとメッセージを引用 | `+hsignal:chat_quote_prefix_message;/cursor stop+`
| kbd:[Alt+↓] | - | Move cursor to the last line of the area. | `+/cursor move edge_bottom+` | kbd:[Q] | チャット | 時間、プレフィックス、メッセージを引用 | `+hsignal:chat_quote_time_prefix_message;/cursor stop+`
// TRANSLATION MISSING | kbd:[b] | ニックネームリスト| ニックネームをバンする | `+/window ${_window_number};/ban ${nick}+`
| kbd:[Alt+←] | - | Move cursor to the first column of the area. | `+/cursor move edge_left+` | kbd:[k] | ニックネームリスト| ニックネームをキックする | `+/window ${_window_number};/kick ${nick}+`
// TRANSLATION MISSING | kbd:[K] | ニックネームリスト| ニックネームをバンとキックする | `+/window ${_window_number};/kickban ${nick}+`
| kbd:[Alt+→] | - | Move cursor to the last column of the area. | `+/cursor move edge_right+` | kbd:[q] | ニックネームリスト| ニックネームに対するクエリを開く | `+/window ${_window_number};/query ${nick};/cursor stop+`
// TRANSLATION MISSING | kbd:[w] | ニックネームリスト| ニックネームに対して whois を行う | `+/window ${_window_number};/whois ${nick}+`
| 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:[Enter] + | kbd:[Enter] +
kbd:[Ctrl+j] + kbd:[Ctrl+j] +
kbd:[Ctrl+m] | - | カーソルモードを終了 | `+/cursor stop+` kbd:[Ctrl+m] | - | カーソルモードを終了 | `+/cursor stop+`
|=== |===
// TRANSLATION MISSING // 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"] [width="100%",cols="^.^3,^.^3,^.^3,.^8,.^8",options="header"]
|=== |===
| ボタン/ホイール ^(1)^ | ジェスチャー | エリア | 説明 | コマンド | ボタン/ホイール ^(1)^ | ジェスチャー | エリア | 説明 | コマンド
| kbd:[■ □ □] | - | チャット | ウィンドウに移動 | `+/window ${_window_number}+` | ◾◽◽ | - | チャット | ウィンドウに移動 | `+/window ${_window_number}+`
| kbd:[■ □ □] | 左 | チャット | 前のバッファに移動 | `+/window ${_window_number};/buffer +1+` | ◾◽◽ | 左 | チャット | 前のバッファに移動 | `+/window ${_window_number};/buffer +1+`
| kbd:[■ □ □] | 右 | チャット | 次のバッファに移動 | `+/window ${_window_number};/buffer +1+` | ◾◽◽ | 右 | チャット | 次のバッファに移動 | `+/window ${_window_number};/buffer +1+`
| kbd:[■ □ □] | 左 (長く) | チャット | 最初のバッファに移動 | `+/window ${_window_number};/buffer 1+` | ◾◽◽ | 左 (長く) | チャット | 最初のバッファに移動 | `+/window ${_window_number};/buffer 1+`
| kbd:[■ □ □] | 右 (長く) | チャット | 最後のバッファに移動 | `+/window ${_window_number};/buffer ++` | ◾◽◽ | 右 (長く) | チャット | 最後のバッファに移動 | `+/window ${_window_number};/buffer ++`
| kbd:[▲] | - | チャット | バッファ履歴を上方向にスクロール | `+/window scroll_up -window ${_window_number}+` | kbd:[▲] | - | チャット | バッファ履歴を上方向にスクロール | `+/window scroll_up -window ${_window_number}+`
| kbd:[▼] | - | チャット | バッファ履歴を下方向にスクロール | `+/window scroll_down -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:[Ctrl+▼] | - | チャット | 水平右方向にスクロール | `+/window scroll_horiz -window ${_window_number} +10%+` | kbd:[Ctrl+▼] | - | チャット | 水平右方向にスクロール | `+/window scroll_horiz -window ${_window_number} +10%+`
// TRANSLATION MISSING // 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 // 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 // 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 // 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 // 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 // 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 // TRANSLATION MISSING
| kbd:[□ □ ■] | up / down | chat: fset buffer | Mark/unmark multiple options. | `+hsignal:fset_mouse+` | ◽◽◾ | up / down | chat: fset buffer | Mark/unmark multiple options. | `+hsignal:fset_mouse+`
// TRANSLATION MISSING | kbd:[▲] | - | チャット: スクリプトバッファ | スクリプトバッファを 5 行上方向にスクロール | `+/script up 5+`
| kbd:[▲] | - | chat: /list buffer | Move five lines up in /list buffer. | `+/list -up 5+` | kbd:[▼] | - | チャット: スクリプトバッファ | スクリプトバッファで 5 行下方向にスクロール | `+/script down 5+`
// TRANSLATION MISSING | ◾◽◽ | - | チャット: スクリプトバッファ | スクリプトバッファで行選択 | `+/script go ${_chat_line_y}+`
| kbd:[▼] | - | chat: /list buffer | Move five lines down in /list buffer. | `+/list -down 5+` | ◽◽◾ | - | チャット: スクリプトバッファ | スクリプトのインストール `+/ 削除 | /script go ${_chat_line_y};/script installremove ${script_name_with_extension}+`
// TRANSLATION MISSING | ◾◽◽ | 上 / 左 | バッファリスト | 指定したバッファを下の番号に移動 | `+buflist_mouse+` シグナル
| kbd:[■ □ □] | - | chat: /list buffer | Select line in /list buffer. | `+/window ${_window_number};/list -go ${_chat_line_y}+` | ◾◽◽ | 下 / 右 | バッファリスト | 指定したバッファを上の番号に移動 | `+buflist_mouse+` シグナル
// TRANSLATION MISSING | ◾◽◽ | - | バッファリスト | 指定したバッファに切り替える (現在のバッファを指定した場合、バッファ切り替え履歴で前のバッファに切り替える) | `+buflist_mouse+` シグナル
| kbd:[□ □ ■] | - | chat: /list buffer | Join IRC channel on selected line. | `+hsignal:irc_list_mouse+` | ◽◽◾ | - | バッファリスト | 現在のバッファを指定した場合、バッファ切り替え履歴で次のバッファに切り替える | `+buflist_mouse+` シグナル
| kbd:[▲] | - | チャット: スクリプトバッファ | スクリプトバッファを 5 行上方向にスクロール | `+/script up 5+` | kbd:[Ctrl+▲] | - | バッファリスト | バッファ切り替え履歴で前のバッファに切り替える | `+buflist_mouse+` シグナル
| kbd:[▼] | - | チャット: スクリプトバッファ | スクリプトバッファで 5 行下方向にスクロール | `+/script down 5+` | kbd:[Ctrl+▼] | - | バッファリスト | バッファ切り替え履歴で次のバッファに切り替える | `+buflist_mouse+` シグナル
| kbd:[■ □ □] | - | チャット: スクリプトバッファ | スクリプトバッファで行選択 | `+/script go ${_chat_line_y}+` | ◾◽◽ | | ニックネームリスト | ニックネームリストを 1 ページ分上方向にスクロール | `+/bar scroll nicklist ${_window_number} -100%+`
| kbd:[□ □ ■] | - | チャット: スクリプトバッファ | スクリプトのインストール `+/ 削除 | /script go ${_chat_line_y};/script installremove ${script_name_with_extension}+` | ◾◽◽ | | ニックネームリスト | ニックネームリストを 1 ページ分下方向にスクロール | `+/bar scroll nicklist ${_window_number} +100%+`
| kbd:[■ □ □] | 上 / 左 | バッファリスト | 指定したバッファを下の番号に移動 | `+buflist_mouse+` シグナル | ◾◽◽ | 上 (長く) | ニックネームリスト | ニックネームリストの最初に移動 | `+/bar scroll nicklist ${_window_number} b+`
| kbd:[■ □ □] | 下 / 右 | バッファリスト | 指定したバッファを上の番号に移動 | `+buflist_mouse+` シグナル | ◾◽◽ | 下 (長く) | ニックネームリスト | ニックネームリストの最後に移動 | `+/bar scroll nicklist ${_window_number} e+`
| kbd:[■ □ □] | - | バッファリスト | 指定したバッファに切り替える (現在のバッファを指定した場合、バッファ切り替え履歴で前のバッファに切り替える) | `+buflist_mouse+` シグナル | ◾◽◽ | - | ニックネームリスト | ニックネームに対するクエリを開く | `+/window ${_window_number};/query ${nick}+`
| kbd:[□ □ ■] | - | バッファリスト | 現在のバッファを指定した場合、バッファ切り替え履歴で次のバッファに切り替える | `+buflist_mouse+` シグナル | ◽◽◾ | - | ニックネームリスト | ニックネームに対する whois を行う | `+/window ${_window_number};/whois ${nick}+`
| kbd:[Ctrl+▲] | - | バッファリスト | バッファ切り替え履歴で前のバッファに切り替える | `+buflist_mouse+` シグナル | ◾◽◽ | | ニックネームリスト | ニックネームをキックする | `+/window ${_window_number};/kick ${nick}+`
| kbd:[Ctrl+▼] | - | バッファリスト | バッファ切り替え履歴で次のバッファに切り替える | `+buflist_mouse+` シグナル | ◾◽◽ | 左 (長く) | ニックネームリスト | ニックネームをキックとバンする | `+/window ${_window_number};/kickban ${nick}+`
| kbd:[■ □ □] | | ニックネームリスト | ニックネームリストを 1 ページ分上方向にスクロール | `+/bar scroll nicklist ${_window_number} -100%+` | ◽◽◾ | | ニックネームリスト | ニックネームをバンする | `+/window ${_window_number};/ban ${nick}+`
| kbd:[■ □ □] | | ニックネームリスト | ニックネームリストを 1 ページ分下方向にスクロール | `+/bar scroll nicklist ${_window_number} +100%+` | ◽◽◾ | - | 入力 | マウスイベントを奪ってコマンドラインにコードを入力 | `+/input grab_mouse_area+`
| kbd:[■ □ □] | 上 (長く) | ニックネームリスト | ニックネームリストの最初に移動 | `+/bar scroll nicklist ${_window_number} b+` | kbd:[▲] | - | 任意のバー | バーを -20% スクロール | `+/bar scroll ${_bar_name} ${_window_number} -20%+`
| kbd:[■ □ □] | 下 (長く) | ニックネームリスト | ニックネームリストの最後に移動 | `+/bar scroll nicklist ${_window_number} e+` | kbd:[▼] | - | 任意のバー | バーを +20% スクロール | `+/bar scroll ${_bar_name} ${_window_number} +20%+`
| kbd:[■ □ □] | - | ニックネームリスト | ニックネームに対するクエリを開 | `+/window ${_window_number};/query ${nick}+` | ◽◾◽ | - | 任意の場所 | この場所でカーソルモードを開 | `+/cursor go ${_x},${_y}+`
| 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}+`
|=== |===
[NOTE] [NOTE]
// TRANSLATION MISSING ^(1)^ kbd:[▲] と kbd:[▼] はホイールの上方向回転と下方向回転に対応します。
^(1)^ Buttons: +
kbd:[◼ □ □]: click on left button +
kbd:[□ ◼ □]: click on middle button +
kbd:[□ □ ◼]: click on right button +
Wheel: +
kbd:[▲]: wheel up +
kbd:[▼]: wheel down
// TRANSLATION MISSING // TRANSLATION MISSING
[[key_bindings_fset_buffer]] [[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:[F11] | `pass:[<]` | Scroll horizontally on the left. | `+/fset -left+`
| kbd:[F12] | `pass:[>]` | Scroll horizontally on the right. | `+/fset -right+` | kbd:[F12] | `pass:[>]` | Scroll horizontally on the right. | `+/fset -right+`
| kbd:[Alt+Space] | `t` | Toggle boolean value. | `+/fset -toggle+` | 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+-] | `-` | Subtract 1 from value for integer/color, 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++] | `+` | 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+r] | `r` | Reset value. | `+/fset -reset+`
| kbd:[Alt+f], kbd:[Alt+u] | `u` | Unset value. | `+/fset -unset+` | kbd:[Alt+f], kbd:[Alt+u] | `u` | Unset value. | `+/fset -unset+`
| kbd:[Alt+Enter] | `s` | Set value. | `+/fset -set+` | 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] [NOTE]
^(1)^ The action must be entered as input on the command line, followed by kbd:[Enter]. ^(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 // TRANSLATION MISSING
[[key_bindings_script_buffer]] [[key_bindings_script_buffer]]
=== 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│ │2.fset │weechat.look.bare_display_exit_on_input: exit the bare display mode on any c│
│ │hanges in input [default: on] │ │ │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.align_multiline_words boolean on │
│ │ weechat.look.bar_more_down string "++" │ │ │ weechat.look.bar_more_down string "++" │
│ │ weechat.look.bar_more_left 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_exit_on_input boolean on ##│
│ │ weechat.look.bare_display_time_format string "%H:%M" │ │ │ weechat.look.bare_display_time_format string "%H:%M" │
│ │ weechat.look.buffer_auto_renumber boolean on │ │ │ weechat.look.buffer_auto_renumber boolean on │
│ │ weechat.look.buffer_notify_default enum all │ │ │ weechat.look.buffer_notify_default integer all │
│ │ weechat.look.buffer_position enum end │ │ │ weechat.look.buffer_position integer end │
│ │ weechat.look.buffer_search_case_sensitive boolean off │ │ │ weechat.look.buffer_search_case_sensitive boolean off │
│ │ weechat.look.buffer_search_force_default boolean off │ │ │ weechat.look.buffer_search_force_default boolean off │
│ │ weechat.look.buffer_search_regex 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_format string "%H:%M:%S" │
│ │ weechat.look.buffer_time_same string "" │ │ │ weechat.look.buffer_time_same string "" │
│ │[12:55] [2] [fset] 2:fset │ │ │[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 integer null -> 0
irc.server.libera.away_check_max_nicks integer null -> 25 irc.server.libera.away_check_max_nicks integer null -> 25
irc.server.libera.capabilities string null -> "*" 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 string null -> ""
irc.server.libera.command_delay integer null -> 0 irc.server.libera.command_delay integer null -> 0
irc.server.libera.connection_timeout integer null -> 60 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.password string null -> ""
irc.server.libera.proxy string null -> "" irc.server.libera.proxy string null -> ""
irc.server.libera.realname 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_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_password string "${sec.data.libera}"
irc.server.libera.sasl_timeout integer null -> 15 irc.server.libera.sasl_timeout integer null -> 15
irc.server.libera.sasl_username string "alice" irc.server.libera.sasl_username string "alice"
@@ -4238,7 +4161,7 @@ CTCP 応答をカスタマイズしたり、いくつかの CTCP
例えば、CTCP "VERSION" 要求に対する応答をカスタマイズするには、以下のコマンドを使ってください: 例えば、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 // 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 応答を復元するには、オプションを削除してください: 標準の CTCP 応答を復元するには、オプションを削除してください:
@@ -4273,43 +4196,40 @@ CTCP "BLABLA" 要求に対する応答を以下のように設定できます:
/unset irc.ctcp.version /unset irc.ctcp.version
---- ----
// TRANSLATION MISSING 以下のコードを設定値に含めることが可能です。これらのコードは
The CTCP replies are evaluated (see command <<command_weechat_eval,/eval>>) and CTCP 応答時に自動的に WeeChat によって展開されます:
the following extra variables are available:
[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+`
| `+${clientinfo}+` | サポートしている CTCP オプションのリスト | `+ACTION DCC CLIENTINFO FINGER PING SOURCE TIME USERINFO VERSION+` | $version | WeeChat バージョン | `+0.4.0-dev+`
| `+${version}+` | WeeChat バージョン | `+4.1.0-dev+` | $versiongit | WeeChat バージョン + Git バージョン ^(1)^ | `+0.4.0-dev (git: v0.3.9-104-g7eb5cc4)+`
| `+${versiongit}+` | WeeChat バージョン + Git バージョン ^(1)^ | `+4.1.0-dev (git: v4.0.0-51-g8f98b922a)+` | $git | Git バージョン ^(1)^ | `+v0.3.9-104-g7eb5cc4+`
| `+${git}+` | Git バージョン ^(1)^ | `+v4.0.0-51-g8f98b922a+` | $compilation | WeeChat コンパイル日時 | `+Dec 16 2012+`
| `+${compilation}+` | WeeChat コンパイル日時 | `+Jul 8 2023 20:14:23+` | $osinfo | OS に関する情報 | `+Linux 2.6.32-5-amd64 / x86_64+`
| `+${osinfo}+` | OS に関する情報 | `+Linux 5.10.0-23-amd64 / x86_64+` | $site | WeeChat ウェブサイト | `+https://weechat.org/+`
| `+${site}+` | WeeChat ウェブサイト | `+https://weechat.org/+` | $download | WeeChat ウェブサイトのダウンロードページ | `+https://weechat.org/download/+`
| `+${download}+` | WeeChat ウェブサイトのダウンロードページ | `+https://weechat.org/download/+` | $time | 現在の日時 | `+Sun, 16 Dec 2012 10:40:48 +0100+`
| `+${time}+` | 現在の日時 | `+Sat, 08 Jul 2023 21:11:19 +0200+` | $username | IRC サーバ上で使うユーザ名 | `+name+`
| `+${username}+` | IRC サーバ上で使うユーザ名 | `+name+` | $realname | IRC サーバ上で使う実名 | `+John Doe+`
| `+${realname}+` | IRC サーバ上で使う実名 | `+John Doe+`
|=== |===
[NOTE] [NOTE]
^(1)^ git バージョンとは `git describe` コマンドの出力です。Git リポジトリで ^(1)^ git バージョンとは `git describe` コマンドの出力です。Git リポジトリで
WeeChat をコンパイルし、Git がインストールされている場合のみ値が設定されます。 WeeChat をコンパイルし、Git がインストールされている場合のみ値が設定されます。
// TRANSLATION MISSING CTCP オプションが設定されていない (デフォルトの) 場合、CTCP 応答は以下のようになります:
The default CTCP replies are:
[width="100%",cols="2,4,8",options="header"] [width="100%",cols="2,4,8",options="header"]
|=== |===
| CTCP | 応答書式 | 例 | CTCP | 応答書式 | 例
| CLIENTINFO | `+${clientinfo}+` | `+ACTION DCC CLIENTINFO FINGER PING SOURCE TIME USERINFO VERSION+` | CLIENTINFO | `+$clientinfo+` | `+ACTION DCC CLIENTINFO FINGER PING SOURCE TIME USERINFO VERSION+`
| FINGER | `+WeeChat ${version}+` | `+WeeChat 4.1.0-dev+` | FINGER | `+WeeChat $versiongit+` | `+WeeChat 0.4.0-dev (git: v0.3.9-104-g7eb5cc4)+`
| SOURCE | `+${download}+` | `+https://weechat.org/download/+` | SOURCE | `+$download+` | `+https://weechat.org/download/+`
| TIME | `+${time}+` | `+Sat, 08 Jul 2023 21:11:19 +0200+` | TIME | `+$time+` | `+Sun, 16 Dec 2012 10:40:48 +0100+`
| USERINFO | `+${username} (${realname})+` | `+name (John Doe)+` | USERINFO | `+$username ($realname)+` | `+name (John Doe)+`
| VERSION | `+WeeChat ${version}+` | `+WeeChat 4.1.0-dev+` | VERSION | `+WeeChat $versiongit ($compilation)+` | `+WeeChat 0.4.0-dev (git: v0.3.9-104-g7eb5cc4) (Dec 16 2012)+`
|=== |===
[[irc_target_buffer]] [[irc_target_buffer]]
+16 -28
View File
@@ -39,12 +39,15 @@ https://weechat.org/about/interfaces/[zdalnym interfejsom ^↗^^].
[[compile_git]] [[compile_git]]
=== Nie mogę skompilować WeeChat po sklonowaniu repozytorium git, dlaczego? === 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 ^↗^^] // TRANSLATION MISSING
w celu upewnienia się, że wszystkie wymagane zależności są zainstalowane. 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]] [[compile_macos]]
=== Jak zainstalować WeeChat na 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" /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]] [[global_history]]
=== Jak używać globalnej historii (zamiast historii buforu) za pomocą strzałek góra/dół? === 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 /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 // TRANSLATION MISSING
klawiszy, aby zobaczyć ich kod): 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 /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 Filtrowane linie są tylko ukrywane, nie usuwane, można je zobaczyć wyłączając
filtry (domyślnie kbd:[Alt+=] zmienia stan filtrów). filtry (domyślnie kbd:[Alt+=] zmienia stan filtrów).
// TRANSLATION MISSING
[[filter_irc_join_part_quit]] [[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]] [[filter_irc_join_channel_messages]]
=== Jak mogę filtrować wyświetlane wiadomości podczas wejścia na kanał IRC? === 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: Możesz skorzystać z tych samych porad jak dla <<memory_usage,memory>>, oraz tych:
// TRANSLATION MISSING * schowaj pasek "nicklist": `/bar hide nicklist`
* schowaj pasek "nicklist": `/bar hide nicklist` (key: kbd:[Alt+Shift+N]).
// TRANSLATION MISSING
* Disable "buflist": `/buflist disable` (key: kbd:[Alt+Shift+B]).
* usuń wyświetlanie sekund w czasie na pasku statusu: * usuń wyświetlanie sekund w czasie na pasku statusu:
`+/set weechat.look.item_time_format "%H:%M"+` (domyślna wartość) `+/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ś): * 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.clientinfo ""
/set irc.ctcp.finger ""
/set irc.ctcp.source "" /set irc.ctcp.source ""
/set irc.ctcp.time "" /set irc.ctcp.time ""
/set irc.ctcp.userinfo ""
/set irc.ctcp.version "" /set irc.ctcp.version ""
/set irc.ctcp.ping "" /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): Wyładuj i wyłącz automatyczne ładowanie wtyczki "xfer" (używanej przez IRC DCC):
---- ----
/plugin unload xfer /plugin unload xfer
+193 -247
View File
@@ -92,7 +92,8 @@ https://github.com/weechat/weechat-container[weechat-container ^↗^^].
[[source_package]] [[source_package]]
=== Pakiety źródłowe === Pakiety źródłowe
WeeChat musi być kompilowany przy użyciu CMake. // TRANSLATION MISSING
WeeChat must be built with CMake.
[NOTE] [NOTE]
Na macOS możesz użyć https://brew.sh/[Homebrew ^↗^^]: 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]] [[dependencies]]
==== Zależności ==== 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: WeeChat:
[width="100%",cols="5,^3,.^15",options="header"] [width="100%",cols="5,^3,.^15",options="header"]
|=== |===
| Pakiet ^(1)^ | Wersja | Funkcje | Pakiet ^(1)^ | Wersja | Funkcje
// TRANSLATION MISSING
| kompilator C (gcc / clang) | | kompilator C (gcc / clang) |
| Kompilacja źródeł C. | Compile C sources.
| cmake | ≥ 3.0 | cmake | ≥ 3.0
| Kompilacja. | Kompilacja.
@@ -117,7 +120,7 @@ WeeChat:
| pkg-config | | pkg-config |
| Wykrywa zainstalowane biblioteki. | Wykrywa zainstalowane biblioteki.
| libncurses-dev | | libncursesw5-dev ^(2)^ |
| Interfejs ncurses. | Interfejs ncurses.
| libcurl4-gnutls-dev | | libcurl4-gnutls-dev |
@@ -126,7 +129,7 @@ WeeChat:
| libgcrypt20-dev | | libgcrypt20-dev |
| Zabezpieczone dane, uwierzytelnianie IRC SASL. | 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 IRC: wsparcie dla połączeń TLS, autentykacja IRC SASL (ECDSA-NIST256P-CHALLENGE). +
Wtyczka relay: wsparcie dla połączeń TLS. Wtyczka relay: wsparcie dla połączeń TLS.
@@ -143,7 +146,10 @@ WeeChat:
[NOTE] [NOTE]
^(1)^ Nazwa pochodzi z repozytorium dystrybucji Debian GNU/Linux Bookworm distribution, ^(1)^ Nazwa pochodzi z repozytorium dystrybucji Debian GNU/Linux Bookworm distribution,
wersja i nazwa mogą się różnić dla innych dystrybucji. + 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. mechanizmu ECDSA-NIST256P-CHALLENGE.
The following table shows the list of packages that are optional to compile 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 # apt-get build-dep weechat
---- ----
// TRANSLATION MISSING
[[build]] [[build]]
==== Kompilacja ==== Build
* Instalacja w katalogach systemowych (wymaga uprawnień użytkownika _root_): * Instalacja w katalogach systemowych (wymaga uprawnień użytkownika _root_):
@@ -245,9 +252,10 @@ Lista popularnych opcji:
| ENABLE_DOC | `ON`, `OFF` | OFF | ENABLE_DOC | `ON`, `OFF` | OFF
| Generowanie dokumentacji HTML. | Generowanie dokumentacji HTML.
// TRANSLATION MISSING
| ENABLE_DOC_INCOMPLETE | `ON`, `OFF` | OFF | ENABLE_DOC_INCOMPLETE | `ON`, `OFF` | OFF
| Wymusza wygenerowanie dokumentacji nawet w przypadku jeśli nie wszystki | Force build of documentation even if some plugins are not compiled
wtyczki zostaną skompilowane (nie zalecane: dokumentacja nie będzie kompletna). (not recommended: docs will be incomplete).
| ENABLE_ENCHANT | `ON`, `OFF` | OFF | ENABLE_ENCHANT | `ON`, `OFF` | OFF
| Kompilacja <<spell_checking,wtyczki spell>> z Enchant. | Kompilacja <<spell_checking,wtyczki spell>> z Enchant.
@@ -342,8 +350,9 @@ Lub z interfejsem Curses:
$ ccmake .. $ ccmake ..
---- ----
// TRANSLATION MISSING
[[tests]] [[tests]]
==== Testy ==== Tests
Następujące pakiety są *wymagane* do kompilacji testów: 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"] [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` | config | $XDG_CONFIG_HOME/weechat | `$HOME/.config/weechat`
| data | $XDG_DATA_HOME/weechat | `$HOME/.local/share/weechat` | data | $XDG_DATA_HOME/weechat | `$HOME/.local/share/weechat`
| cache | $XDG_CACHE_HOME/weechat | `$HOME/.cache/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 | filter
| dowolny ciąg | dowolny ciąg
// TRANSLATION MISSING | Filtry zdefiniowane dla buforów jak `/fset`, `/server raw` (irc) i `/script`.
| Filter defined on some buffers like `/fset`, `/list` (irc), `/server raw` (irc)
and `/script`.
| host | host
| dowolny ciąg | dowolny ciąg
@@ -1446,22 +1454,6 @@ Opcje:
include::{autogendir}/autogen_user_options.pl.adoc[tag=buflist_options] 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]] [[key_bindings]]
== Skróty klawiszowe == Skróty klawiszowe
@@ -1483,18 +1475,24 @@ Można je zmienić oraz dodać nowe za pomocą komendy <<command_weechat_key,/ke
| kbd:[→] + | kbd:[→] +
kbd:[Shift+→] + kbd:[Shift+→] +
kbd:[Ctrl+f] | Idź do następnego znaku w linii poleceń. | `+/input move_next_char+` 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+` // TRANSLATION MISSING
| kbd:[Shift+] | Idź do następnej linii. | `+/input move_next_line+` | 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:[Ctrl+←] +
kbd:[Alt+b] | Idź do poprzedniego słowa w linii poleceń. | `+/input move_previous_word+` kbd:[Alt+b] | Idź do poprzedniego słowa w linii poleceń. | `+/input move_previous_word+`
| kbd:[Ctrl+→] + | kbd:[Ctrl+→] +
kbd:[Alt+f] | Idź do następnego słowa w linii poleceń. | `+/input move_next_word+` kbd:[Alt+f] | Idź do następnego słowa w linii poleceń. | `+/input move_next_word+`
// TRANSLATION MISSING
| kbd:[Home] + | kbd:[Home] +
kbd:[Ctrl+a] | Idź na początek obecnej linii. | `+/input move_beginning_of_line+` kbd:[Ctrl+a] | Go to the beginning of current line. | `+/input move_beginning_of_line+`
| kbd:[Shift+Home] | Idź na początek lini poleceń. | `+/input move_beginning_of_input+` // TRANSLATION MISSING
| kbd:[Shift+Home] | Go to the beginning of command line. | `+/input move_beginning_of_input+`
// TRANSLATION MISSING
| kbd:[End] + | kbd:[End] +
kbd:[Ctrl+e] | Idź na koniec obecnej linii. | `+/input move_end_of_line+` kbd:[Ctrl+e] | Go to the end of current line. | `+/input move_end_of_line+`
| kbd:[Shift+End] | Idż na koniec linii poleceń. | `+/input move_end_of_input+` // TRANSLATION MISSING
| kbd:[Shift+End] | Go to the end of command line. | `+/input move_end_of_input+`
|=== |===
[[key_bindings_cmdline_editing]] [[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:[Ctrl+d] | Usuń następny znak w linii poleceń. | `+/input delete_next_char+`
| kbd:[Backspace] + | kbd:[Backspace] +
kbd:[Ctrl+h] | Usuń poprzedni znak w linii poleceń. | `+/input delete_previous_char+` 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+` // TRANSLATION MISSING
| 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+` | 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+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+` // TRANSLATION MISSING
| 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+` | 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:[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+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+` | 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+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+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+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+` // TRANSLATION MISSING
| kbd:[Alt+R] | Usuń całą linię poleceń. | `+/input delete_input+` | 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]] [[key_bindings_cmdline_color_codes]]
@@ -1678,51 +1682,40 @@ zostanie wciśnięta w buforze tekstowym).
| kbd:[Enter] + | kbd:[Enter] +
kbd:[Ctrl+j] + kbd:[Ctrl+j] +
kbd:[Ctrl+m] | Zatrzymaj wyszukiwanie na obecnej pozycji. | `+/input search_stop_here+` 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]] [[key_bindings_cursor_context]]
=== Kursor === Kursor
// TRANSLATION MISSING
Te skróty są używane w kontekście kursora (dowolne przemieszczanie kursora na 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"] [width="100%",cols="^.^3,^.^2,.^7,.^7",options="header"]
|=== |===
| Skrót | Obszar | Opis | Komenda | Skrót | Obszar | Opis | Komenda
| kbd:[↑] | - | Przesuń kursor linię wyżej. | `+/cursor move up+` | kbd:[↑] | - | Przesuń kursor linię wyżej. | `+/cursor move up+`
| kbd:[↓] | - | Przesuń kursor linię niżej. | `+/cursor move down+` | kbd:[↓] | - | Przesuń kursor linię niżej. | `+/cursor move down+`
| kbd:[←] | - | Przesuń kursor kolumnę w lewo. | `+/cursor move left+` | kbd:[←] | - | Przesuń kursor kolumnę w lewo. | `+/cursor move left+`
| kbd:[→] | - | Przesuń kursor kolumnę w prawo. | `+/cursor move right+` | 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 // TRANSLATION MISSING
| kbd:[Alt+↑] | - | Move cursor to the first line of the area. | `+/cursor move edge_top+` | kbd:[l] | chat | Quote focused line. | `+hsignal:chat_quote_focused_line;/cursor stop+`
// TRANSLATION MISSING | kbd:[q] | chat | Cytuj prefiks i wiadomość. | `+hsignal:chat_quote_prefix_message;/cursor stop+`
| kbd:[Alt+↓] | - | Move cursor to the last line of the area. | `+/cursor move edge_bottom+` | kbd:[Q] | chat | Cytuj czas, prefiks i wiadomość. | `+hsignal:chat_quote_time_prefix_message;/cursor stop+`
// TRANSLATION MISSING | kbd:[b] | nicklist | Zbanuj osobę. | `+/window ${_window_number};/ban ${nick}+`
| kbd:[Alt+←] | - | Move cursor to the first column of the area. | `+/cursor move edge_left+` | kbd:[k] | nicklist | Wykop osobę. | `+/window ${_window_number};/kick ${nick}+`
// TRANSLATION MISSING | kbd:[K] | nicklist | Wykop i zbanuj osobę. | `+/window ${_window_number};/kickban ${nick}+`
| kbd:[Alt+→] | - | Move cursor to the last column of the area. | `+/cursor move edge_right+` | kbd:[q] | nicklist | Otwórz rozmowę z osobą. | `+/window ${_window_number};/query ${nick};/cursor stop+`
// TRANSLATION MISSING | kbd:[w] | nicklist | Wykonaj whois dla osoby. | `+/window ${_window_number};/whois ${nick}+`
| 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:[Enter] + | kbd:[Enter] +
kbd:[Ctrl+j] + kbd:[Ctrl+j] +
kbd:[Ctrl+m] | - | Wyłącz tryb kursora. | `/cursor stop` kbd:[Ctrl+m] | - | Wyłącz tryb kursora. | `/cursor stop`
|=== |===
[[key_bindings_mouse]] [[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"] [width="100%",cols="^.^3,^.^3,^.^3,.^8,.^8",options="header"]
|=== |===
| Klawisz/Wheel ^(1)^ | Gest | Obszar | Opis | Komenda | Klawisz/Wheel ^(1)^ | Gest | Obszar | Opis | Komenda
| kbd:[■ □ □] | - | chat | Przełącz na okno. | `+/window ${_window_number}+` | ◾◽◽ | - | chat | Przełącz na okno. | `+/window ${_window_number}+`
| kbd:[■ □ □] | lewo | chat | Przełącz na poprzedni bufor. | `+/window ${_window_number};/buffer +1+` | ◾◽◽ | 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+` | ◾◽◽ | 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+` | ◾◽◽ | 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 ++` | ◾◽◽ | 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 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:[▼] | - | 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 lewo. | `+/window scroll_horiz -window ${_window_number} -10%+`
| kbd:[Ctrl+▼] | - | chat | Przewiń poziomo w prawo. | `+/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 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 | 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}+` | ◾◽◽ | - | chat: bufor fset | Zaznacz linię b buforze fset. | `+/window ${_window_number};/fset -go ${_chat_line_y}+`
| kbd:[□ □ ■] | - | chat: bufor fset | Przełącz (włącz/wyłącz) lub edytuj wartośc opcji. | `+hsignal:fset_mouse+` | ◽◽◾ | - | chat: bufor fset | Przełącz (włącz/wyłącz) lub edytuj wartośc opcji. | `+hsignal:fset_mouse+`
// TRANSLATION MISSING | ◽◽◾ | left | chat: bufor fset | Zmniejsz wartość zmiennej liczbowej / koloru, ustaw/rozszerz wartośc innego typu. | `+hsignal:fset_mouse+`
| kbd:[□ □ ■] | left | chat: bufor fset | Zmniejsz wartość zmiennej liczbowej / koloru / enum, 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+`
// TRANSLATION MISSING | ◽◽◾ | up / down | chat: bufor fset | Zaznacz/odznacz wiele opcji. | `+hsignal:fset_mouse+`
| 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+`
| 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 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 | 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}+` | ◾◽◽ | - | 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}+` | ◽◽◾ | - | 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+`. | ◾◽◽ | 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+`. | ◾◽◽ | 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+`. | ◾◽◽ | - | 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+`. | ◽◽◾ | - | 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 poprzedni bufor. | Sygnał `+buflist_mouse+`.
| kbd:[Ctrl+▼] | - | buflist | Przełącz na następny 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%+` | ◾◽◽ | 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%+` | ◾◽◽ | 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+` | ◾◽◽ | 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+` | ◾◽◽ | 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}+` | ◾◽◽ | - | 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}+` | ◽◽◾ | - | lista nicków | Wykonaj whois dla nicka. | `+/window ${_window_number};/whois ${nick}+`
| kbd:[■ □ □] | lewo | lista nicków | Wykop nick. | `+/window ${_window_number};/kick ${nick}+` | ◾◽◽ | 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}+` | ◾◽◽ | 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}+` | ◽◽◾ | 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+` | ◽◽◾ | - | 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:[▼] | - | 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] [NOTE]
// TRANSLATION MISSING ^(1)^ kbd:[▲] i kbd:[▼] to przewijanie rolką myszy w górę i w dół.
^(1)^ Buttons: +
kbd:[◼ □ □]: click on left button +
kbd:[□ ◼ □]: click on middle button +
kbd:[□ □ ◼]: click on right button +
Wheel: +
kbd:[▲]: wheel up +
kbd:[▼]: wheel down
[[key_bindings_fset_buffer]] [[key_bindings_fset_buffer]]
=== Bufor fset === 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:[F11] | `pass:[<]` | Przewiń poziomo w lewo. | `+/fset -left+`
| kbd:[F12] | `pass:[>]` | Przewiń poziomo w prawo. | `+/fset -right+` | kbd:[F12] | `pass:[>]` | Przewiń poziomo w prawo. | `+/fset -right+`
| kbd:[Alt+Space] | `t` | Przełącz zmienną boolowską. | `+/fset -toggle+` | kbd:[Alt+Space] | `t` | Przełącz zmienną boolowską. | `+/fset -toggle+`
// TRANSLATION MISSING | kbd:[Alt+-] | `-` | Odejmij 1 od wartości liczbowej/koloru, ustaw wartość pozostałych typów. | `+/fset -del -1+`
| kbd:[Alt+-] | `-` | Odejmij 1 od wartości liczbowej/koloru/enum, 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+`
// 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+f], kbd:[Alt+r] | `r` | Zresetuj wartość. | `+/fset -reset+` | kbd:[Alt+f], kbd:[Alt+r] | `r` | Zresetuj wartość. | `+/fset -reset+`
| kbd:[Alt+f], kbd:[Alt+u] | `u` | Skasuj wartość. | `+/fset -unset+` | kbd:[Alt+f], kbd:[Alt+u] | `u` | Skasuj wartość. | `+/fset -unset+`
| kbd:[Alt+Enter] | `s` | Ustaw wartość. | `+/fset -set+` | 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] [NOTE]
^(1)^ Akcja musi zostać wprowadzona z linii poleceń i potwierdzona przez kbd:[Enter]. ^(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]] [[key_bindings_script_buffer]]
=== Bufor skryptów === 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│ │2.fset │weechat.look.bare_display_exit_on_input: exit the bare display mode on any c│
│ │hanges in input [default: on] │ │ │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.align_multiline_words boolean on │
│ │ weechat.look.bar_more_down string "++" │ │ │ weechat.look.bar_more_down string "++" │
│ │ weechat.look.bar_more_left 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_exit_on_input boolean on ##│
│ │ weechat.look.bare_display_time_format string "%H:%M" │ │ │ weechat.look.bare_display_time_format string "%H:%M" │
│ │ weechat.look.buffer_auto_renumber boolean on │ │ │ weechat.look.buffer_auto_renumber boolean on │
│ │ weechat.look.buffer_notify_default enum all │ │ │ weechat.look.buffer_notify_default integer all │
│ │ weechat.look.buffer_position enum end │ │ │ weechat.look.buffer_position integer end │
│ │ weechat.look.buffer_search_case_sensitive boolean off │ │ │ weechat.look.buffer_search_case_sensitive boolean off │
│ │ weechat.look.buffer_search_force_default boolean off │ │ │ weechat.look.buffer_search_force_default boolean off │
│ │ weechat.look.buffer_search_regex 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_format string "%H:%M:%S" │
│ │ weechat.look.buffer_time_same string "" │ │ │ weechat.look.buffer_time_same string "" │
│ │[12:55] [2] [fset] 2:fset │ │ │[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 integer null -> 0
irc.server.libera.away_check_max_nicks integer null -> 25 irc.server.libera.away_check_max_nicks integer null -> 25
irc.server.libera.capabilities string null -> "*" 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 string null -> ""
irc.server.libera.command_delay integer null -> 0 irc.server.libera.command_delay integer null -> 0
irc.server.libera.connection_timeout integer null -> 60 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.password string null -> ""
irc.server.libera.proxy string null -> "" irc.server.libera.proxy string null -> ""
irc.server.libera.realname 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_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_password string "${sec.data.libera}"
irc.server.libera.sasl_timeout integer null -> 15 irc.server.libera.sasl_timeout integer null -> 15
irc.server.libera.sasl_username string "alice" 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_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>> * <<option_weechat.look.item_away_message,weechat.look.item_away_message>>
// TRANSLATION MISSING
[[irc_ircv3_batch]] [[irc_ircv3_batch]]
==== 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 This capability allows the server to send batched events (grouping of several
wiadomości). messages that are related).
Obecnie WeeChat tylko przechowuje wiadomości odebrane w seri i przetwarza je w normalny For now, WeeChat only stores messages received in a batch and processes as usual
sposób, po zakończeniu seri. later, when the batch ends.
[[irc_ircv3_cap_notify]] [[irc_ircv3_cap_notify]]
==== cap-notify ==== cap-notify
@@ -3769,7 +3710,7 @@ Przykłady:
Specyfikacja: https://ircv3.net/specs/extensions/chghost[chghost ^↗^^] 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>> 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 jest włączona (domyślna wartość), zmiany hosta są domyślnie ukrywane jeśli dany
nick nie odzywał się od kilku minut. + nick nie odzywał się od kilku minut. +
@@ -3782,44 +3723,45 @@ Przykłady:
-- alice (user@example.com) zmienił hosta na test.com -- alice (user@example.com) zmienił hosta na test.com
.... ....
// TRANSLATION MISSING
[[irc_ircv3_draft_multiline]] [[irc_ircv3_draft_multiline]]
==== 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, This capability allows the client and server to send messages with multiple lines,
za pomocą właściwości <<irc_ircv3_batch,batch>>, która również musi być włączona. 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 There are limits in term of bytes or number of lines in a multiline message
właściwości wysyłanej przez serwer, na przykład: that are given in the capability sent by the server, for example:
.... ....
CAP alice LS * :draft/multiline=max-bytes=4096,max-lines=24 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 * max bytes: 4096
* ilość lin: 24 * max lines: 24
Tylko standardowe wiadmości oraz te wysyłane przez polecenie <<command_irc_notice,/notice>> Only standard messages and those send by the <<command_irc_notice,/notice>>
mogą mieć wiele linii. + command can be multiline. +
Ta właściwość nie ma wpływu na wiadomości ACTION CTCP wysyłane przez polecenie ACTION CTCP messages sent with command <<command_irc_me,/me>> are not affected
<<command_irc_me,/me>>. Oznacza to ze wieloliniowe akcje wysyłane są jako wiele akcji. by this capability. That means multiline actions are sent as multiple actions.
[WARNING] [WARNING]
Ponieważ specyfikacja jest "szkicem" może się zmienić i wsparcie dla tej właściwości As the specification is a "draft", it may change and the multiline support can
w WeeChat może się zepsuć w dowolnym momencie. + possibly break at any time in WeeChat. +
Wsparcie dla tej właściwości jest automatycznie włączane jeśli serwer ją wspiera, The capability is automatically enabled if the server supports it and can be
można ją wyłączyć za pomocą polecenia: disabled with this command:
`/set irc.server_default.capabilities "*,!draft/multiline"`. + `/set irc.server_default.capabilities "*,!draft/multiline"`. +
Kiedy wsparcie jest wyłączone, wieloliniowe wiadomości są wysyłane jako wiele wiadomości, When the capability is disabled, a multiline message is sent as multiple messages,
tak jakby były wysyłane sekwencyjnie do serwera. as if they were sent sequentially to the server.
Przykład wiadomości IRC wysłanych dla wiadomości użytkownika z dwoma liniami Example of IRC messages sent for a user message with two lines (`this is a test`
(`this is a test` / `on two lines`), wysłane na kanał #test: / `on two lines`), send to channel #test:
.... ....
BATCH +i8Je7M7gquddoyC9 draft/multiline #test BATCH +i8Je7M7gquddoyC9 draft/multiline #test
@@ -3828,25 +3770,26 @@ BATCH +i8Je7M7gquddoyC9 draft/multiline #test
BATCH -i8Je7M7gquddoyC9 BATCH -i8Je7M7gquddoyC9
.... ....
Wiadomość wyświetlana w WeeChat: Display of the message sent in WeeChat:
.... ....
19:01:45 alice | this is a test 19:01:45 alice | this is a test
| on two lines | on two lines
.... ....
// TRANSLATION MISSING
[[irc_ircv3_echo_message]] [[irc_ircv3_echo_message]]
==== 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 This capability forces the server to send PRIVMSG, NOTICE and TAGMSG messages
spowrotem do WeeChat. back to WeeChat.
WeeChat wyświetla tylko otrzymane wiadomości, dlatego można zaobserwować pewne WeeChat displays only the message received and not the message sent, so a delay
opóźnienia pomiędzy wysłaniem a wyświetleniem wiadomości. Kiedy wiadomość zostanie can be noticed between the send and the display. When the message is displayed,
wyświetlona, oznacza to, że została ona poprawnie odebrana przez serwer i przesłana it means it has been properly received by the server and propagated to other
do innych połączonych klientów. clients connected to the server as well.
[[irc_ircv3_extended_join]] [[irc_ircv3_extended_join]]
==== extended-join ==== extended-join
@@ -4053,11 +3996,12 @@ W celu zamknięcia prywatnego buforu możesz wykonać to polecenie w prywatnym b
/close /close
---- ----
// TRANSLATION MISSING
[[irc_smart_filter]] [[irc_smart_filter]]
=== Inteligentne filtry === Smart filter
Inteligentne filtry są dostępne dla filtrowania części wiadomości w przypadku, A smart filter is available to filter some messages when someone did not write
kiedy ktoś nic nie napisał na kanale w określonym czasie: anything in the channel during a configurable delay:
- join: user joins the channel - join: user joins the channel
- part: user leaves 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 - nick: user changes its nick
- setname: user changes its real name - setname: user changes its real name
Intgeligentne filtry są domyślnie włączone, ale musisz dodać filtr ukrywający Smart filter is enabled by default, but you must add a filter to hide lines on
wiadomości w buforach, na przydład: buffers, for example:
---- ----
/filter add irc_smart * irc_smart_filter * /filter add irc_smart * irc_smart_filter *
---- ----
Można stworzyć filtry dla pojedynczego kanału lub kanałów, których nazwy It is possible to create filter for one channel only or channels beginning with
zaczynają się tak samo (zobacz `/help filter`): same name (see `/help filter`):
---- ----
/filter add irc_smart_weechat irc.libera.#weechat* irc_smart_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 /set irc.look.smart_filter_delay 10
---- ----
Jeśli ktoś nie napiał nic w ciągu ostatnich 10 minut, jego wiadomości jak If someone did not write anything during last 10 minutes, its messages like
join/part/quit zostaną domyślnie ukryte na kanale. Można użyć skrótu kbd:[Alt+=] join/part/quit will be hidden by default on channel, and you can use key
(przełącz filtry) żeby je zobaczyć. kbd:[Alt+=] (toggle filters) to see them.
[[irc_ctcp_replies]] [[irc_ctcp_replies]]
=== Odpowiedzi CTCP === Odpowiedzi CTCP
@@ -4102,12 +4046,13 @@ Na przykład, ustawianie własnej odpowiedzi na CTCP "VERSION", możliwe jest za
pomocą polecenia: 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] [NOTE]
Nazwa wiadomości CTCP musi być pisana małymi literami. Oznacza to, że ustawienie The name of CTCP must be in lower case. That means option _irc.ctcp.VERSION_
opcji _irc.ctcp.VERSION_ nie zadziała. would not work.
Jeśli chcesz zablokować CTCP "VERSION" (nie odpowiadać na zapytanie), ustaw Jeśli chcesz zablokować CTCP "VERSION" (nie odpowiadać na zapytanie), ustaw
pusty ciąg: 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: 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ę: 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 /unset irc.ctcp.version
---- ----
// TRANSLATION MISSING Następujące kody mogą być użyte w ciągach i zostaną automatycznie zamienione
The CTCP replies are evaluated (see command <<command_weechat_eval,/eval>>) and przez WeeChat podczas odpowiedzi na CTCP:
the following extra variables are available:
[width="100%",cols="2,4,8",options="header"] [width="100%",cols="2l,4,8",options="header"]
|=== |===
// TRANSLATION MISSING | Kod | Opis | Wartość/Przykład
| Variable | Opis | Wartość/Przykład | $clientinfo | Lista wspieranych CTCP | `+ACTION DCC CLIENTINFO FINGER PING SOURCE TIME USERINFO VERSION+`
| `+${clientinfo}+` | Lista wspieranych CTCP | `+ACTION DCC CLIENTINFO FINGER PING SOURCE TIME USERINFO VERSION+` | $version | Wersja WeeChat | `+0.4.0-dev+`
| `+${version}+` | Wersja WeeChat | `+4.1.0-dev+` | $versiongit | Wersja WeeChat + wersja Git ^(1)^ | `+0.4.0-dev (git: v0.3.9-104-g7eb5cc4)+`
| `+${versiongit}+` | Wersja WeeChat + wersja Git ^(1)^ | `+4.1.0-dev (git: v4.0.0-51-g8f98b922a)+` | $git | Wersja git ^(1)^ | `+v0.3.9-104-g7eb5cc4+`
| `+${git}+` | Wersja git ^(1)^ | `+v4.0.0-51-g8f98b922a+` | $compilation | Data kompilacji WeeChat | `+Dec 16 2012+`
| `+${compilation}+` | Data kompilacji WeeChat | `+Jul 8 2023 20:14:23+` | $osinfo | Informacje o systemie operacyjnym | `+Linux 2.6.32-5-amd64 / x86_64+`
| `+${osinfo}+` | Informacje o systemie operacyjnym | `+Linux 5.10.0-23-amd64 / x86_64+` | $site | Strona WeeChat | `+https://weechat.org/+`
| `+${site}+` | Strona WeeChat | `+https://weechat.org/+` | $download | Strona WeeChat, pobieranie | `+https://weechat.org/download/+`
| `+${download}+` | Strona WeeChat, pobieranie | `+https://weechat.org/download/+` | $time | Obecna data/czas | `+Sun, 16 Dec 2012 10:40:48 +0100+`
| `+${time}+` | Obecna data/czas | `+Sat, 08 Jul 2023 21:11:19 +0200+` | $username | Nazwa użytkownika na serwerze IRC | `+name+`
| `+${username}+` | Nazwa użytkownika na serwerze IRC | `+name+` | $realname | Prawdziwa nazwa na serwerze IRC | `+John Doe+`
| `+${realname}+` | Prawdziwa nazwa na serwerze IRC | `+John Doe+`
|=== |===
[NOTE] [NOTE]
^(1)^ Wersja git jest wynikiem komendy `git describe`. Jest dostępna tylko jeśli ^(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. WeeChat został skompilowany wewnątrz repozytorium Git i Git był zainstalowany.
// TRANSLATION MISSING Jeśli opcje CTCP nie są zdefiniowane (domyślne), odpowiedzi CTCP to:
The default CTCP replies are:
[width="100%",cols="2,4,8",options="header"] [width="100%",cols="2,4,8",options="header"]
|=== |===
| CTCP | Format odpowiedzi | Przykład | CTCP | Format odpowiedzi | Przykład
| CLIENTINFO | `+${clientinfo}+` | `+ACTION DCC CLIENTINFO FINGER PING SOURCE TIME USERINFO VERSION+` | CLIENTINFO | `+$clientinfo+` | `+ACTION DCC CLIENTINFO FINGER PING SOURCE TIME USERINFO VERSION+`
| FINGER | `+WeeChat ${version}+` | `+WeeChat 4.1.0-dev+` | FINGER | `+WeeChat $versiongit+` | `+WeeChat 0.4.0-dev (git: v0.3.9-104-g7eb5cc4)+`
| SOURCE | `+${download}+` | `+https://weechat.org/download/+` | SOURCE | `+$download+` | `+https://weechat.org/download/+`
| TIME | `+${time}+` | `+Sat, 08 Jul 2023 21:11:19 +0200+` | TIME | `+$time+` | `+Sun, 16 Dec 2012 10:40:48 +0100+`
| USERINFO | `+${username} (${realname})+` | `+name (John Doe)+` | USERINFO | `+$username ($realname)+` | `+name (John Doe)+`
| VERSION | `+WeeChat ${version}+` | `+WeeChat 4.1.0-dev+` | VERSION | `+WeeChat $versiongit ($compilation)+` | `+WeeChat 0.4.0-dev (git: v0.3.9-104-g7eb5cc4) (Dec 16 2012)+`
|=== |===
[[irc_target_buffer]] [[irc_target_buffer]]
@@ -4717,8 +4659,9 @@ Składnia dla komend/tekstu przekazywanego do kolejki FIFO wygląda następując
*tekst lub komenda *tekst lub komenda
.... ....
Backslashe mogą być użyte w tym formacie zastępując `*` przez `\`, pozwalając // TRANSLATION MISSING
na przykład wysyłanie wiadomości wieloliniowych: Backslashes can be interpreted with this format, where `*` is replaced by `\`,
allowing for example to send multiline messages:
.... ....
plugin.buffer \text or command here 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 $ 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ść // TRANSLATION MISSING
"draft/multiline" jest włączona na serwerze ergo: * 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 $ 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". | tg_msg_pv | ciąg | "1" dla prywatnej wiadomości, inaczej "0".
|=== |===
// TRANSLATION MISSING
[NOTE] [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]] [[trigger_data_print]]
==== 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". | tg_msg_pv | ciąg | "1" dla prywatnej wiadomości, inaczej "0".
|=== |===
// TRANSLATION MISSING
[NOTE] [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]] [[trigger_data_command]]
==== Command ==== Command
+6 -6
View File
@@ -283,7 +283,6 @@ WeeChat „језгро” се налази у следећим директо
|       irc-info.c | IRC info/infolists/hdata. |       irc-info.c | IRC info/infolists/hdata.
|       irc-input.c | Унос команди/текста. |       irc-input.c | Унос команди/текста.
|       irc-join.c | Функције за листе канала којима се приступа. |       irc-join.c | Функције за листе канала којима се приступа.
|       irc-list.c | Бафер за одговор на /list команду.
|       irc-message.c | Функције за манипулисање IRC порукама. |       irc-message.c | Функције за манипулисање IRC порукама.
|       irc-mode.c | Функције у вези режима канала/надимка. |       irc-mode.c | Функције у вези режима канала/надимка.
|       irc-modelist.c | Листе режима IRC канала (+b, +e, +I, ...). |       irc-modelist.c | Листе режима IRC канала (+b, +e, +I, ...).
@@ -439,10 +438,8 @@ WeeChat „језгро” се налази у следећим директо
|             test-irc-channel.cpp | Тестови: IRC канали. |             test-irc-channel.cpp | Тестови: IRC канали.
|             test-irc-color.cpp | Тестови: IRC боје. |             test-irc-color.cpp | Тестови: IRC боје.
|             test-irc-config.cpp | Тестови: IRC конфигурација. |             test-irc-config.cpp | Тестови: IRC конфигурација.
|             test-irc-ctcp.cpp | Тестови: IRC CTCP.
|             test-irc-ignore.cpp | Тестови: IRC игнорисања. |             test-irc-ignore.cpp | Тестови: IRC игнорисања.
|             test-irc-join.cpp | Тестови: IRC функције приступања. |             test-irc-join.cpp | Тестови: IRC функције приступања.
|             test-irc-list.cpp | Тестови: IRC бафер за одговор на /list команду.
|             test-irc-message.cpp | Тестови: IRC поруке. |             test-irc-message.cpp | Тестови: IRC поруке.
|             test-irc-mode.cpp | Тестови: IRC режими. |             test-irc-mode.cpp | Тестови: IRC режими.
|             test-irc-nick.cpp | Тестови: IRC надимци. |             test-irc-nick.cpp | Тестови: IRC надимци.
@@ -453,7 +450,8 @@ WeeChat „језгро” се налази у следећим директо
|          logger/ | Корен unit тестива за logger додатак. |          logger/ | Корен unit тестива за logger додатак.
|             test-logger.cpp | Тестови: logger. |             test-logger.cpp | Тестови: logger.
|             test-logger-backlog.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 тестова за окидач додатак. |          trigger/ | Корен unit тестова за окидач додатак.
|             test-trigger.cpp | Тестови: окидачи. |             test-trigger.cpp | Тестови: окидачи.
|             test-trigger-config.cpp | Тестови: конфигурација окидача. |             test-trigger-config.cpp | Тестови: конфигурација окидача.
@@ -462,8 +460,10 @@ WeeChat „језгро” се налази у следећим директо
|             test-typing-status.cpp | Тестови: typing статус. |             test-typing-status.cpp | Тестови: typing статус.
|          relay/ | Корен unit тестова за Релеј додатак. |          relay/ | Корен unit тестова за Релеј додатак.
|             test-relay-auth.cpp | Тестови: аутентификација клијената. |             test-relay-auth.cpp | Тестови: аутентификација клијената.
|             irc/ | Корен unit тестова за Релеј „irc” протокол. // TRANSLATION MISSING
|                test-relay-irc.cpp | Тестови: РЕлеј „irc” протокол. |             irc/ | Root of unit tests for Relay "irc" protocol.
// TRANSLATION MISSING
|                test-relay-irc.cpp | Tests: Relay "irc" protocol.
|          xfer/ | Корен unit тестова за Xfer додатак. |          xfer/ | Корен unit тестова за Xfer додатак.
|             test-xfer-file.cpp | Тестови: фајл функције. |             test-xfer-file.cpp | Тестови: фајл функције.
|             test-xfer-network.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" /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]] [[global_history]]
=== Како да се тастерима горе и доле користи глобална историја (уместо историје бафера)? === Како да се тастерима горе и доле користи глобална историја (уместо историје бафера)?
@@ -963,10 +957,7 @@ export OBJC_DISABLE_INITIALIZE_FORK_SAFETY=YES
Можете да следите исте савете као за <<memory_usage,меморију>>, као и следеће: Можете да следите исте савете као за <<memory_usage,меморију>>, као и следеће:
// TRANSLATION MISSING * Сакријте „nicklist” траку: `/bar hide nicklist`.
* Сакријте „nicklist” траку: `/bar hide nicklist` (key: kbd:[Alt+Shift+N]).
// TRANSLATION MISSING
* Disable "buflist": `/buflist disable` (key: kbd:[Alt+Shift+B]).
* Уклоните приказ секунди из времена у статусној траци: `+/set weechat.look.item_time_format "%H:%M"+` (ово је и подразумевана вредност). * Уклоните приказ секунди из времена у статусној траци: `+/set weechat.look.item_time_format "%H:%M"+` (ово је и подразумевана вредност).
* Искључите проверу неисправно написаних речи у командној линији у реалном времену (ако сте је укључили): `+/set spell.check.real_time off+`. * Искључите проверу неисправно написаних речи у командној линији у реалном времену (ако сте је укључили): `+/set spell.check.real_time off+`.
* Поставите променљиву _TZ_ (на пример: `export TZ="Europe/Paris"`), тиме спречавате чест приступ фајлу _/etc/localtime_. * Поставите променљиву _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.clientinfo ""
/set irc.ctcp.finger ""
/set irc.ctcp.source "" /set irc.ctcp.source ""
/set irc.ctcp.time "" /set irc.ctcp.time ""
/set irc.ctcp.userinfo ""
/set irc.ctcp.version "" /set irc.ctcp.version ""
/set irc.ctcp.ping "" /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): Уклоните из меморије и искључите ауто учитавање „xfer” додатка (користи се за IRC DCC):
---- ----
+76 -188
View File
@@ -6685,7 +6685,7 @@ section = weechat.config_search_section(config_file, "section")
==== config_new_option ==== config_new_option
_Ажурирано у верзији 1.5, 4.1.0._ _Ажурирано у верзији 1.5._
Креира нову опцију у одељку конфигурационог фајла. Креира нову опцију у одељку конфигурационог фајла.
@@ -6730,13 +6730,11 @@ struct t_config_option *weechat_config_new_option (
* _name_: име опције; у програм у WeeChat верзије ≥ 1.4, име може да укључи и име родитељске опције (у случају да је ова опција „null”, вредност родитељске опције ће се приказати у излазу команде `/set`), тада је синтакса: „име << фајл.одељак.опција” * _name_: име опције; у програм у WeeChat верзије ≥ 1.4, име може да укључи и име родитељске опције (у случају да је ова опција „null”, вредност родитељске опције ће се приказати у излазу команде `/set`), тада је синтакса: „име << фајл.одељак.опција”
* _type_: тип опције: * _type_: тип опције:
** _boolean_: логичка вредност (on/off) ** _boolean_: логичка вредност (on/off)
** _integer_: целобројна вредност ** _integer_: целобројна вредност (са стринговима за вредности који нису обавезни)
** _string_: стринг вредност ** _string_: стринг вредност
** _color_: боја ** _color_: боја
** _enum_: листа стринг вредности (интерно се чува као цео број)
* _description_: опис опције * _description_: опис опције
* _string_values_: вредности као стринг (раздвојене са `+|+`) (није обавезно, потребно је * _string_values_: вредности као стринг (раздвојене са `+|+`), користе се за _integer_ тип (није обавезно)
за тип _enum_)
* _min_: минимална вредност (за _integer_ тип) * _min_: минимална вредност (за _integer_ тип)
* _max_: максимална вредност (за _integer_ тип) * _max_: максимална вредност (за _integer_ тип)
* _default_value_: подразумевана вредност опције (користи се када се опција ресетује) * _default_value_: подразумевана вредност опције (користи се када се опција ресетује)
@@ -6774,8 +6772,8 @@ C пример:
[source,c] [source,c]
---- ----
/* логичка */ /* логичка */
struct t_config_option *option_bool = struct t_config_option *option1 =
weechat_config_new_option (config_file, section, "option_bool", "boolean", weechat_config_new_option (config_file, section, "option1", "boolean",
"My option, type boolean", "My option, type boolean",
NULL, NULL,
0, 0, 0, 0,
@@ -6787,8 +6785,8 @@ struct t_config_option *option_bool =
NULL, NULL, NULL); NULL, NULL, NULL);
/* целобројна */ /* целобројна */
struct t_config_option *option_int = struct t_config_option *option2 =
weechat_config_new_option (config_file, section, "option_int", "integer", weechat_config_new_option (config_file, section, "option2", "integer",
"My option, type integer", "My option, type integer",
NULL, NULL,
0, 100, 0, 100,
@@ -6799,9 +6797,22 @@ struct t_config_option *option_int =
NULL, NULL, NULL, NULL, NULL, NULL,
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 = struct t_config_option *option4 =
weechat_config_new_option (config_file, section, "option_str", "string", weechat_config_new_option (config_file, section, "option4", "string",
"My option, type string", "My option, type string",
NULL, NULL,
0, 0, 0, 0,
@@ -6813,8 +6824,8 @@ struct t_config_option *option_str =
NULL, NULL, NULL); NULL, NULL, NULL);
/* боја */ /* боја */
struct t_config_option *option_col = struct t_config_option *option5 =
weechat_config_new_option (config_file, section, "option_col", "color", weechat_config_new_option (config_file, section, "option5", "color",
"My option, type color", "My option, type color",
NULL, NULL,
0, 0, 0, 0,
@@ -6824,19 +6835,6 @@ struct t_config_option *option_col =
NULL, NULL, NULL, NULL, NULL, NULL,
NULL, NULL, NULL, 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): Скрипта (Python):
@@ -6852,49 +6850,49 @@ def config_new_option(config_file: str, section: str, name: str, type: str, desc
callback_delete: str, callback_delete_data: str) -> 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 1
# return 0 # 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", "My option, type boolean",
"", 0, 0, "on", "on", 0, "", 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", "My option, type integer",
"", 0, 100, "15", "15", 0, "", 0, 100, "15", "15", 0,
"", "", "", "",
"", "", "", "",
"", "") "", "")
option_str = weechat.config_new_option(config_file, section, "option_str", "string", option3 = weechat.config_new_option(config_file, section, "option3", "integer",
"My option, type string", "My option, type integer (with string values)",
"", 0, 0, "test", "test", 1, "top|bottom|left|right",
"option_str_check_value_cb", "", 0, 0, "bottom", "bottom", 0,
"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,
"", "", "", "",
"", "", "", "",
"", "") "", "")
option_enum = weechat.config_new_option(config_file, section, "option_enum", "enum", option4 = weechat.config_new_option(config_file, section, "option4", "string",
"My option, type enum", "My option, type string",
"top|bottom|left|right", "", 0, 0, "test", "test", 1,
0, 0, "bottom", "bottom", 0, "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 +7164,7 @@ int weechat_config_option_set (struct t_config_option *option,
* _value_: нова вредност опције, могуће су и специјалне вредности које зависе од типа опције: * _value_: нова вредност опције, могуће су и специјалне вредности које зависе од типа опције:
** _boolean_: ** _boolean_:
*** `toggle`: пребацује текућу вредност *** `toggle`: пребацује текућу вредност
** _integer_, _color_ или _enum_: ** _integer_ или _color_:
*** `++N`: додаје `N` (било који цео број) на текућу вредност *** `++N`: додаје `N` (било који цео број) на текућу вредност
*** `--N`: одузима `N` (било који цео број) од текуће вредности *** `--N`: одузима `N` (било који цео број) од текуће вредности
* _run_callback_: 1 за позив change функције повратног позива ако је вредност измењена, у супротном 0 * _run_callback_: 1 за позив change функције повратног позива ако је вредност измењена, у супротном 0
@@ -7397,7 +7395,6 @@ const char *weechat_config_option_get_string (struct t_config_option *option,
*** _integer_ *** _integer_
*** _string_ *** _string_
*** _color_ *** _color_
*** _enum_
** _description_: опис опције ** _description_: опис опције
Повратна вредност: Повратна вредност:
@@ -7572,7 +7569,6 @@ int weechat_config_boolean (struct t_config_option *option);
* _integer_: 0 * _integer_: 0
* _string_: 0 * _string_: 0
* _color_: 0 * _color_: 0
* _enum_: 0
C пример: C пример:
@@ -7623,7 +7619,6 @@ int weechat_config_boolean_default (struct t_config_option *option);
* _integer_: 0 * _integer_: 0
* _string_: 0 * _string_: 0
* _color_: 0 * _color_: 0
* _enum_: 0
C пример: C пример:
@@ -7674,7 +7669,6 @@ int weechat_config_integer (struct t_config_option *option);
* _integer_: целобројна вредност опције * _integer_: целобројна вредност опције
* _string_: 0 * _string_: 0
* _color_: индекс боје * _color_: индекс боје
* _enum_: целобројна вредност опције (индекс enum вредности)
C пример: C пример:
@@ -7717,7 +7711,6 @@ int weechat_config_integer_default (struct t_config_option *option);
* _integer_: подразумевана целобројна вредност опције * _integer_: подразумевана целобројна вредност опције
* _string_: 0 * _string_: 0
* _color_: подразумевани индекс боје * _color_: подразумевани индекс боје
* _enum_: подразумевана целобројна вредност опције (индекс enum вредности)
C пример: C пример:
@@ -7757,10 +7750,9 @@ const char *weechat_config_string (struct t_config_option *option);
Повратна вредност, зависи од типа опције: Повратна вредност, зависи од типа опције:
* _boolean_: „on” ако је вредност истинита, у супротном „off” * _boolean_: „on” ако је вредност истинита, у супротном „off”
* _integer_: NULL * _integer_: стринг вредност опције је цео број са стринг вредностима, у супротном је NULL
* _string_: стринг вредност опције * _string_: стринг вредност опције
* _color_: име боје * _color_: име боје
* _enum_: стринг вредност опције
C пример: C пример:
@@ -7800,10 +7792,9 @@ const char *weechat_config_string_default (struct t_config_option *option);
Повратна вредност, зависи од типа опције: Повратна вредност, зависи од типа опције:
* _boolean_: „on” ако је подразумевана вредност истинита, у супротном „off” * _boolean_: „on” ако је подразумевана вредност истинита, у супротном „off”
* _integer_: NULL * _integer_: подразумевана стринг вредност опције је цео број са стринг вредностима, у супротном је NULL
* _string_: подразумевана стринг вредност опције * _string_: подразумевана стринг вредност опције
* _color_: име подразумеване боје * _color_: име подразумеване боје
* _enum_: подразумевана стринг вредност опције
C пример: C пример:
@@ -7846,7 +7837,6 @@ const char *weechat_config_color (struct t_config_option *option);
* _integer_: NULL * _integer_: NULL
* _string_: NULL * _string_: NULL
* _color_: име боје * _color_: име боје
* _enum_: NULL
C пример: C пример:
@@ -7889,7 +7879,6 @@ const char *weechat_config_color_default (struct t_config_option *option);
* _integer_: NULL * _integer_: NULL
* _string_: NULL * _string_: NULL
* _color_: име подразумеване боје * _color_: име подразумеване боје
* _enum_: NULL
C пример: C пример:
@@ -7911,96 +7900,6 @@ option = weechat.config_get("plugin.section.option")
value = weechat.config_color_default(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 ==== config_write_option
Уписује линију у конфигурациони фајл са опцијом и њеном вредности (ова функција би требало да се позове само у „write” или „write_default” функцијама повратног позива за одељак). Уписује линију у конфигурациони фајл са опцијом и њеном вредности (ова функција би требало да се позове само у „write” или „write_default” функцијама повратног позива за одељак).
@@ -10293,7 +10192,7 @@ hook = weechat.hook_connect("", "my.server.org", 1234, 1, 0, "",
==== hook_line ==== hook_line
_WeeChat ≥ 2.3, ажурирано у 3.7, 4.1.0._ _WeeChat ≥ 2.3, ажурирано у 3.7._
Качи се на линију која треба да се испише у бафер. Качи се на линију која треба да се испише у бафер.
@@ -10349,16 +10248,14 @@ struct t_hook *weechat_hook_line (const char *buffer_type,
|=== |===
| Кључ | Вредност (форматирани бафер) | Вредност (слободни бафер) | Примери | Кључ | Вредност (форматирани бафер) | Вредност (слободни бафер) | Примери
// TRANSLATION MISSING
| buffer | buffer
| Comma-separated list of buffer pointers. | Показивач на бафер.
| Comma-separated list of buffer pointers. | Показивач на бафер.
| `+0x1234abcd+` | `+0x1234abcd+`
// TRANSLATION MISSING
| buffer_name | buffer_name
| Comma-separated list of buffer names. | Име бафера.
| Comma-separated list of buffer names. | Име бафера.
| `+core.weechat+` + | `+core.weechat+` +
`+irc.server.libera+` + `+irc.server.libera+` +
`+irc.libera.#weechat+` `+irc.libera.#weechat+`
@@ -10443,23 +10340,17 @@ struct t_hook *weechat_hook_line (const char *buffer_type,
|=== |===
| Кључ | Дозвољена вредност (форматирани бафер) | Дозвољена вредност (слободни бафер) | Резултат | Кључ | Дозвољена вредност (форматирани бафер) | Дозвољена вредност (слободни бафер) | Резултат
// TRANSLATION MISSING
| buffer | 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” се не позивају. игнорише); наредне куке типа „line” се не позивају.
// TRANSLATION MISSING
| buffer_name | 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` постављено, вредност `+buffer_name+` има виши приоритет и она се користи. +
Ако је вредност празна, линија се брише (тада се све остало у хеш табели Ако је вредност празна, линија се брише (тада се све остало у хеш табели
игнорише); наредне куке типа „line” се не позивају. игнорише); наредне куке типа „line” се не позивају.
@@ -12069,22 +11960,25 @@ struct t_hook *weechat_hook_modifier (const char *modifier,
(да стане у 512 подразумевано). (да стане у 512 подразумевано).
| Нови садржај поруке. | Нови садржај поруке.
// TRANSLATION MISSING
| [[hook_modifier_relay_client_irc_in]] relay_client_irc_in | 4.0.0 | [[hook_modifier_relay_client_irc_in]] relay_client_irc_in | 4.0.0
| Стринг са показивачем на релеј клијента (нпр. "0x1234abcd") | String with relay client pointer (eg: "0x1234abcd")
| Садржај поруке примљене од релеј IRC клијента. | 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 | [[hook_modifier_relay_client_irc_out1]] relay_client_irc_out1 | 4.0.0
| Стринг са показивачем на релеј клијента (нпр. "0x1234abcd") | String with relay client pointer (eg: "0x1234abcd")
| Садржај поруке која треба да се пошаље релеј IRC клијенту пре аутоматске поделе | Content of message about to be sent to relay IRC client before automatic split
(тако да стане у подразумевано 512 бајтова). (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 | [[hook_modifier_relay_client_irc_out]] relay_client_irc_out | 4.0.0
| Стринг са показивачем на релеј клијента (нпр. "0x1234abcd") | String with relay client pointer (eg: "0x1234abcd")
| Садржај поруке која треба да се пошаље релеј IRC клијенту након аутоматске поделе | Content of message about to be sent to relay IRC client after automatic split
(тако да стане у подразумевано 512 бајтова). (to fit in 512 bytes by default).
| Нови садржај поруке. | New content of message.
| [[hook_modifier_bar_condition_yyy]] bar_condition_yyy ^(2)^ | | [[hook_modifier_bar_condition_yyy]] bar_condition_yyy ^(2)^ |
| Стринг са показивачем на прозор (нпр: "0x1234abcd") | Стринг са показивачем на прозор (нпр: "0x1234abcd")
@@ -12588,7 +12482,7 @@ struct t_hook *my_hdata = weechat_hook_hdata ("my_hdata",
==== hook_focus ==== hook_focus
_Ажурирано у верзији 1.5, 4.0.0, 4.1.0._ _Ажурирано у верзији 1.5._
Качи се на фокус: догађај миша или тастер притиснут у режиму померања курсора. Качи се на фокус: догађај миша или тастер притиснут у режиму померања курсора.
@@ -12690,22 +12584,16 @@ struct t_hook *weechat_hook_focus (const char *area,
| _chat_line_message | Порука линије. | _chat_line_message | Порука линије.
| "Hello world!" | "" | "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_word | Реч на (x,y).
| "Здраво" | "" | "Здраво" | ""
| _chat_bol | Текст од почетка поруке до (x-1, y). | _chat_bol | Текст од почетка линије до (x-1, y).
| "Зд" | "" | "Зд" | ""
| _chat_eol | Текст од (x, y) до краја поруке. | _chat_eol | Тест од (x, y) до краја линије.
| "раво свете!" | "" | "раво свете!" | ""
| _bar_name | Име траке. | _bar_name | Име траке.
@@ -17130,7 +17018,7 @@ int weechat_hdata_get_var_offset (struct t_hdata *hdata, const char *name);
Повратна вредност: Повратна вредност:
* померај променљиве, -1 у случају да је дошло до грешке * померај променљиве, 0 у случају да је дошло до грешке
C пример: C пример:
+12 -9
View File
@@ -93,7 +93,7 @@ _клијенти_ су повезани са _релејем_ као што ј
=== handshake === handshake
// TRANSLATION MISSING // TRANSLATION MISSING
_WeeChat ≥ 2.9, ажурирано у верзијама 3.5, 4.0.0._ _WeeChat ≥ 2.9, updated in versions 3.5, 4.0.0._
Извршава руковање између клијента и програма WeeChat: ово је у већини случајева неопходно како би се сазнале поставке сесије и припремила аутентификација командом _init_. Извршава руковање између клијента и програма WeeChat: ово је у већини случајева неопходно како би се сазнале поставке сесије и припремила аутентификација командом _init_.
@@ -123,10 +123,11 @@ _WeeChat ≥ 2.9, ажурирано у верзијама 3.5, 4.0.0._
*** _zstd_: компресија са https://facebook.github.io/zstd/[Zstandard ^↗^^]: боља *** _zstd_: компресија са https://facebook.github.io/zstd/[Zstandard ^↗^^]: боља
компресија, као и много бржа компресија и декомпресија у односу на _zlib_ компресија, као и много бржа компресија и декомпресија у односу на _zlib_
_(WeeChat ≥ 3.5)_ _(WeeChat ≥ 3.5)_
** _escape_commands_: команде које клијент шаље релеју морају да се означе: // TRANSLATION MISSING
све обрнуте косе црте се интерпретирају и једна обрнута коса црта мора да се означи (`\\`); ** _escape_commands_: commands sent by the client to relay must be escaped:
на овај начин клијент, на пример, може да шаље вишелинијске поруке (карактери `\n` се all backslashes are interpreted and a single backslash must be escaped (`\\`);
претварају у преломе редова, погледајте <<command_input,input команду>>) 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)_ _(WeeChat ≥ 4.0.0)_
Напомене у вези опције _password_hash_algo_: Напомене у вези опције _password_hash_algo_:
@@ -157,9 +158,10 @@ _WeeChat ≥ 2.9, ажурирано у верзијама 3.5, 4.0.0._
** _off_: поруке се не компресују ** _off_: поруке се не компресују
** _zlib_: поруке су компресоване са https://zlib.net/[zlib ^↗^^] ** _zlib_: поруке су компресоване са https://zlib.net/[zlib ^↗^^]
** _zstd_: поруке су компресоване са https://facebook.github.io/zstd/[Zstandard ^↗^^] ** _zstd_: поруке су компресоване са https://facebook.github.io/zstd/[Zstandard ^↗^^]
// TRANSLATION MISSING
* _escape_commands_: * _escape_commands_:
** _on_: све обрнуте косе црте у порукама клијента се интерпретирају ** _on_: all backslashes are interpreted in the client messages
** _off_: обрнуте косе црте у порукама клијента се *НЕ* интерпретирају и користе се онакве какве су ** _off_: backslashes are *NOT* interpreted in the client messages and used as-is
[TIP] [TIP]
У програму WeeChat верзије ≤ 2.8, команда _handshake_ није имплементирана, програм WeeChat једноставно игнорише ову команду, чак и ако се пошаље пре _init_ команде. + У програму WeeChat верзије ≤ 2.8, команда _handshake_ није имплементирана, програм WeeChat једноставно игнорише ову команду, чак и ако се пошаље пре _init_ команде. +
@@ -945,8 +947,9 @@ input core.weechat /help filter
input irc.libera.#weechat здраво! input irc.libera.#weechat здраво!
---- ----
* Шаље вишелинијску поруку на #test канал (опција _escape_commands_ мора да буде // TRANSLATION MISSING
укључена у <<command_handshake,handshake команди>> и потребан је * Send multiline message to #test channel (option _escape_commands_ must have
been enabled in <<command_handshake,handshake command>> and requires
WeeChat ≥ 4.0.0): WeeChat ≥ 4.0.0):
---- ----
+110 -172
View File
@@ -112,7 +112,7 @@ WeeChat мора да се изгради са CMake.
| pkg-config | | pkg-config |
| Детекција инсталираних библиотека. | Детекција инсталираних библиотека.
| libncurses-dev | | libncursesw5-dev ^(2)^ |
| Ncurses интерфејс. | Ncurses интерфејс.
| libcurl4-gnutls-dev | | libcurl4-gnutls-dev |
@@ -121,7 +121,7 @@ WeeChat мора да се изгради са CMake.
| libgcrypt20-dev | | libgcrypt20-dev |
| Обезбеђени подаци, IRC SASL аутентификација. | Обезбеђени подаци, IRC SASL аутентификација.
| libgnutls28-dev | ≥ 2.2.0 ^(2)^ | libgnutls28-dev | ≥ 2.2.0 ^(3)^
| IRC додатак: подршка за TLS везе, IRC SASL аутентификацију (ECDSA-NIST256P-CHALLENGE). + | IRC додатак: подршка за TLS везе, IRC SASL аутентификацију (ECDSA-NIST256P-CHALLENGE). +
Relay додатак: подршка за TLS везе. Relay додатак: подршка за TLS везе.
@@ -138,7 +138,8 @@ WeeChat мора да се изгради са CMake.
[NOTE] [NOTE]
^(1)^ Име долази из Debian GNU/Linux Bookworm дистрибуције, верзија и ^(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: Следећа табела приказује листу пакета који нису обавезни за компајлирање програма WeeChat:
@@ -1245,8 +1246,7 @@ _прозор_ је површина екрана која приказује б
| filter | filter
| било који стринг | било који стринг
| Филтер дефинисан у неким баферима као што су `/fset`, `/list` (irc), `/server raw` (irc) | Филтер дефинисан за неке бафере, као што су `/fset`, `/server raw` (irc) и `/script`.
и `/script`.
| host | 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] 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]] [[key_bindings]]
== Тастерске пречице == Тастерске пречице
@@ -1581,44 +1567,38 @@ WeeChat нуди доста подразумеваних тастерских п
| kbd:[Enter] + | kbd:[Enter] +
kbd:[Ctrl+j] + kbd:[Ctrl+j] +
kbd:[Ctrl+m] | Заустављање претраге на текућој позицији. | `+/input search_stop_here+` 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]] [[key_bindings_cursor_context]]
=== Контекст курсора === Контекст курсора
Ови тастери се користе у „cursor” контексту (слободно померање курсора по екрану), Ови тастери се користе у „cursor” контексту (слободно померање курсора по екрану).
погледајте <<cursor_mode,Режим курсора>>.
[width="100%", cols="^.^3,^.^2,.^7,.^7", options="header"] [width="100%", cols="^.^3,^.^2,.^7,.^7", options="header"]
|=== |===
| Тастер | Површина | Опис | Команда | Тастер | Површина | Опис | Команда
| kbd:[↑] | - | Помера курсор једну линију навише. | `+/cursor move up+` | kbd:[↑] | - | Помера курсор једну линију навише. | `+/cursor move up+`
| kbd:[↓] | - | Помера курсор једну линију наниже. | `+/cursor move down+` | kbd:[↓] | - | Помера курсор једну линију наниже. | `+/cursor move down+`
| kbd:[←] | - | Помера курсор једну колони у лево. | `+/cursor move left+` | kbd:[←] | - | Помера курсор једну колони у лево. | `+/cursor move left+`
| kbd:[→] | - | Помера курсор једну колону у десно. | `+/cursor move right+` | kbd:[→] | - | Помера курсор једну колону у десно. | `+/cursor move right+`
| kbd:[Alt+↑] | - | Помера курсор на прву линију површине. | `+/cursor move edge_top+` | kbd:[Alt+↑] | - | Помера курсор једну површину навише. | `+/cursor move area_up+`
| kbd:[Alt+↓] | - | Помера курсор на последњу линију површине. | `+/cursor move edge_bottom+` | kbd:[Alt+↓] | - | Помера курсор једну површину наниже. | `+/cursor move area_down+`
| kbd:[Alt+←] | - | Помера курсор на прву колону површине. | `+/cursor move edge_left+` | kbd:[Alt+←] | - | Помера курсор једну површину у лево. | `+/cursor move area_left+`
| kbd:[Alt+→] | - | Помера курсор на последњу колону површине. | `+/cursor move edge_right+` | kbd:[Alt+→] | - | Помера курсор једну површину у десно. | `+/cursor move area_right+`
| kbd:[Alt+Home] | - | Помера курсор на горњи леви угао површине. | `+/cursor move top_left+` | kbd:[m] | чет | Цитирање поруке. | `+hsignal:chat_quote_message;/cursor stop+`
| kbd:[Alt+End] | - | Помера курсор на доњи десни угао површине. | `+/cursor move bottom_right+` | kbd:[l] | чет | Цитирање фокусиране линије. | `+hsignal:chat_quote_focused_line;/cursor stop+`
| kbd:[Alt+Shift+↑] | - | Помера курсор једну површину навише. | `+/cursor move area_up+` | kbd:[q] | чет | Цитирање префикса + поруке. | `+hsignal:chat_quote_prefix_message;/cursor stop+`
| kbd:[Alt+Shift+↓] | - | Помера курсор једну површину наниже. | `+/cursor move area_down+` | kbd:[Q] | чет | Цитирање времена + префикса + поруке. | `+hsignal:chat_quote_time_prefix_message;/cursor stop+`
| kbd:[Alt+Shift+←] | - | Помера курсор једну површину у лево. | `+/cursor move area_left+` | kbd:[b] | листа надимака | Забрањује надимак. | `+/window ${_window_number};/ban ${nick}+`
| kbd:[Alt+Shift+→] | - | Помера курсор једну површину у десно. | `+/cursor move area_right+` | kbd:[k] | листа надимака | Избацује надимак. | `+/window ${_window_number};/kick ${nick}+`
| kbd:[m] | чет | Цитирање поруке. | `+hsignal:chat_quote_message;/cursor stop+` | kbd:[K] | листа надимака | Избацује и забрањује надимак. | `+/window ${_window_number};/kickban ${nick}+`
| kbd:[l] | чет | Цитирање фокусиране линије. | `+hsignal:chat_quote_focused_line;/cursor stop+` | kbd:[q] | листа надимака | Отвара упит са надимком. | `+/window ${_window_number};/query ${nick};/cursor stop+`
| kbd:[q] | чет | Цитирање префикса + поруке. | `+hsignal:chat_quote_prefix_message;/cursor stop+` | kbd:[w] | листа надимака | Извршава whois над надимком. | `+/window ${_window_number};/whois ${nick}+`
| 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:[Enter] +
kbd:[Ctrl+j] + kbd:[Ctrl+j] +
kbd:[Ctrl+m] | - | Зауставља режим померања курсора | `/cursor stop` kbd:[Ctrl+m] | - | Зауставља режим померања курсора | `/cursor stop`
|=== |===
[[key_bindings_mouse]] [[key_bindings_mouse]]
@@ -1629,60 +1609,50 @@ WeeChat нуди доста подразумеваних тастерских п
[width="100%", cols="^.^3,^.^3,^.^3,.^8,.^8", options="header"] [width="100%", cols="^.^3,^.^3,^.^3,.^8,.^8", options="header"]
|=== |===
| Тастер/Точкић ^(1)^ | Гестикулација | Површина | Опис | Команда | Тастер/Точкић ^(1)^ | Гестикулација | Површина | Опис | Команда
| kbd:[■ □ □] | - | чет | Пребацивање на прозор. | `+/window ${_window_number}+` | ◾◽◽ | - | чет | Пребацивање на прозор. | `+/window ${_window_number}+`
| kbd:[■ □ □] | лево | чет | Пребацивање на претходни бафер. | `+/window ${_window_number};/buffer +1+` | ◾◽◽ | лево | чет | Пребацивање на претходни бафер. | `+/window ${_window_number};/buffer +1+`
| kbd:[■ □ □] | десно | чет | Пребацивање на наредни бафер. | `+/window ${_window_number};/buffer +1+` | ◾◽◽ | десно | чет | Пребацивање на наредни бафер. | `+/window ${_window_number};/buffer +1+`
| kbd:[■ □ □] | лево (дуго) | чет | Пребацивање на први бафер. | `+/window ${_window_number};/buffer 1+` | ◾◽◽ | лево (дуго) | чет | Пребацивање на први бафер. | `+/window ${_window_number};/buffer 1+`
| kbd:[■ □ □] | десно (дуго) | чет | Пребацивање на последњи бафер. | `+/window ${_window_number};/buffer ++` | ◾◽◽ | десно (дуго) | чет | Пребацивање на последњи бафер. | `+/window ${_window_number};/buffer ++`
| kbd:[▲] | - | чет | Скролује навише неколико линија у историји бафера. | `+/window scroll_up -window ${_window_number}+` | kbd:[▲] | - | чет | Скролује навише неколико линија у историји бафера. | `+/window scroll_up -window ${_window_number}+`
| kbd:[▼] | - | чет | Скролује наниже неколико линија у историји бафера. | `+/window scroll_down -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:[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 -up 5+`
| kbd:[▼] | - | чет: fset бафер | Помера за пет линија наниже у fset баферу. | `+/fset -down 5+` | kbd:[▼] | - | чет: fset бафер | Помера за пет линија наниже у fset баферу. | `+/fset -down 5+`
| kbd:[■ □ □] | - | чет: fset бафер | Бира линију у fset баферу. | `+/window ${_window_number};/fset -go ${fset_option_index}+` | ◾◽◽ | - | чет: fset бафер | Бира линију у fset баферу. | `+/window ${_window_number};/fset -go ${_chat_line_y}+`
| kbd:[□ □ ■] | - | чет: fset бафер | Пребацује логичку вредност (on/off) или уређује вредност опције. | `+hsignal:fset_mouse+` | ◽◽◾ | - | чет: fset бафер | Пребацује логичку вредност (on/off) или уређује вредност опције. | `+hsignal:fset_mouse+`
| kbd:[□ □ ■] | лево | чет: fset бафер | Умањује вредност за цео број/боју/набрајање, поставља/надовезује вредност за остале типове. | `+hsignal:fset_mouse+` | ◽◽◾ | лево | чет: fset бафер | Умањује вредност за цео број/боју, поставља/надовезује вредност за остале типове. | `+hsignal:fset_mouse+`
| kbd:[□ □ ■] | десно | чет: fset бафер | Увећава вредност за цео број/боју/набрајање, поставља/надовезује вредност за остале типове. | `+hsignal:fset_mouse+` | ◽◽◾ | десно | чет: fset бафер | Увећава вредност за цео број/боју, поставља/надовезује вредност за остале типове. | `+hsignal:fset_mouse+`
| kbd:[□ □ ■] | горе / доле | чет: fset бафер | Маркира/уклања маркер са више опција. | `+hsignal:fset_mouse+` | ◽◽◾ | горе / доле | чет: fset бафер | Маркира/уклања маркер са више опција. | `+hsignal:fset_mouse+`
| kbd:[▲] | - | чет: /list бафер | Помера за пет линија навише у /list баферу. | `+/list -up 5+` | kbd:[▲] | - | чет: script бафер | Помера за пет линија навише у script баферу. | `+/script up 5+`
| kbd:[▼] | - | чет: /list бафер | Помера за пет линија наниже у /list баферу. | `+/list -down 5+` | kbd:[▼] | - | чет: script бафер | Помера за пет линија наниже у script баферу. | `+/script down 5+`
| kbd:[■ □ □] | - | чет: /list бафер | Бира линију у /list баферу. | `+/window ${_window_number};/list -go ${_chat_line_y}+` | ◾◽◽ | - | chat: script бафер | Бира линију у script баферу. | `+/script go ${_chat_line_y}+`
| kbd:[□ □ ■] | - | чет: /list бафер | Приступа IRC каналу на изабраној линији. | `+hsignal:irc_list_mouse+` | ◽◽◾ | - | chat: script бафер | Инсталира/уклања скрипту. | `+/script go ${_chat_line_y};/script installremove -q ${script_name_with_extension}+`
| kbd:[▲] | - | чет: script бафер | Помера за пет линија навише у script баферу. | `+/script up 5+` | ◾◽◽ | горе / лево | листа бафера | Помера бафер на нижи број. | Signal `+buflist_mouse+`.
| kbd:[▼] | - | чет: script бафер | Помера за пет линија наниже у script баферу. | `+/script down 5+` | ◾◽◽ | доле / десно | листа бафера | Помера бафер на виши број. | Signal `+buflist_mouse+`.
| kbd:[■ □ □] | - | чет: script бафер | Бира линију у script баферу. | `+/script go ${_chat_line_y}+` | ◾◽◽ | - | листа бафера | Пребацивање на бафер (претходно посећени багер ако је бафер текући). | Signal `+buflist_mouse+`.
| kbd:[□ □ ■] | - | чет: script бафер | Инсталира/уклања скрипту. | `+/script go ${_chat_line_y};/script installremove -q ${script_name_with_extension}+` | ◽◽◾ | - | листа бафера | Пребацивање на наредни посећени бафер ако је бафер текући. | Signal `+buflist_mouse+`.
| kbd:[■ □ □] | горе / лево | листа бафера | Помера бафер на нижи број. | Signal `+buflist_mouse+`. | kbd:[Ctrl+▲] | - | листа бафера | Пребацивање на претходни бафер. | Signal `+buflist_mouse+`.
| kbd:[■ □ □] | доле / десно | листа бафера | Помера бафер на виши број. | Signal `+buflist_mouse+`. | kbd:[Ctrl+▼] | - | листа бафера | Пребацивање на наредни бафер. | Signal `+buflist_mouse+`.
| kbd:[■ □ □] | - | листа бафера | Пребацивање на бафер (претходно посећени багер ако је бафер текући). | Signal `+buflist_mouse+`. | ◾◽◽ | горе | листа надимака | Скроловање једне стране навише у листи надимака. | `+/bar scroll nicklist ${_window_number} -100%+`
| kbd:[□ □ ■] | - | листа бафера | Пребацивање на наредни посећени бафер ако је бафер текући. | Signal `+buflist_mouse+`. | ◾◽◽ | доле | листа надимака | Скроловање једне стране наниже у листи надимака. | `+/bar scroll nicklist ${_window_number} +100%+`
| kbd:[Ctrl+▲] | - | листа бафера | Пребацивање на претходни бафер. | Signal `+buflist_mouse+`. | ◾◽◽ | горе (дуго) | листа надимака | Скок на почетак листе надимака. | `+/bar scroll nicklist ${_window_number} b+`
| kbd:[Ctrl+▼] | - | листа бафера | Пребацивање на наредни бафер. | Signal `+buflist_mouse+`. | ◾◽◽ | доле (дуго) | листа надимака | Скок на крај листе надимака. | `+/bar scroll nicklist ${_window_number} e+`
| kbd:[■ □ □] | горе | листа надимака | Скроловање једне стране навише у листи надимака. | `+/bar scroll nicklist ${_window_number} -100%+` | ◾◽◽ | - | листа надимака | Отварање упита са надимком. | `+/window ${_window_number};/query ${nick}+`
| kbd:[■ □ □] | доле | листа надимака | Скроловање једне стране наниже у листи надимака. | `+/bar scroll nicklist ${_window_number} +100%+` | ◽◽◾ | - | листа надимака | Извршавање whois над надимком. | `+/window ${_window_number};/whois ${nick}+`
| kbd:[■ □ □] | горе (дуго) | листа надимака | Скок на почетак листе надимака. | `+/bar scroll nicklist ${_window_number} b+` | ◾◽◽ | лево | листа надимака | Избацивање надимка. | `+/window ${_window_number};/kick ${nick}+`
| kbd:[■ □ □] | доле (дуго) | листа надимака | Скок на крај листе надимака. | `+/bar scroll nicklist ${_window_number} e+` | ◾◽◽ | лево (дуго) | листа надимака | Избацивање и забрана надимка. | `+/window ${_window_number};/kickban ${nick}+`
| kbd:[■ □ □] | - | листа надимака | Отварање упита са надимком. | `+/window ${_window_number};/query ${nick}+` | ◽◽◾ | лево | листа надимака | Забрана надимка. | `+/window ${_window_number};/ban ${nick}+`
| kbd:[□ □ ■] | - | листа надимака | Извршавање whois над надимком. | `+/window ${_window_number};/whois ${nick}+` | ◽◽◾ | - | унос | Хвата догађај миша и умеће његов кôд у командну линију. | `+/input grab_mouse_area+`
| kbd:[■ □ □] | лево | листа надимака | Избацивање надимка. | `+/window ${_window_number};/kick ${nick}+` | kbd:[▲] | - | било која трака | Скролује траку за -20%. | `+/bar scroll ${_bar_name} ${_window_number} -20%+`
| kbd:[■ □ □] | лево (дуго) | листа надимака | Избацивање и забрана надимка. | `+/window ${_window_number};/kickban ${nick}+` | kbd:[▼] | - | било која трака | Скролује траку за +20%. | `+/bar scroll ${_bar_name} ${_window_number} +20%+`
| kbd:[□ □ ■] | лево | листа надимака | Забрана надимка. | `+/window ${_window_number};/ban ${nick}+` | ◽◾◽ | - | било где | Започиње режим померања курсора на овој тачки. | `+/cursor go ${_x},${_y}+`
| 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}+`
|=== |===
[NOTE] [NOTE]
^(1)^ Тастери: + ^(1)^ kbd:[▲] и kbd:[▼] значе точкић навише и наниже.
kbd:[◼ □ □]: клик на леви тастер +
kbd:[□ ◼ □]: клик на средњи тастер +
kbd:[□ □ ◼]: клик на десни тастер +
Точкић: +
kbd:[▲]: точкић горе +
kbd:[▼]: точкић доле
[[key_bindings_fset_buffer]] [[key_bindings_fset_buffer]]
=== Fset бафер === Fset бафер
@@ -1701,8 +1671,8 @@ kbd:[▼]: точкић доле
| kbd:[F11] | `pass:[<]` | Скролује хоризонтално у лево. | `+/fset -left+` | kbd:[F11] | `pass:[<]` | Скролује хоризонтално у лево. | `+/fset -left+`
| kbd:[F12] | `pass:[>]` | Скролује хоризонтално у десно. | `+/fset -right+` | kbd:[F12] | `pass:[>]` | Скролује хоризонтално у десно. | `+/fset -right+`
| kbd:[Alt+Space] | `t` | Пребацује стање логичке вредности. | `+/fset -toggle+` | 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+r] | `r` | Ресетује вредност. | `+/fset -reset+`
| kbd:[Alt+f], kbd:[Alt+u] | `u` | Поставља да је вредност празна. | `+/fset -unset+` | kbd:[Alt+f], kbd:[Alt+u] | `u` | Поставља да је вредност празна. | `+/fset -unset+`
| kbd:[Alt+Enter] | `s` | Поставља вредност. | `+/fset -set+` | kbd:[Alt+Enter] | `s` | Поставља вредност. | `+/fset -set+`
@@ -1730,39 +1700,6 @@ kbd:[▼]: точкић доле
[NOTE] [NOTE]
^(1)^ Акција мора да се унесе као унос у командну линију, након чега се притисне kbd:[Ентер]. ^(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]] [[key_bindings_script_buffer]]
=== Script бафер === Script бафер
@@ -1804,7 +1741,7 @@ Fast Set додатак приказује листу опција у бафер
│2.fset │weechat.look.bare_display_exit_on_input: exit the bare display mode on any c│ │2.fset │weechat.look.bare_display_exit_on_input: exit the bare display mode on any c│
│ │hanges in input [default: on] │ │ │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.align_multiline_words boolean on │
│ │ weechat.look.bar_more_down string "++" │ │ │ weechat.look.bar_more_down string "++" │
│ │ weechat.look.bar_more_left 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_exit_on_input boolean on ##│
│ │ weechat.look.bare_display_time_format string "%H:%M" │ │ │ weechat.look.bare_display_time_format string "%H:%M" │
│ │ weechat.look.buffer_auto_renumber boolean on │ │ │ weechat.look.buffer_auto_renumber boolean on │
│ │ weechat.look.buffer_notify_default enum all │ │ │ weechat.look.buffer_notify_default integer all │
│ │ weechat.look.buffer_position enum end │ │ │ weechat.look.buffer_position integer end │
│ │ weechat.look.buffer_search_case_sensitive boolean off │ │ │ weechat.look.buffer_search_case_sensitive boolean off │
│ │ weechat.look.buffer_search_force_default boolean off │ │ │ weechat.look.buffer_search_force_default boolean off │
│ │ weechat.look.buffer_search_regex 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_format string "%H:%M:%S" │
│ │ weechat.look.buffer_time_same string "" │ │ │ weechat.look.buffer_time_same string "" │
│ │[12:55] [2] [fset] 2:fset │ │ │[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 integer null -> 0
irc.server.libera.away_check_max_nicks integer null -> 25 irc.server.libera.away_check_max_nicks integer null -> 25
irc.server.libera.capabilities string null -> "*" 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 string null -> ""
irc.server.libera.command_delay integer null -> 0 irc.server.libera.command_delay integer null -> 0
irc.server.libera.connection_timeout integer null -> 60 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.password string null -> ""
irc.server.libera.proxy string null -> "" irc.server.libera.proxy string null -> ""
irc.server.libera.realname 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_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_password string "${sec.data.libera}"
irc.server.libera.sasl_timeout integer null -> 15 irc.server.libera.sasl_timeout integer null -> 15
irc.server.libera.sasl_username string "alice" irc.server.libera.sasl_username string "alice"
@@ -3835,7 +3772,7 @@ CTCP одговори могу да се прилагоде, или неки CTC
На пример, ако желите да прилагодите одговор на CTCP „VERSION”, употребите следећу команду: На пример, ако желите да прилагодите одговор на CTCP „VERSION”, употребите следећу команду:
---- ----
/set irc.ctcp.version "Користим WeeChat ${version}, одличан је!" /set irc.ctcp.version "Користим WeeChat $version, одличан је!"
---- ----
[NOTE] [NOTE]
@@ -3857,7 +3794,7 @@ CTCP одговори могу да се прилагоде, или неки CTC
CTCP може да се прилагоди само за један сервер, употребом његовог интерног имена испред CTCP имена: CTCP може да се прилагоди само за један сервер, употребом његовог интерног имена испред CTCP имена:
---- ----
/set irc.ctcp.libera.version "WeeChat ${version} (за libera)" /set irc.ctcp.libera.version "WeeChat $version (за libera)"
---- ----
Ако желите да вратите стандардни CTCP одговор, уклоните опцију: Ако желите да вратите стандардни CTCP одговор, уклоните опцију:
@@ -3866,39 +3803,38 @@ CTCP може да се прилагоди само за један сервер
/unset irc.ctcp.version /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+` | $clientinfo | Листа подржаних CTCP | `+ACTION DCC CLIENTINFO FINGER PING SOURCE TIME USERINFO VERSION+`
| `+${version}+` | Верзија програма WeeChat | `+4.1.0-dev+` | $version | Верзија програма WeeChat | `+0.4.0-dev+`
| `+${versiongit}+` | WeeChat верзија + Git верзија ^(1)^ | `+4.1.0-dev (git: v4.0.0-51-g8f98b922a)+` | $versiongit | WeeChat верзија + Git верзија ^(1)^ | `+0.4.0-dev (git: v0.3.9-104-g7eb5cc4)+`
| `+${git}+` | Git верзија ^(1)^ | `+v4.0.0-51-g8f98b922a+` | $git | Git верзија ^(1)^ | `+v0.3.9-104-g7eb5cc4+`
| `+${compilation}+` | Датум компајлирања програма WeeChat | `+Jul 8 2023 20:14:23+` | $compilation | Датум компајлирања програма WeeChat | `+Dec 16 2012+`
| `+${osinfo}+` | Инфо о ОС | `+Linux 5.10.0-23-amd64 / x86_64+` | $osinfo | Инфо о ОС | `+Linux 2.6.32-5-amd64 / x86_64+`
| `+${site}+` | WeeChat вебсајт | `+https://weechat.org/+` | $site | WeeChat вебсајт | `+https://weechat.org/+`
| `+${download}+` | WeeChat сајт, страна за преузимање | `+https://weechat.org/download/+` | $download | WeeChat сајт, страна за преузимање | `+https://weechat.org/download/+`
| `+${time}+` | Текући датум/време | `+Суб, 08 јул 2023 21:11:19 +0200+` | $time | Текући датум/време | `+Sun, 16 Dec 2012 10:40:48 +0100+`
| `+${username}+` | Корисничко име на IRC серверу | `+име+` | $username | Корисничко име на IRC серверу | `+name+`
| `+${realname}+` | Реално име на IRC серверу | `+Пера Перић+` | $realname | Реално име на IRC серверу | `+John Doe+`
|=== |===
[NOTE] [NOTE]
^(1)^ Git верзија је излаз команде `git describe`. Позната је само ако је програм WeeChat компајлиран унутар Git репозиторијума и ако је Git инсталиран. ^(1)^ Git верзија је излаз команде `git describe`. Позната је само ако је програм WeeChat компајлиран унутар Git репозиторијума и ако је Git инсталиран.
Подразумевани CTCP осговори су: Ако CTCP опције нису дефинисане (што је подразумевано), CTCP одговори су следећи:
[width="100%", cols="2,4,8", options="header"] [width="100%", cols="2,4,8", options="header"]
|=== |===
| CTCP | Формат одговора | Пример | CTCP | Формат одговора | Пример
| CLIENTINFO | `+${clientinfo}+` | `+ACTION DCC CLIENTINFO FINGER PING SOURCE TIME USERINFO VERSION+` | CLIENTINFO | `+$clientinfo+` | `+ACTION DCC CLIENTINFO FINGER PING SOURCE TIME USERINFO VERSION+`
| FINGER | `+WeeChat ${version}+` | `+WeeChat 4.1.0-dev+` | FINGER | `+WeeChat $versiongit+` | `+WeeChat 0.4.0-dev (git: v0.3.9-104-g7eb5cc4)+`
| SOURCE | `+${download}+` | `+https://weechat.org/download/+` | SOURCE | `+$download+` | `+https://weechat.org/download/+`
| TIME | `+${time}+` | `+Суб, 08 Јул 2023 21:11:19 +0200+` | TIME | `+$time+` | `+нед, 16 дец 2012 10:40:48 +0100+`
| USERINFO | `+${username} (${realname})+` | `+име (Пера Перић)+` | USERINFO | `+$username ($realname)+` | `+име (Пера Перић)+`
| VERSION | `+WeeChat ${version}+` | `+WeeChat 4.1.0-dev+` | VERSION | `+WeeChat $versiongit ($compilation)+` | `+WeeChat 0.4.0-dev (git: v0.3.9-104-g7eb5cc4) (Dec 16 2012)+`
|=== |===
[[irc_target_buffer]] [[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 $ echo 'irc.libera.#weechat *hello!' >/run/user/1000/weechat/weechat_fifo_12345
---- ----
* Слање вишелинијске поруке на IRC канал #test, у случају да је могуност „draft/multiline” // TRANSLATION MISSING
укључена на ergo серверу: * 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
---- ----
* Слање поруке у текући бафер: * Слање поруке у текући бафер:
+78 -279
View File
@@ -21,8 +21,8 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: WeeChat\n" "Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2023-08-22 09:26+0200\n" "POT-Creation-Date: 2023-07-05 21:24+0200\n"
"PO-Revision-Date: 2023-06-26 21:34+0200\n" "PO-Revision-Date: 2023-06-25 00:48+0200\n"
"Last-Translator: Ondřej Súkup <mimi.vx@gmail.com>\n" "Last-Translator: Ondřej Súkup <mimi.vx@gmail.com>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n" "Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
"Language: cs\n" "Language: cs\n"
@@ -505,12 +505,12 @@ msgstr "(nedefinováno)"
msgid "current value" msgid "current value"
msgstr "aktuální hodnota" msgstr "aktuální hodnota"
msgid "integer"
msgstr "celé číslo"
msgid "string" msgid "string"
msgstr "řetězec" msgstr "řetězec"
msgid "integer"
msgstr "celé číslo"
msgid "any string" msgid "any string"
msgstr "jakýkoliv řetězec" msgstr "jakýkoliv řetězec"
@@ -523,9 +523,6 @@ msgstr "maximálně znaků"
msgid "color" msgid "color"
msgstr "barva" msgstr "barva"
msgid "enum"
msgstr ""
#. TRANSLATORS: please do not translate "(null)" #. TRANSLATORS: please do not translate "(null)"
msgid "undefined value allowed (null)" msgid "undefined value allowed (null)"
msgstr "povolena nedefinovaná hodnota (null)" msgstr "povolena nedefinovaná hodnota (null)"
@@ -1427,10 +1424,8 @@ msgstr ""
"obrazovky" "obrazovky"
msgid "" msgid ""
"go chat|<bar> [top_left|top_right|bottom_left|bottom_right] || go <x>,<y> || " "go chat|<bar>|<x>,<y> || move up|down|left|right|area_up|area_down|area_left|"
"move up|down|left|right|top_left|top_right|bottom_left|bottom_right|edge_top|" "area_right || stop"
"edge_bottom|edge_left|edge_right|area_up|area_down|area_left|area_right || "
"stop"
msgstr "" msgstr ""
msgid "" msgid ""
@@ -1462,8 +1457,6 @@ msgid ""
" enter exit cursor mode\n" " enter exit cursor mode\n"
"\n" "\n"
"Examples:\n" "Examples:\n"
" go to the bottom left corner of chat area:\n"
" /cursor go chat bottom_left\n"
" go to nicklist:\n" " go to nicklist:\n"
" /cursor go nicklist\n" " /cursor go nicklist\n"
" go to coordinates x=10, y=5:\n" " go to coordinates x=10, y=5:\n"
@@ -4454,9 +4447,8 @@ msgstr "Načítám konfigurační soubor %s"
msgid "%sWarning: %s, line %d: invalid syntax, missing \"]\"" msgid "%sWarning: %s, line %d: invalid syntax, missing \"]\""
msgstr "%sUpozornění: %s, řádek %d: nevalidní syntaxe, chybí \"]\"" msgstr "%sUpozornění: %s, řádek %d: nevalidní syntaxe, chybí \"]\""
#, fuzzy, c-format #, c-format
#| msgid "%sWarning: %s, line %d: unknown section identifier (\"%s\")" msgid "%sWarning: %s, line %d: unknown section identifier (\"%s\")"
msgid "%sWarning: %s, line %d: ignoring unknown section identifier (\"%s\")"
msgstr "%sUpozornění: %s, řádek %d: neznámý identifikátor sekce (\"%s\")" msgstr "%sUpozornění: %s, řádek %d: neznámý identifikátor sekce (\"%s\")"
#, c-format #, c-format
@@ -4472,17 +4464,15 @@ msgid ""
msgstr "" msgstr ""
#, fuzzy, c-format #, 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\")" msgstr "%sUpozornění: %s, řádek %d: neznámý identifikátor sekce (\"%s\")"
#, fuzzy, c-format #, 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\")" msgstr "%sUpozornění: %s, řádek %d: neznámý identifikátor sekce (\"%s\")"
#, fuzzy, c-format #, fuzzy, c-format
msgid "" msgid "%sWarning: %s, line %d: invalid value for option: %s"
"%sWarning: %s, line %d: ignoring invalid value for option in section \"%s\": "
"%s"
msgstr "%sUpozornění: %s, řádek %d: nevalidní syntaxe, chybí \"]\"" msgstr "%sUpozornění: %s, řádek %d: nevalidní syntaxe, chybí \"]\""
#, c-format #, c-format
@@ -5459,7 +5449,7 @@ msgid ""
"10 and 99 buffers\n" "10 and 99 buffers\n"
" - ${number_displayed}: \"1\" if the number is displayed, otherwise " " - ${number_displayed}: \"1\" if the number is displayed, otherwise "
"\"0\"\n" "\"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" "indented) (evaluation of option buflist.format.indent)\n"
" - ${format_nick_prefix}: colored nick prefix for a channel (evaluation " " - ${format_nick_prefix}: colored nick prefix for a channel (evaluation "
"of option buflist.format.nick_prefix)\n" "of option buflist.format.nick_prefix)\n"
@@ -5565,8 +5555,8 @@ msgstr ""
msgid "" msgid ""
"number of buflist bar items that can be used; the item names are: " "number of buflist bar items that can be used; the item names are: "
"\"buflist\", \"buflist2\", \"buflist3\", \"buflist4\" and \"buflist5\"; be " "\"buflist\", \"buflist2\", \"buflist3\"; be careful, using more than one bar "
"careful, using more than one bar item slows down the display of buffers list" "item slows down the display of buffers list"
msgstr "" msgstr ""
msgid "" msgid ""
@@ -5626,8 +5616,8 @@ msgstr "příkaz spuštěný při startu WeeChat, před načtením pluginů"
#, fuzzy #, fuzzy
msgid "" msgid ""
"string displayed to indent channel, private and list buffers (note: content " "string displayed to indent channel and private buffers (note: content is "
"is evaluated, see /help buflist)" "evaluated, see /help buflist)"
msgstr "příkaz spuštěný při startu WeeChat, před načtením pluginů" msgstr "příkaz spuštěný při startu WeeChat, před načtením pluginů"
#, fuzzy #, fuzzy
@@ -6011,7 +6001,7 @@ msgstr "hodnoty"
#. TRANSLATORS: "%s%s%s:" at beginning of string it the name of option #. TRANSLATORS: "%s%s%s:" at beginning of string it the name of option
#, fuzzy, c-format #, 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]" msgstr "%sPřezdívka %s%s%s: %s[%s%s%s]"
#, fuzzy #, fuzzy
@@ -6058,9 +6048,9 @@ msgid ""
" -go: select a line by number, first line number is 0 (\"end\" to " " -go: select a line by number, first line number is 0 (\"end\" to "
"select the last line)\n" "select the last line)\n"
" -toggle: toggle the boolean value\n" " -toggle: toggle the boolean value\n"
" -add: add \"value\" (which can be a negative number) for integers, " " -add: add \"value\" (which can be a negative number) for integers and "
"colors and enums, set/append to value for other types (set for a negative " "colors, set/append to value for other types (set for a negative value, "
"value, append for a positive value)\n" "append for a positive value)\n"
" -reset: reset the value of option\n" " -reset: reset the value of option\n"
" -unset: unset the option\n" " -unset: unset the option\n"
" -set: add the /set command in input to edit the value of option (move " " -set: add the /set command in input to edit the value of option (move "
@@ -6082,8 +6072,7 @@ msgid ""
" * show all options (no filter)\n" " * show all options (no filter)\n"
" xxx show only options with \"xxx\" in name\n" " xxx show only options with \"xxx\" in name\n"
" f:xxx show only configuration file \"xxx\"\n" " f:xxx show only configuration file \"xxx\"\n"
" t:xxx show only type \"xxx\" (bool/int/str/col/enum or " " t:xxx show only type \"xxx\" (bool/int/str/col)\n"
"boolean/integer/string/color/enum)\n"
" d show only changed options\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 name\n"
" d=xxx show only changed options with \"xxx\" in value\n" " d=xxx show only changed options with \"xxx\" in value\n"
@@ -6096,11 +6085,10 @@ msgid ""
" ==xxx show only options with exact value \"xxx\"\n" " ==xxx show only options with exact value \"xxx\"\n"
" c:xxx show only options matching the evaluated condition " " c:xxx show only options matching the evaluated condition "
"\"xxx\", using following variables: file, section, option, name, " "\"xxx\", using following variables: file, section, option, name, "
"parent_name, type, type_en, type_short (bool/int/str/col/enum), type_tiny (b/" "parent_name, type, type_en, type_short (bool/int/str/col), type_tiny (b/i/s/"
"i/s/c/e), default_value, default_value_undef, value, quoted_value, " "c), default_value, default_value_undef, value, quoted_value, value_undef, "
"value_undef, value_changed, parent_value, min, max, description, " "value_changed, parent_value, min, max, description, description2, "
"description2, description_en, description_en2, string_values, " "description_en, description_en2, string_values\n"
"allowed_values\n"
"\n" "\n"
"The lines with options are displayed using string evaluation (see /help eval " "The lines with options are displayed using string evaluation (see /help eval "
"for the format), with these options:\n" "for the format), with these options:\n"
@@ -6116,8 +6104,8 @@ msgid ""
" - ${parent_name}: parent option name\n" " - ${parent_name}: parent option name\n"
" - ${type}: option type (translated)\n" " - ${type}: option type (translated)\n"
" - ${type_en}: option type (in English)\n" " - ${type_en}: option type (in English)\n"
" - ${type_short}: short option type (bool/int/str/col/enum)\n" " - ${type_short}: short option type (bool/int/str/col)\n"
" - ${type_tiny}: tiny option type (b/i/s/c/e)\n" " - ${type_tiny}: tiny option type (b/i/s/c)\n"
" - ${default_value}: option default value\n" " - ${default_value}: option default value\n"
" - ${default_value_undef}: \"1\" if default value is null, otherwise " " - ${default_value_undef}: \"1\" if default value is null, otherwise "
"\"0\"\n" "\"0\"\n"
@@ -6135,8 +6123,8 @@ msgid ""
" - ${description_en}: option description (in English)\n" " - ${description_en}: option description (in English)\n"
" - ${description_en2}: option description (in English), \"(no " " - ${description_en2}: option description (in English), \"(no "
"description)\" if there's no description\n" "description)\" if there's no description\n"
" - ${string_values}: string values allowed for set of an enum option\n" " - ${string_values}: string values allowed for set of an integer option "
" - ${allowed_values}: allowed values\n" "using strings\n"
" - ${marked}: \"1\" if option is marked, otherwise \"0\"\n" " - ${marked}: \"1\" if option is marked, otherwise \"0\"\n"
" - ${index}: index of option in list\n" " - ${index}: index of option in list\n"
" - option data, with color but no spaces:\n" " - option data, with color but no spaces:\n"
@@ -6165,9 +6153,9 @@ msgid ""
"\n" "\n"
"Keys and input to set options on fset buffer:\n" "Keys and input to set options on fset buffer:\n"
" alt+space t toggle boolean value\n" " alt+space t toggle boolean value\n"
" alt+'-' - subtract 1 from value for integer/color/enum, " " alt+'-' - subtract 1 from value for integer/color, set "
"set value for other types\n" "value for other types\n"
" alt+'+' + add 1 to value for integer/color/enum, append to " " alt+'+' + add 1 to value for integer/color, append to "
"value for other types\n" "value for other types\n"
" alt+f, alt+r r reset value\n" " alt+f, alt+r r reset value\n"
" alt+f, alt+u u unset value\n" " alt+f, alt+u u unset value\n"
@@ -6191,8 +6179,10 @@ msgid ""
" alt+p p toggle plugin description options (plugins.desc." " alt+p p toggle plugin description options (plugins.desc."
"*)\n" "*)\n"
" alt+v v toggle help bar\n" " alt+v v toggle help bar\n"
" s:x,y sort options by fields x,y (see above)\n" " s:x,y sort options by fields x,y (see /help fset.look."
" s: reset sort to its default value (see above)\n" "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\"\n"
" w-:xxx export options in file \"xxx\" without help\n" " w-:xxx export options in file \"xxx\" without help\n"
" w+:xxx export options in file \"xxx\" with help\n" " w+:xxx export options in file \"xxx\" with help\n"
@@ -6204,8 +6194,8 @@ msgid ""
" left button move line here\n" " left button move line here\n"
" right button toggle boolean (on/off) or edit the option " " right button toggle boolean (on/off) or edit the option "
"value\n" "value\n"
" right button + drag left/right increase/decrease value for integer/color/" " right button + drag left/right increase/decrease value for integer/color, "
"enum, set/append to value for other types\n" "set/append to value for other types\n"
" right button + drag up/down mark/unmark multiple options\n" " right button + drag up/down mark/unmark multiple options\n"
"\n" "\n"
"Note: if input has one or more leading spaces, the following text is " "Note: if input has one or more leading spaces, the following text is "
@@ -6333,14 +6323,6 @@ msgid ""
"ctrl-x" "ctrl-x"
msgstr "" 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" msgid "color for color name when option fset.look.use_color_value is enabled"
msgstr "" msgstr ""
@@ -6395,6 +6377,10 @@ msgstr "barva přezdívky ve vstupním poli"
msgid "color for quotes around string values" msgid "color for quotes around string values"
msgstr "barva textu vezprávách připojení" msgstr "barva textu vezprávách připojení"
#, fuzzy
msgid "color for allowed values"
msgstr "barva položek, které jsou pryč"
#, fuzzy #, fuzzy
msgid "color for index of option" msgid "color for index of option"
msgstr "barva textu pro zvýrazněný prefix" msgstr "barva textu pro zvýrazněný prefix"
@@ -6601,11 +6587,6 @@ msgstr "jméno serveru (zástupný znak \"*\" je povolen) (volitelný)"
msgid "fset options" msgid "fset options"
msgstr "seznam konfiguračních možností" msgstr "seznam konfiguračních možností"
#, fuzzy
#| msgid "color"
msgid "any color"
msgstr "barva"
#, fuzzy, c-format #, fuzzy, c-format
msgid "%s%s: script \"%s\" already registered (register ignored)" msgid "%s%s: script \"%s\" already registered (register ignored)"
msgstr "%s%s: server \"%s\" již existuje, nemohu jej vytvořít!" msgstr "%s%s: server \"%s\" již existuje, nemohu jej vytvořít!"
@@ -6904,9 +6885,6 @@ msgstr "%s%s: nedostatek paměti pro regulární výraz"
msgid "%s%s: \"%s\" is not a valid regular expression (%s)" msgid "%s%s: \"%s\" is not a valid regular expression (%s)"
msgstr "%s%s: \"%s\" není validní regulární výraz (%s)" msgstr "%s%s: \"%s\" není validní regulární výraz (%s)"
msgid "Receiving list of channels, please wait..."
msgstr ""
#, c-format #, c-format
msgid "" msgid ""
"%s%s: you must specify channel for \"%s\" command if you're not in a channel" "%s%s: you must specify channel for \"%s\" command if you're not in a channel"
@@ -7356,10 +7334,10 @@ msgid ""
"\n" "\n"
"Without argument, \"ls\" and \"list\" are sent.\n" "Without argument, \"ls\" and \"list\" are sent.\n"
"\n" "\n"
"Capabilities supported by WeeChat are: account-notify, account-tag, away-" "Capabilities supported by WeeChat are: account-notify, away-notify, batch, "
"notify, batch, cap-notify, chghost, draft/multiline, echo-message, extended-" "cap-notify, chghost, draft/multiline, echo-message, extended-join, invite-"
"join, invite-notify, message-tags, multi-prefix, server-time, setname, " "notify, message-tags, multi-prefix, server-time, setname, userhost-in-"
"userhost-in-names.\n" "names.\n"
"\n" "\n"
"The capabilities to automatically enable on servers can be set in option irc." "The capabilities to automatically enable on servers can be set in option irc."
"server_default.capabilities (or by server in option irc.server.xxx." "server_default.capabilities (or by server in option irc.server.xxx."
@@ -7724,79 +7702,39 @@ msgid "list channels and their topics"
msgstr "vypsat kanály a jejich témata" msgstr "vypsat kanály a jejich témata"
#, fuzzy #, fuzzy
msgid "" msgid "[-server <server>] [-re <regex>] [<channel>[,<channel>...]] [<target>]"
"[-server <server>] [-re <regex>] [<channel>[,<channel>...]] [<target>] || -"
"up|-down [<number>] || -left|-right [<percent>] || -go <line>|end || -join"
msgstr "[-server <server>] [<kanál1>[,<kanál2>...]] [<klíč1>[,<klíč2>...]]" msgstr "[-server <server>] [<kanál1>[,<kanál2>...]] [<klíč1>[,<klíč2>...]]"
#, fuzzy
msgid "" msgid ""
" server: send to this server (internal name)\n" " server: send to this server (internal name)\n"
" regex: POSIX extended regular expression used to filter results (case " " regex: POSIX extended regular expression used to filter results (case "
"insensitive, can start by \"(?-i)\" to become case sensitive)\n" "insensitive, can start by \"(?-i)\" to become case sensitive)\n"
"channel: channel to list\n" "channel: channel to list\n"
" target: server name\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" "\n"
"Examples:\n" "Examples:\n"
" list all channels on server and display them in a dedicated buffer (can be " " list all channels on server (can be very slow on large networks):\n"
"slow on large networks):\n"
" /list\n" " /list\n"
" list channel #weechat:\n" " list channel #weechat:\n"
" /list #weechat\n" " /list #weechat\n"
" list all channels beginning with \"#weechat\" (can be very slow on large " " list all channels beginning with \"#weechat\" (can be very slow on large "
"networks):\n" "networks):\n"
" /list -re #weechat.*\n" " /list -re #weechat.*"
" 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"
msgstr "" 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" msgid "get statistics about the size of the IRC network"
msgstr "získat statistiku o velikosti IRC sítě" msgstr "získat statistiku o velikosti IRC sítě"
@@ -8623,22 +8561,12 @@ msgid ""
"ctcp.%s\" will not work" "ctcp.%s\" will not work"
msgstr "" 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 "" msgid ""
"format for CTCP reply or empty string for blocking CTCP (no reply); content " "format for CTCP reply or empty string for blocking CTCP (no reply), "
"is evaluated, see /help eval; following variables are replaced: " "following variables are replaced: $version (WeeChat version), $compilation "
"${clientinfo}: list of supported CTCP, ${version}: WeeChat version, ${git}: " "(compilation date), $osinfo (info about OS), $site (WeeChat site), $download "
"Git version, ${versiongit}: WeeChat version and Git version, ${compilation}: " "(WeeChat site, download page), $time (current date and time as text), "
"compilation date, ${osinfo}: info about OS, ${site}: WeeChat site, " "$username (username on server), $realname (realname on server)"
"${download}: WeeChat site, download page, ${time}: current date and time as "
"text, ${username}: username on server, ${realname}: realname on server"
msgstr "" msgstr ""
"formát CTCP odpovědi nebo prázdný řetězec pro blokování CTCP (žádná " "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), " "odpověď), následující přoměnné jsou nahrazovány: $version (verze WeeChat), "
@@ -9006,11 +8934,6 @@ msgstr "%s%s: chyba při vytváření volby serveru \"%s\""
msgid "IRC option renamed: \"irc.%s.%s\" => \"irc.%s.%s\"" msgid "IRC option renamed: \"irc.%s.%s\" => \"irc.%s.%s\""
msgstr "" 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 "" msgid ""
"open channel buffer before the JOIN is received from server when it is auto " "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 " "joined (with server option \"autojoin\"); this is useful to open channels "
@@ -9193,21 +9116,6 @@ msgstr ""
"kanálu nezačíná se správným znakem druhu kanálu na serveru; například: \"/" "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\"" "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 "" msgid ""
"default target buffer for msgbuffer options when target is private and that " "default target buffer for msgbuffer options when target is private and that "
"private buffer is not found" "private buffer is not found"
@@ -9224,20 +9132,6 @@ msgstr ""
"by být poslední buffer), next = aktuální buffer + 1, near_server = za " "by být poslední buffer), next = aktuální buffer + 1, near_server = za "
"posledním kanálem/pv serveru)" "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 "" msgid ""
"force position of new private in list of buffers (none = default position " "force position of new private in list of buffers (none = default position "
"(should be last buffer), next = current buffer + 1, near_server = after last " "(should be last buffer), next = current buffer + 1, near_server = after last "
@@ -9454,14 +9348,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\"" 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)" 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 #, fuzzy
msgid "color for text in account messages" msgid "color for text in account messages"
msgstr "barva textu vezprávách připojení" msgstr "barva textu vezprávách připojení"
@@ -9868,12 +9754,6 @@ msgstr "irc server"
msgid "irc batch" msgid "irc batch"
msgstr "irc kanál" msgstr "irc kanál"
msgid "irc channel on /list buffer"
msgstr ""
msgid "irc data for /list buffer"
msgstr ""
#, c-format #, c-format
msgid "%sCTCP query to %s%s%s: %s%s%s%s%s" msgid "%sCTCP query to %s%s%s: %s%s%s%s%s"
msgstr "%sCTCP dotaz pro %s%s%s: %s%s%s%s%s" msgstr "%sCTCP dotaz pro %s%s%s: %s%s%s%s%s"
@@ -9886,17 +9766,6 @@ msgstr "%s%s: nejste připojen k serveru"
msgid "%s%s: this buffer is not a channel!" msgid "%s%s: this buffer is not a channel!"
msgstr "%s%s: tenhle buffer není kanál!" 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 #, fuzzy, c-format
msgid "%s%s: cannot allocate new modelist" msgid "%s%s: cannot allocate new modelist"
msgstr "%s%s: nemohu přidělit nový kanál" msgstr "%s%s: nemohu přidělit nový kanál"
@@ -11286,13 +11155,6 @@ msgid ""
"by the user (option \"-s\" or \"--no-script\")" "by the user (option \"-s\" or \"--no-script\")"
msgstr "" msgstr ""
msgid "buffer pointer"
msgstr "ukazatel bufferu"
#, fuzzy
msgid "buffer full name"
msgstr "konfigurační soubory"
msgid "terminal charset" msgid "terminal charset"
msgstr "znaková sada terminálu" msgstr "znaková sada terminálu"
@@ -11449,6 +11311,9 @@ msgstr "jméno serveru (zástupný znak \"*\" je povolen) (volitelný)"
msgid "lines of a buffer" msgid "lines of a buffer"
msgstr "řádků bufferu" msgstr "řádků bufferu"
msgid "buffer pointer"
msgstr "ukazatel bufferu"
msgid "list of filters" msgid "list of filters"
msgstr "seznam filtrů" msgstr "seznam filtrů"
@@ -12524,6 +12389,10 @@ msgstr "%s: skript \"%s\" není načten"
msgid "%s: script \"%s\" not found" msgid "%s: script \"%s\" not found"
msgstr "%s: skript \"%s\" nenalezen" msgstr "%s: skript \"%s\" nenalezen"
#, c-format
msgid "%s: script \"%s\" is not installed"
msgstr "%s: skript \"%s\" není nainstalován"
#, c-format #, c-format
msgid "%s: autoload enabled for script \"%s\"" msgid "%s: autoload enabled for script \"%s\""
msgstr "%s: automatické spuštění pro skript \"%s\" zapnuto" msgstr "%s: automatické spuštění pro skript \"%s\" zapnuto"
@@ -12546,10 +12415,6 @@ msgstr ""
msgid "%s: downloading script \"%s\"..." msgid "%s: downloading script \"%s\"..."
msgstr "%s: stahuji skript \"%s\"..." msgstr "%s: stahuji skript \"%s\"..."
#, c-format
msgid "%s: script \"%s\" is not installed"
msgstr "%s: skript \"%s\" není nainstalován"
#, c-format #, c-format
msgid "%s: script \"%s\" is held" msgid "%s: script \"%s\" is held"
msgstr "%s: skript \"%s\"se koná" msgstr "%s: skript \"%s\"se koná"
@@ -12689,7 +12554,7 @@ msgid ""
"list [-o|-ol|-i|-il] || search <text> || show <script> || load|unload|reload " "list [-o|-ol|-i|-il] || search <text> || show <script> || load|unload|reload "
"<script> [<script>...] || autoload|noautoload|toggleautoload <script> " "<script> [<script>...] || autoload|noautoload|toggleautoload <script> "
"[<script>...] || install|remove|installremove|hold [-q] <script> " "[<script>...] || install|remove|installremove|hold [-q] <script> "
"[<script>...] || upgrade || update || up|down [<number>] || go <line>|end" "[<script>...] || upgrade || update"
msgstr "" msgstr ""
"seznam [-o|-i] || hledej <text> || ukaž <script> || načti|uvolni|znovu načís " "seznam [-o|-i] || hledej <text> || ukaž <script> || načti|uvolni|znovu načís "
"<script> [<script>...] || automaticky načti|nenačítejtej automaticky|přepni " "<script> [<script>...] || automaticky načti|nenačítejtej automaticky|přepni "
@@ -12724,10 +12589,6 @@ msgid ""
" upgrade: upgrade all installed scripts which are obsolete (new " " upgrade: upgrade all installed scripts which are obsolete (new "
"version available)\n" "version available)\n"
" update: update local scripts cache\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" "\n"
"Without argument, this command opens a buffer with list of scripts.\n" "Without argument, this command opens a buffer with list of scripts.\n"
"\n" "\n"
@@ -13411,22 +13272,6 @@ msgstr "%sPřezdívka %s%s%s: %s[%s%s%s]"
msgid "No trigger defined" msgid "No trigger defined"
msgstr "Žádné proxy nejsou definovány" 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 #, fuzzy
msgid "List of default triggers:" msgid "List of default triggers:"
msgstr "Seznam trigerů:" msgstr "Seznam trigerů:"
@@ -13570,8 +13415,7 @@ msgid "manage triggers, the Swiss Army knife for WeeChat"
msgstr "" msgstr ""
msgid "" msgid ""
"list [-o|-ol|-i|-il] || listfull || listdefault || add|addoff|addreplace " "list|listfull|listdefault || add|addoff|addreplace <name> <hook> "
"<name> <hook> "
"[\"<arguments>\" [\"<conditions>\" [\"<regex>\" [\"<command>\" [\"<return_code>\" [\"<post_action>\"]]]]]] " "[\"<arguments>\" [\"<conditions>\" [\"<regex>\" [\"<command>\" [\"<return_code>\" [\"<post_action>\"]]]]]] "
"|| addinput [<hook>] || input|output|recreate <name> || set <name> <option> " "|| addinput [<hook>] || input|output|recreate <name> || set <name> <option> "
"<value> || rename|copy <name> <new_name> || enable|disable|toggle [<name>|-" "<value> || rename|copy <name> <new_name> || enable|disable|toggle [<name>|-"
@@ -13582,12 +13426,6 @@ msgstr ""
msgid "" msgid ""
" list: list triggers (without argument, this list is displayed)\n" " 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" " listfull: list triggers with detailed info for each trigger\n"
"listdefault: list default triggers\n" "listdefault: list default triggers\n"
" add: add a trigger\n" " add: add a trigger\n"
@@ -14317,42 +14155,3 @@ msgstr "%s%s: vypršel časový limit \"%s\" pro %s"
#, c-format #, c-format
msgid "%s%s: unable to connect: unexpected error (%d)" msgid "%s%s: unable to connect: unexpected error (%d)"
msgstr "%s%s: nemohu se připojit\" neočekávaná chyba (%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.*"
+123 -585
View File
File diff suppressed because it is too large Load Diff
+82 -294
View File
@@ -22,8 +22,8 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: WeeChat\n" "Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2023-08-22 09:26+0200\n" "POT-Creation-Date: 2023-07-05 21:24+0200\n"
"PO-Revision-Date: 2023-06-26 21:34+0200\n" "PO-Revision-Date: 2023-06-17 11:47+0200\n"
"Last-Translator: Santiago Forero <santiago@forero.xyz>\n" "Last-Translator: Santiago Forero <santiago@forero.xyz>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n" "Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
"Language: es\n" "Language: es\n"
@@ -560,12 +560,12 @@ msgstr "(sin definir)"
msgid "current value" msgid "current value"
msgstr "valor actual" msgstr "valor actual"
msgid "integer"
msgstr "entero"
msgid "string" msgid "string"
msgstr "texto" msgstr "texto"
msgid "integer"
msgstr "entero"
msgid "any string" msgid "any string"
msgstr "cualquier texto" msgstr "cualquier texto"
@@ -578,9 +578,6 @@ msgstr "máximo de caracteres"
msgid "color" msgid "color"
msgstr "color" msgstr "color"
msgid "enum"
msgstr ""
#. TRANSLATORS: please do not translate "(null)" #. TRANSLATORS: please do not translate "(null)"
msgid "undefined value allowed (null)" msgid "undefined value allowed (null)"
msgstr "valor sin definir permitido (null)" msgstr "valor sin definir permitido (null)"
@@ -1550,15 +1547,9 @@ msgstr ""
"movimiento libre del cursor en la pantalla para ejecutar acciones en áreas " "movimiento libre del cursor en la pantalla para ejecutar acciones en áreas "
"específicas" "específicas"
#, fuzzy
#| msgid ""
#| "go chat|<bar>|<x>,<y> || move up|down|left|right|area_up|area_down|"
#| "area_left|area_right || stop"
msgid "" msgid ""
"go chat|<bar> [top_left|top_right|bottom_left|bottom_right] || go <x>,<y> || " "go chat|<bar>|<x>,<y> || move up|down|left|right|area_up|area_down|area_left|"
"move up|down|left|right|top_left|top_right|bottom_left|bottom_right|edge_top|" "area_right || stop"
"edge_bottom|edge_left|edge_right|area_up|area_down|area_left|area_right || "
"stop"
msgstr "" msgstr ""
"go chat|<barra>|<x>,<y> || move up|down|left|right|area_up|area_down|" "go chat|<barra>|<x>,<y> || move up|down|left|right|area_up|area_down|"
"area_left|area_right || stop" "area_left|area_right || stop"
@@ -1593,8 +1584,6 @@ msgid ""
" enter exit cursor mode\n" " enter exit cursor mode\n"
"\n" "\n"
"Examples:\n" "Examples:\n"
" go to the bottom left corner of chat area:\n"
" /cursor go chat bottom_left\n"
" go to nicklist:\n" " go to nicklist:\n"
" /cursor go nicklist\n" " /cursor go nicklist\n"
" go to coordinates x=10, y=5:\n" " go to coordinates x=10, y=5:\n"
@@ -5081,9 +5070,8 @@ msgstr "Leyendo el archivo de configuración %s"
msgid "%sWarning: %s, line %d: invalid syntax, missing \"]\"" msgid "%sWarning: %s, line %d: invalid syntax, missing \"]\""
msgstr "%sAtención: %s, línea %d: sintaxis inválida, falta un \"]\"" msgstr "%sAtención: %s, línea %d: sintaxis inválida, falta un \"]\""
#, fuzzy, c-format #, c-format
#| msgid "%sWarning: %s, line %d: unknown section identifier (\"%s\")" msgid "%sWarning: %s, line %d: unknown section identifier (\"%s\")"
msgid "%sWarning: %s, line %d: ignoring unknown section identifier (\"%s\")"
msgstr "" msgstr ""
"%sAtención: %s, línea %d: identificador de sección desconocido (\"%s\")" "%sAtención: %s, línea %d: identificador de sección desconocido (\"%s\")"
@@ -5099,22 +5087,17 @@ msgid ""
"of file is IGNORED, default options are used" "of file is IGNORED, default options are used"
msgstr "" msgstr ""
#, fuzzy, c-format #, c-format
#| msgid "%sWarning: %s, line %d: option outside section: %s" msgid "%sWarning: %s, line %d: option outside section: %s"
msgid "%sWarning: %s, line %d: ignoring option outside section: %s"
msgstr "%sAtención: %s, línea %d: opción fuera de sección: %s" msgstr "%sAtención: %s, línea %d: opción fuera de sección: %s"
#, fuzzy, c-format #, c-format
#| msgid "%sWarning: %s, line %d: unknown option for section \"%s\": %s" msgid "%sWarning: %s, line %d: unknown option for section \"%s\": %s"
msgid "%sWarning: %s, line %d: ignoring unknown option for section \"%s\": %s"
msgstr "" msgstr ""
"%sAtención: %s, línea %d: opción desconocida para la sección \"%s\": %s" "%sAtención: %s, línea %d: opción desconocida para la sección \"%s\": %s"
#, fuzzy, c-format #, c-format
#| msgid "%sWarning: %s, line %d: invalid value for option: %s" msgid "%sWarning: %s, line %d: invalid value for option: %s"
msgid ""
"%sWarning: %s, line %d: ignoring invalid value for option in section \"%s\": "
"%s"
msgstr "%sAtención: %s, línea %d: valor inválido para la opción: %s" msgstr "%sAtención: %s, línea %d: valor inválido para la opción: %s"
#, c-format #, c-format
@@ -6088,7 +6071,7 @@ msgid ""
"10 and 99 buffers\n" "10 and 99 buffers\n"
" - ${number_displayed}: \"1\" if the number is displayed, otherwise " " - ${number_displayed}: \"1\" if the number is displayed, otherwise "
"\"0\"\n" "\"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" "indented) (evaluation of option buflist.format.indent)\n"
" - ${format_nick_prefix}: colored nick prefix for a channel (evaluation " " - ${format_nick_prefix}: colored nick prefix for a channel (evaluation "
"of option buflist.format.nick_prefix)\n" "of option buflist.format.nick_prefix)\n"
@@ -6194,8 +6177,8 @@ msgstr ""
msgid "" msgid ""
"number of buflist bar items that can be used; the item names are: " "number of buflist bar items that can be used; the item names are: "
"\"buflist\", \"buflist2\", \"buflist3\", \"buflist4\" and \"buflist5\"; be " "\"buflist\", \"buflist2\", \"buflist3\"; be careful, using more than one bar "
"careful, using more than one bar item slows down the display of buffers list" "item slows down the display of buffers list"
msgstr "" msgstr ""
msgid "" msgid ""
@@ -6255,8 +6238,8 @@ msgstr "comando ejecutado cuando WeeChat inicia, antes de cargar los plugins"
#, fuzzy #, fuzzy
msgid "" msgid ""
"string displayed to indent channel, private and list buffers (note: content " "string displayed to indent channel and private buffers (note: content is "
"is evaluated, see /help buflist)" "evaluated, see /help buflist)"
msgstr "comando ejecutado cuando WeeChat inicia, antes de cargar los plugins" msgstr "comando ejecutado cuando WeeChat inicia, antes de cargar los plugins"
#, fuzzy #, fuzzy
@@ -6642,7 +6625,7 @@ msgstr "valores"
#. TRANSLATORS: "%s%s%s:" at beginning of string it the name of option #. TRANSLATORS: "%s%s%s:" at beginning of string it the name of option
#, fuzzy, c-format #, 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]" msgstr "%sApodos %s%s%s: %s[%s%s%s]"
#, fuzzy #, fuzzy
@@ -6689,9 +6672,9 @@ msgid ""
" -go: select a line by number, first line number is 0 (\"end\" to " " -go: select a line by number, first line number is 0 (\"end\" to "
"select the last line)\n" "select the last line)\n"
" -toggle: toggle the boolean value\n" " -toggle: toggle the boolean value\n"
" -add: add \"value\" (which can be a negative number) for integers, " " -add: add \"value\" (which can be a negative number) for integers and "
"colors and enums, set/append to value for other types (set for a negative " "colors, set/append to value for other types (set for a negative value, "
"value, append for a positive value)\n" "append for a positive value)\n"
" -reset: reset the value of option\n" " -reset: reset the value of option\n"
" -unset: unset the option\n" " -unset: unset the option\n"
" -set: add the /set command in input to edit the value of option (move " " -set: add the /set command in input to edit the value of option (move "
@@ -6713,8 +6696,7 @@ msgid ""
" * show all options (no filter)\n" " * show all options (no filter)\n"
" xxx show only options with \"xxx\" in name\n" " xxx show only options with \"xxx\" in name\n"
" f:xxx show only configuration file \"xxx\"\n" " f:xxx show only configuration file \"xxx\"\n"
" t:xxx show only type \"xxx\" (bool/int/str/col/enum or " " t:xxx show only type \"xxx\" (bool/int/str/col)\n"
"boolean/integer/string/color/enum)\n"
" d show only changed options\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 name\n"
" d=xxx show only changed options with \"xxx\" in value\n" " d=xxx show only changed options with \"xxx\" in value\n"
@@ -6727,11 +6709,10 @@ msgid ""
" ==xxx show only options with exact value \"xxx\"\n" " ==xxx show only options with exact value \"xxx\"\n"
" c:xxx show only options matching the evaluated condition " " c:xxx show only options matching the evaluated condition "
"\"xxx\", using following variables: file, section, option, name, " "\"xxx\", using following variables: file, section, option, name, "
"parent_name, type, type_en, type_short (bool/int/str/col/enum), type_tiny (b/" "parent_name, type, type_en, type_short (bool/int/str/col), type_tiny (b/i/s/"
"i/s/c/e), default_value, default_value_undef, value, quoted_value, " "c), default_value, default_value_undef, value, quoted_value, value_undef, "
"value_undef, value_changed, parent_value, min, max, description, " "value_changed, parent_value, min, max, description, description2, "
"description2, description_en, description_en2, string_values, " "description_en, description_en2, string_values\n"
"allowed_values\n"
"\n" "\n"
"The lines with options are displayed using string evaluation (see /help eval " "The lines with options are displayed using string evaluation (see /help eval "
"for the format), with these options:\n" "for the format), with these options:\n"
@@ -6747,8 +6728,8 @@ msgid ""
" - ${parent_name}: parent option name\n" " - ${parent_name}: parent option name\n"
" - ${type}: option type (translated)\n" " - ${type}: option type (translated)\n"
" - ${type_en}: option type (in English)\n" " - ${type_en}: option type (in English)\n"
" - ${type_short}: short option type (bool/int/str/col/enum)\n" " - ${type_short}: short option type (bool/int/str/col)\n"
" - ${type_tiny}: tiny option type (b/i/s/c/e)\n" " - ${type_tiny}: tiny option type (b/i/s/c)\n"
" - ${default_value}: option default value\n" " - ${default_value}: option default value\n"
" - ${default_value_undef}: \"1\" if default value is null, otherwise " " - ${default_value_undef}: \"1\" if default value is null, otherwise "
"\"0\"\n" "\"0\"\n"
@@ -6766,8 +6747,8 @@ msgid ""
" - ${description_en}: option description (in English)\n" " - ${description_en}: option description (in English)\n"
" - ${description_en2}: option description (in English), \"(no " " - ${description_en2}: option description (in English), \"(no "
"description)\" if there's no description\n" "description)\" if there's no description\n"
" - ${string_values}: string values allowed for set of an enum option\n" " - ${string_values}: string values allowed for set of an integer option "
" - ${allowed_values}: allowed values\n" "using strings\n"
" - ${marked}: \"1\" if option is marked, otherwise \"0\"\n" " - ${marked}: \"1\" if option is marked, otherwise \"0\"\n"
" - ${index}: index of option in list\n" " - ${index}: index of option in list\n"
" - option data, with color but no spaces:\n" " - option data, with color but no spaces:\n"
@@ -6796,9 +6777,9 @@ msgid ""
"\n" "\n"
"Keys and input to set options on fset buffer:\n" "Keys and input to set options on fset buffer:\n"
" alt+space t toggle boolean value\n" " alt+space t toggle boolean value\n"
" alt+'-' - subtract 1 from value for integer/color/enum, " " alt+'-' - subtract 1 from value for integer/color, set "
"set value for other types\n" "value for other types\n"
" alt+'+' + add 1 to value for integer/color/enum, append to " " alt+'+' + add 1 to value for integer/color, append to "
"value for other types\n" "value for other types\n"
" alt+f, alt+r r reset value\n" " alt+f, alt+r r reset value\n"
" alt+f, alt+u u unset value\n" " alt+f, alt+u u unset value\n"
@@ -6822,8 +6803,10 @@ msgid ""
" alt+p p toggle plugin description options (plugins.desc." " alt+p p toggle plugin description options (plugins.desc."
"*)\n" "*)\n"
" alt+v v toggle help bar\n" " alt+v v toggle help bar\n"
" s:x,y sort options by fields x,y (see above)\n" " s:x,y sort options by fields x,y (see /help fset.look."
" s: reset sort to its default value (see above)\n" "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\"\n"
" w-:xxx export options in file \"xxx\" without help\n" " w-:xxx export options in file \"xxx\" without help\n"
" w+:xxx export options in file \"xxx\" with help\n" " w+:xxx export options in file \"xxx\" with help\n"
@@ -6835,8 +6818,8 @@ msgid ""
" left button move line here\n" " left button move line here\n"
" right button toggle boolean (on/off) or edit the option " " right button toggle boolean (on/off) or edit the option "
"value\n" "value\n"
" right button + drag left/right increase/decrease value for integer/color/" " right button + drag left/right increase/decrease value for integer/color, "
"enum, set/append to value for other types\n" "set/append to value for other types\n"
" right button + drag up/down mark/unmark multiple options\n" " right button + drag up/down mark/unmark multiple options\n"
"\n" "\n"
"Note: if input has one or more leading spaces, the following text is " "Note: if input has one or more leading spaces, the following text is "
@@ -6964,14 +6947,6 @@ msgid ""
"ctrl-x" "ctrl-x"
msgstr "" 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" msgid "color for color name when option fset.look.use_color_value is enabled"
msgstr "" msgstr ""
@@ -7028,6 +7003,10 @@ msgstr "color para el apodo en la barra de entrada"
msgid "color for quotes around string values" msgid "color for quotes around string values"
msgstr "color para el texto en mensajes de unión" 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 #, fuzzy
msgid "color for index of option" msgid "color for index of option"
msgstr "color del texto para la descripción del cliente" msgstr "color del texto para la descripción del cliente"
@@ -7244,11 +7223,6 @@ msgstr ""
msgid "fset options" msgid "fset options"
msgstr "lista de opciones" msgstr "lista de opciones"
#, fuzzy
#| msgid "color"
msgid "any color"
msgstr "color"
#, c-format #, c-format
msgid "%s%s: script \"%s\" already registered (register ignored)" msgid "%s%s: script \"%s\" already registered (register ignored)"
msgstr "%s%s: script \"%s\" ya registrado (registro ignorado)" msgstr "%s%s: script \"%s\" ya registrado (registro ignorado)"
@@ -7549,9 +7523,6 @@ msgstr "%s%s: no hay suficiente memoria para la expresión regular"
msgid "%s%s: \"%s\" is not a valid regular expression (%s)" msgid "%s%s: \"%s\" is not a valid regular expression (%s)"
msgstr "%s%s: \"%s\" no es una expresión regular válida (%s)" msgstr "%s%s: \"%s\" no es una expresión regular válida (%s)"
msgid "Receiving list of channels, please wait..."
msgstr ""
#, c-format #, c-format
msgid "" msgid ""
"%s%s: you must specify channel for \"%s\" command if you're not in a channel" "%s%s: you must specify channel for \"%s\" command if you're not in a channel"
@@ -8002,10 +7973,10 @@ msgid ""
"\n" "\n"
"Without argument, \"ls\" and \"list\" are sent.\n" "Without argument, \"ls\" and \"list\" are sent.\n"
"\n" "\n"
"Capabilities supported by WeeChat are: account-notify, account-tag, away-" "Capabilities supported by WeeChat are: account-notify, away-notify, batch, "
"notify, batch, cap-notify, chghost, draft/multiline, echo-message, extended-" "cap-notify, chghost, draft/multiline, echo-message, extended-join, invite-"
"join, invite-notify, message-tags, multi-prefix, server-time, setname, " "notify, message-tags, multi-prefix, server-time, setname, userhost-in-"
"userhost-in-names.\n" "names.\n"
"\n" "\n"
"The capabilities to automatically enable on servers can be set in option irc." "The capabilities to automatically enable on servers can be set in option irc."
"server_default.capabilities (or by server in option irc.server.xxx." "server_default.capabilities (or by server in option irc.server.xxx."
@@ -8379,79 +8350,40 @@ msgid "list channels and their topics"
msgstr "lista canales y sus temas" msgstr "lista canales y sus temas"
#, fuzzy #, fuzzy
msgid "" msgid "[-server <server>] [-re <regex>] [<channel>[,<channel>...]] [<target>]"
"[-server <server>] [-re <regex>] [<channel>[,<channel>...]] [<target>] || -"
"up|-down [<number>] || -left|-right [<percent>] || -go <line>|end || -join"
msgstr "[-server <servidor>] [<canal1>[,<canal2>...]] [<clave1>[,<clave2>...]]" msgstr "[-server <servidor>] [<canal1>[,<canal2>...]] [<clave1>[,<clave2>...]]"
#, fuzzy
msgid "" msgid ""
" server: send to this server (internal name)\n" " server: send to this server (internal name)\n"
" regex: POSIX extended regular expression used to filter results (case " " regex: POSIX extended regular expression used to filter results (case "
"insensitive, can start by \"(?-i)\" to become case sensitive)\n" "insensitive, can start by \"(?-i)\" to become case sensitive)\n"
"channel: channel to list\n" "channel: channel to list\n"
" target: server name\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" "\n"
"Examples:\n" "Examples:\n"
" list all channels on server and display them in a dedicated buffer (can be " " list all channels on server (can be very slow on large networks):\n"
"slow on large networks):\n"
" /list\n" " /list\n"
" list channel #weechat:\n" " list channel #weechat:\n"
" /list #weechat\n" " /list #weechat\n"
" list all channels beginning with \"#weechat\" (can be very slow on large " " list all channels beginning with \"#weechat\" (can be very slow on large "
"networks):\n" "networks):\n"
" /list -re #weechat.*\n" " /list -re #weechat.*"
" 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"
msgstr "" 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" msgid "get statistics about the size of the IRC network"
msgstr "obtener estadísticas sobre el tamaño de la red IRC" msgstr "obtener estadísticas sobre el tamaño de la red IRC"
@@ -9292,22 +9224,12 @@ msgid ""
"ctcp.%s\" will not work" "ctcp.%s\" will not work"
msgstr "" 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 "" msgid ""
"format for CTCP reply or empty string for blocking CTCP (no reply); content " "format for CTCP reply or empty string for blocking CTCP (no reply), "
"is evaluated, see /help eval; following variables are replaced: " "following variables are replaced: $version (WeeChat version), $compilation "
"${clientinfo}: list of supported CTCP, ${version}: WeeChat version, ${git}: " "(compilation date), $osinfo (info about OS), $site (WeeChat site), $download "
"Git version, ${versiongit}: WeeChat version and Git version, ${compilation}: " "(WeeChat site, download page), $time (current date and time as text), "
"compilation date, ${osinfo}: info about OS, ${site}: WeeChat site, " "$username (username on server), $realname (realname on server)"
"${download}: WeeChat site, download page, ${time}: current date and time as "
"text, ${username}: username on server, ${realname}: realname on server"
msgstr "" msgstr ""
"formato para un respuesta CTCP o línea vacía para bloquear CTCP (no hay " "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 " "respuesta), las siguientes variables son reemplazadas: $version (versión de "
@@ -9688,11 +9610,6 @@ msgstr "%s%s: error al crear la opción \"%s\" del servidor"
msgid "IRC option renamed: \"irc.%s.%s\" => \"irc.%s.%s\"" msgid "IRC option renamed: \"irc.%s.%s\" => \"irc.%s.%s\""
msgstr "" 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 "" msgid ""
"open channel buffer before the JOIN is received from server when it is auto " "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 " "joined (with server option \"autojoin\"); this is useful to open channels "
@@ -9897,21 +9814,6 @@ msgid ""
"for example: \"/join weechat\" will in fact send: \"/join #weechat\"" "for example: \"/join weechat\" will in fact send: \"/join #weechat\""
msgstr "" 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 "" msgid ""
"default target buffer for msgbuffer options when target is private and that " "default target buffer for msgbuffer options when target is private and that "
"private buffer is not found" "private buffer is not found"
@@ -9928,20 +9830,6 @@ msgstr ""
"predeterminada (último buffer), next = buffer actual + 1, near_server = " "predeterminada (último buffer), next = buffer actual + 1, near_server = "
"después del último canal/privado del 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 "" msgid ""
"force position of new private in list of buffers (none = default position " "force position of new private in list of buffers (none = default position "
"(should be last buffer), next = current buffer + 1, near_server = after last " "(should be last buffer), next = current buffer + 1, near_server = after last "
@@ -10166,16 +10054,6 @@ msgid "color for higher supported TLS version in bar item \"tls_version\""
msgstr "" msgstr ""
"color del sufijo del apodo (el sufijo es el texto mostrado después del apodo)" "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 #, fuzzy
msgid "color for text in account messages" msgid "color for text in account messages"
msgstr "color para el texto en mensajes de unión" msgstr "color para el texto en mensajes de unión"
@@ -10607,12 +10485,6 @@ msgstr "servidor irc"
msgid "irc batch" msgid "irc batch"
msgstr "canal irc" msgstr "canal irc"
msgid "irc channel on /list buffer"
msgstr ""
msgid "irc data for /list buffer"
msgstr ""
#, c-format #, c-format
msgid "%sCTCP query to %s%s%s: %s%s%s%s%s" msgid "%sCTCP query to %s%s%s: %s%s%s%s%s"
msgstr "%sconsulta CTCP a %s%s%s: %s%s%s%s%s" msgstr "%sconsulta CTCP a %s%s%s: %s%s%s%s%s"
@@ -10625,17 +10497,6 @@ msgstr "%s%s: no estas conectado a ningún servidor"
msgid "%s%s: this buffer is not a channel!" msgid "%s%s: this buffer is not a channel!"
msgstr "%s%s: ¡este buffer no es un canal!" 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 #, fuzzy, c-format
msgid "%s%s: cannot allocate new modelist" msgid "%s%s: cannot allocate new modelist"
msgstr "%s%s: no se pudo crear un nuevo canal" msgstr "%s%s: no se pudo crear un nuevo canal"
@@ -12026,14 +11887,6 @@ msgid ""
"by the user (option \"-s\" or \"--no-script\")" "by the user (option \"-s\" or \"--no-script\")"
msgstr "" 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" msgid "terminal charset"
msgstr "set de caracteres de la terminal" msgstr "set de caracteres de la terminal"
@@ -12191,6 +12044,9 @@ msgstr ""
msgid "lines of a buffer" msgid "lines of a buffer"
msgstr "líneas de un buffer" msgstr "líneas de un buffer"
msgid "buffer pointer"
msgstr "puntero del buffer"
msgid "list of filters" msgid "list of filters"
msgstr "lista de filtros" msgstr "lista de filtros"
@@ -13268,6 +13124,10 @@ msgstr "%s: el script \"%s\" no está cargado"
msgid "%s: script \"%s\" not found" msgid "%s: script \"%s\" not found"
msgstr "%s: script \"%s\" no encontrado" 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 #, fuzzy, c-format
msgid "%s: autoload enabled for script \"%s\"" msgid "%s: autoload enabled for script \"%s\""
msgstr "%s: lenguaje del script \"%s\" desconocido" msgstr "%s: lenguaje del script \"%s\" desconocido"
@@ -13290,10 +13150,6 @@ msgstr ""
msgid "%s: downloading script \"%s\"..." msgid "%s: downloading script \"%s\"..."
msgstr "%s: descargando el 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 #, c-format
msgid "%s: script \"%s\" is held" msgid "%s: script \"%s\" is held"
msgstr "%s: script \"%s\" esta retenido" msgstr "%s: script \"%s\" esta retenido"
@@ -13430,7 +13286,7 @@ msgid ""
"list [-o|-ol|-i|-il] || search <text> || show <script> || load|unload|reload " "list [-o|-ol|-i|-il] || search <text> || show <script> || load|unload|reload "
"<script> [<script>...] || autoload|noautoload|toggleautoload <script> " "<script> [<script>...] || autoload|noautoload|toggleautoload <script> "
"[<script>...] || install|remove|installremove|hold [-q] <script> " "[<script>...] || install|remove|installremove|hold [-q] <script> "
"[<script>...] || upgrade || update || up|down [<number>] || go <line>|end" "[<script>...] || upgrade || update"
msgstr "" msgstr ""
msgid "" msgid ""
@@ -13460,10 +13316,6 @@ msgid ""
" upgrade: upgrade all installed scripts which are obsolete (new " " upgrade: upgrade all installed scripts which are obsolete (new "
"version available)\n" "version available)\n"
" update: update local scripts cache\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" "\n"
"Without argument, this command opens a buffer with list of scripts.\n" "Without argument, this command opens a buffer with list of scripts.\n"
"\n" "\n"
@@ -14086,22 +13938,6 @@ msgstr "%sApodos %s%s%s: %s[%s%s%s]"
msgid "No trigger defined" msgid "No trigger defined"
msgstr "Ningún modificador regular definido" 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 #, fuzzy
msgid "List of default triggers:" msgid "List of default triggers:"
msgstr "Lista de alias:" msgstr "Lista de alias:"
@@ -14246,8 +14082,7 @@ msgid "manage triggers, the Swiss Army knife for WeeChat"
msgstr "" msgstr ""
msgid "" msgid ""
"list [-o|-ol|-i|-il] || listfull || listdefault || add|addoff|addreplace " "list|listfull|listdefault || add|addoff|addreplace <name> <hook> "
"<name> <hook> "
"[\"<arguments>\" [\"<conditions>\" [\"<regex>\" [\"<command>\" [\"<return_code>\" [\"<post_action>\"]]]]]] " "[\"<arguments>\" [\"<conditions>\" [\"<regex>\" [\"<command>\" [\"<return_code>\" [\"<post_action>\"]]]]]] "
"|| addinput [<hook>] || input|output|recreate <name> || set <name> <option> " "|| addinput [<hook>] || input|output|recreate <name> || set <name> <option> "
"<value> || rename|copy <name> <new_name> || enable|disable|toggle [<name>|-" "<value> || rename|copy <name> <new_name> || enable|disable|toggle [<name>|-"
@@ -14258,12 +14093,6 @@ msgstr ""
msgid "" msgid ""
" list: list triggers (without argument, this list is displayed)\n" " 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" " listfull: list triggers with detailed info for each trigger\n"
"listdefault: list default triggers\n" "listdefault: list default triggers\n"
" add: add a trigger\n" " add: add a trigger\n"
@@ -14997,44 +14826,3 @@ msgstr "%s%s: tiempo de espera máximo para \"%s\" con %s"
#, c-format #, c-format
msgid "%s%s: unable to connect: unexpected error (%d)" msgid "%s%s: unable to connect: unexpected error (%d)"
msgstr "%s%s: no es posible conectarse: 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.*"
+114 -399
View File
@@ -21,8 +21,8 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: WeeChat\n" "Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2023-08-22 09:26+0200\n" "POT-Creation-Date: 2023-07-05 21:24+0200\n"
"PO-Revision-Date: 2023-08-22 09:28+0200\n" "PO-Revision-Date: 2023-07-05 21:25+0200\n"
"Last-Translator: Sébastien Helleu <flashcode@flashtux.org>\n" "Last-Translator: Sébastien Helleu <flashcode@flashtux.org>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n" "Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
"Language: fr\n" "Language: fr\n"
@@ -526,12 +526,12 @@ msgstr "(non défini)"
msgid "current value" msgid "current value"
msgstr "valeur courante" msgstr "valeur courante"
msgid "integer"
msgstr "entier"
msgid "string" msgid "string"
msgstr "chaîne" msgstr "chaîne"
msgid "integer"
msgstr "entier"
msgid "any string" msgid "any string"
msgstr "toute chaîne" msgstr "toute chaîne"
@@ -544,9 +544,6 @@ msgstr "caractères max"
msgid "color" msgid "color"
msgstr "couleur" msgstr "couleur"
msgid "enum"
msgstr "énuméré"
#. TRANSLATORS: please do not translate "(null)" #. TRANSLATORS: please do not translate "(null)"
msgid "undefined value allowed (null)" msgid "undefined value allowed (null)"
msgstr "valeur non définie autorisée (null)" msgstr "valeur non définie autorisée (null)"
@@ -1495,15 +1492,11 @@ msgstr ""
"zones spécifiques de l'écran" "zones spécifiques de l'écran"
msgid "" msgid ""
"go chat|<bar> [top_left|top_right|bottom_left|bottom_right] || go <x>,<y> || " "go chat|<bar>|<x>,<y> || move up|down|left|right|area_up|area_down|area_left|"
"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|"
"area_right || stop" "area_right || stop"
msgstr ""
"go chat|<barre>|<x>,<y> || move up|down|left|right|area_up|area_down|"
"area_left|area_right || stop"
msgid "" msgid ""
" go: move cursor to chat area, a bar (using bar name) or coordinates \"x," " go: move cursor to chat area, a bar (using bar name) or coordinates \"x,"
@@ -1534,8 +1527,6 @@ msgid ""
" enter exit cursor mode\n" " enter exit cursor mode\n"
"\n" "\n"
"Examples:\n" "Examples:\n"
" go to the bottom left corner of chat area:\n"
" /cursor go chat bottom_left\n"
" go to nicklist:\n" " go to nicklist:\n"
" /cursor go nicklist\n" " /cursor go nicklist\n"
" go to coordinates x=10, y=5:\n" " go to coordinates x=10, y=5:\n"
@@ -1570,8 +1561,6 @@ msgstr ""
" entrée sortir du mode curseur\n" " entrée sortir du mode curseur\n"
"\n" "\n"
"Exemples :\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" " aller dans la liste des pseudos :\n"
" /cursor go nicklist\n" " /cursor go nicklist\n"
" aller aux coordonnées x=10, y=5 :\n" " aller aux coordonnées x=10, y=5 :\n"
@@ -5485,8 +5474,8 @@ msgid "%sWarning: %s, line %d: invalid syntax, missing \"]\""
msgstr "%sAttention : %s, ligne %d : syntaxe invalide, il manque \"]\"" msgstr "%sAttention : %s, ligne %d : syntaxe invalide, il manque \"]\""
#, c-format #, c-format
msgid "%sWarning: %s, line %d: ignoring unknown section identifier (\"%s\")" msgid "%sWarning: %s, line %d: unknown section identifier (\"%s\")"
msgstr "%sAttention : %s, ligne %d : section inconnue, ignorée (\"%s\")" msgstr "%sAttention : %s, ligne %d : section inconnue (\"%s\")"
#, c-format #, c-format
msgid "" msgid ""
@@ -5505,23 +5494,17 @@ msgstr ""
"(%d) => le reste du fichier est IGNORÉ, les options par défaut sont utilisées" "(%d) => le reste du fichier est IGNORÉ, les options par défaut sont utilisées"
#, c-format #, c-format
msgid "%sWarning: %s, line %d: ignoring option outside section: %s" msgid "%sWarning: %s, line %d: option outside section: %s"
msgstr "" msgstr "%sAttention : %s, ligne %d : option en dehors de la section : %s"
"%sAttention : %s, ligne %d : option en dehors de la section, ignorée : %s"
#, c-format #, 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 "" msgstr ""
"%sAttention : %s, ligne %d : option inconnue pour la section \"%s\", " "%sAttention : %s, ligne %d : option inconnue pour la section \"%s\" : %s"
"ignorée : %s"
#, c-format #, c-format
msgid "" msgid "%sWarning: %s, line %d: invalid value for option: %s"
"%sWarning: %s, line %d: ignoring invalid value for option in section \"%s\": " msgstr "%sAttention : %s, ligne %d : valeur invalide pour l'option : %s"
"%s"
msgstr ""
"%sAttention : %s, ligne %d : valeur invalide pour l'option dans la section "
"\"%s\", ignorée : %s"
#, c-format #, c-format
msgid "Reloading configuration file %s" msgid "Reloading configuration file %s"
@@ -6568,7 +6551,7 @@ msgid ""
"10 and 99 buffers\n" "10 and 99 buffers\n"
" - ${number_displayed}: \"1\" if the number is displayed, otherwise " " - ${number_displayed}: \"1\" if the number is displayed, otherwise "
"\"0\"\n" "\"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" "indented) (evaluation of option buflist.format.indent)\n"
" - ${format_nick_prefix}: colored nick prefix for a channel (evaluation " " - ${format_nick_prefix}: colored nick prefix for a channel (evaluation "
"of option buflist.format.nick_prefix)\n" "of option buflist.format.nick_prefix)\n"
@@ -6649,8 +6632,8 @@ msgstr ""
" - ${number2} : numéro indenté, par exemple \" 1\" s'il y a entre 10 et " " - ${number2} : numéro indenté, par exemple \" 1\" s'il y a entre 10 et "
"99 tampons\n" "99 tampons\n"
" - ${number_displayed} : \"1\" si le numéro est affiché, sinon \"0\"\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 " " - ${indent} : indentation pour le nom (les tampons de canaux ou privés "
"listes sont indentés) (évaluation de l'option buflist.format.indent)\n" "sont indentés) (évaluation de l'option buflist.format.indent)\n"
" - ${format_nick_prefix} : le préfixe du pseudo en couleur pour un canal " " - ${format_nick_prefix} : le préfixe du pseudo en couleur pour un canal "
"(évaluation de l'option buflist.format.nick_prefix)\n" "(évaluation de l'option buflist.format.nick_prefix)\n"
" - ${color_nick_prefix} : la couleur du préfixe du pseudo pour un canal " " - ${color_nick_prefix} : la couleur du préfixe du pseudo pour un canal "
@@ -6802,13 +6785,12 @@ msgstr ""
msgid "" msgid ""
"number of buflist bar items that can be used; the item names are: " "number of buflist bar items that can be used; the item names are: "
"\"buflist\", \"buflist2\", \"buflist3\", \"buflist4\" and \"buflist5\"; be " "\"buflist\", \"buflist2\", \"buflist3\"; be careful, using more than one bar "
"careful, using more than one bar item slows down the display of buffers list" "item slows down the display of buffers list"
msgstr "" msgstr ""
"nombre d'objets de barre buflist qui peuvent être utilisés ; les objets de " "nombre d'objets de barre buflist qui peuvent être utilisés ; les objets de "
"barre sont : \"buflist\", \"buflist2\", \"buflist3\", \"buflist4\" et " "barre sont : \"buflist\", \"buflist2\", \"buflist3\" ; attention, utiliser "
"\"buflist5\" ; attention, utiliser plus d'un objet de barre ralentit " "plus d'un objet de barre ralentit l'affichage de la liste des tampons"
"l'affichage de la liste des tampons"
msgid "" msgid ""
"format of each line with a buffer (note: content is evaluated, see /help " "format of each line with a buffer (note: content is evaluated, see /help "
@@ -6879,11 +6861,11 @@ msgstr ""
"voir /help buflist)" "voir /help buflist)"
msgid "" msgid ""
"string displayed to indent channel, private and list buffers (note: content " "string displayed to indent channel and private buffers (note: content is "
"is evaluated, see /help buflist)" "evaluated, see /help buflist)"
msgstr "" msgstr ""
"chaîne affichée pour indenter un tampon de canal, privé ou liste (note : le " "chaîne affichée pour indenter un tampon de canal ou privé (note : le contenu "
"contenu est évalué, voir /help buflist)" "est évalué, voir /help buflist)"
msgid "" msgid ""
"format for lag on an IRC server buffer (note: content is evaluated, see /" "format for lag on an IRC server buffer (note: content is evaluated, see /"
@@ -7408,8 +7390,8 @@ msgstr "valeurs :"
#. TRANSLATORS: "%s%s%s:" at beginning of string it the name of option #. TRANSLATORS: "%s%s%s:" at beginning of string it the name of option
#, c-format #, 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[%s%s]%s" msgstr "%s%s%s : %s %s[%s%s]%s"
msgid "(no description)" msgid "(no description)"
msgstr "(pas de description)" msgstr "(pas de description)"
@@ -7469,9 +7451,9 @@ msgid ""
" -go: select a line by number, first line number is 0 (\"end\" to " " -go: select a line by number, first line number is 0 (\"end\" to "
"select the last line)\n" "select the last line)\n"
" -toggle: toggle the boolean value\n" " -toggle: toggle the boolean value\n"
" -add: add \"value\" (which can be a negative number) for integers, " " -add: add \"value\" (which can be a negative number) for integers and "
"colors and enums, set/append to value for other types (set for a negative " "colors, set/append to value for other types (set for a negative value, "
"value, append for a positive value)\n" "append for a positive value)\n"
" -reset: reset the value of option\n" " -reset: reset the value of option\n"
" -unset: unset the option\n" " -unset: unset the option\n"
" -set: add the /set command in input to edit the value of option (move " " -set: add the /set command in input to edit the value of option (move "
@@ -7493,8 +7475,7 @@ msgid ""
" * show all options (no filter)\n" " * show all options (no filter)\n"
" xxx show only options with \"xxx\" in name\n" " xxx show only options with \"xxx\" in name\n"
" f:xxx show only configuration file \"xxx\"\n" " f:xxx show only configuration file \"xxx\"\n"
" t:xxx show only type \"xxx\" (bool/int/str/col/enum or " " t:xxx show only type \"xxx\" (bool/int/str/col)\n"
"boolean/integer/string/color/enum)\n"
" d show only changed options\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 name\n"
" d=xxx show only changed options with \"xxx\" in value\n" " d=xxx show only changed options with \"xxx\" in value\n"
@@ -7507,11 +7488,10 @@ msgid ""
" ==xxx show only options with exact value \"xxx\"\n" " ==xxx show only options with exact value \"xxx\"\n"
" c:xxx show only options matching the evaluated condition " " c:xxx show only options matching the evaluated condition "
"\"xxx\", using following variables: file, section, option, name, " "\"xxx\", using following variables: file, section, option, name, "
"parent_name, type, type_en, type_short (bool/int/str/col/enum), type_tiny (b/" "parent_name, type, type_en, type_short (bool/int/str/col), type_tiny (b/i/s/"
"i/s/c/e), default_value, default_value_undef, value, quoted_value, " "c), default_value, default_value_undef, value, quoted_value, value_undef, "
"value_undef, value_changed, parent_value, min, max, description, " "value_changed, parent_value, min, max, description, description2, "
"description2, description_en, description_en2, string_values, " "description_en, description_en2, string_values\n"
"allowed_values\n"
"\n" "\n"
"The lines with options are displayed using string evaluation (see /help eval " "The lines with options are displayed using string evaluation (see /help eval "
"for the format), with these options:\n" "for the format), with these options:\n"
@@ -7527,8 +7507,8 @@ msgid ""
" - ${parent_name}: parent option name\n" " - ${parent_name}: parent option name\n"
" - ${type}: option type (translated)\n" " - ${type}: option type (translated)\n"
" - ${type_en}: option type (in English)\n" " - ${type_en}: option type (in English)\n"
" - ${type_short}: short option type (bool/int/str/col/enum)\n" " - ${type_short}: short option type (bool/int/str/col)\n"
" - ${type_tiny}: tiny option type (b/i/s/c/e)\n" " - ${type_tiny}: tiny option type (b/i/s/c)\n"
" - ${default_value}: option default value\n" " - ${default_value}: option default value\n"
" - ${default_value_undef}: \"1\" if default value is null, otherwise " " - ${default_value_undef}: \"1\" if default value is null, otherwise "
"\"0\"\n" "\"0\"\n"
@@ -7546,8 +7526,8 @@ msgid ""
" - ${description_en}: option description (in English)\n" " - ${description_en}: option description (in English)\n"
" - ${description_en2}: option description (in English), \"(no " " - ${description_en2}: option description (in English), \"(no "
"description)\" if there's no description\n" "description)\" if there's no description\n"
" - ${string_values}: string values allowed for set of an enum option\n" " - ${string_values}: string values allowed for set of an integer option "
" - ${allowed_values}: allowed values\n" "using strings\n"
" - ${marked}: \"1\" if option is marked, otherwise \"0\"\n" " - ${marked}: \"1\" if option is marked, otherwise \"0\"\n"
" - ${index}: index of option in list\n" " - ${index}: index of option in list\n"
" - option data, with color but no spaces:\n" " - option data, with color but no spaces:\n"
@@ -7576,9 +7556,9 @@ msgid ""
"\n" "\n"
"Keys and input to set options on fset buffer:\n" "Keys and input to set options on fset buffer:\n"
" alt+space t toggle boolean value\n" " alt+space t toggle boolean value\n"
" alt+'-' - subtract 1 from value for integer/color/enum, " " alt+'-' - subtract 1 from value for integer/color, set "
"set value for other types\n" "value for other types\n"
" alt+'+' + add 1 to value for integer/color/enum, append to " " alt+'+' + add 1 to value for integer/color, append to "
"value for other types\n" "value for other types\n"
" alt+f, alt+r r reset value\n" " alt+f, alt+r r reset value\n"
" alt+f, alt+u u unset value\n" " alt+f, alt+u u unset value\n"
@@ -7602,8 +7582,10 @@ msgid ""
" alt+p p toggle plugin description options (plugins.desc." " alt+p p toggle plugin description options (plugins.desc."
"*)\n" "*)\n"
" alt+v v toggle help bar\n" " alt+v v toggle help bar\n"
" s:x,y sort options by fields x,y (see above)\n" " s:x,y sort options by fields x,y (see /help fset.look."
" s: reset sort to its default value (see above)\n" "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\"\n"
" w-:xxx export options in file \"xxx\" without help\n" " w-:xxx export options in file \"xxx\" without help\n"
" w+:xxx export options in file \"xxx\" with help\n" " w+:xxx export options in file \"xxx\" with help\n"
@@ -7615,8 +7597,8 @@ msgid ""
" left button move line here\n" " left button move line here\n"
" right button toggle boolean (on/off) or edit the option " " right button toggle boolean (on/off) or edit the option "
"value\n" "value\n"
" right button + drag left/right increase/decrease value for integer/color/" " right button + drag left/right increase/decrease value for integer/color, "
"enum, set/append to value for other types\n" "set/append to value for other types\n"
" right button + drag up/down mark/unmark multiple options\n" " right button + drag up/down mark/unmark multiple options\n"
"\n" "\n"
"Note: if input has one or more leading spaces, the following text is " "Note: if input has one or more leading spaces, the following text is "
@@ -7642,16 +7624,16 @@ msgstr ""
"haut\n" "haut\n"
" -down : déplacer la ligne sélectionnée de \"nombre\" lignes vers le " " -down : déplacer la ligne sélectionnée de \"nombre\" lignes vers le "
"bas\n" "bas\n"
" -left : faire défiler le tampon fset de \"pourcentage\" de largeur " " -left : faire défier le tampon fset de \"pourcentage\" de largeur vers "
"vers la gauche\n" "la gauche\n"
" -right : faire défiler le tampon fset de \"pourcentage\" de largeur " " -right : faire défier le tampon fset de \"pourcentage\" de largeur vers "
"vers la droite\n" "la droite\n"
" -go : sélectionner une ligne par numéro, la première ligne est 0 " " -go : sélectionner une ligne par numéro, la première ligne est 0 "
"(\"end\" pour sélectionner la dernière ligne)\n" "(\"end\" pour sélectionner la dernière ligne)\n"
" -toggle : basculer la valeur booléenne\n" " -toggle : basculer la valeur booléenne\n"
" -add : ajouter \"valeur\" (qui peut être un nombre négatif) pour les " " -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 " "entiers et couleurs, définir/ajouter à la valeur pour les autres types "
"types (définir pour une valeur négative, ajouter pour un nombre positif)\n" "(définir pour une valeur négative, ajouter pour un nombre positif)\n"
" -reset : réinitialiser la valeur de l'option\n" " -reset : réinitialiser la valeur de l'option\n"
" -unset : supprimer/réinitialiser l'option\n" " -unset : supprimer/réinitialiser l'option\n"
" -set : ajouter la commande /set dans l'entrée pour éditer la valeur " " -set : ajouter la commande /set dans l'entrée pour éditer la valeur "
@@ -7676,8 +7658,8 @@ msgstr ""
"nom\n" "nom\n"
" f:xxx afficher seulement le fichier de configuration " " f:xxx afficher seulement le fichier de configuration "
"\"xxx\"\n" "\"xxx\"\n"
" t:xxx afficher seulement le type \"xxx\" (bool/int/str/col/" " t:xxx afficher seulement le type \"xxx\" (bool/int/str/"
"enum ou boolean/integer/string/color/enum)\n" "col)\n"
" d afficher seulement les options changées\n" " d afficher seulement les options changées\n"
" d:xxx afficher seulement les options changées avec \"xxx\" " " d:xxx afficher seulement les options changées avec \"xxx\" "
"dans le nom\n" "dans le nom\n"
@@ -7696,10 +7678,9 @@ msgstr ""
" c:xxx afficher seulement les options qui correspondent à la " " c:xxx afficher seulement les options qui correspondent à la "
"condition évaluée \"xxx\", en utilisant les variables suivantes : file, " "condition évaluée \"xxx\", en utilisant les variables suivantes : file, "
"section, option, name, parent_name, type, type_en, type_short (bool/int/str/" "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, " "quoted_value, value_undef, value_changed, parent_value, min, max, "
"description, description2, description_en, description_en2, string_values, " "description, description2, description_en, description_en2, string_values\n"
"allowed_values\n"
"\n" "\n"
"Les lignes avec des options sont affichées en utilisant l'évaluation de " "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" "chaîne (voir /help eval pour le format), avec ces options :\n"
@@ -7717,8 +7698,8 @@ msgstr ""
" - ${parent_name} : nom de l'option parente\n" " - ${parent_name} : nom de l'option parente\n"
" - ${type} : type de l'option (traduit)\n" " - ${type} : type de l'option (traduit)\n"
" - ${type_en} : type de l'option (en Anglais)\n" " - ${type_en} : type de l'option (en Anglais)\n"
" - ${type_short} : type court de l'option (bool/int/str/col/enum)\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/e)\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} : valeur par défaut de l'option\n"
" - ${default_value_undef} : \"1\" si la valeur par défaut est null, sinon " " - ${default_value_undef} : \"1\" si la valeur par défaut est null, sinon "
"\"0\"\n" "\"0\"\n"
@@ -7737,8 +7718,7 @@ msgstr ""
" - ${description_en2} : description de l'option (en Anglais), \"(no " " - ${description_en2} : description de l'option (en Anglais), \"(no "
"description)\" s'il n'y a pas de description\n" "description)\" s'il n'y a pas de description\n"
" - ${string_values} : valeurs chaîne autorisées pour définir une option " " - ${string_values} : valeurs chaîne autorisées pour définir une option "
"de type énuméré\n" "de type entier utilisant des chaînes\n"
" - ${allowed_values} : valeurs autorisées\n"
" - ${marked} : \"1\" si l'option est marquée, sinon \"0\"\n" " - ${marked} : \"1\" si l'option est marquée, sinon \"0\"\n"
" - ${index} : index de l'option dans la liste\n" " - ${index} : index de l'option dans la liste\n"
" - données de l'option, avec couleur mais sans espaces :\n" " - données de l'option, avec couleur mais sans espaces :\n"
@@ -7767,10 +7747,10 @@ msgstr ""
"\n" "\n"
"Touches et entrées pour définir les options sur le tampon fset :\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+espace t basculer la valeur booléenne\n"
" alt+'-' - soustraire 1 de la valeur pour un entier/couleur/" " alt+'-' - soustraire 1 de la valeur pour un entier/"
"énuméré, définir la valeur pour les autres types\n" "couleur, définir la valeur pour les autres types\n"
" alt+'+' + ajouter 1 à la valeur pour un entier/couleur/" " alt+'+' + ajouter 1 à la valeur pour un entier/couleur, "
"énuméré, ajouter à la valeur pour les autres types\n" "ajouter à la valeur pour les autres types\n"
" alt+f, alt+r r réinitialiser la valeur\n" " alt+f, alt+r r réinitialiser la valeur\n"
" alt+f, alt+u u supprimer/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" " alt+entrée s définir la valeur\n"
@@ -7798,10 +7778,10 @@ msgstr ""
" alt+p p activer/désactiver la description des options " " alt+p p activer/désactiver la description des options "
"d'extensions (plugins.desc.*)\n" "d'extensions (plugins.desc.*)\n"
" alt+v v activer/désactiver la barre d'aide\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-" " s:x,y trier les options par les champs x,y (voir /help "
"dessus)\n" "fset.look.sort)\n"
" s: réinitialiser le tri à sa valeur par défaut " " 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\"\n"
" w-:xxx exporter les options dans le fichier \"xxx\" " " w-:xxx exporter les options dans le fichier \"xxx\" "
"sans aide\n" "sans aide\n"
@@ -7817,8 +7797,7 @@ msgstr ""
" bouton droit basculer le booléen (on/off) ou " " bouton droit basculer le booléen (on/off) ou "
"éditer la valeur de l'option\n" "éditer la valeur de l'option\n"
" bouton droit + glisser gauche/droite incrémenter/décrémenter la valeur " " 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 " "pour un entier/couleur, définir/ajouter à la valeur pour les autres types\n"
"types\n"
" bouton droit + glisser haut/bas marquer/démarquer plusieurs options\n" " bouton droit + glisser haut/bas marquer/démarquer plusieurs options\n"
"\n" "\n"
"Note : si l'entrée comporte un ou plusieurs espaces en tête, le texte " "Note : si l'entrée comporte un ou plusieurs espaces en tête, le texte "
@@ -7978,12 +7957,6 @@ msgstr ""
"${type} ${value2}\"), qui se fait sans évaluation de chaîne et donc plus " "${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" "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" msgid "color for color name when option fset.look.use_color_value is enabled"
msgstr "" msgstr ""
"couleur pour le nom de la couleur lorsque l'option fset.look.use_color_value " "couleur pour le nom de la couleur lorsque l'option fset.look.use_color_value "
@@ -8033,6 +8006,9 @@ msgstr "couleur pour le nom dans la barre d'aide"
msgid "color for quotes around string values" msgid "color for quotes around string values"
msgstr "couleur pour les guillemets autour des valeurs de type chaîne" 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" msgid "color for index of option"
msgstr "couleur pour l'index de l'option" msgstr "couleur pour l'index de l'option"
@@ -8222,9 +8198,6 @@ msgstr "nom d'option (le caractère joker \"*\" est autorisé) (optionnel)"
msgid "fset options" msgid "fset options"
msgstr "options fset" msgstr "options fset"
msgid "any color"
msgstr "toute couleur"
#, c-format #, c-format
msgid "%s%s: script \"%s\" already registered (register ignored)" msgid "%s%s: script \"%s\" already registered (register ignored)"
msgstr "%s%s : script \"%s\" déjà enregistré (register ignoré)" msgstr "%s%s : script \"%s\" déjà enregistré (register ignoré)"
@@ -8532,9 +8505,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)" 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)" 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 #, c-format
msgid "" msgid ""
"%s%s: you must specify channel for \"%s\" command if you're not in a channel" "%s%s: you must specify channel for \"%s\" command if you're not in a channel"
@@ -9071,10 +9041,10 @@ msgid ""
"\n" "\n"
"Without argument, \"ls\" and \"list\" are sent.\n" "Without argument, \"ls\" and \"list\" are sent.\n"
"\n" "\n"
"Capabilities supported by WeeChat are: account-notify, account-tag, away-" "Capabilities supported by WeeChat are: account-notify, away-notify, batch, "
"notify, batch, cap-notify, chghost, draft/multiline, echo-message, extended-" "cap-notify, chghost, draft/multiline, echo-message, extended-join, invite-"
"join, invite-notify, message-tags, multi-prefix, server-time, setname, " "notify, message-tags, multi-prefix, server-time, setname, userhost-in-"
"userhost-in-names.\n" "names.\n"
"\n" "\n"
"The capabilities to automatically enable on servers can be set in option irc." "The capabilities to automatically enable on servers can be set in option irc."
"server_default.capabilities (or by server in option irc.server.xxx." "server_default.capabilities (or by server in option irc.server.xxx."
@@ -9100,10 +9070,10 @@ msgstr ""
"\n" "\n"
"Sans paramètre, \"ls\" et \"list\" sont envoyés.\n" "Sans paramètre, \"ls\" et \"list\" sont envoyés.\n"
"\n" "\n"
"Les capacités supportées par WeeChat sont : account-notify, account-tag, " "Les capacités supportées par WeeChat sont : account-notify, away-notify, "
"away-notify, batch, cap-notify, chghost, draft/multiline, echo-message, " "batch, cap-notify, chghost, draft/multiline, echo-message, extended-join, "
"extended-join, invite-notify, message-tags, multi-prefix, server-time, " "invite-notify, message-tags, multi-prefix, server-time, setname, userhost-in-"
"setname, userhost-in-names.\n" "names.\n"
"\n" "\n"
"Les capacités à activer automatiquement sur les serveurs peuvent être " "Les capacités à activer automatiquement sur les serveurs peuvent être "
"définies dans l'option irc.server_default.capabilities (ou par serveur dans " "définies dans l'option irc.server_default.capabilities (ou par serveur dans "
@@ -9529,12 +9499,8 @@ msgstr ""
msgid "list channels and their topics" msgid "list channels and their topics"
msgstr "lister les canaux et leurs titres" msgstr "lister les canaux et leurs titres"
msgid "" msgid "[-server <server>] [-re <regex>] [<channel>[,<channel>...]] [<target>]"
"[-server <server>] [-re <regex>] [<channel>[,<channel>...]] [<target>] || -" msgstr "[-server <serveur>] [-re <regex>] [<canal>[,<canal>...]] [<cible>]"
"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 "" msgid ""
" server: send to this server (internal name)\n" " server: send to this server (internal name)\n"
@@ -9542,67 +9508,15 @@ msgid ""
"insensitive, can start by \"(?-i)\" to become case sensitive)\n" "insensitive, can start by \"(?-i)\" to become case sensitive)\n"
"channel: channel to list\n" "channel: channel to list\n"
" target: server name\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" "\n"
"Examples:\n" "Examples:\n"
" list all channels on server and display them in a dedicated buffer (can be " " list all channels on server (can be very slow on large networks):\n"
"slow on large networks):\n"
" /list\n" " /list\n"
" list channel #weechat:\n" " list channel #weechat:\n"
" /list #weechat\n" " /list #weechat\n"
" list all channels beginning with \"#weechat\" (can be very slow on large " " list all channels beginning with \"#weechat\" (can be very slow on large "
"networks):\n" "networks):\n"
" /list -re #weechat.*\n" " /list -re #weechat.*"
" 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"
msgstr "" msgstr ""
"serveur : envoyer à ce serveur (nom interne)\n" "serveur : envoyer à ce serveur (nom interne)\n"
" regex : expression régulière POSIX étendue utilisée pour filtrer les " " regex : expression régulière POSIX étendue utilisée pour filtrer les "
@@ -9610,75 +9524,16 @@ msgstr ""
"sensible à la casse)\n" "sensible à la casse)\n"
" canal : canal à lister\n" " canal : canal à lister\n"
" cible : nom du serveur\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" "\n"
"Exemples :\n" "Exemples :\n"
" lister tous les canaux du serveur et les afficher dans un tampon dédié " " lister tous les canaux du serveur (peut être très lent pour les grands "
"(peut être lent pour les grands réseaux) :\n" "réseaux) :\n"
" /list\n" " /list\n"
" lister le canal #weechat :\n" " lister le canal #weechat :\n"
" /list #weechat\n" " /list #weechat\n"
" lister tous les canaux commençant par \"#weechat\" (peut être lent pour " " lister tous les canaux commençant par \"#weechat\" (peut être très lent "
"les grands réseaux) :\n" "pour les grands réseaux) :\n"
" /list -re #weechat.*\n" " /list -re #weechat.*"
" 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"
msgid "get statistics about the size of the IRC network" msgid "get statistics about the size of the IRC network"
msgstr "obtenir des statistiques sur la taille du réseau IRC" msgstr "obtenir des statistiques sur la taille du réseau IRC"
@@ -10591,23 +10446,19 @@ msgstr ""
"\"irc.ctcp.%s\" ne fonctionnera pas" "\"irc.ctcp.%s\" ne fonctionnera pas"
msgid "" msgid ""
"format for CTCP reply or empty string for blocking CTCP (no reply); content " "format for CTCP reply or empty string for blocking CTCP (no reply), "
"is evaluated, see /help eval; following variables are replaced: " "following variables are replaced: $version (WeeChat version), $compilation "
"${clientinfo}: list of supported CTCP, ${version}: WeeChat version, ${git}: " "(compilation date), $osinfo (info about OS), $site (WeeChat site), $download "
"Git version, ${versiongit}: WeeChat version and Git version, ${compilation}: " "(WeeChat site, download page), $time (current date and time as text), "
"compilation date, ${osinfo}: info about OS, ${site}: WeeChat site, " "$username (username on server), $realname (realname on server)"
"${download}: WeeChat site, download page, ${time}: current date and time as "
"text, ${username}: username on server, ${realname}: realname on server"
msgstr "" msgstr ""
"format de réponse CTCP ou une chaîne vide pour bloquer le CTCP (pas de " "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 " "réponse), les variables suivantes sont remplacées : $version (version "
"sont remplacées : ${clientinfo} : liste des CTCP supportés, ${version} : " "WeeChat), $compilation (date de compilation), $osinfo (information sur "
"version de WeeChat, ${git} : version Git, ${versiongit} : version de WeeChat " "l'OS), $site (site WeeChat), $download (site WeeChat, page de "
"et version Git, ${compilation} : date de compilation, ${osinfo} : " "téléchargement), $time (date et heure courante sous forme de texte), "
"information sur l'OS, ${site} : site de WeeChat, ${download} : page de " "$username (nom d'utilisateur sur le serveur), $realname (nom réel sur le "
"téléchargement du site de WeeChat, ${time} : date et heure courante sous " "serveur)"
"forme de texte, ${username} : nom d'utilisateur sur le serveur, "
"${realname} : nom réel sur le serveur"
#, c-format #, c-format
msgid "%s%s: error creating CTCP \"%s\" => \"%s\"" msgid "%s%s: error creating CTCP \"%s\" => \"%s\""
@@ -11043,10 +10894,6 @@ msgstr "%s%s : erreur de création de l'option serveur \"%s\""
msgid "IRC option renamed: \"irc.%s.%s\" => \"irc.%s.%s\"" msgid "IRC option renamed: \"irc.%s.%s\" => \"irc.%s.%s\""
msgstr "Option IRC renommée : \"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 "" msgid ""
"open channel buffer before the JOIN is received from server when it is auto " "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 " "joined (with server option \"autojoin\"); this is useful to open channels "
@@ -11273,25 +11120,6 @@ msgstr ""
"valide pour le serveur ; par exemple \"/join weechat\" enverra en fait : \"/" "valide pour le serveur ; par exemple \"/join weechat\" enverra en fait : \"/"
"join #weechat\"" "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 "" msgid ""
"default target buffer for msgbuffer options when target is private and that " "default target buffer for msgbuffer options when target is private and that "
"private buffer is not found" "private buffer is not found"
@@ -11308,15 +11136,6 @@ msgstr ""
"position par défaut (devrait être le dernier tampon), next = tampon courant " "position par défaut (devrait être le dernier tampon), next = tampon courant "
"+ 1, near_server = après le dernier canal/privé du serveur)" "+ 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 "" msgid ""
"force position of new private in list of buffers (none = default position " "force position of new private in list of buffers (none = default position "
"(should be last buffer), next = current buffer + 1, near_server = after last " "(should be last buffer), next = current buffer + 1, near_server = after last "
@@ -11571,12 +11390,6 @@ msgstr ""
"couleur pour la version de TLS la plus haute dans l'objet de barre " "couleur pour la version de TLS la plus haute dans l'objet de barre "
"\"tls_version\"" "\"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" msgid "color for text in account messages"
msgstr "couleur pour le texte dans les messages account" msgstr "couleur pour le texte dans les messages account"
@@ -12007,12 +11820,6 @@ msgstr "serveur irc"
msgid "irc batch" msgid "irc batch"
msgstr "batch irc" 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 #, c-format
msgid "%sCTCP query to %s%s%s: %s%s%s%s%s" msgid "%sCTCP query to %s%s%s: %s%s%s%s%s"
msgstr "%sDemande CTCP vers %s%s%s : %s%s%s%s%s" msgstr "%sDemande CTCP vers %s%s%s : %s%s%s%s%s"
@@ -12025,18 +11832,6 @@ msgstr "%s%s : vous n'êtes pas connecté au serveur"
msgid "%s%s: this buffer is not a channel!" msgid "%s%s: this buffer is not a channel!"
msgstr "%s%s : ce tampon n'est pas un canal !" 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 #, c-format
msgid "%s%s: cannot allocate new modelist" msgid "%s%s: cannot allocate new modelist"
msgstr "%s%s : impossible d'allouer une nouvelle liste de modes" msgstr "%s%s : impossible d'allouer une nouvelle liste de modes"
@@ -13452,12 +13247,6 @@ msgstr ""
"1 si la les scripts sont automatiquement charés, 0 si l'auto-chargement a " "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\")" "é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" msgid "terminal charset"
msgstr "charset du terminal" msgstr "charset du terminal"
@@ -13622,6 +13411,9 @@ msgstr "nom de tampon (le caractère joker \"*\" est autorisé) (optionnel)"
msgid "lines of a buffer" msgid "lines of a buffer"
msgstr "lignes d'un tampon" msgstr "lignes d'un tampon"
msgid "buffer pointer"
msgstr "pointeur vers le tampon"
msgid "list of filters" msgid "list of filters"
msgstr "liste des filtres" msgstr "liste des filtres"
@@ -14820,6 +14612,10 @@ msgstr "%s : script \"%s\" non chargé"
msgid "%s: script \"%s\" not found" msgid "%s: script \"%s\" not found"
msgstr "%s : script \"%s\" non trouvé" 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 #, c-format
msgid "%s: autoload enabled for script \"%s\"" msgid "%s: autoload enabled for script \"%s\""
msgstr "%s : chargement automatique activé pour le script \"%s\"" msgstr "%s : chargement automatique activé pour le script \"%s\""
@@ -14843,10 +14639,6 @@ msgstr ""
msgid "%s: downloading script \"%s\"..." msgid "%s: downloading script \"%s\"..."
msgstr "%s : téléchargement du 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 #, c-format
msgid "%s: script \"%s\" is held" msgid "%s: script \"%s\" is held"
msgstr "%s : le script \"%s\" est figé" msgstr "%s : le script \"%s\" est figé"
@@ -14987,12 +14779,12 @@ msgid ""
"list [-o|-ol|-i|-il] || search <text> || show <script> || load|unload|reload " "list [-o|-ol|-i|-il] || search <text> || show <script> || load|unload|reload "
"<script> [<script>...] || autoload|noautoload|toggleautoload <script> " "<script> [<script>...] || autoload|noautoload|toggleautoload <script> "
"[<script>...] || install|remove|installremove|hold [-q] <script> " "[<script>...] || install|remove|installremove|hold [-q] <script> "
"[<script>...] || upgrade || update || up|down [<number>] || go <line>|end" "[<script>...] || upgrade || update"
msgstr "" msgstr ""
"list [-o|-ol|-i|-il] || search <texte> || show <script> || load|unload|" "list [-o|-ol|-i|-il] || search <texte> || show <script> || load|unload|"
"reload <script> [<script>...] || autoload|noautoload|toggleautoload <script> " "reload <script> [<script>...] || autoload|noautoload|toggleautoload <script> "
"[<script>...] || install|remove|installremove|hold [-q] <script> " "[<script>...] || install|remove|installremove|hold [-q] <script> "
"[<script>...] || upgrade || update || up|down [<nombre>] || go <ligne>|end" "[<script>...] || upgrade || update"
msgid "" msgid ""
" list: list loaded scripts (all languages)\n" " list: list loaded scripts (all languages)\n"
@@ -15021,10 +14813,6 @@ msgid ""
" upgrade: upgrade all installed scripts which are obsolete (new " " upgrade: upgrade all installed scripts which are obsolete (new "
"version available)\n" "version available)\n"
" update: update local scripts cache\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" "\n"
"Without argument, this command opens a buffer with list of scripts.\n" "Without argument, this command opens a buffer with list of scripts.\n"
"\n" "\n"
@@ -15111,12 +14899,6 @@ msgstr ""
" upgrade : mettre à jour les scripts obsolètes (avec nouvelle version " " upgrade : mettre à jour les scripts obsolètes (avec nouvelle version "
"disponible)\n" "disponible)\n"
" update : mettre à jour le cache local des scripts\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" "\n"
"Sans paramètre, cette commande ouvre un tampon avec la liste des scripts.\n" "Sans paramètre, cette commande ouvre un tampon avec la liste des scripts.\n"
"\n" "\n"
@@ -15793,18 +15575,6 @@ msgstr " %s%s%s : %s%s%s%s%s%s%s%s%s%s%s%s%s"
msgid "No trigger defined" msgid "No trigger defined"
msgstr "Pas de trigger défini" 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:" msgid "List of default triggers:"
msgstr "Liste des triggers par défaut :" msgstr "Liste des triggers par défaut :"
@@ -15950,8 +15720,7 @@ msgid "manage triggers, the Swiss Army knife for WeeChat"
msgstr "gestion des triggers, le couteau Suisse pour WeeChat" msgstr "gestion des triggers, le couteau Suisse pour WeeChat"
msgid "" msgid ""
"list [-o|-ol|-i|-il] || listfull || listdefault || add|addoff|addreplace " "list|listfull|listdefault || add|addoff|addreplace <name> <hook> "
"<name> <hook> "
"[\"<arguments>\" [\"<conditions>\" [\"<regex>\" [\"<command>\" [\"<return_code>\" [\"<post_action>\"]]]]]] " "[\"<arguments>\" [\"<conditions>\" [\"<regex>\" [\"<command>\" [\"<return_code>\" [\"<post_action>\"]]]]]] "
"|| addinput [<hook>] || input|output|recreate <name> || set <name> <option> " "|| addinput [<hook>] || input|output|recreate <name> || set <name> <option> "
"<value> || rename|copy <name> <new_name> || enable|disable|toggle [<name>|-" "<value> || rename|copy <name> <new_name> || enable|disable|toggle [<name>|-"
@@ -15959,8 +15728,7 @@ msgid ""
"<name>|-all [<name>...] || restore <name> [<name>...] || default -yes || " "<name>|-all [<name>...] || restore <name> [<name>...] || default -yes || "
"monitor [<filter>]" "monitor [<filter>]"
msgstr "" msgstr ""
"list [-o|-ol|-i|-il] || listfull || listdefault || add|addoff|addreplace " "list|listfull|listdefault || add|addoff|addreplace <nom> <hook> "
"<nom> <hook> "
"[\"<paramètres>\" [\"<conditions>\" [\"<regex>\" [\"<commande>\" [\"<code_retour>\" [\"action_post\"]]]]]] " "[\"<paramètres>\" [\"<conditions>\" [\"<regex>\" [\"<commande>\" [\"<code_retour>\" [\"action_post\"]]]]]] "
"|| addinput [<hook>] || input|output|recreate <nom> || set <nom> <option> " "|| addinput [<hook>] || input|output|recreate <nom> || set <nom> <option> "
"<valeur> || rename|copy <nom> <nouveau_nom> || enable|disable|toggle [<nom>|-" "<valeur> || rename|copy <nom> <nouveau_nom> || enable|disable|toggle [<nom>|-"
@@ -15970,12 +15738,6 @@ msgstr ""
msgid "" msgid ""
" list: list triggers (without argument, this list is displayed)\n" " 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" " listfull: list triggers with detailed info for each trigger\n"
"listdefault: list default triggers\n" "listdefault: list default triggers\n"
" add: add a trigger\n" " add: add a trigger\n"
@@ -16073,14 +15835,6 @@ msgid ""
msgstr "" msgstr ""
" list : lister les triggers (sans paramètre, cette liste est " " list : lister les triggers (sans paramètre, cette liste est "
"affichée)\n" "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 " " listfull : lister les triggers avec des informations détaillées pour "
"chaque trigger\n" "chaque trigger\n"
"listdefault : lister les triggers par défaut\n" "listdefault : lister les triggers par défaut\n"
@@ -16876,42 +16630,3 @@ msgstr "%s%s : délai d'attente dépassé pour \"%s\" avec %s"
#, c-format #, c-format
msgid "%s%s: unable to connect: unexpected error (%d)" msgid "%s%s: unable to connect: unexpected error (%d)"
msgstr "%s%s : impossible de se connecter : erreur inattendue (%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.*"
+64 -226
View File
@@ -20,7 +20,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: WeeChat\n" "Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2023-08-22 09:26+0200\n" "POT-Creation-Date: 2023-07-05 21:24+0200\n"
"PO-Revision-Date: 2023-06-17 11:47+0200\n" "PO-Revision-Date: 2023-06-17 11:47+0200\n"
"Last-Translator: Andras Voroskoi <voroskoi@frugalware.org>\n" "Last-Translator: Andras Voroskoi <voroskoi@frugalware.org>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n" "Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -472,14 +472,14 @@ msgstr " . alapérték: %d\n"
msgid "current value" msgid "current value"
msgstr "" msgstr ""
#, fuzzy
msgid "integer"
msgstr "perc"
#, fuzzy #, fuzzy
msgid "string" msgid "string"
msgstr "Várakozás" msgstr "Várakozás"
#, fuzzy
msgid "integer"
msgstr "perc"
#, fuzzy #, fuzzy
msgid "any string" msgid "any string"
msgstr "Várakozás" msgstr "Várakozás"
@@ -496,9 +496,6 @@ msgstr "pufferek kezelése"
msgid "color" msgid "color"
msgstr "üzenetek színe" msgstr "üzenetek színe"
msgid "enum"
msgstr ""
#. TRANSLATORS: please do not translate "(null)" #. TRANSLATORS: please do not translate "(null)"
msgid "undefined value allowed (null)" msgid "undefined value allowed (null)"
msgstr "" msgstr ""
@@ -1311,10 +1308,8 @@ msgid ""
msgstr "" msgstr ""
msgid "" msgid ""
"go chat|<bar> [top_left|top_right|bottom_left|bottom_right] || go <x>,<y> || " "go chat|<bar>|<x>,<y> || move up|down|left|right|area_up|area_down|area_left|"
"move up|down|left|right|top_left|top_right|bottom_left|bottom_right|edge_top|" "area_right || stop"
"edge_bottom|edge_left|edge_right|area_up|area_down|area_left|area_right || "
"stop"
msgstr "" msgstr ""
msgid "" msgid ""
@@ -1346,8 +1341,6 @@ msgid ""
" enter exit cursor mode\n" " enter exit cursor mode\n"
"\n" "\n"
"Examples:\n" "Examples:\n"
" go to the bottom left corner of chat area:\n"
" /cursor go chat bottom_left\n"
" go to nicklist:\n" " go to nicklist:\n"
" /cursor go nicklist\n" " /cursor go nicklist\n"
" go to coordinates x=10, y=5:\n" " go to coordinates x=10, y=5:\n"
@@ -3998,7 +3991,7 @@ msgid "%sWarning: %s, line %d: invalid syntax, missing \"]\""
msgstr "%s %s, %d. sor: érvénytelen szintaxis, hiányzó \"]\"\n" msgstr "%s %s, %d. sor: érvénytelen szintaxis, hiányzó \"]\"\n"
#, fuzzy, c-format #, 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" msgstr "%s %s, %d. sor: ismeretlen csoportazonosító (\"%s\")\n"
#, c-format #, c-format
@@ -4014,17 +4007,15 @@ msgid ""
msgstr "" msgstr ""
#, fuzzy, c-format #, 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" msgstr "%s %s, %d. sor: ismeretlen csoportazonosító (\"%s\")\n"
#, fuzzy, c-format #, 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" msgstr "%s %s, %d. sor: ismeretlen csoportazonosító (\"%s\")\n"
#, fuzzy, c-format #, fuzzy, c-format
msgid "" msgid "%sWarning: %s, line %d: invalid value for option: %s"
"%sWarning: %s, line %d: ignoring invalid value for option in section \"%s\": "
"%s"
msgstr "%s %s, %d. sor: érvénytelen opció: \"%s\"\n" msgstr "%s %s, %d. sor: érvénytelen opció: \"%s\"\n"
#, fuzzy, c-format #, fuzzy, c-format
@@ -4974,7 +4965,7 @@ msgid ""
"10 and 99 buffers\n" "10 and 99 buffers\n"
" - ${number_displayed}: \"1\" if the number is displayed, otherwise " " - ${number_displayed}: \"1\" if the number is displayed, otherwise "
"\"0\"\n" "\"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" "indented) (evaluation of option buflist.format.indent)\n"
" - ${format_nick_prefix}: colored nick prefix for a channel (evaluation " " - ${format_nick_prefix}: colored nick prefix for a channel (evaluation "
"of option buflist.format.nick_prefix)\n" "of option buflist.format.nick_prefix)\n"
@@ -5079,8 +5070,8 @@ msgstr ""
msgid "" msgid ""
"number of buflist bar items that can be used; the item names are: " "number of buflist bar items that can be used; the item names are: "
"\"buflist\", \"buflist2\", \"buflist3\", \"buflist4\" and \"buflist5\"; be " "\"buflist\", \"buflist2\", \"buflist3\"; be careful, using more than one bar "
"careful, using more than one bar item slows down the display of buffers list" "item slows down the display of buffers list"
msgstr "" msgstr ""
msgid "" msgid ""
@@ -5139,8 +5130,8 @@ msgstr "felhasználónév az IRC szerveren"
#, fuzzy #, fuzzy
msgid "" msgid ""
"string displayed to indent channel, private and list buffers (note: content " "string displayed to indent channel and private buffers (note: content is "
"is evaluated, see /help buflist)" "evaluated, see /help buflist)"
msgstr "felhasználónév az IRC szerveren" msgstr "felhasználónév az IRC szerveren"
#, fuzzy #, fuzzy
@@ -5523,7 +5514,7 @@ msgstr " . értékek: "
#. TRANSLATORS: "%s%s%s:" at beginning of string it the name of option #. TRANSLATORS: "%s%s%s:" at beginning of string it the name of option
#, fuzzy, c-format #, 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" msgstr "%s Szerver: %s%s %s[%s%s%s]\n"
#, fuzzy #, fuzzy
@@ -5570,9 +5561,9 @@ msgid ""
" -go: select a line by number, first line number is 0 (\"end\" to " " -go: select a line by number, first line number is 0 (\"end\" to "
"select the last line)\n" "select the last line)\n"
" -toggle: toggle the boolean value\n" " -toggle: toggle the boolean value\n"
" -add: add \"value\" (which can be a negative number) for integers, " " -add: add \"value\" (which can be a negative number) for integers and "
"colors and enums, set/append to value for other types (set for a negative " "colors, set/append to value for other types (set for a negative value, "
"value, append for a positive value)\n" "append for a positive value)\n"
" -reset: reset the value of option\n" " -reset: reset the value of option\n"
" -unset: unset the option\n" " -unset: unset the option\n"
" -set: add the /set command in input to edit the value of option (move " " -set: add the /set command in input to edit the value of option (move "
@@ -5594,8 +5585,7 @@ msgid ""
" * show all options (no filter)\n" " * show all options (no filter)\n"
" xxx show only options with \"xxx\" in name\n" " xxx show only options with \"xxx\" in name\n"
" f:xxx show only configuration file \"xxx\"\n" " f:xxx show only configuration file \"xxx\"\n"
" t:xxx show only type \"xxx\" (bool/int/str/col/enum or " " t:xxx show only type \"xxx\" (bool/int/str/col)\n"
"boolean/integer/string/color/enum)\n"
" d show only changed options\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 name\n"
" d=xxx show only changed options with \"xxx\" in value\n" " d=xxx show only changed options with \"xxx\" in value\n"
@@ -5608,11 +5598,10 @@ msgid ""
" ==xxx show only options with exact value \"xxx\"\n" " ==xxx show only options with exact value \"xxx\"\n"
" c:xxx show only options matching the evaluated condition " " c:xxx show only options matching the evaluated condition "
"\"xxx\", using following variables: file, section, option, name, " "\"xxx\", using following variables: file, section, option, name, "
"parent_name, type, type_en, type_short (bool/int/str/col/enum), type_tiny (b/" "parent_name, type, type_en, type_short (bool/int/str/col), type_tiny (b/i/s/"
"i/s/c/e), default_value, default_value_undef, value, quoted_value, " "c), default_value, default_value_undef, value, quoted_value, value_undef, "
"value_undef, value_changed, parent_value, min, max, description, " "value_changed, parent_value, min, max, description, description2, "
"description2, description_en, description_en2, string_values, " "description_en, description_en2, string_values\n"
"allowed_values\n"
"\n" "\n"
"The lines with options are displayed using string evaluation (see /help eval " "The lines with options are displayed using string evaluation (see /help eval "
"for the format), with these options:\n" "for the format), with these options:\n"
@@ -5628,8 +5617,8 @@ msgid ""
" - ${parent_name}: parent option name\n" " - ${parent_name}: parent option name\n"
" - ${type}: option type (translated)\n" " - ${type}: option type (translated)\n"
" - ${type_en}: option type (in English)\n" " - ${type_en}: option type (in English)\n"
" - ${type_short}: short option type (bool/int/str/col/enum)\n" " - ${type_short}: short option type (bool/int/str/col)\n"
" - ${type_tiny}: tiny option type (b/i/s/c/e)\n" " - ${type_tiny}: tiny option type (b/i/s/c)\n"
" - ${default_value}: option default value\n" " - ${default_value}: option default value\n"
" - ${default_value_undef}: \"1\" if default value is null, otherwise " " - ${default_value_undef}: \"1\" if default value is null, otherwise "
"\"0\"\n" "\"0\"\n"
@@ -5647,8 +5636,8 @@ msgid ""
" - ${description_en}: option description (in English)\n" " - ${description_en}: option description (in English)\n"
" - ${description_en2}: option description (in English), \"(no " " - ${description_en2}: option description (in English), \"(no "
"description)\" if there's no description\n" "description)\" if there's no description\n"
" - ${string_values}: string values allowed for set of an enum option\n" " - ${string_values}: string values allowed for set of an integer option "
" - ${allowed_values}: allowed values\n" "using strings\n"
" - ${marked}: \"1\" if option is marked, otherwise \"0\"\n" " - ${marked}: \"1\" if option is marked, otherwise \"0\"\n"
" - ${index}: index of option in list\n" " - ${index}: index of option in list\n"
" - option data, with color but no spaces:\n" " - option data, with color but no spaces:\n"
@@ -5677,9 +5666,9 @@ msgid ""
"\n" "\n"
"Keys and input to set options on fset buffer:\n" "Keys and input to set options on fset buffer:\n"
" alt+space t toggle boolean value\n" " alt+space t toggle boolean value\n"
" alt+'-' - subtract 1 from value for integer/color/enum, " " alt+'-' - subtract 1 from value for integer/color, set "
"set value for other types\n" "value for other types\n"
" alt+'+' + add 1 to value for integer/color/enum, append to " " alt+'+' + add 1 to value for integer/color, append to "
"value for other types\n" "value for other types\n"
" alt+f, alt+r r reset value\n" " alt+f, alt+r r reset value\n"
" alt+f, alt+u u unset value\n" " alt+f, alt+u u unset value\n"
@@ -5703,8 +5692,10 @@ msgid ""
" alt+p p toggle plugin description options (plugins.desc." " alt+p p toggle plugin description options (plugins.desc."
"*)\n" "*)\n"
" alt+v v toggle help bar\n" " alt+v v toggle help bar\n"
" s:x,y sort options by fields x,y (see above)\n" " s:x,y sort options by fields x,y (see /help fset.look."
" s: reset sort to its default value (see above)\n" "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\"\n"
" w-:xxx export options in file \"xxx\" without help\n" " w-:xxx export options in file \"xxx\" without help\n"
" w+:xxx export options in file \"xxx\" with help\n" " w+:xxx export options in file \"xxx\" with help\n"
@@ -5716,8 +5707,8 @@ msgid ""
" left button move line here\n" " left button move line here\n"
" right button toggle boolean (on/off) or edit the option " " right button toggle boolean (on/off) or edit the option "
"value\n" "value\n"
" right button + drag left/right increase/decrease value for integer/color/" " right button + drag left/right increase/decrease value for integer/color, "
"enum, set/append to value for other types\n" "set/append to value for other types\n"
" right button + drag up/down mark/unmark multiple options\n" " right button + drag up/down mark/unmark multiple options\n"
"\n" "\n"
"Note: if input has one or more leading spaces, the following text is " "Note: if input has one or more leading spaces, the following text is "
@@ -5843,14 +5834,6 @@ msgid ""
"ctrl-x" "ctrl-x"
msgstr "" 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" msgid "color for color name when option fset.look.use_color_value is enabled"
msgstr "" msgstr ""
@@ -5905,6 +5888,10 @@ msgstr "nevek színe"
msgid "color for quotes around string values" msgid "color for quotes around string values"
msgstr "új üzenetet tartalmazó ablak színe" msgstr "új üzenetet tartalmazó ablak színe"
#, fuzzy
msgid "color for allowed values"
msgstr "távollevő felhasználók nevének színe"
#, fuzzy #, fuzzy
msgid "color for index of option" msgid "color for index of option"
msgstr "információs pult határolóinak színe" msgstr "információs pult határolóinak színe"
@@ -6110,10 +6097,6 @@ msgstr ""
msgid "fset options" msgid "fset options"
msgstr "konfigurációs paraméterek beállítása" msgstr "konfigurációs paraméterek beállítása"
#, fuzzy
msgid "any color"
msgstr "üzenetek színe"
#, fuzzy, c-format #, fuzzy, c-format
msgid "%s%s: script \"%s\" already registered (register ignored)" msgid "%s%s: script \"%s\" already registered (register ignored)"
msgstr "%s a \"%s\" szerver már létezik, nem hozhatja létre!\n" msgstr "%s a \"%s\" szerver már létezik, nem hozhatja létre!\n"
@@ -6391,9 +6374,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)" msgid "%s%s: \"%s\" is not a valid regular expression (%s)"
msgstr "%s a(z) \"%s\" érvénytelen reguláris kifejezés (%s)\n" msgstr "%s a(z) \"%s\" érvénytelen reguláris kifejezés (%s)\n"
msgid "Receiving list of channels, please wait..."
msgstr ""
#, c-format #, c-format
msgid "" msgid ""
"%s%s: you must specify channel for \"%s\" command if you're not in a channel" "%s%s: you must specify channel for \"%s\" command if you're not in a channel"
@@ -6804,10 +6784,10 @@ msgid ""
"\n" "\n"
"Without argument, \"ls\" and \"list\" are sent.\n" "Without argument, \"ls\" and \"list\" are sent.\n"
"\n" "\n"
"Capabilities supported by WeeChat are: account-notify, account-tag, away-" "Capabilities supported by WeeChat are: account-notify, away-notify, batch, "
"notify, batch, cap-notify, chghost, draft/multiline, echo-message, extended-" "cap-notify, chghost, draft/multiline, echo-message, extended-join, invite-"
"join, invite-notify, message-tags, multi-prefix, server-time, setname, " "notify, message-tags, multi-prefix, server-time, setname, userhost-in-"
"userhost-in-names.\n" "names.\n"
"\n" "\n"
"The capabilities to automatically enable on servers can be set in option irc." "The capabilities to automatically enable on servers can be set in option irc."
"server_default.capabilities (or by server in option irc.server.xxx." "server_default.capabilities (or by server in option irc.server.xxx."
@@ -7181,9 +7161,7 @@ msgid "list channels and their topics"
msgstr "szobák listája témájukkal együtt" msgstr "szobák listája témájukkal együtt"
#, fuzzy #, fuzzy
msgid "" msgid "[-server <server>] [-re <regex>] [<channel>[,<channel>...]] [<target>]"
"[-server <server>] [-re <regex>] [<channel>[,<channel>...]] [<target>] || -"
"up|-down [<number>] || -left|-right [<percent>] || -go <line>|end || -join"
msgstr "szoba[,szoba] [kulcs[,kulcs]]" msgstr "szoba[,szoba] [kulcs[,kulcs]]"
msgid "" msgid ""
@@ -7192,67 +7170,15 @@ msgid ""
"insensitive, can start by \"(?-i)\" to become case sensitive)\n" "insensitive, can start by \"(?-i)\" to become case sensitive)\n"
"channel: channel to list\n" "channel: channel to list\n"
" target: server name\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" "\n"
"Examples:\n" "Examples:\n"
" list all channels on server and display them in a dedicated buffer (can be " " list all channels on server (can be very slow on large networks):\n"
"slow on large networks):\n"
" /list\n" " /list\n"
" list channel #weechat:\n" " list channel #weechat:\n"
" /list #weechat\n" " /list #weechat\n"
" list all channels beginning with \"#weechat\" (can be very slow on large " " list all channels beginning with \"#weechat\" (can be very slow on large "
"networks):\n" "networks):\n"
" /list -re #weechat.*\n" " /list -re #weechat.*"
" 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"
msgstr "" msgstr ""
msgid "get statistics about the size of the IRC network" msgid "get statistics about the size of the IRC network"
@@ -8146,13 +8072,11 @@ msgid ""
msgstr "" msgstr ""
msgid "" msgid ""
"format for CTCP reply or empty string for blocking CTCP (no reply); content " "format for CTCP reply or empty string for blocking CTCP (no reply), "
"is evaluated, see /help eval; following variables are replaced: " "following variables are replaced: $version (WeeChat version), $compilation "
"${clientinfo}: list of supported CTCP, ${version}: WeeChat version, ${git}: " "(compilation date), $osinfo (info about OS), $site (WeeChat site), $download "
"Git version, ${versiongit}: WeeChat version and Git version, ${compilation}: " "(WeeChat site, download page), $time (current date and time as text), "
"compilation date, ${osinfo}: info about OS, ${site}: WeeChat site, " "$username (username on server), $realname (realname on server)"
"${download}: WeeChat site, download page, ${time}: current date and time as "
"text, ${username}: username on server, ${realname}: realname on server"
msgstr "" msgstr ""
#, fuzzy, c-format #, fuzzy, c-format
@@ -8503,10 +8427,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\"" msgid "IRC option renamed: \"irc.%s.%s\" => \"irc.%s.%s\""
msgstr "" msgstr ""
#, c-format
msgid "IRC CTCP format converted for \"%s\": \"%s\" => \"%s\""
msgstr ""
msgid "" msgid ""
"open channel buffer before the JOIN is received from server when it is auto " "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 " "joined (with server option \"autojoin\"); this is useful to open channels "
@@ -8676,20 +8596,6 @@ msgid ""
"for example: \"/join weechat\" will in fact send: \"/join #weechat\"" "for example: \"/join weechat\" will in fact send: \"/join #weechat\""
msgstr "" 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 "" msgid ""
"default target buffer for msgbuffer options when target is private and that " "default target buffer for msgbuffer options when target is private and that "
"private buffer is not found" "private buffer is not found"
@@ -8701,12 +8607,6 @@ msgid ""
"channel/pv of server)" "channel/pv of server)"
msgstr "" 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 "" msgid ""
"force position of new private in list of buffers (none = default position " "force position of new private in list of buffers (none = default position "
"(should be last buffer), next = current buffer + 1, near_server = after last " "(should be last buffer), next = current buffer + 1, near_server = after last "
@@ -8895,14 +8795,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\"" msgid "color for higher supported TLS version in bar item \"tls_version\""
msgstr "névkiegészítés után beszúrt szöveg" 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 #, fuzzy
msgid "color for text in account messages" msgid "color for text in account messages"
msgstr "új üzenetet tartalmazó ablak színe" msgstr "új üzenetet tartalmazó ablak színe"
@@ -9315,12 +9207,6 @@ msgstr "szerver"
msgid "irc batch" msgid "irc batch"
msgstr "%d szoba" msgstr "%d szoba"
msgid "irc channel on /list buffer"
msgstr ""
msgid "irc data for /list buffer"
msgstr ""
#, fuzzy, c-format #, fuzzy, c-format
msgid "%sCTCP query to %s%s%s: %s%s%s%s%s" msgid "%sCTCP query to %s%s%s: %s%s%s%s%s"
msgstr "%s Szerver: %s%s %s[%s%s%s]\n" msgstr "%s Szerver: %s%s %s[%s%s%s]\n"
@@ -9333,16 +9219,6 @@ msgstr "%s nincs csatlakozva szerverhez!\n"
msgid "%s%s: this buffer is not a channel!" msgid "%s%s: this buffer is not a channel!"
msgstr "Ez az ablak nem egy szoba!\n" 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 #, fuzzy, c-format
msgid "%s%s: cannot allocate new modelist" msgid "%s%s: cannot allocate new modelist"
msgstr "%s nem sikerült új csatornát lefoglalni" msgstr "%s nem sikerült új csatornát lefoglalni"
@@ -10662,14 +10538,6 @@ msgid ""
"by the user (option \"-s\" or \"--no-script\")" "by the user (option \"-s\" or \"--no-script\")"
msgstr "" 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 #, fuzzy
msgid "terminal charset" msgid "terminal charset"
msgstr "pufferek kezelése" msgstr "pufferek kezelése"
@@ -10826,6 +10694,10 @@ msgstr ""
msgid "lines of a buffer" msgid "lines of a buffer"
msgstr "puffer betöltése sikertelen" msgstr "puffer betöltése sikertelen"
#, fuzzy
msgid "buffer pointer"
msgstr "szöveg keresése a puffertörténetben"
#, fuzzy #, fuzzy
msgid "list of filters" msgid "list of filters"
msgstr "Aliaszok listája:\n" msgstr "Aliaszok listája:\n"
@@ -11868,6 +11740,10 @@ msgstr "%s a \"%s\" szerver nem található\n"
msgid "%s: script \"%s\" not found" msgid "%s: script \"%s\" not found"
msgstr "%s a \"%s\" szerver nem található\n" 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 #, fuzzy, c-format
msgid "%s: autoload enabled for script \"%s\"" msgid "%s: autoload enabled for script \"%s\""
msgstr "folyamat: \"%s\" szerver betöltése\n" msgstr "folyamat: \"%s\" szerver betöltése\n"
@@ -11891,10 +11767,6 @@ msgstr ""
msgid "%s: downloading script \"%s\"..." msgid "%s: downloading script \"%s\"..."
msgstr "folyamat: \"%s\" szerver betöltése\n" 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 #, fuzzy, c-format
msgid "%s: script \"%s\" is held" msgid "%s: script \"%s\" is held"
msgstr "A \"%s\" modul eltávolítva.\n" msgstr "A \"%s\" modul eltávolítva.\n"
@@ -12038,7 +11910,7 @@ msgid ""
"list [-o|-ol|-i|-il] || search <text> || show <script> || load|unload|reload " "list [-o|-ol|-i|-il] || search <text> || show <script> || load|unload|reload "
"<script> [<script>...] || autoload|noautoload|toggleautoload <script> " "<script> [<script>...] || autoload|noautoload|toggleautoload <script> "
"[<script>...] || install|remove|installremove|hold [-q] <script> " "[<script>...] || install|remove|installremove|hold [-q] <script> "
"[<script>...] || upgrade || update || up|down [<number>] || go <line>|end" "[<script>...] || upgrade || update"
msgstr "" msgstr ""
msgid "" msgid ""
@@ -12068,10 +11940,6 @@ msgid ""
" upgrade: upgrade all installed scripts which are obsolete (new " " upgrade: upgrade all installed scripts which are obsolete (new "
"version available)\n" "version available)\n"
" update: update local scripts cache\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" "\n"
"Without argument, this command opens a buffer with list of scripts.\n" "Without argument, this command opens a buffer with list of scripts.\n"
"\n" "\n"
@@ -12666,21 +12534,6 @@ msgstr "%s Szerver: %s%s %s[%s%s%s]\n"
msgid "No trigger defined" msgid "No trigger defined"
msgstr "Nincs aliasz definiálva.\n" 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 #, fuzzy
msgid "List of default triggers:" msgid "List of default triggers:"
msgstr "Aliaszok listája:\n" msgstr "Aliaszok listája:\n"
@@ -12824,8 +12677,7 @@ msgid "manage triggers, the Swiss Army knife for WeeChat"
msgstr "" msgstr ""
msgid "" msgid ""
"list [-o|-ol|-i|-il] || listfull || listdefault || add|addoff|addreplace " "list|listfull|listdefault || add|addoff|addreplace <name> <hook> "
"<name> <hook> "
"[\"<arguments>\" [\"<conditions>\" [\"<regex>\" [\"<command>\" [\"<return_code>\" [\"<post_action>\"]]]]]] " "[\"<arguments>\" [\"<conditions>\" [\"<regex>\" [\"<command>\" [\"<return_code>\" [\"<post_action>\"]]]]]] "
"|| addinput [<hook>] || input|output|recreate <name> || set <name> <option> " "|| addinput [<hook>] || input|output|recreate <name> || set <name> <option> "
"<value> || rename|copy <name> <new_name> || enable|disable|toggle [<name>|-" "<value> || rename|copy <name> <new_name> || enable|disable|toggle [<name>|-"
@@ -12836,12 +12688,6 @@ msgstr ""
msgid "" msgid ""
" list: list triggers (without argument, this list is displayed)\n" " 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" " listfull: list triggers with detailed info for each trigger\n"
"listdefault: list default triggers\n" "listdefault: list default triggers\n"
" add: add a trigger\n" " add: add a trigger\n"
@@ -13573,11 +13419,3 @@ msgstr "%s hiányzó argumentum a(z) \"%s\" opciónak\n"
#, fuzzy, c-format #, fuzzy, c-format
msgid "%s%s: unable to connect: unexpected error (%d)" msgid "%s%s: unable to connect: unexpected error (%d)"
msgstr "%s DCC: nem sikerült kapcsolódni a küldőhöz\n" 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"
+83 -294
View File
@@ -20,8 +20,8 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: WeeChat\n" "Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2023-08-22 09:26+0200\n" "POT-Creation-Date: 2023-07-05 21:24+0200\n"
"PO-Revision-Date: 2023-06-26 21:34+0200\n" "PO-Revision-Date: 2023-06-17 11:47+0200\n"
"Last-Translator: Esteban I. Ruiz Moreno <exio4.com@gmail.com>\n" "Last-Translator: Esteban I. Ruiz Moreno <exio4.com@gmail.com>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n" "Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
"Language: it\n" "Language: it\n"
@@ -472,12 +472,12 @@ msgstr "(non definito)"
msgid "current value" msgid "current value"
msgstr "valore attivo" msgstr "valore attivo"
msgid "integer"
msgstr "intero"
msgid "string" msgid "string"
msgstr "stringa" msgstr "stringa"
msgid "integer"
msgstr "intero"
msgid "any string" msgid "any string"
msgstr "qualsiasi stringa" msgstr "qualsiasi stringa"
@@ -490,9 +490,6 @@ msgstr "caratteri massimi"
msgid "color" msgid "color"
msgstr "colore" msgstr "colore"
msgid "enum"
msgstr ""
#. TRANSLATORS: please do not translate "(null)" #. TRANSLATORS: please do not translate "(null)"
msgid "undefined value allowed (null)" msgid "undefined value allowed (null)"
msgstr "valore non definito consentito (null)" msgstr "valore non definito consentito (null)"
@@ -1401,15 +1398,9 @@ msgstr ""
"movimento libero del cursore sullo schermo per eseguire azioni su aree " "movimento libero del cursore sullo schermo per eseguire azioni su aree "
"specifiche dello schermo" "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 "" msgid ""
"go chat|<bar> [top_left|top_right|bottom_left|bottom_right] || go <x>,<y> || " "go chat|<bar>|<x>,<y> || move up|down|left|right|area_up|area_down|area_left|"
"move up|down|left|right|top_left|top_right|bottom_left|bottom_right|edge_top|" "area_right || stop"
"edge_bottom|edge_left|edge_right|area_up|area_down|area_left|area_right || "
"stop"
msgstr "" msgstr ""
"go chat|<barra>|<x>,<y> || move up|down|left|right|area_up|area_down|" "go chat|<barra>|<x>,<y> || move up|down|left|right|area_up|area_down|"
"area_left|area_right || stop" "area_left|area_right || stop"
@@ -1444,8 +1435,6 @@ msgid ""
" enter exit cursor mode\n" " enter exit cursor mode\n"
"\n" "\n"
"Examples:\n" "Examples:\n"
" go to the bottom left corner of chat area:\n"
" /cursor go chat bottom_left\n"
" go to nicklist:\n" " go to nicklist:\n"
" /cursor go nicklist\n" " /cursor go nicklist\n"
" go to coordinates x=10, y=5:\n" " go to coordinates x=10, y=5:\n"
@@ -4718,9 +4707,8 @@ msgstr "Lettura del file di configurazione %s"
msgid "%sWarning: %s, line %d: invalid syntax, missing \"]\"" msgid "%sWarning: %s, line %d: invalid syntax, missing \"]\""
msgstr "%sAttenzione: %s, riga %d: sintassi invalida, \"]\" mancante" msgstr "%sAttenzione: %s, riga %d: sintassi invalida, \"]\" mancante"
#, fuzzy, c-format #, c-format
#| msgid "%sWarning: %s, line %d: unknown section identifier (\"%s\")" msgid "%sWarning: %s, line %d: unknown section identifier (\"%s\")"
msgid "%sWarning: %s, line %d: ignoring unknown section identifier (\"%s\")"
msgstr "" msgstr ""
"%sAttenzione: %s, riga %d: identificatore di sezione sconosciuto (\"%s\")" "%sAttenzione: %s, riga %d: identificatore di sezione sconosciuto (\"%s\")"
@@ -4736,22 +4724,17 @@ msgid ""
"of file is IGNORED, default options are used" "of file is IGNORED, default options are used"
msgstr "" msgstr ""
#, fuzzy, c-format #, c-format
#| msgid "%sWarning: %s, line %d: option outside section: %s" msgid "%sWarning: %s, line %d: option outside section: %s"
msgid "%sWarning: %s, line %d: ignoring option outside section: %s"
msgstr "%sAttenzione: %s, riga %d: opzione al di fuori della sezione: %s" msgstr "%sAttenzione: %s, riga %d: opzione al di fuori della sezione: %s"
#, fuzzy, c-format #, c-format
#| msgid "%sWarning: %s, line %d: unknown option for section \"%s\": %s" msgid "%sWarning: %s, line %d: unknown option for section \"%s\": %s"
msgid "%sWarning: %s, line %d: ignoring unknown option for section \"%s\": %s"
msgstr "" msgstr ""
"%sAttenzione: %s, riga %d: opzione sconosciuta per la sezione \"%s\": %s" "%sAttenzione: %s, riga %d: opzione sconosciuta per la sezione \"%s\": %s"
#, fuzzy, c-format #, c-format
#| msgid "%sWarning: %s, line %d: invalid value for option: %s" msgid "%sWarning: %s, line %d: invalid value for option: %s"
msgid ""
"%sWarning: %s, line %d: ignoring invalid value for option in section \"%s\": "
"%s"
msgstr "%sAttenzione: %s, riga %d: valore non valido per l'opzione: %s" msgstr "%sAttenzione: %s, riga %d: valore non valido per l'opzione: %s"
#, c-format #, c-format
@@ -5750,7 +5733,7 @@ msgid ""
"10 and 99 buffers\n" "10 and 99 buffers\n"
" - ${number_displayed}: \"1\" if the number is displayed, otherwise " " - ${number_displayed}: \"1\" if the number is displayed, otherwise "
"\"0\"\n" "\"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" "indented) (evaluation of option buflist.format.indent)\n"
" - ${format_nick_prefix}: colored nick prefix for a channel (evaluation " " - ${format_nick_prefix}: colored nick prefix for a channel (evaluation "
"of option buflist.format.nick_prefix)\n" "of option buflist.format.nick_prefix)\n"
@@ -5856,8 +5839,8 @@ msgstr ""
msgid "" msgid ""
"number of buflist bar items that can be used; the item names are: " "number of buflist bar items that can be used; the item names are: "
"\"buflist\", \"buflist2\", \"buflist3\", \"buflist4\" and \"buflist5\"; be " "\"buflist\", \"buflist2\", \"buflist3\"; be careful, using more than one bar "
"careful, using more than one bar item slows down the display of buffers list" "item slows down the display of buffers list"
msgstr "" msgstr ""
msgid "" msgid ""
@@ -5933,8 +5916,8 @@ msgstr ""
#, fuzzy #, fuzzy
msgid "" msgid ""
"string displayed to indent channel, private and list buffers (note: content " "string displayed to indent channel and private buffers (note: content is "
"is evaluated, see /help buflist)" "evaluated, see /help buflist)"
msgstr "" msgstr ""
"nome utente per il server proxy (nota: il contenuto viene valutato, " "nome utente per il server proxy (nota: il contenuto viene valutato, "
"consultare /help eval)" "consultare /help eval)"
@@ -6337,7 +6320,7 @@ msgstr "valori"
#. TRANSLATORS: "%s%s%s:" at beginning of string it the name of option #. TRANSLATORS: "%s%s%s:" at beginning of string it the name of option
#, fuzzy, c-format #, 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]" msgstr "%sNick %s%s%s: %s[%s%s%s]"
#, fuzzy #, fuzzy
@@ -6384,9 +6367,9 @@ msgid ""
" -go: select a line by number, first line number is 0 (\"end\" to " " -go: select a line by number, first line number is 0 (\"end\" to "
"select the last line)\n" "select the last line)\n"
" -toggle: toggle the boolean value\n" " -toggle: toggle the boolean value\n"
" -add: add \"value\" (which can be a negative number) for integers, " " -add: add \"value\" (which can be a negative number) for integers and "
"colors and enums, set/append to value for other types (set for a negative " "colors, set/append to value for other types (set for a negative value, "
"value, append for a positive value)\n" "append for a positive value)\n"
" -reset: reset the value of option\n" " -reset: reset the value of option\n"
" -unset: unset the option\n" " -unset: unset the option\n"
" -set: add the /set command in input to edit the value of option (move " " -set: add the /set command in input to edit the value of option (move "
@@ -6408,8 +6391,7 @@ msgid ""
" * show all options (no filter)\n" " * show all options (no filter)\n"
" xxx show only options with \"xxx\" in name\n" " xxx show only options with \"xxx\" in name\n"
" f:xxx show only configuration file \"xxx\"\n" " f:xxx show only configuration file \"xxx\"\n"
" t:xxx show only type \"xxx\" (bool/int/str/col/enum or " " t:xxx show only type \"xxx\" (bool/int/str/col)\n"
"boolean/integer/string/color/enum)\n"
" d show only changed options\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 name\n"
" d=xxx show only changed options with \"xxx\" in value\n" " d=xxx show only changed options with \"xxx\" in value\n"
@@ -6422,11 +6404,10 @@ msgid ""
" ==xxx show only options with exact value \"xxx\"\n" " ==xxx show only options with exact value \"xxx\"\n"
" c:xxx show only options matching the evaluated condition " " c:xxx show only options matching the evaluated condition "
"\"xxx\", using following variables: file, section, option, name, " "\"xxx\", using following variables: file, section, option, name, "
"parent_name, type, type_en, type_short (bool/int/str/col/enum), type_tiny (b/" "parent_name, type, type_en, type_short (bool/int/str/col), type_tiny (b/i/s/"
"i/s/c/e), default_value, default_value_undef, value, quoted_value, " "c), default_value, default_value_undef, value, quoted_value, value_undef, "
"value_undef, value_changed, parent_value, min, max, description, " "value_changed, parent_value, min, max, description, description2, "
"description2, description_en, description_en2, string_values, " "description_en, description_en2, string_values\n"
"allowed_values\n"
"\n" "\n"
"The lines with options are displayed using string evaluation (see /help eval " "The lines with options are displayed using string evaluation (see /help eval "
"for the format), with these options:\n" "for the format), with these options:\n"
@@ -6442,8 +6423,8 @@ msgid ""
" - ${parent_name}: parent option name\n" " - ${parent_name}: parent option name\n"
" - ${type}: option type (translated)\n" " - ${type}: option type (translated)\n"
" - ${type_en}: option type (in English)\n" " - ${type_en}: option type (in English)\n"
" - ${type_short}: short option type (bool/int/str/col/enum)\n" " - ${type_short}: short option type (bool/int/str/col)\n"
" - ${type_tiny}: tiny option type (b/i/s/c/e)\n" " - ${type_tiny}: tiny option type (b/i/s/c)\n"
" - ${default_value}: option default value\n" " - ${default_value}: option default value\n"
" - ${default_value_undef}: \"1\" if default value is null, otherwise " " - ${default_value_undef}: \"1\" if default value is null, otherwise "
"\"0\"\n" "\"0\"\n"
@@ -6461,8 +6442,8 @@ msgid ""
" - ${description_en}: option description (in English)\n" " - ${description_en}: option description (in English)\n"
" - ${description_en2}: option description (in English), \"(no " " - ${description_en2}: option description (in English), \"(no "
"description)\" if there's no description\n" "description)\" if there's no description\n"
" - ${string_values}: string values allowed for set of an enum option\n" " - ${string_values}: string values allowed for set of an integer option "
" - ${allowed_values}: allowed values\n" "using strings\n"
" - ${marked}: \"1\" if option is marked, otherwise \"0\"\n" " - ${marked}: \"1\" if option is marked, otherwise \"0\"\n"
" - ${index}: index of option in list\n" " - ${index}: index of option in list\n"
" - option data, with color but no spaces:\n" " - option data, with color but no spaces:\n"
@@ -6491,9 +6472,9 @@ msgid ""
"\n" "\n"
"Keys and input to set options on fset buffer:\n" "Keys and input to set options on fset buffer:\n"
" alt+space t toggle boolean value\n" " alt+space t toggle boolean value\n"
" alt+'-' - subtract 1 from value for integer/color/enum, " " alt+'-' - subtract 1 from value for integer/color, set "
"set value for other types\n" "value for other types\n"
" alt+'+' + add 1 to value for integer/color/enum, append to " " alt+'+' + add 1 to value for integer/color, append to "
"value for other types\n" "value for other types\n"
" alt+f, alt+r r reset value\n" " alt+f, alt+r r reset value\n"
" alt+f, alt+u u unset value\n" " alt+f, alt+u u unset value\n"
@@ -6517,8 +6498,10 @@ msgid ""
" alt+p p toggle plugin description options (plugins.desc." " alt+p p toggle plugin description options (plugins.desc."
"*)\n" "*)\n"
" alt+v v toggle help bar\n" " alt+v v toggle help bar\n"
" s:x,y sort options by fields x,y (see above)\n" " s:x,y sort options by fields x,y (see /help fset.look."
" s: reset sort to its default value (see above)\n" "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\"\n"
" w-:xxx export options in file \"xxx\" without help\n" " w-:xxx export options in file \"xxx\" without help\n"
" w+:xxx export options in file \"xxx\" with help\n" " w+:xxx export options in file \"xxx\" with help\n"
@@ -6530,8 +6513,8 @@ msgid ""
" left button move line here\n" " left button move line here\n"
" right button toggle boolean (on/off) or edit the option " " right button toggle boolean (on/off) or edit the option "
"value\n" "value\n"
" right button + drag left/right increase/decrease value for integer/color/" " right button + drag left/right increase/decrease value for integer/color, "
"enum, set/append to value for other types\n" "set/append to value for other types\n"
" right button + drag up/down mark/unmark multiple options\n" " right button + drag up/down mark/unmark multiple options\n"
"\n" "\n"
"Note: if input has one or more leading spaces, the following text is " "Note: if input has one or more leading spaces, the following text is "
@@ -6666,14 +6649,6 @@ msgid ""
"ctrl-x" "ctrl-x"
msgstr "" 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" msgid "color for color name when option fset.look.use_color_value is enabled"
msgstr "" msgstr ""
@@ -6730,6 +6705,10 @@ msgstr "colore per il nick nella riga di input"
msgid "color for quotes around string values" msgid "color for quotes around string values"
msgstr "colore per il testo nei messaggi di entrata" msgstr "colore per il testo nei messaggi di entrata"
#, fuzzy
msgid "color for allowed values"
msgstr "colore per la cronologia"
#, fuzzy #, fuzzy
msgid "color for index of option" msgid "color for index of option"
msgstr "colore del testo per la descrizione del client" msgstr "colore del testo per la descrizione del client"
@@ -6943,11 +6922,6 @@ msgstr ""
msgid "fset options" msgid "fset options"
msgstr "elenco delle opzioni" msgstr "elenco delle opzioni"
#, fuzzy
#| msgid "color"
msgid "any color"
msgstr "colore"
#, c-format #, c-format
msgid "%s%s: script \"%s\" already registered (register ignored)" msgid "%s%s: script \"%s\" already registered (register ignored)"
msgstr "%s%s: script \"%s\" già registrato (funzione register ignorata)" msgstr "%s%s: script \"%s\" già registrato (funzione register ignorata)"
@@ -7248,9 +7222,6 @@ msgstr "%s%s: memoria non sufficiente per l'espressione regolare"
msgid "%s%s: \"%s\" is not a valid regular expression (%s)" msgid "%s%s: \"%s\" is not a valid regular expression (%s)"
msgstr "%s%s: \"%s\" non è una espressione regolare valida (%s)" msgstr "%s%s: \"%s\" non è una espressione regolare valida (%s)"
msgid "Receiving list of channels, please wait..."
msgstr ""
#, c-format #, c-format
msgid "" msgid ""
"%s%s: you must specify channel for \"%s\" command if you're not in a channel" "%s%s: you must specify channel for \"%s\" command if you're not in a channel"
@@ -7701,10 +7672,10 @@ msgid ""
"\n" "\n"
"Without argument, \"ls\" and \"list\" are sent.\n" "Without argument, \"ls\" and \"list\" are sent.\n"
"\n" "\n"
"Capabilities supported by WeeChat are: account-notify, account-tag, away-" "Capabilities supported by WeeChat are: account-notify, away-notify, batch, "
"notify, batch, cap-notify, chghost, draft/multiline, echo-message, extended-" "cap-notify, chghost, draft/multiline, echo-message, extended-join, invite-"
"join, invite-notify, message-tags, multi-prefix, server-time, setname, " "notify, message-tags, multi-prefix, server-time, setname, userhost-in-"
"userhost-in-names.\n" "names.\n"
"\n" "\n"
"The capabilities to automatically enable on servers can be set in option irc." "The capabilities to automatically enable on servers can be set in option irc."
"server_default.capabilities (or by server in option irc.server.xxx." "server_default.capabilities (or by server in option irc.server.xxx."
@@ -8080,81 +8051,43 @@ msgid "list channels and their topics"
msgstr "elenca i canali ed i loro argomenti" msgstr "elenca i canali ed i loro argomenti"
#, fuzzy #, fuzzy
msgid "" msgid "[-server <server>] [-re <regex>] [<channel>[,<channel>...]] [<target>]"
"[-server <server>] [-re <regex>] [<channel>[,<channel>...]] [<target>] || -"
"up|-down [<number>] || -left|-right [<percent>] || -go <line>|end || -join"
msgstr "" msgstr ""
"[-noswitch] [-server <server>] [<canale1>[,<canale2>...]] [<chiave1>[," "[-noswitch] [-server <server>] [<canale1>[,<canale2>...]] [<chiave1>[,"
"<chiave2>...]]" "<chiave2>...]]"
#, fuzzy
msgid "" msgid ""
" server: send to this server (internal name)\n" " server: send to this server (internal name)\n"
" regex: POSIX extended regular expression used to filter results (case " " regex: POSIX extended regular expression used to filter results (case "
"insensitive, can start by \"(?-i)\" to become case sensitive)\n" "insensitive, can start by \"(?-i)\" to become case sensitive)\n"
"channel: channel to list\n" "channel: channel to list\n"
" target: server name\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" "\n"
"Examples:\n" "Examples:\n"
" list all channels on server and display them in a dedicated buffer (can be " " list all channels on server (can be very slow on large networks):\n"
"slow on large networks):\n"
" /list\n" " /list\n"
" list channel #weechat:\n" " list channel #weechat:\n"
" /list #weechat\n" " /list #weechat\n"
" list all channels beginning with \"#weechat\" (can be very slow on large " " list all channels beginning with \"#weechat\" (can be very slow on large "
"networks):\n" "networks):\n"
" /list -re #weechat.*\n" " /list -re #weechat.*"
" 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"
msgstr "" 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" msgid "get statistics about the size of the IRC network"
msgstr "ottiene statistiche sulla dimensione del network IRC" msgstr "ottiene statistiche sulla dimensione del network IRC"
@@ -8997,22 +8930,12 @@ msgid ""
"ctcp.%s\" will not work" "ctcp.%s\" will not work"
msgstr "" 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 "" msgid ""
"format for CTCP reply or empty string for blocking CTCP (no reply); content " "format for CTCP reply or empty string for blocking CTCP (no reply), "
"is evaluated, see /help eval; following variables are replaced: " "following variables are replaced: $version (WeeChat version), $compilation "
"${clientinfo}: list of supported CTCP, ${version}: WeeChat version, ${git}: " "(compilation date), $osinfo (info about OS), $site (WeeChat site), $download "
"Git version, ${versiongit}: WeeChat version and Git version, ${compilation}: " "(WeeChat site, download page), $time (current date and time as text), "
"compilation date, ${osinfo}: info about OS, ${site}: WeeChat site, " "$username (username on server), $realname (realname on server)"
"${download}: WeeChat site, download page, ${time}: current date and time as "
"text, ${username}: username on server, ${realname}: realname on server"
msgstr "" msgstr ""
"formato per la reply CTCP o stringa vuota per bloccare CTCP (nessuna reply), " "formato per la reply CTCP o stringa vuota per bloccare CTCP (nessuna reply), "
"vengono sostituite le seguenti variabili: $version (versione di WeeChat), " "vengono sostituite le seguenti variabili: $version (versione di WeeChat), "
@@ -9396,11 +9319,6 @@ msgstr "%s%s: errore durante la creazione dell'opzione del server \"%s\""
msgid "IRC option renamed: \"irc.%s.%s\" => \"irc.%s.%s\"" msgid "IRC option renamed: \"irc.%s.%s\" => \"irc.%s.%s\""
msgstr "" 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 "" msgid ""
"open channel buffer before the JOIN is received from server when it is auto " "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 " "joined (with server option \"autojoin\"); this is useful to open channels "
@@ -9615,21 +9533,6 @@ msgid ""
"for example: \"/join weechat\" will in fact send: \"/join #weechat\"" "for example: \"/join weechat\" will in fact send: \"/join #weechat\""
msgstr "" 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 "" msgid ""
"default target buffer for msgbuffer options when target is private and that " "default target buffer for msgbuffer options when target is private and that "
"private buffer is not found" "private buffer is not found"
@@ -9646,20 +9549,6 @@ msgstr ""
"predefinita (dovrebbe essere l'ultimo buffer), next = buffer corrente + 1, " "predefinita (dovrebbe essere l'ultimo buffer), next = buffer corrente + 1, "
"near_server = dopo l'ultimo canale/privato del server)" "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 "" msgid ""
"force position of new private in list of buffers (none = default position " "force position of new private in list of buffers (none = default position "
"(should be last buffer), next = current buffer + 1, near_server = after last " "(should be last buffer), next = current buffer + 1, near_server = after last "
@@ -9894,16 +9783,6 @@ msgstr ""
"colore per il prefisso del nick (stringa visualizzata dopo il nick nel " "colore per il prefisso del nick (stringa visualizzata dopo il nick nel "
"prefisso)" "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 #, fuzzy
msgid "color for text in account messages" msgid "color for text in account messages"
msgstr "colore per il testo nei messaggi di entrata" msgstr "colore per il testo nei messaggi di entrata"
@@ -10336,12 +10215,6 @@ msgstr "server irc"
msgid "irc batch" msgid "irc batch"
msgstr "canale irc" msgstr "canale irc"
msgid "irc channel on /list buffer"
msgstr ""
msgid "irc data for /list buffer"
msgstr ""
#, c-format #, c-format
msgid "%sCTCP query to %s%s%s: %s%s%s%s%s" msgid "%sCTCP query to %s%s%s: %s%s%s%s%s"
msgstr "%sRichiesta CTCP a %s%s%s: %s%s%s%s%s" msgstr "%sRichiesta CTCP a %s%s%s: %s%s%s%s%s"
@@ -10354,17 +10227,6 @@ msgstr "%s%s: non connesso al server"
msgid "%s%s: this buffer is not a channel!" msgid "%s%s: this buffer is not a channel!"
msgstr "%s%s: questo buffer non è un canale!" 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 #, fuzzy, c-format
msgid "%s%s: cannot allocate new modelist" msgid "%s%s: cannot allocate new modelist"
msgstr "%s%s: impossibile allocare un nuovo canale" msgstr "%s%s: impossibile allocare un nuovo canale"
@@ -11748,13 +11610,6 @@ msgid ""
"by the user (option \"-s\" or \"--no-script\")" "by the user (option \"-s\" or \"--no-script\")"
msgstr "" msgstr ""
msgid "buffer pointer"
msgstr "puntatore al buffer"
#, fuzzy
msgid "buffer full name"
msgstr "Registra i buffer su file"
msgid "terminal charset" msgid "terminal charset"
msgstr "set caratteri terminale" msgstr "set caratteri terminale"
@@ -11914,6 +11769,9 @@ msgstr ""
msgid "lines of a buffer" msgid "lines of a buffer"
msgstr "righe di un buffer" msgstr "righe di un buffer"
msgid "buffer pointer"
msgstr "puntatore al buffer"
msgid "list of filters" msgid "list of filters"
msgstr "elenco dei filtri" msgstr "elenco dei filtri"
@@ -13022,6 +12880,10 @@ msgstr "%s: script \"%s\" non caricato"
msgid "%s: script \"%s\" not found" msgid "%s: script \"%s\" not found"
msgstr "%s: script \"%s\" non trovato" msgstr "%s: script \"%s\" non trovato"
#, c-format
msgid "%s: script \"%s\" is not installed"
msgstr "%s: script \"%s\" non installato"
#, c-format #, c-format
msgid "%s: autoload enabled for script \"%s\"" msgid "%s: autoload enabled for script \"%s\""
msgstr "%s: autoload per lo script \"%s\" attivato" msgstr "%s: autoload per lo script \"%s\" attivato"
@@ -13045,10 +12907,6 @@ msgstr ""
msgid "%s: downloading script \"%s\"..." msgid "%s: downloading script \"%s\"..."
msgstr "%s: download dello 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 #, c-format
msgid "%s: script \"%s\" is held" msgid "%s: script \"%s\" is held"
msgstr "%s: lo script \"%s\" è bloccato" msgstr "%s: lo script \"%s\" è bloccato"
@@ -13186,7 +13044,7 @@ msgid ""
"list [-o|-ol|-i|-il] || search <text> || show <script> || load|unload|reload " "list [-o|-ol|-i|-il] || search <text> || show <script> || load|unload|reload "
"<script> [<script>...] || autoload|noautoload|toggleautoload <script> " "<script> [<script>...] || autoload|noautoload|toggleautoload <script> "
"[<script>...] || install|remove|installremove|hold [-q] <script> " "[<script>...] || install|remove|installremove|hold [-q] <script> "
"[<script>...] || upgrade || update || up|down [<number>] || go <line>|end" "[<script>...] || upgrade || update"
msgstr "" msgstr ""
msgid "" msgid ""
@@ -13216,10 +13074,6 @@ msgid ""
" upgrade: upgrade all installed scripts which are obsolete (new " " upgrade: upgrade all installed scripts which are obsolete (new "
"version available)\n" "version available)\n"
" update: update local scripts cache\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" "\n"
"Without argument, this command opens a buffer with list of scripts.\n" "Without argument, this command opens a buffer with list of scripts.\n"
"\n" "\n"
@@ -13861,22 +13715,6 @@ msgstr "%sNick %s%s%s: %s[%s%s%s]"
msgid "No trigger defined" msgid "No trigger defined"
msgstr "Nessun rmodifier definito" 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 #, fuzzy
msgid "List of default triggers:" msgid "List of default triggers:"
msgstr "Elenco degli alias:" msgstr "Elenco degli alias:"
@@ -14021,8 +13859,7 @@ msgid "manage triggers, the Swiss Army knife for WeeChat"
msgstr "" msgstr ""
msgid "" msgid ""
"list [-o|-ol|-i|-il] || listfull || listdefault || add|addoff|addreplace " "list|listfull|listdefault || add|addoff|addreplace <name> <hook> "
"<name> <hook> "
"[\"<arguments>\" [\"<conditions>\" [\"<regex>\" [\"<command>\" [\"<return_code>\" [\"<post_action>\"]]]]]] " "[\"<arguments>\" [\"<conditions>\" [\"<regex>\" [\"<command>\" [\"<return_code>\" [\"<post_action>\"]]]]]] "
"|| addinput [<hook>] || input|output|recreate <name> || set <name> <option> " "|| addinput [<hook>] || input|output|recreate <name> || set <name> <option> "
"<value> || rename|copy <name> <new_name> || enable|disable|toggle [<name>|-" "<value> || rename|copy <name> <new_name> || enable|disable|toggle [<name>|-"
@@ -14033,12 +13870,6 @@ msgstr ""
msgid "" msgid ""
" list: list triggers (without argument, this list is displayed)\n" " 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" " listfull: list triggers with detailed info for each trigger\n"
"listdefault: list default triggers\n" "listdefault: list default triggers\n"
" add: add a trigger\n" " add: add a trigger\n"
@@ -14767,45 +14598,3 @@ msgstr "%s%s: timeout per \"%s\" con %s"
#, fuzzy, c-format #, fuzzy, c-format
msgid "%s%s: unable to connect: unexpected error (%d)" msgid "%s%s: unable to connect: unexpected error (%d)"
msgstr "%s%s: impossibile connettersi al mittente" 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.*"
+82 -326
View File
@@ -20,8 +20,8 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: WeeChat\n" "Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2023-08-22 09:26+0200\n" "POT-Creation-Date: 2023-07-05 21:24+0200\n"
"PO-Revision-Date: 2023-08-08 07:13+0200\n" "PO-Revision-Date: 2023-06-17 11:47+0200\n"
"Last-Translator: AYANOKOUZI, Ryuunosuke <i38w7i3@yahoo.co.jp>\n" "Last-Translator: AYANOKOUZI, Ryuunosuke <i38w7i3@yahoo.co.jp>\n"
"Language-Team: Japanese <https://github.com/l/weechat/tree/master/" "Language-Team: Japanese <https://github.com/l/weechat/tree/master/"
"translation/ja_JP>\n" "translation/ja_JP>\n"
@@ -522,12 +522,12 @@ msgstr "(未定義)"
msgid "current value" msgid "current value"
msgstr "現在の値" msgstr "現在の値"
msgid "integer"
msgstr "整数"
msgid "string" msgid "string"
msgstr "文字列" msgstr "文字列"
msgid "integer"
msgstr "整数"
msgid "any string" msgid "any string"
msgstr "未制約文字列" msgstr "未制約文字列"
@@ -540,9 +540,6 @@ msgstr "最大文字数"
msgid "color" msgid "color"
msgstr "色" msgstr "色"
msgid "enum"
msgstr ""
#. TRANSLATORS: please do not translate "(null)" #. TRANSLATORS: please do not translate "(null)"
msgid "undefined value allowed (null)" msgid "undefined value allowed (null)"
msgstr "(null) は設定できません" msgstr "(null) は設定できません"
@@ -1515,15 +1512,9 @@ msgid ""
"screen" "screen"
msgstr "カーソルを移動してアクションを実行するエリアを指定" msgstr "カーソルを移動してアクションを実行するエリアを指定"
#, fuzzy
#| msgid ""
#| "go chat|<bar>|<x>,<y> || move up|down|left|right|area_up|area_down|"
#| "area_left|area_right || stop"
msgid "" msgid ""
"go chat|<bar> [top_left|top_right|bottom_left|bottom_right] || go <x>,<y> || " "go chat|<bar>|<x>,<y> || move up|down|left|right|area_up|area_down|area_left|"
"move up|down|left|right|top_left|top_right|bottom_left|bottom_right|edge_top|" "area_right || stop"
"edge_bottom|edge_left|edge_right|area_up|area_down|area_left|area_right || "
"stop"
msgstr "" msgstr ""
"go chat|<bar>|<x>,<y> || move up|down|left|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" "area_right || stop"
@@ -1558,8 +1549,6 @@ msgid ""
" enter exit cursor mode\n" " enter exit cursor mode\n"
"\n" "\n"
"Examples:\n" "Examples:\n"
" go to the bottom left corner of chat area:\n"
" /cursor go chat bottom_left\n"
" go to nicklist:\n" " go to nicklist:\n"
" /cursor go nicklist\n" " /cursor go nicklist\n"
" go to coordinates x=10, y=5:\n" " go to coordinates x=10, y=5:\n"
@@ -5325,9 +5314,8 @@ msgstr "設定ファイル %s の読み込み中"
msgid "%sWarning: %s, line %d: invalid syntax, missing \"]\"" msgid "%sWarning: %s, line %d: invalid syntax, missing \"]\""
msgstr "%s警告: %s、行 %d: 無効な構文、\"]\" が足りません" msgstr "%s警告: %s、行 %d: 無効な構文、\"]\" が足りません"
#, fuzzy, c-format #, c-format
#| msgid "%sWarning: %s, line %d: unknown section identifier (\"%s\")" msgid "%sWarning: %s, line %d: unknown section identifier (\"%s\")"
msgid "%sWarning: %s, line %d: ignoring unknown section identifier (\"%s\")"
msgstr "%s警告: %s、行 %d: セクションインジケータ (\"%s\") は未定義" msgstr "%s警告: %s、行 %d: セクションインジケータ (\"%s\") は未定義"
#, c-format #, c-format
@@ -5342,21 +5330,16 @@ msgid ""
"of file is IGNORED, default options are used" "of file is IGNORED, default options are used"
msgstr "" msgstr ""
#, fuzzy, c-format #, c-format
#| msgid "%sWarning: %s, line %d: option outside section: %s" msgid "%sWarning: %s, line %d: option outside section: %s"
msgid "%sWarning: %s, line %d: ignoring option outside section: %s"
msgstr "%s警告: %s、行 %d: セクション外オプション: %s" msgstr "%s警告: %s、行 %d: セクション外オプション: %s"
#, fuzzy, c-format #, c-format
#| msgid "%sWarning: %s, line %d: unknown option for section \"%s\": %s" msgid "%sWarning: %s, line %d: unknown option for section \"%s\": %s"
msgid "%sWarning: %s, line %d: ignoring unknown option for section \"%s\": %s"
msgstr "%s警告: %s、行 %d: セクション \"%s\" の無効なオプション: %s" msgstr "%s警告: %s、行 %d: セクション \"%s\" の無効なオプション: %s"
#, fuzzy, c-format #, c-format
#| msgid "%sWarning: %s, line %d: invalid value for option: %s" msgid "%sWarning: %s, line %d: invalid value for option: %s"
msgid ""
"%sWarning: %s, line %d: ignoring invalid value for option in section \"%s\": "
"%s"
msgstr "%s警告: %s、行 %d: オプションに対する無効な値: %s" msgstr "%s警告: %s、行 %d: オプションに対する無効な値: %s"
#, c-format #, c-format
@@ -6363,7 +6346,7 @@ msgid ""
"10 and 99 buffers\n" "10 and 99 buffers\n"
" - ${number_displayed}: \"1\" if the number is displayed, otherwise " " - ${number_displayed}: \"1\" if the number is displayed, otherwise "
"\"0\"\n" "\"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" "indented) (evaluation of option buflist.format.indent)\n"
" - ${format_nick_prefix}: colored nick prefix for a channel (evaluation " " - ${format_nick_prefix}: colored nick prefix for a channel (evaluation "
"of option buflist.format.nick_prefix)\n" "of option buflist.format.nick_prefix)\n"
@@ -6570,8 +6553,8 @@ msgstr ""
msgid "" msgid ""
"number of buflist bar items that can be used; the item names are: " "number of buflist bar items that can be used; the item names are: "
"\"buflist\", \"buflist2\", \"buflist3\", \"buflist4\" and \"buflist5\"; be " "\"buflist\", \"buflist2\", \"buflist3\"; be careful, using more than one bar "
"careful, using more than one bar item slows down the display of buffers list" "item slows down the display of buffers list"
msgstr "" msgstr ""
msgid "" msgid ""
@@ -6643,13 +6626,9 @@ msgstr ""
"ホットリスト内のカウンタを示す区切り文字 (注意: 値は評価されます、/help eval " "ホットリスト内のカウンタを示す区切り文字 (注意: 値は評価されます、/help eval "
"を参照してください)" "を参照してください)"
#, fuzzy
#| msgid ""
#| "string displayed to indent channel and private buffers (note: content is "
#| "evaluated, see /help buflist)"
msgid "" msgid ""
"string displayed to indent channel, private and list buffers (note: content " "string displayed to indent channel and private buffers (note: content is "
"is evaluated, see /help buflist)" "evaluated, see /help buflist)"
msgstr "" msgstr ""
"indent チャンネルとプライベートバッファに表示される文字列 (注意: 値は評価され" "indent チャンネルとプライベートバッファに表示される文字列 (注意: 値は評価され"
"ます、/help buflist を参照してください)" "ます、/help buflist を参照してください)"
@@ -7157,8 +7136,8 @@ msgstr "値:"
#. TRANSLATORS: "%s%s%s:" at beginning of string it the name of option #. TRANSLATORS: "%s%s%s:" at beginning of string it the name of option
#, c-format #, 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[%s%s]%s" msgstr "%s%s%s: %s %s[%s%s]%s"
msgid "(no description)" msgid "(no description)"
msgstr "(説明がありません)" msgstr "(説明がありません)"
@@ -7225,9 +7204,9 @@ msgid ""
" -go: select a line by number, first line number is 0 (\"end\" to " " -go: select a line by number, first line number is 0 (\"end\" to "
"select the last line)\n" "select the last line)\n"
" -toggle: toggle the boolean value\n" " -toggle: toggle the boolean value\n"
" -add: add \"value\" (which can be a negative number) for integers, " " -add: add \"value\" (which can be a negative number) for integers and "
"colors and enums, set/append to value for other types (set for a negative " "colors, set/append to value for other types (set for a negative value, "
"value, append for a positive value)\n" "append for a positive value)\n"
" -reset: reset the value of option\n" " -reset: reset the value of option\n"
" -unset: unset the option\n" " -unset: unset the option\n"
" -set: add the /set command in input to edit the value of option (move " " -set: add the /set command in input to edit the value of option (move "
@@ -7249,8 +7228,7 @@ msgid ""
" * show all options (no filter)\n" " * show all options (no filter)\n"
" xxx show only options with \"xxx\" in name\n" " xxx show only options with \"xxx\" in name\n"
" f:xxx show only configuration file \"xxx\"\n" " f:xxx show only configuration file \"xxx\"\n"
" t:xxx show only type \"xxx\" (bool/int/str/col/enum or " " t:xxx show only type \"xxx\" (bool/int/str/col)\n"
"boolean/integer/string/color/enum)\n"
" d show only changed options\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 name\n"
" d=xxx show only changed options with \"xxx\" in value\n" " d=xxx show only changed options with \"xxx\" in value\n"
@@ -7263,11 +7241,10 @@ msgid ""
" ==xxx show only options with exact value \"xxx\"\n" " ==xxx show only options with exact value \"xxx\"\n"
" c:xxx show only options matching the evaluated condition " " c:xxx show only options matching the evaluated condition "
"\"xxx\", using following variables: file, section, option, name, " "\"xxx\", using following variables: file, section, option, name, "
"parent_name, type, type_en, type_short (bool/int/str/col/enum), type_tiny (b/" "parent_name, type, type_en, type_short (bool/int/str/col), type_tiny (b/i/s/"
"i/s/c/e), default_value, default_value_undef, value, quoted_value, " "c), default_value, default_value_undef, value, quoted_value, value_undef, "
"value_undef, value_changed, parent_value, min, max, description, " "value_changed, parent_value, min, max, description, description2, "
"description2, description_en, description_en2, string_values, " "description_en, description_en2, string_values\n"
"allowed_values\n"
"\n" "\n"
"The lines with options are displayed using string evaluation (see /help eval " "The lines with options are displayed using string evaluation (see /help eval "
"for the format), with these options:\n" "for the format), with these options:\n"
@@ -7283,8 +7260,8 @@ msgid ""
" - ${parent_name}: parent option name\n" " - ${parent_name}: parent option name\n"
" - ${type}: option type (translated)\n" " - ${type}: option type (translated)\n"
" - ${type_en}: option type (in English)\n" " - ${type_en}: option type (in English)\n"
" - ${type_short}: short option type (bool/int/str/col/enum)\n" " - ${type_short}: short option type (bool/int/str/col)\n"
" - ${type_tiny}: tiny option type (b/i/s/c/e)\n" " - ${type_tiny}: tiny option type (b/i/s/c)\n"
" - ${default_value}: option default value\n" " - ${default_value}: option default value\n"
" - ${default_value_undef}: \"1\" if default value is null, otherwise " " - ${default_value_undef}: \"1\" if default value is null, otherwise "
"\"0\"\n" "\"0\"\n"
@@ -7302,8 +7279,8 @@ msgid ""
" - ${description_en}: option description (in English)\n" " - ${description_en}: option description (in English)\n"
" - ${description_en2}: option description (in English), \"(no " " - ${description_en2}: option description (in English), \"(no "
"description)\" if there's no description\n" "description)\" if there's no description\n"
" - ${string_values}: string values allowed for set of an enum option\n" " - ${string_values}: string values allowed for set of an integer option "
" - ${allowed_values}: allowed values\n" "using strings\n"
" - ${marked}: \"1\" if option is marked, otherwise \"0\"\n" " - ${marked}: \"1\" if option is marked, otherwise \"0\"\n"
" - ${index}: index of option in list\n" " - ${index}: index of option in list\n"
" - option data, with color but no spaces:\n" " - option data, with color but no spaces:\n"
@@ -7332,9 +7309,9 @@ msgid ""
"\n" "\n"
"Keys and input to set options on fset buffer:\n" "Keys and input to set options on fset buffer:\n"
" alt+space t toggle boolean value\n" " alt+space t toggle boolean value\n"
" alt+'-' - subtract 1 from value for integer/color/enum, " " alt+'-' - subtract 1 from value for integer/color, set "
"set value for other types\n" "value for other types\n"
" alt+'+' + add 1 to value for integer/color/enum, append to " " alt+'+' + add 1 to value for integer/color, append to "
"value for other types\n" "value for other types\n"
" alt+f, alt+r r reset value\n" " alt+f, alt+r r reset value\n"
" alt+f, alt+u u unset value\n" " alt+f, alt+u u unset value\n"
@@ -7358,8 +7335,10 @@ msgid ""
" alt+p p toggle plugin description options (plugins.desc." " alt+p p toggle plugin description options (plugins.desc."
"*)\n" "*)\n"
" alt+v v toggle help bar\n" " alt+v v toggle help bar\n"
" s:x,y sort options by fields x,y (see above)\n" " s:x,y sort options by fields x,y (see /help fset.look."
" s: reset sort to its default value (see above)\n" "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\"\n"
" w-:xxx export options in file \"xxx\" without help\n" " w-:xxx export options in file \"xxx\" without help\n"
" w+:xxx export options in file \"xxx\" with help\n" " w+:xxx export options in file \"xxx\" with help\n"
@@ -7371,8 +7350,8 @@ msgid ""
" left button move line here\n" " left button move line here\n"
" right button toggle boolean (on/off) or edit the option " " right button toggle boolean (on/off) or edit the option "
"value\n" "value\n"
" right button + drag left/right increase/decrease value for integer/color/" " right button + drag left/right increase/decrease value for integer/color, "
"enum, set/append to value for other types\n" "set/append to value for other types\n"
" right button + drag up/down mark/unmark multiple options\n" " right button + drag up/down mark/unmark multiple options\n"
"\n" "\n"
"Note: if input has one or more leading spaces, the following text is " "Note: if input has one or more leading spaces, the following text is "
@@ -7711,14 +7690,6 @@ msgstr ""
"書式 (\"${marked} ${name} ${type} ${value2}\") を使います、デフォルト書式は" "書式 (\"${marked} ${name} ${type} ${value2}\") を使います、デフォルト書式は"
"文字列を評価しないので高速です; 書式を切り替えるには ctrl+X を使います" "文字列を評価しないので高速です; 書式を切り替えるには 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" msgid "color for color name when option fset.look.use_color_value is enabled"
msgstr "" msgstr ""
@@ -7769,6 +7740,9 @@ msgstr "オプション名のテキスト色 (ヘルプバー内に表示され
msgid "color for quotes around string values" msgid "color for quotes around string values"
msgstr "文字列値を囲む引用符のテキスト色" msgstr "文字列値を囲む引用符のテキスト色"
msgid "color for allowed values"
msgstr "利用可能な値のテキスト色"
msgid "color for index of option" msgid "color for index of option"
msgstr "オプションインデックスのテキスト色" msgstr "オプションインデックスのテキスト色"
@@ -7949,11 +7923,6 @@ msgstr "オプション名 (ワイルドカード \"*\" を使うことができ
msgid "fset options" msgid "fset options"
msgstr "fset オプション" msgstr "fset オプション"
#, fuzzy
#| msgid "color"
msgid "any color"
msgstr "色"
#, c-format #, c-format
msgid "%s%s: script \"%s\" already registered (register ignored)" msgid "%s%s: script \"%s\" already registered (register ignored)"
msgstr "%s%s: サーバ \"%s\" は既に登録済みです (登録しませんでした)" msgstr "%s%s: サーバ \"%s\" は既に登録済みです (登録しませんでした)"
@@ -8254,9 +8223,6 @@ msgstr "%s%s: 正規表現用のメモリが足りません"
msgid "%s%s: \"%s\" is not a valid regular expression (%s)" msgid "%s%s: \"%s\" is not a valid regular expression (%s)"
msgstr "%s%s: \"%s\" は不正な正規表現です (%s)" msgstr "%s%s: \"%s\" は不正な正規表現です (%s)"
msgid "Receiving list of channels, please wait..."
msgstr ""
#, c-format #, c-format
msgid "" msgid ""
"%s%s: you must specify channel for \"%s\" command if you're not in a channel" "%s%s: you must specify channel for \"%s\" command if you're not in a channel"
@@ -8724,10 +8690,10 @@ msgid ""
"\n" "\n"
"Without argument, \"ls\" and \"list\" are sent.\n" "Without argument, \"ls\" and \"list\" are sent.\n"
"\n" "\n"
"Capabilities supported by WeeChat are: account-notify, account-tag, away-" "Capabilities supported by WeeChat are: account-notify, away-notify, batch, "
"notify, batch, cap-notify, chghost, draft/multiline, echo-message, extended-" "cap-notify, chghost, draft/multiline, echo-message, extended-join, invite-"
"join, invite-notify, message-tags, multi-prefix, server-time, setname, " "notify, message-tags, multi-prefix, server-time, setname, userhost-in-"
"userhost-in-names.\n" "names.\n"
"\n" "\n"
"The capabilities to automatically enable on servers can be set in option irc." "The capabilities to automatically enable on servers can be set in option irc."
"server_default.capabilities (or by server in option irc.server.xxx." "server_default.capabilities (or by server in option irc.server.xxx."
@@ -9176,12 +9142,7 @@ msgstr ""
msgid "list channels and their topics" msgid "list channels and their topics"
msgstr "チャンネルとトピックをリストアップ" msgstr "チャンネルとトピックをリストアップ"
#, fuzzy msgid "[-server <server>] [-re <regex>] [<channel>[,<channel>...]] [<target>]"
#| 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"
msgstr "[-server <server>] [-re <regex>] [<channel>[,<channel>...]] [<target>]" msgstr "[-server <server>] [-re <regex>] [<channel>[,<channel>...]] [<target>]"
msgid "" msgid ""
@@ -9190,68 +9151,31 @@ msgid ""
"insensitive, can start by \"(?-i)\" to become case sensitive)\n" "insensitive, can start by \"(?-i)\" to become case sensitive)\n"
"channel: channel to list\n" "channel: channel to list\n"
" target: server name\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" "\n"
"Examples:\n" "Examples:\n"
" list all channels on server and display them in a dedicated buffer (can be " " list all channels on server (can be very slow on large networks):\n"
"slow on large networks):\n"
" /list\n" " /list\n"
" list channel #weechat:\n" " list channel #weechat:\n"
" /list #weechat\n" " /list #weechat\n"
" list all channels beginning with \"#weechat\" (can be very slow on large " " list all channels beginning with \"#weechat\" (can be very slow on large "
"networks):\n" "networks):\n"
" /list -re #weechat.*\n" " /list -re #weechat.*"
" 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"
msgstr "" 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" msgid "get statistics about the size of the IRC network"
msgstr "IRC ネットワークのサイズに関する統計を入手" msgstr "IRC ネットワークのサイズに関する統計を入手"
@@ -10128,22 +10052,12 @@ msgid ""
"ctcp.%s\" will not work" "ctcp.%s\" will not work"
msgstr "" 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 "" msgid ""
"format for CTCP reply or empty string for blocking CTCP (no reply); content " "format for CTCP reply or empty string for blocking CTCP (no reply), "
"is evaluated, see /help eval; following variables are replaced: " "following variables are replaced: $version (WeeChat version), $compilation "
"${clientinfo}: list of supported CTCP, ${version}: WeeChat version, ${git}: " "(compilation date), $osinfo (info about OS), $site (WeeChat site), $download "
"Git version, ${versiongit}: WeeChat version and Git version, ${compilation}: " "(WeeChat site, download page), $time (current date and time as text), "
"compilation date, ${osinfo}: info about OS, ${site}: WeeChat site, " "$username (username on server), $realname (realname on server)"
"${download}: WeeChat site, download page, ${time}: current date and time as "
"text, ${username}: username on server, ${realname}: realname on server"
msgstr "" msgstr ""
"CTCP リプライを設定したり CTCP をブロックする (返信しない) ための空文字列を指" "CTCP リプライを設定したり CTCP をブロックする (返信しない) ための空文字列を指"
"定する、以下の変数は置換されます: $version (WeeChat バージョ" "定する、以下の変数は置換されます: $version (WeeChat バージョ"
@@ -10578,11 +10492,6 @@ msgstr "%s%s: サーバオプション \"%s\" 作成中にエラー"
msgid "IRC option renamed: \"irc.%s.%s\" => \"irc.%s.%s\"" msgid "IRC option renamed: \"irc.%s.%s\" => \"irc.%s.%s\""
msgstr "" msgstr ""
#, fuzzy, c-format
#| msgid "Command for key: \"%s\""
msgid "IRC CTCP format converted for \"%s\": \"%s\" => \"%s\""
msgstr "キーに対するコマンド: \"%s\""
msgid "" msgid ""
"open channel buffer before the JOIN is received from server when it is auto " "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 " "joined (with server option \"autojoin\"); this is useful to open channels "
@@ -10799,34 +10708,6 @@ msgstr ""
"る; 例: \"/join weechat\" とした場合、実際に送信されるコマンドは \"/join " "る; 例: \"/join weechat\" とした場合、実際に送信されるコマンドは \"/join "
"#weechat\" になります" "#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 "" msgid ""
"default target buffer for msgbuffer options when target is private and that " "default target buffer for msgbuffer options when target is private and that "
"private buffer is not found" "private buffer is not found"
@@ -10843,20 +10724,6 @@ msgstr ""
"後ろのバッファ)、next = 現在のバッファ番号 + 1、near_server = サーバの一番後" "後ろのバッファ)、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 "" msgid ""
"force position of new private in list of buffers (none = default position " "force position of new private in list of buffers (none = default position "
"(should be last buffer), next = current buffer + 1, near_server = after last " "(should be last buffer), next = current buffer + 1, near_server = after last "
@@ -11094,16 +10961,6 @@ msgstr "\"input_prompt\" バー要素内のニックネームモードに付け
msgid "color for higher supported TLS version in bar item \"tls_version\"" msgid "color for higher supported TLS version in bar item \"tls_version\""
msgstr "\"input_prompt\" バー要素内のニックネームモードに付ける色" 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 #, fuzzy
msgid "color for text in account messages" msgid "color for text in account messages"
msgstr "参加メッセージの色" msgstr "参加メッセージの色"
@@ -11537,12 +11394,6 @@ msgstr "irc サーバ"
msgid "irc batch" msgid "irc batch"
msgstr "irc チャンネル" msgstr "irc チャンネル"
msgid "irc channel on /list buffer"
msgstr ""
msgid "irc data for /list buffer"
msgstr ""
#, c-format #, c-format
msgid "%sCTCP query to %s%s%s: %s%s%s%s%s" msgid "%sCTCP query to %s%s%s: %s%s%s%s%s"
msgstr "%s%s%s%s への CTCP クエリ: %s%s%s%s%s" msgstr "%s%s%s%s への CTCP クエリ: %s%s%s%s%s"
@@ -11555,17 +11406,6 @@ msgstr "%s%s: サーバに接続していません"
msgid "%s%s: this buffer is not a channel!" msgid "%s%s: this buffer is not a channel!"
msgstr "%s%s: このバッファはチャンネルではありません" 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 #, c-format
msgid "%s%s: cannot allocate new modelist" msgid "%s%s: cannot allocate new modelist"
msgstr "%s%s: 新しいモードリストの割り当てに失敗" msgstr "%s%s: 新しいモードリストの割り当てに失敗"
@@ -12975,13 +12815,6 @@ msgid ""
"by the user (option \"-s\" or \"--no-script\")" "by the user (option \"-s\" or \"--no-script\")"
msgstr "" msgstr ""
msgid "buffer pointer"
msgstr "バッファポインタ"
#, fuzzy
msgid "buffer full name"
msgstr "ファイルにバッファログを保存"
msgid "terminal charset" msgid "terminal charset"
msgstr "端末の文字セット" msgstr "端末の文字セット"
@@ -13139,6 +12972,9 @@ msgstr "バッファ名 (ワイルドカード \"*\" を使うことができま
msgid "lines of a buffer" msgid "lines of a buffer"
msgstr "バッファの行数" msgstr "バッファの行数"
msgid "buffer pointer"
msgstr "バッファポインタ"
msgid "list of filters" msgid "list of filters"
msgstr "フィルタのリスト" msgstr "フィルタのリスト"
@@ -14315,6 +14151,10 @@ msgstr "%s: スクリプト \"%s\" はロードされていません"
msgid "%s: script \"%s\" not found" msgid "%s: script \"%s\" not found"
msgstr "%s: スクリプト \"%s\" が見つかりません" msgstr "%s: スクリプト \"%s\" が見つかりません"
#, c-format
msgid "%s: script \"%s\" is not installed"
msgstr "%s: スクリプト \"%s\" はインストールされていません"
#, c-format #, c-format
msgid "%s: autoload enabled for script \"%s\"" msgid "%s: autoload enabled for script \"%s\""
msgstr "%s: スクリプト \"%s\" の自動ロードが有効化されました" msgstr "%s: スクリプト \"%s\" の自動ロードが有効化されました"
@@ -14338,10 +14178,6 @@ msgstr ""
msgid "%s: downloading script \"%s\"..." msgid "%s: downloading script \"%s\"..."
msgstr "%s: スクリプト \"%s\" のダウンロード中..." msgstr "%s: スクリプト \"%s\" のダウンロード中..."
#, c-format
msgid "%s: script \"%s\" is not installed"
msgstr "%s: スクリプト \"%s\" はインストールされていません"
#, c-format #, c-format
msgid "%s: script \"%s\" is held" msgid "%s: script \"%s\" is held"
msgstr "%s: スクリプト \"%s\" はホールド状態です" msgstr "%s: スクリプト \"%s\" はホールド状態です"
@@ -14480,7 +14316,7 @@ msgid ""
"list [-o|-ol|-i|-il] || search <text> || show <script> || load|unload|reload " "list [-o|-ol|-i|-il] || search <text> || show <script> || load|unload|reload "
"<script> [<script>...] || autoload|noautoload|toggleautoload <script> " "<script> [<script>...] || autoload|noautoload|toggleautoload <script> "
"[<script>...] || install|remove|installremove|hold [-q] <script> " "[<script>...] || install|remove|installremove|hold [-q] <script> "
"[<script>...] || upgrade || update || up|down [<number>] || go <line>|end" "[<script>...] || upgrade || update"
msgstr "" msgstr ""
"list [-o|-i] || search <text> || show <script> || load|unload|reload " "list [-o|-i] || search <text> || show <script> || load|unload|reload "
"<script> [<script>...] || autoload|noautoload|toggleautoload <script> " "<script> [<script>...] || autoload|noautoload|toggleautoload <script> "
@@ -14515,10 +14351,6 @@ msgid ""
" upgrade: upgrade all installed scripts which are obsolete (new " " upgrade: upgrade all installed scripts which are obsolete (new "
"version available)\n" "version available)\n"
" update: update local scripts cache\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" "\n"
"Without argument, this command opens a buffer with list of scripts.\n" "Without argument, this command opens a buffer with list of scripts.\n"
"\n" "\n"
@@ -15238,24 +15070,6 @@ msgstr "%s%s%s: %s %s[%s%s]%s"
msgid "No trigger defined" msgid "No trigger defined"
msgstr "トリガは定義されていません" 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:" msgid "List of default triggers:"
msgstr "デフォルトトリガのリスト:" msgstr "デフォルトトリガのリスト:"
@@ -15402,18 +15216,8 @@ msgstr ""
msgid "manage triggers, the Swiss Army knife for WeeChat" msgid "manage triggers, the Swiss Army knife for WeeChat"
msgstr "トリガ (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 "" msgid ""
"list [-o|-ol|-i|-il] || listfull || listdefault || add|addoff|addreplace " "list|listfull|listdefault || add|addoff|addreplace <name> <hook> "
"<name> <hook> "
"[\"<arguments>\" [\"<conditions>\" [\"<regex>\" [\"<command>\" [\"<return_code>\" [\"<post_action>\"]]]]]] " "[\"<arguments>\" [\"<conditions>\" [\"<regex>\" [\"<command>\" [\"<return_code>\" [\"<post_action>\"]]]]]] "
"|| addinput [<hook>] || input|output|recreate <name> || set <name> <option> " "|| addinput [<hook>] || input|output|recreate <name> || set <name> <option> "
"<value> || rename|copy <name> <new_name> || enable|disable|toggle [<name>|-" "<value> || rename|copy <name> <new_name> || enable|disable|toggle [<name>|-"
@@ -15432,12 +15236,6 @@ msgstr ""
#, fuzzy #, fuzzy
msgid "" msgid ""
" list: list triggers (without argument, this list is displayed)\n" " 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" " listfull: list triggers with detailed info for each trigger\n"
"listdefault: list default triggers\n" "listdefault: list default triggers\n"
" add: add a trigger\n" " add: add a trigger\n"
@@ -16252,45 +16050,3 @@ msgstr "%s%s: \"%s\" のタイムアウト %s"
#, c-format #, c-format
msgid "%s%s: unable to connect: unexpected error (%d)" msgid "%s%s: unable to connect: unexpected error (%d)"
msgstr "%s%s: 接続できません: 未定義のエラー (%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.*"
+83 -640
View File
File diff suppressed because it is too large Load Diff
+83 -305
View File
@@ -20,8 +20,8 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: WeeChat\n" "Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2023-08-22 09:26+0200\n" "POT-Creation-Date: 2023-07-05 21:24+0200\n"
"PO-Revision-Date: 2023-06-26 21:34+0200\n" "PO-Revision-Date: 2023-06-17 11:47+0200\n"
"Last-Translator: Vasco Almeida <vascomalmeida@sapo.pt>\n" "Last-Translator: Vasco Almeida <vascomalmeida@sapo.pt>\n"
"Language-Team: Portuguese <>\n" "Language-Team: Portuguese <>\n"
"Language: pt\n" "Language: pt\n"
@@ -506,12 +506,12 @@ msgstr "(indefinido)"
msgid "current value" msgid "current value"
msgstr "valor atual" msgstr "valor atual"
msgid "integer"
msgstr "inteiro"
msgid "string" msgid "string"
msgstr "cadeia" msgstr "cadeia"
msgid "integer"
msgstr "inteiro"
msgid "any string" msgid "any string"
msgstr "qualquer cadeia" msgstr "qualquer cadeia"
@@ -524,9 +524,6 @@ msgstr "carateres max"
msgid "color" msgid "color"
msgstr "cor" msgstr "cor"
msgid "enum"
msgstr ""
#. TRANSLATORS: please do not translate "(null)" #. TRANSLATORS: please do not translate "(null)"
msgid "undefined value allowed (null)" msgid "undefined value allowed (null)"
msgstr "valor indefinido permitido (null)" msgstr "valor indefinido permitido (null)"
@@ -1512,15 +1509,9 @@ msgstr ""
"movimentar o cursor livremente no ecrã para executar ações em áreas " "movimentar o cursor livremente no ecrã para executar ações em áreas "
"específicas" "específicas"
#, fuzzy
#| msgid ""
#| "go chat|<bar>|<x>,<y> || move up|down|left|right|area_up|area_down|"
#| "area_left|area_right || stop"
msgid "" msgid ""
"go chat|<bar> [top_left|top_right|bottom_left|bottom_right] || go <x>,<y> || " "go chat|<bar>|<x>,<y> || move up|down|left|right|area_up|area_down|area_left|"
"move up|down|left|right|top_left|top_right|bottom_left|bottom_right|edge_top|" "area_right || stop"
"edge_bottom|edge_left|edge_right|area_up|area_down|area_left|area_right || "
"stop"
msgstr "" msgstr ""
"go chat|<barra>|<x>,<y> || move up|down|left|right|area_up|area_down|" "go chat|<barra>|<x>,<y> || move up|down|left|right|area_up|area_down|"
"area_left|area_right || stop" "area_left|area_right || stop"
@@ -1555,8 +1546,6 @@ msgid ""
" enter exit cursor mode\n" " enter exit cursor mode\n"
"\n" "\n"
"Examples:\n" "Examples:\n"
" go to the bottom left corner of chat area:\n"
" /cursor go chat bottom_left\n"
" go to nicklist:\n" " go to nicklist:\n"
" /cursor go nicklist\n" " /cursor go nicklist\n"
" go to coordinates x=10, y=5:\n" " go to coordinates x=10, y=5:\n"
@@ -5356,9 +5345,8 @@ msgstr "A ler o ficheiro de configuração %s"
msgid "%sWarning: %s, line %d: invalid syntax, missing \"]\"" msgid "%sWarning: %s, line %d: invalid syntax, missing \"]\""
msgstr "%sAviso: %s, linha %d: sintaxe inválida, falta ']'" msgstr "%sAviso: %s, linha %d: sintaxe inválida, falta ']'"
#, fuzzy, c-format #, c-format
#| msgid "%sWarning: %s, line %d: unknown section identifier (\"%s\")" msgid "%sWarning: %s, line %d: unknown section identifier (\"%s\")"
msgid "%sWarning: %s, line %d: ignoring unknown section identifier (\"%s\")"
msgstr "%sAviso: %s, linha %d: identificador de secção desconhecido (\"%s\")" msgstr "%sAviso: %s, linha %d: identificador de secção desconhecido (\"%s\")"
#, c-format #, c-format
@@ -5373,21 +5361,16 @@ msgid ""
"of file is IGNORED, default options are used" "of file is IGNORED, default options are used"
msgstr "" msgstr ""
#, fuzzy, c-format #, c-format
#| msgid "%sWarning: %s, line %d: option outside section: %s" msgid "%sWarning: %s, line %d: option outside section: %s"
msgid "%sWarning: %s, line %d: ignoring option outside section: %s"
msgstr "%sAviso: %s, linha %d: opção fora de secção: %s" msgstr "%sAviso: %s, linha %d: opção fora de secção: %s"
#, fuzzy, c-format #, c-format
#| msgid "%sWarning: %s, line %d: unknown option for section \"%s\": %s" msgid "%sWarning: %s, line %d: unknown option for section \"%s\": %s"
msgid "%sWarning: %s, line %d: ignoring unknown option for section \"%s\": %s"
msgstr "%sAviso: %s, linha %d: opção desconhecida na secção \"%s\": %s" msgstr "%sAviso: %s, linha %d: opção desconhecida na secção \"%s\": %s"
#, fuzzy, c-format #, c-format
#| msgid "%sWarning: %s, line %d: invalid value for option: %s" msgid "%sWarning: %s, line %d: invalid value for option: %s"
msgid ""
"%sWarning: %s, line %d: ignoring invalid value for option in section \"%s\": "
"%s"
msgstr "%sAviso: %s, linha %d: valor inválido na opção: %s" msgstr "%sAviso: %s, linha %d: valor inválido na opção: %s"
#, c-format #, c-format
@@ -6406,7 +6389,7 @@ msgid ""
"10 and 99 buffers\n" "10 and 99 buffers\n"
" - ${number_displayed}: \"1\" if the number is displayed, otherwise " " - ${number_displayed}: \"1\" if the number is displayed, otherwise "
"\"0\"\n" "\"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" "indented) (evaluation of option buflist.format.indent)\n"
" - ${format_nick_prefix}: colored nick prefix for a channel (evaluation " " - ${format_nick_prefix}: colored nick prefix for a channel (evaluation "
"of option buflist.format.nick_prefix)\n" "of option buflist.format.nick_prefix)\n"
@@ -6512,8 +6495,8 @@ msgstr ""
msgid "" msgid ""
"number of buflist bar items that can be used; the item names are: " "number of buflist bar items that can be used; the item names are: "
"\"buflist\", \"buflist2\", \"buflist3\", \"buflist4\" and \"buflist5\"; be " "\"buflist\", \"buflist2\", \"buflist3\"; be careful, using more than one bar "
"careful, using more than one bar item slows down the display of buffers list" "item slows down the display of buffers list"
msgstr "" msgstr ""
msgid "" msgid ""
@@ -6585,8 +6568,8 @@ msgstr ""
#, fuzzy #, fuzzy
msgid "" msgid ""
"string displayed to indent channel, private and list buffers (note: content " "string displayed to indent channel and private buffers (note: content is "
"is evaluated, see /help buflist)" "evaluated, see /help buflist)"
msgstr "" msgstr ""
"nome real a usar no servidor (nota: o conteúdo é avaliado, ver /help eval)" "nome real a usar no servidor (nota: o conteúdo é avaliado, ver /help eval)"
@@ -7096,7 +7079,7 @@ msgstr "valores"
#. TRANSLATORS: "%s%s%s:" at beginning of string it the name of option #. TRANSLATORS: "%s%s%s:" at beginning of string it the name of option
#, fuzzy, c-format #, 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]" msgstr "%sNicks %s%s%s: %s[%s%s%s]"
#, fuzzy #, fuzzy
@@ -7143,9 +7126,9 @@ msgid ""
" -go: select a line by number, first line number is 0 (\"end\" to " " -go: select a line by number, first line number is 0 (\"end\" to "
"select the last line)\n" "select the last line)\n"
" -toggle: toggle the boolean value\n" " -toggle: toggle the boolean value\n"
" -add: add \"value\" (which can be a negative number) for integers, " " -add: add \"value\" (which can be a negative number) for integers and "
"colors and enums, set/append to value for other types (set for a negative " "colors, set/append to value for other types (set for a negative value, "
"value, append for a positive value)\n" "append for a positive value)\n"
" -reset: reset the value of option\n" " -reset: reset the value of option\n"
" -unset: unset the option\n" " -unset: unset the option\n"
" -set: add the /set command in input to edit the value of option (move " " -set: add the /set command in input to edit the value of option (move "
@@ -7167,8 +7150,7 @@ msgid ""
" * show all options (no filter)\n" " * show all options (no filter)\n"
" xxx show only options with \"xxx\" in name\n" " xxx show only options with \"xxx\" in name\n"
" f:xxx show only configuration file \"xxx\"\n" " f:xxx show only configuration file \"xxx\"\n"
" t:xxx show only type \"xxx\" (bool/int/str/col/enum or " " t:xxx show only type \"xxx\" (bool/int/str/col)\n"
"boolean/integer/string/color/enum)\n"
" d show only changed options\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 name\n"
" d=xxx show only changed options with \"xxx\" in value\n" " d=xxx show only changed options with \"xxx\" in value\n"
@@ -7181,11 +7163,10 @@ msgid ""
" ==xxx show only options with exact value \"xxx\"\n" " ==xxx show only options with exact value \"xxx\"\n"
" c:xxx show only options matching the evaluated condition " " c:xxx show only options matching the evaluated condition "
"\"xxx\", using following variables: file, section, option, name, " "\"xxx\", using following variables: file, section, option, name, "
"parent_name, type, type_en, type_short (bool/int/str/col/enum), type_tiny (b/" "parent_name, type, type_en, type_short (bool/int/str/col), type_tiny (b/i/s/"
"i/s/c/e), default_value, default_value_undef, value, quoted_value, " "c), default_value, default_value_undef, value, quoted_value, value_undef, "
"value_undef, value_changed, parent_value, min, max, description, " "value_changed, parent_value, min, max, description, description2, "
"description2, description_en, description_en2, string_values, " "description_en, description_en2, string_values\n"
"allowed_values\n"
"\n" "\n"
"The lines with options are displayed using string evaluation (see /help eval " "The lines with options are displayed using string evaluation (see /help eval "
"for the format), with these options:\n" "for the format), with these options:\n"
@@ -7201,8 +7182,8 @@ msgid ""
" - ${parent_name}: parent option name\n" " - ${parent_name}: parent option name\n"
" - ${type}: option type (translated)\n" " - ${type}: option type (translated)\n"
" - ${type_en}: option type (in English)\n" " - ${type_en}: option type (in English)\n"
" - ${type_short}: short option type (bool/int/str/col/enum)\n" " - ${type_short}: short option type (bool/int/str/col)\n"
" - ${type_tiny}: tiny option type (b/i/s/c/e)\n" " - ${type_tiny}: tiny option type (b/i/s/c)\n"
" - ${default_value}: option default value\n" " - ${default_value}: option default value\n"
" - ${default_value_undef}: \"1\" if default value is null, otherwise " " - ${default_value_undef}: \"1\" if default value is null, otherwise "
"\"0\"\n" "\"0\"\n"
@@ -7220,8 +7201,8 @@ msgid ""
" - ${description_en}: option description (in English)\n" " - ${description_en}: option description (in English)\n"
" - ${description_en2}: option description (in English), \"(no " " - ${description_en2}: option description (in English), \"(no "
"description)\" if there's no description\n" "description)\" if there's no description\n"
" - ${string_values}: string values allowed for set of an enum option\n" " - ${string_values}: string values allowed for set of an integer option "
" - ${allowed_values}: allowed values\n" "using strings\n"
" - ${marked}: \"1\" if option is marked, otherwise \"0\"\n" " - ${marked}: \"1\" if option is marked, otherwise \"0\"\n"
" - ${index}: index of option in list\n" " - ${index}: index of option in list\n"
" - option data, with color but no spaces:\n" " - option data, with color but no spaces:\n"
@@ -7250,9 +7231,9 @@ msgid ""
"\n" "\n"
"Keys and input to set options on fset buffer:\n" "Keys and input to set options on fset buffer:\n"
" alt+space t toggle boolean value\n" " alt+space t toggle boolean value\n"
" alt+'-' - subtract 1 from value for integer/color/enum, " " alt+'-' - subtract 1 from value for integer/color, set "
"set value for other types\n" "value for other types\n"
" alt+'+' + add 1 to value for integer/color/enum, append to " " alt+'+' + add 1 to value for integer/color, append to "
"value for other types\n" "value for other types\n"
" alt+f, alt+r r reset value\n" " alt+f, alt+r r reset value\n"
" alt+f, alt+u u unset value\n" " alt+f, alt+u u unset value\n"
@@ -7276,8 +7257,10 @@ msgid ""
" alt+p p toggle plugin description options (plugins.desc." " alt+p p toggle plugin description options (plugins.desc."
"*)\n" "*)\n"
" alt+v v toggle help bar\n" " alt+v v toggle help bar\n"
" s:x,y sort options by fields x,y (see above)\n" " s:x,y sort options by fields x,y (see /help fset.look."
" s: reset sort to its default value (see above)\n" "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\"\n"
" w-:xxx export options in file \"xxx\" without help\n" " w-:xxx export options in file \"xxx\" without help\n"
" w+:xxx export options in file \"xxx\" with help\n" " w+:xxx export options in file \"xxx\" with help\n"
@@ -7289,8 +7272,8 @@ msgid ""
" left button move line here\n" " left button move line here\n"
" right button toggle boolean (on/off) or edit the option " " right button toggle boolean (on/off) or edit the option "
"value\n" "value\n"
" right button + drag left/right increase/decrease value for integer/color/" " right button + drag left/right increase/decrease value for integer/color, "
"enum, set/append to value for other types\n" "set/append to value for other types\n"
" right button + drag up/down mark/unmark multiple options\n" " right button + drag up/down mark/unmark multiple options\n"
"\n" "\n"
"Note: if input has one or more leading spaces, the following text is " "Note: if input has one or more leading spaces, the following text is "
@@ -7426,14 +7409,6 @@ msgid ""
"ctrl-x" "ctrl-x"
msgstr "" 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" msgid "color for color name when option fset.look.use_color_value is enabled"
msgstr "" msgstr ""
@@ -7494,6 +7469,10 @@ msgstr "cor do nick na barra de entrada"
msgid "color for quotes around string values" msgid "color for quotes around string values"
msgstr "cor do texto das mensagens de join" msgstr "cor do texto das mensagens de join"
#, fuzzy
msgid "color for allowed values"
msgstr "cor das linhas do registo recente"
#, fuzzy #, fuzzy
msgid "color for index of option" msgid "color for index of option"
msgstr "cor do texto da descrição do cliente" msgstr "cor do texto da descrição do cliente"
@@ -7703,11 +7682,6 @@ msgstr "nome da opção (o caráter universal \"*\" é permitido) (opcional)"
msgid "fset options" msgid "fset options"
msgstr "lista de opções" msgstr "lista de opções"
#, fuzzy
#| msgid "color"
msgid "any color"
msgstr "cor"
#, c-format #, c-format
msgid "%s%s: script \"%s\" already registered (register ignored)" msgid "%s%s: script \"%s\" already registered (register ignored)"
msgstr "%s%s: script \"%s\" já registado (registo ignorado)" msgstr "%s%s: script \"%s\" já registado (registo ignorado)"
@@ -8009,9 +7983,6 @@ msgstr "%s%s: memória insuficiente para a expressão regular"
msgid "%s%s: \"%s\" is not a valid regular expression (%s)" msgid "%s%s: \"%s\" is not a valid regular expression (%s)"
msgstr "%s%s: \"%s\" não é uma expressão regular válida (%s)" msgstr "%s%s: \"%s\" não é uma expressão regular válida (%s)"
msgid "Receiving list of channels, please wait..."
msgstr ""
#, c-format #, c-format
msgid "" msgid ""
"%s%s: you must specify channel for \"%s\" command if you're not in a channel" "%s%s: you must specify channel for \"%s\" command if you're not in a channel"
@@ -8466,10 +8437,10 @@ msgid ""
"\n" "\n"
"Without argument, \"ls\" and \"list\" are sent.\n" "Without argument, \"ls\" and \"list\" are sent.\n"
"\n" "\n"
"Capabilities supported by WeeChat are: account-notify, account-tag, away-" "Capabilities supported by WeeChat are: account-notify, away-notify, batch, "
"notify, batch, cap-notify, chghost, draft/multiline, echo-message, extended-" "cap-notify, chghost, draft/multiline, echo-message, extended-join, invite-"
"join, invite-notify, message-tags, multi-prefix, server-time, setname, " "notify, message-tags, multi-prefix, server-time, setname, userhost-in-"
"userhost-in-names.\n" "names.\n"
"\n" "\n"
"The capabilities to automatically enable on servers can be set in option irc." "The capabilities to automatically enable on servers can be set in option irc."
"server_default.capabilities (or by server in option irc.server.xxx." "server_default.capabilities (or by server in option irc.server.xxx."
@@ -8924,81 +8895,43 @@ msgid "list channels and their topics"
msgstr "listar canais e respetivos tópicos" msgstr "listar canais e respetivos tópicos"
#, fuzzy #, fuzzy
msgid "" msgid "[-server <server>] [-re <regex>] [<channel>[,<channel>...]] [<target>]"
"[-server <server>] [-re <regex>] [<channel>[,<channel>...]] [<target>] || -"
"up|-down [<number>] || -left|-right [<percent>] || -go <line>|end || -join"
msgstr "" msgstr ""
"[-noswitch] [-server <servidor>] [<canal1>[,<canal2>...]] [<chave1>[," "[-noswitch] [-server <servidor>] [<canal1>[,<canal2>...]] [<chave1>[,"
"<chave2>...]]" "<chave2>...]]"
#, fuzzy
msgid "" msgid ""
" server: send to this server (internal name)\n" " server: send to this server (internal name)\n"
" regex: POSIX extended regular expression used to filter results (case " " regex: POSIX extended regular expression used to filter results (case "
"insensitive, can start by \"(?-i)\" to become case sensitive)\n" "insensitive, can start by \"(?-i)\" to become case sensitive)\n"
"channel: channel to list\n" "channel: channel to list\n"
" target: server name\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" "\n"
"Examples:\n" "Examples:\n"
" list all channels on server and display them in a dedicated buffer (can be " " list all channels on server (can be very slow on large networks):\n"
"slow on large networks):\n"
" /list\n" " /list\n"
" list channel #weechat:\n" " list channel #weechat:\n"
" /list #weechat\n" " /list #weechat\n"
" list all channels beginning with \"#weechat\" (can be very slow on large " " list all channels beginning with \"#weechat\" (can be very slow on large "
"networks):\n" "networks):\n"
" /list -re #weechat.*\n" " /list -re #weechat.*"
" 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"
msgstr "" 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" msgid "get statistics about the size of the IRC network"
msgstr "obter estatísticas sobre o tamanho da rede IRC" msgstr "obter estatísticas sobre o tamanho da rede IRC"
@@ -9891,22 +9824,12 @@ msgid ""
"ctcp.%s\" will not work" "ctcp.%s\" will not work"
msgstr "" 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 "" msgid ""
"format for CTCP reply or empty string for blocking CTCP (no reply); content " "format for CTCP reply or empty string for blocking CTCP (no reply), "
"is evaluated, see /help eval; following variables are replaced: " "following variables are replaced: $version (WeeChat version), $compilation "
"${clientinfo}: list of supported CTCP, ${version}: WeeChat version, ${git}: " "(compilation date), $osinfo (info about OS), $site (WeeChat site), $download "
"Git version, ${versiongit}: WeeChat version and Git version, ${compilation}: " "(WeeChat site, download page), $time (current date and time as text), "
"compilation date, ${osinfo}: info about OS, ${site}: WeeChat site, " "$username (username on server), $realname (realname on server)"
"${download}: WeeChat site, download page, ${time}: current date and time as "
"text, ${username}: username on server, ${realname}: realname on server"
msgstr "" msgstr ""
"formato da resposta CTCP ou cadeia vazia para bloquear CTCP (não responder), " "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), " "as seguintes variáveis são substituídas: $version (versão do WeeChat), "
@@ -10329,11 +10252,6 @@ msgstr "%s%s: erro ao cria a opção de servidor \"%s\""
msgid "IRC option renamed: \"irc.%s.%s\" => \"irc.%s.%s\"" msgid "IRC option renamed: \"irc.%s.%s\" => \"irc.%s.%s\""
msgstr "" 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 "" msgid ""
"open channel buffer before the JOIN is received from server when it is auto " "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 " "joined (with server option \"autojoin\"); this is useful to open channels "
@@ -10555,21 +10473,6 @@ msgstr ""
"comando /join se o nome do canal não começar por um tipo de canal válido do " "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\"" "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 "" msgid ""
"default target buffer for msgbuffer options when target is private and that " "default target buffer for msgbuffer options when target is private and that "
"private buffer is not found" "private buffer is not found"
@@ -10586,20 +10489,6 @@ msgstr ""
"predefinida (deverá ser o último buffer), next = buffer atual + 1, " "predefinida (deverá ser o último buffer), next = buffer atual + 1, "
"near_server = depois do último canal/pvt do servidor)" "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 "" msgid ""
"force position of new private in list of buffers (none = default position " "force position of new private in list of buffers (none = default position "
"(should be last buffer), next = current buffer + 1, near_server = after last " "(should be last buffer), next = current buffer + 1, near_server = after last "
@@ -10837,16 +10726,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\"" msgid "color for higher supported TLS version in bar item \"tls_version\""
msgstr "cor dos modos de nick no item de barra \"input_prompt\"" 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 #, fuzzy
msgid "color for text in account messages" msgid "color for text in account messages"
msgstr "cor do texto das mensagens de join" msgstr "cor do texto das mensagens de join"
@@ -11295,12 +11174,6 @@ msgstr "servidor de irc"
msgid "irc batch" msgid "irc batch"
msgstr "canal de irc" msgstr "canal de irc"
msgid "irc channel on /list buffer"
msgstr ""
msgid "irc data for /list buffer"
msgstr ""
#, c-format #, c-format
msgid "%sCTCP query to %s%s%s: %s%s%s%s%s" msgid "%sCTCP query to %s%s%s: %s%s%s%s%s"
msgstr "%sconsulta CTCP a %s%s%s: %s%s%s%s%s" msgstr "%sconsulta CTCP a %s%s%s: %s%s%s%s%s"
@@ -11313,17 +11186,6 @@ msgstr "%s%s: não está conectado ao servidor"
msgid "%s%s: this buffer is not a channel!" msgid "%s%s: this buffer is not a channel!"
msgstr "%s%s: este buffer não é um canal!" 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 #, fuzzy, c-format
msgid "%s%s: cannot allocate new modelist" msgid "%s%s: cannot allocate new modelist"
msgstr "%s%s: não é possível alocar novo canal" msgstr "%s%s: não é possível alocar novo canal"
@@ -12721,13 +12583,6 @@ msgid ""
"by the user (option \"-s\" or \"--no-script\")" "by the user (option \"-s\" or \"--no-script\")"
msgstr "" msgstr ""
msgid "buffer pointer"
msgstr "ponteiro para o buffer"
#, fuzzy
msgid "buffer full name"
msgstr "Registar buffers em ficheiros"
msgid "terminal charset" msgid "terminal charset"
msgstr "charset do termianl" msgstr "charset do termianl"
@@ -12881,6 +12736,9 @@ msgstr "nome do buffer (o caráter universal \"*\" é permitido) (opcional)"
msgid "lines of a buffer" msgid "lines of a buffer"
msgstr "linhas de um buffer" msgstr "linhas de um buffer"
msgid "buffer pointer"
msgstr "ponteiro para o buffer"
msgid "list of filters" msgid "list of filters"
msgstr "lista de filtros" msgstr "lista de filtros"
@@ -14034,6 +13892,10 @@ msgstr "%s: o script \"%s\" não está carregado"
msgid "%s: script \"%s\" not found" msgid "%s: script \"%s\" not found"
msgstr "%s: script \"%s\" não encontrado" 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 #, c-format
msgid "%s: autoload enabled for script \"%s\"" msgid "%s: autoload enabled for script \"%s\""
msgstr "%s: o carregamento automático do \"%s\" foi ativado" msgstr "%s: o carregamento automático do \"%s\" foi ativado"
@@ -14057,10 +13919,6 @@ msgstr ""
msgid "%s: downloading script \"%s\"..." msgid "%s: downloading script \"%s\"..."
msgstr "%s: a transferir o 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 #, c-format
msgid "%s: script \"%s\" is held" msgid "%s: script \"%s\" is held"
msgstr "%s: o script \"%s\" está retido" msgstr "%s: o script \"%s\" está retido"
@@ -14202,7 +14060,7 @@ msgid ""
"list [-o|-ol|-i|-il] || search <text> || show <script> || load|unload|reload " "list [-o|-ol|-i|-il] || search <text> || show <script> || load|unload|reload "
"<script> [<script>...] || autoload|noautoload|toggleautoload <script> " "<script> [<script>...] || autoload|noautoload|toggleautoload <script> "
"[<script>...] || install|remove|installremove|hold [-q] <script> " "[<script>...] || install|remove|installremove|hold [-q] <script> "
"[<script>...] || upgrade || update || up|down [<number>] || go <line>|end" "[<script>...] || upgrade || update"
msgstr "" msgstr ""
"list [-o|-i] || search <texto> || show <script> || load|unload|reload " "list [-o|-i] || search <texto> || show <script> || load|unload|reload "
"<script> [<script>...] || autoload|noautoload|toggleautoload <script> " "<script> [<script>...] || autoload|noautoload|toggleautoload <script> "
@@ -14237,10 +14095,6 @@ msgid ""
" upgrade: upgrade all installed scripts which are obsolete (new " " upgrade: upgrade all installed scripts which are obsolete (new "
"version available)\n" "version available)\n"
" update: update local scripts cache\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" "\n"
"Without argument, this command opens a buffer with list of scripts.\n" "Without argument, this command opens a buffer with list of scripts.\n"
"\n" "\n"
@@ -14966,24 +14820,6 @@ msgstr "%sNicks %s%s%s: %s[%s%s%s]"
msgid "No trigger defined" msgid "No trigger defined"
msgstr "Nenhum acionador definido" 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:" msgid "List of default triggers:"
msgstr "Lista de acionadores predefinidos:" msgstr "Lista de acionadores predefinidos:"
@@ -15130,18 +14966,8 @@ msgstr ""
msgid "manage triggers, the Swiss Army knife for WeeChat" msgid "manage triggers, the Swiss Army knife for WeeChat"
msgstr "gerir acionadores, o canivete suíço do 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 "" msgid ""
"list [-o|-ol|-i|-il] || listfull || listdefault || add|addoff|addreplace " "list|listfull|listdefault || add|addoff|addreplace <name> <hook> "
"<name> <hook> "
"[\"<arguments>\" [\"<conditions>\" [\"<regex>\" [\"<command>\" [\"<return_code>\" [\"<post_action>\"]]]]]] " "[\"<arguments>\" [\"<conditions>\" [\"<regex>\" [\"<command>\" [\"<return_code>\" [\"<post_action>\"]]]]]] "
"|| addinput [<hook>] || input|output|recreate <name> || set <name> <option> " "|| addinput [<hook>] || input|output|recreate <name> || set <name> <option> "
"<value> || rename|copy <name> <new_name> || enable|disable|toggle [<name>|-" "<value> || rename|copy <name> <new_name> || enable|disable|toggle [<name>|-"
@@ -15160,12 +14986,6 @@ msgstr ""
#, fuzzy #, fuzzy
msgid "" msgid ""
" list: list triggers (without argument, this list is displayed)\n" " 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" " listfull: list triggers with detailed info for each trigger\n"
"listdefault: list default triggers\n" "listdefault: list default triggers\n"
" add: add a trigger\n" " add: add a trigger\n"
@@ -15998,45 +15818,3 @@ msgstr "%s%s: tempo limite de \"%s\" com %s"
#, c-format #, c-format
msgid "%s%s: unable to connect: unexpected error (%d)" msgid "%s%s: unable to connect: unexpected error (%d)"
msgstr "%s%s: não foi possível conectar: erro inesperado (%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.*"
+67 -257
View File
@@ -21,8 +21,8 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: WeeChat\n" "Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2023-08-22 09:26+0200\n" "POT-Creation-Date: 2023-07-05 21:24+0200\n"
"PO-Revision-Date: 2023-06-26 21:34+0200\n" "PO-Revision-Date: 2023-06-17 11:47+0200\n"
"Last-Translator: Érico Nogueira <ericonr@disroot.org>\n" "Last-Translator: Érico Nogueira <ericonr@disroot.org>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n" "Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
"Language: pt_BR\n" "Language: pt_BR\n"
@@ -514,12 +514,12 @@ msgstr "(indefinido)"
msgid "current value" msgid "current value"
msgstr "valor atual" msgstr "valor atual"
msgid "integer"
msgstr "inteiro"
msgid "string" msgid "string"
msgstr "string" msgstr "string"
msgid "integer"
msgstr "inteiro"
msgid "any string" msgid "any string"
msgstr "qualquer string" msgstr "qualquer string"
@@ -532,9 +532,6 @@ msgstr "máximo de caracteres"
msgid "color" msgid "color"
msgstr "cor" msgstr "cor"
msgid "enum"
msgstr ""
#. TRANSLATORS: please do not translate "(null)" #. TRANSLATORS: please do not translate "(null)"
msgid "undefined value allowed (null)" msgid "undefined value allowed (null)"
msgstr "valor indefinido permitido (null)" msgstr "valor indefinido permitido (null)"
@@ -1468,15 +1465,9 @@ msgstr ""
"da tela" "da tela"
# Are those weechat commands/options? I don't think they must be translated # 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 "" msgid ""
"go chat|<bar> [top_left|top_right|bottom_left|bottom_right] || go <x>,<y> || " "go chat|<bar>|<x>,<y> || move up|down|left|right|area_up|area_down|area_left|"
"move up|down|left|right|top_left|top_right|bottom_left|bottom_right|edge_top|" "area_right || stop"
"edge_bottom|edge_left|edge_right|area_up|area_down|area_left|area_right || "
"stop"
msgstr "" msgstr ""
"go chat|<bar>|<x>,<y> || move up|down|left|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" "area_right || stop"
@@ -1511,8 +1502,6 @@ msgid ""
" enter exit cursor mode\n" " enter exit cursor mode\n"
"\n" "\n"
"Examples:\n" "Examples:\n"
" go to the bottom left corner of chat area:\n"
" /cursor go chat bottom_left\n"
" go to nicklist:\n" " go to nicklist:\n"
" /cursor go nicklist\n" " /cursor go nicklist\n"
" go to coordinates x=10, y=5:\n" " go to coordinates x=10, y=5:\n"
@@ -4727,9 +4716,8 @@ msgstr "Lendo arquivo de configuração %s"
msgid "%sWarning: %s, line %d: invalid syntax, missing \"]\"" msgid "%sWarning: %s, line %d: invalid syntax, missing \"]\""
msgstr "%sAviso: %s, linha %d: sintaxe inválida, faltando \"]\"" msgstr "%sAviso: %s, linha %d: sintaxe inválida, faltando \"]\""
#, fuzzy, c-format #, c-format
#| msgid "%sWarning: %s, line %d: unknown section identifier (\"%s\")" msgid "%sWarning: %s, line %d: unknown section identifier (\"%s\")"
msgid "%sWarning: %s, line %d: ignoring unknown section identifier (\"%s\")"
msgstr "%sAviso: %s, linha %d: identificador de seção desconhecido (\"%s\")" msgstr "%sAviso: %s, linha %d: identificador de seção desconhecido (\"%s\")"
#, c-format #, c-format
@@ -4744,21 +4732,16 @@ msgid ""
"of file is IGNORED, default options are used" "of file is IGNORED, default options are used"
msgstr "" msgstr ""
#, fuzzy, c-format #, c-format
#| msgid "%sWarning: %s, line %d: option outside section: %s" msgid "%sWarning: %s, line %d: option outside section: %s"
msgid "%sWarning: %s, line %d: ignoring option outside section: %s"
msgstr "%sAviso: %s, linha %d: opção fora da seção: %s" msgstr "%sAviso: %s, linha %d: opção fora da seção: %s"
#, fuzzy, c-format #, c-format
#| msgid "%sWarning: %s, line %d: unknown option for section \"%s\": %s" msgid "%sWarning: %s, line %d: unknown option for section \"%s\": %s"
msgid "%sWarning: %s, line %d: ignoring unknown option for section \"%s\": %s"
msgstr "%sAviso: %s, linha %d: opção \"%s\" desconhecido para seção \"%s\"" msgstr "%sAviso: %s, linha %d: opção \"%s\" desconhecido para seção \"%s\""
#, fuzzy, c-format #, c-format
#| msgid "%sWarning: %s, line %d: invalid value for option: %s" msgid "%sWarning: %s, line %d: invalid value for option: %s"
msgid ""
"%sWarning: %s, line %d: ignoring invalid value for option in section \"%s\": "
"%s"
msgstr "%sAviso: %s, linha %d: valor \"%s\" inválido para opção" msgstr "%sAviso: %s, linha %d: valor \"%s\" inválido para opção"
#, c-format #, c-format
@@ -5683,7 +5666,7 @@ msgid ""
"10 and 99 buffers\n" "10 and 99 buffers\n"
" - ${number_displayed}: \"1\" if the number is displayed, otherwise " " - ${number_displayed}: \"1\" if the number is displayed, otherwise "
"\"0\"\n" "\"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" "indented) (evaluation of option buflist.format.indent)\n"
" - ${format_nick_prefix}: colored nick prefix for a channel (evaluation " " - ${format_nick_prefix}: colored nick prefix for a channel (evaluation "
"of option buflist.format.nick_prefix)\n" "of option buflist.format.nick_prefix)\n"
@@ -5789,8 +5772,8 @@ msgstr ""
msgid "" msgid ""
"number of buflist bar items that can be used; the item names are: " "number of buflist bar items that can be used; the item names are: "
"\"buflist\", \"buflist2\", \"buflist3\", \"buflist4\" and \"buflist5\"; be " "\"buflist\", \"buflist2\", \"buflist3\"; be careful, using more than one bar "
"careful, using more than one bar item slows down the display of buffers list" "item slows down the display of buffers list"
msgstr "" msgstr ""
msgid "" msgid ""
@@ -5866,8 +5849,8 @@ msgstr ""
#, fuzzy #, fuzzy
msgid "" msgid ""
"string displayed to indent channel, private and list buffers (note: content " "string displayed to indent channel and private buffers (note: content is "
"is evaluated, see /help buflist)" "evaluated, see /help buflist)"
msgstr "" msgstr ""
"comando executado quando o WeeChat inicia, antes do carregamento dos plugins " "comando executado quando o WeeChat inicia, antes do carregamento dos plugins "
"(nota: conteúdo é avaliado, veja /help eval)" "(nota: conteúdo é avaliado, veja /help eval)"
@@ -6261,7 +6244,7 @@ msgstr "valores"
#. TRANSLATORS: "%s%s%s:" at beginning of string it the name of option #. TRANSLATORS: "%s%s%s:" at beginning of string it the name of option
#, fuzzy, c-format #, 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]" msgstr "%sApelidos: %s%s%s: %s[%s%s%s]"
#, fuzzy #, fuzzy
@@ -6308,9 +6291,9 @@ msgid ""
" -go: select a line by number, first line number is 0 (\"end\" to " " -go: select a line by number, first line number is 0 (\"end\" to "
"select the last line)\n" "select the last line)\n"
" -toggle: toggle the boolean value\n" " -toggle: toggle the boolean value\n"
" -add: add \"value\" (which can be a negative number) for integers, " " -add: add \"value\" (which can be a negative number) for integers and "
"colors and enums, set/append to value for other types (set for a negative " "colors, set/append to value for other types (set for a negative value, "
"value, append for a positive value)\n" "append for a positive value)\n"
" -reset: reset the value of option\n" " -reset: reset the value of option\n"
" -unset: unset the option\n" " -unset: unset the option\n"
" -set: add the /set command in input to edit the value of option (move " " -set: add the /set command in input to edit the value of option (move "
@@ -6332,8 +6315,7 @@ msgid ""
" * show all options (no filter)\n" " * show all options (no filter)\n"
" xxx show only options with \"xxx\" in name\n" " xxx show only options with \"xxx\" in name\n"
" f:xxx show only configuration file \"xxx\"\n" " f:xxx show only configuration file \"xxx\"\n"
" t:xxx show only type \"xxx\" (bool/int/str/col/enum or " " t:xxx show only type \"xxx\" (bool/int/str/col)\n"
"boolean/integer/string/color/enum)\n"
" d show only changed options\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 name\n"
" d=xxx show only changed options with \"xxx\" in value\n" " d=xxx show only changed options with \"xxx\" in value\n"
@@ -6346,11 +6328,10 @@ msgid ""
" ==xxx show only options with exact value \"xxx\"\n" " ==xxx show only options with exact value \"xxx\"\n"
" c:xxx show only options matching the evaluated condition " " c:xxx show only options matching the evaluated condition "
"\"xxx\", using following variables: file, section, option, name, " "\"xxx\", using following variables: file, section, option, name, "
"parent_name, type, type_en, type_short (bool/int/str/col/enum), type_tiny (b/" "parent_name, type, type_en, type_short (bool/int/str/col), type_tiny (b/i/s/"
"i/s/c/e), default_value, default_value_undef, value, quoted_value, " "c), default_value, default_value_undef, value, quoted_value, value_undef, "
"value_undef, value_changed, parent_value, min, max, description, " "value_changed, parent_value, min, max, description, description2, "
"description2, description_en, description_en2, string_values, " "description_en, description_en2, string_values\n"
"allowed_values\n"
"\n" "\n"
"The lines with options are displayed using string evaluation (see /help eval " "The lines with options are displayed using string evaluation (see /help eval "
"for the format), with these options:\n" "for the format), with these options:\n"
@@ -6366,8 +6347,8 @@ msgid ""
" - ${parent_name}: parent option name\n" " - ${parent_name}: parent option name\n"
" - ${type}: option type (translated)\n" " - ${type}: option type (translated)\n"
" - ${type_en}: option type (in English)\n" " - ${type_en}: option type (in English)\n"
" - ${type_short}: short option type (bool/int/str/col/enum)\n" " - ${type_short}: short option type (bool/int/str/col)\n"
" - ${type_tiny}: tiny option type (b/i/s/c/e)\n" " - ${type_tiny}: tiny option type (b/i/s/c)\n"
" - ${default_value}: option default value\n" " - ${default_value}: option default value\n"
" - ${default_value_undef}: \"1\" if default value is null, otherwise " " - ${default_value_undef}: \"1\" if default value is null, otherwise "
"\"0\"\n" "\"0\"\n"
@@ -6385,8 +6366,8 @@ msgid ""
" - ${description_en}: option description (in English)\n" " - ${description_en}: option description (in English)\n"
" - ${description_en2}: option description (in English), \"(no " " - ${description_en2}: option description (in English), \"(no "
"description)\" if there's no description\n" "description)\" if there's no description\n"
" - ${string_values}: string values allowed for set of an enum option\n" " - ${string_values}: string values allowed for set of an integer option "
" - ${allowed_values}: allowed values\n" "using strings\n"
" - ${marked}: \"1\" if option is marked, otherwise \"0\"\n" " - ${marked}: \"1\" if option is marked, otherwise \"0\"\n"
" - ${index}: index of option in list\n" " - ${index}: index of option in list\n"
" - option data, with color but no spaces:\n" " - option data, with color but no spaces:\n"
@@ -6415,9 +6396,9 @@ msgid ""
"\n" "\n"
"Keys and input to set options on fset buffer:\n" "Keys and input to set options on fset buffer:\n"
" alt+space t toggle boolean value\n" " alt+space t toggle boolean value\n"
" alt+'-' - subtract 1 from value for integer/color/enum, " " alt+'-' - subtract 1 from value for integer/color, set "
"set value for other types\n" "value for other types\n"
" alt+'+' + add 1 to value for integer/color/enum, append to " " alt+'+' + add 1 to value for integer/color, append to "
"value for other types\n" "value for other types\n"
" alt+f, alt+r r reset value\n" " alt+f, alt+r r reset value\n"
" alt+f, alt+u u unset value\n" " alt+f, alt+u u unset value\n"
@@ -6441,8 +6422,10 @@ msgid ""
" alt+p p toggle plugin description options (plugins.desc." " alt+p p toggle plugin description options (plugins.desc."
"*)\n" "*)\n"
" alt+v v toggle help bar\n" " alt+v v toggle help bar\n"
" s:x,y sort options by fields x,y (see above)\n" " s:x,y sort options by fields x,y (see /help fset.look."
" s: reset sort to its default value (see above)\n" "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\"\n"
" w-:xxx export options in file \"xxx\" without help\n" " w-:xxx export options in file \"xxx\" without help\n"
" w+:xxx export options in file \"xxx\" with help\n" " w+:xxx export options in file \"xxx\" with help\n"
@@ -6454,8 +6437,8 @@ msgid ""
" left button move line here\n" " left button move line here\n"
" right button toggle boolean (on/off) or edit the option " " right button toggle boolean (on/off) or edit the option "
"value\n" "value\n"
" right button + drag left/right increase/decrease value for integer/color/" " right button + drag left/right increase/decrease value for integer/color, "
"enum, set/append to value for other types\n" "set/append to value for other types\n"
" right button + drag up/down mark/unmark multiple options\n" " right button + drag up/down mark/unmark multiple options\n"
"\n" "\n"
"Note: if input has one or more leading spaces, the following text is " "Note: if input has one or more leading spaces, the following text is "
@@ -6590,14 +6573,6 @@ msgid ""
"ctrl-x" "ctrl-x"
msgstr "" 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" msgid "color for color name when option fset.look.use_color_value is enabled"
msgstr "" msgstr ""
@@ -6651,6 +6626,10 @@ msgstr "cor para o apelido na barra de entrada"
msgid "color for quotes around string values" msgid "color for quotes around string values"
msgstr "" msgstr ""
#, fuzzy
msgid "color for allowed values"
msgstr "cor de texto para valores"
#, fuzzy #, fuzzy
msgid "color for index of option" msgid "color for index of option"
msgstr "cor do texto para delimitadores de tempo" msgstr "cor do texto para delimitadores de tempo"
@@ -6857,11 +6836,6 @@ msgstr ""
msgid "fset options" msgid "fset options"
msgstr "lista de opções" msgstr "lista de opções"
#, fuzzy
#| msgid "color"
msgid "any color"
msgstr "cor"
#, c-format #, c-format
msgid "%s%s: script \"%s\" already registered (register ignored)" msgid "%s%s: script \"%s\" already registered (register ignored)"
msgstr "" msgstr ""
@@ -7145,9 +7119,6 @@ msgstr ""
msgid "%s%s: \"%s\" is not a valid regular expression (%s)" msgid "%s%s: \"%s\" is not a valid regular expression (%s)"
msgstr "" msgstr ""
msgid "Receiving list of channels, please wait..."
msgstr ""
#, c-format #, c-format
msgid "" msgid ""
"%s%s: you must specify channel for \"%s\" command if you're not in a channel" "%s%s: you must specify channel for \"%s\" command if you're not in a channel"
@@ -7537,10 +7508,10 @@ msgid ""
"\n" "\n"
"Without argument, \"ls\" and \"list\" are sent.\n" "Without argument, \"ls\" and \"list\" are sent.\n"
"\n" "\n"
"Capabilities supported by WeeChat are: account-notify, account-tag, away-" "Capabilities supported by WeeChat are: account-notify, away-notify, batch, "
"notify, batch, cap-notify, chghost, draft/multiline, echo-message, extended-" "cap-notify, chghost, draft/multiline, echo-message, extended-join, invite-"
"join, invite-notify, message-tags, multi-prefix, server-time, setname, " "notify, message-tags, multi-prefix, server-time, setname, userhost-in-"
"userhost-in-names.\n" "names.\n"
"\n" "\n"
"The capabilities to automatically enable on servers can be set in option irc." "The capabilities to automatically enable on servers can be set in option irc."
"server_default.capabilities (or by server in option irc.server.xxx." "server_default.capabilities (or by server in option irc.server.xxx."
@@ -7874,9 +7845,7 @@ msgid "list channels and their topics"
msgstr "listar canais e seus tópicos" msgstr "listar canais e seus tópicos"
#, fuzzy #, fuzzy
msgid "" msgid "[-server <server>] [-re <regex>] [<channel>[,<channel>...]] [<target>]"
"[-server <server>] [-re <regex>] [<channel>[,<channel>...]] [<target>] || -"
"up|-down [<number>] || -left|-right [<percent>] || -go <line>|end || -join"
msgstr "<target> <tipo> [<argumentos>]" msgstr "<target> <tipo> [<argumentos>]"
msgid "" msgid ""
@@ -7885,67 +7854,15 @@ msgid ""
"insensitive, can start by \"(?-i)\" to become case sensitive)\n" "insensitive, can start by \"(?-i)\" to become case sensitive)\n"
"channel: channel to list\n" "channel: channel to list\n"
" target: server name\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" "\n"
"Examples:\n" "Examples:\n"
" list all channels on server and display them in a dedicated buffer (can be " " list all channels on server (can be very slow on large networks):\n"
"slow on large networks):\n"
" /list\n" " /list\n"
" list channel #weechat:\n" " list channel #weechat:\n"
" /list #weechat\n" " /list #weechat\n"
" list all channels beginning with \"#weechat\" (can be very slow on large " " list all channels beginning with \"#weechat\" (can be very slow on large "
"networks):\n" "networks):\n"
" /list -re #weechat.*\n" " /list -re #weechat.*"
" 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"
msgstr "" msgstr ""
msgid "get statistics about the size of the IRC network" msgid "get statistics about the size of the IRC network"
@@ -8683,22 +8600,12 @@ msgid ""
"ctcp.%s\" will not work" "ctcp.%s\" will not work"
msgstr "" 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 "" msgid ""
"format for CTCP reply or empty string for blocking CTCP (no reply); content " "format for CTCP reply or empty string for blocking CTCP (no reply), "
"is evaluated, see /help eval; following variables are replaced: " "following variables are replaced: $version (WeeChat version), $compilation "
"${clientinfo}: list of supported CTCP, ${version}: WeeChat version, ${git}: " "(compilation date), $osinfo (info about OS), $site (WeeChat site), $download "
"Git version, ${versiongit}: WeeChat version and Git version, ${compilation}: " "(WeeChat site, download page), $time (current date and time as text), "
"compilation date, ${osinfo}: info about OS, ${site}: WeeChat site, " "$username (username on server), $realname (realname on server)"
"${download}: WeeChat site, download page, ${time}: current date and time as "
"text, ${username}: username on server, ${realname}: realname on server"
msgstr "" msgstr ""
"formato para CTCP reply ou string vazia para CTCP bloqueante (sem resposta), " "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), " "as seguintes variáveis são substituídas: $version (versão do WeeChat), "
@@ -9052,11 +8959,6 @@ msgstr "%s%s: erro ao criar opção do servidor \"%s\""
msgid "IRC option renamed: \"irc.%s.%s\" => \"irc.%s.%s\"" msgid "IRC option renamed: \"irc.%s.%s\" => \"irc.%s.%s\""
msgstr "" msgstr ""
#, fuzzy, c-format
#| msgid "Command for key: \"%s\""
msgid "IRC CTCP format converted for \"%s\": \"%s\" => \"%s\""
msgstr "Comando para tecla: \"%s\""
msgid "" msgid ""
"open channel buffer before the JOIN is received from server when it is auto " "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 " "joined (with server option \"autojoin\"); this is useful to open channels "
@@ -9235,20 +9137,6 @@ msgid ""
"for example: \"/join weechat\" will in fact send: \"/join #weechat\"" "for example: \"/join weechat\" will in fact send: \"/join #weechat\""
msgstr "" 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 "" msgid ""
"default target buffer for msgbuffer options when target is private and that " "default target buffer for msgbuffer options when target is private and that "
"private buffer is not found" "private buffer is not found"
@@ -9263,20 +9151,6 @@ msgstr ""
"(deve ser o último buffer), next = buffer atual + 1, near_server = depois do " "(deve ser o último buffer), next = buffer atual + 1, near_server = depois do "
"último canal/privado do servidor" "ú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 "" msgid ""
"force position of new private in list of buffers (none = default position " "force position of new private in list of buffers (none = default position "
"(should be last buffer), next = current buffer + 1, near_server = after last " "(should be last buffer), next = current buffer + 1, near_server = after last "
@@ -9464,14 +9338,6 @@ msgid "color for higher supported TLS version in bar item \"tls_version\""
msgstr "" msgstr ""
"cor para o sufixo do apelido (string exibida depois do apelido no prefixo)" "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 #, fuzzy
msgid "color for text in account messages" msgid "color for text in account messages"
msgstr "cor de texto para valores" msgstr "cor de texto para valores"
@@ -9879,12 +9745,6 @@ msgstr "servidor irc"
msgid "irc batch" msgid "irc batch"
msgstr "canal irc" msgstr "canal irc"
msgid "irc channel on /list buffer"
msgstr ""
msgid "irc data for /list buffer"
msgstr ""
#, c-format #, c-format
msgid "%sCTCP query to %s%s%s: %s%s%s%s%s" msgid "%sCTCP query to %s%s%s: %s%s%s%s%s"
msgstr "" msgstr ""
@@ -9897,17 +9757,6 @@ msgstr "%s%s: você não está conectado ao servidor"
msgid "%s%s: this buffer is not a channel!" msgid "%s%s: this buffer is not a channel!"
msgstr "%s%s: este buffer não é um canal!" 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 #, fuzzy, c-format
msgid "%s%s: cannot allocate new modelist" msgid "%s%s: cannot allocate new modelist"
msgstr "%s%s: não foi possível criar novo canal \"%s\"" msgstr "%s%s: não foi possível criar novo canal \"%s\""
@@ -11255,13 +11104,6 @@ msgid ""
"by the user (option \"-s\" or \"--no-script\")" "by the user (option \"-s\" or \"--no-script\")"
msgstr "" msgstr ""
msgid "buffer pointer"
msgstr "pointeiro do buffer"
#, fuzzy
msgid "buffer full name"
msgstr "arquivos de configuração"
msgid "terminal charset" msgid "terminal charset"
msgstr "charset do terminar" msgstr "charset do terminar"
@@ -11418,6 +11260,9 @@ msgstr ""
msgid "lines of a buffer" msgid "lines of a buffer"
msgstr "linhas de um buffer" msgstr "linhas de um buffer"
msgid "buffer pointer"
msgstr "pointeiro do buffer"
msgid "list of filters" msgid "list of filters"
msgstr "lista de filtros" msgstr "lista de filtros"
@@ -12479,6 +12324,10 @@ msgstr "%s%s: script \"%s\" não carregado"
msgid "%s: script \"%s\" not found" msgid "%s: script \"%s\" not found"
msgstr "%s%s: script \"%s\" não encontrado" 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 #, fuzzy, c-format
msgid "%s: autoload enabled for script \"%s\"" msgid "%s: autoload enabled for script \"%s\""
msgstr "%s: descarregando script \"%s\"" msgstr "%s: descarregando script \"%s\""
@@ -12501,10 +12350,6 @@ msgstr ""
msgid "%s: downloading script \"%s\"..." msgid "%s: downloading script \"%s\"..."
msgstr "%s: descarregando 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 #, fuzzy, c-format
msgid "%s: script \"%s\" is held" msgid "%s: script \"%s\" is held"
msgstr "%s: script \"%s\" descarregado" msgstr "%s: script \"%s\" descarregado"
@@ -12648,7 +12493,7 @@ msgid ""
"list [-o|-ol|-i|-il] || search <text> || show <script> || load|unload|reload " "list [-o|-ol|-i|-il] || search <text> || show <script> || load|unload|reload "
"<script> [<script>...] || autoload|noautoload|toggleautoload <script> " "<script> [<script>...] || autoload|noautoload|toggleautoload <script> "
"[<script>...] || install|remove|installremove|hold [-q] <script> " "[<script>...] || install|remove|installremove|hold [-q] <script> "
"[<script>...] || upgrade || update || up|down [<number>] || go <line>|end" "[<script>...] || upgrade || update"
msgstr "" msgstr ""
msgid "" msgid ""
@@ -12678,10 +12523,6 @@ msgid ""
" upgrade: upgrade all installed scripts which are obsolete (new " " upgrade: upgrade all installed scripts which are obsolete (new "
"version available)\n" "version available)\n"
" update: update local scripts cache\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" "\n"
"Without argument, this command opens a buffer with list of scripts.\n" "Without argument, this command opens a buffer with list of scripts.\n"
"\n" "\n"
@@ -13300,22 +13141,6 @@ msgstr "%sApelidos: %s%s%s: %s[%s%s%s]"
msgid "No trigger defined" msgid "No trigger defined"
msgstr "Nenhuma rmodifier definido" 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 #, fuzzy
msgid "List of default triggers:" msgid "List of default triggers:"
msgstr "Lista de atalhos:" msgstr "Lista de atalhos:"
@@ -13460,8 +13285,7 @@ msgid "manage triggers, the Swiss Army knife for WeeChat"
msgstr "" msgstr ""
msgid "" msgid ""
"list [-o|-ol|-i|-il] || listfull || listdefault || add|addoff|addreplace " "list|listfull|listdefault || add|addoff|addreplace <name> <hook> "
"<name> <hook> "
"[\"<arguments>\" [\"<conditions>\" [\"<regex>\" [\"<command>\" [\"<return_code>\" [\"<post_action>\"]]]]]] " "[\"<arguments>\" [\"<conditions>\" [\"<regex>\" [\"<command>\" [\"<return_code>\" [\"<post_action>\"]]]]]] "
"|| addinput [<hook>] || input|output|recreate <name> || set <name> <option> " "|| addinput [<hook>] || input|output|recreate <name> || set <name> <option> "
"<value> || rename|copy <name> <new_name> || enable|disable|toggle [<name>|-" "<value> || rename|copy <name> <new_name> || enable|disable|toggle [<name>|-"
@@ -13472,12 +13296,6 @@ msgstr ""
msgid "" msgid ""
" list: list triggers (without argument, this list is displayed)\n" " 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" " listfull: list triggers with detailed info for each trigger\n"
"listdefault: list default triggers\n" "listdefault: list default triggers\n"
" add: add a trigger\n" " add: add a trigger\n"
@@ -14203,11 +14021,3 @@ msgstr "%s%s: tempo esgotado para \"%s\" com %s"
#, fuzzy, c-format #, fuzzy, c-format
msgid "%s%s: unable to connect: unexpected error (%d)" msgid "%s%s: unable to connect: unexpected error (%d)"
msgstr "%s%s: não foi possível conectar ao remetente" 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"
+64 -226
View File
@@ -21,7 +21,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: WeeChat\n" "Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2023-08-22 09:26+0200\n" "POT-Creation-Date: 2023-07-05 21:24+0200\n"
"PO-Revision-Date: 2023-06-17 11:47+0200\n" "PO-Revision-Date: 2023-06-17 11:47+0200\n"
"Last-Translator: Aleksey V Zapparov AKA ixti <ixti@member.fsf.org>\n" "Last-Translator: Aleksey V Zapparov AKA ixti <ixti@member.fsf.org>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n" "Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -483,14 +483,14 @@ msgstr " . значение по умолчанию: %d\n"
msgid "current value" msgid "current value"
msgstr "текущее значение" msgstr "текущее значение"
#, fuzzy
msgid "integer"
msgstr "минута"
#, fuzzy #, fuzzy
msgid "string" msgid "string"
msgstr "Ожидание" msgstr "Ожидание"
#, fuzzy
msgid "integer"
msgstr "минута"
#, fuzzy #, fuzzy
msgid "any string" msgid "any string"
msgstr "Ожидание" msgstr "Ожидание"
@@ -507,9 +507,6 @@ msgstr "управление буферами"
msgid "color" msgid "color"
msgstr "цвет чата" msgstr "цвет чата"
msgid "enum"
msgstr ""
#. TRANSLATORS: please do not translate "(null)" #. TRANSLATORS: please do not translate "(null)"
msgid "undefined value allowed (null)" msgid "undefined value allowed (null)"
msgstr "разрешено неопределённое значение (null)" msgstr "разрешено неопределённое значение (null)"
@@ -1331,10 +1328,8 @@ msgid ""
msgstr "" msgstr ""
msgid "" msgid ""
"go chat|<bar> [top_left|top_right|bottom_left|bottom_right] || go <x>,<y> || " "go chat|<bar>|<x>,<y> || move up|down|left|right|area_up|area_down|area_left|"
"move up|down|left|right|top_left|top_right|bottom_left|bottom_right|edge_top|" "area_right || stop"
"edge_bottom|edge_left|edge_right|area_up|area_down|area_left|area_right || "
"stop"
msgstr "" msgstr ""
msgid "" msgid ""
@@ -1366,8 +1361,6 @@ msgid ""
" enter exit cursor mode\n" " enter exit cursor mode\n"
"\n" "\n"
"Examples:\n" "Examples:\n"
" go to the bottom left corner of chat area:\n"
" /cursor go chat bottom_left\n"
" go to nicklist:\n" " go to nicklist:\n"
" /cursor go nicklist\n" " /cursor go nicklist\n"
" go to coordinates x=10, y=5:\n" " go to coordinates x=10, y=5:\n"
@@ -4026,7 +4019,7 @@ msgid "%sWarning: %s, line %d: invalid syntax, missing \"]\""
msgstr "%s %s, строка %d: некорректный синтаксис, не хватает \"]\"\n" msgstr "%s %s, строка %d: некорректный синтаксис, не хватает \"]\"\n"
#, fuzzy, c-format #, 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" msgstr "%s %s, строка %d: неизвестный идентификатор секции (\"%s\")\n"
#, c-format #, c-format
@@ -4042,17 +4035,15 @@ msgid ""
msgstr "" msgstr ""
#, fuzzy, c-format #, 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" msgstr "%s %s, строка %d: неизвестный идентификатор секции (\"%s\")\n"
#, fuzzy, c-format #, 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" msgstr "%s %s, строка %d: неизвестный идентификатор секции (\"%s\")\n"
#, fuzzy, c-format #, fuzzy, c-format
msgid "" msgid "%sWarning: %s, line %d: invalid value for option: %s"
"%sWarning: %s, line %d: ignoring invalid value for option in section \"%s\": "
"%s"
msgstr "%s %s, строка %d: некорректный параметр \"%s\"\n" msgstr "%s %s, строка %d: некорректный параметр \"%s\"\n"
#, fuzzy, c-format #, fuzzy, c-format
@@ -5011,7 +5002,7 @@ msgid ""
"10 and 99 buffers\n" "10 and 99 buffers\n"
" - ${number_displayed}: \"1\" if the number is displayed, otherwise " " - ${number_displayed}: \"1\" if the number is displayed, otherwise "
"\"0\"\n" "\"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" "indented) (evaluation of option buflist.format.indent)\n"
" - ${format_nick_prefix}: colored nick prefix for a channel (evaluation " " - ${format_nick_prefix}: colored nick prefix for a channel (evaluation "
"of option buflist.format.nick_prefix)\n" "of option buflist.format.nick_prefix)\n"
@@ -5116,8 +5107,8 @@ msgstr ""
msgid "" msgid ""
"number of buflist bar items that can be used; the item names are: " "number of buflist bar items that can be used; the item names are: "
"\"buflist\", \"buflist2\", \"buflist3\", \"buflist4\" and \"buflist5\"; be " "\"buflist\", \"buflist2\", \"buflist3\"; be careful, using more than one bar "
"careful, using more than one bar item slows down the display of buffers list" "item slows down the display of buffers list"
msgstr "" msgstr ""
msgid "" msgid ""
@@ -5176,8 +5167,8 @@ msgstr "ник, используемый на IRC сервере"
#, fuzzy #, fuzzy
msgid "" msgid ""
"string displayed to indent channel, private and list buffers (note: content " "string displayed to indent channel and private buffers (note: content is "
"is evaluated, see /help buflist)" "evaluated, see /help buflist)"
msgstr "ник, используемый на IRC сервере" msgstr "ник, используемый на IRC сервере"
#, fuzzy #, fuzzy
@@ -5560,7 +5551,7 @@ msgstr " . значения: "
#. TRANSLATORS: "%s%s%s:" at beginning of string it the name of option #. TRANSLATORS: "%s%s%s:" at beginning of string it the name of option
#, fuzzy, c-format #, 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" msgstr "%sСервер: %s%s %s[%s%s%s]\n"
#, fuzzy #, fuzzy
@@ -5607,9 +5598,9 @@ msgid ""
" -go: select a line by number, first line number is 0 (\"end\" to " " -go: select a line by number, first line number is 0 (\"end\" to "
"select the last line)\n" "select the last line)\n"
" -toggle: toggle the boolean value\n" " -toggle: toggle the boolean value\n"
" -add: add \"value\" (which can be a negative number) for integers, " " -add: add \"value\" (which can be a negative number) for integers and "
"colors and enums, set/append to value for other types (set for a negative " "colors, set/append to value for other types (set for a negative value, "
"value, append for a positive value)\n" "append for a positive value)\n"
" -reset: reset the value of option\n" " -reset: reset the value of option\n"
" -unset: unset the option\n" " -unset: unset the option\n"
" -set: add the /set command in input to edit the value of option (move " " -set: add the /set command in input to edit the value of option (move "
@@ -5631,8 +5622,7 @@ msgid ""
" * show all options (no filter)\n" " * show all options (no filter)\n"
" xxx show only options with \"xxx\" in name\n" " xxx show only options with \"xxx\" in name\n"
" f:xxx show only configuration file \"xxx\"\n" " f:xxx show only configuration file \"xxx\"\n"
" t:xxx show only type \"xxx\" (bool/int/str/col/enum or " " t:xxx show only type \"xxx\" (bool/int/str/col)\n"
"boolean/integer/string/color/enum)\n"
" d show only changed options\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 name\n"
" d=xxx show only changed options with \"xxx\" in value\n" " d=xxx show only changed options with \"xxx\" in value\n"
@@ -5645,11 +5635,10 @@ msgid ""
" ==xxx show only options with exact value \"xxx\"\n" " ==xxx show only options with exact value \"xxx\"\n"
" c:xxx show only options matching the evaluated condition " " c:xxx show only options matching the evaluated condition "
"\"xxx\", using following variables: file, section, option, name, " "\"xxx\", using following variables: file, section, option, name, "
"parent_name, type, type_en, type_short (bool/int/str/col/enum), type_tiny (b/" "parent_name, type, type_en, type_short (bool/int/str/col), type_tiny (b/i/s/"
"i/s/c/e), default_value, default_value_undef, value, quoted_value, " "c), default_value, default_value_undef, value, quoted_value, value_undef, "
"value_undef, value_changed, parent_value, min, max, description, " "value_changed, parent_value, min, max, description, description2, "
"description2, description_en, description_en2, string_values, " "description_en, description_en2, string_values\n"
"allowed_values\n"
"\n" "\n"
"The lines with options are displayed using string evaluation (see /help eval " "The lines with options are displayed using string evaluation (see /help eval "
"for the format), with these options:\n" "for the format), with these options:\n"
@@ -5665,8 +5654,8 @@ msgid ""
" - ${parent_name}: parent option name\n" " - ${parent_name}: parent option name\n"
" - ${type}: option type (translated)\n" " - ${type}: option type (translated)\n"
" - ${type_en}: option type (in English)\n" " - ${type_en}: option type (in English)\n"
" - ${type_short}: short option type (bool/int/str/col/enum)\n" " - ${type_short}: short option type (bool/int/str/col)\n"
" - ${type_tiny}: tiny option type (b/i/s/c/e)\n" " - ${type_tiny}: tiny option type (b/i/s/c)\n"
" - ${default_value}: option default value\n" " - ${default_value}: option default value\n"
" - ${default_value_undef}: \"1\" if default value is null, otherwise " " - ${default_value_undef}: \"1\" if default value is null, otherwise "
"\"0\"\n" "\"0\"\n"
@@ -5684,8 +5673,8 @@ msgid ""
" - ${description_en}: option description (in English)\n" " - ${description_en}: option description (in English)\n"
" - ${description_en2}: option description (in English), \"(no " " - ${description_en2}: option description (in English), \"(no "
"description)\" if there's no description\n" "description)\" if there's no description\n"
" - ${string_values}: string values allowed for set of an enum option\n" " - ${string_values}: string values allowed for set of an integer option "
" - ${allowed_values}: allowed values\n" "using strings\n"
" - ${marked}: \"1\" if option is marked, otherwise \"0\"\n" " - ${marked}: \"1\" if option is marked, otherwise \"0\"\n"
" - ${index}: index of option in list\n" " - ${index}: index of option in list\n"
" - option data, with color but no spaces:\n" " - option data, with color but no spaces:\n"
@@ -5714,9 +5703,9 @@ msgid ""
"\n" "\n"
"Keys and input to set options on fset buffer:\n" "Keys and input to set options on fset buffer:\n"
" alt+space t toggle boolean value\n" " alt+space t toggle boolean value\n"
" alt+'-' - subtract 1 from value for integer/color/enum, " " alt+'-' - subtract 1 from value for integer/color, set "
"set value for other types\n" "value for other types\n"
" alt+'+' + add 1 to value for integer/color/enum, append to " " alt+'+' + add 1 to value for integer/color, append to "
"value for other types\n" "value for other types\n"
" alt+f, alt+r r reset value\n" " alt+f, alt+r r reset value\n"
" alt+f, alt+u u unset value\n" " alt+f, alt+u u unset value\n"
@@ -5740,8 +5729,10 @@ msgid ""
" alt+p p toggle plugin description options (plugins.desc." " alt+p p toggle plugin description options (plugins.desc."
"*)\n" "*)\n"
" alt+v v toggle help bar\n" " alt+v v toggle help bar\n"
" s:x,y sort options by fields x,y (see above)\n" " s:x,y sort options by fields x,y (see /help fset.look."
" s: reset sort to its default value (see above)\n" "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\"\n"
" w-:xxx export options in file \"xxx\" without help\n" " w-:xxx export options in file \"xxx\" without help\n"
" w+:xxx export options in file \"xxx\" with help\n" " w+:xxx export options in file \"xxx\" with help\n"
@@ -5753,8 +5744,8 @@ msgid ""
" left button move line here\n" " left button move line here\n"
" right button toggle boolean (on/off) or edit the option " " right button toggle boolean (on/off) or edit the option "
"value\n" "value\n"
" right button + drag left/right increase/decrease value for integer/color/" " right button + drag left/right increase/decrease value for integer/color, "
"enum, set/append to value for other types\n" "set/append to value for other types\n"
" right button + drag up/down mark/unmark multiple options\n" " right button + drag up/down mark/unmark multiple options\n"
"\n" "\n"
"Note: if input has one or more leading spaces, the following text is " "Note: if input has one or more leading spaces, the following text is "
@@ -5880,14 +5871,6 @@ msgid ""
"ctrl-x" "ctrl-x"
msgstr "" 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" msgid "color for color name when option fset.look.use_color_value is enabled"
msgstr "" msgstr ""
@@ -5942,6 +5925,10 @@ msgstr "цвет ников"
msgid "color for quotes around string values" msgid "color for quotes around string values"
msgstr "цвет текущего окна с сообщениями" msgstr "цвет текущего окна с сообщениями"
#, fuzzy
msgid "color for allowed values"
msgstr "цвет отошедших ников"
#, fuzzy #, fuzzy
msgid "color for index of option" msgid "color for index of option"
msgstr "цвет разделителей информационной панели" msgstr "цвет разделителей информационной панели"
@@ -6147,10 +6134,6 @@ msgstr ""
msgid "fset options" msgid "fset options"
msgstr "настроить параметры конфигурации" msgstr "настроить параметры конфигурации"
#, fuzzy
msgid "any color"
msgstr "цвет чата"
#, fuzzy, c-format #, fuzzy, c-format
msgid "%s%s: script \"%s\" already registered (register ignored)" msgid "%s%s: script \"%s\" already registered (register ignored)"
msgstr "%s сервер \"%s\" уже существует, не могу создать его!\n" msgstr "%s сервер \"%s\" уже существует, не могу создать его!\n"
@@ -6429,9 +6412,6 @@ msgstr "%s недостаточно памяти для регулярного
msgid "%s%s: \"%s\" is not a valid regular expression (%s)" msgid "%s%s: \"%s\" is not a valid regular expression (%s)"
msgstr "%s \"%s\" не является регулярным выражением (%s)\n" msgstr "%s \"%s\" не является регулярным выражением (%s)\n"
msgid "Receiving list of channels, please wait..."
msgstr ""
#, c-format #, c-format
msgid "" msgid ""
"%s%s: you must specify channel for \"%s\" command if you're not in a channel" "%s%s: you must specify channel for \"%s\" command if you're not in a channel"
@@ -6846,10 +6826,10 @@ msgid ""
"\n" "\n"
"Without argument, \"ls\" and \"list\" are sent.\n" "Without argument, \"ls\" and \"list\" are sent.\n"
"\n" "\n"
"Capabilities supported by WeeChat are: account-notify, account-tag, away-" "Capabilities supported by WeeChat are: account-notify, away-notify, batch, "
"notify, batch, cap-notify, chghost, draft/multiline, echo-message, extended-" "cap-notify, chghost, draft/multiline, echo-message, extended-join, invite-"
"join, invite-notify, message-tags, multi-prefix, server-time, setname, " "notify, message-tags, multi-prefix, server-time, setname, userhost-in-"
"userhost-in-names.\n" "names.\n"
"\n" "\n"
"The capabilities to automatically enable on servers can be set in option irc." "The capabilities to automatically enable on servers can be set in option irc."
"server_default.capabilities (or by server in option irc.server.xxx." "server_default.capabilities (or by server in option irc.server.xxx."
@@ -7219,9 +7199,7 @@ msgid "list channels and their topics"
msgstr "перечислить каналы и их темы" msgstr "перечислить каналы и их темы"
#, fuzzy #, fuzzy
msgid "" msgid "[-server <server>] [-re <regex>] [<channel>[,<channel>...]] [<target>]"
"[-server <server>] [-re <regex>] [<channel>[,<channel>...]] [<target>] || -"
"up|-down [<number>] || -left|-right [<percent>] || -go <line>|end || -join"
msgstr "канал[,канал] [ключ[,ключ]]" msgstr "канал[,канал] [ключ[,ключ]]"
msgid "" msgid ""
@@ -7230,67 +7208,15 @@ msgid ""
"insensitive, can start by \"(?-i)\" to become case sensitive)\n" "insensitive, can start by \"(?-i)\" to become case sensitive)\n"
"channel: channel to list\n" "channel: channel to list\n"
" target: server name\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" "\n"
"Examples:\n" "Examples:\n"
" list all channels on server and display them in a dedicated buffer (can be " " list all channels on server (can be very slow on large networks):\n"
"slow on large networks):\n"
" /list\n" " /list\n"
" list channel #weechat:\n" " list channel #weechat:\n"
" /list #weechat\n" " /list #weechat\n"
" list all channels beginning with \"#weechat\" (can be very slow on large " " list all channels beginning with \"#weechat\" (can be very slow on large "
"networks):\n" "networks):\n"
" /list -re #weechat.*\n" " /list -re #weechat.*"
" 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"
msgstr "" msgstr ""
msgid "get statistics about the size of the IRC network" msgid "get statistics about the size of the IRC network"
@@ -8176,13 +8102,11 @@ msgid ""
msgstr "" msgstr ""
msgid "" msgid ""
"format for CTCP reply or empty string for blocking CTCP (no reply); content " "format for CTCP reply or empty string for blocking CTCP (no reply), "
"is evaluated, see /help eval; following variables are replaced: " "following variables are replaced: $version (WeeChat version), $compilation "
"${clientinfo}: list of supported CTCP, ${version}: WeeChat version, ${git}: " "(compilation date), $osinfo (info about OS), $site (WeeChat site), $download "
"Git version, ${versiongit}: WeeChat version and Git version, ${compilation}: " "(WeeChat site, download page), $time (current date and time as text), "
"compilation date, ${osinfo}: info about OS, ${site}: WeeChat site, " "$username (username on server), $realname (realname on server)"
"${download}: WeeChat site, download page, ${time}: current date and time as "
"text, ${username}: username on server, ${realname}: realname on server"
msgstr "" msgstr ""
#, fuzzy, c-format #, fuzzy, c-format
@@ -8535,10 +8459,6 @@ msgstr "%s недостаточно памяти для сообщения в с
msgid "IRC option renamed: \"irc.%s.%s\" => \"irc.%s.%s\"" msgid "IRC option renamed: \"irc.%s.%s\" => \"irc.%s.%s\""
msgstr "" msgstr ""
#, c-format
msgid "IRC CTCP format converted for \"%s\": \"%s\" => \"%s\""
msgstr ""
msgid "" msgid ""
"open channel buffer before the JOIN is received from server when it is auto " "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 " "joined (with server option \"autojoin\"); this is useful to open channels "
@@ -8708,20 +8628,6 @@ msgid ""
"for example: \"/join weechat\" will in fact send: \"/join #weechat\"" "for example: \"/join weechat\" will in fact send: \"/join #weechat\""
msgstr "" 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 "" msgid ""
"default target buffer for msgbuffer options when target is private and that " "default target buffer for msgbuffer options when target is private and that "
"private buffer is not found" "private buffer is not found"
@@ -8733,12 +8639,6 @@ msgid ""
"channel/pv of server)" "channel/pv of server)"
msgstr "" 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 "" msgid ""
"force position of new private in list of buffers (none = default position " "force position of new private in list of buffers (none = default position "
"(should be last buffer), next = current buffer + 1, near_server = after last " "(should be last buffer), next = current buffer + 1, near_server = after last "
@@ -8927,14 +8827,6 @@ msgstr "строка, вставляемая после автодополнен
msgid "color for higher supported TLS version in bar item \"tls_version\"" msgid "color for higher supported TLS version in bar item \"tls_version\""
msgstr "строка, вставляемая после автодополнения ника" msgstr "строка, вставляемая после автодополнения ника"
#, fuzzy
msgid "color for selected line on /list buffer"
msgstr "цвет названия сервера"
#, fuzzy
msgid "background color for selected line on /list buffer"
msgstr "цвет названия сервера"
#, fuzzy #, fuzzy
msgid "color for text in account messages" msgid "color for text in account messages"
msgstr "цвет текущего окна с сообщениями" msgstr "цвет текущего окна с сообщениями"
@@ -9352,12 +9244,6 @@ msgstr "сервер"
msgid "irc batch" msgid "irc batch"
msgstr "%d канал" msgstr "%d канал"
msgid "irc channel on /list buffer"
msgstr ""
msgid "irc data for /list buffer"
msgstr ""
#, fuzzy, c-format #, fuzzy, c-format
msgid "%sCTCP query to %s%s%s: %s%s%s%s%s" msgid "%sCTCP query to %s%s%s: %s%s%s%s%s"
msgstr "%sСервер: %s%s %s[%s%s%s]\n" msgstr "%sСервер: %s%s %s[%s%s%s]\n"
@@ -9370,16 +9256,6 @@ msgstr "%s вы не подключены к серверу\n"
msgid "%s%s: this buffer is not a channel!" msgid "%s%s: this buffer is not a channel!"
msgstr "Это окно не является каналом!\n" 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 #, fuzzy, c-format
msgid "%s%s: cannot allocate new modelist" msgid "%s%s: cannot allocate new modelist"
msgstr "%s не могу расположить новый канал" msgstr "%s не могу расположить новый канал"
@@ -10700,14 +10576,6 @@ msgid ""
"by the user (option \"-s\" or \"--no-script\")" "by the user (option \"-s\" or \"--no-script\")"
msgstr "" msgstr ""
#, fuzzy
msgid "buffer pointer"
msgstr "поиск текста в истории буфера"
#, fuzzy
msgid "buffer full name"
msgstr "перезагрузить конфигурационный файл сервера"
#, fuzzy #, fuzzy
msgid "terminal charset" msgid "terminal charset"
msgstr "управление буферами" msgstr "управление буферами"
@@ -10864,6 +10732,10 @@ msgstr ""
msgid "lines of a buffer" msgid "lines of a buffer"
msgstr "загрузка буфера не удалась" msgstr "загрузка буфера не удалась"
#, fuzzy
msgid "buffer pointer"
msgstr "поиск текста в истории буфера"
#, fuzzy #, fuzzy
msgid "list of filters" msgid "list of filters"
msgstr "Список сокращений:\n" msgstr "Список сокращений:\n"
@@ -11906,6 +11778,10 @@ msgstr "%s сервер \"%s\" не найден\n"
msgid "%s: script \"%s\" not found" msgid "%s: script \"%s\" not found"
msgstr "%s сервер \"%s\" не найден\n" msgstr "%s сервер \"%s\" не найден\n"
#, fuzzy, c-format
msgid "%s: script \"%s\" is not installed"
msgstr "%s сервер \"%s\" не найден\n"
#, fuzzy, c-format #, fuzzy, c-format
msgid "%s: autoload enabled for script \"%s\"" msgid "%s: autoload enabled for script \"%s\""
msgstr "сессия: загружаю сервер \"%s\"\n" msgstr "сессия: загружаю сервер \"%s\"\n"
@@ -11929,10 +11805,6 @@ msgstr ""
msgid "%s: downloading script \"%s\"..." msgid "%s: downloading script \"%s\"..."
msgstr "сессия: загружаю сервер \"%s\"\n" msgstr "сессия: загружаю сервер \"%s\"\n"
#, fuzzy, c-format
msgid "%s: script \"%s\" is not installed"
msgstr "%s сервер \"%s\" не найден\n"
#, fuzzy, c-format #, fuzzy, c-format
msgid "%s: script \"%s\" is held" msgid "%s: script \"%s\" is held"
msgstr "Plugin \"%s\" выгружен.\n" msgstr "Plugin \"%s\" выгружен.\n"
@@ -12076,7 +11948,7 @@ msgid ""
"list [-o|-ol|-i|-il] || search <text> || show <script> || load|unload|reload " "list [-o|-ol|-i|-il] || search <text> || show <script> || load|unload|reload "
"<script> [<script>...] || autoload|noautoload|toggleautoload <script> " "<script> [<script>...] || autoload|noautoload|toggleautoload <script> "
"[<script>...] || install|remove|installremove|hold [-q] <script> " "[<script>...] || install|remove|installremove|hold [-q] <script> "
"[<script>...] || upgrade || update || up|down [<number>] || go <line>|end" "[<script>...] || upgrade || update"
msgstr "" msgstr ""
msgid "" msgid ""
@@ -12106,10 +11978,6 @@ msgid ""
" upgrade: upgrade all installed scripts which are obsolete (new " " upgrade: upgrade all installed scripts which are obsolete (new "
"version available)\n" "version available)\n"
" update: update local scripts cache\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" "\n"
"Without argument, this command opens a buffer with list of scripts.\n" "Without argument, this command opens a buffer with list of scripts.\n"
"\n" "\n"
@@ -12704,21 +12572,6 @@ msgstr "%sСервер: %s%s %s[%s%s%s]\n"
msgid "No trigger defined" msgid "No trigger defined"
msgstr "Сокращения не заданы.\n" 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 #, fuzzy
msgid "List of default triggers:" msgid "List of default triggers:"
msgstr "Список сокращений:\n" msgstr "Список сокращений:\n"
@@ -12861,8 +12714,7 @@ msgid "manage triggers, the Swiss Army knife for WeeChat"
msgstr "" msgstr ""
msgid "" msgid ""
"list [-o|-ol|-i|-il] || listfull || listdefault || add|addoff|addreplace " "list|listfull|listdefault || add|addoff|addreplace <name> <hook> "
"<name> <hook> "
"[\"<arguments>\" [\"<conditions>\" [\"<regex>\" [\"<command>\" [\"<return_code>\" [\"<post_action>\"]]]]]] " "[\"<arguments>\" [\"<conditions>\" [\"<regex>\" [\"<command>\" [\"<return_code>\" [\"<post_action>\"]]]]]] "
"|| addinput [<hook>] || input|output|recreate <name> || set <name> <option> " "|| addinput [<hook>] || input|output|recreate <name> || set <name> <option> "
"<value> || rename|copy <name> <new_name> || enable|disable|toggle [<name>|-" "<value> || rename|copy <name> <new_name> || enable|disable|toggle [<name>|-"
@@ -12873,12 +12725,6 @@ msgstr ""
msgid "" msgid ""
" list: list triggers (without argument, this list is displayed)\n" " 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" " listfull: list triggers with detailed info for each trigger\n"
"listdefault: list default triggers\n" "listdefault: list default triggers\n"
" add: add a trigger\n" " add: add a trigger\n"
@@ -13607,11 +13453,3 @@ msgstr "%s нет аргумента для параметра \"%s\"\n"
#, fuzzy, c-format #, fuzzy, c-format
msgid "%s%s: unable to connect: unexpected error (%d)" msgid "%s%s: unable to connect: unexpected error (%d)"
msgstr "%s DCC: не могу соединиться с отправителем\n" msgstr "%s DCC: не могу соединиться с отправителем\n"
#, fuzzy
#~ msgid "color for selected line"
#~ msgstr "настроить параметры конфигурации"
#, fuzzy
#~ msgid "background color for selected line"
#~ msgstr "цвет названия сервера"
+222 -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-input.h
./src/plugins/irc/irc-join.c ./src/plugins/irc/irc-join.c
./src/plugins/irc/irc-join.h ./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.c
./src/plugins/irc/irc-message.h ./src/plugins/irc/irc-message.h
./src/plugins/irc/irc-mode.c ./src/plugins/irc/irc-mode.c
+81 -540
View File
@@ -20,8 +20,8 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: WeeChat\n" "Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2023-08-22 09:26+0200\n" "POT-Creation-Date: 2023-07-05 21:24+0200\n"
"PO-Revision-Date: 2023-08-08 07:14+0200\n" "PO-Revision-Date: 2023-06-17 11:47+0200\n"
"Last-Translator: Emir SARI <emir_sari@icloud.com>\n" "Last-Translator: Emir SARI <emir_sari@icloud.com>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n" "Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
"Language: tr\n" "Language: tr\n"
@@ -540,12 +540,12 @@ msgstr "(tanımlanmamış)"
msgid "current value" msgid "current value"
msgstr "mevcut değer" msgstr "mevcut değer"
msgid "integer"
msgstr "tamsayı"
msgid "string" msgid "string"
msgstr "dizi" msgstr "dizi"
msgid "integer"
msgstr "tamsayı"
msgid "any string" msgid "any string"
msgstr "herhangi bir dizi" msgstr "herhangi bir dizi"
@@ -558,9 +558,6 @@ msgstr "en çok karakter"
msgid "color" msgid "color"
msgstr "renk" msgstr "renk"
msgid "enum"
msgstr ""
#. TRANSLATORS: please do not translate "(null)" #. TRANSLATORS: please do not translate "(null)"
msgid "undefined value allowed (null)" msgid "undefined value allowed (null)"
msgstr "izin verilen tanımlanmamış değer (null)" msgstr "izin verilen tanımlanmamış değer (null)"
@@ -1528,53 +1525,13 @@ msgid ""
"screen" "screen"
msgstr "ekranın belirli alanlarındaki eylemleri yürütmek için serbest dolaşım" 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 "" msgid ""
"go chat|<bar> [top_left|top_right|bottom_left|bottom_right] || go <x>,<y> || " "go chat|<bar>|<x>,<y> || move up|down|left|right|area_up|area_down|area_left|"
"move up|down|left|right|top_left|top_right|bottom_left|bottom_right|edge_top|" "area_right || stop"
"edge_bottom|edge_left|edge_right|area_up|area_down|area_left|area_right || "
"stop"
msgstr "" msgstr ""
"go chat|<çubuk>|<x>,<y> || move up|down|left|right|area_up|area_down|" "go chat|<çubuk>|<x>,<y> || move up|down|left|right|area_up|area_down|"
"area_left|area_right || stop" "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 "" msgid ""
" go: move cursor to chat area, a bar (using bar name) or coordinates \"x," " go: move cursor to chat area, a bar (using bar name) or coordinates \"x,"
"y\"\n" "y\"\n"
@@ -1604,8 +1561,6 @@ msgid ""
" enter exit cursor mode\n" " enter exit cursor mode\n"
"\n" "\n"
"Examples:\n" "Examples:\n"
" go to the bottom left corner of chat area:\n"
" /cursor go chat bottom_left\n"
" go to nicklist:\n" " go to nicklist:\n"
" /cursor go nicklist\n" " /cursor go nicklist\n"
" go to coordinates x=10, y=5:\n" " go to coordinates x=10, y=5:\n"
@@ -5440,9 +5395,8 @@ msgstr "%s yapılandırma dosyası okunuyor"
msgid "%sWarning: %s, line %d: invalid syntax, missing \"]\"" msgid "%sWarning: %s, line %d: invalid syntax, missing \"]\""
msgstr "%sUyarı: %s, %d. satır: Geçersiz sözdizim, \"!\" eksik" msgstr "%sUyarı: %s, %d. satır: Geçersiz sözdizim, \"!\" eksik"
#, fuzzy, c-format #, c-format
#| msgid "%sWarning: %s, line %d: unknown section identifier (\"%s\")" msgid "%sWarning: %s, line %d: unknown section identifier (\"%s\")"
msgid "%sWarning: %s, line %d: ignoring unknown section identifier (\"%s\")"
msgstr "%sUyarı: %s, %d. satır: Bilinmeyen bölüm tanımlayıcısı (\"%s\")" msgstr "%sUyarı: %s, %d. satır: Bilinmeyen bölüm tanımlayıcısı (\"%s\")"
#, c-format #, c-format
@@ -5457,21 +5411,16 @@ msgid ""
"of file is IGNORED, default options are used" "of file is IGNORED, default options are used"
msgstr "" msgstr ""
#, fuzzy, c-format #, c-format
#| msgid "%sWarning: %s, line %d: option outside section: %s" msgid "%sWarning: %s, line %d: option outside section: %s"
msgid "%sWarning: %s, line %d: ignoring option outside section: %s"
msgstr "%sUyarı: %s, %d. satır: Bölüm dışı seçenek: %s" msgstr "%sUyarı: %s, %d. satır: Bölüm dışı seçenek: %s"
#, fuzzy, c-format #, c-format
#| msgid "%sWarning: %s, line %d: unknown option for section \"%s\": %s" msgid "%sWarning: %s, line %d: unknown option for section \"%s\": %s"
msgid "%sWarning: %s, line %d: ignoring unknown option for section \"%s\": %s"
msgstr "%sUyarı: %s, %d. satır: \"%s\" bölümü için bilinmeyen seçenek: %s" msgstr "%sUyarı: %s, %d. satır: \"%s\" bölümü için bilinmeyen seçenek: %s"
#, fuzzy, c-format #, c-format
#| msgid "%sWarning: %s, line %d: invalid value for option: %s" msgid "%sWarning: %s, line %d: invalid value for option: %s"
msgid ""
"%sWarning: %s, line %d: ignoring invalid value for option in section \"%s\": "
"%s"
msgstr "%sUyarı: %s, %d. satır: Seçenek için geçersiz değer: %s" msgstr "%sUyarı: %s, %d. satır: Seçenek için geçersiz değer: %s"
#, c-format #, c-format
@@ -6456,88 +6405,6 @@ msgstr ""
msgid "bar item with list of buffers" msgid "bar item with list of buffers"
msgstr "arabellek listesini içeren çubuk ögesi" 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 "" msgid ""
" enable: enable buflist\n" " enable: enable buflist\n"
"disable: disable buflist\n" "disable: disable buflist\n"
@@ -6591,7 +6458,7 @@ msgid ""
"10 and 99 buffers\n" "10 and 99 buffers\n"
" - ${number_displayed}: \"1\" if the number is displayed, otherwise " " - ${number_displayed}: \"1\" if the number is displayed, otherwise "
"\"0\"\n" "\"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" "indented) (evaluation of option buflist.format.indent)\n"
" - ${format_nick_prefix}: colored nick prefix for a channel (evaluation " " - ${format_nick_prefix}: colored nick prefix for a channel (evaluation "
"of option buflist.format.nick_prefix)\n" "of option buflist.format.nick_prefix)\n"
@@ -6819,15 +6686,10 @@ msgstr ""
"yalnızca buflist ögeleri arasında ayrım yapmak için kullanılabilecek tek " "yalnızca buflist ögeleri arasında ayrım yapmak için kullanılabilecek tek "
"değişkendir; örneğin: \"${bar_item.name}\")" "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 "" msgid ""
"number of buflist bar items that can be used; the item names are: " "number of buflist bar items that can be used; the item names are: "
"\"buflist\", \"buflist2\", \"buflist3\", \"buflist4\" and \"buflist5\"; be " "\"buflist\", \"buflist2\", \"buflist3\"; be careful, using more than one bar "
"careful, using more than one bar item slows down the display of buffers list" "item slows down the display of buffers list"
msgstr "" msgstr ""
"kullanılabilecek buflist çubuk ögelerinin sayısı; öge adları: \"buflist\", " "kullanılabilecek buflist çubuk ögelerinin sayısı; öge adları: \"buflist\", "
"\"buflist2\", \"buflist3\"; dikkatli olun, birden çok çubuk ögesi kullanmak " "\"buflist2\", \"buflist3\"; dikkatli olun, birden çok çubuk ögesi kullanmak "
@@ -6900,13 +6762,9 @@ msgstr ""
"sıcak listedeki sayımlar için ayırıcı (not: içerik değerlendirilir, bkz. /" "sıcak listedeki sayımlar için ayırıcı (not: içerik değerlendirilir, bkz. /"
"help buflist)" "help buflist)"
#, fuzzy
#| msgid ""
#| "string displayed to indent channel and private buffers (note: content is "
#| "evaluated, see /help buflist)"
msgid "" msgid ""
"string displayed to indent channel, private and list buffers (note: content " "string displayed to indent channel and private buffers (note: content is "
"is evaluated, see /help buflist)" "evaluated, see /help buflist)"
msgstr "" msgstr ""
"kanal ve özel arabellekleri girintilendirmek için görüntülenen dizi (not: " "kanal ve özel arabellekleri girintilendirmek için görüntülenen dizi (not: "
"içerik değerlendirilir, bkz. /help buflist)" "içerik değerlendirilir, bkz. /help buflist)"
@@ -7418,8 +7276,8 @@ msgstr "değerler:"
#. TRANSLATORS: "%s%s%s:" at beginning of string it the name of option #. TRANSLATORS: "%s%s%s:" at beginning of string it the name of option
#, c-format #, 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[%s%s]%s" msgstr "%s%s%s: %s %s[%s%s]%s"
msgid "(no description)" msgid "(no description)"
msgstr "(açıklama yok)" msgstr "(açıklama yok)"
@@ -7665,9 +7523,9 @@ msgid ""
" -go: select a line by number, first line number is 0 (\"end\" to " " -go: select a line by number, first line number is 0 (\"end\" to "
"select the last line)\n" "select the last line)\n"
" -toggle: toggle the boolean value\n" " -toggle: toggle the boolean value\n"
" -add: add \"value\" (which can be a negative number) for integers, " " -add: add \"value\" (which can be a negative number) for integers and "
"colors and enums, set/append to value for other types (set for a negative " "colors, set/append to value for other types (set for a negative value, "
"value, append for a positive value)\n" "append for a positive value)\n"
" -reset: reset the value of option\n" " -reset: reset the value of option\n"
" -unset: unset the option\n" " -unset: unset the option\n"
" -set: add the /set command in input to edit the value of option (move " " -set: add the /set command in input to edit the value of option (move "
@@ -7689,8 +7547,7 @@ msgid ""
" * show all options (no filter)\n" " * show all options (no filter)\n"
" xxx show only options with \"xxx\" in name\n" " xxx show only options with \"xxx\" in name\n"
" f:xxx show only configuration file \"xxx\"\n" " f:xxx show only configuration file \"xxx\"\n"
" t:xxx show only type \"xxx\" (bool/int/str/col/enum or " " t:xxx show only type \"xxx\" (bool/int/str/col)\n"
"boolean/integer/string/color/enum)\n"
" d show only changed options\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 name\n"
" d=xxx show only changed options with \"xxx\" in value\n" " d=xxx show only changed options with \"xxx\" in value\n"
@@ -7703,11 +7560,10 @@ msgid ""
" ==xxx show only options with exact value \"xxx\"\n" " ==xxx show only options with exact value \"xxx\"\n"
" c:xxx show only options matching the evaluated condition " " c:xxx show only options matching the evaluated condition "
"\"xxx\", using following variables: file, section, option, name, " "\"xxx\", using following variables: file, section, option, name, "
"parent_name, type, type_en, type_short (bool/int/str/col/enum), type_tiny (b/" "parent_name, type, type_en, type_short (bool/int/str/col), type_tiny (b/i/s/"
"i/s/c/e), default_value, default_value_undef, value, quoted_value, " "c), default_value, default_value_undef, value, quoted_value, value_undef, "
"value_undef, value_changed, parent_value, min, max, description, " "value_changed, parent_value, min, max, description, description2, "
"description2, description_en, description_en2, string_values, " "description_en, description_en2, string_values\n"
"allowed_values\n"
"\n" "\n"
"The lines with options are displayed using string evaluation (see /help eval " "The lines with options are displayed using string evaluation (see /help eval "
"for the format), with these options:\n" "for the format), with these options:\n"
@@ -7723,8 +7579,8 @@ msgid ""
" - ${parent_name}: parent option name\n" " - ${parent_name}: parent option name\n"
" - ${type}: option type (translated)\n" " - ${type}: option type (translated)\n"
" - ${type_en}: option type (in English)\n" " - ${type_en}: option type (in English)\n"
" - ${type_short}: short option type (bool/int/str/col/enum)\n" " - ${type_short}: short option type (bool/int/str/col)\n"
" - ${type_tiny}: tiny option type (b/i/s/c/e)\n" " - ${type_tiny}: tiny option type (b/i/s/c)\n"
" - ${default_value}: option default value\n" " - ${default_value}: option default value\n"
" - ${default_value_undef}: \"1\" if default value is null, otherwise " " - ${default_value_undef}: \"1\" if default value is null, otherwise "
"\"0\"\n" "\"0\"\n"
@@ -7742,8 +7598,8 @@ msgid ""
" - ${description_en}: option description (in English)\n" " - ${description_en}: option description (in English)\n"
" - ${description_en2}: option description (in English), \"(no " " - ${description_en2}: option description (in English), \"(no "
"description)\" if there's no description\n" "description)\" if there's no description\n"
" - ${string_values}: string values allowed for set of an enum option\n" " - ${string_values}: string values allowed for set of an integer option "
" - ${allowed_values}: allowed values\n" "using strings\n"
" - ${marked}: \"1\" if option is marked, otherwise \"0\"\n" " - ${marked}: \"1\" if option is marked, otherwise \"0\"\n"
" - ${index}: index of option in list\n" " - ${index}: index of option in list\n"
" - option data, with color but no spaces:\n" " - option data, with color but no spaces:\n"
@@ -7772,9 +7628,9 @@ msgid ""
"\n" "\n"
"Keys and input to set options on fset buffer:\n" "Keys and input to set options on fset buffer:\n"
" alt+space t toggle boolean value\n" " alt+space t toggle boolean value\n"
" alt+'-' - subtract 1 from value for integer/color/enum, " " alt+'-' - subtract 1 from value for integer/color, set "
"set value for other types\n" "value for other types\n"
" alt+'+' + add 1 to value for integer/color/enum, append to " " alt+'+' + add 1 to value for integer/color, append to "
"value for other types\n" "value for other types\n"
" alt+f, alt+r r reset value\n" " alt+f, alt+r r reset value\n"
" alt+f, alt+u u unset value\n" " alt+f, alt+u u unset value\n"
@@ -7798,8 +7654,10 @@ msgid ""
" alt+p p toggle plugin description options (plugins.desc." " alt+p p toggle plugin description options (plugins.desc."
"*)\n" "*)\n"
" alt+v v toggle help bar\n" " alt+v v toggle help bar\n"
" s:x,y sort options by fields x,y (see above)\n" " s:x,y sort options by fields x,y (see /help fset.look."
" s: reset sort to its default value (see above)\n" "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\"\n"
" w-:xxx export options in file \"xxx\" without help\n" " w-:xxx export options in file \"xxx\" without help\n"
" w+:xxx export options in file \"xxx\" with help\n" " w+:xxx export options in file \"xxx\" with help\n"
@@ -7811,8 +7669,8 @@ msgid ""
" left button move line here\n" " left button move line here\n"
" right button toggle boolean (on/off) or edit the option " " right button toggle boolean (on/off) or edit the option "
"value\n" "value\n"
" right button + drag left/right increase/decrease value for integer/color/" " right button + drag left/right increase/decrease value for integer/color, "
"enum, set/append to value for other types\n" "set/append to value for other types\n"
" right button + drag up/down mark/unmark multiple options\n" " right button + drag up/down mark/unmark multiple options\n"
"\n" "\n"
"Note: if input has one or more leading spaces, the following text is " "Note: if input has one or more leading spaces, the following text is "
@@ -8164,14 +8022,6 @@ msgstr ""
"değerlendirilmediğinden çok daha hızlı olur; biçimler, ctrl+X ile birbiri " "değerlendirilmediğinden çok daha hızlı olur; biçimler, ctrl+X ile birbiri "
"arasında değiştirilebilir" "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" msgid "color for color name when option fset.look.use_color_value is enabled"
msgstr "" msgstr ""
@@ -8222,6 +8072,9 @@ msgstr "yardım çubuğundaki ad rengi"
msgid "color for quotes around string values" msgid "color for quotes around string values"
msgstr "dizi değerlerinin çevresindeki tırnak imi rengi" 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" msgid "color for index of option"
msgstr "bir seçenek indeksi rengi" msgstr "bir seçenek indeksi rengi"
@@ -8398,11 +8251,6 @@ msgstr "seçenek adı (\"*\" jokerine izin verilir) (isteğe bağlı)"
msgid "fset options" msgid "fset options"
msgstr "fset seçenekleri" msgstr "fset seçenekleri"
#, fuzzy
#| msgid "color"
msgid "any color"
msgstr "renk"
#, c-format #, c-format
msgid "%s%s: script \"%s\" already registered (register ignored)" msgid "%s%s: script \"%s\" already registered (register ignored)"
msgstr "%s%s: \"%s\" betiği halihazırda kayıt edilmiş (kaydetme yok sayıldı)" msgstr "%s%s: \"%s\" betiği halihazırda kayıt edilmiş (kaydetme yok sayıldı)"
@@ -8712,9 +8560,6 @@ msgstr "%s%s: Düzenli ifade için yetersiz bellek"
msgid "%s%s: \"%s\" is not a valid regular expression (%s)" msgid "%s%s: \"%s\" is not a valid regular expression (%s)"
msgstr "%s%s: \"%s\", geçerli bir düzenli ifade değil (%s)" msgstr "%s%s: \"%s\", geçerli bir düzenli ifade değil (%s)"
msgid "Receiving list of channels, please wait..."
msgstr ""
#, c-format #, c-format
msgid "" msgid ""
"%s%s: you must specify channel for \"%s\" command if you're not in a channel" "%s%s: you must specify channel for \"%s\" command if you're not in a channel"
@@ -9284,10 +9129,10 @@ msgid ""
"\n" "\n"
"Without argument, \"ls\" and \"list\" are sent.\n" "Without argument, \"ls\" and \"list\" are sent.\n"
"\n" "\n"
"Capabilities supported by WeeChat are: account-notify, account-tag, away-" "Capabilities supported by WeeChat are: account-notify, away-notify, batch, "
"notify, batch, cap-notify, chghost, draft/multiline, echo-message, extended-" "cap-notify, chghost, draft/multiline, echo-message, extended-join, invite-"
"join, invite-notify, message-tags, multi-prefix, server-time, setname, " "notify, message-tags, multi-prefix, server-time, setname, userhost-in-"
"userhost-in-names.\n" "names.\n"
"\n" "\n"
"The capabilities to automatically enable on servers can be set in option irc." "The capabilities to automatically enable on servers can be set in option irc."
"server_default.capabilities (or by server in option irc.server.xxx." "server_default.capabilities (or by server in option irc.server.xxx."
@@ -9767,12 +9612,7 @@ msgstr ""
msgid "list channels and their topics" msgid "list channels and their topics"
msgstr "kanalları ve konularını listele" msgstr "kanalları ve konularını listele"
#, fuzzy msgid "[-server <server>] [-re <regex>] [<channel>[,<channel>...]] [<target>]"
#| 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"
msgstr "[-server <sunucu>] [-re <ifade>] [<kanal>[,<kanal>...]] [<hedef>]" msgstr "[-server <sunucu>] [-re <ifade>] [<kanal>[,<kanal>...]] [<hedef>]"
msgid "" msgid ""
@@ -9781,68 +9621,30 @@ msgid ""
"insensitive, can start by \"(?-i)\" to become case sensitive)\n" "insensitive, can start by \"(?-i)\" to become case sensitive)\n"
"channel: channel to list\n" "channel: channel to list\n"
" target: server name\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" "\n"
"Examples:\n" "Examples:\n"
" list all channels on server and display them in a dedicated buffer (can be " " list all channels on server (can be very slow on large networks):\n"
"slow on large networks):\n"
" /list\n" " /list\n"
" list channel #weechat:\n" " list channel #weechat:\n"
" /list #weechat\n" " /list #weechat\n"
" list all channels beginning with \"#weechat\" (can be very slow on large " " list all channels beginning with \"#weechat\" (can be very slow on large "
"networks):\n" "networks):\n"
" /list -re #weechat.*\n" " /list -re #weechat.*"
" 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"
msgstr "" 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" msgid "get statistics about the size of the IRC network"
msgstr "IRC ağının büyüklüğü hakkındaki istatistikleri al" msgstr "IRC ağının büyüklüğü hakkındaki istatistikleri al"
@@ -10782,22 +10584,12 @@ msgid ""
"ctcp.%s\" will not work" "ctcp.%s\" will not work"
msgstr "" 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 "" msgid ""
"format for CTCP reply or empty string for blocking CTCP (no reply); content " "format for CTCP reply or empty string for blocking CTCP (no reply), "
"is evaluated, see /help eval; following variables are replaced: " "following variables are replaced: $version (WeeChat version), $compilation "
"${clientinfo}: list of supported CTCP, ${version}: WeeChat version, ${git}: " "(compilation date), $osinfo (info about OS), $site (WeeChat site), $download "
"Git version, ${versiongit}: WeeChat version and Git version, ${compilation}: " "(WeeChat site, download page), $time (current date and time as text), "
"compilation date, ${osinfo}: info about OS, ${site}: WeeChat site, " "$username (username on server), $realname (realname on server)"
"${download}: WeeChat site, download page, ${time}: current date and time as "
"text, ${username}: username on server, ${realname}: realname on server"
msgstr "" msgstr ""
"CTCP yanıtı veya CTCP'yi engellemek için kullanılan dizi biçimi (yanıt yok), " "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ü), " "şu değişkenler yenileriyle değiştirilir: $version (WeeChat sürümü), "
@@ -11262,11 +11054,6 @@ msgstr "%s%s: \"%s\" sunucu seçeneği oluşturulurken hata"
msgid "IRC option renamed: \"irc.%s.%s\" => \"irc.%s.%s\"" msgid "IRC option renamed: \"irc.%s.%s\" => \"irc.%s.%s\""
msgstr "" msgstr ""
#, fuzzy, c-format
#| msgid "Command for key: \"%s\""
msgid "IRC CTCP format converted for \"%s\": \"%s\" => \"%s\""
msgstr "Düğme komutu: \"%s\""
msgid "" msgid ""
"open channel buffer before the JOIN is received from server when it is auto " "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 " "joined (with server option \"autojoin\"); this is useful to open channels "
@@ -11488,34 +11275,6 @@ msgstr ""
"komutundaki kanal adının önüne kendiliğinden kanal türünü ekle; örneğin: \"/" "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" "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 "" msgid ""
"default target buffer for msgbuffer options when target is private and that " "default target buffer for msgbuffer options when target is private and that "
"private buffer is not found" "private buffer is not found"
@@ -11532,20 +11291,6 @@ msgstr ""
"(son arabellek olur), next = geçerli arabellek + 1, near_server = sunucunun " "(son arabellek olur), next = geçerli arabellek + 1, near_server = sunucunun "
"son kanalından/özel arabelleğinden sonra)" "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 "" msgid ""
"force position of new private in list of buffers (none = default position " "force position of new private in list of buffers (none = default position "
"(should be last buffer), next = current buffer + 1, near_server = after last " "(should be last buffer), next = current buffer + 1, near_server = after last "
@@ -11783,16 +11528,6 @@ msgid "color for higher supported TLS version in bar item \"tls_version\""
msgstr "" msgstr ""
"\"tls_version\" bar ögesindeki daha yükseği desteklenen TLS sürümleri rengi" "\"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" msgid "color for text in account messages"
msgstr "hesap iletilerindeki metin rengi" msgstr "hesap iletilerindeki metin rengi"
@@ -12218,12 +11953,6 @@ msgstr "irc sunucusu"
msgid "irc batch" msgid "irc batch"
msgstr "irc kanalı" msgstr "irc kanalı"
msgid "irc channel on /list buffer"
msgstr ""
msgid "irc data for /list buffer"
msgstr ""
#, c-format #, c-format
msgid "%sCTCP query to %s%s%s: %s%s%s%s%s" 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" msgstr "%s%s%s%s konumuna CTCP sorgusu: %s%s%s%s%s"
@@ -12236,17 +11965,6 @@ msgstr "%s%s: Sunucuya bağlı değilsiniz"
msgid "%s%s: this buffer is not a channel!" msgid "%s%s: this buffer is not a channel!"
msgstr "%s%s: Bu arabellek bir kanal değil!" 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 #, c-format
msgid "%s%s: cannot allocate new modelist" msgid "%s%s: cannot allocate new modelist"
msgstr "%s%s: Yeni kip listesi için yer ayrılamıyor" msgstr "%s%s: Yeni kip listesi için yer ayrılamıyor"
@@ -13659,14 +13377,6 @@ msgstr ""
"Sunuculara kendiliğinden bağlantı etkinleştirilmişse 1, kullanıcı ayarı ile " "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)" "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" msgid "terminal charset"
msgstr "uçbirim karakter seti" msgstr "uçbirim karakter seti"
@@ -13828,6 +13538,9 @@ msgstr "arabellek adı (\"*\" jokerine izin verilir) (isteğe bağlı)"
msgid "lines of a buffer" msgid "lines of a buffer"
msgstr "bir arabelleğin satırları" msgstr "bir arabelleğin satırları"
msgid "buffer pointer"
msgstr "arabellek işaretçisi"
msgid "list of filters" msgid "list of filters"
msgstr "süzgeçlerin listesi" msgstr "süzgeçlerin listesi"
@@ -15074,6 +14787,10 @@ msgstr "%s: \"%s\" betiği yüklenmedi"
msgid "%s: script \"%s\" not found" msgid "%s: script \"%s\" not found"
msgstr "%s: \"%s\" betiği bulunamadı" 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 #, c-format
msgid "%s: autoload enabled for script \"%s\"" msgid "%s: autoload enabled for script \"%s\""
msgstr "%s: \"%s\" betiği için kendiliğinden yükleme etkin" msgstr "%s: \"%s\" betiği için kendiliğinden yükleme etkin"
@@ -15095,10 +14812,6 @@ msgstr "%s: \"%s\" betiği kurulamadı; çünkü \"%s\" eklentisi yüklü değil
msgid "%s: downloading script \"%s\"..." msgid "%s: downloading script \"%s\"..."
msgstr "%s: \"%s\" betiği indiriliyor..." 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 #, c-format
msgid "%s: script \"%s\" is held" msgid "%s: script \"%s\" is held"
msgstr "%s: \"%s\" betiği tutuluyor" msgstr "%s: \"%s\" betiği tutuluyor"
@@ -15232,109 +14945,17 @@ msgstr ""
msgid "WeeChat script manager" msgid "WeeChat script manager"
msgstr "WeeChat betik yöneticisi" 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 "" msgid ""
"list [-o|-ol|-i|-il] || search <text> || show <script> || load|unload|reload " "list [-o|-ol|-i|-il] || search <text> || show <script> || load|unload|reload "
"<script> [<script>...] || autoload|noautoload|toggleautoload <script> " "<script> [<script>...] || autoload|noautoload|toggleautoload <script> "
"[<script>...] || install|remove|installremove|hold [-q] <script> " "[<script>...] || install|remove|installremove|hold [-q] <script> "
"[<script>...] || upgrade || update || up|down [<number>] || go <line>|end" "[<script>...] || upgrade || update"
msgstr "" msgstr ""
"list [-o|-ol|-i|-il] || search <metin> || show <betik> || load|unload|reload " "list [-o|-ol|-i|-il] || search <metin> || show <betik> || load|unload|reload "
"<betik> [<betik>...] || autoload|noautoload|toggleautoload <betik> " "<betik> [<betik>...] || autoload|noautoload|toggleautoload <betik> "
"[<betik>...] || install|remove|installremove|hold [-q] <betik> [<betik>...] " "[<betik>...] || install|remove|installremove|hold [-q] <betik> [<betik>...] "
"|| upgrade || update" "|| 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 "" msgid ""
" list: list loaded scripts (all languages)\n" " list: list loaded scripts (all languages)\n"
" -o: send list of loaded scripts to buffer (string in English)\n" " -o: send list of loaded scripts to buffer (string in English)\n"
@@ -15362,10 +14983,6 @@ msgid ""
" upgrade: upgrade all installed scripts which are obsolete (new " " upgrade: upgrade all installed scripts which are obsolete (new "
"version available)\n" "version available)\n"
" update: update local scripts cache\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" "\n"
"Without argument, this command opens a buffer with list of scripts.\n" "Without argument, this command opens a buffer with list of scripts.\n"
"\n" "\n"
@@ -16085,24 +15702,6 @@ msgstr "%s%s%s: %s %s[%s%s]%s"
msgid "No trigger defined" msgid "No trigger defined"
msgstr "Tanımlanan bir tetik yok" 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:" msgid "List of default triggers:"
msgstr "Öntanımlı tetiklerin listesi:" msgstr "Öntanımlı tetiklerin listesi:"
@@ -16246,18 +15845,8 @@ msgstr ""
msgid "manage triggers, the Swiss Army knife for WeeChat" msgid "manage triggers, the Swiss Army knife for WeeChat"
msgstr "WeeChat'in İsviçre Çakısı olan tetikleri yönetin" 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 "" msgid ""
"list [-o|-ol|-i|-il] || listfull || listdefault || add|addoff|addreplace " "list|listfull|listdefault || add|addoff|addreplace <name> <hook> "
"<name> <hook> "
"[\"<arguments>\" [\"<conditions>\" [\"<regex>\" [\"<command>\" [\"<return_code>\" [\"<post_action>\"]]]]]] " "[\"<arguments>\" [\"<conditions>\" [\"<regex>\" [\"<command>\" [\"<return_code>\" [\"<post_action>\"]]]]]] "
"|| addinput [<hook>] || input|output|recreate <name> || set <name> <option> " "|| addinput [<hook>] || input|output|recreate <name> || set <name> <option> "
"<value> || rename|copy <name> <new_name> || enable|disable|toggle [<name>|-" "<value> || rename|copy <name> <new_name> || enable|disable|toggle [<name>|-"
@@ -16275,12 +15864,6 @@ msgstr ""
#, fuzzy #, fuzzy
msgid "" msgid ""
" list: list triggers (without argument, this list is displayed)\n" " 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" " listfull: list triggers with detailed info for each trigger\n"
"listdefault: list default triggers\n" "listdefault: list default triggers\n"
" add: add a trigger\n" " add: add a trigger\n"
@@ -17119,45 +16702,3 @@ msgstr "%s%s: \"%s\" için %s ile zaman aşımı"
#, c-format #, c-format
msgid "%s%s: unable to connect: unexpected error (%d)" msgid "%s%s: unable to connect: unexpected error (%d)"
msgstr "%s%s: Bağlanılamıyor: Beklenmedik hata (%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.*"
+60 -205
View File
@@ -21,7 +21,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: WeeChat\n" "Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2023-08-22 09:26+0200\n" "POT-Creation-Date: 2023-07-05 21:24+0200\n"
"PO-Revision-Date: 2014-08-16 10:27+0200\n" "PO-Revision-Date: 2014-08-16 10:27+0200\n"
"Last-Translator: Sébastien Helleu <flashcode@flashtux.org>\n" "Last-Translator: Sébastien Helleu <flashcode@flashtux.org>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n" "Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -442,10 +442,10 @@ msgstr ""
msgid "current value" msgid "current value"
msgstr "" msgstr ""
msgid "integer" msgid "string"
msgstr "" msgstr ""
msgid "string" msgid "integer"
msgstr "" msgstr ""
msgid "any string" msgid "any string"
@@ -460,9 +460,6 @@ msgstr ""
msgid "color" msgid "color"
msgstr "" msgstr ""
msgid "enum"
msgstr ""
#. TRANSLATORS: please do not translate "(null)" #. TRANSLATORS: please do not translate "(null)"
msgid "undefined value allowed (null)" msgid "undefined value allowed (null)"
msgstr "" msgstr ""
@@ -1193,10 +1190,8 @@ msgid ""
msgstr "" msgstr ""
msgid "" msgid ""
"go chat|<bar> [top_left|top_right|bottom_left|bottom_right] || go <x>,<y> || " "go chat|<bar>|<x>,<y> || move up|down|left|right|area_up|area_down|area_left|"
"move up|down|left|right|top_left|top_right|bottom_left|bottom_right|edge_top|" "area_right || stop"
"edge_bottom|edge_left|edge_right|area_up|area_down|area_left|area_right || "
"stop"
msgstr "" msgstr ""
msgid "" msgid ""
@@ -1228,8 +1223,6 @@ msgid ""
" enter exit cursor mode\n" " enter exit cursor mode\n"
"\n" "\n"
"Examples:\n" "Examples:\n"
" go to the bottom left corner of chat area:\n"
" /cursor go chat bottom_left\n"
" go to nicklist:\n" " go to nicklist:\n"
" /cursor go nicklist\n" " /cursor go nicklist\n"
" go to coordinates x=10, y=5:\n" " go to coordinates x=10, y=5:\n"
@@ -3650,7 +3643,7 @@ msgid "%sWarning: %s, line %d: invalid syntax, missing \"]\""
msgstr "" msgstr ""
#, c-format #, c-format
msgid "%sWarning: %s, line %d: ignoring unknown section identifier (\"%s\")" msgid "%sWarning: %s, line %d: unknown section identifier (\"%s\")"
msgstr "" msgstr ""
#, c-format #, c-format
@@ -3666,17 +3659,15 @@ msgid ""
msgstr "" msgstr ""
#, c-format #, c-format
msgid "%sWarning: %s, line %d: ignoring option outside section: %s" msgid "%sWarning: %s, line %d: option outside section: %s"
msgstr "" msgstr ""
#, c-format #, 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 "" msgstr ""
#, c-format #, c-format
msgid "" msgid "%sWarning: %s, line %d: invalid value for option: %s"
"%sWarning: %s, line %d: ignoring invalid value for option in section \"%s\": "
"%s"
msgstr "" msgstr ""
#, c-format #, c-format
@@ -4565,7 +4556,7 @@ msgid ""
"10 and 99 buffers\n" "10 and 99 buffers\n"
" - ${number_displayed}: \"1\" if the number is displayed, otherwise " " - ${number_displayed}: \"1\" if the number is displayed, otherwise "
"\"0\"\n" "\"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" "indented) (evaluation of option buflist.format.indent)\n"
" - ${format_nick_prefix}: colored nick prefix for a channel (evaluation " " - ${format_nick_prefix}: colored nick prefix for a channel (evaluation "
"of option buflist.format.nick_prefix)\n" "of option buflist.format.nick_prefix)\n"
@@ -4670,8 +4661,8 @@ msgstr ""
msgid "" msgid ""
"number of buflist bar items that can be used; the item names are: " "number of buflist bar items that can be used; the item names are: "
"\"buflist\", \"buflist2\", \"buflist3\", \"buflist4\" and \"buflist5\"; be " "\"buflist\", \"buflist2\", \"buflist3\"; be careful, using more than one bar "
"careful, using more than one bar item slows down the display of buffers list" "item slows down the display of buffers list"
msgstr "" msgstr ""
msgid "" msgid ""
@@ -4722,8 +4713,8 @@ msgid ""
msgstr "" msgstr ""
msgid "" msgid ""
"string displayed to indent channel, private and list buffers (note: content " "string displayed to indent channel and private buffers (note: content is "
"is evaluated, see /help buflist)" "evaluated, see /help buflist)"
msgstr "" msgstr ""
msgid "" msgid ""
@@ -5089,7 +5080,7 @@ msgstr ""
#. TRANSLATORS: "%s%s%s:" at beginning of string it the name of option #. TRANSLATORS: "%s%s%s:" at beginning of string it the name of option
#, c-format #, c-format
msgid "%s%s%s: %s%s%s %s[%s%s]%s" msgid "%s%s%s: %s %s[%s%s]%s"
msgstr "" msgstr ""
msgid "(no description)" msgid "(no description)"
@@ -5135,9 +5126,9 @@ msgid ""
" -go: select a line by number, first line number is 0 (\"end\" to " " -go: select a line by number, first line number is 0 (\"end\" to "
"select the last line)\n" "select the last line)\n"
" -toggle: toggle the boolean value\n" " -toggle: toggle the boolean value\n"
" -add: add \"value\" (which can be a negative number) for integers, " " -add: add \"value\" (which can be a negative number) for integers and "
"colors and enums, set/append to value for other types (set for a negative " "colors, set/append to value for other types (set for a negative value, "
"value, append for a positive value)\n" "append for a positive value)\n"
" -reset: reset the value of option\n" " -reset: reset the value of option\n"
" -unset: unset the option\n" " -unset: unset the option\n"
" -set: add the /set command in input to edit the value of option (move " " -set: add the /set command in input to edit the value of option (move "
@@ -5159,8 +5150,7 @@ msgid ""
" * show all options (no filter)\n" " * show all options (no filter)\n"
" xxx show only options with \"xxx\" in name\n" " xxx show only options with \"xxx\" in name\n"
" f:xxx show only configuration file \"xxx\"\n" " f:xxx show only configuration file \"xxx\"\n"
" t:xxx show only type \"xxx\" (bool/int/str/col/enum or " " t:xxx show only type \"xxx\" (bool/int/str/col)\n"
"boolean/integer/string/color/enum)\n"
" d show only changed options\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 name\n"
" d=xxx show only changed options with \"xxx\" in value\n" " d=xxx show only changed options with \"xxx\" in value\n"
@@ -5173,11 +5163,10 @@ msgid ""
" ==xxx show only options with exact value \"xxx\"\n" " ==xxx show only options with exact value \"xxx\"\n"
" c:xxx show only options matching the evaluated condition " " c:xxx show only options matching the evaluated condition "
"\"xxx\", using following variables: file, section, option, name, " "\"xxx\", using following variables: file, section, option, name, "
"parent_name, type, type_en, type_short (bool/int/str/col/enum), type_tiny (b/" "parent_name, type, type_en, type_short (bool/int/str/col), type_tiny (b/i/s/"
"i/s/c/e), default_value, default_value_undef, value, quoted_value, " "c), default_value, default_value_undef, value, quoted_value, value_undef, "
"value_undef, value_changed, parent_value, min, max, description, " "value_changed, parent_value, min, max, description, description2, "
"description2, description_en, description_en2, string_values, " "description_en, description_en2, string_values\n"
"allowed_values\n"
"\n" "\n"
"The lines with options are displayed using string evaluation (see /help eval " "The lines with options are displayed using string evaluation (see /help eval "
"for the format), with these options:\n" "for the format), with these options:\n"
@@ -5193,8 +5182,8 @@ msgid ""
" - ${parent_name}: parent option name\n" " - ${parent_name}: parent option name\n"
" - ${type}: option type (translated)\n" " - ${type}: option type (translated)\n"
" - ${type_en}: option type (in English)\n" " - ${type_en}: option type (in English)\n"
" - ${type_short}: short option type (bool/int/str/col/enum)\n" " - ${type_short}: short option type (bool/int/str/col)\n"
" - ${type_tiny}: tiny option type (b/i/s/c/e)\n" " - ${type_tiny}: tiny option type (b/i/s/c)\n"
" - ${default_value}: option default value\n" " - ${default_value}: option default value\n"
" - ${default_value_undef}: \"1\" if default value is null, otherwise " " - ${default_value_undef}: \"1\" if default value is null, otherwise "
"\"0\"\n" "\"0\"\n"
@@ -5212,8 +5201,8 @@ msgid ""
" - ${description_en}: option description (in English)\n" " - ${description_en}: option description (in English)\n"
" - ${description_en2}: option description (in English), \"(no " " - ${description_en2}: option description (in English), \"(no "
"description)\" if there's no description\n" "description)\" if there's no description\n"
" - ${string_values}: string values allowed for set of an enum option\n" " - ${string_values}: string values allowed for set of an integer option "
" - ${allowed_values}: allowed values\n" "using strings\n"
" - ${marked}: \"1\" if option is marked, otherwise \"0\"\n" " - ${marked}: \"1\" if option is marked, otherwise \"0\"\n"
" - ${index}: index of option in list\n" " - ${index}: index of option in list\n"
" - option data, with color but no spaces:\n" " - option data, with color but no spaces:\n"
@@ -5242,9 +5231,9 @@ msgid ""
"\n" "\n"
"Keys and input to set options on fset buffer:\n" "Keys and input to set options on fset buffer:\n"
" alt+space t toggle boolean value\n" " alt+space t toggle boolean value\n"
" alt+'-' - subtract 1 from value for integer/color/enum, " " alt+'-' - subtract 1 from value for integer/color, set "
"set value for other types\n" "value for other types\n"
" alt+'+' + add 1 to value for integer/color/enum, append to " " alt+'+' + add 1 to value for integer/color, append to "
"value for other types\n" "value for other types\n"
" alt+f, alt+r r reset value\n" " alt+f, alt+r r reset value\n"
" alt+f, alt+u u unset value\n" " alt+f, alt+u u unset value\n"
@@ -5268,8 +5257,10 @@ msgid ""
" alt+p p toggle plugin description options (plugins.desc." " alt+p p toggle plugin description options (plugins.desc."
"*)\n" "*)\n"
" alt+v v toggle help bar\n" " alt+v v toggle help bar\n"
" s:x,y sort options by fields x,y (see above)\n" " s:x,y sort options by fields x,y (see /help fset.look."
" s: reset sort to its default value (see above)\n" "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\"\n"
" w-:xxx export options in file \"xxx\" without help\n" " w-:xxx export options in file \"xxx\" without help\n"
" w+:xxx export options in file \"xxx\" with help\n" " w+:xxx export options in file \"xxx\" with help\n"
@@ -5281,8 +5272,8 @@ msgid ""
" left button move line here\n" " left button move line here\n"
" right button toggle boolean (on/off) or edit the option " " right button toggle boolean (on/off) or edit the option "
"value\n" "value\n"
" right button + drag left/right increase/decrease value for integer/color/" " right button + drag left/right increase/decrease value for integer/color, "
"enum, set/append to value for other types\n" "set/append to value for other types\n"
" right button + drag up/down mark/unmark multiple options\n" " right button + drag up/down mark/unmark multiple options\n"
"\n" "\n"
"Note: if input has one or more leading spaces, the following text is " "Note: if input has one or more leading spaces, the following text is "
@@ -5398,12 +5389,6 @@ msgid ""
"ctrl-x" "ctrl-x"
msgstr "" 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" msgid "color for color name when option fset.look.use_color_value is enabled"
msgstr "" msgstr ""
@@ -5448,6 +5433,9 @@ msgstr ""
msgid "color for quotes around string values" msgid "color for quotes around string values"
msgstr "" msgstr ""
msgid "color for allowed values"
msgstr ""
msgid "color for index of option" msgid "color for index of option"
msgstr "" msgstr ""
@@ -5616,9 +5604,6 @@ msgstr ""
msgid "fset options" msgid "fset options"
msgstr "" msgstr ""
msgid "any color"
msgstr ""
#, c-format #, c-format
msgid "%s%s: script \"%s\" already registered (register ignored)" msgid "%s%s: script \"%s\" already registered (register ignored)"
msgstr "" msgstr ""
@@ -5891,9 +5876,6 @@ msgstr ""
msgid "%s%s: \"%s\" is not a valid regular expression (%s)" msgid "%s%s: \"%s\" is not a valid regular expression (%s)"
msgstr "" msgstr ""
msgid "Receiving list of channels, please wait..."
msgstr ""
#, c-format #, c-format
msgid "" msgid ""
"%s%s: you must specify channel for \"%s\" command if you're not in a channel" "%s%s: you must specify channel for \"%s\" command if you're not in a channel"
@@ -6274,10 +6256,10 @@ msgid ""
"\n" "\n"
"Without argument, \"ls\" and \"list\" are sent.\n" "Without argument, \"ls\" and \"list\" are sent.\n"
"\n" "\n"
"Capabilities supported by WeeChat are: account-notify, account-tag, away-" "Capabilities supported by WeeChat are: account-notify, away-notify, batch, "
"notify, batch, cap-notify, chghost, draft/multiline, echo-message, extended-" "cap-notify, chghost, draft/multiline, echo-message, extended-join, invite-"
"join, invite-notify, message-tags, multi-prefix, server-time, setname, " "notify, message-tags, multi-prefix, server-time, setname, userhost-in-"
"userhost-in-names.\n" "names.\n"
"\n" "\n"
"The capabilities to automatically enable on servers can be set in option irc." "The capabilities to automatically enable on servers can be set in option irc."
"server_default.capabilities (or by server in option irc.server.xxx." "server_default.capabilities (or by server in option irc.server.xxx."
@@ -6575,9 +6557,7 @@ msgstr ""
msgid "list channels and their topics" msgid "list channels and their topics"
msgstr "" msgstr ""
msgid "" msgid "[-server <server>] [-re <regex>] [<channel>[,<channel>...]] [<target>]"
"[-server <server>] [-re <regex>] [<channel>[,<channel>...]] [<target>] || -"
"up|-down [<number>] || -left|-right [<percent>] || -go <line>|end || -join"
msgstr "" msgstr ""
msgid "" msgid ""
@@ -6586,67 +6566,15 @@ msgid ""
"insensitive, can start by \"(?-i)\" to become case sensitive)\n" "insensitive, can start by \"(?-i)\" to become case sensitive)\n"
"channel: channel to list\n" "channel: channel to list\n"
" target: server name\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" "\n"
"Examples:\n" "Examples:\n"
" list all channels on server and display them in a dedicated buffer (can be " " list all channels on server (can be very slow on large networks):\n"
"slow on large networks):\n"
" /list\n" " /list\n"
" list channel #weechat:\n" " list channel #weechat:\n"
" /list #weechat\n" " /list #weechat\n"
" list all channels beginning with \"#weechat\" (can be very slow on large " " list all channels beginning with \"#weechat\" (can be very slow on large "
"networks):\n" "networks):\n"
" /list -re #weechat.*\n" " /list -re #weechat.*"
" 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"
msgstr "" msgstr ""
msgid "get statistics about the size of the IRC network" msgid "get statistics about the size of the IRC network"
@@ -7330,13 +7258,11 @@ msgid ""
msgstr "" msgstr ""
msgid "" msgid ""
"format for CTCP reply or empty string for blocking CTCP (no reply); content " "format for CTCP reply or empty string for blocking CTCP (no reply), "
"is evaluated, see /help eval; following variables are replaced: " "following variables are replaced: $version (WeeChat version), $compilation "
"${clientinfo}: list of supported CTCP, ${version}: WeeChat version, ${git}: " "(compilation date), $osinfo (info about OS), $site (WeeChat site), $download "
"Git version, ${versiongit}: WeeChat version and Git version, ${compilation}: " "(WeeChat site, download page), $time (current date and time as text), "
"compilation date, ${osinfo}: info about OS, ${site}: WeeChat site, " "$username (username on server), $realname (realname on server)"
"${download}: WeeChat site, download page, ${time}: current date and time as "
"text, ${username}: username on server, ${realname}: realname on server"
msgstr "" msgstr ""
#, c-format #, c-format
@@ -7623,10 +7549,6 @@ msgstr ""
msgid "IRC option renamed: \"irc.%s.%s\" => \"irc.%s.%s\"" msgid "IRC option renamed: \"irc.%s.%s\" => \"irc.%s.%s\""
msgstr "" msgstr ""
#, c-format
msgid "IRC CTCP format converted for \"%s\": \"%s\" => \"%s\""
msgstr ""
msgid "" msgid ""
"open channel buffer before the JOIN is received from server when it is auto " "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 " "joined (with server option \"autojoin\"); this is useful to open channels "
@@ -7785,19 +7707,6 @@ msgid ""
"for example: \"/join weechat\" will in fact send: \"/join #weechat\"" "for example: \"/join weechat\" will in fact send: \"/join #weechat\""
msgstr "" 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 "" msgid ""
"default target buffer for msgbuffer options when target is private and that " "default target buffer for msgbuffer options when target is private and that "
"private buffer is not found" "private buffer is not found"
@@ -7809,12 +7718,6 @@ msgid ""
"channel/pv of server)" "channel/pv of server)"
msgstr "" 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 "" msgid ""
"force position of new private in list of buffers (none = default position " "force position of new private in list of buffers (none = default position "
"(should be last buffer), next = current buffer + 1, near_server = after last " "(should be last buffer), next = current buffer + 1, near_server = after last "
@@ -7989,12 +7892,6 @@ msgstr ""
msgid "color for higher supported TLS version in bar item \"tls_version\"" msgid "color for higher supported TLS version in bar item \"tls_version\""
msgstr "" 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" msgid "color for text in account messages"
msgstr "" msgstr ""
@@ -8355,12 +8252,6 @@ msgstr ""
msgid "irc batch" msgid "irc batch"
msgstr "" msgstr ""
msgid "irc channel on /list buffer"
msgstr ""
msgid "irc data for /list buffer"
msgstr ""
#, c-format #, c-format
msgid "%sCTCP query to %s%s%s: %s%s%s%s%s" msgid "%sCTCP query to %s%s%s: %s%s%s%s%s"
msgstr "" msgstr ""
@@ -8373,16 +8264,6 @@ msgstr ""
msgid "%s%s: this buffer is not a channel!" msgid "%s%s: this buffer is not a channel!"
msgstr "" 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 #, c-format
msgid "%s%s: cannot allocate new modelist" msgid "%s%s: cannot allocate new modelist"
msgstr "" msgstr ""
@@ -9642,12 +9523,6 @@ msgid ""
"by the user (option \"-s\" or \"--no-script\")" "by the user (option \"-s\" or \"--no-script\")"
msgstr "" msgstr ""
msgid "buffer pointer"
msgstr ""
msgid "buffer full name"
msgstr ""
msgid "terminal charset" msgid "terminal charset"
msgstr "" msgstr ""
@@ -9791,6 +9666,9 @@ msgstr ""
msgid "lines of a buffer" msgid "lines of a buffer"
msgstr "" msgstr ""
msgid "buffer pointer"
msgstr ""
msgid "list of filters" msgid "list of filters"
msgstr "" msgstr ""
@@ -10752,6 +10630,10 @@ msgstr ""
msgid "%s: script \"%s\" not found" msgid "%s: script \"%s\" not found"
msgstr "" msgstr ""
#, c-format
msgid "%s: script \"%s\" is not installed"
msgstr ""
#, c-format #, c-format
msgid "%s: autoload enabled for script \"%s\"" msgid "%s: autoload enabled for script \"%s\""
msgstr "" msgstr ""
@@ -10773,10 +10655,6 @@ msgstr ""
msgid "%s: downloading script \"%s\"..." msgid "%s: downloading script \"%s\"..."
msgstr "" msgstr ""
#, c-format
msgid "%s: script \"%s\" is not installed"
msgstr ""
#, c-format #, c-format
msgid "%s: script \"%s\" is held" msgid "%s: script \"%s\" is held"
msgstr "" msgstr ""
@@ -10908,7 +10786,7 @@ msgid ""
"list [-o|-ol|-i|-il] || search <text> || show <script> || load|unload|reload " "list [-o|-ol|-i|-il] || search <text> || show <script> || load|unload|reload "
"<script> [<script>...] || autoload|noautoload|toggleautoload <script> " "<script> [<script>...] || autoload|noautoload|toggleautoload <script> "
"[<script>...] || install|remove|installremove|hold [-q] <script> " "[<script>...] || install|remove|installremove|hold [-q] <script> "
"[<script>...] || upgrade || update || up|down [<number>] || go <line>|end" "[<script>...] || upgrade || update"
msgstr "" msgstr ""
msgid "" msgid ""
@@ -10938,10 +10816,6 @@ msgid ""
" upgrade: upgrade all installed scripts which are obsolete (new " " upgrade: upgrade all installed scripts which are obsolete (new "
"version available)\n" "version available)\n"
" update: update local scripts cache\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" "\n"
"Without argument, this command opens a buffer with list of scripts.\n" "Without argument, this command opens a buffer with list of scripts.\n"
"\n" "\n"
@@ -11487,18 +11361,6 @@ msgstr ""
msgid "No trigger defined" msgid "No trigger defined"
msgstr "" msgstr ""
msgid "Triggers enabled:"
msgstr ""
msgid "default"
msgstr ""
msgid "custom"
msgstr ""
msgid "No triggers enabled"
msgstr ""
msgid "List of default triggers:" msgid "List of default triggers:"
msgstr "" msgstr ""
@@ -11637,8 +11499,7 @@ msgid "manage triggers, the Swiss Army knife for WeeChat"
msgstr "" msgstr ""
msgid "" msgid ""
"list [-o|-ol|-i|-il] || listfull || listdefault || add|addoff|addreplace " "list|listfull|listdefault || add|addoff|addreplace <name> <hook> "
"<name> <hook> "
"[\"<arguments>\" [\"<conditions>\" [\"<regex>\" [\"<command>\" [\"<return_code>\" [\"<post_action>\"]]]]]] " "[\"<arguments>\" [\"<conditions>\" [\"<regex>\" [\"<command>\" [\"<return_code>\" [\"<post_action>\"]]]]]] "
"|| addinput [<hook>] || input|output|recreate <name> || set <name> <option> " "|| addinput [<hook>] || input|output|recreate <name> || set <name> <option> "
"<value> || rename|copy <name> <new_name> || enable|disable|toggle [<name>|-" "<value> || rename|copy <name> <new_name> || enable|disable|toggle [<name>|-"
@@ -11649,12 +11510,6 @@ msgstr ""
msgid "" msgid ""
" list: list triggers (without argument, this list is displayed)\n" " 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" " listfull: list triggers with detailed info for each trigger\n"
"listdefault: list default triggers\n" "listdefault: list default triggers\n"
" add: add a trigger\n" " add: add a trigger\n"
+7 -51
View File
@@ -27,7 +27,6 @@
#include <string.h> #include <string.h>
#include "../weechat.h" #include "../weechat.h"
#include "../wee-arraylist.h"
#include "../wee-hashtable.h" #include "../wee-hashtable.h"
#include "../wee-hook.h" #include "../wee-hook.h"
#include "../wee-infolist.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. * Executes a line hook and updates the line data.
*/ */
struct t_arraylist * void
hook_line_exec (struct t_gui_line *line) hook_line_exec (struct t_gui_line *line)
{ {
struct t_hook *ptr_hook, *next_hook; struct t_hook *ptr_hook, *next_hook;
struct t_hashtable *hashtable, *hashtable2; struct t_hashtable *hashtable, *hashtable2;
struct t_arraylist *buffers; char str_value[128], *str_tags;
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);
if (!weechat_hooks[HOOK_TYPE_LINE]) if (!weechat_hooks[HOOK_TYPE_LINE])
goto end; return;
str_buffers = string_dyn_alloc (256); hashtable = NULL;
if (!str_buffers)
goto end;
hook_exec_start (); hook_exec_start ();
@@ -176,28 +161,8 @@ hook_line_exec (struct t_gui_line *line)
if (!hashtable) if (!hashtable)
break; break;
} }
size = arraylist_size (buffers); HASHTABLE_SET_POINTER("buffer", line->data->buffer);
/* build list of buffer pointers */ HASHTABLE_SET_STR("buffer_name", line->data->buffer->full_name);
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_STR("buffer_type", HASHTABLE_SET_STR("buffer_type",
gui_buffer_type_string[line->data->buffer->type]); gui_buffer_type_string[line->data->buffer->type]);
HASHTABLE_SET_INT("y", line->data->y); HASHTABLE_SET_INT("y", line->data->y);
@@ -226,7 +191,7 @@ hook_line_exec (struct t_gui_line *line)
if (hashtable2) if (hashtable2)
{ {
gui_line_hook_update (line, buffers, hashtable, hashtable2); gui_line_hook_update (line, hashtable, hashtable2);
hashtable_free (hashtable2); hashtable_free (hashtable2);
if (!line->data->buffer) if (!line->data->buffer)
break; break;
@@ -238,17 +203,8 @@ hook_line_exec (struct t_gui_line *line)
hook_exec_end (); hook_exec_end ();
end:
if (hashtable) if (hashtable)
hashtable_free (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, t_hook_callback_line *callback,
const void *callback_pointer, const void *callback_pointer,
void *callback_data); 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 void hook_line_free_data (struct t_hook *hook);
extern int hook_line_add_to_infolist (struct t_infolist_item *item, extern int hook_line_add_to_infolist (struct t_infolist_item *item,
struct t_hook *hook); struct t_hook *hook);
+105 -124
View File
@@ -173,15 +173,15 @@ command_bar_list (int full)
GUI_COLOR(GUI_COLOR_CHAT), GUI_COLOR(GUI_COLOR_CHAT),
(CONFIG_BOOLEAN(ptr_bar->options[GUI_BAR_OPTION_HIDDEN])) ? _("(hidden)") : "", (CONFIG_BOOLEAN(ptr_bar->options[GUI_BAR_OPTION_HIDDEN])) ? _("(hidden)") : "",
(CONFIG_BOOLEAN(ptr_bar->options[GUI_BAR_OPTION_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])
&& CONFIG_STRING(ptr_bar->options[GUI_BAR_OPTION_CONDITIONS])[0]) ? && CONFIG_STRING(ptr_bar->options[GUI_BAR_OPTION_CONDITIONS])[0]) ?
CONFIG_STRING(ptr_bar->options[GUI_BAR_OPTION_CONDITIONS]) : "-", CONFIG_STRING(ptr_bar->options[GUI_BAR_OPTION_CONDITIONS]) : "-",
gui_bar_position_string[CONFIG_ENUM(ptr_bar->options[GUI_BAR_OPTION_POSITION])], gui_bar_position_string[CONFIG_INTEGER(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_INTEGER(ptr_bar->options[GUI_BAR_OPTION_FILLING_TOP_BOTTOM])],
gui_bar_filling_string[CONFIG_ENUM(ptr_bar->options[GUI_BAR_OPTION_FILLING_LEFT_RIGHT])], gui_bar_filling_string[CONFIG_INTEGER(ptr_bar->options[GUI_BAR_OPTION_FILLING_LEFT_RIGHT])],
((CONFIG_ENUM(ptr_bar->options[GUI_BAR_OPTION_POSITION]) == GUI_BAR_POSITION_BOTTOM) ((CONFIG_INTEGER(ptr_bar->options[GUI_BAR_OPTION_POSITION]) == GUI_BAR_POSITION_BOTTOM)
|| (CONFIG_ENUM(ptr_bar->options[GUI_BAR_OPTION_POSITION]) == GUI_BAR_POSITION_TOP)) ? || (CONFIG_INTEGER(ptr_bar->options[GUI_BAR_OPTION_POSITION]) == GUI_BAR_POSITION_TOP)) ?
_("height") : _("width"), _("height") : _("width"),
(CONFIG_INTEGER(ptr_bar->options[GUI_BAR_OPTION_SIZE]) == 0) ? _("auto") : str_size); (CONFIG_INTEGER(ptr_bar->options[GUI_BAR_OPTION_SIZE]) == 0) ? _("auto") : str_size);
gui_chat_printf (NULL, gui_chat_printf (NULL,
@@ -205,10 +205,10 @@ command_bar_list (int full)
GUI_COLOR(GUI_COLOR_CHAT), GUI_COLOR(GUI_COLOR_CHAT),
(CONFIG_BOOLEAN(ptr_bar->options[GUI_BAR_OPTION_HIDDEN])) ? _("(hidden)") : "", (CONFIG_BOOLEAN(ptr_bar->options[GUI_BAR_OPTION_HIDDEN])) ? _("(hidden)") : "",
(CONFIG_BOOLEAN(ptr_bar->options[GUI_BAR_OPTION_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])],
gui_bar_position_string[CONFIG_ENUM(ptr_bar->options[GUI_BAR_OPTION_POSITION])], gui_bar_position_string[CONFIG_INTEGER(ptr_bar->options[GUI_BAR_OPTION_POSITION])],
((CONFIG_ENUM(ptr_bar->options[GUI_BAR_OPTION_POSITION]) == GUI_BAR_POSITION_BOTTOM) ((CONFIG_INTEGER(ptr_bar->options[GUI_BAR_OPTION_POSITION]) == GUI_BAR_POSITION_BOTTOM)
|| (CONFIG_ENUM(ptr_bar->options[GUI_BAR_OPTION_POSITION]) == GUI_BAR_POSITION_TOP)) ? || (CONFIG_INTEGER(ptr_bar->options[GUI_BAR_OPTION_POSITION]) == GUI_BAR_POSITION_TOP)) ?
_("height") : _("width"), _("height") : _("width"),
(CONFIG_INTEGER(ptr_bar->options[GUI_BAR_OPTION_SIZE]) == 0) ? _("auto") : str_size); (CONFIG_INTEGER(ptr_bar->options[GUI_BAR_OPTION_SIZE]) == 0) ? _("auto") : str_size);
} }
@@ -1892,10 +1892,7 @@ COMMAND_CALLBACK(cursor)
} }
} }
else else
{ gui_cursor_move_area (argv[2]);
gui_cursor_move_area (argv[2],
(argc > 3) ? argv_eol[3] : NULL);
}
} }
return WEECHAT_RC_OK; return WEECHAT_RC_OK;
} }
@@ -1920,17 +1917,6 @@ COMMAND_CALLBACK(cursor)
gui_cursor_move_area_add_xy (-1, 0); gui_cursor_move_area_add_xy (-1, 0);
else if (string_strcmp (argv[2], "area_right") == 0) else if (string_strcmp (argv[2], "area_right") == 0)
gui_cursor_move_area_add_xy (1, 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; return WEECHAT_RC_OK;
} }
@@ -3142,35 +3128,99 @@ COMMAND_CALLBACK(help)
} }
break; break;
case CONFIG_OPTION_TYPE_INTEGER: case CONFIG_OPTION_TYPE_INTEGER:
gui_chat_printf (NULL, " %s: %s", if (ptr_option->string_values)
_("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", length = 0;
_("default value"), i = 0;
CONFIG_INTEGER_DEFAULT(ptr_option)); 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 else
{ {
gui_chat_printf (NULL, " %s: %s", gui_chat_printf (NULL, " %s: %s",
_("default value"), _("type"), _("integer"));
_("(undefined)")); gui_chat_printf (NULL, " %s: %d .. %d",
} _("values"),
if (ptr_option->value) ptr_option->min, ptr_option->max);
{ if (ptr_option->default_value)
gui_chat_printf (NULL, " %s: %s%d", {
_("current value"), gui_chat_printf (NULL, " %s: %d",
GUI_COLOR(GUI_COLOR_CHAT_VALUE), _("default value"),
CONFIG_INTEGER(ptr_option)); CONFIG_INTEGER_DEFAULT(ptr_option));
} }
else else
{ {
gui_chat_printf (NULL, " %s: %s", gui_chat_printf (NULL, " %s: %s",
_("current value"), _("default value"),
_("(undefined)")); _("(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; break;
case CONFIG_OPTION_TYPE_STRING: case CONFIG_OPTION_TYPE_STRING:
@@ -3256,66 +3306,6 @@ COMMAND_CALLBACK(help)
_("(undefined)")); _("(undefined)"));
} }
break; 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: case CONFIG_NUM_OPTION_TYPES:
break; break;
} }
@@ -4951,7 +4941,7 @@ command_plugin_list_input (struct t_gui_buffer *buffer,
else else
{ {
gui_buffer_set (buffer, "input", *buf); gui_buffer_set (buffer, "input", *buf);
length = utf8_strlen (*buf); length = strlen (*buf);
snprintf (str_pos, sizeof (str_pos), "%d", length); snprintf (str_pos, sizeof (str_pos), "%d", length);
gui_buffer_set (buffer, "input_pos", str_pos); gui_buffer_set (buffer, "input_pos", str_pos);
} }
@@ -5387,7 +5377,7 @@ command_proxy_list ()
GUI_COLOR(GUI_COLOR_CHAT_BUFFER), GUI_COLOR(GUI_COLOR_CHAT_BUFFER),
ptr_proxy->name, ptr_proxy->name,
GUI_COLOR(GUI_COLOR_CHAT), 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_STRING(ptr_proxy->options[PROXY_OPTION_ADDRESS]),
CONFIG_INTEGER(ptr_proxy->options[PROXY_OPTION_PORT]), CONFIG_INTEGER(ptr_proxy->options[PROXY_OPTION_PORT]),
(CONFIG_INTEGER(ptr_proxy->options[PROXY_OPTION_IPV6])) ? "IPv6" : "IPv4", (CONFIG_INTEGER(ptr_proxy->options[PROXY_OPTION_IPV6])) ? "IPv6" : "IPv4",
@@ -7925,12 +7915,8 @@ command_init ()
NULL, "cursor", NULL, "cursor",
N_("free movement of cursor on screen to execute actions on specific " N_("free movement of cursor on screen to execute actions on specific "
"areas of screen"), "areas of screen"),
N_("go chat|<bar> [top_left|top_right|bottom_left|bottom_right]" N_("go chat|<bar>|<x>,<y>"
" || go <x>,<y>" " || move up|down|left|right|area_up|area_down|area_left|area_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"
" || stop"), " || stop"),
N_(" go: move cursor to chat area, a bar (using bar name) or " N_(" go: move cursor to chat area, a bar (using bar name) or "
"coordinates \"x,y\"\n" "coordinates \"x,y\"\n"
@@ -7960,17 +7946,12 @@ command_init ()
" enter exit cursor mode\n" " enter exit cursor mode\n"
"\n" "\n"
"Examples:\n" "Examples:\n"
" go to the bottom left corner of chat area:\n"
" /cursor go chat bottom_left\n"
" go to nicklist:\n" " go to nicklist:\n"
" /cursor go nicklist\n" " /cursor go nicklist\n"
" go to coordinates x=10, y=5:\n" " go to coordinates x=10, y=5:\n"
" /cursor go 10,5"), " /cursor go 10,5"),
"go %(cursor_areas) top_left|top_right|bottom_left|bottom_right" "go %(cursor_areas)"
" || move up|down|left|right|" " || move up|down|left|right|area_up|area_down|area_left|area_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", " || stop",
&command_cursor, NULL, NULL); &command_cursor, NULL, NULL);
hook_command ( hook_command (
+45 -41
View File
@@ -1461,31 +1461,59 @@ completion_list_add_config_option_values_cb (const void *pointer, void *data,
} }
break; break;
case CONFIG_OPTION_TYPE_INTEGER: case CONFIG_OPTION_TYPE_INTEGER:
if (option_found->value && CONFIG_INTEGER(option_found) > option_found->min) if (option_found->string_values)
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; for (i = 0; option_found->string_values[i]; i++)
value_string = malloc (length);
if (value_string)
{ {
snprintf (value_string, length,
"%d", CONFIG_INTEGER(option_found));
gui_completion_list_add (completion, 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); 0, WEECHAT_LIST_POS_BEGINNING);
free (value_string);
} }
} }
else else
{ {
gui_completion_list_add (completion, if (option_found->value && CONFIG_INTEGER(option_found) > option_found->min)
WEECHAT_CONFIG_OPTION_NULL, gui_completion_list_add (completion, "--1",
0, WEECHAT_LIST_POS_BEGINNING); 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; break;
case CONFIG_OPTION_TYPE_STRING: 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); 0, WEECHAT_LIST_POS_BEGINNING);
} }
break; 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: case CONFIG_NUM_OPTION_TYPES:
break; break;
} }
+385 -485
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(option) (*((int *)((option)->value)))
#define CONFIG_COLOR_DEFAULT(option) (*((int *)((option)->default_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_FALSE 0
#define CONFIG_BOOLEAN_TRUE 1 #define CONFIG_BOOLEAN_TRUE 1
@@ -139,7 +136,6 @@ enum t_config_option_type
CONFIG_OPTION_TYPE_INTEGER, CONFIG_OPTION_TYPE_INTEGER,
CONFIG_OPTION_TYPE_STRING, CONFIG_OPTION_TYPE_STRING,
CONFIG_OPTION_TYPE_COLOR, CONFIG_OPTION_TYPE_COLOR,
CONFIG_OPTION_TYPE_ENUM,
/* number of option types */ /* number of option types */
CONFIG_NUM_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_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 (struct t_config_option *option);
extern const char *config_file_option_color_default (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, extern int config_file_write_option (struct t_config_file *config_file,
struct t_config_option *option); struct t_config_option *option);
extern int config_file_write_line (struct t_config_file *config_file, extern int config_file_write_line (struct t_config_file *config_file,
+36 -16
View File
@@ -391,7 +391,7 @@ void
config_change_save_config_layout_on_exit () config_change_save_config_layout_on_exit ()
{ {
if (gui_init_ok && !CONFIG_BOOLEAN(config_look_save_config_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, gui_chat_printf (NULL,
_("Warning: option weechat.look.save_config_on_exit " _("Warning: option weechat.look.save_config_on_exit "
@@ -2466,6 +2466,27 @@ config_weechat_layout_write_cb (const void *pointer, void *data,
return WEECHAT_CONFIG_WRITE_OK; return WEECHAT_CONFIG_WRITE_OK;
} }
/*
* Checks notify option value.
*
* Returns:
* 1: value OK
* 0: invalid value
*/
int
config_weechat_notify_check_cb (const void *pointer, void *data,
struct t_config_option *option,
const char *value)
{
/* make C compiler happy */
(void) pointer;
(void) data;
(void) option;
return (gui_buffer_search_notify (value) >= 0) ? 1 : 0;
}
/* /*
* Callback for changes on a notify option. * Callback for changes on a notify option.
*/ */
@@ -2525,11 +2546,10 @@ config_weechat_notify_create_option_cb (const void *pointer, void *data,
{ {
ptr_option = config_file_new_option ( ptr_option = config_file_new_option (
config_file, section, config_file, section,
option_name, "enum", option_name, "integer", _("Notify level for buffer"),
_("Notify level for buffer"),
"none|highlight|message|all", "none|highlight|message|all",
0, 0, "", value, 0, 0, 0, "", value, 0,
NULL, NULL, NULL, &config_weechat_notify_check_cb, NULL, NULL,
&config_weechat_notify_change_cb, NULL, NULL, &config_weechat_notify_change_cb, NULL, NULL,
NULL, NULL, NULL); NULL, NULL, NULL);
rc = (ptr_option) ? rc = (ptr_option) ?
@@ -2881,7 +2901,7 @@ config_weechat_init_options ()
{ {
config_look_align_end_of_lines = config_file_new_option ( config_look_align_end_of_lines = config_file_new_option (
weechat_config_file, weechat_config_section_look, 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 " N_("alignment for end of lines (all lines after the first): they "
"are starting under this data (time, buffer, prefix, suffix, " "are starting under this data (time, buffer, prefix, suffix, "
"message (default))"), "message (default))"),
@@ -2964,7 +2984,7 @@ config_weechat_init_options ()
NULL, NULL, NULL); NULL, NULL, NULL);
config_look_buffer_notify_default = config_file_new_option ( config_look_buffer_notify_default = config_file_new_option (
weechat_config_file, weechat_config_section_look, 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 " N_("default notify level for buffers (used to tell WeeChat if "
"buffer must be displayed in hotlist or not, according to " "buffer must be displayed in hotlist or not, according to "
"importance of message): all=all messages (default), " "importance of message): all=all messages (default), "
@@ -2976,7 +2996,7 @@ config_weechat_init_options ()
NULL, NULL, NULL); NULL, NULL, NULL);
config_look_buffer_position = config_file_new_option ( config_look_buffer_position = config_file_new_option (
weechat_config_file, weechat_config_section_look, 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 = " N_("position of a new buffer: end = after the end of list (number = "
"last number + 1) (default), first_gap = at first available " "last number + 1) (default), first_gap = at first available "
"number in the list (after the end of list if no number is " "number in the list (after the end of list if no number is "
@@ -3006,7 +3026,7 @@ config_weechat_init_options ()
NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL); NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
config_look_buffer_search_where = config_file_new_option ( config_look_buffer_search_where = config_file_new_option (
weechat_config_file, weechat_config_section_look, 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 " N_("default text search in buffer: in message, prefix, prefix and "
"message"), "message"),
"prefix|message|prefix_message", 0, 0, "prefix_message", "prefix|message|prefix_message", 0, 0, "prefix_message",
@@ -3372,7 +3392,7 @@ config_weechat_init_options ()
NULL, NULL, NULL); NULL, NULL, NULL);
config_look_hotlist_remove = config_file_new_option ( config_look_hotlist_remove = config_file_new_option (
weechat_config_file, weechat_config_section_look, weechat_config_file, weechat_config_section_look,
"hotlist_remove", "enum", "hotlist_remove", "integer",
N_("remove buffers in hotlist: buffer = remove buffer by buffer, " N_("remove buffers in hotlist: buffer = remove buffer by buffer, "
"merged = remove all visible merged buffers at once"), "merged = remove all visible merged buffers at once"),
"buffer|merged", "buffer|merged",
@@ -3389,7 +3409,7 @@ config_weechat_init_options ()
NULL, NULL, NULL); NULL, NULL, NULL);
config_look_hotlist_sort = config_file_new_option ( config_look_hotlist_sort = config_file_new_option (
weechat_config_file, weechat_config_section_look, weechat_config_file, weechat_config_section_look,
"hotlist_sort", "enum", "hotlist_sort", "integer",
N_("sort of hotlist: group_time_*: group by notify level " N_("sort of hotlist: group_time_*: group by notify level "
"(highlights first) then sort by time, group_number_*: group " "(highlights first) then sort by time, group_number_*: group "
"by notify level (highlights first) then sort by number, " "by notify level (highlights first) then sort by number, "
@@ -3440,7 +3460,7 @@ config_weechat_init_options ()
NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL); NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
config_look_input_share = config_file_new_option ( config_look_input_share = config_file_new_option (
weechat_config_file, weechat_config_section_look, 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 " N_("share commands, text, or both in input for all buffers (there "
"is still local history for each buffer)"), "is still local history for each buffer)"),
"none|commands|text|all", "none|commands|text|all",
@@ -3572,7 +3592,7 @@ config_weechat_init_options ()
NULL, NULL, NULL); NULL, NULL, NULL);
config_look_nick_color_hash = config_file_new_option ( config_look_nick_color_hash = config_file_new_option (
weechat_config_file, weechat_config_section_look, 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 " N_("hash algorithm used to find the color for a nick: djb2 = variant "
"of djb2 (position of letters matters: anagrams of a nick have " "of djb2 (position of letters matters: anagrams of a nick have "
"different color), djb2_32 = variant of djb2 using 32-bit instead " "different color), djb2_32 = variant of djb2 using 32-bit instead "
@@ -3701,7 +3721,7 @@ config_weechat_init_options ()
NULL, NULL, NULL); NULL, NULL, NULL);
config_look_prefix_align = config_file_new_option ( config_look_prefix_align = config_file_new_option (
weechat_config_file, weechat_config_section_look, weechat_config_file, weechat_config_section_look,
"prefix_align", "enum", "prefix_align", "integer",
N_("prefix alignment (none, left, right (default))"), N_("prefix alignment (none, left, right (default))"),
"none|left|right", 0, 0, "right", NULL, 0, "none|left|right", 0, 0, "right", NULL, 0,
NULL, NULL, NULL, NULL, NULL, NULL,
@@ -3744,7 +3764,7 @@ config_weechat_init_options ()
NULL, NULL, NULL); NULL, NULL, NULL);
config_look_prefix_buffer_align = config_file_new_option ( config_look_prefix_buffer_align = config_file_new_option (
weechat_config_file, weechat_config_section_look, 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 " N_("prefix alignment for buffer name, when many buffers are merged "
"with same number (none, left, right (default))"), "with same number (none, left, right (default))"),
"none|left|right", 0, 0, "right", NULL, 0, "none|left|right", 0, 0, "right", NULL, 0,
@@ -3832,7 +3852,7 @@ config_weechat_init_options ()
NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL); NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
config_look_read_marker = config_file_new_option ( config_look_read_marker = config_file_new_option (
weechat_config_file, weechat_config_section_look, 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 " N_("use a marker (line or char) on buffers to show first unread "
"line"), "line"),
"none|line|char", "none|line|char",
@@ -3882,7 +3902,7 @@ config_weechat_init_options ()
NULL, NULL, NULL); NULL, NULL, NULL);
config_look_save_layout_on_exit = config_file_new_option ( config_look_save_layout_on_exit = config_file_new_option (
weechat_config_file, weechat_config_section_look, 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)"), N_("save layout on exit (buffers, windows, or both)"),
"none|buffers|windows|all", 0, 0, "none", NULL, 0, "none|buffers|windows|all", 0, 0, "none", NULL, 0,
NULL, NULL, NULL, NULL, NULL, NULL,
+17 -23
View File
@@ -126,7 +126,7 @@ doc_gen_open_file (const char *path, const char *doc, const char *name,
if (!file) if (!file)
{ {
string_fprintf (stderr, string_fprintf (stderr,
"doc generator: ERROR: unable to write file \"%s\"\n", "doc generator: ERROR: unable to write file \"%s\"",
filename); filename);
return NULL; return NULL;
} }
@@ -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 * 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 * 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. * 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"); values = strdup ("on, off");
break; break;
case CONFIG_OPTION_TYPE_INTEGER: case CONFIG_OPTION_TYPE_INTEGER:
snprintf (str_values, sizeof (str_values), if (ptr_option->string_values)
"%d .. %d", {
ptr_option->min, values = string_rebuild_split_string (
ptr_option->max); (const char **)ptr_option->string_values, ", ", 0, -1);
values = strdup (str_values); }
else
{
snprintf (str_values, sizeof (str_values),
"%d .. %d",
ptr_option->min,
ptr_option->max);
values = strdup (str_values);
}
break; break;
case CONFIG_OPTION_TYPE_STRING: case CONFIG_OPTION_TYPE_STRING:
if (ptr_option->max <= 0) if (ptr_option->max <= 0)
@@ -565,10 +573,6 @@ doc_gen_user_options (const char *path, const char *lang)
case CONFIG_OPTION_TYPE_COLOR: case CONFIG_OPTION_TYPE_COLOR:
values = strdup (command_help_option_color_values ()); values = strdup (command_help_option_color_values ());
break; break;
case CONFIG_OPTION_TYPE_ENUM:
values = string_rebuild_split_string (
(const char **)ptr_option->string_values, ", ", 0, -1);
break;
default: default:
values = NULL; values = NULL;
break; break;
@@ -1648,7 +1652,7 @@ doc_generate (const char *path)
{ {
string_fprintf ( string_fprintf (
stderr, stderr,
"doc generator: ERROR: failed to create directory \"%s\")\n", "doc generator: ERROR: failed to create directory \"%s\")",
path); path);
goto end; goto end;
} }
@@ -1665,17 +1669,7 @@ doc_generate (const char *path)
for (i = 0; locales[i]; i++) for (i = 0; locales[i]; i++)
{ {
setenv ("LANGUAGE", locales[i], 1); setenv ("LANGUAGE", locales[i], 1);
if (!setlocale (LC_ALL, locales[i])) setlocale (LC_ALL, locales[i]);
{
/* warning on missing locale */
string_fprintf (
stderr,
"doc generator: WARNING: failed to set locale \"%s\", "
"docs will include auto-generated English content\n",
locales[i]);
/* fallback to English */
setlocale (LC_ALL, "C");
}
memcpy (lang, locales[i], 2); memcpy (lang, locales[i], 2);
lang[2] = '\0'; lang[2] = '\0';
for (j = 0; doc_gen_functions[j]; j++) for (j = 0; doc_gen_functions[j]; j++)
+5 -3
View File
@@ -1832,6 +1832,11 @@ eval_replace_vars_cb (void *data, const char *text)
EVAL_STR_TRUE : EVAL_STR_FALSE); EVAL_STR_TRUE : EVAL_STR_FALSE);
goto end; goto end;
case CONFIG_OPTION_TYPE_INTEGER: 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), snprintf (str_value, sizeof (str_value),
"%d", CONFIG_INTEGER(ptr_option)); "%d", CONFIG_INTEGER(ptr_option));
value = strdup (str_value); value = strdup (str_value);
@@ -1842,9 +1847,6 @@ eval_replace_vars_cb (void *data, const char *text)
case CONFIG_OPTION_TYPE_COLOR: case CONFIG_OPTION_TYPE_COLOR:
value = strdup (gui_color_get_name (CONFIG_COLOR(ptr_option))); value = strdup (gui_color_get_name (CONFIG_COLOR(ptr_option)));
goto end; goto end;
case CONFIG_OPTION_TYPE_ENUM:
value = strdup (ptr_option->string_values[CONFIG_ENUM(ptr_option)]);
goto end;
case CONFIG_NUM_OPTION_TYPES: case CONFIG_NUM_OPTION_TYPES:
value = strdup (""); value = strdup ("");
goto end; goto end;
+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); ptr_proxy = proxy_search (proxy);
if (ptr_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: case PROXY_TYPE_HTTP:
rc = network_pass_httpproxy (ptr_proxy, sock, address, port); 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: case PROXY_OPTION_TYPE:
ptr_option = config_file_new_option ( ptr_option = config_file_new_option (
weechat_config_file, weechat_config_section_proxy, weechat_config_file, weechat_config_section_proxy,
option_name, "enum", option_name, "integer",
N_("proxy type (http (default), socks4, socks5)"), N_("proxy type (http (default), socks4, socks5)"),
"http|socks4|socks5", 0, 0, value, NULL, 0, "http|socks4|socks5", 0, 0, value, NULL, 0,
NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL); 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)) if (!infolist_new_var_string (ptr_item, "name", proxy->name))
return 0; 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; 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; return 0;
if (!infolist_new_var_integer (ptr_item, "ipv6", CONFIG_INTEGER(proxy->options[PROXY_OPTION_IPV6]))) if (!infolist_new_var_integer (ptr_item, "ipv6", CONFIG_INTEGER(proxy->options[PROXY_OPTION_IPV6])))
return 0; return 0;
@@ -667,8 +667,8 @@ proxy_print_log ()
log_printf ("[proxy (addr:0x%lx)]", ptr_proxy); log_printf ("[proxy (addr:0x%lx)]", ptr_proxy);
log_printf (" name . . . . . . . . . : '%s'", ptr_proxy->name); log_printf (" name . . . . . . . . . : '%s'", ptr_proxy->name);
log_printf (" type . . . . . . . . . : %d (%s)", log_printf (" type . . . . . . . . . : %d (%s)",
CONFIG_ENUM(ptr_proxy->options[PROXY_OPTION_TYPE]), CONFIG_INTEGER(ptr_proxy->options[PROXY_OPTION_TYPE]),
proxy_type_string[CONFIG_ENUM(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 (" ipv6 . . . . . . . . . : %d", CONFIG_INTEGER(ptr_proxy->options[PROXY_OPTION_IPV6]));
log_printf (" address. . . . . . . . : '%s'", CONFIG_STRING(ptr_proxy->options[PROXY_OPTION_ADDRESS])); log_printf (" address. . . . . . . . : '%s'", CONFIG_STRING(ptr_proxy->options[PROXY_OPTION_ADDRESS]));
log_printf (" port . . . . . . . . . : %d", CONFIG_INTEGER(ptr_proxy->options[PROXY_OPTION_PORT])); 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++, gui_chat_printf_y (secure_buffer, line++,
"Hash algo: %s Cipher: %s Salt: %s", "Hash algo: %s Cipher: %s Salt: %s",
secure_hash_algo_string[CONFIG_ENUM(secure_config_crypt_hash_algo)], secure_hash_algo_string[CONFIG_INTEGER(secure_config_crypt_hash_algo)],
secure_cipher_string[CONFIG_ENUM(secure_config_crypt_cipher)], secure_cipher_string[CONFIG_INTEGER(secure_config_crypt_cipher)],
(CONFIG_BOOLEAN(secure_config_crypt_salt)) ? _("on") : _("off")); (CONFIG_BOOLEAN(secure_config_crypt_salt)) ? _("on") : _("off"));
/* display passphrase */ /* display passphrase */
+6 -6
View File
@@ -250,8 +250,8 @@ secure_config_data_read_cb (const void *pointer, void *data,
rc = secure_decrypt_data ( rc = secure_decrypt_data (
buffer, buffer,
length_buffer, length_buffer,
secure_hash_algo[CONFIG_ENUM(secure_config_crypt_hash_algo)], secure_hash_algo[CONFIG_INTEGER(secure_config_crypt_hash_algo)],
secure_cipher[CONFIG_ENUM(secure_config_crypt_cipher)], secure_cipher[CONFIG_INTEGER(secure_config_crypt_cipher)],
secure_passphrase, secure_passphrase,
&decrypted, &decrypted,
&length_decrypted); &length_decrypted);
@@ -326,8 +326,8 @@ secure_config_data_write_map_cb (void *data,
/* encrypt password using passphrase */ /* encrypt password using passphrase */
rc = secure_encrypt_data ( rc = secure_encrypt_data (
value, strlen (value) + 1, value, strlen (value) + 1,
secure_hash_algo[CONFIG_ENUM(secure_config_crypt_hash_algo)], secure_hash_algo[CONFIG_INTEGER(secure_config_crypt_hash_algo)],
secure_cipher[CONFIG_ENUM(secure_config_crypt_cipher)], secure_cipher[CONFIG_INTEGER(secure_config_crypt_cipher)],
secure_passphrase, secure_passphrase,
&buffer, &buffer,
&length_buffer); &length_buffer);
@@ -465,14 +465,14 @@ secure_config_init_options ()
{ {
secure_config_crypt_cipher = config_file_new_option ( secure_config_crypt_cipher = config_file_new_option (
secure_config_file, secure_config_section_crypt, secure_config_file, secure_config_section_crypt,
"cipher", "enum", "cipher", "integer",
N_("cipher used to crypt data (the number after algorithm is the " N_("cipher used to crypt data (the number after algorithm is the "
"size of the key in bits)"), "size of the key in bits)"),
"aes128|aes192|aes256", 0, 0, "aes256", NULL, 0, "aes128|aes192|aes256", 0, 0, "aes256", NULL, 0,
NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL); NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
secure_config_crypt_hash_algo = config_file_new_option ( secure_config_crypt_hash_algo = config_file_new_option (
secure_config_file, secure_config_section_crypt, secure_config_file, secure_config_section_crypt,
"hash_algo", "enum", "hash_algo", "integer",
N_("hash algorithm used to check the decrypted data"), N_("hash algorithm used to check the decrypted data"),
"sha224|sha256|sha384|sha512", 0, 0, "sha256", NULL, 0, "sha224|sha256|sha384|sha512", 0, 0, "sha256", NULL, 0,
NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL); 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 ( rc = secure_decrypt_data (
buffer, buffer,
length_buffer, length_buffer,
secure_hash_algo[CONFIG_ENUM(secure_config_crypt_hash_algo)], secure_hash_algo[CONFIG_INTEGER(secure_config_crypt_hash_algo)],
secure_cipher[CONFIG_ENUM(secure_config_crypt_cipher)], secure_cipher[CONFIG_INTEGER(secure_config_crypt_cipher)],
passphrase, passphrase,
&decrypted, &decrypted,
&length_decrypted); &length_decrypted);
+1 -1
View File
@@ -1249,7 +1249,7 @@ weeurl_set_proxy (CURL *curl, struct t_proxy *proxy)
return; return;
/* set proxy type */ /* set proxy type */
switch (CONFIG_ENUM(proxy->options[PROXY_OPTION_TYPE])) switch (CONFIG_INTEGER(proxy->options[PROXY_OPTION_TYPE]))
{ {
case PROXY_TYPE_HTTP: case PROXY_TYPE_HTTP:
curl_easy_setopt (curl, CURLOPT_PROXYTYPE, CURLPROXY_HTTP); curl_easy_setopt (curl, CURLOPT_PROXYTYPE, CURLPROXY_HTTP);
+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])) 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: case GUI_BAR_POSITION_BOTTOM:
GUI_BAR_WINDOW_OBJECTS(bar_window)->win_separator = 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); 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)) ? && (window != gui_current_window)) ?
GUI_BAR_OPTION_COLOR_BG_INACTIVE : GUI_BAR_OPTION_COLOR_BG; 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)) if (!bar_window || (bar_window->x < 0) || (bar_window->y < 0))
return; 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)) ? && (window != gui_current_window)) ?
GUI_BAR_OPTION_COLOR_BG_INACTIVE : GUI_BAR_OPTION_COLOR_BG; 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; 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_filling = gui_bar_get_filling (bar_window->bar);
bar_size = CONFIG_INTEGER(bar_window->bar->options[GUI_BAR_OPTION_SIZE]); bar_size = CONFIG_INTEGER(bar_window->bar->options[GUI_BAR_OPTION_SIZE]);
+19 -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; struct t_gui_line *last_read_line;
/* marker is disabled in config? */ /* 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; return 0;
/* marker is not set for buffer? */ /* marker is not set for buffer? */
@@ -204,7 +204,7 @@ gui_chat_display_horizontal_line (struct t_gui_window *window, int simulate)
return; return;
gui_window_coords_init_line (window, window->win_chat_cursor_y); 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); read_marker_string = CONFIG_STRING(config_look_read_marker_string);
if (!read_marker_string || !read_marker_string[0]) 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; window->win_chat_cursor_x += length_align;
if ((CONFIG_ENUM(config_look_align_end_of_lines) == CONFIG_LOOK_ALIGN_END_OF_LINES_MESSAGE) if ((CONFIG_INTEGER(config_look_align_end_of_lines) == CONFIG_LOOK_ALIGN_END_OF_LINES_MESSAGE)
&& (CONFIG_ENUM(config_look_prefix_align) != CONFIG_LOOK_PREFIX_ALIGN_NONE) && (CONFIG_INTEGER(config_look_prefix_align) != CONFIG_LOOK_PREFIX_ALIGN_NONE)
&& CONFIG_STRING(config_look_prefix_suffix) && CONFIG_STRING(config_look_prefix_suffix)
&& CONFIG_STRING(config_look_prefix_suffix)[0] && CONFIG_STRING(config_look_prefix_suffix)[0]
&& line->data->date > 0) && line->data->date > 0)
@@ -892,7 +892,7 @@ gui_chat_display_time_to_prefix (struct t_gui_window *window,
if (mixed_lines && (line->data->buffer->active != 2)) if (mixed_lines && (line->data->buffer->active != 2))
{ {
if ((CONFIG_INTEGER(config_look_prefix_buffer_align_max) > 0) 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 = length_allowed =
(mixed_lines->buffer_max_length <= CONFIG_INTEGER(config_look_prefix_buffer_align_max)) ? (mixed_lines->buffer_max_length <= CONFIG_INTEGER(config_look_prefix_buffer_align_max)) ?
@@ -905,7 +905,7 @@ gui_chat_display_time_to_prefix (struct t_gui_window *window,
length = gui_chat_strlen_screen (short_name); length = gui_chat_strlen_screen (short_name);
num_spaces = length_allowed - length; 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) if (!simulate)
{ {
@@ -941,7 +941,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; window->coords[window->win_chat_cursor_y].buffer_x1 = window->win_chat_cursor_x;
/* not enough space to display full buffer name? => truncate it! */ /* 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)) && (num_spaces < 0))
{ {
chars_to_display = length_allowed; chars_to_display = length_allowed;
@@ -976,7 +976,7 @@ gui_chat_display_time_to_prefix (struct t_gui_window *window,
if (window->win_chat_cursor_y < window->coords_size) if (window->win_chat_cursor_y < window->coords_size)
window->coords[window->win_chat_cursor_y].buffer_x2 = window->win_chat_cursor_x - 1; 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)) && (num_spaces < 0))
{ {
if (!simulate) if (!simulate)
@@ -1017,9 +1017,9 @@ gui_chat_display_time_to_prefix (struct t_gui_window *window,
GUI_COLOR_CHAT_INACTIVE_BUFFER, GUI_COLOR_CHAT_INACTIVE_BUFFER,
GUI_COLOR_CHAT); GUI_COLOR_CHAT);
} }
if ((CONFIG_ENUM(config_look_prefix_buffer_align) == CONFIG_LOOK_PREFIX_BUFFER_ALIGN_LEFT) if ((CONFIG_INTEGER(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_INTEGER(config_look_prefix_buffer_align) == CONFIG_LOOK_PREFIX_BUFFER_ALIGN_NONE)
&& (CONFIG_ENUM(config_look_prefix_align) != CONFIG_LOOK_PREFIX_ALIGN_NONE))) && (CONFIG_INTEGER(config_look_prefix_align) != CONFIG_LOOK_PREFIX_ALIGN_NONE)))
{ {
for (i = 0; i < num_spaces; i++) for (i = 0; i < num_spaces; i++)
{ {
@@ -1083,7 +1083,7 @@ gui_chat_display_time_to_prefix (struct t_gui_window *window,
/* display prefix */ /* display prefix */
if (ptr_prefix if (ptr_prefix
&& (ptr_prefix[0] && (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) if (!simulate)
{ {
@@ -1116,7 +1116,7 @@ gui_chat_display_time_to_prefix (struct t_gui_window *window,
num_spaces = length_allowed - prefix_length - length_nick_prefix_suffix; 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++) for (i = 0; i < num_spaces; i++)
{ {
@@ -1195,7 +1195,7 @@ gui_chat_display_time_to_prefix (struct t_gui_window *window,
/* not enough space to display full prefix? => truncate it! */ /* not enough space to display full prefix? => truncate it! */
extra_spaces = 0; 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)) && (num_spaces < 0))
{ {
chars_to_display = length_allowed - length_nick_prefix_suffix; chars_to_display = length_allowed - length_nick_prefix_suffix;
@@ -1256,7 +1256,7 @@ gui_chat_display_time_to_prefix (struct t_gui_window *window,
} }
if (!CONFIG_BOOLEAN(config_look_prefix_align_more_after) 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)) && (num_spaces < 0))
{ {
if (!simulate) if (!simulate)
@@ -1288,7 +1288,7 @@ gui_chat_display_time_to_prefix (struct t_gui_window *window,
simulate, 0, 0); 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) if (!simulate)
{ {
@@ -1309,7 +1309,7 @@ gui_chat_display_time_to_prefix (struct t_gui_window *window,
} }
if (CONFIG_BOOLEAN(config_look_prefix_align_more_after) 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)) && (num_spaces < 0))
{ {
if (!simulate) if (!simulate)
@@ -1345,7 +1345,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)
&& CONFIG_STRING(config_look_prefix_suffix)[0]) && CONFIG_STRING(config_look_prefix_suffix)[0])
{ {
@@ -1709,7 +1709,7 @@ gui_chat_display_line (struct t_gui_window *window, struct t_gui_line *line,
else else
{ {
/* display read marker if needed */ /* 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
&& (window->buffer->lines->last_read_line == gui_line_get_prev_displayed (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) else if (context == GUI_KEY_CONTEXT_CURSOR)
{ {
/* general & move */ /* general & move */
BIND("return", "/cursor stop"); BIND("return", "/cursor stop");
BIND("up", "/cursor move up"); BIND("up", "/cursor move up");
BIND("down", "/cursor move down"); BIND("down", "/cursor move down");
BIND("left", "/cursor move left"); BIND("left", "/cursor move left");
BIND("right", "/cursor move right"); BIND("right", "/cursor move right");
BIND("meta-up", "/cursor move edge_top"); BIND("meta-up", "/cursor move area_up");
BIND("meta-down", "/cursor move edge_bottom"); BIND("meta-down", "/cursor move area_down");
BIND("meta-left", "/cursor move edge_left"); BIND("meta-left", "/cursor move area_left");
BIND("meta-right", "/cursor move edge_right"); BIND("meta-right","/cursor move area_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");
/* chat */ /* chat */
BIND("@chat:m", "hsignal:chat_quote_message;/cursor stop"); BIND("@chat:m", "hsignal:chat_quote_message;/cursor stop");
BIND("@chat:l", "hsignal:chat_quote_focused_line;/cursor stop"); BIND("@chat:l", "hsignal:chat_quote_focused_line;/cursor stop");
+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) 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 && ptr_bar->bar_window
&& !CONFIG_BOOLEAN(ptr_bar->options[GUI_BAR_OPTION_HIDDEN])) && !CONFIG_BOOLEAN(ptr_bar->options[GUI_BAR_OPTION_HIDDEN]))
{ {
+2 -2
View File
@@ -587,7 +587,7 @@ gui_bar_item_update (const char *item_name)
if (!CONFIG_BOOLEAN(ptr_bar->options[GUI_BAR_OPTION_HIDDEN])) if (!CONFIG_BOOLEAN(ptr_bar->options[GUI_BAR_OPTION_HIDDEN]))
check_bar_conditions = 1; 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) if (ptr_bar->bar_window)
{ {
@@ -621,7 +621,7 @@ gui_bar_item_update (const char *item_name)
*/ */
if (check_bar_conditions) 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); condition_ok = gui_bar_check_conditions (ptr_bar, NULL);
if ((condition_ok && !ptr_bar->bar_window) if ((condition_ok && !ptr_bar->bar_window)
+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) if (*bar_window)
{ {
filling = gui_bar_get_filling ((*bar_window)->bar); 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_line = y - (*bar_window)->y + (*bar_window)->scroll_y;
*bar_item_col = x - (*bar_window)->x + (*bar_window)->scroll_x; *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_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) if ((CONFIG_INTEGER(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)) && (CONFIG_INTEGER(ptr_bar_window->bar->options[GUI_BAR_OPTION_POSITION]) == (int)position))
{ {
switch (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); 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: case GUI_BAR_POSITION_BOTTOM:
bar_window->x = x1 + add_left; 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 else
split_items[i] = NULL; split_items[i] = NULL;
} }
if ((CONFIG_ENUM(bar_window->bar->options[GUI_BAR_OPTION_POSITION]) == GUI_BAR_POSITION_BOTTOM) if ((CONFIG_INTEGER(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)) || (CONFIG_INTEGER(bar_window->bar->options[GUI_BAR_OPTION_POSITION]) == GUI_BAR_POSITION_TOP))
{ {
columns = bar_window->width / (max_length_screen + 1); columns = bar_window->width / (max_length_screen + 1);
if (columns == 0) if (columns == 0)
@@ -1008,7 +1008,7 @@ gui_bar_window_can_use_spacer (struct t_gui_bar_window *bar_window)
if (!bar_window) if (!bar_window)
return 0; 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); filling = gui_bar_get_filling (bar_window->bar);
bar_size = CONFIG_INTEGER(bar_window->bar->options[GUI_BAR_OPTION_SIZE]); 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 (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))) && (!gui_bar_check_conditions (bar, window)))
return; return;
} }
@@ -1272,7 +1272,7 @@ gui_bar_window_get_max_size_in_window (struct t_gui_bar_window *bar_window,
if (bar_window && 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_BOTTOM:
case GUI_BAR_POSITION_TOP: 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; 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_check_conditions (ptr_bar_win->bar, window)))
{ {
gui_bar_window_free (ptr_bar_win, 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 */ /* remove unused root bars */
for (ptr_bar = gui_bars; ptr_bar; ptr_bar = ptr_bar->next_bar) 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 && ptr_bar->bar_window
&& (!gui_bar_check_conditions (ptr_bar, NULL))) && (!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 */ /* add missing window bars in window */
for (ptr_bar = gui_bars; ptr_bar; ptr_bar = ptr_bar->next_bar) 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_window_search_bar (window, ptr_bar))
&& (gui_bar_check_conditions (ptr_bar, window))) && (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 */ /* add missing root bars */
for (ptr_bar = gui_bars; ptr_bar; ptr_bar = ptr_bar->next_bar) 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 && !ptr_bar->bar_window
&& (gui_bar_check_conditions (ptr_bar, NULL))) && (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_width = 0;
sub_height = 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_BOTTOM:
case GUI_BAR_POSITION_TOP: 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; for (ptr_window = gui_windows; ptr_window;
ptr_window = ptr_window->next_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))) || (gui_bar_window_search_bar (ptr_window, bar)))
{ {
if ((ptr_window->win_chat_width - sub_width < 1) 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 enum t_gui_bar_filling
gui_bar_get_filling (struct t_gui_bar *bar) gui_bar_get_filling (struct t_gui_bar *bar)
{ {
if ((CONFIG_ENUM(bar->options[GUI_BAR_OPTION_POSITION]) == GUI_BAR_POSITION_BOTTOM) if ((CONFIG_INTEGER(bar->options[GUI_BAR_OPTION_POSITION]) == GUI_BAR_POSITION_BOTTOM)
|| (CONFIG_ENUM(bar->options[GUI_BAR_OPTION_POSITION]) == GUI_BAR_POSITION_TOP)) || (CONFIG_INTEGER(bar->options[GUI_BAR_OPTION_POSITION]) == GUI_BAR_POSITION_TOP))
return CONFIG_ENUM(bar->options[GUI_BAR_OPTION_FILLING_TOP_BOTTOM]); 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]) if (!CONFIG_BOOLEAN(ptr_bar->options[GUI_BAR_OPTION_HIDDEN])
&& ptr_bar->bar_window) && ptr_bar->bar_window)
{ {
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)
&& (CONFIG_ENUM(ptr_bar->options[GUI_BAR_OPTION_POSITION]) == (int)position)) && (CONFIG_INTEGER(ptr_bar->options[GUI_BAR_OPTION_POSITION]) == (int)position))
{ {
total_size += gui_bar_window_get_current_size (ptr_bar->bar_window); total_size += gui_bar_window_get_current_size (ptr_bar->bar_window);
if (CONFIG_INTEGER(ptr_bar->options[GUI_BAR_OPTION_SEPARATOR])) 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; 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); gui_window_ask_refresh (1);
else else
{ {
@@ -654,7 +654,7 @@ gui_bar_apply_current_size (struct t_gui_bar *bar)
struct t_gui_window *ptr_win; struct t_gui_window *ptr_win;
struct t_gui_bar_window *ptr_bar_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, gui_bar_window_set_current_size (bar->bar_window,
NULL, 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); ptr_bar = gui_bar_search_with_option_name (option->name);
if (ptr_bar) 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])) 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: case GUI_BAR_OPTION_TYPE:
ptr_option = config_file_new_option ( ptr_option = config_file_new_option (
weechat_config_file, weechat_config_section_bar, weechat_config_file, weechat_config_section_bar,
option_name, "enum", option_name, "integer",
N_("bar type (root, window, window_active, window_inactive)"), N_("bar type (root, window, window_active, window_inactive)"),
"root|window|window_active|window_inactive", "root|window|window_active|window_inactive",
0, 0, default_value, value, 0, 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: case GUI_BAR_OPTION_POSITION:
ptr_option = config_file_new_option ( ptr_option = config_file_new_option (
weechat_config_file, weechat_config_section_bar, weechat_config_file, weechat_config_section_bar,
option_name, "enum", option_name, "integer",
N_("bar position (bottom, top, left, right)"), N_("bar position (bottom, top, left, right)"),
"bottom|top|left|right", 0, 0, default_value, value, 0, "bottom|top|left|right", 0, 0, default_value, value, 0,
NULL, NULL, NULL, 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: case GUI_BAR_OPTION_FILLING_TOP_BOTTOM:
ptr_option = config_file_new_option ( ptr_option = config_file_new_option (
weechat_config_file, weechat_config_section_bar, weechat_config_file, weechat_config_section_bar,
option_name, "enum", option_name, "integer",
N_("bar filling direction (\"horizontal\" (from left to right) " N_("bar filling direction (\"horizontal\" (from left to right) "
"or \"vertical\" (from top to bottom)) when bar position is " "or \"vertical\" (from top to bottom)) when bar position is "
"top or bottom"), "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: case GUI_BAR_OPTION_FILLING_LEFT_RIGHT:
ptr_option = config_file_new_option ( ptr_option = config_file_new_option (
weechat_config_file, weechat_config_section_bar, weechat_config_file, weechat_config_section_bar,
option_name, "enum", option_name, "integer",
N_("bar filling direction (\"horizontal\" (from left to right) " N_("bar filling direction (\"horizontal\" (from left to right) "
"or \"vertical\" (from top to bottom)) when bar position is " "or \"vertical\" (from top to bottom)) when bar position is "
"left or right"), "left or right"),
@@ -1669,7 +1669,7 @@ gui_bar_new_with_options (const char *name,
gui_bar_insert (new_bar); gui_bar_insert (new_bar);
/* add window 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 */ /* create only one window for bar */
gui_bar_window_new (new_bar, NULL); 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, gui_bar_window_scroll (bar->bar_window, NULL,
add_x, scroll_beginning, scroll_end, add_x, scroll_beginning, scroll_end,
@@ -2352,15 +2352,15 @@ gui_bar_add_to_infolist (struct t_infolist *infolist,
return 0; return 0;
if (!infolist_new_var_integer (ptr_item, "priority", CONFIG_INTEGER(bar->options[GUI_BAR_OPTION_PRIORITY]))) if (!infolist_new_var_integer (ptr_item, "priority", CONFIG_INTEGER(bar->options[GUI_BAR_OPTION_PRIORITY])))
return 0; 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; return 0;
if (!infolist_new_var_string (ptr_item, "conditions", CONFIG_STRING(bar->options[GUI_BAR_OPTION_CONDITIONS]))) if (!infolist_new_var_string (ptr_item, "conditions", CONFIG_STRING(bar->options[GUI_BAR_OPTION_CONDITIONS])))
return 0; 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; 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; 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; return 0;
if (!infolist_new_var_integer (ptr_item, "size", CONFIG_INTEGER(bar->options[GUI_BAR_OPTION_SIZE]))) if (!infolist_new_var_integer (ptr_item, "size", CONFIG_INTEGER(bar->options[GUI_BAR_OPTION_SIZE])))
return 0; 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 (" 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 (" priority . . . . . . . : %d", CONFIG_INTEGER(ptr_bar->options[GUI_BAR_OPTION_PRIORITY]));
log_printf (" type . . . . . . . . . : %d (%s)", log_printf (" type . . . . . . . . . : %d (%s)",
CONFIG_ENUM(ptr_bar->options[GUI_BAR_OPTION_TYPE]), CONFIG_INTEGER(ptr_bar->options[GUI_BAR_OPTION_TYPE]),
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])]);
log_printf (" conditions . . . . . . : '%s'", CONFIG_STRING(ptr_bar->options[GUI_BAR_OPTION_CONDITIONS])); log_printf (" conditions . . . . . . : '%s'", CONFIG_STRING(ptr_bar->options[GUI_BAR_OPTION_CONDITIONS]));
log_printf (" position . . . . . . . : %d (%s)", log_printf (" position . . . . . . . : %d (%s)",
CONFIG_ENUM(ptr_bar->options[GUI_BAR_OPTION_POSITION]), CONFIG_INTEGER(ptr_bar->options[GUI_BAR_OPTION_POSITION]),
gui_bar_position_string[CONFIG_ENUM(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)", log_printf (" filling_top_bottom . . : %d (%s)",
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_ENUM(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)", log_printf (" filling_left_right . . : %d (%s)",
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_ENUM(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 . . . . . . . . . : %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 (" size_max . . . . . . . : %d", CONFIG_INTEGER(ptr_bar->options[GUI_BAR_OPTION_SIZE_MAX]));
log_printf (" color_fg . . . . . . . : %d (%s)", log_printf (" color_fg . . . . . . . : %d (%s)",
+64 -47
View File
@@ -301,45 +301,50 @@ gui_buffer_local_var_remove_all (struct t_gui_buffer *buffer)
int int
gui_buffer_notify_get (struct t_gui_buffer *buffer) 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; struct t_config_option *ptr_option;
if (!buffer || !buffer->full_name) if (!buffer)
return CONFIG_ENUM(config_look_buffer_notify_default); return CONFIG_INTEGER(config_look_buffer_notify_default);
option_name = strdup (buffer->full_name); length = strlen (buffer->full_name) + 1;
if (!option_name) option_name = malloc (length);
return CONFIG_ENUM(config_look_buffer_notify_default); if (option_name)
ptr_option = NULL;
while (1)
{ {
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, ptr_option = config_file_search_option (weechat_config_file,
weechat_config_section_notify, weechat_config_section_notify,
option_name); option_name);
free (option_name);
if (ptr_option) if (ptr_option)
{
free (option_name);
return CONFIG_INTEGER(ptr_option); 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 */ /* 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 if (!pos_buffer
&& (buffer->layout_number == 0) && (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; for (ptr_buffer = gui_buffers; ptr_buffer;
ptr_buffer = ptr_buffer->next_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); gui_buffer_build_full_name (new_buffer);
new_buffer->short_name = NULL; new_buffer->short_name = NULL;
new_buffer->type = GUI_BUFFER_TYPE_DEFAULT; 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->num_displayed = 0;
new_buffer->active = 1; new_buffer->active = 1;
new_buffer->hidden = 0; 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 *list)
{ {
struct t_weelist_item *ptr_list_item; struct t_weelist_item *ptr_list_item;
int length;
const char *ptr_string; const char *ptr_string;
char **words; char *words;
if (!buffer) if (!buffer)
return; 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) if (!words)
return; 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_string = weelist_string (ptr_list_item);
ptr_list_item = weelist_next (ptr_list_item)) if (ptr_string)
{ {
ptr_string = weelist_string (ptr_list_item); strcat (words, ptr_string);
if (ptr_string) if (weelist_next (ptr_list_item))
{ strcat (words, ",");
if (*words[0])
string_dyn_concat (words, ",", -1);
string_dyn_concat (words, ptr_string, -1);
}
} }
} }
gui_buffer_set_highlight_words (buffer, *words); gui_buffer_set_highlight_words (buffer, words);
string_dyn_free (words, 1); free (words);
} }
/* /*
@@ -2354,7 +2371,7 @@ gui_buffer_set (struct t_gui_buffer *buffer, const char *property,
if (number < GUI_BUFFER_NUM_NOTIFY) if (number < GUI_BUFFER_NUM_NOTIFY)
{ {
if (number < 0) 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]; ptr_notify = gui_buffer_notify_string[number];
} }
} }
@@ -4605,7 +4622,7 @@ gui_buffer_input_move_to_buffer (struct t_gui_buffer *from_buffer,
* - input buffer in first buffer is not empty * - input buffer in first buffer is not empty
*/ */
if (!from_buffer || !to_buffer || (from_buffer == to_buffer) 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]) || !from_buffer->input_buffer || !from_buffer->input_buffer[0])
return; return;
@@ -4615,8 +4632,8 @@ gui_buffer_input_move_to_buffer (struct t_gui_buffer *from_buffer,
* then do nothing * then do nothing
*/ */
is_command = (string_input_for_buffer (from_buffer->input_buffer) == NULL) ? 1 : 0; 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)) if ((is_command && (CONFIG_INTEGER(config_look_input_share) == CONFIG_LOOK_INPUT_SHARE_TEXT))
|| (!is_command && (CONFIG_ENUM(config_look_input_share) == CONFIG_LOOK_INPUT_SHARE_COMMANDS))) || (!is_command && (CONFIG_INTEGER(config_look_input_share) == CONFIG_LOOK_INPUT_SHARE_COMMANDS)))
return; return;
/* /*
+157 -199
View File
@@ -32,7 +32,6 @@
#include <regex.h> #include <regex.h>
#include "../core/weechat.h" #include "../core/weechat.h"
#include "../core/wee-arraylist.h"
#include "../core/wee-config.h" #include "../core/wee-config.h"
#include "../core/wee-eval.h" #include "../core/wee-eval.h"
#include "../core/wee-hashtable.h" #include "../core/wee-hashtable.h"
@@ -593,18 +592,15 @@ gui_chat_printf_date_tags_internal (struct t_gui_buffer *buffer,
const char *tags, const char *tags,
char *message) 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 *ptr_msg, *pos_prefix, *pos_tab;
char *modifier_data, *string, *new_string, *pos_newline; char *modifier_data, *string, *new_string, *pos_newline;
struct t_gui_line *new_line, *new_line2; struct t_gui_line *new_line;
struct t_arraylist *buffers;
new_line = NULL; new_line = NULL;
new_line2 = NULL;
string = NULL; string = NULL;
modifier_data = NULL; modifier_data = NULL;
new_string = NULL; new_string = NULL;
buffers = NULL;
display_time = 1; display_time = 1;
@@ -647,145 +643,130 @@ gui_chat_printf_date_tags_internal (struct t_gui_buffer *buffer,
if (!new_line) if (!new_line)
goto no_print; goto no_print;
buffers = hook_line_exec (new_line); hook_line_exec (new_line);
if (!buffers || !new_line->data->buffer)
if (!new_line->data->buffer)
goto no_print; goto no_print;
num_buffers = arraylist_size (buffers); /* call modifier for message printed ("weechat_print") */
for (i = 0; i < num_buffers; i++) 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, snprintf (modifier_data, length_data,
arraylist_get (buffers, i)); "0x%lx;%s",
if (!new_line2) (unsigned long)buffer,
goto no_print; (tags) ? tags : "");
if (display_time)
/* 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, snprintf (string, length_str,
"0x%lx;%s", "%s\t%s",
(unsigned long)buffer, (new_line->data->prefix && new_line->data->prefix[0]) ?
(tags) ? tags : ""); new_line->data->prefix : " ",
if (display_time) (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", * modifier returned empty message, then we'll not
(new_line2->data->prefix && new_line2->data->prefix[0]) ? * print anything
new_line2->data->prefix : " ", */
(new_line2->data->message) ? new_line2->data->message : ""); goto no_print;
} }
else else if (strcmp (string, new_string) != 0)
{ {
snprintf (string, length_str, if (!buffer->input_multiline)
"\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 input_multiline is not set, keep only first line */
* modifier returned empty message, then we'll not pos_newline = strchr (new_string, '\n');
* print anything if (pos_newline)
*/ pos_newline[0] = '\0';
goto no_print;
} }
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 */ /* use new message if there are changes */
display_time = 1; display_time = 1;
pos_prefix = NULL; pos_prefix = NULL;
ptr_msg = new_string; ptr_msg = new_string;
/* space followed by tab => prefix ignored */ /* space followed by tab => prefix ignored */
if ((ptr_msg[0] == ' ') && (ptr_msg[1] == '\t')) 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; ptr_msg += 2;
} }
else else
{ {
/* if two first chars are tab, then do not display time */ /* if tab found, use prefix (before tab) */
if ((ptr_msg[0] == '\t') && (ptr_msg[1] == '\t')) pos_tab = strchr (ptr_msg, '\t');
if (pos_tab)
{ {
display_time = 0; pos_tab[0] = '\0';
new_line2->data->date = 0; pos_prefix = ptr_msg;
ptr_msg += 2; ptr_msg = pos_tab + 1;
}
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;
}
} }
} }
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) /* add line in the buffer */
{ gui_line_add (new_line);
gui_line_free_data (new_line);
free (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) if (string)
free (string); free (string);
if (modifier_data) if (modifier_data)
free (modifier_data); free (modifier_data);
if (new_string) if (new_string)
free (new_string); free (new_string);
if (buffers)
arraylist_free (buffers);
return; return;
@@ -795,19 +776,12 @@ no_print:
gui_line_free_data (new_line); gui_line_free_data (new_line);
free (new_line); free (new_line);
} }
if (new_line2)
{
gui_line_free_data (new_line2);
free (new_line2);
}
if (string) if (string)
free (string); free (string);
if (modifier_data) if (modifier_data)
free (modifier_data); free (modifier_data);
if (new_string) if (new_string)
free (new_string); free (new_string);
if (buffers)
arraylist_free (buffers);
} }
/* /*
@@ -888,7 +862,7 @@ gui_chat_printf_date_tags (struct t_gui_buffer *buffer, time_t date,
{ {
time_t date_printed; time_t date_printed;
char *pos, *pos_end; char *pos, *pos_end;
int one_line; int one_line = 0;
if (!message) if (!message)
return; return;
@@ -911,11 +885,9 @@ gui_chat_printf_date_tags (struct t_gui_buffer *buffer, time_t date,
if (date <= 0) if (date <= 0)
date = date_printed; date = date_printed;
one_line = 0;
pos = vbuffer; pos = vbuffer;
while (pos) while (pos)
{ {
pos_end = NULL;
if (!buffer || !buffer->input_multiline) if (!buffer || !buffer->input_multiline)
{ {
/* display until next end of line */ /* display until next end of line */
@@ -939,7 +911,9 @@ gui_chat_printf_date_tags (struct t_gui_buffer *buffer, time_t date,
} }
if (one_line) if (one_line)
{
break; break;
}
pos = (pos_end && pos_end[1]) ? pos_end + 1 : NULL; pos = (pos_end && pos_end[1]) ? pos_end + 1 : NULL;
} }
@@ -958,13 +932,9 @@ void
gui_chat_printf_y_date_tags (struct t_gui_buffer *buffer, int y, time_t date, gui_chat_printf_y_date_tags (struct t_gui_buffer *buffer, int y, time_t date,
const char *tags, const char *message, ...) const char *tags, const char *message, ...)
{ {
struct t_gui_line *ptr_line, *new_line, *new_line2, *new_line_empty; struct t_gui_line *ptr_line, *new_line, *new_line_empty;
struct t_arraylist *buffers;
time_t date_printed; time_t date_printed;
int i, last_y, num_lines_to_add, num_buffers; int i, last_y, num_lines_to_add;
new_line = NULL;
buffers = NULL;
if (!message) if (!message)
return; return;
@@ -994,96 +964,84 @@ gui_chat_printf_y_date_tags (struct t_gui_buffer *buffer, int y, time_t date,
if (!new_line) if (!new_line)
goto end; goto end;
buffers = hook_line_exec (new_line); hook_line_exec (new_line);
if (!buffers || !new_line->data->buffer)
if (!new_line->data->buffer)
{ {
gui_line_free_data (new_line); gui_line_free_data (new_line);
free (new_line); free (new_line);
goto end; goto end;
} }
num_buffers = arraylist_size (buffers); if (new_line->data->message && new_line->data->message[0])
for (i = 0; i < num_buffers; i++)
{ {
new_line2 = gui_line_dup_for_buffer (new_line, if (gui_init_ok)
arraylist_get (buffers, i));
if (new_line2->data->message && new_line2->data->message[0])
{ {
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 */ num_lines_to_add = y - new_line->data->buffer->own_lines->last_line->data->y - 1;
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);
} }
else else
{ {
string_fprintf (stdout, "%s\n", new_line2->data->message); num_lines_to_add = y;
gui_line_free_data (new_line2);
free (new_line2);
} }
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 else
{ {
if (gui_init_ok) string_fprintf (stdout, "%s\n", new_line->data->message);
{ gui_line_free_data (new_line);
/* delete line */ free (new_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);
} }
} }
else
end:
if (new_line)
{ {
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); gui_line_free_data (new_line);
free (new_line); free (new_line);
} }
end:
free (vbuffer); free (vbuffer);
if (buffers)
arraylist_free (buffers);
} }
/* /*
+17 -152
View File
@@ -202,104 +202,6 @@ gui_cursor_move_add_xy (int add_x, int add_y)
gui_window_move_cursor (); 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). * 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. * 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 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_window *ptr_bar_win;
struct t_gui_bar *ptr_bar; struct t_gui_bar *ptr_bar;
area_found = 0; area_found = 0;
x1 = 0; x = 0;
y1 = 0; y = 0;
x2 = 0;
y2 = 0;
if (strcmp (area, "chat") == 0) if (strcmp (area, "chat") == 0)
{ {
area_found = 1; area_found = 1;
x1 = gui_current_window->win_chat_x; x = gui_current_window->win_chat_x;
y1 = gui_current_window->win_chat_y; y = gui_current_window->win_chat_y;
x2 = x1 + gui_current_window->win_chat_width - 1;
y2 = y1 + gui_current_window->win_chat_height - 1;
} }
else else
{ {
@@ -418,10 +313,8 @@ gui_cursor_move_area (const char *area, const char *position)
if (strcmp (ptr_bar_win->bar->name, area) == 0) if (strcmp (ptr_bar_win->bar->name, area) == 0)
{ {
area_found = 1; area_found = 1;
x1 = ptr_bar_win->x; x = ptr_bar_win->x;
y1 = ptr_bar_win->y; y = ptr_bar_win->y;
x2 = x1 + ptr_bar_win->width - 1;
y2 = y1 + ptr_bar_win->height - 1;
break; 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)) if (ptr_bar->bar_window && (strcmp (ptr_bar->name, area) == 0))
{ {
area_found = 1; area_found = 1;
x1 = ptr_bar->bar_window->x; x = ptr_bar->bar_window->x;
y1 = ptr_bar->bar_window->y; y = ptr_bar->bar_window->y;
x2 = x1 + ptr_bar->bar_window->width - 1;
y2 = y1 + ptr_bar->bar_window->height - 1;
} }
} }
} }
} }
if (!area_found) if (area_found)
return;
if (!position || (strcmp (position, "top_left") == 0))
{ {
x = x1; if (!gui_cursor_mode)
y = y1; 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_debug_set (int debug);
extern void gui_cursor_move_xy (int x, int y); 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_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_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 */ #endif /* WEECHAT_GUI_CURSOR_H */
-8
View File
@@ -72,8 +72,6 @@ gui_focus_get_info (int x, int y)
&focus_info->chat_line_x, &focus_info->chat_line_x,
&focus_info->chat_word, &focus_info->chat_word,
&focus_info->chat_focused_line, &focus_info->chat_focused_line,
&focus_info->chat_focused_line_bol,
&focus_info->chat_focused_line_eol,
&focus_info->chat_bol, &focus_info->chat_bol,
&focus_info->chat_eol); &focus_info->chat_eol);
@@ -104,10 +102,6 @@ gui_focus_free_info (struct t_gui_focus_info *focus_info)
free (focus_info->chat_word); free (focus_info->chat_word);
if (focus_info->chat_focused_line) if (focus_info->chat_focused_line)
free (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) if (focus_info->chat_bol)
free (focus_info->chat_bol); free (focus_info->chat_bol);
if (focus_info->chat_eol) 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_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", 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_bol", focus_info->chat_bol);
HASHTABLE_SET_STR_NOT_NULL("_chat_eol", focus_info->chat_eol); 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 */ int chat_line_x; /* x in line */
char *chat_word; /* word at (x,y) */ char *chat_word; /* word at (x,y) */
char *chat_focused_line; /* line 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_bol; /* beginning of line until (x,y) */
char *chat_eol; /* (x,y) until end of line */ char *chat_eol; /* (x,y) until end of line */
struct t_gui_bar_window *bar_window; /* bar window found */ struct t_gui_bar_window *bar_window; /* bar window found */
+2 -2
View File
@@ -238,7 +238,7 @@ gui_hotlist_find_pos (struct t_gui_hotlist *hotlist,
{ {
struct t_gui_hotlist *ptr_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: case CONFIG_LOOK_HOTLIST_SORT_GROUP_TIME_ASC:
for (ptr_hotlist = hotlist; ptr_hotlist; for (ptr_hotlist = hotlist; ptr_hotlist;
@@ -691,7 +691,7 @@ gui_hotlist_remove_buffer (struct t_gui_buffer *buffer,
hotlist_changed = 0; hotlist_changed = 0;
hotlist_remove = CONFIG_ENUM(config_look_hotlist_remove); hotlist_remove = CONFIG_INTEGER(config_look_hotlist_remove);
ptr_hotlist = gui_hotlist; ptr_hotlist = gui_hotlist;
while (ptr_hotlist) while (ptr_hotlist)
+1 -1
View File
@@ -1142,7 +1142,7 @@ gui_input_delete_line (struct t_gui_buffer *buffer)
end_of_line = (char *)utf8_end_of_line (start); end_of_line = (char *)utf8_end_of_line (start);
size_deleted = end_of_line - beginning_of_line; size_deleted = end_of_line - beginning_of_line;
length_deleted = utf8_strnlen (beginning_of_line, size_deleted); length_deleted = utf8_strnlen (start, size_deleted);
memmove (beginning_of_line, end_of_line, strlen (end_of_line)); memmove (beginning_of_line, end_of_line, strlen (end_of_line));
+18 -38
View File
@@ -2002,31 +2002,6 @@ gui_key_focus_matching (struct t_gui_key *key,
return match[0] && match[1]; 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. * Runs command according to focus.
* *
@@ -2045,6 +2020,8 @@ gui_key_focus_command (const char *key, int context,
char *command, **commands; char *command, **commands;
const char *str_buffer; const char *str_buffer;
struct t_hashtable *hashtable; struct t_hashtable *hashtable;
struct t_weelist *list_keys;
struct t_weelist_item *ptr_item;
struct t_gui_buffer *ptr_buffer; struct t_gui_buffer *ptr_buffer;
debug = 0; debug = 0;
@@ -2111,10 +2088,24 @@ gui_key_focus_command (const char *key, int context,
gui_input_delete_line (gui_current_window->buffer); 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)
{ {
if (debug > 1)
gui_key_focus_display_hashtable (hashtable);
gui_chat_printf (NULL, _("Command for key: \"%s\""), gui_chat_printf (NULL, _("Command for key: \"%s\""),
ptr_key->command); ptr_key->command);
} }
@@ -2165,17 +2156,6 @@ gui_key_focus_command (const char *key, int context,
return 1; 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; return 0;
} }
+2 -2
View File
@@ -770,7 +770,7 @@ gui_layout_store_on_exit ()
{ {
struct t_gui_layout *ptr_layout; 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; return;
ptr_layout = gui_layout_current; ptr_layout = gui_layout_current;
@@ -788,7 +788,7 @@ gui_layout_store_on_exit ()
} }
/* store current layout */ /* 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: case CONFIG_LOOK_SAVE_LAYOUT_ON_EXIT_BUFFERS:
gui_layout_buffer_store (ptr_layout); gui_layout_buffer_store (ptr_layout);
+19 -179
View File
@@ -30,7 +30,6 @@
#include <regex.h> #include <regex.h>
#include "../core/weechat.h" #include "../core/weechat.h"
#include "../core/wee-arraylist.h"
#include "../core/wee-config.h" #include "../core/wee-config.h"
#include "../core/wee-hashtable.h" #include "../core/wee-hashtable.h"
#include "../core/wee-hdata.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. * 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" */ /* return immediately if alignment for end of lines is "time" */
if (!first_line 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; 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" */ /* return immediately if alignment for end of lines is "buffer" */
if (!first_line 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; 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) */ /* length of buffer name (when many buffers are merged) */
if (buffer->mixed_lines && (buffer->active != 2)) if (buffer->mixed_lines && (buffer->active != 2))
{ {
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)
&& (CONFIG_ENUM(config_look_prefix_align) == CONFIG_LOOK_PREFIX_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; length_buffer = gui_chat_strlen_screen (gui_buffer_get_short_name (line->data->buffer)) + 1;
else 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; length_buffer = buffer->mixed_lines->buffer_max_length + 1;
else else
length_buffer = ((CONFIG_INTEGER(config_look_prefix_buffer_align_max) > 0) 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" */ /* return immediately if alignment for end of lines is "prefix" */
if (!first_line 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; 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) if (prefix_is_nick)
prefix_length += config_length_nick_prefix_suffix; 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); 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; 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. * Updates data in a line via the hook_line.
*/ */
void void
gui_line_hook_update (struct t_gui_line *line, gui_line_hook_update (struct t_gui_line *line,
struct t_arraylist *buffers,
struct t_hashtable *hashtable, struct t_hashtable *hashtable,
struct t_hashtable *hashtable2) struct t_hashtable *hashtable2)
{ {
@@ -1698,9 +1574,9 @@ gui_line_hook_update (struct t_gui_line *line,
struct t_gui_buffer *ptr_buffer; struct t_gui_buffer *ptr_buffer;
unsigned long value_pointer; unsigned long value_pointer;
long value; long value;
char *error, *new_message, *pos_newline, **list_buffers; char *error, *new_message, *pos_newline;
int i, rc, tags_updated, notify_level_updated, highlight_updated; int rc, tags_updated, notify_level_updated, highlight_updated;
int max_notify_level, num_buffers; int max_notify_level;
tags_updated = 0; tags_updated = 0;
notify_level_updated = 0; notify_level_updated = 0;
@@ -1711,30 +1587,12 @@ gui_line_hook_update (struct t_gui_line *line,
{ {
if (ptr_value2[0]) if (ptr_value2[0])
{ {
list_buffers = string_split ( ptr_buffer = gui_buffer_search_by_full_name (ptr_value2);
ptr_value2, ",", NULL, if (gui_chat_buffer_valid (ptr_buffer, line->data->buffer->type))
WEECHAT_STRING_SPLIT_STRIP_LEFT line->data->buffer = ptr_buffer;
| 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);
}
} }
else else
{ {
arraylist_clear (buffers);
line->data->buffer = NULL; line->data->buffer = NULL;
return; return;
} }
@@ -1746,37 +1604,19 @@ gui_line_hook_update (struct t_gui_line *line,
{ {
if (ptr_value2[0]) if (ptr_value2[0])
{ {
list_buffers = string_split ( if ((ptr_value2[0] == '0') && (ptr_value2[1] == 'x'))
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); rc = sscanf (ptr_value2 + 2, "%lx", &value_pointer);
for (i = 0; i < num_buffers; i++) 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') line->data->buffer = ptr_buffer;
&& (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);
}
}
} }
string_free_split (list_buffers);
} }
} }
else else
{ {
arraylist_clear (buffers);
line->data->buffer = NULL; line->data->buffer = NULL;
return; 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 *tags,
const char *prefix, const char *prefix,
const char *message); 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, extern void gui_line_hook_update (struct t_gui_line *line,
struct t_arraylist *buffers,
struct t_hashtable *hashtable, struct t_hashtable *hashtable,
struct t_hashtable *hashtable2); struct t_hashtable *hashtable2);
extern void gui_line_add (struct t_gui_line *line); 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; 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: case CONFIG_LOOK_NICK_COLOR_HASH_DJB2:
/* variant of djb2 hash, using 64-bit integer */ /* 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, int *line_x,
char **word, char **word,
char **focused_line, char **focused_line,
char **focused_line_beginning,
char **focused_line_end,
char **beginning, char **beginning,
char **end) char **end)
{ {
@@ -152,8 +150,6 @@ gui_window_get_context_at_xy (struct t_gui_window *window,
*line_x = -1; *line_x = -1;
*word = NULL; *word = NULL;
*focused_line = NULL; *focused_line = NULL;
*focused_line_beginning = NULL;
*focused_line_end = NULL;
*beginning = NULL; *beginning = NULL;
*end = NULL; *end = NULL;
@@ -291,24 +287,6 @@ gui_window_get_context_at_xy (struct t_gui_window *window,
free (str_temp); 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 */ /* create bar windows */
for (ptr_bar = gui_bars; ptr_bar; ptr_bar = ptr_bar->next_bar) 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); 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); window->buffer->text_search_regex = CONFIG_BOOLEAN(config_look_buffer_search_regex);
if (window->buffer->type == GUI_BUFFER_TYPE_FORMATTED) 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: case CONFIG_LOOK_BUFFER_SEARCH_PREFIX:
window->buffer->text_search_where = GUI_TEXT_SEARCH_IN_PREFIX; window->buffer->text_search_where = GUI_TEXT_SEARCH_IN_PREFIX;
-2
View File
@@ -139,8 +139,6 @@ extern void gui_window_get_context_at_xy (struct t_gui_window *window,
int *line_x, int *line_x,
char **word, char **word,
char **focused_line, char **focused_line,
char **focused_line_beginning,
char **focused_line_end,
char **beginning, char **beginning,
char **end); char **end);
extern void gui_window_ask_refresh (int refresh); extern void gui_window_ask_refresh (int refresh);
+5 -7
View File
@@ -30,15 +30,14 @@
struct t_gui_bar_item *buflist_bar_item_buflist[BUFLIST_BAR_NUM_ITEMS] = struct t_gui_bar_item *buflist_bar_item_buflist[BUFLIST_BAR_NUM_ITEMS] =
{ NULL, NULL, NULL, NULL, NULL }; { NULL, NULL, NULL };
struct t_hashtable *buflist_hashtable_pointers = NULL; struct t_hashtable *buflist_hashtable_pointers = NULL;
struct t_hashtable *buflist_hashtable_extra_vars = NULL; struct t_hashtable *buflist_hashtable_extra_vars = NULL;
struct t_hashtable *buflist_hashtable_options_conditions = NULL; struct t_hashtable *buflist_hashtable_options_conditions = NULL;
struct t_arraylist *buflist_list_buffers[BUFLIST_BAR_NUM_ITEMS] = struct t_arraylist *buflist_list_buffers[BUFLIST_BAR_NUM_ITEMS] =
{ NULL, NULL, NULL, NULL, NULL }; { NULL, NULL, NULL };
int old_line_number_current_buffer[BUFLIST_BAR_NUM_ITEMS] = int old_line_number_current_buffer[BUFLIST_BAR_NUM_ITEMS] = { -1, -1, -1 };
{ -1, -1, -1, -1, -1 };
/* /*
@@ -314,7 +313,7 @@ buflist_bar_item_buflist_cb (const void *pointer, void *data,
"highlight" }; "highlight" };
const char indent_empty[1] = { '\0' }; const char indent_empty[1] = { '\0' };
const char *ptr_lag, *ptr_item_name, *ptr_tls_version; const char *ptr_lag, *ptr_item_name, *ptr_tls_version;
int item_index, num_buffers, is_channel, is_private, is_list; int item_index, num_buffers, is_channel, is_private;
int i, j, length_max_number, current_buffer, number, prev_number, priority; int i, j, length_max_number, current_buffer, number, prev_number, priority;
int rc, count, line_number, line_number_current_buffer; int rc, count, line_number, line_number_current_buffer;
int hotlist_priority_number; int hotlist_priority_number;
@@ -445,8 +444,7 @@ buflist_bar_item_buflist_cb (const void *pointer, void *data,
ptr_type = weechat_buffer_get_string (ptr_buffer, "localvar_type"); ptr_type = weechat_buffer_get_string (ptr_buffer, "localvar_type");
is_channel = (ptr_type && (strcmp (ptr_type, "channel") == 0)); is_channel = (ptr_type && (strcmp (ptr_type, "channel") == 0));
is_private = (ptr_type && (strcmp (ptr_type, "private") == 0)); is_private = (ptr_type && (strcmp (ptr_type, "private") == 0));
is_list = (ptr_type && (strcmp (ptr_type, "list") == 0)); ptr_format_indent = (is_channel || is_private) ?
ptr_format_indent = (is_channel || is_private || is_list) ?
weechat_config_string (buflist_config_format_indent) : indent_empty; weechat_config_string (buflist_config_format_indent) : indent_empty;
/* nick prefix */ /* nick prefix */
+1 -1
View File
@@ -22,7 +22,7 @@
#define BUFLIST_BAR_ITEM_NAME "buflist" #define BUFLIST_BAR_ITEM_NAME "buflist"
#define BUFLIST_BAR_NUM_ITEMS 5 #define BUFLIST_BAR_NUM_ITEMS 3
struct t_gui_bar_item; struct t_gui_bar_item;
+1 -1
View File
@@ -146,7 +146,7 @@ buflist_command_init ()
"are between 10 and 99 buffers\n" "are between 10 and 99 buffers\n"
" - ${number_displayed}: \"1\" if the number is displayed, " " - ${number_displayed}: \"1\" if the number is displayed, "
"otherwise \"0\"\n" "otherwise \"0\"\n"
" - ${indent}: indentation for name (channel, private and list " " - ${indent}: indentation for name (channel and private "
"buffers are indented) (evaluation of " "buffers are indented) (evaluation of "
"option buflist.format.indent)\n" "option buflist.format.indent)\n"
" - ${format_nick_prefix}: colored nick prefix for a channel " " - ${format_nick_prefix}: colored nick prefix for a channel "
+6 -8
View File
@@ -70,10 +70,8 @@ struct t_config_option *buflist_config_format_tls_version = NULL;
struct t_hook **buflist_config_signals_refresh = NULL; struct t_hook **buflist_config_signals_refresh = NULL;
int buflist_config_num_signals_refresh = 0; int buflist_config_num_signals_refresh = 0;
char **buflist_config_sort_fields[BUFLIST_BAR_NUM_ITEMS] = char **buflist_config_sort_fields[BUFLIST_BAR_NUM_ITEMS] = { NULL, NULL, NULL };
{ NULL, NULL, NULL, NULL, NULL }; int buflist_config_sort_fields_count[BUFLIST_BAR_NUM_ITEMS] = { 0, 0, 0 };
int buflist_config_sort_fields_count[BUFLIST_BAR_NUM_ITEMS] =
{ 0, 0, 0, 0, 0 };
char *buflist_config_format_buffer_eval = NULL; char *buflist_config_format_buffer_eval = NULL;
char *buflist_config_format_buffer_current_eval = NULL; char *buflist_config_format_buffer_current_eval = NULL;
char *buflist_config_format_hotlist_eval = NULL; char *buflist_config_format_hotlist_eval = NULL;
@@ -624,9 +622,9 @@ buflist_config_init ()
buflist_config_file, buflist_config_section_look, buflist_config_file, buflist_config_section_look,
"use_items", "integer", "use_items", "integer",
N_("number of buflist bar items that can be used; the item names " N_("number of buflist bar items that can be used; the item names "
"are: \"buflist\", \"buflist2\", \"buflist3\", \"buflist4\" and " "are: \"buflist\", \"buflist2\", \"buflist3\"; be careful, "
"\"buflist5\"; be careful, using more than one bar item slows " "using more than one bar item slows down the display of "
"down the display of buffers list"), "buffers list"),
NULL, 1, BUFLIST_BAR_NUM_ITEMS, "1", NULL, 0, NULL, 1, BUFLIST_BAR_NUM_ITEMS, "1", NULL, 0,
NULL, NULL, NULL, NULL, NULL, NULL,
&buflist_config_change_use_items, NULL, NULL, &buflist_config_change_use_items, NULL, NULL,
@@ -739,7 +737,7 @@ buflist_config_init ()
buflist_config_format_indent = weechat_config_new_option ( buflist_config_format_indent = weechat_config_new_option (
buflist_config_file, buflist_config_section_format, buflist_config_file, buflist_config_section_format,
"indent", "string", "indent", "string",
N_("string displayed to indent channel, private and list buffers " N_("string displayed to indent channel and private buffers "
"(note: content is evaluated, see /help buflist)"), "(note: content is evaluated, see /help buflist)"),
NULL, 0, 0, " ", NULL, 0, NULL, 0, 0, " ", NULL, 0,
NULL, NULL, NULL, NULL, NULL, NULL,
+40 -47
View File
@@ -123,42 +123,8 @@ fset_bar_item_fset_cb (const void *pointer, void *data,
-1); -1);
} }
if (ptr_fset_option->type == FSET_OPTION_TYPE_INTEGER) if ((ptr_fset_option->string_values && ptr_fset_option->string_values[0])
{ || (ptr_fset_option->type == FSET_OPTION_TYPE_INTEGER))
ptr_option = weechat_config_get (ptr_fset_option->name);
if (ptr_option)
{
weechat_string_dyn_concat (default_and_values,
weechat_color ("bar_fg"),
-1);
weechat_string_dyn_concat (default_and_values, ", ", -1);
weechat_string_dyn_concat (default_and_values, _("values:"), -1);
weechat_string_dyn_concat (default_and_values, " ", -1);
weechat_string_dyn_concat (
default_and_values,
weechat_color (
weechat_config_string (
fset_config_color_help_values)),
-1);
weechat_string_dyn_concat (default_and_values,
ptr_fset_option->min,
-1);
weechat_string_dyn_concat (default_and_values,
weechat_color ("bar_fg"),
-1);
weechat_string_dyn_concat (default_and_values, " ... ", -1);
weechat_string_dyn_concat (
default_and_values,
weechat_color (
weechat_config_string (
fset_config_color_help_values)),
-1);
weechat_string_dyn_concat (default_and_values,
ptr_fset_option->max,
-1);
}
}
else if (ptr_fset_option->type == FSET_OPTION_TYPE_ENUM)
{ {
ptr_option = weechat_config_get (ptr_fset_option->name); ptr_option = weechat_config_get (ptr_fset_option->name);
if (ptr_option) if (ptr_option)
@@ -169,7 +135,8 @@ fset_bar_item_fset_cb (const void *pointer, void *data,
ptr_string_values = weechat_config_option_get_pointer ( ptr_string_values = weechat_config_option_get_pointer (
ptr_option, "string_values"); ptr_option, "string_values");
} }
if (ptr_string_values) if (ptr_string_values
|| (ptr_fset_option->type == FSET_OPTION_TYPE_INTEGER))
{ {
weechat_string_dyn_concat (default_and_values, weechat_string_dyn_concat (default_and_values,
weechat_color ("bar_fg"), weechat_color ("bar_fg"),
@@ -177,17 +144,32 @@ fset_bar_item_fset_cb (const void *pointer, void *data,
weechat_string_dyn_concat (default_and_values, ", ", -1); weechat_string_dyn_concat (default_and_values, ", ", -1);
weechat_string_dyn_concat (default_and_values, _("values:"), -1); weechat_string_dyn_concat (default_and_values, _("values:"), -1);
weechat_string_dyn_concat (default_and_values, " ", -1); weechat_string_dyn_concat (default_and_values, " ", -1);
for (i = 0; ptr_string_values[i]; i++) if (ptr_string_values)
{ {
if (i > 0) for (i = 0; ptr_string_values[i]; i++)
{ {
if (i > 0)
{
weechat_string_dyn_concat (default_and_values,
weechat_color ("bar_fg"),
-1);
weechat_string_dyn_concat (default_and_values,
", ",
-1);
}
weechat_string_dyn_concat (
default_and_values,
weechat_color (
weechat_config_string (
fset_config_color_help_values)),
-1);
weechat_string_dyn_concat (default_and_values, weechat_string_dyn_concat (default_and_values,
weechat_color ("bar_fg"), ptr_string_values[i],
-1);
weechat_string_dyn_concat (default_and_values,
", ",
-1); -1);
} }
}
else
{
weechat_string_dyn_concat ( weechat_string_dyn_concat (
default_and_values, default_and_values,
weechat_color ( weechat_color (
@@ -195,7 +177,20 @@ fset_bar_item_fset_cb (const void *pointer, void *data,
fset_config_color_help_values)), fset_config_color_help_values)),
-1); -1);
weechat_string_dyn_concat (default_and_values, weechat_string_dyn_concat (default_and_values,
ptr_string_values[i], ptr_fset_option->min,
-1);
weechat_string_dyn_concat (default_and_values,
weechat_color ("bar_fg"),
-1);
weechat_string_dyn_concat (default_and_values, " ... ", -1);
weechat_string_dyn_concat (
default_and_values,
weechat_color (
weechat_config_string (
fset_config_color_help_values)),
-1);
weechat_string_dyn_concat (default_and_values,
ptr_fset_option->max,
-1); -1);
} }
} }
@@ -204,14 +199,12 @@ fset_bar_item_fset_cb (const void *pointer, void *data,
snprintf (str_help, sizeof (str_help), snprintf (str_help, sizeof (str_help),
/* TRANSLATORS: "%s%s%s:" at beginning of string it the name of option */ /* TRANSLATORS: "%s%s%s:" at beginning of string it the name of option */
_("%s%s%s: %s%s%s %s[%s%s]%s"), _("%s%s%s: %s %s[%s%s]%s"),
weechat_color (weechat_config_string (fset_config_color_help_name)), weechat_color (weechat_config_string (fset_config_color_help_name)),
ptr_fset_option->name, ptr_fset_option->name,
weechat_color ("bar_fg"), weechat_color ("bar_fg"),
weechat_color (weechat_config_string (fset_config_color_help_description)),
(ptr_fset_option->description && ptr_fset_option->description[0]) ? (ptr_fset_option->description && ptr_fset_option->description[0]) ?
_(ptr_fset_option->description) : _("(no description)"), _(ptr_fset_option->description) : _("(no description)"),
weechat_color ("bar_fg"),
weechat_color ("bar_delim"), weechat_color ("bar_delim"),
*default_and_values, *default_and_values,
weechat_color ("bar_delim"), weechat_color ("bar_delim"),
+8 -27
View File
@@ -625,9 +625,7 @@ fset_buffer_display_option_eval (struct t_fset_option *fset_option)
} }
/* min */ /* min */
snprintf (str_field, length_field, snprintf (str_field, length_field, "%s", fset_option->min);
"%s",
(fset_option->min) ? fset_option->min : "");
weechat_hashtable_set (fset_buffer_hashtable_extra_vars, weechat_hashtable_set (fset_buffer_hashtable_extra_vars,
"__min", str_field); "__min", str_field);
snprintf (str_field, length_field, snprintf (str_field, length_field,
@@ -644,9 +642,7 @@ fset_buffer_display_option_eval (struct t_fset_option *fset_option)
"empty_min", str_field2); "empty_min", str_field2);
/* max */ /* max */
snprintf (str_field, length_field, snprintf (str_field, length_field, "%s", fset_option->max);
"%s",
(fset_option->max) ? fset_option->max : "");
weechat_hashtable_set (fset_buffer_hashtable_extra_vars, weechat_hashtable_set (fset_buffer_hashtable_extra_vars,
"__max", str_field); "__max", str_field);
snprintf (str_field, length_field, snprintf (str_field, length_field,
@@ -748,25 +744,6 @@ fset_buffer_display_option_eval (struct t_fset_option *fset_option)
weechat_hashtable_set (fset_buffer_hashtable_extra_vars, weechat_hashtable_set (fset_buffer_hashtable_extra_vars,
"empty_string_values", str_field2); "empty_string_values", str_field2);
/* allowed_values */
snprintf (str_field, length_field,
"%s",
(fset_option->allowed_values) ? fset_option->allowed_values : "");
weechat_hashtable_set (fset_buffer_hashtable_extra_vars,
"__allowed_values", str_field);
snprintf (str_field, length_field,
"%s%s",
weechat_color (weechat_config_string (fset_config_color_allowed_values[selected_line])),
(fset_option->allowed_values) ? fset_option->allowed_values : "");
weechat_hashtable_set (fset_buffer_hashtable_extra_vars,
"_allowed_values", str_field);
fset_buffer_fills_field (str_field, str_field2, length_field,
fset_option_max_length->allowed_values, 1, 1);
weechat_hashtable_set (fset_buffer_hashtable_extra_vars,
"allowed_values", str_field);
weechat_hashtable_set (fset_buffer_hashtable_extra_vars,
"empty_allowed_values", str_field2);
/* marked */ /* marked */
snprintf (str_field, length_field, snprintf (str_field, length_field,
"%s", "%s",
@@ -1238,7 +1215,11 @@ fset_buffer_get_window_info (struct t_gui_window *window,
} }
/* /*
* Checks if current line is outside window and adjusts scroll if needed. * Checks if current line is outside window.
*
* Returns:
* 1: line is outside window
* 0: line is inside window
*/ */
void void
@@ -1433,7 +1414,7 @@ fset_buffer_input_cb (const void *pointer, void *data,
return WEECHAT_RC_OK; return WEECHAT_RC_OK;
} }
/* execute action */ /* execute action on an option */
for (i = 0; actions[i][0]; i++) for (i = 0; actions[i][0]; i++)
{ {
if (strcmp (input_data, actions[i][0]) == 0) if (strcmp (input_data, actions[i][0]) == 0)
+16 -19
View File
@@ -282,8 +282,7 @@ fset_command_fset (const void *pointer, void *data,
fset_command_get_option (&ptr_fset_option, &ptr_option); fset_command_get_option (&ptr_fset_option, &ptr_option);
if (ptr_fset_option && if (ptr_fset_option &&
((ptr_fset_option->type == FSET_OPTION_TYPE_INTEGER) ((ptr_fset_option->type == FSET_OPTION_TYPE_INTEGER)
|| (ptr_fset_option->type == FSET_OPTION_TYPE_COLOR) || (ptr_fset_option->type == FSET_OPTION_TYPE_COLOR)))
|| (ptr_fset_option->type == FSET_OPTION_TYPE_ENUM)))
{ {
fset_option_add_value (ptr_fset_option, ptr_option, value); fset_option_add_value (ptr_fset_option, ptr_option, value);
} }
@@ -652,7 +651,7 @@ fset_command_init ()
"(\"end\" to select the last line)\n" "(\"end\" to select the last line)\n"
" -toggle: toggle the boolean value\n" " -toggle: toggle the boolean value\n"
" -add: add \"value\" (which can be a negative number) " " -add: add \"value\" (which can be a negative number) "
"for integers, colors and enums, set/append to value for other types " "for integers and colors, set/append to value for other types "
"(set for a negative value, append for a positive value)\n" "(set for a negative value, append for a positive value)\n"
" -reset: reset the value of option\n" " -reset: reset the value of option\n"
" -unset: unset the option\n" " -unset: unset the option\n"
@@ -676,8 +675,7 @@ fset_command_init ()
" * show all options (no filter)\n" " * show all options (no filter)\n"
" xxx show only options with \"xxx\" in name\n" " xxx show only options with \"xxx\" in name\n"
" f:xxx show only configuration file \"xxx\"\n" " f:xxx show only configuration file \"xxx\"\n"
" t:xxx show only type \"xxx\" (bool/int/str/col/enum " " t:xxx show only type \"xxx\" (bool/int/str/col)\n"
"or boolean/integer/string/color/enum)\n"
" d show only changed options\n" " d show only changed options\n"
" d:xxx show only changed options with \"xxx\" in " " d:xxx show only changed options with \"xxx\" in "
"name\n" "name\n"
@@ -694,10 +692,10 @@ fset_command_init ()
" c:xxx show only options matching the evaluated " " c:xxx show only options matching the evaluated "
"condition \"xxx\", using following variables: file, section, " "condition \"xxx\", using following variables: file, section, "
"option, name, parent_name, type, type_en, type_short " "option, name, parent_name, type, type_en, type_short "
"(bool/int/str/col/enum), type_tiny (b/i/s/c/e), default_value, " "(bool/int/str/col), type_tiny (b/i/s/c), default_value, "
"default_value_undef, value, quoted_value, value_undef, " "default_value_undef, value, quoted_value, value_undef, "
"value_changed, parent_value, min, max, description, description2, " "value_changed, parent_value, min, max, description, description2, "
"description_en, description_en2, string_values, allowed_values\n" "description_en, description_en2, string_values\n"
"\n" "\n"
"The lines with options are displayed using string evaluation " "The lines with options are displayed using string evaluation "
"(see /help eval for the format), with these options:\n" "(see /help eval for the format), with these options:\n"
@@ -714,8 +712,8 @@ fset_command_init ()
" - ${parent_name}: parent option name\n" " - ${parent_name}: parent option name\n"
" - ${type}: option type (translated)\n" " - ${type}: option type (translated)\n"
" - ${type_en}: option type (in English)\n" " - ${type_en}: option type (in English)\n"
" - ${type_short}: short option type (bool/int/str/col/enum)\n" " - ${type_short}: short option type (bool/int/str/col)\n"
" - ${type_tiny}: tiny option type (b/i/s/c/e)\n" " - ${type_tiny}: tiny option type (b/i/s/c)\n"
" - ${default_value}: option default value\n" " - ${default_value}: option default value\n"
" - ${default_value_undef}: \"1\" if default value is null, " " - ${default_value_undef}: \"1\" if default value is null, "
"otherwise \"0\"\n" "otherwise \"0\"\n"
@@ -733,9 +731,8 @@ fset_command_init ()
" - ${description_en}: option description (in English)\n" " - ${description_en}: option description (in English)\n"
" - ${description_en2}: option description (in English), " " - ${description_en2}: option description (in English), "
"\"(no description)\" if there's no description\n" "\"(no description)\" if there's no description\n"
" - ${string_values}: string values allowed for set of an enum " " - ${string_values}: string values allowed for set of an "
"option\n" "integer option using strings\n"
" - ${allowed_values}: allowed values\n"
" - ${marked}: \"1\" if option is marked, otherwise \"0\"\n" " - ${marked}: \"1\" if option is marked, otherwise \"0\"\n"
" - ${index}: index of option in list\n" " - ${index}: index of option in list\n"
" - option data, with color but no spaces:\n" " - option data, with color but no spaces:\n"
@@ -765,10 +762,10 @@ fset_command_init ()
"\n" "\n"
"Keys and input to set options on fset buffer:\n" "Keys and input to set options on fset buffer:\n"
" alt+space t toggle boolean value\n" " alt+space t toggle boolean value\n"
" alt+'-' - subtract 1 from value for " " alt+'-' - subtract 1 from value for integer/color, "
"integer/color/enum, set value for other types\n" "set value for other types\n"
" alt+'+' + add 1 to value for integer/color/enum, " " alt+'+' + add 1 to value for integer/color, append "
"append to value for other types\n" "to value for other types\n"
" alt+f, alt+r r reset value\n" " alt+f, alt+r r reset value\n"
" alt+f, alt+u u unset value\n" " alt+f, alt+u u unset value\n"
" alt+enter s set value\n" " alt+enter s set value\n"
@@ -793,9 +790,9 @@ fset_command_init ()
"(plugins.desc.*)\n" "(plugins.desc.*)\n"
" alt+v v toggle help bar\n" " alt+v v toggle help bar\n"
" s:x,y sort options by fields x,y " " s:x,y sort options by fields x,y "
"(see above)\n" "(see /help fset.look.sort)\n"
" s: reset sort to its default value " " s: reset sort to its default value "
"(see above)\n" "(see /help fset.look.sort)\n"
" w:xxx export options in file \"xxx\"\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\" without help\n"
" w+:xxx export options in file \"xxx\" with help\n" " w+:xxx export options in file \"xxx\" with help\n"
@@ -808,7 +805,7 @@ fset_command_init ()
" right button toggle boolean (on/off) or " " right button toggle boolean (on/off) or "
"edit the option value\n" "edit the option value\n"
" right button + drag left/right increase/decrease value " " right button + drag left/right increase/decrease value "
"for integer/color/enum, set/append to value for other types\n" "for integer/color, set/append to value for other types\n"
" right button + drag up/down mark/unmark multiple options\n" " right button + drag up/down mark/unmark multiple options\n"
"\n" "\n"
"Note: if input has one or more leading spaces, the following text " "Note: if input has one or more leading spaces, the following text "
+2 -19
View File
@@ -63,7 +63,6 @@ struct t_config_option *fset_config_format_option[2] = { NULL, NULL };
/* fset config, color section */ /* fset config, color section */
struct t_config_option *fset_config_color_allowed_values[2] = { NULL, NULL };
struct t_config_option *fset_config_color_color_name[2] = { NULL, NULL }; struct t_config_option *fset_config_color_color_name[2] = { NULL, NULL };
struct t_config_option *fset_config_color_default_value[2] = { NULL, NULL }; struct t_config_option *fset_config_color_default_value[2] = { NULL, NULL };
struct t_config_option *fset_config_color_description[2] = { NULL, NULL }; struct t_config_option *fset_config_color_description[2] = { NULL, NULL };
@@ -585,8 +584,8 @@ fset_config_init ()
NULL, 0, 0, NULL, 0, 0,
"${marked} ${name} ${type} ${value2}${newline}" "${marked} ${name} ${type} ${value2}${newline}"
" ${empty_name} ${_default_value}${color:244} -- " " ${empty_name} ${_default_value}${color:244} -- "
"${_allowed_values}${newline}" "${min}..${max}${newline}"
" ${empty_name} ${_description}", " ${empty_name} ${description}",
NULL, 0, NULL, 0,
NULL, NULL, NULL, NULL, NULL, NULL,
&fset_config_change_format_cb, NULL, NULL, &fset_config_change_format_cb, NULL, NULL,
@@ -604,22 +603,6 @@ fset_config_init ()
NULL, NULL, NULL); NULL, NULL, NULL);
if (fset_config_section_color) if (fset_config_section_color)
{ {
fset_config_color_allowed_values[0] = weechat_config_new_option (
fset_config_file, fset_config_section_color,
"allowed_values", "color",
N_("color for allowed values"),
NULL, 0, 0, "default", NULL, 0,
NULL, NULL, NULL,
&fset_config_change_color_cb, NULL, NULL,
NULL, NULL, NULL);
fset_config_color_allowed_values[1] = weechat_config_new_option (
fset_config_file, fset_config_section_color,
"allowed_values_selected", "color",
N_("color for allowed values on the selected line"),
NULL, 0, 0, "white", NULL, 0,
NULL, NULL, NULL,
&fset_config_change_color_cb, NULL, NULL,
NULL, NULL, NULL);
fset_config_color_color_name[0] = weechat_config_new_option ( fset_config_color_color_name[0] = weechat_config_new_option (
fset_config_file, fset_config_section_color, fset_config_file, fset_config_section_color,
"color_name", "color", "color_name", "color",
-1
View File
@@ -44,7 +44,6 @@ extern struct t_config_option *fset_config_format_export_option;
extern struct t_config_option *fset_config_format_export_option_null; extern struct t_config_option *fset_config_format_export_option_null;
extern struct t_config_option *fset_config_format_option[2]; extern struct t_config_option *fset_config_format_option[2];
extern struct t_config_option *fset_config_color_allowed_values[2];
extern struct t_config_option *fset_config_color_color_name[2]; extern struct t_config_option *fset_config_color_color_name[2];
extern struct t_config_option *fset_config_color_default_value[2]; extern struct t_config_option *fset_config_color_default_value[2];
extern struct t_config_option *fset_config_color_description[2]; extern struct t_config_option *fset_config_color_description[2];
+117 -122
View File
@@ -33,17 +33,17 @@
/* /*
* Callback called when a mouse action occurs in fset buffer. * Callback called when a mouse action occurs in fset bar item.
*/ */
struct t_hashtable * struct t_hashtable *
fset_mouse_focus_cb (const void *pointer, void *data, struct t_hashtable *info) fset_mouse_focus_cb (const void *pointer, void *data, struct t_hashtable *info)
{ {
const char *buffer; const char *buffer;
int rc, format_number; int rc;
unsigned long value; unsigned long value;
struct t_gui_buffer *ptr_buffer; struct t_gui_buffer *ptr_buffer;
long y, option_index; long y;
char *error, str_value[128]; char *error, str_value[128];
struct t_fset_option *ptr_fset_option; struct t_fset_option *ptr_fset_option;
@@ -75,18 +75,13 @@ fset_mouse_focus_cb (const void *pointer, void *data, struct t_hashtable *info)
if (y < 0) if (y < 0)
return info; return info;
format_number = weechat_config_integer (fset_config_look_format_number); ptr_fset_option = weechat_arraylist_get (fset_options, y);
option_index = y / fset_config_format_option_num_lines[format_number - 1];
ptr_fset_option = weechat_arraylist_get (fset_options, option_index);
if (!ptr_fset_option) if (!ptr_fset_option)
return info; return info;
snprintf (str_value, sizeof (str_value), snprintf (str_value, sizeof (str_value),
"0x%lx", (unsigned long)ptr_fset_option); "0x%lx", (unsigned long)ptr_fset_option);
weechat_hashtable_set (info, "fset_option", str_value); weechat_hashtable_set (info, "fset_option", str_value);
snprintf (str_value, sizeof (str_value), "%ld", option_index);
weechat_hashtable_set (info, "fset_option_index", str_value);
weechat_hashtable_set (info, "fset_option_name", ptr_fset_option->name); weechat_hashtable_set (info, "fset_option_name", ptr_fset_option->name);
weechat_hashtable_set (info, "fset_option_parent_name", ptr_fset_option->parent_name); weechat_hashtable_set (info, "fset_option_parent_name", ptr_fset_option->parent_name);
weechat_hashtable_set (info, "fset_option_type", fset_option_type_string[ptr_fset_option->type]); weechat_hashtable_set (info, "fset_option_type", fset_option_type_string[ptr_fset_option->type]);
@@ -97,83 +92,90 @@ fset_mouse_focus_cb (const void *pointer, void *data, struct t_hashtable *info)
weechat_hashtable_set (info, "fset_option_max", ptr_fset_option->max); weechat_hashtable_set (info, "fset_option_max", ptr_fset_option->max);
weechat_hashtable_set (info, "fset_option_description", ptr_fset_option->description); weechat_hashtable_set (info, "fset_option_description", ptr_fset_option->description);
weechat_hashtable_set (info, "fset_option_string_values", ptr_fset_option->string_values); weechat_hashtable_set (info, "fset_option_string_values", ptr_fset_option->string_values);
weechat_hashtable_set (info, "fset_option_allowed_values", ptr_fset_option->allowed_values);
weechat_hashtable_set (info, "fset_option_marked", (ptr_fset_option->marked) ? "1" : "0"); weechat_hashtable_set (info, "fset_option_marked", (ptr_fset_option->marked) ? "1" : "0");
return info; return info;
} }
/* /*
* Get distance between x and x2 (as a positive integer). * Get distance between x and x2 (as a positive integer);
*/ */
int int
fset_mouse_get_distance_x (int x, int x2) fset_mouse_get_distance_x (struct t_hashtable *hashtable)
{ {
int distance; int distance, x, x2;
char *error;
if ((x < 0) || (x2 < 0))
return 0;
distance = (x2 - x) / 3;
if (distance < 0)
distance *= -1;
else if (distance == 0)
distance = 1;
distance = 0;
error = NULL;
x = (int)strtol (weechat_hashtable_get (hashtable, "_chat_line_x"),
&error, 10);
if (error && !error[0])
{
error = NULL;
x2 = (int)strtol (weechat_hashtable_get (hashtable, "_chat_line_x2"),
&error, 10);
if (error && !error[0])
{
distance = (x2 - x) / 3;
if (distance < 0)
distance *= -1;
else if (distance == 0)
distance = 1;
}
}
return distance; return distance;
} }
/* /*
* Returns an integer value from the hashtable (where value is a string). * Gets coordinates: y, y2, chat_line_y, chat_line_y2 from hashtable.
* If value is invalid, "default_value" is returned. *
* Returns:
* 1: OK, all coordinates are set
* 0: error (coordinates must not be used)
*/ */
int int
fset_mouse_get_hashtable_int (struct t_hashtable *hashtable,
const char *variable,
int default_value)
{
const char *ptr_value;
char *error;
int value;
ptr_value = weechat_hashtable_get (hashtable, variable);
if (!ptr_value)
return default_value;
error = NULL;
value = (int)strtol (ptr_value, &error, 10);
if (!error || error[0])
return default_value;
return value;
}
/*
* Gets coordinates from hashtable.
*/
void
fset_mouse_get_coords (struct t_hashtable *hashtable, fset_mouse_get_coords (struct t_hashtable *hashtable,
int *chat_line_x, int *chat_line_x2, int *y, int *y2, int *chat_line_y, int *chat_line_y2)
int *y, int *y2,
int *chat_line_y, int *chat_line_y2,
int *option_index, int *option_index2)
{ {
int format_number; char *error;
const char *ptr_value;
*chat_line_x = fset_mouse_get_hashtable_int (hashtable, "_chat_line_x", -1); ptr_value = weechat_hashtable_get (hashtable, "_y");
*chat_line_x2 = fset_mouse_get_hashtable_int (hashtable, "_chat_line_x2", -1); if (!ptr_value)
*y = fset_mouse_get_hashtable_int (hashtable, "_y", -1); return 0;
*y2 = fset_mouse_get_hashtable_int (hashtable, "_y2", -1); error = NULL;
*chat_line_y = fset_mouse_get_hashtable_int (hashtable, "_chat_line_y", -1); *y = (int)strtol (ptr_value, &error, 10);
*chat_line_y2 = fset_mouse_get_hashtable_int (hashtable, "_chat_line_y2", -1); if (!error || error[0])
return 0;
format_number = weechat_config_integer (fset_config_look_format_number); ptr_value = weechat_hashtable_get (hashtable, "_y2");
*option_index = (*chat_line_y >= 0) ? if (!ptr_value)
*chat_line_y / fset_config_format_option_num_lines[format_number - 1] : -1; return 0;
*option_index2 = (*chat_line_y2 >= 0) ? error = NULL;
*chat_line_y2 / fset_config_format_option_num_lines[format_number - 1] : -1; *y2 = (int)strtol (ptr_value, &error, 10);
if (!error || error[0])
return 0;
ptr_value = weechat_hashtable_get (hashtable, "_chat_line_y");
if (!ptr_value)
return 0;
error = NULL;
*chat_line_y = (int)strtol (ptr_value, &error, 10);
if (!error || error[0])
return 0;
ptr_value = weechat_hashtable_get (hashtable, "_chat_line_y2");
if (!ptr_value)
return 0;
error = NULL;
*chat_line_y2 = (int)strtol (ptr_value, &error, 10);
if (!error || error[0])
return 0;
return 1;
} }
/* /*
@@ -184,13 +186,12 @@ int
fset_mouse_hsignal_cb (const void *pointer, void *data, const char *signal, fset_mouse_hsignal_cb (const void *pointer, void *data, const char *signal,
struct t_hashtable *hashtable) struct t_hashtable *hashtable)
{ {
const char *ptr_key, *ptr_fset_option_pointer; const char *ptr_key, *ptr_chat_line_y, *ptr_fset_option_pointer;
char str_command[1024]; char str_command[1024];
struct t_fset_option *ptr_fset_option; struct t_fset_option *ptr_fset_option;
unsigned long value; unsigned long value;
int rc, distance, num_options, min_y, max_y, i; int rc, distance, num_options, y, y2, chat_line_y, chat_line_y2;
int chat_line_x, chat_line_x2, y, y2, chat_line_y, chat_line_y2; int min_y, max_y, i;
int option_index, option_index2, index1, index2;
/* make C compiler happy */ /* make C compiler happy */
(void) pointer; (void) pointer;
@@ -201,9 +202,10 @@ fset_mouse_hsignal_cb (const void *pointer, void *data, const char *signal,
return WEECHAT_RC_OK; return WEECHAT_RC_OK;
ptr_key = weechat_hashtable_get (hashtable, "_key"); ptr_key = weechat_hashtable_get (hashtable, "_key");
ptr_chat_line_y = weechat_hashtable_get (hashtable, "_chat_line_y");
ptr_fset_option_pointer = weechat_hashtable_get (hashtable, "fset_option"); ptr_fset_option_pointer = weechat_hashtable_get (hashtable, "fset_option");
if (!ptr_key || !ptr_fset_option_pointer) if (!ptr_key || !ptr_chat_line_y || !ptr_fset_option_pointer)
return WEECHAT_RC_OK; return WEECHAT_RC_OK;
rc = sscanf (ptr_fset_option_pointer, "%lx", &value); rc = sscanf (ptr_fset_option_pointer, "%lx", &value);
@@ -213,26 +215,16 @@ fset_mouse_hsignal_cb (const void *pointer, void *data, const char *signal,
if (!ptr_fset_option) if (!ptr_fset_option)
return WEECHAT_RC_OK; return WEECHAT_RC_OK;
fset_mouse_get_coords (hashtable,
&chat_line_x, &chat_line_x2,
&y, &y2,
&chat_line_y, &chat_line_y2,
&option_index, &option_index2);
if (chat_line_y < 0)
return WEECHAT_RC_OK;
snprintf (str_command, sizeof (str_command), snprintf (str_command, sizeof (str_command),
"/fset -go %d", "/fset -go %s",
option_index); ptr_chat_line_y);
weechat_command (fset_buffer, str_command); weechat_command (fset_buffer, str_command);
if (weechat_string_match (ptr_key, "button2-gesture-left*", 1)) if (weechat_string_match (ptr_key, "button2-gesture-left*", 1))
{ {
distance = fset_mouse_get_distance_x (chat_line_x, chat_line_x2); distance = fset_mouse_get_distance_x (hashtable);
if ((ptr_fset_option->type == FSET_OPTION_TYPE_INTEGER) if ((ptr_fset_option->type == FSET_OPTION_TYPE_INTEGER)
|| (ptr_fset_option->type == FSET_OPTION_TYPE_COLOR) || (ptr_fset_option->type == FSET_OPTION_TYPE_COLOR))
|| (ptr_fset_option->type == FSET_OPTION_TYPE_ENUM))
{ {
snprintf (str_command, sizeof (str_command), snprintf (str_command, sizeof (str_command),
"/fset -add -%d", "/fset -add -%d",
@@ -246,10 +238,9 @@ fset_mouse_hsignal_cb (const void *pointer, void *data, const char *signal,
} }
else if (weechat_string_match (ptr_key, "button2-gesture-right*", 1)) else if (weechat_string_match (ptr_key, "button2-gesture-right*", 1))
{ {
distance = fset_mouse_get_distance_x (chat_line_x, chat_line_x2); distance = fset_mouse_get_distance_x (hashtable);
if ((ptr_fset_option->type == FSET_OPTION_TYPE_INTEGER) if ((ptr_fset_option->type == FSET_OPTION_TYPE_INTEGER)
|| (ptr_fset_option->type == FSET_OPTION_TYPE_COLOR) || (ptr_fset_option->type == FSET_OPTION_TYPE_COLOR))
|| (ptr_fset_option->type == FSET_OPTION_TYPE_ENUM))
{ {
snprintf (str_command, sizeof (str_command), snprintf (str_command, sizeof (str_command),
"/fset -add %d", "/fset -add %d",
@@ -263,44 +254,48 @@ fset_mouse_hsignal_cb (const void *pointer, void *data, const char *signal,
} }
else if (weechat_string_match (ptr_key, "button2*", 1)) else if (weechat_string_match (ptr_key, "button2*", 1))
{ {
if (y == y2) if (fset_mouse_get_coords (hashtable, &y, &y2,
&chat_line_y, &chat_line_y2))
{ {
/* toggle or set option */ if (y == y2)
snprintf (
str_command, sizeof (str_command),
"/fset %s",
(ptr_fset_option->type == FSET_OPTION_TYPE_BOOLEAN) ?
"-toggle" : "-set");
weechat_command (fset_buffer, str_command);
}
else if ((option_index >= 0) || (option_index2 >= 0))
{
/* mark/unmark multiple options */
num_options = weechat_arraylist_size (fset_options);
index1 = option_index;
index2 = option_index2;
if (index1 < 0)
index1 = (y > y2) ? 0 : num_options - 1;
else if (index2 < 0)
index2 = (y > y2) ? 0 : num_options - 1;
min_y = (index1 < index2) ? index1 : index2;
max_y = (index1 > index2) ? index1 : index2;
if (min_y < 0)
min_y = 0;
if (max_y > num_options - 1)
max_y = num_options - 1;
for (i = min_y; i <= max_y; i++)
{ {
ptr_fset_option = weechat_arraylist_get (fset_options, i); /* toggle or set option */
if (ptr_fset_option) snprintf (
{ str_command, sizeof (str_command),
fset_option_toggle_mark (ptr_fset_option, NULL); "/fset %s",
} (ptr_fset_option->type == FSET_OPTION_TYPE_BOOLEAN) ?
"-toggle" : "-set");
weechat_command (fset_buffer, str_command);
}
else if ((chat_line_y >= 0) || (chat_line_y2 >= 0))
{
/* mark/unmark multiple options */
num_options = weechat_arraylist_size (fset_options);
if (chat_line_y < 0)
chat_line_y = (y > y2) ? 0 : num_options - 1;
else if (chat_line_y2 < 0)
chat_line_y2 = (y > y2) ? 0 : num_options - 1;
min_y = (chat_line_y < chat_line_y2) ?
chat_line_y : chat_line_y2;
max_y = (chat_line_y > chat_line_y2) ?
chat_line_y : chat_line_y2;
if (min_y < 0)
min_y = 0;
if (max_y > num_options - 1)
max_y = num_options - 1;
for (i = min_y; i <= max_y; i++)
{
ptr_fset_option = weechat_arraylist_get (fset_options, i);
if (ptr_fset_option)
{
fset_option_toggle_mark (ptr_fset_option, NULL);
}
}
snprintf (str_command, sizeof (str_command),
"/fset -go %d",
chat_line_y2);
weechat_command (fset_buffer, str_command);
} }
snprintf (str_command, sizeof (str_command),
"/fset -go %d",
index2);
weechat_command (fset_buffer, str_command);
} }
} }
@@ -335,7 +330,7 @@ fset_mouse_init ()
weechat_hashtable_set ( weechat_hashtable_set (
keys, keys,
"@chat(" FSET_PLUGIN_NAME "." FSET_BUFFER_NAME "):button1", "@chat(" FSET_PLUGIN_NAME "." FSET_BUFFER_NAME "):button1",
"/window ${_window_number};/fset -go ${fset_option_index}"); "/window ${_window_number};/fset -go ${_chat_line_y}");
weechat_hashtable_set ( weechat_hashtable_set (
keys, keys,
"@chat(" FSET_PLUGIN_NAME "." FSET_BUFFER_NAME "):button2*", "@chat(" FSET_PLUGIN_NAME "." FSET_BUFFER_NAME "):button2*",
+19 -75
View File
@@ -48,11 +48,11 @@ struct t_hook *fset_option_timer_hook = NULL;
/* types */ /* types */
char *fset_option_type_string[FSET_OPTION_NUM_TYPES] = char *fset_option_type_string[FSET_OPTION_NUM_TYPES] =
{ N_("boolean"), N_("integer"), N_("string"), N_("color"), N_("enum") }; { N_("boolean"), N_("integer"), N_("string"), N_("color") };
char *fset_option_type_string_short[FSET_OPTION_NUM_TYPES] = char *fset_option_type_string_short[FSET_OPTION_NUM_TYPES] =
{ "bool", "int", "str", "col", "enum" }; { "bool", "int", "str", "col" };
char *fset_option_type_string_tiny[FSET_OPTION_NUM_TYPES] = char *fset_option_type_string_tiny[FSET_OPTION_NUM_TYPES] =
{ "b", "i", "s", "c", "e" }; { "b", "i", "s", "c" };
/* /*
@@ -170,18 +170,6 @@ fset_option_set_value_string (struct t_config_option *option,
*value_string = strdup (*((int *)value) ? "on" : "off"); *value_string = strdup (*((int *)value) ? "on" : "off");
break; break;
case FSET_OPTION_TYPE_INTEGER: case FSET_OPTION_TYPE_INTEGER:
snprintf (str_value, sizeof (str_value), "%d", *((int *)value));
*value_string = strdup (str_value);
break;
case FSET_OPTION_TYPE_STRING:
*value_string = strdup (
(default_value) ? weechat_config_string_default (option) : weechat_config_string (option));
break;
case FSET_OPTION_TYPE_COLOR:
*value_string = strdup (
(default_value) ? weechat_config_color_default (option) : weechat_config_color (option));
break;
case FSET_OPTION_TYPE_ENUM:
ptr_string_values = weechat_config_option_get_pointer ( ptr_string_values = weechat_config_option_get_pointer (
option, "string_values"); option, "string_values");
if (ptr_string_values) if (ptr_string_values)
@@ -191,9 +179,18 @@ fset_option_set_value_string (struct t_config_option *option,
} }
else else
{ {
*value_string = strdup (""); snprintf (str_value, sizeof (str_value), "%d", *((int *)value));
*value_string = strdup (str_value);
} }
break; break;
case FSET_OPTION_TYPE_STRING:
*value_string = strdup (
(default_value) ? weechat_config_string_default (option) : weechat_config_string (option));
break;
case FSET_OPTION_TYPE_COLOR:
*value_string = strdup (
(default_value) ? weechat_config_color_default (option) : weechat_config_color (option));
break;
case FSET_OPTION_NUM_TYPES: case FSET_OPTION_NUM_TYPES:
break; break;
} }
@@ -289,8 +286,6 @@ fset_option_add_option_in_hashtable (struct t_hashtable *hashtable,
fset_option->description : "(no description)"); fset_option->description : "(no description)");
weechat_hashtable_set (hashtable, weechat_hashtable_set (hashtable,
"string_values", fset_option->string_values); "string_values", fset_option->string_values);
weechat_hashtable_set (hashtable,
"allowed_values", fset_option->allowed_values);
weechat_hashtable_set (hashtable, weechat_hashtable_set (hashtable,
"default_value_undef", "default_value_undef",
(fset_option->default_value == NULL) ? "1" : "0"); (fset_option->default_value == NULL) ? "1" : "0");
@@ -346,14 +341,9 @@ fset_option_match_filter (struct t_fset_option *fset_option, const char *filter)
else if (strncmp (filter, "t:", 2) == 0) else if (strncmp (filter, "t:", 2) == 0)
{ {
/* filter by type */ /* filter by type */
return ( return (weechat_strcasecmp (
(weechat_strcasecmp ( fset_option_type_string_short[fset_option->type],
fset_option_type_string_short[fset_option->type], filter + 2) == 0) ? 1 : 0;
filter + 2) == 0)
|| (weechat_strcasecmp (
fset_option_type_string[fset_option->type],
filter + 2) == 0)) ?
1 : 0;
} }
else if (strncmp (filter, "d==", 3) == 0) else if (strncmp (filter, "d==", 3) == 0)
{ {
@@ -437,7 +427,7 @@ fset_option_set_values (struct t_fset_option *fset_option,
void *ptr_default_value, *ptr_value; void *ptr_default_value, *ptr_value;
struct t_config_option *ptr_parent_option; struct t_config_option *ptr_parent_option;
int length, *ptr_type, *ptr_min, *ptr_max; int length, *ptr_type, *ptr_min, *ptr_max;
char str_value[64], str_allowed_values[4096]; char str_value[64];
/* file */ /* file */
if (fset_option->file) if (fset_option->file)
@@ -590,40 +580,6 @@ fset_option_set_values (struct t_fset_option *fset_option,
{ {
fset_option->string_values = strdup (""); fset_option->string_values = strdup ("");
} }
/* allowed_values */
if (fset_option->allowed_values)
{
free (fset_option->allowed_values);
fset_option->allowed_values = NULL;
}
str_allowed_values[0] = '\0';
switch (fset_option->type)
{
case FSET_OPTION_TYPE_BOOLEAN:
snprintf (str_allowed_values, sizeof (str_allowed_values),
"on,off");
break;
case FSET_OPTION_TYPE_INTEGER:
snprintf (str_allowed_values, sizeof (str_allowed_values),
"%d..%d", *ptr_min, *ptr_max);
break;
case FSET_OPTION_TYPE_STRING:
snprintf (str_allowed_values, sizeof (str_allowed_values),
"%s", _("any string"));
break;
case FSET_OPTION_TYPE_COLOR:
snprintf (str_allowed_values, sizeof (str_allowed_values),
"%s", _("any color"));
break;
case FSET_OPTION_TYPE_ENUM:
snprintf (str_allowed_values, sizeof (str_allowed_values),
"%s", fset_option->string_values);
break;
case FSET_OPTION_NUM_TYPES:
break;
}
fset_option->allowed_values = strdup (str_allowed_values);
} }
/* /*
@@ -770,11 +726,6 @@ fset_option_set_max_length_fields_option (struct t_fset_option *fset_option)
if (length > fset_option_max_length->string_values) if (length > fset_option_max_length->string_values)
fset_option_max_length->string_values = length; fset_option_max_length->string_values = length;
/* allowed_values */
length = weechat_utf8_strlen_screen (fset_option->allowed_values);
if (length > fset_option_max_length->allowed_values)
fset_option_max_length->allowed_values = length;
/* marked */ /* marked */
length = weechat_utf8_strlen_screen (weechat_config_string (fset_config_look_marked_string)); length = weechat_utf8_strlen_screen (weechat_config_string (fset_config_look_marked_string));
if (length > fset_option_max_length->marked) if (length > fset_option_max_length->marked)
@@ -847,7 +798,6 @@ fset_option_alloc (struct t_config_option *option)
new_fset_option->max = NULL; new_fset_option->max = NULL;
new_fset_option->description = NULL; new_fset_option->description = NULL;
new_fset_option->string_values = NULL; new_fset_option->string_values = NULL;
new_fset_option->allowed_values = NULL;
new_fset_option->marked = 0; new_fset_option->marked = 0;
fset_option_set_values (new_fset_option, option); fset_option_set_values (new_fset_option, option);
@@ -969,8 +919,6 @@ fset_option_free (struct t_fset_option *fset_option)
free (fset_option->description); free (fset_option->description);
if (fset_option->string_values) if (fset_option->string_values)
free (fset_option->string_values); free (fset_option->string_values);
if (fset_option->allowed_values)
free (fset_option->allowed_values);
free (fset_option); free (fset_option);
} }
@@ -1166,7 +1114,7 @@ fset_option_toggle_value (struct t_fset_option *fset_option,
} }
/* /*
* Adds a value to an integer/enum/color option. * Adds a value to an integer/color option.
*/ */
void void
@@ -1178,8 +1126,7 @@ fset_option_add_value (struct t_fset_option *fset_option,
if (!fset_option || !option if (!fset_option || !option
|| ((fset_option->type != FSET_OPTION_TYPE_INTEGER) || ((fset_option->type != FSET_OPTION_TYPE_INTEGER)
&& (fset_option->type != FSET_OPTION_TYPE_COLOR) && (fset_option->type != FSET_OPTION_TYPE_COLOR)))
&& (fset_option->type != FSET_OPTION_TYPE_ENUM)))
return; return;
snprintf (str_value, sizeof (str_value), snprintf (str_value, sizeof (str_value),
@@ -1764,8 +1711,6 @@ fset_option_add_to_infolist (struct t_infolist *infolist,
return 0; return 0;
if (!weechat_infolist_new_var_string (ptr_item, "string_values", fset_option->description)) if (!weechat_infolist_new_var_string (ptr_item, "string_values", fset_option->description))
return 0; return 0;
if (!weechat_infolist_new_var_string (ptr_item, "allowed_values", fset_option->allowed_values))
return 0;
if (!weechat_infolist_new_var_integer (ptr_item, "marked", fset_option->marked)) if (!weechat_infolist_new_var_integer (ptr_item, "marked", fset_option->marked))
return 0; return 0;
@@ -1806,7 +1751,6 @@ fset_option_print_log ()
weechat_log_printf (" max . . . . . . . . . : '%s'", ptr_fset_option->max); weechat_log_printf (" max . . . . . . . . . : '%s'", ptr_fset_option->max);
weechat_log_printf (" description . . . . . : '%s'", ptr_fset_option->description); weechat_log_printf (" description . . . . . : '%s'", ptr_fset_option->description);
weechat_log_printf (" string_values . . . . : '%s'", ptr_fset_option->string_values); weechat_log_printf (" string_values . . . . : '%s'", ptr_fset_option->string_values);
weechat_log_printf (" allowed_values. . . . : '%s'", ptr_fset_option->allowed_values);
weechat_log_printf (" marked. . . . . . . . : %d", ptr_fset_option->marked); weechat_log_printf (" marked. . . . . . . . : %d", ptr_fset_option->marked);
} }
} }
-3
View File
@@ -30,7 +30,6 @@ enum t_fset_option_type
FSET_OPTION_TYPE_INTEGER, FSET_OPTION_TYPE_INTEGER,
FSET_OPTION_TYPE_STRING, FSET_OPTION_TYPE_STRING,
FSET_OPTION_TYPE_COLOR, FSET_OPTION_TYPE_COLOR,
FSET_OPTION_TYPE_ENUM,
/* number of option types */ /* number of option types */
FSET_OPTION_NUM_TYPES, FSET_OPTION_NUM_TYPES,
}; };
@@ -51,7 +50,6 @@ struct t_fset_option
char *max; /* max value */ char *max; /* max value */
char *description; /* option description */ char *description; /* option description */
char *string_values; /* string values for option */ char *string_values; /* string values for option */
char *allowed_values; /* allowed values (depends on type)*/
int marked; /* option marked for group oper. */ int marked; /* option marked for group oper. */
struct t_fset_option *prev_option; /* link to previous option */ struct t_fset_option *prev_option; /* link to previous option */
struct t_fset_option *next_option; /* link to next option */ struct t_fset_option *next_option; /* link to next option */
@@ -79,7 +77,6 @@ struct t_fset_option_max_length
int description_en; int description_en;
int description_en2; int description_en2;
int string_values; int string_values;
int allowed_values;
int marked; int marked;
}; };
-1
View File
@@ -32,7 +32,6 @@ add_library(irc MODULE
irc-ignore.c irc-ignore.h irc-ignore.c irc-ignore.h
irc-info.c irc-info.h irc-info.c irc-info.h
irc-input.c irc-input.h irc-input.c irc-input.h
irc-list.c irc-list.h
irc-join.c irc-join.h irc-join.c irc-join.h
irc-message.c irc-message.h irc-message.c irc-message.h
irc-mode.c irc-mode.h irc-mode.c irc-mode.h
+3 -3
View File
@@ -69,7 +69,7 @@ irc_bar_item_buffer_plugin (const void *pointer, void *data,
if (ptr_plugin == weechat_irc_plugin) if (ptr_plugin == weechat_irc_plugin)
{ {
irc_buffer_get_server_and_channel (buffer, &server, &channel); irc_buffer_get_server_and_channel (buffer, &server, &channel);
if (weechat_config_enum (irc_config_look_item_display_server) == IRC_CONFIG_LOOK_ITEM_DISPLAY_SERVER_PLUGIN) if (weechat_config_integer (irc_config_look_item_display_server) == IRC_CONFIG_LOOK_ITEM_DISPLAY_SERVER_PLUGIN)
{ {
if (server && channel) if (server && channel)
{ {
@@ -127,7 +127,7 @@ irc_bar_item_buffer_name_content (struct t_gui_buffer *buffer, int short_name)
buf_name[0] = '\0'; buf_name[0] = '\0';
display_server = (weechat_config_enum (irc_config_look_item_display_server) == IRC_CONFIG_LOOK_ITEM_DISPLAY_SERVER_NAME); display_server = (weechat_config_integer (irc_config_look_item_display_server) == IRC_CONFIG_LOOK_ITEM_DISPLAY_SERVER_NAME);
irc_buffer_get_server_and_channel (buffer, &server, &channel); irc_buffer_get_server_and_channel (buffer, &server, &channel);
if (server || channel) if (server || channel)
@@ -330,7 +330,7 @@ irc_bar_item_channel (const void *pointer, void *data,
buf_name[0] = '\0'; buf_name[0] = '\0';
modes[0] = '\0'; modes[0] = '\0';
display_server = (weechat_config_enum (irc_config_look_item_display_server) == IRC_CONFIG_LOOK_ITEM_DISPLAY_SERVER_NAME); display_server = (weechat_config_integer (irc_config_look_item_display_server) == IRC_CONFIG_LOOK_ITEM_DISPLAY_SERVER_NAME);
irc_buffer_get_server_and_channel (buffer, &server, &channel); irc_buffer_get_server_and_channel (buffer, &server, &channel);
if (server || channel) if (server || channel)
+7 -19
View File
@@ -110,7 +110,7 @@ irc_batch_add_to_list (struct t_irc_server *server, struct t_irc_batch *batch)
struct t_irc_batch * struct t_irc_batch *
irc_batch_start_batch (struct t_irc_server *server, const char *reference, irc_batch_start_batch (struct t_irc_server *server, const char *reference,
const char *parent_ref, const char *type, const char *parent_ref, const char *type,
const char *parameters, struct t_hashtable *tags) const char *parameters)
{ {
struct t_irc_batch *ptr_batch; struct t_irc_batch *ptr_batch;
@@ -130,7 +130,6 @@ irc_batch_start_batch (struct t_irc_server *server, const char *reference,
ptr_batch->parent_ref = (parent_ref) ? strdup (parent_ref) : NULL; ptr_batch->parent_ref = (parent_ref) ? strdup (parent_ref) : NULL;
ptr_batch->type = strdup (type); ptr_batch->type = strdup (type);
ptr_batch->parameters = (parameters) ? strdup (parameters) : NULL; ptr_batch->parameters = (parameters) ? strdup (parameters) : NULL;
ptr_batch->tags = (tags) ? weechat_hashtable_dup (tags) : NULL;
ptr_batch->start_time = time (NULL); ptr_batch->start_time = time (NULL);
ptr_batch->messages = NULL; ptr_batch->messages = NULL;
ptr_batch->end_received = 0; ptr_batch->end_received = 0;
@@ -189,8 +188,6 @@ irc_batch_free (struct t_irc_server *server, struct t_irc_batch *batch)
free (batch->type); free (batch->type);
if (batch->parameters) if (batch->parameters)
free (batch->parameters); free (batch->parameters);
if (batch->tags)
weechat_hashtable_free (batch->tags);
if (batch->messages) if (batch->messages)
weechat_string_dyn_free (batch->messages, 1); weechat_string_dyn_free (batch->messages, 1);
@@ -229,7 +226,7 @@ irc_batch_process_messages (struct t_irc_server *server,
struct t_irc_batch *batch) struct t_irc_batch *batch)
{ {
char **list_messages, *command, *channel, modifier_data[1024], *new_messages; char **list_messages, *command, *channel, modifier_data[1024], *new_messages;
char *message, *message2; char *message;
int i, count_messages; int i, count_messages;
if (!batch || !batch->messages) if (!batch || !batch->messages)
@@ -264,13 +261,8 @@ irc_batch_process_messages (struct t_irc_server *server,
if (!message) if (!message)
continue; continue;
message2 = irc_tag_add_tags_to_message (message,
batch->tags);
if (!message2)
continue;
irc_message_parse (server, irc_message_parse (server,
message2, message,
NULL, /* tags */ NULL, /* tags */
NULL, /* message_without_tags */ NULL, /* message_without_tags */
NULL, /* nick */ NULL, /* nick */
@@ -288,13 +280,13 @@ irc_batch_process_messages (struct t_irc_server *server,
NULL); /* pos_text */ NULL); /* pos_text */
/* add raw message */ /* add raw message */
irc_raw_print (server, IRC_RAW_FLAG_RECV, message2); irc_raw_print (server, IRC_RAW_FLAG_RECV, message);
/* call receive callback, ignoring batch tags */ /* call receive callback, ignoring batch tags */
irc_protocol_recv_command (server, message2, command, channel, 1); irc_protocol_recv_command (server, message, command, channel, 1);
free (message); if (message)
free (message2); free (message);
if (command) if (command)
free (command); free (command);
if (channel) if (channel)
@@ -570,10 +562,6 @@ irc_batch_print_log (struct t_irc_server *server)
weechat_log_printf (" parent_ref. . . . . : '%s'", ptr_batch->parent_ref); weechat_log_printf (" parent_ref. . . . . : '%s'", ptr_batch->parent_ref);
weechat_log_printf (" type. . . . . . . . : '%s'", ptr_batch->type); weechat_log_printf (" type. . . . . . . . : '%s'", ptr_batch->type);
weechat_log_printf (" parameters. . . . . : '%s'", ptr_batch->parameters); weechat_log_printf (" parameters. . . . . : '%s'", ptr_batch->parameters);
weechat_log_printf (" tags. . . . . . . . : 0x%lx (hashtable: '%s')",
ptr_batch->tags,
weechat_hashtable_get_string (ptr_batch->tags,
"keys_values"));
weechat_log_printf (" start_time. . . . . : %lld", (long long)ptr_batch->start_time); weechat_log_printf (" start_time. . . . . : %lld", (long long)ptr_batch->start_time);
weechat_log_printf (" message . . . . . . : 0x%lx ('%s')", weechat_log_printf (" message . . . . . . : 0x%lx ('%s')",
ptr_batch->messages, ptr_batch->messages,

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