1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-28 13:56:37 +02:00

Compare commits

...

79 Commits

Author SHA1 Message Date
Sébastien Helleu 8b5da3c6cb core: add CVE id in ChangeLog 2021-09-07 20:33:44 +02:00
Sébastien Helleu e852cef92a core: force version 18.04 of Ubuntu in CI 2021-09-04 23:14:48 +02:00
Sébastien Helleu 84e44632e5 relay: fix crash when decoding a malformed websocket frame 2021-09-04 23:09:19 +02:00
Sébastien Helleu 77bbd5f875 Version 3.0.2-dev 2021-09-04 23:06:58 +02:00
Sébastien Helleu 93f5371cf8 Version 3.0.1 2021-01-31 10:07:53 +01:00
Sébastien Helleu 9db6255a84 Revert "exec: return NULL immediately if the task id is invalid"
This reverts commit dff1bf6f0f.

(cherry picked from commit 08ebc99dea)
2020-12-06 13:42:30 +01:00
Sébastien Helleu 03d36f13af spell: fix refresh of bar item "spell_suggest" when the input becomes empty (issue #1586)
When the input is empty, length of string is zero: when sending zero to
function weechat_string_dyn_alloc, the function returns NULL and therefore we
return immediately instead of handling the empty input, which is a valid value.

The regression was introduced by the use of dynamic strings, commit:
299f74bfef

(cherry picked from commit eb90a73fe8)
2020-11-20 22:21:59 +01:00
Sébastien Helleu b1fe88d5d4 spell: fix crash with IRC color codes in command line (issue #1589)
(cherry picked from commit ee24fac586)
2020-11-20 22:14:22 +01:00
Sébastien Helleu dcccfa2255 Version 3.0.1-dev 2020-11-20 22:14:12 +01:00
Sébastien Helleu 72936fd3be Version 3.0 2020-11-11 08:46:53 +01:00
Sébastien Helleu 3da91d702e debian: update changelog 2020-11-10 18:32:26 +01:00
Sébastien Helleu 43d9b3a723 Version 3.0-rc1 2020-11-01 10:09:17 +01:00
Nils Görs 5beb5d7052 doc: update German documentation 2020-10-30 12:55:53 +01:00
Sébastien Helleu 0ff08e54f5 trigger: add variable "tg_argc" in data set by command trigger (closes #1576) 2020-10-21 19:10:37 +02:00
Sébastien Helleu 30e48336f4 irc: remove SASL timeout message displayed by error after successful SASL authentication (closes #1515)
The SASL timer is removed immediately when the SASL authentication is
successful or has failed.
2020-10-18 09:35:04 +02:00
Sébastien Helleu 2807a8374b doc: update German auto-generated file 2020-10-16 21:15:43 +02:00
Nils Görs da934d9818 core: update German translations 2020-10-16 16:38:50 +02:00
Sébastien Helleu 939b16230c script: allow command /script list when option script.scripts.download_enabled is set to off (closes #1574) 2020-10-15 20:38:43 +02:00
Trygve Aaberge c3707bb6e1 doc: Update hotlist example to match hotlist_prefix
hotlist_prefix defaults to "H: ", so the example should show the same to
make it easier to understand what it is.
2020-10-15 13:46:27 +02:00
Sébastien Helleu fa46a2fe2d exec: add option "-oerr" to send stderr to buffer (now disabled by default) (closes #1566) 2020-10-11 16:33:50 +02:00
Sébastien Helleu 4d696d7cc8 exec: add missing option "-oc" in /help exec 2020-10-11 15:55:40 +02:00
Sébastien Helleu c8f2ebcea3 core: add terminal and terminal multiplexer in GitHub issue template 2020-10-11 08:52:54 +02:00
Sébastien Helleu 72fdd689a2 core: update ChangeLog (issue #1567) 2020-10-10 13:36:26 +02:00
Sébastien Helleu 2384dbe193 trigger: add a function to set variables common to all triggers (issue #1567) 2020-10-10 13:32:36 +02:00
Sébastien Helleu fd72226a71 doc: translate tg_trigger_name variable under triggers (issue #1567) 2020-10-10 13:22:49 +02:00
Simmo Saan 765d2dd277 doc: add tg_trigger_name variable under triggers (issue #1567) 2020-10-10 10:13:42 +03:00
Simmo Saan 8c87b7a1f0 trigger: add tg_trigger_name variable to all triggers (closes #1567) 2020-10-10 10:13:42 +03:00
Sébastien Helleu 07565a4aa6 doc: update German auto-generated file 2020-10-07 20:32:51 +02:00
Nils Görs 79f71a0e1a core: update German translations 2020-10-05 12:22:21 +02:00
Sébastien Helleu c016e7ea87 core: use apt-get option --no-install-recommends instead of modifying config file /etc/apt/apt.conf 2020-10-04 19:11:39 +02:00
Sébastien Helleu bb82dbc0ec tests: add missing braces around if/else in macro WEE_NICK_STRDUP_FOR_COLOR (issue #1565) 2020-10-04 08:53:08 +02:00
Sébastien Helleu f8403c76db api: add optional list of colors in infos "nick_color" and "nick_color_name" (closes #1565) 2020-10-04 08:46:36 +02:00
Sébastien Helleu 657e659c42 core: add argument "num_colors" in function gui_nick_hash_color, add tests on nick functions (issue #1565)
Functions tested:

- gui_nick_hash_djb2_64
- gui_nick_hash_djb2_32
- gui_nick_hash_sum_64
- gui_nick_hash_sum_32
- gui_nick_get_forced_color
- gui_nick_strdup_for_color
- gui_nick_find_color
- gui_nick_find_color_name
2020-10-04 08:46:25 +02:00
Sébastien Helleu 1c5e5824e7 tests: run callback when resetting options in tests 2020-10-03 14:40:59 +02:00
Sébastien Helleu b32f561f77 irc: fix again typo in English plural form of "normal" 2020-09-12 18:49:42 +02:00
Sébastien Helleu 1745b78b57 irc: fix typo in English plural form of "normal" (normals -> normal) 2020-09-12 18:08:13 +02:00
Sébastien Helleu 7ce5dce8f9 doc: update German auto-generated file 2020-09-12 17:22:19 +02:00
Nils Görs 8544d9ef0b core: update German translations 2020-09-08 13:15:31 +02:00
Sébastien Helleu 3c987f3a1c script: add option script.scripts.download_enabled (closes #1548) 2020-09-06 19:15:15 +02:00
Sébastien Helleu 9ccf62979f script: do not automatically download list of scripts on startup if the file is too old (closes #1548)
The repository file is downloaded anyway if too old on any /script action.
2020-09-02 19:22:56 +02:00
Sébastien Helleu 579af1b265 tests: fix compilation with CppUTest ≥ 4.0
MemoryLeakWarningPlugin::turnOnNewDeleteOverloads is replaced by
MemoryLeakWarningPlugin::turnOnThreadSafeNewDeleteOverloads, which is available
in both CppUTest 3.x and 4.0.
2020-08-29 10:18:50 +02:00
Sébastien Helleu 54b7c88553 spell: also skip IRC color attributes codes when checking words in input (issue #1547) 2020-08-28 18:32:50 +02:00
Sébastien Helleu aac14f28dd irc: add comments in functions irc_color_decode and irc_color_encode 2020-08-25 19:37:47 +02:00
Sébastien Helleu e25c364790 spell: skip IRC color codes when checking words in input (closes #1547) 2020-08-25 19:37:42 +02:00
Sébastien Helleu 299f74bfef spell: use dynamic string functions to return modified string 2020-08-24 22:12:45 +02:00
Sébastien Helleu cfd221014c api: add argument "bytes" in function string_dyn_concat 2020-08-23 23:27:57 +02:00
Sébastien Helleu b459dab84b spell: properly skip WeeChat color codes when checking words in input (closes #1547) 2020-08-22 08:56:21 +02:00
Sébastien Helleu 268aa631c6 api: add function string_color_code_size (issue #1547) 2020-08-22 08:55:16 +02:00
Sébastien Helleu 7dd5abd625 fset: fix refresh of option values in fset buffer (issue #1553) 2020-08-20 20:31:07 +02:00
Sébastien Helleu d53fb92a30 irc: replace calls to malloc by calloc
After these calls to malloc the memory is set to zero, so it's better to call
calloc that does it already.
2020-08-17 20:06:17 +02:00
Sébastien Helleu fbc2438c1c core: replace calls to malloc by calloc
After these calls to malloc the memory is set to zero, so it's better to call
calloc that does it already.
2020-08-17 19:57:10 +02:00
Sébastien Helleu fca5a4b42c core: set notify_level to 3 if highlight is forced in gui_line_hook_update (only if tag "notify_none" is not in the line) (issue #1529) 2020-08-16 12:40:41 +02:00
Sébastien Helleu 330d7d50d2 core: set notify_level to 3 in case of highlight in gui_line_hook_update only if tag "notify_none" is not in the line (issue #1529) 2020-08-16 12:40:01 +02:00
Sébastien Helleu 786072806b core: set notify_level to 3 in case of highlight only if tag "notify_none" is not in the line (issue #1529) 2020-08-16 08:27:00 +02:00
Sébastien Helleu d15db0ecbb core: set "notify_level" to 3 if there is a highlight in the line (closes #1529) 2020-08-15 14:02:40 +02:00
Sébastien Helleu 45ce1d7604 doc: update German auto-generated file 2020-08-13 08:38:45 +02:00
Nils Görs 0e1a59cbef core: update German translations 2020-08-11 18:47:46 +02:00
Sébastien Helleu 1054cdf1e9 fset: add option fset.look.auto_refresh (closes #1553) 2020-08-09 10:56:03 +02:00
Sébastien Helleu 0cc5df6649 irc: send all channels in a single JOIN command when reconnecting to the server (closes #1551) 2020-08-05 20:05:36 +02:00
Sébastien Helleu 36c55f6973 tests: fix name of some unit tests 2020-08-05 07:28:30 +02:00
Sébastien Helleu 00c34b0ba8 core: replace "unit" by module for changes in unit tests 2020-08-05 07:22:38 +02:00
Sébastien Helleu 8cf56dfdf9 tests: add tests on GUI line functions
Functions tested:

- gui_line_lines_alloc
- gui_line_lines_free
- gui_line_tags_alloc
- gui_line_tags_free
- gui_line_is_displayed
- gui_line_has_tag_no_filter
- gui_line_search_tag_starting_with
- gui_line_get_nick_tag
2020-08-04 23:42:20 +02:00
Sébastien Helleu 0ab44c02a4 core: check that line is not NULL in functions gui_line_is_displayed and gui_line_get_nick_tag 2020-08-04 23:12:18 +02:00
Sébastien Helleu 6704825d7b core: check that line_data is not NULL in functions gui_line_tags_alloc and gui_line_has_tag_no_filter 2020-08-04 22:56:02 +02:00
Sébastien Helleu ec898732a1 core: rename functions to allocate/free lines 2020-08-04 22:42:59 +02:00
Sébastien Helleu 9262720a65 doc: add instructions to build WeeChat with address sanitizer (user's guide) 2020-08-01 09:53:47 +02:00
Sébastien Helleu 26085575d5 core: disable debug by default in autotools build 2020-08-01 01:41:40 +02:00
Sébastien Helleu 7412f5815c trigger: fix recursive calls to triggers using regex (closes #1546) 2020-07-31 20:50:33 +02:00
Sébastien Helleu 00e25af470 doc: update German auto-generated file 2020-07-21 18:28:38 +02:00
Nils Görs 6fc40fb8d4 core: update German translations 2020-07-21 11:36:35 +02:00
Sébastien Helleu 3e6c8b6a88 core: update ChangeLog (issue #1535, issue #1538) 2020-07-21 08:29:03 +02:00
Sébastien Helleu c002c5f77f doc: add "irc_nick" in hashtable sent to hook_focus callback (plugin API reference) (issue #1538) 2020-07-21 08:28:01 +02:00
Simmo Saan b69e47d0a2 irc: add pointer "irc_nick" in hashtable sent to hook focus callback (closes #1535) 2020-07-21 08:18:43 +02:00
Sébastien Helleu 84e30438d4 irc: allow to send text on buffers with commands /allchan, /allpv and /allserv 2020-07-20 22:39:28 +02:00
Sébastien Helleu ee3a4a1fc0 irc: evaluate command executed by commands /allchan, /allpv and /allserv (closes #1536)
The extra variables are now replaced (in addition to `$server`, `$channel` and
`$nick`):

- `${irc_server.xxx}`: variable xxx in server
- `${irc_channel.xxx}`: variable xxx in channel
2020-07-20 22:20:22 +02:00
Sébastien Helleu 5bf571c60f doc: improve description of tags "notify_xxx" in chapter on lines tags (user's guide) (issue #1529) 2020-07-20 21:48:20 +02:00
Sébastien Helleu e0e905ca7f trigger: check that tag "notify_none" is not present in message to run command of default trigger beep (issue #1529) 2020-07-20 21:08:59 +02:00
Sébastien Helleu 2b16036f08 core: do not add line with highlight and tag "notify_none" to hotlist (closes #1529) 2020-07-20 09:26:36 +02:00
Sébastien Helleu 9ef793fd65 Version 3.0-dev 2020-07-18 14:27:37 +02:00
131 changed files with 6524 additions and 1892 deletions
+2
View File
@@ -39,3 +39,5 @@ labels: bug
- WeeChat version:  - WeeChat version: 
- OS, distribution and version:  - OS, distribution and version: 
- Terminal: 
- Terminal multiplexer (screen/tmux/…/none): 
+2 -3
View File
@@ -7,7 +7,7 @@ jobs:
build: build:
name: ${{ matrix.config.name }} name: ${{ matrix.config.name }}
runs-on: ubuntu-latest runs-on: ubuntu-18.04
strategy: strategy:
fail-fast: false fail-fast: false
matrix: matrix:
@@ -25,9 +25,8 @@ jobs:
- name: Install dependencies - name: Install dependencies
run: | run: |
echo 'APT::Install-Recommends "false";' | sudo tee -a /etc/apt/apt.conf
sudo apt-get update -qq sudo apt-get update -qq
sudo apt-get -y install devscripts equivs python-pip libenchant-dev autopoint cmake lcov pkg-config libncursesw5-dev gem2deb libperl-dev python-dev python3-dev libaspell-dev liblua5.3-dev tcl8.6-dev guile-2.0-dev libv8-dev libcurl4-gnutls-dev libgcrypt20-dev libgnutls28-dev zlib1g-dev curl libcpputest-dev php7.4-dev libphp7.4-embed libargon2-0-dev libsodium-dev pylint3 asciidoctor sudo apt-get --yes --no-install-recommends install devscripts equivs python-pip libenchant-dev autopoint cmake lcov pkg-config libncursesw5-dev gem2deb libperl-dev python-dev python3-dev libaspell-dev liblua5.3-dev tcl8.6-dev guile-2.0-dev libv8-dev libcurl4-gnutls-dev libgcrypt20-dev libgnutls28-dev zlib1g-dev curl libcpputest-dev php7.4-dev libphp7.4-embed libargon2-0-dev libsodium-dev pylint3 asciidoctor
sudo -H pip install --ignore-installed msgcheck sudo -H pip install --ignore-installed msgcheck
- name: Test patches - name: Test patches
+68 -15
View File
@@ -15,6 +15,59 @@ https://weechat.org/files/releasenotes/ReleaseNotes-devel.html[release notes]
(file _ReleaseNotes.adoc_ in sources). (file _ReleaseNotes.adoc_ in sources).
[[v3.0.2]]
== Version 3.0.2 (under dev)
Bug fixes::
* relay: fix crash when decoding a malformed websocket frame (CVE-2021-40516)
[[v3.0.1]]
== Version 3.0.1 (2021-01-31)
Bug fixes::
* exec: fix search of command by identifier
* spell: fix refresh of bar item "spell_suggest" when the input becomes empty (issue #1586)
* spell: fix crash with IRC color codes in command line (issue #1589)
[[v3.0]]
== Version 3.0 (2020-11-11)
New features::
* api: add optional list of colors in infos "nick_color" and "nick_color_name" (issue #1565)
* api: add argument "bytes" in function string_dyn_concat
* api: add function string_color_code_size (issue #1547)
* exec: add option "-oerr" to send stderr to buffer (now disabled by default) (issue #1566)
* fset: add option fset.look.auto_refresh (issue #1553)
* irc: add pointer to irc_nick in focus of bar item "buffer_nicklist" (issue #1535, issue #1538)
* irc: allow to send text on buffers with commands /allchan, /allpv and /allserv
* irc: evaluate command executed by commands /allchan, /allpv and /allserv (issue #1536)
* script: add option script.scripts.download_enabled (issue #1548)
* trigger: add variable "tg_argc" in data set by command trigger (issue #1576)
* trigger: add variable "tg_trigger_name" in data set by all triggers (issue #1567, issue #1568)
Bug fixes::
* core: set "notify_level" to 3 if there is a highlight in the line (issue #1529)
* core: do not add line with highlight and tag "notify_none" to hotlist (issue #1529)
* irc: remove SASL timeout message displayed by error after successful SASL authentication (issue #1515)
* irc: send all channels in a single JOIN command when reconnecting to the server (issue #1551)
* script: do not automatically download list of scripts on startup if the file is too old (issue #1548)
* spell: properly skip WeeChat and IRC color codes when checking words in input (issue #1547)
* trigger: fix recursive calls to triggers using regex (issue #1546)
* trigger: add `${tg_tags} !!- ,notify_none,` in conditions of default trigger "beep" (issue #1529)
Tests::
* core: add tests on GUI line functions
Build::
* core: disable debug by default in autotools build
* tests: fix compilation with CppUTest ≥ 4.0
[[v2.9]] [[v2.9]]
== Version 2.9 (2020-07-18) == Version 2.9 (2020-07-18)
@@ -136,9 +189,9 @@ Bug fixes::
Tests:: Tests::
* scripts: fix generation of test scripts with Python 3.8 * scripts: fix generation of test scripts with Python 3.8
* unit: add tests on IRC protocol functions and callbacks * core: add tests on function secure_derive_key
* unit: add tests on function secure_derive_key * core: add tests on functions util_get_time_diff and util_file_get_content
* unit: add tests on functions util_get_time_diff and util_file_get_content * irc: add tests on IRC protocol functions and callbacks
Build:: Build::
@@ -201,7 +254,7 @@ Bug fixes::
Tests:: Tests::
* unit: add tests on GUI color functions * core: add tests on GUI color functions
Build:: Build::
@@ -253,7 +306,7 @@ Bug fixes::
Tests:: Tests::
* unit: add tests on IRC ignore, message and nick functions * irc: add tests on IRC ignore, message and nick functions
Build:: Build::
@@ -305,7 +358,7 @@ Bug fixes::
Tests:: Tests::
* unit: add tests on function util_signal_search * core: add tests on function util_signal_search
Build:: Build::
@@ -350,8 +403,8 @@ Bug fixes::
Tests:: Tests::
* unit: fix UTF-8 and evaluation tests on FreeBSD * core: fix UTF-8 and evaluation tests on FreeBSD
* unit: add tests on IRC configuration and protocol functions * irc: add tests on IRC configuration and protocol functions
Build:: Build::
@@ -388,7 +441,7 @@ Bug fixes::
Tests:: Tests::
* unit: add tests on line and hook functions * core: add tests on line and hook functions
Build:: Build::
@@ -453,7 +506,7 @@ Documentation::
Tests:: Tests::
* unit, scripts: add tests on infolists * core, scripts: add tests on infolists
Build:: Build::
@@ -540,8 +593,8 @@ Bug fixes::
Tests:: Tests::
* core: display an error if the required locale en_US.UTF-8 is not installed
* scripts: add scripting API tests (issue #104) * scripts: add scripting API tests (issue #104)
* unit: display an error if the required locale en_US.UTF-8 is not installed
Build:: Build::
@@ -809,8 +862,8 @@ Documentation::
Tests:: Tests::
* unit: add a test to check if all plugins are loaded * core: add a test to check if all plugins are loaded
* unit: fix locale used to execute tests (issue #631) * core: fix locale used to execute tests (issue #631)
Build:: Build::
@@ -1034,7 +1087,7 @@ Bug fixes::
Tests:: Tests::
* unit: fix memory leak in tests launcher * core: fix memory leak in tests launcher
Build:: Build::
@@ -1202,7 +1255,7 @@ Build::
Tests:: Tests::
* unit: add unit tests using CppUTest (issue #104) * core: add unit tests using CppUTest (issue #104)
[[v0.4.3]] [[v0.4.3]]
== Version 0.4.3 (2014-02-09) == Version 0.4.3 (2014-02-09)
+65
View File
@@ -17,6 +17,71 @@ https://weechat.org/files/changelog/ChangeLog-devel.html[ChangeLog]
(file _ChangeLog.adoc_ in sources). (file _ChangeLog.adoc_ in sources).
[[v3.0.1]]
== Version 3.0.1 (2021-01-31)
Bug fix and maintenance release.
[[v3.0]]
== Version 3.0 (2020-11-11)
[[v3.0_script_option_download_enabled]]
=== New option to enable download of scripts
A new option has been added to allow the script plugin to download the list of
scripts and the scripts themselves (on weechat.org by default).
This option is `off` by default, so you must opt in if you want to use the
`/script` command, even if you upgraded from an old WeeChat version:
----
/set script.scripts.download_enabled on
----
[NOTE]
When this option is enabled, WeeChat can sometimes download again the list of
scripts when you use the `/script` command, even if you don't install a script.
[[v3.0_irc_commands_allchan_allpv_allserv]]
=== IRC commands /allchan, /allpv and /allserv
The command and arguments given to commands `/allchan`, `/allpv` and `/allserv`
are now evaluated (see /help on the commands for more information).
Additionally, a breaking change has been introduced: the leading `/` is now
required in these commands, so this allows to send text to buffers without
using the command `/msg * xxx`.
So with previous releases, to say "hello" on all channels:
----
/allchan msg * hello
----
Now it can be done like this:
----
/allchan hello
----
If you want to use a command, you must add explicitly the leading `/`:
----
/allchan /msg * hello
----
[[v3.0_trigger_beep]]
=== Default "beep" trigger
The command of "beep" trigger is now executed only if the message does NOT
contain the tag "notify_none" (in addition to existing conditions).
You can restore the default "beep" trigger with the following command:
----
/trigger restore beep
----
[[v2.9]] [[v2.9]]
== Version 2.9 (2020-07-18) == Version 2.9 (2020-07-18)
+1 -1
View File
@@ -166,7 +166,7 @@ AC_ARG_ENABLE(enchant, [ --enable-enchant turn on Enchant lib for S
AC_ARG_ENABLE(trigger, [ --disable-trigger turn off Trigger plugin (default=compiled)],enable_trigger=$enableval,enable_trigger=yes) AC_ARG_ENABLE(trigger, [ --disable-trigger turn off Trigger plugin (default=compiled)],enable_trigger=$enableval,enable_trigger=yes)
AC_ARG_ENABLE(xfer, [ --disable-xfer turn off Xfer (file transfer) plugin (default=compiled)],enable_xfer=$enableval,enable_xfer=yes) AC_ARG_ENABLE(xfer, [ --disable-xfer turn off Xfer (file transfer) plugin (default=compiled)],enable_xfer=$enableval,enable_xfer=yes)
AC_ARG_WITH(tclconfig, [ --with-tclconfig=DIR directory containing tcl configuration (tclConfig.sh)],tclconfig=$withval,tclconfig='') AC_ARG_WITH(tclconfig, [ --with-tclconfig=DIR directory containing tcl configuration (tclConfig.sh)],tclconfig=$withval,tclconfig='')
AC_ARG_WITH(debug, [ --with-debug debugging: 0=no debug, 1=debug compilation (default=1)],debug=$withval,debug=1) AC_ARG_WITH(debug, [ --with-debug debugging: 0=no debug, 1=debug compilation (default=0)],debug=$withval,debug=0)
AC_ARG_ENABLE(tests, [ --enable-tests turn on build of tests (default=not built)],enable_tests=$enableval,enable_tests=no) AC_ARG_ENABLE(tests, [ --enable-tests turn on build of tests (default=not built)],enable_tests=$enableval,enable_tests=no)
AC_ARG_ENABLE(man, [ --enable-man turn on build of man page (default=not built)],enable_man=$enableval,enable_man=no) AC_ARG_ENABLE(man, [ --enable-man turn on build of man page (default=not built)],enable_man=$enableval,enable_man=no)
AC_ARG_ENABLE(doc, [ --enable-doc turn on build of documentation (default=not built)],enable_doc=$enableval,enable_doc=no) AC_ARG_ENABLE(doc, [ --enable-doc turn on build of documentation (default=not built)],enable_doc=$enableval,enable_doc=no)
+35
View File
@@ -1,3 +1,38 @@
weechat (2.9-1) unstable; urgency=medium
* New upstream release
* Refresh ASCII Doctor options patch
* Switch debhelper compatibility to 13 and add debian/not-installed
accordingly
-- Emmanuel Bouthenot <kolter@debian.org> Sat, 15 Aug 2020 20:31:09 +0000
weechat (2.8-1) unstable; urgency=medium
* New upstream release
- Fix FTBFS with ruby 2.7 (Closes: #954701, #954789)
- Remove patch to fix compilation error while testing iconv support
- Remove patch to fix a crash when loading script with PHP 7.4
-- Emmanuel Bouthenot <kolter@debian.org> Sat, 04 Apr 2020 09:01:45 +0000
weechat (2.7.1-1) unstable; urgency=medium
* New upstream release
- fix CVE-2020-8955: possible remote DOS via malformed IRC messages
(Closes: #951289)
- rebuilt against python 3.8 (Closes: #953620)
* Remove Guile 2.2 support patch (merged upstream)
* Add a patch to fix compilation error while testing iconv support
* Add a patch to fix a crash when loading script with PHP 7.4
* Bump Standards-Version to 4.5.0
* Replace gem2deb build dependency by ruby-dev to facilitate
transitions to new versions of ruby (Closes: #951713)
* Set Rules-Requires-Root to no
* Switch debhelper compatibility to 12
-- Emmanuel Bouthenot <kolter@debian.org> Mon, 09 Mar 2020 14:59:31 +0000
weechat (2.6-2) unstable; urgency=medium weechat (2.6-2) unstable; urgency=medium
* Add a patch from upstream to support Guile 2.2 (Closes: #885235) * Add a patch from upstream to support Guile 2.2 (Closes: #885235)
+2 -2
View File
@@ -106,9 +106,9 @@
| weechat | locale | Spracheinstellung die für die übersetzten Nachrichten verwendet werden soll | - | weechat | locale | Spracheinstellung die für die übersetzten Nachrichten verwendet werden soll | -
| weechat | nick_color | zeigt Farbecode des Nick | Nickname | weechat | nick_color | zeigt Farbecode des Nick | Nickname;Farben (Farben ist eine optionale Kommata getrennte Liste von Farben die genutzt werden sollen; wenn eine Hintergrundfarbe genutzt werden muss das Format wie folgt aussehen Text:Hintergrund; sind die Farben schon vorhanden, werden die WeeChat Optionen für Nickfarben und erzwungene Nickfarben ignoriert)
| weechat | nick_color_name | zeigt Farbnamen des Nick | Nickname | weechat | nick_color_name | zeigt Farbnamen des Nick | Nickname;Farben (Farben ist eine optionale Kommata getrennte Liste von Farben die genutzt werden sollen; wenn eine Hintergrundfarbe genutzt werden muss das Format wie folgt aussehen Text:Hintergrund; sind die Farben schon vorhanden, werden die WeeChat Optionen für Nickfarben und erzwungene Nickfarben ignoriert)
| weechat | pid | WeeChat PID (Prozess-ID) | - | weechat | pid | WeeChat PID (Prozess-ID) | -
+40 -23
View File
@@ -17,71 +17,87 @@ target: Servername
* `+allchan+`: führt einen Befehl aus der an alle Channels gesendet wird, die mit einem Server verbunden sind * `+allchan+`: führt einen Befehl aus der an alle Channels gesendet wird, die mit einem Server verbunden sind
---- ----
/allchan [-current] [-exclude=<channel>[,<channel>...]] <command> [<arguments>] /allchan [-current] [-exclude=<channel>[,<channel>...]] <command>
[-current] -include=<channel>[,<channel>...] <command> [<arguments>] [-current] -include=<channel>[,<channel>...] <command>
-current: führt einen Befehl aus der an alle Channels des aktuellen Servers gesendet wird -current: führt einen Befehl aus der an alle Channels des aktuellen Servers gesendet wird
-exclude: dient zum Ausschluss ausgewählter Channels (Platzhalter "*" kann verwendet werden) -exclude: dient zum Ausschluss ausgewählter Channels (Platzhalter "*" kann verwendet werden)
-include: findet Anwendung für ausgewählte Channels (Platzhalter "*" kann verwendet werden)\n -include: findet Anwendung für ausgewählte Channels (Platzhalter "*" kann verwendet werden)\n
command: Befehl der ausgeführt werden soll command: Befehl der ausgeführt werden soll
arguments: Argumente für Befehl (Variablen die genutzt werden können und durch den entsprechenden Wert ersetzt werden: $nick, $channel und $server)
Argumente und Befehl werden evaluiert (siehe /help eval), folgende Variablen können genutzt werden:
$server Name des Servers
$channel Name des Channel
$nick Nickname der auf dem Server genutzt wird
${irc_server.xxx} Variable xxx von Server
${irc_channel.xxx} Variable xxx von Channel
Beispiele: Beispiele:
führe den Befehl '/me Ich teste gerade etwas...' für alle Channels aus: führe den Befehl '/me Ich teste gerade etwas...' für alle Channels aus:
/allchan me Ich teste gerade etwas... /allchan /me Ich teste gerade etwas...
schicke 'Hallo Welt' an jeden Channel, ausgenommen an den #weechat Channel: schicke 'Hallo Welt' an jeden Channel, ausgenommen an den #weechat Channel:
/allchan -exclude=#weechat msg * Hallo Welt /allchan -exclude=#weechat Hallo Welt
schicke 'Hallo Welt' an jeden Channel, ausgenommen an den #weechat Channel und Channels die mit #linux beginnen: schicke 'Hallo Welt' an jeden Channel, ausgenommen an den #weechat Channel und Channels die mit #linux beginnen:
/allchan -exclude=#weechat,#linux* msg * Hallo Welt /allchan -exclude=#weechat,#linux* Hallo Welt
schickt den Text 'Hallo' an alle Channels die mit #linux beginnen: schickt den Text 'Hallo' an alle Channels die mit #linux beginnen:
/allchan -include=#linux* msg * Hallo /allchan -include=#linux* Hallo
---- ----
[[command_irc_allpv]] [[command_irc_allpv]]
* `+allpv+`: führt einen Befehl aus der an alle privaten Buffer gesendet wird, die mit einem Server verbunden sind * `+allpv+`: führt einen Befehl aus der an alle privaten Buffer gesendet wird, die mit einem Server verbunden sind
---- ----
/allpv [-current] [-exclude=<nick>[,<nick>...]] <command> [<arguments>] /allpv [-current] [-exclude=<nick>[,<nick>...]] <command>
[-current] -include=<nick>[,<nick>...] <command> [<arguments>] [-current] -include=<nick>[,<nick>...] <command>
-current: führt einen Befehl aus der für alle privaten Buffer, des aktuellen Servers, Anwendung findet -current: führt einen Befehl aus der für alle privaten Buffer, des aktuellen Servers, Anwendung findet
-exclude: dient zum Ausschluss ausgewählter Nicks (Platzhalter "*" kann verwendet werden) -exclude: dient zum Ausschluss ausgewählter Nicks (Platzhalter "*" kann verwendet werden)
-include: findet Anwendung für ausgewählte Nicks (Platzhalter "*" kann verwendet werden) -include: findet Anwendung für ausgewählte Nicks (Platzhalter "*" kann verwendet werden)
command: Befehl der ausgeführt werden soll command: Befehl der ausgeführt werden soll
arguments: Argumente für Befehl (Variablen die genutzt werden können und durch den entsprechenden Wert ersetzt werden: $nick, $channel und $server)
Argumente und Befehl werden evaluiert (siehe /help eval), folgende Variablen können genutzt werden:
$server Name des Servers
$channel Name des Channel
$nick Nickname der auf dem Server genutzt wird
${irc_server.xxx} Variable xxx von Server
${irc_channel.xxx} Variable xxx von Channel
Beispiele: Beispiele:
führe den Befehl '/me Ich teste gerade etwas...' für alle privaten Buffer aus: führe den Befehl '/me Ich teste gerade etwas...' für alle privaten Buffer aus:
/allpv me Ich teste gerade etwas... /allpv /me Ich teste gerade etwas...
schicke 'Hallo' an alle, ausgenommen an Nick foo: schicke 'Hallo' an alle, ausgenommen an Nick foo:
/allpv -exclude=foo msg * Hallo /allpv -exclude=foo Hallo
schicke den Text 'Hallo' an alle, ausgenommen für Nick foo und Nicks die mit bar beginnen: schicke den Text 'Hallo' an alle, ausgenommen für Nick foo und Nicks die mit bar beginnen:
/allpv -exclude=foo,bar* msg * Hallo /allpv -exclude=foo,bar* Hallo
schicke den Text 'Hallo' an alle Nicks die mit bar beginnen: schicke den Text 'Hallo' an alle Nicks die mit bar beginnen:
/allpv -include=bar* msg * Hallo /allpv -include=bar* Hallo
schließe alle privaten Buffer: schließe alle privaten Buffer:
/allpv close /allpv /close
---- ----
[[command_irc_allserv]] [[command_irc_allserv]]
* `+allserv+`: führt einen Befehl aus, der zu allen verbundenen Server gesendet wird * `+allserv+`: führt einen Befehl aus, der zu allen verbundenen Server gesendet wird
---- ----
/allserv [-exclude=<server>[,<server>...]] <command> [<arguments>] /allserv [-exclude=<server>[,<server>...]] <command>
-include=<server>[,<server>...] <command> [<arguments>] -include=<server>[,<server>...] <command>
-exclude: dient zum Ausschluss ausgewählter Server (Platzhalter "*" kann verwendet werden) -exclude: dient zum Ausschluss ausgewählter Server (Platzhalter "*" kann verwendet werden)
-include: findet Anwendung für ausgewählte Server (Platzhalter "*" kann verwendet werden) -include: findet Anwendung für ausgewählte Server (Platzhalter "*" kann verwendet werden)
command: Befehl der ausgeführt werden soll command: Befehl der ausgeführt werden soll
arguments: Argumente für Befehl (Variablen die genutzt werden können und durch den entsprechenden Wert ersetzt werden: $nick, $channel und $server)
Argumente und Befehl werden evaluiert (siehe /help eval), folgende Variablen können genutzt werden:
$server Name des Servers
$nick Nickname der auf dem Server genutzt wird
${irc_server.xxx} Variable xxx von Server
Beispiele: Beispiele:
ändere den Nick auf allen Servern: ändere den Nick auf allen Servern:
/allserv nick newnick /allserv /nick newnick
setzt den Status, auf allen Servern, auf abwesend: setzt den Status, auf allen Servern, auf abwesend:
/allserv away I'm away /allserv /away I'm away
führt ein whois mit meinem nick auf allen Servern aus: führt ein whois mit meinem nick auf allen Servern aus:
/allserv whois $nick /allserv /whois $nick
---- ----
[[command_irc_ban]] [[command_irc_ban]]
@@ -1011,7 +1027,7 @@ Beispiele:
Alternativbefehl "/split" wird anlegt um ein Fenster horizontal zu teilen: Alternativbefehl "/split" wird anlegt um ein Fenster horizontal zu teilen:
/alias add split /window splith /alias add split /window splith
Alternativbefehl "/hallo" wird angelegt um in allen Channels, außer im #weechat Channel, den Text "Hallo" auszugeben: Alternativbefehl "/hallo" wird angelegt um in allen Channels, außer im #weechat Channel, den Text "Hallo" auszugeben:
/alias add hallo /allchan -exclude=#weechat msg * hallo /alias add hallo /allchan -exclude=#weechat hallo
Alternativbefehl "/forcejoin" wird angelegt um den IRC Befehl "forcejoin" mit einer Vervollständigung von /sajoin auszuführen: Alternativbefehl "/forcejoin" wird angelegt um den IRC Befehl "forcejoin" mit einer Vervollständigung von /sajoin auszuführen:
/alias addcompletion %%sajoin forcejoin /quote forcejoin /alias addcompletion %%sajoin forcejoin /quote forcejoin
---- ----
@@ -2159,7 +2175,7 @@ charset: wähle neuen Zeichensatz für aktuellen Buffer
---- ----
/exec -list /exec -list
[-sh|-nosh] [-bg|-nobg] [-stdin|-nostdin] [-buffer <name>] [-l|-o|-n|-nf] [-cl|-nocl] [-sw|-nosw] [-ln|-noln] [-flush|-noflush] [-color ansi|auto|irc|weechat|strip] [-rc|-norc] [-timeout <timeout>] [-name <name>] [-pipe <command>] [-hsignal <name>] <command> [-sh|-nosh] [-bg|-nobg] [-stdin|-nostdin] [-buffer <name>] [-l|-o|-oc|-n|-nf] [-oerr] [-cl|-nocl] [-sw|-nosw] [-ln|-noln] [-flush|-noflush] [-color ansi|auto|irc|weechat|strip] [-rc|-norc] [-timeout <timeout>] [-name <name>] [-pipe <command>] [-hsignal <name>] <command>
-in <id> <text> -in <id> <text>
-inclose <id> [<text>] -inclose <id> [<text>]
-signal <id> <signal> -signal <id> <signal>
@@ -2181,6 +2197,7 @@ charset: wähle neuen Zeichensatz für aktuellen Buffer
-oc: gibt die Ausgabe des Befehls im Buffer aus und führt diesen dann aus (betrifft Zeilen die mit "/" beginnen bzw. das benutzerdefinierte Befehlszeichen verwenden) (nicht kompatibel mit Argumenten -bg/-pipe/-hsignal) -oc: gibt die Ausgabe des Befehls im Buffer aus und führt diesen dann aus (betrifft Zeilen die mit "/" beginnen bzw. das benutzerdefinierte Befehlszeichen verwenden) (nicht kompatibel mit Argumenten -bg/-pipe/-hsignal)
-n: gibt die Ausgabe des Befehls in einem neuen Buffer aus (nicht kompatibel mit Argumenten -bg/-pipe/-hsignal) -n: gibt die Ausgabe des Befehls in einem neuen Buffer aus (nicht kompatibel mit Argumenten -bg/-pipe/-hsignal)
-nf: gibt die Ausgabe des Befehls in einem neuen Buffer, mit einem freien Inhalt, aus (kein Zeilenumbruch, keine Limitierung in der Anzahl der Zeilen), aus (nicht kompatibel mit Argument -bg/-pipe/-hsignal) -nf: gibt die Ausgabe des Befehls in einem neuen Buffer, mit einem freien Inhalt, aus (kein Zeilenumbruch, keine Limitierung in der Anzahl der Zeilen), aus (nicht kompatibel mit Argument -bg/-pipe/-hsignal)
-oerr: sendet stderr (Fehlerausgabe) an den Buffer (kann nur mit den Optionen -o und -oc verwendet werden)
-cl: der neue Buffer wird vor einer Ausgabe gelöscht -cl: der neue Buffer wird vor einer Ausgabe gelöscht
-nocl: Ausgabe wird an neuen Buffer angehangen, ohne diesen vorher zu löschen (Standardverhalten) -nocl: Ausgabe wird an neuen Buffer angehangen, ohne diesen vorher zu löschen (Standardverhalten)
-sw: es wird zum Ausgabebuffer gewechselt (Standardverhalten) -sw: es wird zum Ausgabebuffer gewechselt (Standardverhalten)
@@ -3320,6 +3320,12 @@
** Werte: -1 .. 525600 ** Werte: -1 .. 525600
** Standardwert: `+1440+` ** Standardwert: `+1440+`
* [[option_script.scripts.download_enabled]] *script.scripts.download_enabled*
** Beschreibung: pass:none[Aktivieren Sie den Download von Dateien aus dem Skript-Repository, wenn der Befehl /script verwendet wird (Liste der Skripten und Skripten selbst). Die Liste der Skripten wird von der in der Option script.scripts.url angegebenen URL heruntergeladen. WeeChat lädt manchmal die Liste der Skripten erneut herunter, wenn Sie den Befehl /script verwenden, auch wenn Sie kein Skript installieren]
** Typ: boolesch
** Werte: on, off
** Standardwert: `+off+`
* [[option_script.scripts.download_timeout]] *script.scripts.download_timeout* * [[option_script.scripts.download_timeout]] *script.scripts.download_timeout*
** Beschreibung: pass:none[Zeitüberschreitung (in Sekunden) beim herunterladen von Skripten und der Skriptliste] ** Beschreibung: pass:none[Zeitüberschreitung (in Sekunden) beim herunterladen von Skripten und der Skriptliste]
** Typ: integer ** Typ: integer
@@ -3748,6 +3754,12 @@
** Werte: beliebige Zeichenkette ** Werte: beliebige Zeichenkette
** Standardwert: `+"${marked} ${name} ${type} ${value2}${newline} ${empty_name} ${_default_value}${color:darkgray} -- ${min}..${max}${newline} ${empty_name} ${description}"+` ** Standardwert: `+"${marked} ${name} ${type} ${value2}${newline} ${empty_name} ${_default_value}${color:darkgray} -- ${min}..${max}${newline} ${empty_name} ${description}"+`
* [[option_fset.look.auto_refresh]] *fset.look.auto_refresh*
** Beschreibung: pass:none[durch Kommata getrennte Liste von Optionen, die eine Aktualisierung des fset Buffers auslösen (falls dieser geöffnet sein sollte); "*" beschreibt alle Optionen (empfohlen). Beginnt der Name einer Option hingegen mit "!" erzeugt diese Option keine Aktualisierung des Buffers. Im Optionsnamen kann der Platzhalter "*" verwendet werden (Beispiel: "*,!plugin.section.*" )]
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette
** Standardwert: `+"*"+`
* [[option_fset.look.auto_unmark]] *fset.look.auto_unmark* * [[option_fset.look.auto_unmark]] *fset.look.auto_unmark*
** Beschreibung: pass:none[die Markierung wird automatisch für alle Optionen gelöscht, sobald eine Aktion bei einer markierten Option durchgeführt wird oder die Liste neu eingelesen wird] ** Beschreibung: pass:none[die Markierung wird automatisch für alle Optionen gelöscht, sobald eine Aktion bei einer markierten Option durchgeführt wird oder die Liste neu eingelesen wird]
** Typ: boolesch ** Typ: boolesch
+1
View File
@@ -562,6 +562,7 @@ Liste der Skript API Funktionen:
string_has_highlight_regex + string_has_highlight_regex +
string_mask_to_regex + string_mask_to_regex +
string_format_size + string_format_size +
string_color_code_size +
string_remove_color + string_remove_color +
string_is_command_char + string_is_command_char +
string_input_for_buffer + string_input_for_buffer +
+39 -13
View File
@@ -382,12 +382,14 @@ Folgen Sie bitte der Anleitung zur Erstellung aus Quellpaketen (siehe <<source_p
Falls WeeChat abgestürzt sein sollte und Sie diesen Fehler melden möchten: Falls WeeChat abgestürzt sein sollte und Sie diesen Fehler melden möchten:
* kompilieren Sie WeeChat mit Debug-Information (oder installieren Sie das Binärpaket mit Debug-Information) * kompilieren Sie mit:
** Debug-Information (oder installieren Sie das Binärpaket mit Debug-Information)
** Kompilation mit Adressbereiniger (optional)
* aktivieren Sie _core_ Dateien auf Ihrem System * aktivieren Sie _core_ Dateien auf Ihrem System
* installieren Sie gdb * installieren Sie gdb
[[debug_info]] [[build_debug]]
==== Debug info ==== Mit Debug-Optionen erstellen
Bei der Kompilierung mit CMake muss folgende Option gesetzt werden: Bei der Kompilierung mit CMake muss folgende Option gesetzt werden:
@@ -395,7 +397,16 @@ Bei der Kompilierung mit CMake muss folgende Option gesetzt werden:
$ cmake .. -DCMAKE_BUILD_TYPE=Debug $ cmake .. -DCMAKE_BUILD_TYPE=Debug
---- ----
Bei der Kompilierung mit autotools ist debug standardmäßig aktiviert (`--with-debug=1`). Sie können zusätzlich den Adressbereiniger aktivieren, der bei Problemen sofort
zum Absturz von WeeChat führt:
----
$ cmake .. -DCMAKE_BUILD_TYPE=Debug -DCMAKE_C_FLAGS=-fsanitize=address -DCMAKE_CXX_FLAGS=-fsanitize=address -DCMAKE_EXE_LINKER_FLAGS=-fsanitize=address
----
[WARNING]
Sie sollten die Adressbereinigung nur aktivieren, wenn Sie versuchen, einen
Absturz zu provozieren. Dies wird im produktivem Einsatz nicht empfohlen.
Wird ein Binärpaket genutzt dann muss zusätzlich das Paket _weechat-dbg_ installiert werden. Wird ein Binärpaket genutzt dann muss zusätzlich das Paket _weechat-dbg_ installiert werden.
@@ -641,7 +652,7 @@ Beispiel des WeeChat-Terminals:
│ │ │ │ │ │ │ │
│ │ │ │ │ │ │ │
│ │ │ │ │ │ │ │
│ │[12:55] [5] [irc/freenode] 2:#test(+n){4}* [Act: 3:#abc(2,5), 5] │ │ │[12:55] [5] [irc/freenode] 2:#test(+n){4}* [H: 3:#abc(2,5), 5]
│ │[@Flashy(i)] hi peter!█ │ │ │[@Flashy(i)] hi peter!█ │
└──────────────────────────────────────────────────────────────────────────────────────┘ └──────────────────────────────────────────────────────────────────────────────────────┘
▲ Bars "status" und "input" Bar "nicklist" ▲ ▲ Bars "status" und "input" Bar "nicklist" ▲
@@ -692,7 +703,7 @@ Die _status_-Bar besitzt als Standardeinträge:
| buffer_filter | `+*+` | Filteranzeige: `+*+` bedeutet das Zeilen gefiltert (unterdrückt) werden. Ein leerer Eintrag zeigt an, dass alle Zeilen dargestellt werden. | buffer_filter | `+*+` | Filteranzeige: `+*+` bedeutet das Zeilen gefiltert (unterdrückt) werden. Ein leerer Eintrag zeigt an, dass alle Zeilen dargestellt werden.
| scroll | `-MORE(50)-` | Scroll Indikator, zeigt an wie viele Zeilen unterhalb der zur Zeit dargestellten Zeile vorhanden sind. | scroll | `-MORE(50)-` | Scroll Indikator, zeigt an wie viele Zeilen unterhalb der zur Zeit dargestellten Zeile vorhanden sind.
| lag | `[Lag: 2.5]` | Verzögerungsanzeige, in Sekunden (keine Anzeige falls Verzögerung gering). | lag | `[Lag: 2.5]` | Verzögerungsanzeige, in Sekunden (keine Anzeige falls Verzögerung gering).
| hotlist | `[Act: 3:#abc(2,5), 5]` | Liste der Buffer mit Aktivität (ungelesene Nachrichten) (für das Beispiel: 2 Highlights und 5 ungelesene Nachrichten im Channel _#abc_, eine ungelesene Nachricht in Buffer #5). | hotlist | `[H: 3:#abc(2,5), 5]` | Liste der Buffer mit Aktivität (ungelesene Nachrichten) (für das Beispiel: 2 Highlights und 5 ungelesene Nachrichten im Channel _#abc_, eine ungelesene Nachricht in Buffer #5).
| completion | `abc(2) def(5)` | Liste von Wörtern für Vervollständigung, die Zahl zeigt an wie viele Varianten möglich sind. | completion | `abc(2) def(5)` | Liste von Wörtern für Vervollständigung, die Zahl zeigt an wie viele Varianten möglich sind.
|=== |===
@@ -1124,11 +1135,11 @@ Tags die häufig verwendet werden (keine vollständige Auflistung):
| no_filter | Zeile kann nicht gefiltert werden. | no_filter | Zeile kann nicht gefiltert werden.
| no_highlight | die Zeile kann nicht gehiglighted werden. | no_highlight | die Zeile kann nicht gehiglighted werden.
| no_log | Zeile wird nicht in die Log-Datei geschrieben. | no_log | Zeile wird nicht in die Log-Datei geschrieben.
| log0 ... log9 | Grad der Protokollierung (siehe `/help logger`). | log0 log9 | Grad der Protokollierung (siehe `/help logger`).
| notify_none | Buffer welche die Zeile enthält wird nicht zur Hotlist hinzufügt. | notify_none | Diese Zeile wird erzeugt keinen Hotlist-Eintrag. ^(1)^
| notify_message | Buffer welche die Zeile enthält wird mit der Stufe "message" zur Hotlist hinzugefügt. | notify_message | Diese Zeile ist eine User Nachricht. ^(1)^
| notify_private | Buffer welche die Zeile enthält wird mit der Stufe "private" zur Hotlist hinzugefügt. | notify_private | Diese Zeile ist eine private Nachricht. ^(1)^
| notify_highlight | Buffer welche die Zeile enthält wird mit der Stufe "highlight" zur Hotlist hinzugefügt. | notify_highlight | Diese Zeile beinhaltet eine Highlight Nachricht. ^(1)^
| self_msg | eigene Nachricht. | self_msg | eigene Nachricht.
| nick_xxx | Nachricht ist vom Nick "xxx". | nick_xxx | Nachricht ist vom Nick "xxx".
| prefix_nick_ccc | Präfix für den Nick mit der Farbe "ccc". | prefix_nick_ccc | Präfix für den Nick mit der Farbe "ccc".
@@ -1143,6 +1154,12 @@ Tags die häufig verwendet werden (keine vollständige Auflistung):
| away_info | Nachricht mit "away" Information. | away_info | Nachricht mit "away" Information.
|=== |===
[NOTE]
^(1)^ Wenn kein "notify_xxx" Tag vorhanden ist, ist die Benachrichtigungsstufe "low".
Falls ein "notify_xxx" Tag vorhanden ist, kann die tatsächliche Benachrichtigungsstufe
unterschiedlich sein. Wenn beispielsweise der max hotlist level für einen Nick verwendet
wird, kann die Benachrichtigungsstufe niedriger sein als der Wert im Tag.
[[bars]] [[bars]]
=== Bars === Bars
@@ -4103,6 +4120,14 @@ Monitor-Buffer zu öffnen:
/trigger monitor /trigger monitor
---- ----
Alle Callbacks setzen folgende Variablen in das hashtable:
[width="100%",cols="3m,2,14",options="header"]
|===
| Variable | Typ | Beschreibung
| tg_trigger_name | string | Name des Trigger.
|===
[[trigger_data_signal]] [[trigger_data_signal]]
===== Signale ===== Signale
@@ -4272,8 +4297,9 @@ Der Callback von "command" legt folgende Variablen in der Hashtable an:
|=== |===
| Variable | Typ | Beschreibung | Variable | Typ | Beschreibung
| buffer | pointer | Buffer. | buffer | pointer | Buffer.
| tg_argvN | string | Argument #N. | tg_argc | string | Die Anzahl von Argumenten (der Befehl wird mitgezählt).
| tg_argv_eolN | string | von Argument #N bis zum Ende der Argumente. | tg_argvN | string | Argument #N (`+tg_argv0+` ist der Befehl selber, die weiteren sind Argumente).
| tg_argv_eolN | string | von Argument #N bis zum Ende der Argumente (`+tg_argv_eol0+` enthält den eigentlichen Befehl).
|=== |===
[[trigger_data_command_run]] [[trigger_data_command_run]]
+2 -2
View File
@@ -106,9 +106,9 @@
| weechat | locale | locale used for translating messages | - | weechat | locale | locale used for translating messages | -
| weechat | nick_color | get nick color code | nickname | weechat | nick_color | get nick color code | nickname;colors (colors is an optional comma-separated list of colors to use; background is allowed for a color with format text:background; if colors is present, WeeChat options with nick colors and forced nick colors are ignored)
| weechat | nick_color_name | get nick color name | nickname | weechat | nick_color_name | get nick color name | nickname;colors (colors is an optional comma-separated list of colors to use; background is allowed for a color with format text:background; if colors is present, WeeChat options with nick colors and forced nick colors are ignored)
| weechat | pid | WeeChat PID (process ID) | - | weechat | pid | WeeChat PID (process ID) | -
+43 -26
View File
@@ -17,71 +17,87 @@ target: server name
* `+allchan+`: execute a command on all channels of all connected servers * `+allchan+`: execute a command on all channels of all connected servers
---- ----
/allchan [-current] [-exclude=<channel>[,<channel>...]] <command> [<arguments>] /allchan [-current] [-exclude=<channel>[,<channel>...]] <command>
[-current] -include=<channel>[,<channel>...] <command> [<arguments>] [-current] -include=<channel>[,<channel>...] <command>
-current: execute command for channels of current server only -current: execute command for channels of current server only
-exclude: exclude some channels (wildcard "*" is allowed) -exclude: exclude some channels (wildcard "*" is allowed)
-include: include only some channels (wildcard "*" is allowed) -include: include only some channels (wildcard "*" is allowed)
command: command to execute command: command to execute (or text to send to buffer if command does not start with '/')
arguments: arguments for command (special variables $nick, $channel and $server are replaced by their value)
Command and arguments are evaluated (see /help eval), the following variables are replaced:
$server server name
$channel channel name
$nick nick on server
${irc_server.xxx} variable xxx in server
${irc_channel.xxx} variable xxx in channel
Examples: Examples:
execute '/me is testing' on all channels: execute '/me is testing' on all channels:
/allchan me is testing /allchan /me is testing
say 'hello' everywhere but not on #weechat: say 'hello' everywhere but not on #weechat:
/allchan -exclude=#weechat msg * hello /allchan -exclude=#weechat hello
say 'hello' everywhere but not on #weechat and channels beginning with #linux: say 'hello' everywhere but not on #weechat and channels beginning with #linux:
/allchan -exclude=#weechat,#linux* msg * hello /allchan -exclude=#weechat,#linux* hello
say 'hello' on all channels beginning with #linux: say 'hello' on all channels beginning with #linux:
/allchan -include=#linux* msg * hello /allchan -include=#linux* hello
---- ----
[[command_irc_allpv]] [[command_irc_allpv]]
* `+allpv+`: execute a command on all private buffers of all connected servers * `+allpv+`: execute a command on all private buffers of all connected servers
---- ----
/allpv [-current] [-exclude=<nick>[,<nick>...]] <command> [<arguments>] /allpv [-current] [-exclude=<nick>[,<nick>...]] <command>
[-current] -include=<nick>[,<nick>...] <command> [<arguments>] [-current] -include=<nick>[,<nick>...] <command>
-current: execute command for private buffers of current server only -current: execute command for private buffers of current server only
-exclude: exclude some nicks (wildcard "*" is allowed) -exclude: exclude some nicks (wildcard "*" is allowed)
-include: include only some nicks (wildcard "*" is allowed) -include: include only some nicks (wildcard "*" is allowed)
command: command to execute command: command to execute (or text to send to buffer if command does not start with '/')
arguments: arguments for command (special variables $nick, $channel and $server are replaced by their value)
Command and arguments are evaluated (see /help eval), the following variables are replaced:
$server server name
$channel channel name
$nick nick on server
${irc_server.xxx} variable xxx in server
${irc_channel.xxx} variable xxx in channel
Examples: Examples:
execute '/me is testing' on all private buffers: execute '/me is testing' on all private buffers:
/allpv me is testing /allpv /me is testing
say 'hello' everywhere but not for nick foo: say 'hello' everywhere but not for nick foo:
/allpv -exclude=foo msg * hello /allpv -exclude=foo hello
say 'hello' everywhere but not for nick foo and nicks beginning with bar: say 'hello' everywhere but not for nick foo and nicks beginning with bar:
/allpv -exclude=foo,bar* msg * hello /allpv -exclude=foo,bar* hello
say 'hello' for all nicks beginning with bar: say 'hello' for all nicks beginning with bar:
/allpv -include=bar* msg * hello /allpv -include=bar* hello
close all private buffers: close all private buffers:
/allpv close /allpv /close
---- ----
[[command_irc_allserv]] [[command_irc_allserv]]
* `+allserv+`: execute a command on all connected servers * `+allserv+`: execute a command on all connected servers
---- ----
/allserv [-exclude=<server>[,<server>...]] <command> [<arguments>] /allserv [-exclude=<server>[,<server>...]] <command>
-include=<server>[,<server>...] <command> [<arguments>] -include=<server>[,<server>...] <command>
-exclude: exclude some servers (wildcard "*" is allowed) -exclude: exclude some servers (wildcard "*" is allowed)
-include: include only some servers (wildcard "*" is allowed) -include: include only some servers (wildcard "*" is allowed)
command: command to execute command: command to execute (or text to send to buffer if command does not start with '/')
arguments: arguments for command (special variables $nick, $channel and $server are replaced by their value)
Command and arguments are evaluated (see /help eval), the following variables are replaced:
$server server name
$nick nick on server
${irc_server.xxx} variable xxx in server
Examples: Examples:
change nick on all servers: change nick on all servers:
/allserv nick newnick /allserv /nick newnick
set away on all servers: set away on all servers:
/allserv away I'm away /allserv /away I'm away
do a whois on my nick on all servers: do a whois on my nick on all servers:
/allserv whois $nick /allserv /whois $nick
---- ----
[[command_irc_ban]] [[command_irc_ban]]
@@ -1011,7 +1027,7 @@ Examples:
alias /split to split window horizontally: alias /split to split window horizontally:
/alias add split /window splith /alias add split /window splith
alias /hello to say "hello" on all channels but not on #weechat: alias /hello to say "hello" on all channels but not on #weechat:
/alias add hello /allchan -exclude=#weechat msg * hello /alias add hello /allchan -exclude=#weechat hello
alias /forcejoin to send IRC command "forcejoin" with completion of /sajoin: alias /forcejoin to send IRC command "forcejoin" with completion of /sajoin:
/alias addcompletion %%sajoin forcejoin /quote forcejoin /alias addcompletion %%sajoin forcejoin /quote forcejoin
---- ----
@@ -2159,7 +2175,7 @@ charset: new charset for current buffer
---- ----
/exec -list /exec -list
[-sh|-nosh] [-bg|-nobg] [-stdin|-nostdin] [-buffer <name>] [-l|-o|-n|-nf] [-cl|-nocl] [-sw|-nosw] [-ln|-noln] [-flush|-noflush] [-color ansi|auto|irc|weechat|strip] [-rc|-norc] [-timeout <timeout>] [-name <name>] [-pipe <command>] [-hsignal <name>] <command> [-sh|-nosh] [-bg|-nobg] [-stdin|-nostdin] [-buffer <name>] [-l|-o|-oc|-n|-nf] [-oerr] [-cl|-nocl] [-sw|-nosw] [-ln|-noln] [-flush|-noflush] [-color ansi|auto|irc|weechat|strip] [-rc|-norc] [-timeout <timeout>] [-name <name>] [-pipe <command>] [-hsignal <name>] <command>
-in <id> <text> -in <id> <text>
-inclose <id> [<text>] -inclose <id> [<text>]
-signal <id> <signal> -signal <id> <signal>
@@ -2181,6 +2197,7 @@ charset: new charset for current buffer
-oc: send output of command to the buffer and execute commands (lines starting with "/" or another custom command char) (not compatible with options -bg/-pipe/-hsignal) -oc: send output of command to the buffer and execute commands (lines starting with "/" or another custom command char) (not compatible with options -bg/-pipe/-hsignal)
-n: display output of command in a new buffer (not compatible with options -bg/-pipe/-hsignal) -n: display output of command in a new buffer (not compatible with options -bg/-pipe/-hsignal)
-nf: display output of command in a new buffer with free content (no word-wrap, no limit on number of lines) (not compatible with options -bg/-pipe/-hsignal) -nf: display output of command in a new buffer with free content (no word-wrap, no limit on number of lines) (not compatible with options -bg/-pipe/-hsignal)
-oerr: also send stderr (error output) to the buffer (can be used only with options -o and -oc)
-cl: clear the new buffer before displaying output -cl: clear the new buffer before displaying output
-nocl: append to the new buffer without clear (default) -nocl: append to the new buffer without clear (default)
-sw: switch to the output buffer (default) -sw: switch to the output buffer (default)
@@ -3320,6 +3320,12 @@
** values: -1 .. 525600 ** values: -1 .. 525600
** default value: `+1440+` ** default value: `+1440+`
* [[option_script.scripts.download_enabled]] *script.scripts.download_enabled*
** description: pass:none[enable download of files from the scripts repository when the /script command is used (list of scripts and scripts themselves); the list of scripts is downloaded from the URL specified in the option script.scripts.url; WeeChat will sometimes download again the list of scripts when you use the /script command, even if you don't install a script]
** type: boolean
** values: on, off
** default value: `+off+`
* [[option_script.scripts.download_timeout]] *script.scripts.download_timeout* * [[option_script.scripts.download_timeout]] *script.scripts.download_timeout*
** description: pass:none[timeout (in seconds) for download of scripts and list of scripts] ** description: pass:none[timeout (in seconds) for download of scripts and list of scripts]
** type: integer ** type: integer
@@ -3748,6 +3754,12 @@
** values: any string ** values: any string
** default value: `+"${marked} ${name} ${type} ${value2}${newline} ${empty_name} ${_default_value}${color:darkgray} -- ${min}..${max}${newline} ${empty_name} ${description}"+` ** default value: `+"${marked} ${name} ${type} ${value2}${newline} ${empty_name} ${_default_value}${color:darkgray} -- ${min}..${max}${newline} ${empty_name} ${description}"+`
* [[option_fset.look.auto_refresh]] *fset.look.auto_refresh*
** description: pass:none[comma separated list of options to automatically refresh on the fset buffer (if opened); "*" means all options (recommended), a name beginning with "!" is a negative value to prevent an option to be refreshed, wildcard "*" is allowed in names (example: "*,!plugin.section.*")]
** type: string
** values: any string
** default value: `+"*"+`
* [[option_fset.look.auto_unmark]] *fset.look.auto_unmark* * [[option_fset.look.auto_unmark]] *fset.look.auto_unmark*
** description: pass:none[automatically unmark all options after an action on marked options or after a refresh] ** description: pass:none[automatically unmark all options after an action on marked options or after a refresh]
** type: boolean ** type: boolean
+1
View File
@@ -419,6 +419,7 @@ WeeChat "core" is located in following directories:
|             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.
|             test-irc-protocol.cpp | Tests: IRC protocol. |             test-irc-protocol.cpp | Tests: IRC protocol.
|             test-irc-server.cpp | Tests: IRC server.
|          relay/ | Root of unit tests for Relay plugin. |          relay/ | Root of unit tests for Relay plugin.
|             test-relay-auth.cpp | Tests: clients authentication. |             test-relay-auth.cpp | Tests: clients authentication.
+58 -7
View File
@@ -1888,6 +1888,55 @@ str = weechat.string_format_size(size)
str = weechat.string_format_size(15200) # == "15.2 KB" str = weechat.string_format_size(15200) # == "15.2 KB"
---- ----
==== string_color_code_size
_WeeChat ≥ 3.0._
Return the size (in bytes) of the WeeChat color code at the beginning of
the string.
Prototype:
[source,C]
----
int weechat_string_color_code_size (const char *string);
----
Arguments:
* _string_: string
Return value:
* size (in bytes) of the WeeChat color code at the beginning of the string;
if the string is NULL, empty or does not start with a color code, 0 is returned;
if the string begins with multiple color codes, only the size of the first one
is returned
C examples:
[source,C]
----
int size;
size = weechat_string_color_code_size ("test"); /* size == 0 */
size = weechat_string_color_code_size (weechat_color ("bold")); /* size == 2 */
size = weechat_string_color_code_size (weechat_color ("yellow,red")); /* size == 7 */
----
Script (Python):
[source,python]
----
# prototype
size = weechat.string_color_code_size(string)
# examples
size = weechat.string_color_code_size("test") # size == 0
size = weechat.string_color_code_size(weechat.color("bold")) # size == 2
size = weechat.string_color_code_size(weechat.color("yellow,red")) # size == 7
----
==== string_remove_color ==== string_remove_color
Remove WeeChat colors from a string. Remove WeeChat colors from a string.
@@ -2770,7 +2819,7 @@ This function is not available in scripting API.
==== string_dyn_concat ==== string_dyn_concat
_WeeChat ≥ 1.8._ _WeeChat ≥ 1.8, updated in 3.0._
Concatenate a string to a dynamic string. Concatenate a string to a dynamic string.
@@ -2781,13 +2830,16 @@ Prototype:
[source,C] [source,C]
---- ----
int weechat_string_dyn_concat (char **string, const char *add); int weechat_string_dyn_concat (char **string, const char *add, int bytes);
---- ----
Arguments: Arguments:
* _string_: pointer to dynamic string * _string_: pointer to dynamic string
* _add_: the string to add * _add_: the string to add
* _bytes_: max number of bytes in _add_ to concatenate, must be lower or equal
to length of _add_ (-1 = automatic: concatenate whole string _add_)
_(WeeChat ≥ 3.0)_
Return value: Return value:
@@ -2800,7 +2852,7 @@ C example:
char **string = weechat_string_dyn_alloc (256); char **string = weechat_string_dyn_alloc (256);
if (weechat_string_dyn_copy (string, "test")) if (weechat_string_dyn_copy (string, "test"))
{ {
if (weechat_string_dyn_concat (string, "abc")) if (weechat_string_dyn_concat (string, "abc", -1))
{ {
/* ... */ /* ... */
} }
@@ -12104,8 +12156,7 @@ Content of hashtable sent to callback (keys and values are of type "string"):
| _chat | Chat area indicator. | | _chat | Chat area indicator. |
"0" or "1" | "0" "0" or "1" | "0"
| _chat_line | Pointer to line + | _chat_line | Pointer to line _(WeeChat ≥ 1.2)_. |
_(WeeChat ≥ 1.2)_. |
"0x1234abcd" | "" "0x1234abcd" | ""
| _chat_line_x | Column in line ^(3)^. | | _chat_line_x | Column in line ^(3)^. |
@@ -12159,8 +12210,7 @@ Content of hashtable sent to callback (keys and values are of type "string"):
| _bar_item_col | Column in bar item. | | _bar_item_col | Column in bar item. |
"0" ... "n" | "-1" "0" ... "n" | "-1"
| _bar_window | Pointer to bar window + | _bar_window | Pointer to bar window _(WeeChat ≥ 2.9)_. |
_(WeeChat ≥ 2.9)_. |
"0x1234abcd" | "" "0x1234abcd" | ""
|=== |===
@@ -12181,6 +12231,7 @@ Extra info for bar item "buffer_nicklist":
| nick | core | Nick name. | nick | core | Nick name.
| prefix | core | Prefix for nick. | prefix | core | Prefix for nick.
| group | core | Group name. | group | core | Group name.
| irc_nick | irc | Pointer to IRC nick _(WeeChat ≥ 3.0)_.
| irc_host | irc | Host for nick (if known). | irc_host | irc | Host for nick (if known).
|=== |===
+1
View File
@@ -546,6 +546,7 @@ List of functions in script API:
string_has_highlight_regex + string_has_highlight_regex +
string_mask_to_regex + string_mask_to_regex +
string_format_size + string_format_size +
string_color_code_size +
string_remove_color + string_remove_color +
string_is_command_char + string_is_command_char +
string_input_for_buffer + string_input_for_buffer +
+42 -16
View File
@@ -375,12 +375,14 @@ Then follow instructions for source package (see
If you experienced crashes, or if you want to report any future WeeChat crash, If you experienced crashes, or if you want to report any future WeeChat crash,
you have to: you have to:
* Compile it with debug info (or install binary package with debug info). * Compile with:
** debug info (or install binary package with debug info),
** address sanitizer (optional).
* Enable _core_ files on your system. * Enable _core_ files on your system.
* Install gdb. * Install gdb.
[[debug_info]] [[build_debug]]
==== Debug info ==== Build with debug options
If you're compiling with CMake: If you're compiling with CMake:
@@ -388,7 +390,16 @@ If you're compiling with CMake:
$ cmake .. -DCMAKE_BUILD_TYPE=Debug $ cmake .. -DCMAKE_BUILD_TYPE=Debug
---- ----
If you're compiling with autotools, debug is default (`--with-debug=1`). You can additionally enable the address sanitizer, which causes WeeChat to
crash immediately in case of problem:
----
$ cmake .. -DCMAKE_BUILD_TYPE=Debug -DCMAKE_C_FLAGS=-fsanitize=address -DCMAKE_CXX_FLAGS=-fsanitize=address -DCMAKE_EXE_LINKER_FLAGS=-fsanitize=address
----
[WARNING]
You should enable address sanitizer only if you're trying to cause a crash,
this is not recommended in production.
If you installed a binary package, then install package _weechat-dbg_. If you installed a binary package, then install package _weechat-dbg_.
@@ -635,7 +646,7 @@ Example of terminal with WeeChat:
│ │ │ │ │ │ │ │
│ │ │ │ │ │ │ │
│ │ │ │ │ │ │ │
│ │[12:55] [5] [irc/freenode] 2:#test(+n){4}* [Act: 3:#abc(2,5), 5] │ │ │[12:55] [5] [irc/freenode] 2:#test(+n){4}* [H: 3:#abc(2,5), 5]
│ │[@Flashy(i)] hi peter!█ │ │ │[@Flashy(i)] hi peter!█ │
└──────────────────────────────────────────────────────────────────────────────────────┘ └──────────────────────────────────────────────────────────────────────────────────────┘
▲ bars "status" and "input" bar "nicklist" ▲ ▲ bars "status" and "input" bar "nicklist" ▲
@@ -686,7 +697,7 @@ Bar _status_ has following default items:
| buffer_filter | `+*+` | Filtering indicator: `+*+` means some lines are filtered (hidden), empty value means all lines are displayed. | buffer_filter | `+*+` | Filtering indicator: `+*+` means some lines are filtered (hidden), empty value means all lines are displayed.
| scroll | `-MORE(50)-` | Scroll indicator, with number of lines below last line displayed. | scroll | `-MORE(50)-` | Scroll indicator, with number of lines below last line displayed.
| lag | `[Lag: 2.5]` | Lag indicator, in seconds (hidden if lag is low). | lag | `[Lag: 2.5]` | Lag indicator, in seconds (hidden if lag is low).
| hotlist | `[Act: 3:#abc(2,5), 5]` | List of buffers with activity (unread messages) (in example, 2 highlights and 5 unread messages on _#abc_, one unread message on buffer #5). | hotlist | `[H: 3:#abc(2,5), 5]` | List of buffers with activity (unread messages) (in example, 2 highlights and 5 unread messages on _#abc_, one unread message on buffer #5).
| completion | `abc(2) def(5)` | List of words for completion, with number of possible completions for each word. | completion | `abc(2) def(5)` | List of words for completion, with number of possible completions for each word.
|=== |===
@@ -1108,11 +1119,11 @@ Tags commonly used (non-exhaustive list):
| no_filter | Line can not be filtered. | no_filter | Line can not be filtered.
| no_highlight | No highlight is possible on line. | no_highlight | No highlight is possible on line.
| no_log | Line is not written in log file. | no_log | Line is not written in log file.
| log0 ... log9 | Level of log for line (see `/help logger`). | log0 log9 | Level of log for line (see `/help logger`).
| notify_none | Buffer with line is not added to hotlist. | notify_none | The line must not be added to hotlist. ^(1)^
| notify_message | Buffer with line is added to hotlist with level "message". | notify_message | The line is a user message. ^(1)^
| notify_private | Buffer with line is added to hotlist with level "private". | notify_private | The line is a private message. ^(1)^
| notify_highlight | Buffer with line is added to hotlist with level "highlight". | notify_highlight | The line is a message with highlight. ^(1)^
| self_msg | Self message. | self_msg | Self message.
| nick_xxx | Message is from nick "xxx". | nick_xxx | Message is from nick "xxx".
| prefix_nick_ccc | Prefix is a nick with color "ccc". | prefix_nick_ccc | Prefix is a nick with color "ccc".
@@ -1127,6 +1138,12 @@ Tags commonly used (non-exhaustive list):
| away_info | Message with away info. | away_info | Message with away info.
|=== |===
[NOTE]
^(1)^ When no tag "notify_xxx" is present, the default level is "low". If a tag
"notify_xxx" is present, the real notify level can be different, for example
if a max hotlist level is used for a nick, the notify level can be lower than
the value in the tag.
[[bars]] [[bars]]
=== Bars === Bars
@@ -4002,7 +4019,7 @@ can be used in following options:
* _regex_ * _regex_
* _command_ * _command_
The content of hashtables depend on the hook type. The content of hashtables depends on the hook type.
A convenient way to see data in a trigger is to open trigger monitor buffer, A convenient way to see data in a trigger is to open trigger monitor buffer,
using the command: using the command:
@@ -4011,6 +4028,14 @@ using the command:
/trigger monitor /trigger monitor
---- ----
All callbacks set following variables in hashtable:
[width="100%",cols="3m,2,14",options="header"]
|===
| Variable | Type | Description
| tg_trigger_name | string | Name of trigger.
|===
[[trigger_data_signal]] [[trigger_data_signal]]
===== Signal ===== Signal
@@ -4019,8 +4044,8 @@ The "signal" callback sets following variables in hashtable:
[width="100%",cols="3m,2,14",options="header"] [width="100%",cols="3m,2,14",options="header"]
|=== |===
| Variable | Type | Description | Variable | Type | Description
| tg_signal | string | Name of signal | tg_signal | string | Name of signal.
| tg_signal_data | string | Data sent with the signal | tg_signal_data | string | Data sent with the signal.
|=== |===
If the signal contains an IRC message, the message is parsed and following data If the signal contains an IRC message, the message is parsed and following data
@@ -4180,8 +4205,9 @@ The "command" callback sets following variables in hashtable:
|=== |===
| Variable | Type | Description | Variable | Type | Description
| buffer | pointer | Buffer. | buffer | pointer | Buffer.
| tg_argvN | string | Argument #N. | tg_argc | string | The number of arguments (the command itself counts for one).
| tg_argv_eolN | string | From argument #N until end of arguments. | tg_argvN | string | Argument #N (`+tg_argv0+` is the command itself, the others are command arguments).
| tg_argv_eolN | string | From argument #N until end of arguments (`+tg_argv_eol0+` includes the command itself).
|=== |===
[[trigger_data_command_run]] [[trigger_data_command_run]]
+2 -2
View File
@@ -106,9 +106,9 @@
| weechat | locale | locale utilisée pour la traduction des messages | - | weechat | locale | locale utilisée pour la traduction des messages | -
| weechat | nick_color | retourne le code couleur du pseudo | pseudo | weechat | nick_color | retourne le code couleur du pseudo | pseudo;couleurs (couleurs est une liste de couleurs facultative, séparée par des virgules ; un fond est autorisé pour la couleur avec le format texte:fond ; si couleurs est présent, les options WeeChat avec les couleurs de pseudos et couleurs forcées de pseudos sons ignorées)
| weechat | nick_color_name | retourne le nom de la couleur du pseudo | pseudo | weechat | nick_color_name | retourne le nom de la couleur du pseudo | pseudo;couleurs (couleurs est une liste de couleurs facultative, séparée par des virgules ; un fond est autorisé pour la couleur avec le format texte:fond ; si couleurs est présent, les options WeeChat avec les couleurs de pseudos et couleurs forcées de pseudos sons ignorées)
| weechat | pid | PID (ID de processus) de WeeChat | - | weechat | pid | PID (ID de processus) de WeeChat | -
+43 -26
View File
@@ -17,71 +17,87 @@ cible : nom du serveur
* `+allchan+`: exécuter une commande sur tous les canaux de tous les serveurs connectés * `+allchan+`: exécuter une commande sur tous les canaux de tous les serveurs connectés
---- ----
/allchan [-current] [-exclude=<canal>[,<canal>...]] <commande> [<paramètres>] /allchan [-current] [-exclude=<canal>[,<canal>...]] <commande>
[-current] [-include=<canal>[,<canal>...]] <commande> [<paramètres>] [-current] [-include=<canal>[,<canal>...]] <commande>
-current : exécuter la commande pour les canaux du serveur courant seulement -current : exécuter la commande pour les canaux du serveur courant seulement
-exclude : exclure certains canaux (le caractère joker "*" est autorisé) -exclude : exclure certains canaux (le caractère joker "*" est autorisé)
-include : inclure seulement certains canaux (le caractère joker "*" est autorisé) -include : inclure seulement certains canaux (le caractère joker "*" est autorisé)
commande : commande à exécuter commande : commande à exécuter (ou texte à envoyer au tampon si la commande ne commence pas par '/')
paramètres : paramètres pour la commande (les variables spéciales $nick, $channel et $server sont remplacées par leur valeur)
La commande et les paramètres sont évalués (voir /help eval), les variables suivantes sont remplacées :
$server nom du serveur
$channel nom du canal
$nick pseudo sur le serveur
${irc_server.xxx} variable xxx dans le serveur
${irc_channel.xxx} variable xxx dans le canal
Exemples : Exemples :
exécuter '/me teste' sur tous les canaux : exécuter '/me teste' sur tous les canaux :
/allchan me teste /allchan /me teste
dire 'bonjour' partout sauf sur #weechat : dire 'bonjour' partout sauf sur #weechat :
/allchan -exclude=#weechat msg * bonjour /allchan -exclude=#weechat bonjour
dire 'bonjour' partout sauf sur #weechat et les canaux commençant par #linux : dire 'bonjour' partout sauf sur #weechat et les canaux commençant par #linux :
/allchan -exclude=#weechat,#linux* msg * bonjour /allchan -exclude=#weechat,#linux* bonjour
dire 'bonjour' sur tous les canaux commençant par #linux : dire 'bonjour' sur tous les canaux commençant par #linux :
/allchan -include=#linux* msg * bonjour /allchan -include=#linux* bonjour
---- ----
[[command_irc_allpv]] [[command_irc_allpv]]
* `+allpv+`: exécuter une commande sur tous les tampons privés de tous les serveurs connectés * `+allpv+`: exécuter une commande sur tous les tampons privés de tous les serveurs connectés
---- ----
/allpv [-current] [-exclude=<pseudo>[,<pseudo>...]] <commande> [<paramètres>] /allpv [-current] [-exclude=<pseudo>[,<pseudo>...]] <commande>
[-current] [-include=<pseudo>[,<pseudo>...]] <commande> [<paramètres>] [-current] [-include=<pseudo>[,<pseudo>...]] <commande>
-current : exécuter la commande pour les tampons privés du serveur courant seulement -current : exécuter la commande pour les tampons privés du serveur courant seulement
-exclude : exclure certains pseudos (le caractère joker "*" est autorisé) -exclude : exclure certains pseudos (le caractère joker "*" est autorisé)
-include : inclure seulement certains pseudos (le caractère joker "*" est autorisé) -include : inclure seulement certains pseudos (le caractère joker "*" est autorisé)
commande : commande à exécuter commande : commande à exécuter (ou texte à envoyer au tampon si la commande ne commence pas par '/')
paramètres : paramètres pour la commande (les variables spéciales $nick, $channel et $server sont remplacées par leur valeur)
La commande et les paramètres sont évalués (voir /help eval), les variables suivantes sont remplacées :
$server nom du serveur
$channel nom du canal
$nick pseudo sur le serveur
${irc_server.xxx} variable xxx dans le serveur
${irc_channel.xxx} variable xxx dans le canal
Exemples : Exemples :
exécuter '/me teste' sur tous les tampons privés : exécuter '/me teste' sur tous les tampons privés :
/allpv me teste /allpv /me teste
dire 'bonjour' partout sauf sur pour le pseudo foo : dire 'bonjour' partout sauf sur pour le pseudo foo :
/allpv -exclude=foo msg * bonjour /allpv -exclude=foo bonjour
dire 'bonjour' partout sauf pour le pseudo foo et les pseudos commençant par bar : dire 'bonjour' partout sauf pour le pseudo foo et les pseudos commençant par bar :
/allpv -exclude=foo,bar* msg * bonjour /allpv -exclude=foo,bar* bonjour
dire 'bonjour' pour tous les pseudos commençant par bar : dire 'bonjour' pour tous les pseudos commençant par bar :
/allpv -include=bar* msg * bonjour /allpv -include=bar* bonjour
fermer tous les tampons privés : fermer tous les tampons privés :
/allpv close /allpv /close
---- ----
[[command_irc_allserv]] [[command_irc_allserv]]
* `+allserv+`: exécuter une commande sur tous les serveurs connectés * `+allserv+`: exécuter une commande sur tous les serveurs connectés
---- ----
/allserv [-exclude=<serveur>[,<serveur>...]] <commande> [<paramètres>] /allserv [-exclude=<serveur>[,<serveur>...]] <commande>
[-include=<serveur>[,<serveur>...]] <commande> [<paramètres>] [-include=<serveur>[,<serveur>...]] <commande>
-exclude : exclure certains serveurs (le caractère joker "*" est autorisé) -exclude : exclure certains serveurs (le caractère joker "*" est autorisé)
-include : inclure seulement certains serveurs (le caractère joker "*" est autorisé) -include : inclure seulement certains serveurs (le caractère joker "*" est autorisé)
commande : commande à exécuter commande : commande à exécuter (ou texte à envoyer au tampon si la commande ne commence pas par '/')
paramètres : paramètres pour la commande (les variables spéciales $nick, $channel et $server sont remplacées par leur valeur)
La commande et les paramètres sont évalués (voir /help eval), les variables suivantes sont remplacées :
$server nom du serveur
$nick pseudo sur le serveur
${irc_server.xxx} variable xxx dans le serveur
Exemples : Exemples :
changer de pseudo sur tous les serveurs : changer de pseudo sur tous les serveurs :
/allserv nick newnick /allserv /nick newnick
positionner l'absence sur tous les serveurs : positionner l'absence sur tous les serveurs :
/allserv away Je suis absent /allserv /away Je suis absent
faire un whois sur mon pseudo sur tous les serveurs : faire un whois sur mon pseudo sur tous les serveurs :
/allserv whois $nick /allserv /whois $nick
---- ----
[[command_irc_ban]] [[command_irc_ban]]
@@ -1011,7 +1027,7 @@ Exemples :
alias /split pour diviser la fenêtre horizontalement : alias /split pour diviser la fenêtre horizontalement :
/alias add split /window splith /alias add split /window splith
alias /hello pour dire "hello" sur tous les canaux mais pas sur #weechat : alias /hello pour dire "hello" sur tous les canaux mais pas sur #weechat :
/alias add hello /allchan -exclude=#weechat msg * hello /alias add hello /allchan -exclude=#weechat hello
alias /forcejoin pour envoyer la commande IRC "forcejoin" avec la complétion de /sajoin : alias /forcejoin pour envoyer la commande IRC "forcejoin" avec la complétion de /sajoin :
/alias addcompletion %%sajoin forcejoin /quote forcejoin /alias addcompletion %%sajoin forcejoin /quote forcejoin
---- ----
@@ -2159,7 +2175,7 @@ charset : nouveau charset pour le tampon courant
---- ----
/exec -list /exec -list
[-sh|-nosh] [-bg|-nobg] [-stdin|-nostdin] [-buffer <nom>] [-l|-o|-n|-nf] [-cl|-nocl] [-sw|-nosw] [-ln|-noln] |-flush|-noflush] [-color ansi|auto|irc|weechat|strip] [-rc|-norc] [-timeout <délai>] [-name <nom>] [-pipe <commande>] [-hsignal <nom>] <commande> [-sh|-nosh] [-bg|-nobg] [-stdin|-nostdin] [-buffer <nom>] [-l|-o|-oc|-n|-nf] [-oerr] [-cl|-nocl] [-sw|-nosw] [-ln|-noln] |-flush|-noflush] [-color ansi|auto|irc|weechat|strip] [-rc|-norc] [-timeout <délai>] [-name <nom>] [-pipe <commande>] [-hsignal <nom>] <commande>
-in <id> <texte> -in <id> <texte>
-inclose <id> [<texte>] -inclose <id> [<texte>]
-signal <id> <signal> -signal <id> <signal>
@@ -2181,6 +2197,7 @@ charset : nouveau charset pour le tampon courant
-oc : envoyer la sortie de la commande au tampon et exécuter les commandes (lignes commençant par "/" ou un caractère personnalisé de commande) (non compatible avec les options -bg/-pipe/-hsignal) -oc : envoyer la sortie de la commande au tampon et exécuter les commandes (lignes commençant par "/" ou un caractère personnalisé de commande) (non compatible avec les options -bg/-pipe/-hsignal)
-n : afficher la sortie de la commande dans un nouveau tampon (non compatible avec les options -bg/-pipe/-hsignal) -n : afficher la sortie de la commande dans un nouveau tampon (non compatible avec les options -bg/-pipe/-hsignal)
-nf : afficher la sortie de la commande dans un nouveau tampon avec contenu libre (pas de coupure des mots, pas de limite sur le nombre de lignes) (non compatible avec les options -bg/-pipe/-hsignal) -nf : afficher la sortie de la commande dans un nouveau tampon avec contenu libre (pas de coupure des mots, pas de limite sur le nombre de lignes) (non compatible avec les options -bg/-pipe/-hsignal)
-oerr : envoyer aussi stderr (sortie d'erreur) au tampon (peut être utilisé seulement avec les options -o et -oc)
-cl : effacer le nouveau tampon avant d'afficher la sortie -cl : effacer le nouveau tampon avant d'afficher la sortie
-nocl : ajouter au nouveau tampon sans effacer (par défaut) -nocl : ajouter au nouveau tampon sans effacer (par défaut)
-sw : basculer vers le tampon de sortie (par défaut) -sw : basculer vers le tampon de sortie (par défaut)
@@ -3320,6 +3320,12 @@
** valeurs: -1 .. 525600 ** valeurs: -1 .. 525600
** valeur par défaut: `+1440+` ** valeur par défaut: `+1440+`
* [[option_script.scripts.download_enabled]] *script.scripts.download_enabled*
** description: pass:none[activer le téléchargement des fichiers depuis le dépôt des scripts lorsque la commande /script est utilisée (liste des scripts et les scripts eux-mêmes) ; la liste des scripts est téléchargée depuis l'URL spécifiée dans l'option script.scripts.url ; WeeChat téléchargera parfois à nouveau la liste des scripts quand vous utilisez la commande /script, même si vous n'installez pas un script]
** type: booléen
** valeurs: on, off
** valeur par défaut: `+off+`
* [[option_script.scripts.download_timeout]] *script.scripts.download_timeout* * [[option_script.scripts.download_timeout]] *script.scripts.download_timeout*
** description: pass:none[délai d'attente maximum (en secondes) pour le téléchargement des scripts et de la liste des scripts] ** description: pass:none[délai d'attente maximum (en secondes) pour le téléchargement des scripts et de la liste des scripts]
** type: entier ** type: entier
@@ -3748,6 +3754,12 @@
** valeurs: toute chaîne ** valeurs: toute chaîne
** valeur par défaut: `+"${marked} ${name} ${type} ${value2}${newline} ${empty_name} ${_default_value}${color:darkgray} -- ${min}..${max}${newline} ${empty_name} ${description}"+` ** valeur par défaut: `+"${marked} ${name} ${type} ${value2}${newline} ${empty_name} ${_default_value}${color:darkgray} -- ${min}..${max}${newline} ${empty_name} ${description}"+`
* [[option_fset.look.auto_refresh]] *fset.look.auto_refresh*
** description: pass:none[liste des options à rafraichir automatiquement sur le tampon fset (s'il est ouvert) ; "*" signifie toutes les options (recommandé), un nom commençant par "!" est une valeur négative pour empêcher une option d'être rafraichie, le caractère joker "*" est autorisé dans les noms (exemple : "*,!plugin.section.*")]
** type: chaîne
** valeurs: toute chaîne
** valeur par défaut: `+"*"+`
* [[option_fset.look.auto_unmark]] *fset.look.auto_unmark* * [[option_fset.look.auto_unmark]] *fset.look.auto_unmark*
** description: pass:none[démarquer automatiquement toutes les options après une action sur les options marquées ou après un rafraichissement] ** description: pass:none[démarquer automatiquement toutes les options après une action sur les options marquées ou après un rafraichissement]
** type: booléen ** type: booléen
+1
View File
@@ -421,6 +421,7 @@ Le cœur de WeeChat est situé dans les répertoires suivants :
|             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.
|             test-irc-protocol.cpp | Tests : protocole IRC. |             test-irc-protocol.cpp | Tests : protocole IRC.
|             test-irc-server.cpp | Tests : serveur IRC.
|          relay/ | Racine des tests unitaires pour l'extension Relay. |          relay/ | Racine des tests unitaires pour l'extension Relay.
|             test-relay-auth.cpp | Tests : authentification des clients. |             test-relay-auth.cpp | Tests : authentification des clients.
|=== |===
+56 -7
View File
@@ -1922,6 +1922,53 @@ str = weechat.string_format_size(size)
str = weechat.string_format_size(15200) # == "15.2 Ko" str = weechat.string_format_size(15200) # == "15.2 Ko"
---- ----
==== string_color_code_size
_WeeChat ≥ 3.0._
Retourner la taille (en octets) du code couleur WeeChat au début de la chaîne.
Prototype :
[source,C]
----
int weechat_string_color_code_size (const char *string);
----
Paramètres :
* _string_ : chaîne
Valeur de retour :
* taille (en octets) du code couleur WeeChat au début de la chaîne ;
si la chaîne est NULL, vide ou ne commence pas avec un code couleur, 0 est retourné ;
si la chaîne commence par plusieurs codes couleur, seule la taille du premier est retournée
Exemples en C :
[source,C]
----
int size;
size = weechat_string_color_code_size ("test"); /* size == 0 */
size = weechat_string_color_code_size (weechat_color ("bold")); /* size == 2 */
size = weechat_string_color_code_size (weechat_color ("yellow,red")); /* size == 7 */
----
Script (Python) :
[source,python]
----
# prototype
size = weechat.string_color_code_size(string)
# exemples
size = weechat.string_color_code_size("test") # size == 0
size = weechat.string_color_code_size(weechat.color("bold")) # size == 2
size = weechat.string_color_code_size(weechat.color("yellow,red")) # size == 7
----
==== string_remove_color ==== string_remove_color
Supprimer les couleurs WeeChat dans une chaîne. Supprimer les couleurs WeeChat dans une chaîne.
@@ -2817,7 +2864,7 @@ Cette fonction n'est pas disponible dans l'API script.
==== string_dyn_concat ==== string_dyn_concat
_WeeChat ≥ 1.8._ _WeeChat ≥ 1.8, mis à jour en 3.0._
Concaténer une chaîne dans une chaîne dynamique. Concaténer une chaîne dans une chaîne dynamique.
@@ -2828,13 +2875,16 @@ Prototype :
[source,C] [source,C]
---- ----
int weechat_string_dyn_concat (char **string, const char *add); int weechat_string_dyn_concat (char **string, const char *add, int bytes);
---- ----
Paramètres : Paramètres :
* _string_ : pointeur vers la chaîne dynamique * _string_ : pointeur vers la chaîne dynamique
* _add_ : la chaîne à ajouter * _add_ : la chaîne à ajouter
* _bytes_ : nombre maximum d'octets de _add_ à concaténer, doit être inférieur
ou égal à la longueur de _add_ (-1 = automatique : concaténer la totalité de
la chaîne _add_) _(WeeChat ≥ 3.0)_
Valeur de retour : Valeur de retour :
@@ -2847,7 +2897,7 @@ Exemple en C :
char **string = weechat_string_dyn_alloc (256); char **string = weechat_string_dyn_alloc (256);
if (weechat_string_dyn_copy (string, "test")) if (weechat_string_dyn_copy (string, "test"))
{ {
if (weechat_string_dyn_concat (string, "abc")) if (weechat_string_dyn_concat (string, "abc", -1))
{ {
/* ... */ /* ... */
} }
@@ -12370,8 +12420,7 @@ valeurs sont de type "string") :
| _chat | Indicateur zone "chat". | | _chat | Indicateur zone "chat". |
"0" ou "1" | "0" "0" ou "1" | "0"
| _chat_line | Pointeur vers la ligne + | _chat_line | Pointeur vers la ligne _(WeeChat ≥ 1.2)_. |
_(WeeChat ≥ 1.2)_. |
"0x1234abcd" | "" "0x1234abcd" | ""
| _chat_line_x | Colonne de la ligne ^(3)^. | | _chat_line_x | Colonne de la ligne ^(3)^. |
@@ -12425,8 +12474,7 @@ valeurs sont de type "string") :
| _bar_item_col | Colonne dans l'objet de barre. | | _bar_item_col | Colonne dans l'objet de barre. |
"0" ... "n" | "-1" "0" ... "n" | "-1"
| _bar_window | Pointeur vers la fenêtre de barre + | _bar_window | Pointeur vers la fenêtre de barre _(WeeChat ≥ 2.9)_. |
_(WeeChat ≥ 2.9)_. |
"0x1234abcd" | "" "0x1234abcd" | ""
|=== |===
@@ -12448,6 +12496,7 @@ Informations additionnelles pour l'objet de barre "buffer_nicklist" :
| nick | core | Pseudonyme. | nick | core | Pseudonyme.
| prefix | core | Préfixe du pseudonyme. | prefix | core | Préfixe du pseudonyme.
| group | core | Nom du groupe. | group | core | Nom du groupe.
| irc_nick | irc | Pointeur vers le pseudo IRC _(WeeChat ≥ 3.0)_.
| irc_host | irc | Nom d'hôte pour le pseudonyme (si connu). | irc_host | irc | Nom d'hôte pour le pseudonyme (si connu).
|=== |===
+1
View File
@@ -565,6 +565,7 @@ Liste des fonctions de l'API script :
string_has_highlight_regex + string_has_highlight_regex +
string_mask_to_regex + string_mask_to_regex +
string_format_size + string_format_size +
string_color_code_size +
string_remove_color + string_remove_color +
string_is_command_char + string_is_command_char +
string_input_for_buffer + string_input_for_buffer +
+41 -14
View File
@@ -386,13 +386,14 @@ Suivez alors les instructions du paquet source (voir
Si vous avez eu des plantages, ou si vous souhaitez rapporter tout plantage Si vous avez eu des plantages, ou si vous souhaitez rapporter tout plantage
futur de WeeChat, vous devez : futur de WeeChat, vous devez :
* Compiler avec les infos de debug (ou installer un paquet binaire avec les * Compiler avec :
infos de debug). ** les infos de debug (ou installer un paquet binaire avec les infos de debug),
** la vérification des adresses (« address sanitizer ») (facultatif).
* Activer les fichiers _core_ sur votre système. * Activer les fichiers _core_ sur votre système.
* Installer gdb. * Installer gdb.
[[debug_info]] [[build_debug]]
==== Infos de debug ==== Construction avec options de debug
Si vous compilez avec CMake : Si vous compilez avec CMake :
@@ -400,7 +401,16 @@ Si vous compilez avec CMake :
$ cmake .. -DCMAKE_BUILD_TYPE=Debug $ cmake .. -DCMAKE_BUILD_TYPE=Debug
---- ----
Si vous compilez avec les autotools, le debug est par défaut (`--with-debug=1`). Vous pouvez aussi activer la vérification des adresses (« address sanitizer »),
ce qui provoquera immédiatement un plantage de WeeChat en cas de problème :
----
$ cmake .. -DCMAKE_BUILD_TYPE=Debug -DCMAKE_C_FLAGS=-fsanitize=address -DCMAKE_CXX_FLAGS=-fsanitize=address -DCMAKE_EXE_LINKER_FLAGS=-fsanitize=address
----
[WARNING]
Vous ne devriez activer la vérification des adresses que si vous essayez de
provoquer un plantage, ceci n'est pas recommandé en production.
Si vous avez installé un paquet binaire, alors installez le paquet Si vous avez installé un paquet binaire, alors installez le paquet
_weechat-dbg_. _weechat-dbg_.
@@ -652,7 +662,7 @@ Exemple de terminal avec WeeChat :
│ │ │ │ │ │ │ │
│ │ │ │ │ │ │ │
│ │ │ │ │ │ │ │
│ │[12:55] [5] [irc/freenode] 2:#test(+n){4}* [Act: 3:#abc(2,5), 5] │ │ │[12:55] [5] [irc/freenode] 2:#test(+n){4}* [H: 3:#abc(2,5), 5]
│ │[@Flashy(i)] salut peter !█ │ │ │[@Flashy(i)] salut peter !█ │
└──────────────────────────────────────────────────────────────────────────────────────┘ └──────────────────────────────────────────────────────────────────────────────────────┘
▲ barres "status" et "input" barre "nicklist" ▲ ▲ barres "status" et "input" barre "nicklist" ▲
@@ -704,7 +714,7 @@ La barre _status_ contient les objets (items) suivants par défaut :
| buffer_filter | `+*+` | Indicateur de filtrage : `+*+` signifie que des lignes sont filtrées (cachées), une valeur vide signifie que toutes les lignes sont affichées. | buffer_filter | `+*+` | Indicateur de filtrage : `+*+` signifie que des lignes sont filtrées (cachées), une valeur vide signifie que toutes les lignes sont affichées.
| scroll | `-PLUS(50)-` | Indicateur de scroll, avec le nombre de lignes sous la dernière ligne affichée. | scroll | `-PLUS(50)-` | Indicateur de scroll, avec le nombre de lignes sous la dernière ligne affichée.
| lag | `[Lag: 2.5]` | Indicateur de "lag" (ralentissements réseau), en secondes (caché si le lag est faible). | lag | `[Lag: 2.5]` | Indicateur de "lag" (ralentissements réseau), en secondes (caché si le lag est faible).
| hotlist | `[Act: 3:#abc(2,5), 5]` | Liste des tampons où il y a de l'activité (messages non lus) (dans cet exemple, 2 highlights et 5 messages non lus sur _#abc_, un message non lu sur le tampon numéro 5). | hotlist | `[H: 3:#abc(2,5), 5]` | Liste des tampons où il y a de l'activité (messages non lus) (dans cet exemple, 2 highlights et 5 messages non lus sur _#abc_, un message non lu sur le tampon numéro 5).
| completion | `abc(2) def(5)` | Liste des mots pour la complétion, avec le nombre de complétions possibles pour chaque mot. | completion | `abc(2) def(5)` | Liste des mots pour la complétion, avec le nombre de complétions possibles pour chaque mot.
|=== |===
@@ -1138,11 +1148,11 @@ Les étiquettes couramment utilisées (liste non exhaustive) :
| no_filter | La ligne ne peut pas être filtrée. | no_filter | La ligne ne peut pas être filtrée.
| no_highlight | Aucun highlight n'est possible sur cette ligne. | no_highlight | Aucun highlight n'est possible sur cette ligne.
| no_log | La ligne n'est pas écrite dans le fichier de log. | no_log | La ligne n'est pas écrite dans le fichier de log.
| log0 ... log9 | Niveau de log pour la ligne (voir `/help logger`). | log0 log9 | Niveau de log pour la ligne (voir `/help logger`).
| notify_none | Le tampon avec la ligne ne sera pas ajouté à la "hotlist". | notify_none | La ligne ne doit pas être ajoutée à la "hotlist". ^(1)^
| notify_message | Le tampon avec la ligne sera ajouté à la "hotlist" avec le niveau "message". | notify_message | La ligne est un message utilisateur. ^(1)^
| notify_private | Le tampon avec la ligne sera ajouté à la "hotlist" avec le niveau "private". | notify_private | La ligne est un message privé. ^(1)^
| notify_highlight | Le tampon avec la ligne sera ajouté à la "hotlist" avec le niveau "highlight". | notify_highlight | La ligne est un message avec un highlight. ^(1)^
| self_msg | Message de soi-même. | self_msg | Message de soi-même.
| nick_xxx | Le message vient du pseudo "xxx". | nick_xxx | Le message vient du pseudo "xxx".
| prefix_nick_ccc | Le préfixe est un pseudo avec la couleur "ccc". | prefix_nick_ccc | Le préfixe est un pseudo avec la couleur "ccc".
@@ -1157,6 +1167,13 @@ Les étiquettes couramment utilisées (liste non exhaustive) :
| away_info | Message avec une info d'absence. | away_info | Message avec une info d'absence.
|=== |===
[NOTE]
^(1)^ Lorsque aucune étiquette "notify_xxx" n'est présente, le niveau de
notification par défaut est "low". Si une étiquette "notify_xxx" est présente,
le niveau de notification réel peut être différent, par exemple si un niveau
maximum de hotlist est utilisé pour un pseudo, le niveau de notification peut
être inférieur à la valeur de l'étiquette.
[[bars]] [[bars]]
=== Barres === Barres
@@ -4144,6 +4161,15 @@ moniteur des triggers :
/trigger monitor /trigger monitor
---- ----
Toutes les fonctions de rappel définissent les variables suivantes dans la table
de hachage :
[width="100%",cols="3m,2,14",options="header"]
|===
| Variable | Type | Description
| tg_trigger_name | chaîne | Nom du trigger.
|===
[[trigger_data_signal]] [[trigger_data_signal]]
===== Signal ===== Signal
@@ -4322,8 +4348,9 @@ de hachage :
|=== |===
| Variable | Type | Description | Variable | Type | Description
| buffer | pointeur | Tampon. | buffer | pointeur | Tampon.
| tg_argvN | chaîne | Paramètre n°N. | tg_argc | chaîne | Nombre de paramètres (la commande elle-même compte pour un).
| tg_argv_eolN | chaîne | Depuis le paramètre n°N jusqu'à la fin des paramètres. | tg_argvN | chaîne | Paramètre n°N (`+tg_argv0+` est la commande elle-même, les autres sont les paramètres de la commande).
| tg_argv_eolN | chaîne | Depuis le paramètre n°N jusqu'à la fin des paramètres (`+tg_argv_eol0+` inclut la commande elle-même).
|=== |===
[[trigger_data_command_run]] [[trigger_data_command_run]]
+2 -2
View File
@@ -106,9 +106,9 @@
| weechat | locale | locale usato per la traduzione dei messaggi | - | weechat | locale | locale usato per la traduzione dei messaggi | -
| weechat | nick_color | ottiene il codice del colore del nick | nick | weechat | nick_color | ottiene il codice del colore del nick | nickname;colors (colors is an optional comma-separated list of colors to use; background is allowed for a color with format text:background; if colors is present, WeeChat options with nick colors and forced nick colors are ignored)
| weechat | nick_color_name | ottiene il nome del colore del nick | nick | weechat | nick_color_name | ottiene il nome del colore del nick | nickname;colors (colors is an optional comma-separated list of colors to use; background is allowed for a color with format text:background; if colors is present, WeeChat options with nick colors and forced nick colors are ignored)
| weechat | pid | WeeChat PID (process ID) | - | weechat | pid | WeeChat PID (process ID) | -
+43 -26
View File
@@ -17,71 +17,87 @@ destinazione: nome server
* `+allchan+`: esegue un comando su tutti i canali di tutti i server connessi * `+allchan+`: esegue un comando su tutti i canali di tutti i server connessi
---- ----
/allchan [-current] [-exclude=<channel>[,<channel>...]] <command> [<arguments>] /allchan [-current] [-exclude=<channel>[,<channel>...]] <command>
[-current] -include=<channel>[,<channel>...] <command> [<arguments>] [-current] -include=<channel>[,<channel>...] <command>
-current: execute command for channels of current server only -current: execute command for channels of current server only
-exclude: exclude some channels (wildcard "*" is allowed) -exclude: exclude some channels (wildcard "*" is allowed)
-include: include only some channels (wildcard "*" is allowed) -include: include only some channels (wildcard "*" is allowed)
command: command to execute command: command to execute (or text to send to buffer if command does not start with '/')
arguments: arguments for command (special variables $nick, $channel and $server are replaced by their value)
Command and arguments are evaluated (see /help eval), the following variables are replaced:
$server server name
$channel channel name
$nick nick on server
${irc_server.xxx} variable xxx in server
${irc_channel.xxx} variable xxx in channel
Examples: Examples:
execute '/me is testing' on all channels: execute '/me is testing' on all channels:
/allchan me is testing /allchan /me is testing
say 'hello' everywhere but not on #weechat: say 'hello' everywhere but not on #weechat:
/allchan -exclude=#weechat msg * hello /allchan -exclude=#weechat hello
say 'hello' everywhere but not on #weechat and channels beginning with #linux: say 'hello' everywhere but not on #weechat and channels beginning with #linux:
/allchan -exclude=#weechat,#linux* msg * hello /allchan -exclude=#weechat,#linux* hello
say 'hello' on all channels beginning with #linux: say 'hello' on all channels beginning with #linux:
/allchan -include=#linux* msg * hello /allchan -include=#linux* hello
---- ----
[[command_irc_allpv]] [[command_irc_allpv]]
* `+allpv+`: execute a command on all private buffers of all connected servers * `+allpv+`: execute a command on all private buffers of all connected servers
---- ----
/allpv [-current] [-exclude=<nick>[,<nick>...]] <command> [<arguments>] /allpv [-current] [-exclude=<nick>[,<nick>...]] <command>
[-current] -include=<nick>[,<nick>...] <command> [<arguments>] [-current] -include=<nick>[,<nick>...] <command>
-current: execute command for private buffers of current server only -current: execute command for private buffers of current server only
-exclude: exclude some nicks (wildcard "*" is allowed) -exclude: exclude some nicks (wildcard "*" is allowed)
-include: include only some nicks (wildcard "*" is allowed) -include: include only some nicks (wildcard "*" is allowed)
command: command to execute command: command to execute (or text to send to buffer if command does not start with '/')
arguments: arguments for command (special variables $nick, $channel and $server are replaced by their value)
Command and arguments are evaluated (see /help eval), the following variables are replaced:
$server server name
$channel channel name
$nick nick on server
${irc_server.xxx} variable xxx in server
${irc_channel.xxx} variable xxx in channel
Examples: Examples:
execute '/me is testing' on all private buffers: execute '/me is testing' on all private buffers:
/allpv me is testing /allpv /me is testing
say 'hello' everywhere but not for nick foo: say 'hello' everywhere but not for nick foo:
/allpv -exclude=foo msg * hello /allpv -exclude=foo hello
say 'hello' everywhere but not for nick foo and nicks beginning with bar: say 'hello' everywhere but not for nick foo and nicks beginning with bar:
/allpv -exclude=foo,bar* msg * hello /allpv -exclude=foo,bar* hello
say 'hello' for all nicks beginning with bar: say 'hello' for all nicks beginning with bar:
/allpv -include=bar* msg * hello /allpv -include=bar* hello
close all private buffers: close all private buffers:
/allpv close /allpv /close
---- ----
[[command_irc_allserv]] [[command_irc_allserv]]
* `+allserv+`: esegue un comando su tutti i server connessi * `+allserv+`: esegue un comando su tutti i server connessi
---- ----
/allserv [-exclude=<server>[,<server>...]] <command> [<arguments>] /allserv [-exclude=<server>[,<server>...]] <command>
-include=<server>[,<server>...] <command> [<arguments>] -include=<server>[,<server>...] <command>
-exclude: exclude some servers (wildcard "*" is allowed) -exclude: exclude some servers (wildcard "*" is allowed)
-include: include only some servers (wildcard "*" is allowed) -include: include only some servers (wildcard "*" is allowed)
command: command to execute command: command to execute (or text to send to buffer if command does not start with '/')
arguments: arguments for command (special variables $nick, $channel and $server are replaced by their value)
Command and arguments are evaluated (see /help eval), the following variables are replaced:
$server server name
$nick nick on server
${irc_server.xxx} variable xxx in server
Examples: Examples:
change nick on all servers: change nick on all servers:
/allserv nick newnick /allserv /nick newnick
set away on all servers: set away on all servers:
/allserv away I'm away /allserv /away I'm away
do a whois on my nick on all servers: do a whois on my nick on all servers:
/allserv whois $nick /allserv /whois $nick
---- ----
[[command_irc_ban]] [[command_irc_ban]]
@@ -1011,7 +1027,7 @@ Examples:
alias /split to split window horizontally: alias /split to split window horizontally:
/alias add split /window splith /alias add split /window splith
alias /hello to say "hello" on all channels but not on #weechat: alias /hello to say "hello" on all channels but not on #weechat:
/alias add hello /allchan -exclude=#weechat msg * hello /alias add hello /allchan -exclude=#weechat hello
alias /forcejoin to send IRC command "forcejoin" with completion of /sajoin: alias /forcejoin to send IRC command "forcejoin" with completion of /sajoin:
/alias addcompletion %%sajoin forcejoin /quote forcejoin /alias addcompletion %%sajoin forcejoin /quote forcejoin
---- ----
@@ -2159,7 +2175,7 @@ set_caratteri: nuovo set di caratteri per il buffer corrente
---- ----
/exec -list /exec -list
[-sh|-nosh] [-bg|-nobg] [-stdin|-nostdin] [-buffer <name>] [-l|-o|-n|-nf] [-cl|-nocl] [-sw|-nosw] [-ln|-noln] [-flush|-noflush] [-color ansi|auto|irc|weechat|strip] [-rc|-norc] [-timeout <timeout>] [-name <name>] [-pipe <command>] [-hsignal <name>] <command> [-sh|-nosh] [-bg|-nobg] [-stdin|-nostdin] [-buffer <name>] [-l|-o|-oc|-n|-nf] [-oerr] [-cl|-nocl] [-sw|-nosw] [-ln|-noln] [-flush|-noflush] [-color ansi|auto|irc|weechat|strip] [-rc|-norc] [-timeout <timeout>] [-name <name>] [-pipe <command>] [-hsignal <name>] <command>
-in <id> <text> -in <id> <text>
-inclose <id> [<text>] -inclose <id> [<text>]
-signal <id> <signal> -signal <id> <signal>
@@ -2181,6 +2197,7 @@ set_caratteri: nuovo set di caratteri per il buffer corrente
-oc: send output of command to the buffer and execute commands (lines starting with "/" or another custom command char) (not compatible with options -bg/-pipe/-hsignal) -oc: send output of command to the buffer and execute commands (lines starting with "/" or another custom command char) (not compatible with options -bg/-pipe/-hsignal)
-n: display output of command in a new buffer (not compatible with options -bg/-pipe/-hsignal) -n: display output of command in a new buffer (not compatible with options -bg/-pipe/-hsignal)
-nf: display output of command in a new buffer with free content (no word-wrap, no limit on number of lines) (not compatible with options -bg/-pipe/-hsignal) -nf: display output of command in a new buffer with free content (no word-wrap, no limit on number of lines) (not compatible with options -bg/-pipe/-hsignal)
-oerr: also send stderr (error output) to the buffer (can be used only with options -o and -oc)
-cl: clear the new buffer before displaying output -cl: clear the new buffer before displaying output
-nocl: append to the new buffer without clear (default) -nocl: append to the new buffer without clear (default)
-sw: switch to the output buffer (default) -sw: switch to the output buffer (default)
@@ -3320,6 +3320,12 @@
** valori: -1 .. 525600 ** valori: -1 .. 525600
** valore predefinito: `+1440+` ** valore predefinito: `+1440+`
* [[option_script.scripts.download_enabled]] *script.scripts.download_enabled*
** descrizione: pass:none[enable download of files from the scripts repository when the /script command is used (list of scripts and scripts themselves); the list of scripts is downloaded from the URL specified in the option script.scripts.url; WeeChat will sometimes download again the list of scripts when you use the /script command, even if you don't install a script]
** tipo: bool
** valori: on, off
** valore predefinito: `+off+`
* [[option_script.scripts.download_timeout]] *script.scripts.download_timeout* * [[option_script.scripts.download_timeout]] *script.scripts.download_timeout*
** descrizione: pass:none[timeout (in seconds) for download of scripts and list of scripts] ** descrizione: pass:none[timeout (in seconds) for download of scripts and list of scripts]
** tipo: intero ** tipo: intero
@@ -3748,6 +3754,12 @@
** valori: qualsiasi stringa ** valori: qualsiasi stringa
** valore predefinito: `+"${marked} ${name} ${type} ${value2}${newline} ${empty_name} ${_default_value}${color:darkgray} -- ${min}..${max}${newline} ${empty_name} ${description}"+` ** valore predefinito: `+"${marked} ${name} ${type} ${value2}${newline} ${empty_name} ${_default_value}${color:darkgray} -- ${min}..${max}${newline} ${empty_name} ${description}"+`
* [[option_fset.look.auto_refresh]] *fset.look.auto_refresh*
** descrizione: pass:none[comma separated list of options to automatically refresh on the fset buffer (if opened); "*" means all options (recommended), a name beginning with "!" is a negative value to prevent an option to be refreshed, wildcard "*" is allowed in names (example: "*,!plugin.section.*")]
** tipo: stringa
** valori: qualsiasi stringa
** valore predefinito: `+"*"+`
* [[option_fset.look.auto_unmark]] *fset.look.auto_unmark* * [[option_fset.look.auto_unmark]] *fset.look.auto_unmark*
** descrizione: pass:none[automatically unmark all options after an action on marked options or after a refresh] ** descrizione: pass:none[automatically unmark all options after an action on marked options or after a refresh]
** tipo: bool ** tipo: bool
+62 -7
View File
@@ -1967,6 +1967,57 @@ str = weechat.string_format_size(size)
str = weechat.string_format_size(15200) # == "15.2 KB" str = weechat.string_format_size(15200) # == "15.2 KB"
---- ----
==== string_color_code_size
_WeeChat ≥ 3.0._
// TRANSLATION MISSING
Return the size (in bytes) of the WeeChat color code at the beginning of
the string.
Prototipo:
[source,C]
----
int weechat_string_color_code_size (const char *string);
----
Argomenti:
* _string_: stringa
Valore restituito:
// TRANSLATION MISSING
* size (in bytes) of the WeeChat color code at the beginning of the string;
if the string is NULL, empty or does not start with a color code, 0 is returned;
if the string begins with multiple color codes, only the size of the first one
is returned
Esempi:
[source,C]
----
int size;
size = weechat_string_color_code_size ("test"); /* size == 0 */
size = weechat_string_color_code_size (weechat_color ("bold")); /* size == 2 */
size = weechat_string_color_code_size (weechat_color ("yellow,red")); /* size == 7 */
----
Script (Python):
[source,python]
----
# prototipo
size = weechat.string_color_code_size(string)
# esempio
size = weechat.string_color_code_size("test") # size == 0
size = weechat.string_color_code_size(weechat.color("bold")) # size == 2
size = weechat.string_color_code_size(weechat.color("yellow,red")) # size == 7
----
==== string_remove_color ==== string_remove_color
Rimuove i colori di WeeChat da una stringa. Rimuove i colori di WeeChat da una stringa.
@@ -2887,7 +2938,8 @@ Questa funzione non è disponibile nelle API per lo scripting.
==== string_dyn_concat ==== string_dyn_concat
_WeeChat ≥ 1.8._ // TRANSLATION MISSING
_WeeChat ≥ 1.8, updated in 3.0._
// TRANSLATION MISSING // TRANSLATION MISSING
Concatenate a string to a dynamic string. Concatenate a string to a dynamic string.
@@ -2900,7 +2952,7 @@ Prototipo:
[source,C] [source,C]
---- ----
int weechat_string_dyn_concat (char **string, const char *add); int weechat_string_dyn_concat (char **string, const char *add, int bytes);
---- ----
Argomenti: Argomenti:
@@ -2908,6 +2960,9 @@ Argomenti:
// TRANSLATION MISSING // TRANSLATION MISSING
* _string_: pointer to dynamic string * _string_: pointer to dynamic string
* _add_: the string to add * _add_: the string to add
* _bytes_: max number of bytes in _add_ to concatenate, must be lower or equal
to length of _add_ (-1 = automatic: concatenate whole string _add_)
_(WeeChat ≥ 3.0)_
Valore restituito: Valore restituito:
@@ -2921,7 +2976,7 @@ Esempio in C:
char **string = weechat_string_dyn_alloc (256); char **string = weechat_string_dyn_alloc (256);
if (weechat_string_dyn_copy (string, "test")) if (weechat_string_dyn_copy (string, "test"))
{ {
if (weechat_string_dyn_concat (string, "abc")) if (weechat_string_dyn_concat (string, "abc", -1))
{ {
/* ... */ /* ... */
} }
@@ -12599,8 +12654,7 @@ Contenuto della tabella hash inviata alla callback (tasti e valori sono di tipo
"0" o "1" | "0" "0" o "1" | "0"
// TRANSLATION MISSING // TRANSLATION MISSING
| _chat_line | Pointer to line + | _chat_line | Pointer to line _(WeeChat ≥ 1.2)_. |
_(WeeChat ≥ 1.2)_. |
"0x1234abcd" | "" "0x1234abcd" | ""
| _chat_line_x | Colonna nella riga ^(3)^. | | _chat_line_x | Colonna nella riga ^(3)^. |
@@ -12657,8 +12711,7 @@ Contenuto della tabella hash inviata alla callback (tasti e valori sono di tipo
"0" ... "n" | "-1" "0" ... "n" | "-1"
// TRANSLATION MISSING // TRANSLATION MISSING
| _bar_window | Pointer to bar window + | _bar_window | Pointer to bar window _(WeeChat ≥ 2.9)_. |
_(WeeChat ≥ 2.9)_. |
"0x1234abcd" | "" "0x1234abcd" | ""
|=== |===
@@ -12679,6 +12732,8 @@ Informazioni aggiuntive per l'elemento barra "buffer_nicklist":
| nick | core | Nick. | nick | core | Nick.
| prefix | core | Prefisso per il nick. | prefix | core | Prefisso per il nick.
| group | core | Nome gruppo. | group | core | Nome gruppo.
// TRANSLATION MISSING
| irc_nick | irc | Pointer to IRC nick _(WeeChat ≥ 3.0)_.
| irc_host | irc | Host per il nick (se conosciuto). | irc_host | irc | Host per il nick (se conosciuto).
|=== |===
+1
View File
@@ -575,6 +575,7 @@ Elenco di funzioni nelle API per gli script:
string_has_highlight_regex + string_has_highlight_regex +
string_mask_to_regex + string_mask_to_regex +
string_format_size + string_format_size +
string_color_code_size +
string_remove_color + string_remove_color +
string_is_command_char + string_is_command_char +
string_input_for_buffer + string_input_for_buffer +
+51 -14
View File
@@ -416,13 +416,17 @@ Poi seguire le istruzioni per i sorgenti (consultare
Nel caso in cui si verifichino errori, o si desideri segnalare qualsiasi errore Nel caso in cui si verifichino errori, o si desideri segnalare qualsiasi errore
futuro di WeeChat, è necessario: futuro di WeeChat, è necessario:
* compilarlo con informazioni di debug (o installare il pacchetto binario con // TRANSLATION MISSING
le informazioni di debug) * compile with:
** informazioni di debug (o installare il pacchetto binario con le informazioni di debug)
// TRANSLATION MISSING
** address sanitizer (optional)
* abilitare i file _core_ sul proprio sistema * abilitare i file _core_ sul proprio sistema
* installare gdb * installare gdb
[[debug_info]] // TRANSLATION MISSING
==== Informazioni di debug [[build_debug]]
==== Build with debug options
Se si compila con CMake: Se si compila con CMake:
@@ -430,7 +434,18 @@ Se si compila con CMake:
$ cmake .. -DCMAKE_BUILD_TYPE=Debug $ cmake .. -DCMAKE_BUILD_TYPE=Debug
---- ----
Se compilato con gli autotools, il debug è attivato automaticamente (`--with-debug=1`). // TRANSLATION MISSING
You can additionally enable the address sanitizer, which causes WeeChat to
crash immediately in case of problem:
----
$ cmake .. -DCMAKE_BUILD_TYPE=Debug -DCMAKE_C_FLAGS=-fsanitize=address -DCMAKE_CXX_FLAGS=-fsanitize=address -DCMAKE_EXE_LINKER_FLAGS=-fsanitize=address
----
// TRANSLATION MISSING
[WARNING]
You should enable address sanitizer only if you're trying to cause a crash,
this is not recommended in production.
Se è stato installato il pacchetto binario, installare il pacchetto _weechat-gdb_. Se è stato installato il pacchetto binario, installare il pacchetto _weechat-gdb_.
@@ -688,7 +703,7 @@ Esempio di terminale con WeeChat:
│ │ │ │ │ │ │ │
│ │ │ │ │ │ │ │
│ │ │ │ │ │ │ │
│ │[12:55] [5] [irc/freenode] 2:#test(+n){4}* [Act: 3:#abc(2,5), 5] │ │ │[12:55] [5] [irc/freenode] 2:#test(+n){4}* [H: 3:#abc(2,5), 5]
│ │[@Flashy(i)] hi peter!█ │ │ │[@Flashy(i)] hi peter!█ │
└──────────────────────────────────────────────────────────────────────────────────────┘ └──────────────────────────────────────────────────────────────────────────────────────┘
▲ bars "status" and "input" bar "nicklist" ▲ ▲ bars "status" and "input" bar "nicklist" ▲
@@ -745,7 +760,7 @@ La barra _status_ ha i seguenti elementi predefiniti:
| buffer_filter | `+*+` | Indicatore filtraggio: `+*+` significa che alcune righe sono filtrate (nascoste), valori vuoti indicano che tutte le righe sono visualizzate. | buffer_filter | `+*+` | Indicatore filtraggio: `+*+` significa che alcune righe sono filtrate (nascoste), valori vuoti indicano che tutte le righe sono visualizzate.
| scroll | `-ANCORA(50)-` | Indicatore di scorrimento, con il numero di righe sotto l'ultima riga visualizzata. | scroll | `-ANCORA(50)-` | Indicatore di scorrimento, con il numero di righe sotto l'ultima riga visualizzata.
| lag | `[Ritardo: 2.5]` | Indicatore ritardo, in secondi (nascosto se il ritardo è basso). | lag | `[Ritardo: 2.5]` | Indicatore ritardo, in secondi (nascosto se il ritardo è basso).
| hotlist | `[Act: 3:#abc(2,5), 5]` | Elenco dei buffer con attività (messaggi non letti) (nell'esempio, 2 notifiche e 5 messaggi non letti su #abc, un messaggio non letto sul buffer #5). | hotlist | `[H: 3:#abc(2,5), 5]` | Elenco dei buffer con attività (messaggi non letti) (nell'esempio, 2 notifiche e 5 messaggi non letti su #abc, un messaggio non letto sul buffer #5).
| completion | `abc(2) def(5)` | Elenco di parole per il completamento, con il numero di completamenti possibili per ogni parola. | completion | `abc(2) def(5)` | Elenco di parole per il completamento, con il numero di completamenti possibili per ogni parola.
|=== |===
@@ -1188,11 +1203,15 @@ Tag usati di frequente (elenco non esaustivo):
| no_filter | La riga non può essere filtrata. | no_filter | La riga non può essere filtrata.
| no_highlight | Evidenziazione non possibile sulla riga. | no_highlight | Evidenziazione non possibile sulla riga.
| no_log | La riga non viene scritta nel file di log. | no_log | La riga non viene scritta nel file di log.
| log0 ... log9 | Livello di log per la riga (consultare `/help logger`). | log0 log9 | Livello di log per la riga (consultare `/help logger`).
| notify_none | Il buffer con la riga non viene aggiunto alla hotlist. // TRANSLATION MISSING
| notify_message | Il buffer con la riga viene aggiunto alla hotlist con il livello "message". | notify_none | The line must not be added to hotlist. ^(1)^
| notify_private | Il buffer con la riga viene aggiunto alla hotlist con il livello "private". // TRANSLATION MISSING
| notify_highlight | Il buffer con la riga viene aggiunto alla hotlist con il livello "higlight". | notify_message | The line is a user message. ^(1)^
// TRANSLATION MISSING
| notify_private | The line is a private message. ^(1)^
// TRANSLATION MISSING
| notify_highlight | The line is a message with highlight. ^(1)^
// TRANSLATION MISSING // TRANSLATION MISSING
| self_msg | Self message. | self_msg | Self message.
| nick_xxx | Il messaggio viene dal nick "xxx". | nick_xxx | Il messaggio viene dal nick "xxx".
@@ -1209,6 +1228,13 @@ Tag usati di frequente (elenco non esaustivo):
| away_info | Messagio con informazioni sull'assenza. | away_info | Messagio con informazioni sull'assenza.
|=== |===
// TRANSLATION MISSING
[NOTE]
^(1)^ When no tag "notify_xxx" is present, the default level is "low". If a tag
"notify_xxx" is present, the real notify level can be different, for example
if a max hotlist level is used for a nick, the notify level can be lower than
the value in the tag.
// TRANSLATION MISSING // TRANSLATION MISSING
[[bars]] [[bars]]
=== Bars === Bars
@@ -4307,6 +4333,16 @@ using the command:
/trigger monitor /trigger monitor
---- ----
// TRANSLATION MISSING
All callbacks set following variables in hashtable:
// TRANSLATION MISSING
[width="100%",cols="3m,2,14",options="header"]
|===
| Variable | Type | Description
| tg_trigger_name | string | Name of trigger.
|===
[[trigger_data_signal]] [[trigger_data_signal]]
===== Signal ===== Signal
@@ -4477,8 +4513,9 @@ The "command" callback sets following variables in hashtable:
|=== |===
| Variable | Type | Description | Variable | Type | Description
| buffer | pointer | Buffer. | buffer | pointer | Buffer.
| tg_argvN | string | Argument #N. | tg_argc | string | The number of arguments (the command itself counts for one).
| tg_argv_eolN | string | From argument #N until end of arguments. | tg_argvN | string | Argument #N (`+tg_argv0+` is the command itself, the others are command arguments).
| tg_argv_eolN | string | From argument #N until end of arguments (`+tg_argv_eol0+` includes the command itself).
|=== |===
[[trigger_data_command_run]] [[trigger_data_command_run]]
+2 -2
View File
@@ -106,9 +106,9 @@
| weechat | locale | 翻訳メッセージに利用するロケール | - | weechat | locale | 翻訳メッセージに利用するロケール | -
| weechat | nick_color | ニックネームの色コードを取得 | ニックネーム | weechat | nick_color | ニックネームの色コードを取得 | nickname;colors (colors is an optional comma-separated list of colors to use; background is allowed for a color with format text:background; if colors is present, WeeChat options with nick colors and forced nick colors are ignored)
| weechat | nick_color_name | ニックネームの色名を取得 | ニックネーム | weechat | nick_color_name | ニックネームの色名を取得 | nickname;colors (colors is an optional comma-separated list of colors to use; background is allowed for a color with format text:background; if colors is present, WeeChat options with nick colors and forced nick colors are ignored)
| weechat | pid | WeeChat の PID (プロセス ID) | - | weechat | pid | WeeChat の PID (プロセス ID) | -
+134 -117
View File
@@ -17,71 +17,87 @@ target: サーバ名
* `+allchan+`: 全てのサーバ、全てのチャンネルに対してコマンドを実行 * `+allchan+`: 全てのサーバ、全てのチャンネルに対してコマンドを実行
---- ----
/allchan [-current] [-exclude=<channel>[,<channel>...]] <command> [<arguments>] /allchan [-current] [-exclude=<channel>[,<channel>...]] <command>
[-current] -include=<channel>[,<channel>...] <command> [<arguments>] [-current] -include=<channel>[,<channel>...] <command>
-current: 現在のサーバ上のチャンネルに対してコマンドを実行 -current: execute command for channels of current server only
-exclude: 一部のチャンネルを除く全てのチャンネルに対してコマンドを実行 (ワイルドカード "*" を使うことができます) -exclude: exclude some channels (wildcard "*" is allowed)
-include: 一部のチャンネルに対してコマンドを実行 (ワイルドカード "*" を使うことができます) -include: include only some channels (wildcard "*" is allowed)
command: 実行するコマンド command: command to execute (or text to send to buffer if command does not start with '/')
arguments: コマンドの引数 (特殊変数 $nick、$channel、$server はそれぞれの値に置き換えられます)
: Command and arguments are evaluated (see /help eval), the following variables are replaced:
全てのチャンネルに対して '/me is testing' を実行: $server server name
/allchan me is testing $channel channel name
チャンネル名が #weechat のチャンネルを除く全てのチャンネルに対して 'hello' と発言: $nick nick on server
/allchan -exclude=#weechat msg * hello ${irc_server.xxx} variable xxx in server
チャンネル名が #weechat と #linux で始まるチャンネルを除く全てのチャンネルに対して 'hello' と発言: ${irc_channel.xxx} variable xxx in channel
/allchan -exclude=#weechat,#linux* msg * hello
チャンネル名が #linux で始まるチャンネルに対して 'hello' と発言: Examples:
/allchan -include=#linux* msg * hello execute '/me is testing' on all channels:
/allchan /me is testing
say 'hello' everywhere but not on #weechat:
/allchan -exclude=#weechat hello
say 'hello' everywhere but not on #weechat and channels beginning with #linux:
/allchan -exclude=#weechat,#linux* hello
say 'hello' on all channels beginning with #linux:
/allchan -include=#linux* hello
---- ----
[[command_irc_allpv]] [[command_irc_allpv]]
* `+allpv+`: 全ての接続済みサーバの全てのプライベートバッファに対してコマンドを実行 * `+allpv+`: 全ての接続済みサーバの全てのプライベートバッファに対してコマンドを実行
---- ----
/allpv [-current] [-exclude=<nick>[,<nick>...]] <command> [<arguments>] /allpv [-current] [-exclude=<nick>[,<nick>...]] <command>
[-current] -include=<nick>[,<nick>...] <command> [<arguments>] [-current] -include=<nick>[,<nick>...] <command>
-current: 現在のサーバ上の全てのプライベートバッファに対してコマンドを実行 -current: execute command for private buffers of current server only
-exclude: 一部のニックネームを除外した全てのプライベートバッファに対してコマンドを実行 (ワイルドカード "*" を使うことができます) -exclude: exclude some nicks (wildcard "*" is allowed)
-include: 一部のニックネームのプライベートバッファに対してコマンドを実行 (ワイルドカード "*" を使うことができます) -include: include only some nicks (wildcard "*" is allowed)
command: 実行するコマンド command: command to execute (or text to send to buffer if command does not start with '/')
arguments: コマンドの引数 (特殊変数 $nick、$channel、$server はそれぞれの値に置き換えられます)
: Command and arguments are evaluated (see /help eval), the following variables are replaced:
全てのプライベートバッファに対して '/me is testing' を実行: $server server name
/allpv me is testing $channel channel name
ニックネーム foo を除く全てのプライベートバッファに対して 'hello' と発言: $nick nick on server
/allpv -exclude=foo msg * hello ${irc_server.xxx} variable xxx in server
ニックネームが foo と bar で始まるニックネームを除く全てのプライベートバッファに対して 'hello' と発言: ${irc_channel.xxx} variable xxx in channel
/allpv -exclude=foo,bar* msg * hello
ニックネームが bar で始まるニックネームのプライベートバッファに対して 'hello' と発言: Examples:
/allpv -include=bar* msg * hello execute '/me is testing' on all private buffers:
全てのプライベートバッファを閉じる: /allpv /me is testing
/allpv close say 'hello' everywhere but not for nick foo:
/allpv -exclude=foo hello
say 'hello' everywhere but not for nick foo and nicks beginning with bar:
/allpv -exclude=foo,bar* hello
say 'hello' for all nicks beginning with bar:
/allpv -include=bar* hello
close all private buffers:
/allpv /close
---- ----
[[command_irc_allserv]] [[command_irc_allserv]]
* `+allserv+`: 全ての接続済みサーバでコマンドを実行 * `+allserv+`: 全ての接続済みサーバでコマンドを実行
---- ----
/allserv [-exclude=<server>[,<server>...]] <command> [<arguments>] /allserv [-exclude=<server>[,<server>...]] <command>
-include=<server>[,<server>...] <command> [<arguments>] -include=<server>[,<server>...] <command>
-exclude: 一部のサーバを除く全てのサーバに対してコマンドを実行 (ワイルドカード "*" を使うことができます) -exclude: exclude some servers (wildcard "*" is allowed)
-include: 一部のサーバのみに対してコマンドを実行 (ワイルドカード "*" を使うことができます) -include: include only some servers (wildcard "*" is allowed)
command: 実行するコマンド command: command to execute (or text to send to buffer if command does not start with '/')
arguments: コマンドの引数 (特殊変数 $nick、$channel、$server はそれぞれの値に置き換えられます)
: Command and arguments are evaluated (see /help eval), the following variables are replaced:
全てのサーバに対してニックネーム変更: $server server name
/allserv nick newnick $nick nick on server
全てのサーバに対して離席状態を変更: ${irc_server.xxx} variable xxx in server
/allserv away I'm away
全てのサーバに対して自分のニックネームに関する whois を実行: Examples:
/allserv whois $nick change nick on all servers:
/allserv /nick newnick
set away on all servers:
/allserv /away I'm away
do a whois on my nick on all servers:
/allserv /whois $nick
---- ----
[[command_irc_ban]] [[command_irc_ban]]
@@ -988,31 +1004,31 @@ target: マスクに一致するものだけを返す
addcompletion <completion> <alias> [<command>[;<command>...]] addcompletion <completion> <alias> [<command>[;<command>...]]
del <alias> [<alias>...] del <alias> [<alias>...]
list: 別名をリストアップ (引数を与えなかった場合、このリストが表示されます) list: list aliases (without argument, this list is displayed)
add: 別名を追加 add: add an alias
addcompletion: カスタム補完を指定して別名を追加 addcompletion: add an alias with a custom completion
del: 別名を削除 del: delete an alias
completion: 別名の補完: デフォルトでは対象のコマンドに対する補完が行われます completion: completion for alias: by default completion is done with target command
注意: %%command で既存のコマンドに対する補完を利用可能です note: you can use %%command to use completion of an existing command
alias: 別名の名前 alias: name of alias
command: 引数を含めたコマンド名 (セミコロンで分割すれば複数のコマンドを指定できます) command: command name with arguments (many commands can be separated by semicolons)
注意: command の中に含まれる特殊変数は置換されます: Note: in command, special variables are replaced:
$n: 'n' 番目の引数 (1 から 9) $n: argument 'n' (between 1 and 9)
$-m: 1 から 'm' 番目の引数 $-m: arguments from 1 to 'm'
$n-: 'n' 番目から最後の引数 $n-: arguments from 'n' to last
$n-m: 'n' から 'm' 番目の引数 $n-m: arguments from 'n' to 'm'
$*: 全ての引数 $*: all arguments
$~: 最後の引数 $~: last argument
$var: ここで "var" とはバッファの局所変数 (/buffer localvar を参照してください) $var: where "var" is a local variable of buffer (see /buffer localvar)
: $nick$channel$server$plugin$name examples: $nick, $channel, $server, $plugin, $name
: Examples:
/split をウィンドウを水平方向に分割する別名と定義: alias /split to split window horizontally:
/alias add split /window splith /alias add split /window splith
/hello を #weechat を除く全てのチャンネルで "hello" と発言する別名と定義: alias /hello to say "hello" on all channels but not on #weechat:
/alias add hello /allchan -exclude=#weechat msg * hello /alias add hello /allchan -exclude=#weechat hello
/forcejoin を /sajoin の補完候補を使い IRC コマンド "forcejoin" を送信する別名と定義: alias /forcejoin to send IRC command "forcejoin" with completion of /sajoin:
/alias addcompletion %%sajoin forcejoin /quote forcejoin /alias addcompletion %%sajoin forcejoin /quote forcejoin
---- ----
// end::alias_commands[] // end::alias_commands[]
@@ -2159,7 +2175,7 @@ charset: 現在のバッファの新しい文字セット
---- ----
/exec -list /exec -list
[-sh|-nosh] [-bg|-nobg] [-stdin|-nostdin] [-buffer <name>] [-l|-o|-n|-nf] [-cl|-nocl] [-sw|-nosw] [-ln|-noln] [-flush|-noflush] [-color ansi|auto|irc|weechat|strip] [-rc|-norc] [-timeout <timeout>] [-name <name>] [-pipe <command>] [-hsignal <name>] <command> [-sh|-nosh] [-bg|-nobg] [-stdin|-nostdin] [-buffer <name>] [-l|-o|-oc|-n|-nf] [-oerr] [-cl|-nocl] [-sw|-nosw] [-ln|-noln] [-flush|-noflush] [-color ansi|auto|irc|weechat|strip] [-rc|-norc] [-timeout <timeout>] [-name <name>] [-pipe <command>] [-hsignal <name>] <command>
-in <id> <text> -in <id> <text>
-inclose <id> [<text>] -inclose <id> [<text>]
-signal <id> <signal> -signal <id> <signal>
@@ -2168,55 +2184,56 @@ charset: 現在のバッファの新しい文字セット
-set <id> <property> <value> -set <id> <property> <value>
-del <id>|-all [<id>...] -del <id>|-all [<id>...]
-list: コマンドをリストアップ -list: list commands
-sh: コマンドを実行する際にシェルを使う、複数のコマンドをパイプすることも可能 (警告: このオプションを使えるのは、全ての引数が安全な場合だけです、オプション -nosh を参照してください) -sh: use the shell to execute the command, many commands can be piped (WARNING: use this option ONLY if all arguments are safe, see option -nosh)
-nosh: コマンドを実行する際にシェルを使わない (コマンドに安全でないデータが含まれる場合に必要、例えば他のユーザからのメッセージの内容) (デフォルト) -nosh: do not use the shell to execute the command (required if the command has some unsafe data, for example the content of a message from another user) (default)
-bg: プロセスをバックグラウンド実行: プロセスの出力およびリターンコードを表示しない (オプション -o/-oc/-n/-nf/-pipe/-hsignal と同時に利用できません) -bg: run process in background: do not display process output neither return code (not compatible with options -o/-oc/-n/-nf/-pipe/-hsignal)
-nobg: プロセスの出力を受け取り、リターンコードを表示する (デフォルト) -nobg: catch process output and display return code (default)
-stdin: プロセスにデータを送信するパイプを作成する (/exec -in/-inclose を使う) -stdin: create a pipe for sending data to the process (with /exec -in/-inclose)
-nostdin: 標準入力用にパイプを作成しない (デフォルト) -nostdin: do not create a pipe for stdin (default)
-buffer: コマンドの出力をこのバッファに表示 / 送信する (バッファが見つからない場合、新しいバッファ "exec.exec.xxx" が作られます) -buffer: display/send output of command on this buffer (if the buffer is not found, a new buffer with name "exec.exec.xxx" is created)
-l: コマンドの出力をカレントバッファに表示 (デフォルト) -l: display locally output of command on buffer (default)
-o: コマンドの出力をカレントバッファに送信、カレントバッファは受信した内容をコマンドとして実行しません (オプション -bg/-pipe/-hsignal と同時に利用できません) -o: send output of command to the buffer without executing commands (not compatible with options -bg/-pipe/-hsignal)
-oc: コマンドの出力をカレントバッファに送信、カレントバッファは受信した内容 (先頭に "/" もしくはそれ以外のコマンド開始文字を含む行) をコマンドとして実行します (オプション -bg/-pipe/-hsignal と同時に利用できません) -oc: send output of command to the buffer and execute commands (lines starting with "/" or another custom command char) (not compatible with options -bg/-pipe/-hsignal)
-n: コマンドの出力を新しいバッファに表示 (オプション -bg/-pipe/-hsignal と同時に利用できません) -n: display output of command in a new buffer (not compatible with options -bg/-pipe/-hsignal)
-nf: コマンドの出力を自由内容 (禁則処理なし、行数制限なし) の新しいバッファに表示 (オプション -bg/-pipe/-hsignal と同時に利用できません) -nf: display output of command in a new buffer with free content (no word-wrap, no limit on number of lines) (not compatible with options -bg/-pipe/-hsignal)
-cl: 出力を表示する前に新しいバッファをクリア -oerr: also send stderr (error output) to the buffer (can be used only with options -o and -oc)
-nocl: 新しいバッファをクリアせずに追加 (デフォルト) -cl: clear the new buffer before displaying output
-sw: 出力バッファに移動 (デフォルト) -nocl: append to the new buffer without clear (default)
-nosw: 出力バッファに移動しない -sw: switch to the output buffer (default)
-ln: 行数を表示 (新しいバッファに表示する場合はデフォルト) -nosw: don't switch to the output buffer
-noln: 行数を表示しない -ln: display line numbers (default in new buffer only)
-flush: コマンドの出力をすぐに表示 (デフォルト) -noln: don't display line numbers
-noflush: コマンドの出力をコマンドの終了後に表示 -flush: display output of command in real time (default)
-color: 出力に含まれる ANSI 色に対する挙動: -noflush: display output of command after its end
ansi: ANSI 色をそのままにする -color: action on ANSI colors in output:
auto: ANSI 色を WeeChat/IRC 色に変換 (デフォルト) ansi: keep ANSI codes as-is
irc: ANSI 色を IRC 色に変換 auto: convert ANSI colors to WeeChat/IRC (default)
weechat: ANSI 色を WeeChat 色に変換 irc: convert ANSI colors to IRC colors
strip: ANSI 色を削除 weechat: convert ANSI colors to WeeChat colors
-rc: リターンコードを表示 (デフォルト) strip: remove ANSI colors
-norc: リターンコードを表示しない -rc: display return code (default)
-timeout: コマンドのタイムアウトを設定 (秒単位) -norc: don't display return code
-name: コマンドの名前を設定 (後から名前を付けるには /exec を使う) -timeout: set a timeout for the command (in seconds)
-pipe: WeeChat およびプラグインコマンドに出力を送信 (1 行ごと); コマンドおよび引数に空白が含まれる場合、2 重引用符で囲ってください; 引数 $line はその行で置換されます (デフォルトではコマンドの後ろに空白を付けてから行を追加します) (オプション -bg/-o/-oc/-n/-nf と同時に利用できません) -name: set a name for the command (to name it later with /exec)
-hsignal: hsignal として出力を送信 (例えばトリガで使われます) (オプション -bg/-o/-oc/-n/-nf と同時に利用できません) -pipe: send the output to a WeeChat/plugin command (line by line); if there are spaces in command/arguments, enclose them with double quotes; variable $line is replaced by the line (by default the line is added after the command, separated by a space) (not compatible with options -bg/-o/-oc/-n/-nf)
command: 実行するコマンド; "url:" で始まる場合、シェルは無効化され、URL の内容がダウンロードされ、出力として送信されます -hsignal: send the output as a hsignal (to be used for example in a trigger) (not compatible with options -bg/-o/-oc/-n/-nf)
id: コマンド識別子: 番号か名前 ("-name xxx" で設定した場合) のどちらか一方 command: the command to execute; if beginning with "url:", the shell is disabled and the content of URL is downloaded and sent as output
-in: プロセスの標準入力にテキストを送信 id: command identifier: either its number or name (if set with "-name xxx")
-inclose: -in と同じ、ただし使用後に標準入力を閉じる (テキストは任意: テキストが無い場合、標準入力をすぐに閉じる) -in: send text on standard input of process
-signal: プロセスにシグナルを送信; シグナルは整数値または次の名前の 1 つ: hup、int、quit、kill、term、usr1、usr2 -inclose: same as -in, but stdin is closed after (and text is optional: without text, the stdin is just closed)
-kill: "-signal <id> kill" のエイリアス -signal: send a signal to the process; the signal can be an integer or one of these names: hup, int, quit, kill, term, usr1, usr2
-killall: 全ての実行中プロセスを kill する -kill: alias of "-signal <id> kill"
-set: フックプロパティを設定 (プラグイン API リファレンスの hook_set 関数を参照してください) -killall: kill all running processes
property: フックプロパティ -set: set a hook property (see function hook_set in plugin API reference)
value: フックプロパティの新しい値 property: hook property
-del: 中断されたコマンドを削除 value: new value for hook property
-all: 全ての中断されたコマンドを削除 -del: delete a terminated command
-all: delete all terminated commands
オプション exec.command.default_options でデフォルトオプションの設定が可能です。 Default options can be set in the option exec.command.default_options.
: Examples:
/exec -n ls -l /tmp /exec -n ls -l /tmp
/exec -sh -n ps xu | grep weechat /exec -sh -n ps xu | grep weechat
/exec -n -norc url:https://pastebin.com/raw.php?i=xxxxxxxx /exec -n -norc url:https://pastebin.com/raw.php?i=xxxxxxxx
@@ -3320,6 +3320,12 @@
** 値: -1 .. 525600 ** 値: -1 .. 525600
** デフォルト値: `+1440+` ** デフォルト値: `+1440+`
* [[option_script.scripts.download_enabled]] *script.scripts.download_enabled*
** 説明: pass:none[enable download of files from the scripts repository when the /script command is used (list of scripts and scripts themselves); the list of scripts is downloaded from the URL specified in the option script.scripts.url; WeeChat will sometimes download again the list of scripts when you use the /script command, even if you don't install a script]
** タイプ: ブール
** 値: on, off
** デフォルト値: `+off+`
* [[option_script.scripts.download_timeout]] *script.scripts.download_timeout* * [[option_script.scripts.download_timeout]] *script.scripts.download_timeout*
** 説明: pass:none[スクリプトのダウンロードとスクリプトのリストに対するタイムアウト時間 (秒単位)] ** 説明: pass:none[スクリプトのダウンロードとスクリプトのリストに対するタイムアウト時間 (秒単位)]
** タイプ: 整数 ** タイプ: 整数
@@ -3748,6 +3754,12 @@
** 値: 未制約文字列 ** 値: 未制約文字列
** デフォルト値: `+"${marked} ${name} ${type} ${value2}${newline} ${empty_name} ${_default_value}${color:darkgray} -- ${min}..${max}${newline} ${empty_name} ${description}"+` ** デフォルト値: `+"${marked} ${name} ${type} ${value2}${newline} ${empty_name} ${_default_value}${color:darkgray} -- ${min}..${max}${newline} ${empty_name} ${description}"+`
* [[option_fset.look.auto_refresh]] *fset.look.auto_refresh*
** 説明: pass:none[comma separated list of options to automatically refresh on the fset buffer (if opened); "*" means all options (recommended), a name beginning with "!" is a negative value to prevent an option to be refreshed, wildcard "*" is allowed in names (example: "*,!plugin.section.*")]
** タイプ: 文字列
** 値: 未制約文字列
** デフォルト値: `+"*"+`
* [[option_fset.look.auto_unmark]] *fset.look.auto_unmark* * [[option_fset.look.auto_unmark]] *fset.look.auto_unmark*
** 説明: pass:none[マーク済みオプションに対する操作の後または再読込の後に自動的にすべてのオプションをアンマーク] ** 説明: pass:none[マーク済みオプションに対する操作の後または再読込の後に自動的にすべてのオプションをアンマーク]
** タイプ: ブール ** タイプ: ブール
+2
View File
@@ -439,6 +439,8 @@ WeeChat "core" は以下のディレクトリに配置されています:
|             test-irc-nick.cpp | Tests: IRC nicks. |             test-irc-nick.cpp | Tests: IRC nicks.
|             test-irc-protocol.cpp | テスト: IRC プロトコル |             test-irc-protocol.cpp | テスト: IRC プロトコル
// TRANSLATION MISSING // TRANSLATION MISSING
|             test-irc-server.cpp | Tests: IRC server.
// TRANSLATION MISSING
|          relay/ | Root of unit tests for Relay plugin. |          relay/ | Root of unit tests for Relay plugin.
// TRANSLATION MISSING // TRANSLATION MISSING
|             test-relay-auth.cpp | Tests: clients authentication. |             test-relay-auth.cpp | Tests: clients authentication.
+63 -7
View File
@@ -1900,6 +1900,57 @@ str = weechat.string_format_size(size)
str = weechat.string_format_size(15200) # == "15.2 KB" str = weechat.string_format_size(15200) # == "15.2 KB"
---- ----
==== string_color_code_size
_WeeChat ≥ 3.0._
// TRANSLATION MISSING
Return the size (in bytes) of the WeeChat color code at the beginning of
the string.
プロトタイプ:
[source,C]
----
int weechat_string_color_code_size (const char *string);
----
引数:
* _string_: 文字列
戻り値:
// TRANSLATION MISSING
* size (in bytes) of the WeeChat color code at the beginning of the string;
if the string is NULL, empty or does not start with a color code, 0 is returned;
if the string begins with multiple color codes, only the size of the first one
is returned
C 言語での使用例:
[source,C]
----
int size;
size = weechat_string_color_code_size ("test"); /* size == 0 */
size = weechat_string_color_code_size (weechat_color ("bold")); /* size == 2 */
size = weechat_string_color_code_size (weechat_color ("yellow,red")); /* size == 7 */
----
スクリプト (Python) での使用例:
[source,python]
----
# プロトタイプ
size = weechat.string_color_code_size(string)
# 例
size = weechat.string_color_code_size("test") # size == 0
size = weechat.string_color_code_size(weechat.color("bold")) # size == 2
size = weechat.string_color_code_size(weechat.color("yellow,red")) # size == 7
----
==== string_remove_color ==== string_remove_color
文字列から WeeChat 色コードを削除。 文字列から WeeChat 色コードを削除。
@@ -2797,7 +2848,8 @@ else
==== string_dyn_concat ==== string_dyn_concat
_WeeChat バージョン 1.8 以上で利用可_ // TRANSLATION MISSING
_WeeChat バージョン 1.8 以上で利用可, updated in 3.0_
動的文字列に文字列を連結します。 動的文字列に文字列を連結します。
@@ -2808,13 +2860,17 @@ _WeeChat バージョン 1.8 以上で利用可_
[source,C] [source,C]
---- ----
int weechat_string_dyn_concat (char **string, const char *add); int weechat_string_dyn_concat (char **string, const char *add, int bytes);
---- ----
引数: 引数:
* _string_: 動的文字列へのポインタ * _string_: 動的文字列へのポインタ
* _add_: 連結する文字列 * _add_: 連結する文字列
// TRANSLATION MISSING
* _bytes_: max number of bytes in _add_ to concatenate, must be lower or equal
to length of _add_ (-1 = automatic: concatenate whole string _add_)
_(WeeChat ≥ 3.0)_
戻り値: 戻り値:
@@ -2827,7 +2883,7 @@ C 言語での使用例:
char **string = weechat_string_dyn_alloc (256); char **string = weechat_string_dyn_alloc (256);
if (weechat_string_dyn_copy (string, "test")) if (weechat_string_dyn_copy (string, "test"))
{ {
if (weechat_string_dyn_concat (string, "abc")) if (weechat_string_dyn_concat (string, "abc", -1))
{ {
/* ... */ /* ... */
} }
@@ -12109,8 +12165,7 @@ info を使う前にエリアが一致していることを確認して下さい
| _chat | チャットエリアインジケータ | | _chat | チャットエリアインジケータ |
"0" または "1" | "0" "0" または "1" | "0"
| _chat_line | 行へのポインタ + | _chat_line | 行へのポインタ _(WeeChat バージョン 1.2 以上で利用可)_ |
_(WeeChat バージョン 1.2 以上で利用可)_ |
"0x1234abcd" | "" "0x1234abcd" | ""
| _chat_line_x | 行中の列番号 ^(3)^ | | _chat_line_x | 行中の列番号 ^(3)^ |
@@ -12167,8 +12222,7 @@ info を使う前にエリアが一致していることを確認して下さい
"0" ... "n" | "-1" "0" ... "n" | "-1"
// TRANSLATION MISSING // TRANSLATION MISSING
| _bar_window | Pointer to bar window + | _bar_window | Pointer to bar window _(WeeChat ≥ 2.9)_. |
_(WeeChat ≥ 2.9)_. |
"0x1234abcd" | "" "0x1234abcd" | ""
|=== |===
@@ -12189,6 +12243,8 @@ info を使う前にエリアが一致していることを確認して下さい
| nick | core | ニックネーム | nick | core | ニックネーム
| prefix | core | ニックネームのプレフィックス | prefix | core | ニックネームのプレフィックス
| group | core | グループ名 | group | core | グループ名
// TRANSLATION MISSING
| irc_nick | irc | Pointer to IRC nick _(WeeChat ≥ 3.0)_.
| irc_host | irc | ニックネームのホスト名 (判る場合) | irc_host | irc | ニックネームのホスト名 (判る場合)
|=== |===
+1
View File
@@ -567,6 +567,7 @@ link:weechat_plugin_api.ja.html[WeeChat プラグイン API リファレンス]
string_has_highlight_regex + string_has_highlight_regex +
string_mask_to_regex + string_mask_to_regex +
string_format_size + string_format_size +
string_color_code_size +
string_remove_color + string_remove_color +
string_is_command_char + string_is_command_char +
string_input_for_buffer + string_input_for_buffer +
+53 -13
View File
@@ -383,12 +383,16 @@ $ git clone https://github.com/weechat/weechat.git
WeeChat がクラッシュした場合、または WeeChat WeeChat がクラッシュした場合、または WeeChat
をクラッシュさせる操作を報告する場合、以下の手順に従ってください: をクラッシュさせる操作を報告する場合、以下の手順に従ってください:
* デバッグを有効化してコンパイル (またはデバック情報を含んだバイナリパッケージをインストール) // TRANSLATION MISSING
* Compile with:
** debug info (or install binary package with debug info),
** address sanitizer (optional).
* システムの _core_ ファイルを有効化 * システムの _core_ ファイルを有効化
* gdb のインストール * gdb のインストール
[[debug_info]] // TRANSLATION MISSING
==== デバッグ情報 [[build_debug]]
==== Build with debug options
CMake でコンパイルする場合: CMake でコンパイルする場合:
@@ -396,7 +400,18 @@ CMake でコンパイルする場合:
$ cmake .. -DCMAKE_BUILD_TYPE=Debug $ cmake .. -DCMAKE_BUILD_TYPE=Debug
---- ----
autotools でコンパイルする場合は、デバックはデフォルトで有効化されています (`--with-debug=1`)。 // TRANSLATION MISSING
You can additionally enable the address sanitizer, which causes WeeChat to
crash immediately in case of problem:
----
$ cmake .. -DCMAKE_BUILD_TYPE=Debug -DCMAKE_C_FLAGS=-fsanitize=address -DCMAKE_CXX_FLAGS=-fsanitize=address -DCMAKE_EXE_LINKER_FLAGS=-fsanitize=address
----
// TRANSLATION MISSING
[WARNING]
You should enable address sanitizer only if you're trying to cause a crash,
this is not recommended in production.
バイナリパッケージをインストールする場合は、_weechat-dbg_ パッケージをインストールしてください。 バイナリパッケージをインストールする場合は、_weechat-dbg_ パッケージをインストールしてください。
@@ -645,7 +660,7 @@ WeeChat を起動した端末の例:
│ │ │ │ │ │ │ │
│ │ │ │ │ │ │ │
│ │ │ │ │ │ │ │
│ │[12:55] [5] [irc/freenode] 2:#test(+n){4}* [Act: 3:#abc(2,5), 5] │ │ │[12:55] [5] [irc/freenode] 2:#test(+n){4}* [H: 3:#abc(2,5), 5]
│ │[@Flashy(i)] hi peter!█ │ │ │[@Flashy(i)] hi peter!█ │
└──────────────────────────────────────────────────────────────────────────────────────┘ └──────────────────────────────────────────────────────────────────────────────────────┘
▲ "status" と "input" バー "nicklist" バー ▲ ▲ "status" と "input" バー "nicklist" バー ▲
@@ -697,7 +712,7 @@ WeeChat を起動した端末の例:
| buffer_filter | `+*+` | フィルタ表示: `+*+` の場合いくつかの行がフィルタされ (隠され) ます、空の場合すべての行が表示されます。 | buffer_filter | `+*+` | フィルタ表示: `+*+` の場合いくつかの行がフィルタされ (隠され) ます、空の場合すべての行が表示されます。
| scroll | `-MORE(50)-` | スクロール表示、最後の行が表示されてから追加された行数を含む。 | scroll | `-MORE(50)-` | スクロール表示、最後の行が表示されてから追加された行数を含む。
| lag | `[Lag: 2.5]` | 遅延秒表示 (遅延が短い場合は非表示) | lag | `[Lag: 2.5]` | 遅延秒表示 (遅延が短い場合は非表示)
| hotlist | `[Act: 3:#abc(2,5), 5]` | 変化のあったバッファのリスト (未読メッセージ) (例では、_#abc_ に 2 個のハイライトと 5 個の未読メッセージ、5 番目のバッファに 1 個の未読メッセージがあることを意味します。) | hotlist | `[H: 3:#abc(2,5), 5]` | 変化のあったバッファのリスト (未読メッセージ) (例では、_#abc_ に 2 個のハイライトと 5 個の未読メッセージ、5 番目のバッファに 1 個の未読メッセージがあることを意味します。)
| completion | `abc(2) def(5)` | 補完候補の単語リスト、各単語に対して適応される補完候補の数を含む。 | completion | `abc(2) def(5)` | 補完候補の単語リスト、各単語に対して適応される補完候補の数を含む。
|=== |===
@@ -1123,11 +1138,15 @@ WeeChat は様々な目的で各行にタグを付けます:
| no_filter | フィルタできない行 | no_filter | フィルタできない行
| no_highlight | ハイライトできない行 | no_highlight | ハイライトできない行
| no_log | ログファイルに書き込まれない行 | no_log | ログファイルに書き込まれない行
| log0 ... log9 | 行に対するログレベル (`/help logger` を参照) | log0 log9 | 行に対するログレベル (`/help logger` を参照)
| notify_none | この行を含むバッファはホットリストに追加されません // TRANSLATION MISSING
| notify_message | この行を含むバッファは "message" レベルでホットリストに追加されます | notify_none | The line must not be added to hotlist. ^(1)^
| notify_private | この行を含むバッファは "private" レベルでホットリストに追加されます // TRANSLATION MISSING
| notify_highlight | この行を含むバッファは "highlight" レベルでホットリストに追加されます | notify_message | The line is a user message. ^(1)^
// TRANSLATION MISSING
| notify_private | The line is a private message. ^(1)^
// TRANSLATION MISSING
| notify_highlight | The line is a message with highlight. ^(1)^
| self_msg | 自分のメッセージ | self_msg | 自分のメッセージ
| nick_xxx | ニックネーム "xxx" からのメッセージ | nick_xxx | ニックネーム "xxx" からのメッセージ
| prefix_nick_ccc | プレフィックスを色 "ccc" のニックネームにします | prefix_nick_ccc | プレフィックスを色 "ccc" のニックネームにします
@@ -1142,6 +1161,13 @@ WeeChat は様々な目的で各行にタグを付けます:
| away_info | 離席状態のメッセージ | away_info | 離席状態のメッセージ
|=== |===
// TRANSLATION MISSING
[NOTE]
^(1)^ When no tag "notify_xxx" is present, the default level is "low". If a tag
"notify_xxx" is present, the real notify level can be different, for example
if a max hotlist level is used for a nick, the notify level can be lower than
the value in the tag.
[[bars]] [[bars]]
=== バー === バー
@@ -4042,6 +4068,16 @@ WeeChat によって使われる値に影響を及ぼします
/trigger monitor /trigger monitor
---- ----
// TRANSLATION MISSING
All callbacks set following variables in hashtable:
[width="100%",cols="3m,2,14",options="header"]
|===
| 変数 | 型 | 説明
// TRANSLATION MISSING
| tg_trigger_name | string | Name of trigger.
|===
[[trigger_data_signal]] [[trigger_data_signal]]
===== Signal ===== Signal
@@ -4212,8 +4248,12 @@ _weechat_print_ 修飾子では、メッセージタグを使う変数 (下の
|=== |===
| 変数 | 型 | 説明 | 変数 | 型 | 説明
| buffer | pointer | バッファ | buffer | pointer | バッファ
| tg_argvN | string | N 番目の引数 // TRANSLATION MISSING
| tg_argv_eolN | string | N 番目の引数から最後の引数まで | tg_argc | string | The number of arguments (the command itself counts for one).
// TRANSLATION MISSING
| tg_argvN | string | N 番目の引数 (`+tg_argv0+` is the command itself, the others are command arguments).
// TRANSLATION MISSING
| tg_argv_eolN | string | N 番目の引数から最後の引数まで (`+tg_argv_eol0+` includes the command itself).
|=== |===
[[trigger_data_command_run]] [[trigger_data_command_run]]
+2 -2
View File
@@ -106,9 +106,9 @@
| weechat | locale | zestaw znaków użyty do tłumaczenia wiadomości | - | weechat | locale | zestaw znaków użyty do tłumaczenia wiadomości | -
| weechat | nick_color | pobiera kod koloru nicka | nazwa użytkownika | weechat | nick_color | pobiera kod koloru nicka | nickname;colors (colors is an optional comma-separated list of colors to use; background is allowed for a color with format text:background; if colors is present, WeeChat options with nick colors and forced nick colors are ignored)
| weechat | nick_color_name | pobiera nazwę koloru nicka | nazwa użytkownika | weechat | nick_color_name | pobiera nazwę koloru nicka | nickname;colors (colors is an optional comma-separated list of colors to use; background is allowed for a color with format text:background; if colors is present, WeeChat options with nick colors and forced nick colors are ignored)
| weechat | pid | WeeChat PID (ID procesu) | - | weechat | pid | WeeChat PID (ID procesu) | -
+141 -124
View File
@@ -17,71 +17,87 @@ cel: nazwa serwera
* `+allchan+`: wykonuje komendę na wszystkich kanałach na połączonych serwerach * `+allchan+`: wykonuje komendę na wszystkich kanałach na połączonych serwerach
---- ----
/allchan [-current] [-exclude=<kanał>[,<kanał>...]] <komenda> [<argumenty>] /allchan [-current] [-exclude=<channel>[,<channel>...]] <command>
[-current] -include=<kanał>[,<kanał>...] <komenda> [<argumenty>] [-current] -include=<channel>[,<channel>...] <command>
-current: wykonuje komendę tylko na kanałach obecnego serwera -current: execute command for channels of current server only
-exclude: wyklucza niektóre kanały (wildcard "*" jest dozwolony) -exclude: exclude some channels (wildcard "*" is allowed)
-include: uwzględnia tylko niektóre znaki (wildcard "*" est dozwolony) -include: include only some channels (wildcard "*" is allowed)
komenda: komenda do wykonania command: command to execute (or text to send to buffer if command does not start with '/')
argumenty: argumenty dla komendy (specjalne zmienne $nick, $channel i $server są zamieniane na odpowiednie wartości)
Przykłady: Command and arguments are evaluated (see /help eval), the following variables are replaced:
wykonuje '/me testuje' na wszystkich kanałach: $server server name
/allchan me testuje $channel channel name
wysyła 'witam' wszędzie tylko nie na #weechat: $nick nick on server
/allchan -exclude=#weechat msg * witam ${irc_server.xxx} variable xxx in server
wysyła 'witam' wszędzie poza #weechat oraz kanałami zaczynającymi się od #linux: ${irc_channel.xxx} variable xxx in channel
/allchan -exclude=#weechat,#linux* msg * witam
wysyła 'witam' na wszytkich kanałach zaczynających się od #linux: Examples:
/allchan -include=#linux* msg * witam execute '/me is testing' on all channels:
/allchan /me is testing
say 'hello' everywhere but not on #weechat:
/allchan -exclude=#weechat hello
say 'hello' everywhere but not on #weechat and channels beginning with #linux:
/allchan -exclude=#weechat,#linux* hello
say 'hello' on all channels beginning with #linux:
/allchan -include=#linux* hello
---- ----
[[command_irc_allpv]] [[command_irc_allpv]]
* `+allpv+`: wykonuje komendę na wszystkich prywatnych buforach wszystkich połączonych serwerów * `+allpv+`: wykonuje komendę na wszystkich prywatnych buforach wszystkich połączonych serwerów
---- ----
/allpv [-current] [-exclude=<nick>[,<nick>...]] <komenda> [<argumenty>] /allpv [-current] [-exclude=<nick>[,<nick>...]] <command>
[-current] -include=<nick>[,<nick>...] <komenda> [<argumenty>] [-current] -include=<nick>[,<nick>...] <command>
-current: wykonuje komendę tylko na prywatnych buforach obecnego serwera -current: execute command for private buffers of current server only
-exclude: wyklucza niektóre nicki (wildcard "*" jest dozwolony) -exclude: exclude some nicks (wildcard "*" is allowed)
-include: uwzględnia tylko niektóre znaki (wildcard "*" est dozwolony) -include: include only some nicks (wildcard "*" is allowed)
komenda: komenda do wykonania command: command to execute (or text to send to buffer if command does not start with '/')
argumenty: argumenty dla komendy (specjalne zmienne $nick, $channel i $server są zamieniane na odpowiednie wartości)
Przykłady: Command and arguments are evaluated (see /help eval), the following variables are replaced:
wykonuje '/me testuje' we wszystkich prywatnych buforach: $server server name
/allpv me is testing $channel channel name
wysyła wszędzie 'hello' tylko nie nickowi foo: $nick nick on server
/allpv -exclude=foo msg * hello ${irc_server.xxx} variable xxx in server
wysyła wszędzie 'hello' tylko nie nickowi foo i nickom zaczynającym się od bar: ${irc_channel.xxx} variable xxx in channel
/allpv -exclude=foo,bar* msg * hello
wysyła 'witam' do wszystkich nicków zaczynających się od bar: Examples:
/allpv -include=bar* msg * witam execute '/me is testing' on all private buffers:
zamyka wszystkie prywatne bufory: /allpv /me is testing
/allpv close say 'hello' everywhere but not for nick foo:
/allpv -exclude=foo hello
say 'hello' everywhere but not for nick foo and nicks beginning with bar:
/allpv -exclude=foo,bar* hello
say 'hello' for all nicks beginning with bar:
/allpv -include=bar* hello
close all private buffers:
/allpv /close
---- ----
[[command_irc_allserv]] [[command_irc_allserv]]
* `+allserv+`: wykonuje komendę na wszystkich połączonych serwerach * `+allserv+`: wykonuje komendę na wszystkich połączonych serwerach
---- ----
/allserv [-exclude=<serwer>[,<serwer>...]] <komenda> [<argumenty>] /allserv [-exclude=<server>[,<server>...]] <command>
-include=<serwer>[,<serwer>...] <komenda> [<argumenty>] -include=<server>[,<server>...] <command>
-exclude: wyklucza niektóre serwery (wildcard "*" jest dozwolony) -exclude: exclude some servers (wildcard "*" is allowed)
-include: uwzględnia tylko niektóre znaki (wildcard "*" est dozwolony) -include: include only some servers (wildcard "*" is allowed)
komenda: komenda do wykonania command: command to execute (or text to send to buffer if command does not start with '/')
argumenty: argumenty dla komendy (specjalne zmienne $nick, $channel i $server są zamieniane na odpowiednie wartości)
Przykłady: Command and arguments are evaluated (see /help eval), the following variables are replaced:
zmienia nick na wszystkich serwerach: $server server name
/allserv nick nowy_nick $nick nick on server
ustawia stan nieobecności na wszystkich serwerach: ${irc_server.xxx} variable xxx in server
/allserv away Jestem nieobecny
wykonuje whois na własnym nicku na wszystkich serwerach: Examples:
/allserv whois $nick change nick on all servers:
/allserv /nick newnick
set away on all servers:
/allserv /away I'm away
do a whois on my nick on all servers:
/allserv /whois $nick
---- ----
[[command_irc_ban]] [[command_irc_ban]]
@@ -987,32 +1003,32 @@ cel: odpowiedź powinna pasować do maski
addcompletion <dopełnienie> <alias> [<komenda>[;<komenda>...]] addcompletion <dopełnienie> <alias> [<komenda>[;<komenda>...]]
del <alias> [<alias>...] del <alias> [<alias>...]
list: lista aliasów (ta lista wyświetlana jest jeśli nie zostanie podany argument) list: list aliases (without argument, this list is displayed)
add: dodaje alias add: add an alias
addcompletion: dodaje alias z niestandardowym dopełnieniem addcompletion: add an alias with a custom completion
del: usuwa alias del: delete an alias
completion: dopełnienie dla aliasu: domyślnie dopełnienie wykonuje się z docelową komendą completion: completion for alias: by default completion is done with target command
uwaga: można użyć %%komenda w celu użycia dopełnień dla istniejących komend note: you can use %%command to use completion of an existing command
alias: nazwa aliasu alias: name of alias
komenda: nazwa komendy (wiele komend można oddzielić za pomocą średnika) command: command name with arguments (many commands can be separated by semicolons)
Ważne: dla komend specjalne zmienne są zastępowane odpowiednimi wartościami: Note: in command, special variables are replaced:
$n: argument 'n' (pomiędzy 1 i 9) $n: argument 'n' (between 1 and 9)
$-m: argumenty od 1 do 'm' $-m: arguments from 1 to 'm'
$n-: argumenty od 'n' do ostatniego $n-: arguments from 'n' to last
$n-m: argumenty od 'n' od 'm' $n-m: arguments from 'n' to 'm'
$*: wszystkie argumenty $*: all arguments
$~: ostatni argument $~: last argument
$var: gdzie "var" to zmienna lokalna buforu (zobacz /buffer localvar) $var: where "var" is a local variable of buffer (see /buffer localvar)
przykłady: $nick, $channel, $server, $plugin, $name examples: $nick, $channel, $server, $plugin, $name
Przykłady: Examples:
alias /split do poziomego podziału okna: alias /split to split window horizontally:
/alias split /window splith /alias add split /window splith
alias /hello pisze "hello" na wszystkich kanałach poza #weechat: alias /hello to say "hello" on all channels but not on #weechat:
/alias hello /allchan -exclude=#weechat msg * hello /alias add hello /allchan -exclude=#weechat hello
alias /forcejoin wysyłający komende IRC "forcejoin" z dopełnieniem dla /sajoin: alias /forcejoin to send IRC command "forcejoin" with completion of /sajoin:
/alias -completion %%sajoin forcejoin /quote forcejoin /alias addcompletion %%sajoin forcejoin /quote forcejoin
---- ----
// end::alias_commands[] // end::alias_commands[]
@@ -2158,67 +2174,68 @@ kodowanie: nowe kodowanie dla obecnego bufora
---- ----
/exec -list /exec -list
[-sh|-nosh] [-bg|-nobg] [-stdin|-nostdin] [-buffer <nazwa>] [-l|-o|-n|-nf] [-cl|-nocl] [-sw|-nosw] [-ln|-noln] [-flush|-noflush] [-color ansi|auto|irc|weechat|strip] [-rc|-norc] [-timeout <czas>] [-name <nazwa>] [-pipe <komenda>] [-hsignal <nazwa>] <komenda> [-sh|-nosh] [-bg|-nobg] [-stdin|-nostdin] [-buffer <name>] [-l|-o|-oc|-n|-nf] [-oerr] [-cl|-nocl] [-sw|-nosw] [-ln|-noln] [-flush|-noflush] [-color ansi|auto|irc|weechat|strip] [-rc|-norc] [-timeout <timeout>] [-name <name>] [-pipe <command>] [-hsignal <name>] <command>
-in <id> <tekst> -in <id> <text>
-inclose <id> [<tekst>] -inclose <id> [<text>]
-signal <id> <sygnał> -signal <id> <signal>
-kill <id> -kill <id>
-killall -killall
-set <id> <właściwość> <wartość> -set <id> <property> <value>
-del <id>|-all [<id>...] -del <id>|-all [<id>...]
-list: wyświetla komendy -list: list commands
-sh: użyj powłoki do wykonania komendy (UWAGA: użyj tej opcji TYLKO jeśli wszystkie argumenty są bezpieczne, zobacz opcję -nosh) -sh: use the shell to execute the command, many commands can be piped (WARNING: use this option ONLY if all arguments are safe, see option -nosh)
-nosh: nie używaj powłoki do wykonania komendy (wymagane jeśli komenda posiada niebezpieczne dane, na przykład zawartość wiadomości od innego użytkownika) (domyślne) -nosh: do not use the shell to execute the command (required if the command has some unsafe data, for example the content of a message from another user) (default)
-bg: uruchom proces w tle: nie wyświetlaj wyjścia z procesu ani zwracanego kodu (nie kompatybilne z opcjami -o/-n) -bg: run process in background: do not display process output neither return code (not compatible with options -o/-oc/-n/-nf/-pipe/-hsignal)
-nobg: przechwyć całość wyjścia z procesu i wyświetl kod wyjścia (domyślne) -nobg: catch process output and display return code (default)
-stdin: tworzy strumień do wysyłania danych do procesu (za pomocą /exec -in/-inclose) -stdin: create a pipe for sending data to the process (with /exec -in/-inclose)
-nostdin: nie twórz strumienia dla stdin (domyślne) -nostdin: do not create a pipe for stdin (default)
-buffer: wyświetl/wyślij wyjście komendy do tego bufora (jeśli bufor nie zostanie znaleziony zostanie utworzony nowy bufor o nazwie "exec.exec.xxx") -buffer: display/send output of command on this buffer (if the buffer is not found, a new buffer with name "exec.exec.xxx" is created)
-l: wyświetl lokalnie wyście z komendy w buforze (domyślne) -l: display locally output of command on buffer (default)
-o: wyślij wyjście z komendy do bufora (nie kompatybilne z opcjami -bg/-pipe/-hsignal) -o: send output of command to the buffer without executing commands (not compatible with options -bg/-pipe/-hsignal)
-oc: wysyła wyjście komendy do bufora i wykonuje komendy (linie zaczynające się od "/" lub własnego znaku komendy) (nie kompatybilne z opcjami -bg/-pipe/-hsignal) -oc: send output of command to the buffer and execute commands (lines starting with "/" or another custom command char) (not compatible with options -bg/-pipe/-hsignal)
-n: wyświetl wyjście komendy w nowym buforze (nie kompatybilne z opcjami -bg/-pipe/-hsignal) -n: display output of command in a new buffer (not compatible with options -bg/-pipe/-hsignal)
-nf: wyświetl wyjście komendy w nowym buforze z wolna zawartością (brak zawijania słów, bez limitu ilości linii) (nie kompatybilne z opcjami -bg/-pipe/-hsignal) -nf: display output of command in a new buffer with free content (no word-wrap, no limit on number of lines) (not compatible with options -bg/-pipe/-hsignal)
-cl: wyczyść nowy bufor przed wyświetleniem wyjścia -oerr: also send stderr (error output) to the buffer (can be used only with options -o and -oc)
-nocl: dodaj do nowego bufora bez czyszczenia zawartości (domyślne) -cl: clear the new buffer before displaying output
-sw: przełącz na bufor wyjściowy (domyślne) -nocl: append to the new buffer without clear (default)
-nosw: nie przełączaj na bufor wyjściowy -sw: switch to the output buffer (default)
-ln: wyświetl numery linii (domyślne tylko w nowym buforze) -nosw: don't switch to the output buffer
-noln: nie wyświetlaj numerów linii -ln: display line numbers (default in new buffer only)
-flush: wyświetl wyjście z komendy w czasie rzeczywistym (domyślne) -noln: don't display line numbers
-noflush: wyświetl wyjście z komendy po jej zakończeniu -flush: display output of command in real time (default)
-color: akcja na kolorach ANSI w wyjściu: -noflush: display output of command after its end
ansi: zachowaj kody ANSI -color: action on ANSI colors in output:
auto: konwertuj kolory ANSI na WeeChat/IRC (domyślne) ansi: keep ANSI codes as-is
irc: konwertuj kolory ANSI na kolory IRC auto: convert ANSI colors to WeeChat/IRC (default)
weechat: konwertuj kolory ANSI na kolory WeeChat irc: convert ANSI colors to IRC colors
strip: usuń kolory ANSI weechat: convert ANSI colors to WeeChat colors
-rc: wyświetl kod wyjścia (domyślne) strip: remove ANSI colors
-norc: nie wyświetlaj kodu wyjścia -rc: display return code (default)
-timeout: ustaw timeout dla komendy (w sekundach) -norc: don't display return code
-name: ustaw nazwę dla komendy (do wywołania później za pomocą /exec) -timeout: set a timeout for the command (in seconds)
-pipe: wyślij wyjście do WeeChat/wtyczki (linia po linii); jeśli występują spacje w komendzie/argumentach, otocz je cudzysłowem; zmienna $line jest zastępowana przez linie (domyślnie linia jest dodawana za komendą, oddzielona spacją) (nie kompatybilne z opcjami -bg/-o/-oc/-n/-nf) -name: set a name for the command (to name it later with /exec)
-hsignal: wyślij wyjście jako hsignal (w celu użycia na przykład w triggerze) (nie kompatybilne z opcjami -bg/-o/-oc/-n/-nf) -pipe: send the output to a WeeChat/plugin command (line by line); if there are spaces in command/arguments, enclose them with double quotes; variable $line is replaced by the line (by default the line is added after the command, separated by a space) (not compatible with options -bg/-o/-oc/-n/-nf)
komenda: komenda do wykonania; jeśli zaczyna się od "url:", powłoka jest wyłączana i zawartość URLa jest pobierana i wysyłana jako wyjście -hsignal: send the output as a hsignal (to be used for example in a trigger) (not compatible with options -bg/-o/-oc/-n/-nf)
id: identyfikator komendy: numer lub nazwa (jeśli ustawiona przez "-name xxx") command: the command to execute; if beginning with "url:", the shell is disabled and the content of URL is downloaded and sent as output
-in: wyślij tekst na standardowe wejście procesu id: command identifier: either its number or name (if set with "-name xxx")
-inclose: to samo co -in, ale stdin jest zamykane (tekst jest opcjonalny: bez niego stdin jest po prostu zamykane) -in: send text on standard input of process
-signal: wysyła sygnał do procesu; sygnał może być liczbą całkowitą lub jedna z nazw: hup, int, quit, kill, term, usr1, usr2 -inclose: same as -in, but stdin is closed after (and text is optional: without text, the stdin is just closed)
-kill: alias dla "-signal <id> kill" -signal: send a signal to the process; the signal can be an integer or one of these names: hup, int, quit, kill, term, usr1, usr2
-killall: zabija wszystkie działające procesy -kill: alias of "-signal <id> kill"
-set: ustawia przypisaną właściwość (zobacz funkcję hook_set w opisie API wtyczek) -killall: kill all running processes
właściwość: przypisana właściwość -set: set a hook property (see function hook_set in plugin API reference)
wartość: nowa wartość property: hook property
-del: usuń zakończoną komendę value: new value for hook property
-all: usuń wszystkie zakończone komendy -del: delete a terminated command
-all: delete all terminated commands
Domyślne opcje mogą być ustawione za pomocą opcji exec.command.default_options. Default options can be set in the option exec.command.default_options.
Przykłady: Examples:
/exec -n ls -l /tmp /exec -n ls -l /tmp
/exec -sh -n ps xu | grep weechat /exec -sh -n ps xu | grep weechat
/exec -n -norc url:http://pastebin.com/raw.php?i=xxxxxxxx /exec -n -norc url:https://pastebin.com/raw.php?i=xxxxxxxx
/exec -nf -noln links -dump https://weechat.org/files/doc/devel/weechat_user.en.html /exec -nf -noln links -dump https://weechat.org/files/doc/devel/weechat_user.en.html
/exec -o uptime /exec -o uptime
/exec -pipe "/print Machine uptime:" uptime /exec -pipe "/print Machine uptime:" uptime
@@ -3320,6 +3320,12 @@
** wartości: -1 .. 525600 ** wartości: -1 .. 525600
** domyślna wartość: `+1440+` ** domyślna wartość: `+1440+`
* [[option_script.scripts.download_enabled]] *script.scripts.download_enabled*
** opis: pass:none[enable download of files from the scripts repository when the /script command is used (list of scripts and scripts themselves); the list of scripts is downloaded from the URL specified in the option script.scripts.url; WeeChat will sometimes download again the list of scripts when you use the /script command, even if you don't install a script]
** typ: bool
** wartości: on, off
** domyślna wartość: `+off+`
* [[option_script.scripts.download_timeout]] *script.scripts.download_timeout* * [[option_script.scripts.download_timeout]] *script.scripts.download_timeout*
** opis: pass:none[czas oczekiwania (w sekundach) na pobranie skryptu i listy skryptów] ** opis: pass:none[czas oczekiwania (w sekundach) na pobranie skryptu i listy skryptów]
** typ: liczba ** typ: liczba
@@ -3748,6 +3754,12 @@
** wartości: dowolny ciąg ** wartości: dowolny ciąg
** domyślna wartość: `+"${marked} ${name} ${type} ${value2}${newline} ${empty_name} ${_default_value}${color:darkgray} -- ${min}..${max}${newline} ${empty_name} ${description}"+` ** domyślna wartość: `+"${marked} ${name} ${type} ${value2}${newline} ${empty_name} ${_default_value}${color:darkgray} -- ${min}..${max}${newline} ${empty_name} ${description}"+`
* [[option_fset.look.auto_refresh]] *fset.look.auto_refresh*
** opis: pass:none[comma separated list of options to automatically refresh on the fset buffer (if opened); "*" means all options (recommended), a name beginning with "!" is a negative value to prevent an option to be refreshed, wildcard "*" is allowed in names (example: "*,!plugin.section.*")]
** typ: ciąg
** wartości: dowolny ciąg
** domyślna wartość: `+"*"+`
* [[option_fset.look.auto_unmark]] *fset.look.auto_unmark* * [[option_fset.look.auto_unmark]] *fset.look.auto_unmark*
** opis: pass:none[automatycznie odznacza wszystkie opcje po akcji na zaznaczonych opcjach lub po odświerzeniu] ** opis: pass:none[automatycznie odznacza wszystkie opcje po akcji na zaznaczonych opcjach lub po odświerzeniu]
** typ: bool ** typ: bool
+1
View File
@@ -553,6 +553,7 @@ Lista funkcji w API skryptów:
string_has_highlight_regex + string_has_highlight_regex +
string_mask_to_regex + string_mask_to_regex +
string_format_size + string_format_size +
string_color_code_size +
string_remove_color + string_remove_color +
string_is_command_char + string_is_command_char +
string_input_for_buffer + string_input_for_buffer +
+53 -15
View File
@@ -382,13 +382,16 @@ Następnie postępuj zgodnie z instrukcjami dla pakietów źródłowych (zobacz
Jeśli doświadczyłeś awarii, lub chcesz zgłosić przyszłą awarię WeeChat, należy: Jeśli doświadczyłeś awarii, lub chcesz zgłosić przyszłą awarię WeeChat, należy:
* skompilować WeeChat z informacjami diagnostycznymi (lub zainstalować // TRANSLATION MISSING
odpowiedni pakiet) * compile with:
** debug info (or install binary package with debug info)
** address sanitizer (optional)
* włączyć obsługę plików _core_ w systemie * włączyć obsługę plików _core_ w systemie
* zainstalować gdb * zainstalować gdb
[[debug_info]] // TRANSLATION MISSING
==== Informacje diagnostyczne [[build_debug]]
==== Build with debug options
Jeśli kompilujesz z użyciem CMake: Jeśli kompilujesz z użyciem CMake:
@@ -396,8 +399,18 @@ Jeśli kompilujesz z użyciem CMake:
$ cmake .. -DCMAKE_BUILD_TYPE=Debug $ cmake .. -DCMAKE_BUILD_TYPE=Debug
---- ----
Jeśli kompilujesz z użyciem autotools, debugowanie jest domyślnie włączone // TRANSLATION MISSING
(`--with-debug=1`). You can additionally enable the address sanitizer, which causes WeeChat to
crash immediately in case of problem:
----
$ cmake .. -DCMAKE_BUILD_TYPE=Debug -DCMAKE_C_FLAGS=-fsanitize=address -DCMAKE_CXX_FLAGS=-fsanitize=address -DCMAKE_EXE_LINKER_FLAGS=-fsanitize=address
----
// TRANSLATION MISSING
[WARNING]
You should enable address sanitizer only if you're trying to cause a crash,
this is not recommended in production.
Jeśli zainstalowałeś pakiet binarny, doinstaluj paczkę _weechat-dbg_. Jeśli zainstalowałeś pakiet binarny, doinstaluj paczkę _weechat-dbg_.
@@ -642,7 +655,7 @@ Przykład terminala z WeeChat:
│ │ │ │ │ │ │ │
│ │ │ │ │ │ │ │
│ │ │ │ │ │ │ │
│ │[12:55] [5] [irc/freenode] 2:#test(+n){4}* [Act: 3:#abc(2,5), 5] │ │ │[12:55] [5] [irc/freenode] 2:#test(+n){4}* [H: 3:#abc(2,5), 5]
│ │[@Flashy(i)] hi peter!█ │ │ │[@Flashy(i)] hi peter!█ │
└──────────────────────────────────────────────────────────────────────────────────────┘ └──────────────────────────────────────────────────────────────────────────────────────┘
▲ bars "status" and "input" bar "nicklist" ▲ ▲ bars "status" and "input" bar "nicklist" ▲
@@ -694,7 +707,7 @@ Pasek _status_ posiada następujące domyślne elementy:
| buffer_filter | `+*+` | Wskaźnik filtrowania: `+*+` oznacza, że niektóre linie zostały odfiltrowywane (ukryte), pusta wartość oznacza, że wszystkie linie są wyświetlane. | buffer_filter | `+*+` | Wskaźnik filtrowania: `+*+` oznacza, że niektóre linie zostały odfiltrowywane (ukryte), pusta wartość oznacza, że wszystkie linie są wyświetlane.
| scroll | `-Więcej(50)-` | Wskaźnik przewijania, z numerem linii poniżej ostatniej wyświetlanej. | scroll | `-Więcej(50)-` | Wskaźnik przewijania, z numerem linii poniżej ostatniej wyświetlanej.
| lag | `[Lag: 2.5]` | Wskaźnik opóźnienia, w sekundach (ukryty dla niskich opóźnień). | lag | `[Lag: 2.5]` | Wskaźnik opóźnienia, w sekundach (ukryty dla niskich opóźnień).
| hotlist | `[Act: 3:#abc(2,5), 5]` | Lista buforów z aktywnością (nieprzeczytane wiadomości) (w przykładzie, 2 podświetlenia i 5 nieprzeczytanych wiadomości w _#abc_, jedna wiadomość w buforze #5). | hotlist | `[H: 3:#abc(2,5), 5]` | Lista buforów z aktywnością (nieprzeczytane wiadomości) (w przykładzie, 2 podświetlenia i 5 nieprzeczytanych wiadomości w _#abc_, jedna wiadomość w buforze #5).
| completion | `abc(2) def(5)` | Lista słów do dopełnienia, z ilością możliwych dopełnień dla każdego słowa. | completion | `abc(2) def(5)` | Lista słów do dopełnienia, z ilością możliwych dopełnień dla każdego słowa.
|=== |===
@@ -1117,11 +1130,15 @@ Popularnie używane tagi (niepełna lista):
| no_filter | Linia nie może być filtrowana. | no_filter | Linia nie może być filtrowana.
| no_highlight | Podświetlenia nie są dozwolone w tej linii. | no_highlight | Podświetlenia nie są dozwolone w tej linii.
| no_log | Linia nie jest zapisywana w logu. | no_log | Linia nie jest zapisywana w logu.
| log0 ... log9 | Poziom logowania dla linii (zobacz `/help logger`). | log0 log9 | Poziom logowania dla linii (zobacz `/help logger`).
| notify_none | Bufor z linią nie dodana do hotlisty. // TRANSLATION MISSING
| notify_message | Bufor z linia dodaną do hotlisty z poziomem "message". | notify_none | The line must not be added to hotlist. ^(1)^
| notify_private | Bufor z linia dodaną do hotlisty z poziomem "private". // TRANSLATION MISSING
| notify_highlight | Bufor z linia dodaną do hotlisty z poziomem "highlight". | notify_message | The line is a user message. ^(1)^
// TRANSLATION MISSING
| notify_private | The line is a private message. ^(1)^
// TRANSLATION MISSING
| notify_highlight | The line is a message with highlight. ^(1)^
| self_msg | Własna wiadomość. | self_msg | Własna wiadomość.
| nick_xxx | Wiadomość od nicku "xxx". | nick_xxx | Wiadomość od nicku "xxx".
| prefix_nick_ccc | Prefiks to nick o kolorze "ccc". | prefix_nick_ccc | Prefiks to nick o kolorze "ccc".
@@ -1136,6 +1153,13 @@ Popularnie używane tagi (niepełna lista):
| away_info | Wiadomość z powodem nieobecności. | away_info | Wiadomość z powodem nieobecności.
|=== |===
// TRANSLATION MISSING
[NOTE]
^(1)^ When no tag "notify_xxx" is present, the default level is "low". If a tag
"notify_xxx" is present, the real notify level can be different, for example
if a max hotlist level is used for a nick, the notify level can be lower than
the value in the tag.
[[bars]] [[bars]]
=== Paski === Paski
@@ -4041,6 +4065,16 @@ monitorującego, za pomocą komendy:
/trigger monitor /trigger monitor
---- ----
// TRANSLATION MISSING
All callbacks set following variables in hashtable:
[width="100%",cols="3m,2,14",options="header"]
|===
| Zmienna | Typ | Opis
// TRANSLATION MISSING
| tg_trigger_name | ciąg | Name of trigger.
|===
[[trigger_data_signal]] [[trigger_data_signal]]
===== Sygnał ===== Sygnał
@@ -4210,8 +4244,12 @@ Callback "command" ustawia następujące zmienne w tablicy hashy:
|=== |===
| Zmienna | Typ | Opis | Zmienna | Typ | Opis
| buffer | wskaźnik | Bufor. | buffer | wskaźnik | Bufor.
| tg_argvN | ciąg | Argument #N. // TRANSLATION MISSING
| tg_argv_eolN | ciąg | Od argumentu #N do końca argumentów. | tg_argc | ciąg | The number of arguments (the command itself counts for one).
// TRANSLATION MISSING
| tg_argvN | ciąg | Argument #N (`+tg_argv0+` is the command itself, the others are command arguments).
// TRANSLATION MISSING
| tg_argv_eolN | ciąg | Od argumentu #N do końca argumentów (`+tg_argv_eol0+` includes the command itself).
|=== |===
[[trigger_data_command_run]] [[trigger_data_command_run]]
+101 -38
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: 2020-06-21 18:56+0200\n" "POT-Creation-Date: 2020-10-11 16:22+0200\n"
"PO-Revision-Date: 2020-04-28 16:40+0200\n" "PO-Revision-Date: 2020-04-28 16:40+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"
@@ -4720,11 +4720,9 @@ msgstr "Ladění vypnuto pro \"%s\""
msgid "verbose" msgid "verbose"
msgstr "upovídaný" msgstr "upovídaný"
#, fuzzy
msgid "normal" msgid "normal"
msgid_plural "normals" msgstr "normální"
msgstr[0] "normální"
msgstr[1] "normální"
msgstr[2] "normálních"
#, fuzzy #, fuzzy
msgid "Debug disabled for cursor mode" msgid "Debug disabled for cursor mode"
@@ -4864,7 +4862,7 @@ msgid ""
" alias /split to split window horizontally:\n" " alias /split to split window horizontally:\n"
" /alias add split /window splith\n" " /alias add split /window splith\n"
" alias /hello to say \"hello\" on all channels but not on #weechat:\n" " alias /hello to say \"hello\" on all channels but not on #weechat:\n"
" /alias add hello /allchan -exclude=#weechat msg * hello\n" " /alias add hello /allchan -exclude=#weechat hello\n"
" alias /forcejoin to send IRC command \"forcejoin\" with completion of /" " alias /forcejoin to send IRC command \"forcejoin\" with completion of /"
"sajoin:\n" "sajoin:\n"
" /alias addcompletion %%sajoin forcejoin /quote forcejoin" " /alias addcompletion %%sajoin forcejoin /quote forcejoin"
@@ -5302,11 +5300,11 @@ msgstr "Spouštění externích příkazů v WeeChatu"
msgid "" msgid ""
"-list || [-sh|-nosh] [-bg|-nobg] [-stdin|-nostdin] [-buffer <name>] [-l|-o|-" "-list || [-sh|-nosh] [-bg|-nobg] [-stdin|-nostdin] [-buffer <name>] [-l|-o|-"
"n|-nf] [-cl|-nocl] [-sw|-nosw] [-ln|-noln] [-flush|-noflush] [-color ansi|" "oc|-n|-nf] [-oerr] [-cl|-nocl] [-sw|-nosw] [-ln|-noln] [-flush|-noflush] [-"
"auto|irc|weechat|strip] [-rc|-norc] [-timeout <timeout>] [-name <name>] [-" "color ansi|auto|irc|weechat|strip] [-rc|-norc] [-timeout <timeout>] [-name "
"pipe <command>] [-hsignal <name>] <command> || -in <id> <text> || -inclose " "<name>] [-pipe <command>] [-hsignal <name>] <command> || -in <id> <text> || -"
"<id> [<text>] || -signal <id> <signal> || -kill <id> || -killall || -set " "inclose <id> [<text>] || -signal <id> <signal> || -kill <id> || -killall || -"
"<id> <property> <value> || -del <id>|-all [<id>...]" "set <id> <property> <value> || -del <id>|-all [<id>...]"
msgstr "" msgstr ""
msgid "" msgid ""
@@ -5335,6 +5333,8 @@ msgid ""
" -nf: display output of command in a new buffer with free content (no " " -nf: display output of command in a new buffer with free content (no "
"word-wrap, no limit on number of lines) (not compatible with options -bg/-" "word-wrap, no limit on number of lines) (not compatible with options -bg/-"
"pipe/-hsignal)\n" "pipe/-hsignal)\n"
" -oerr: also send stderr (error output) to the buffer (can be used only "
"with options -o and -oc)\n"
" -cl: clear the new buffer before displaying output\n" " -cl: clear the new buffer before displaying output\n"
" -nocl: append to the new buffer without clear (default)\n" " -nocl: append to the new buffer without clear (default)\n"
" -sw: switch to the output buffer (default)\n" " -sw: switch to the output buffer (default)\n"
@@ -5731,6 +5731,18 @@ msgstr ""
msgid "configuration files, sections, options and words of options" msgid "configuration files, sections, options and words of options"
msgstr "konfigurační soubor \"%s\" (nastavení %s.*)" msgstr "konfigurační soubor \"%s\" (nastavení %s.*)"
#, fuzzy
msgid ""
"comma separated list of options to automatically refresh on the fset buffer "
"(if opened); \"*\" means all options (recommended), a name beginning with \"!"
"\" is a negative value to prevent an option to be refreshed, wildcard \"*\" "
"is allowed in names (example: \"*,!plugin.section.*\")"
msgstr ""
"čárkou rozdělený seznam pluginů pro automatické načtení při spuštění \"*\" "
"znamená všechny nalezené pluginy, jméno začínající \"!\" je negativní "
"hodnota k zabránění načtení pluginu, jména mohou začínat nebo končit \"*\" "
"pro vybrání několika pluginů (příklady: \"*\" nebo \"*,!lua,!tcl\")"
msgid "" msgid ""
"automatically unmark all options after an action on marked options or after " "automatically unmark all options after an action on marked options or after "
"a refresh" "a refresh"
@@ -6524,8 +6536,8 @@ msgstr "vykonat příkaz na všech kanálech všech připojených serverů"
#, fuzzy #, fuzzy
msgid "" msgid ""
"[-current] [-exclude=<channel>[,<channel>...]] <command> [<arguments>] || [-" "[-current] [-exclude=<channel>[,<channel>...]] <command> || [-current] -"
"current] -include=<channel>[,<channel>...] <command> [<arguments>]" "include=<channel>[,<channel>...] <command>"
msgstr "[-current] [-exclude=<kanál>[,<kanál>...]] <příkaz> [<argumenty>]" msgstr "[-current] [-exclude=<kanál>[,<kanál>...]] <příkaz> [<argumenty>]"
#, fuzzy #, fuzzy
@@ -6533,20 +6545,27 @@ msgid ""
" -current: execute command for channels of current server only\n" " -current: execute command for channels of current server only\n"
" -exclude: exclude some channels (wildcard \"*\" is allowed)\n" " -exclude: exclude some channels (wildcard \"*\" is allowed)\n"
" -include: include only some channels (wildcard \"*\" is allowed)\n" " -include: include only some channels (wildcard \"*\" is allowed)\n"
" command: command to execute\n" " command: command to execute (or text to send to buffer if command does not "
"arguments: arguments for command (special variables $nick, $channel and " "start with '/')\n"
"$server are replaced by their value)\n" "\n"
"Command and arguments are evaluated (see /help eval), the following "
"variables are replaced:\n"
" $server server name\n"
" $channel channel name\n"
" $nick nick on server\n"
" ${irc_server.xxx} variable xxx in server\n"
" ${irc_channel.xxx} variable xxx in channel\n"
"\n" "\n"
"Examples:\n" "Examples:\n"
" execute '/me is testing' on all channels:\n" " execute '/me is testing' on all channels:\n"
" /allchan me is testing\n" " /allchan /me is testing\n"
" say 'hello' everywhere but not on #weechat:\n" " say 'hello' everywhere but not on #weechat:\n"
" /allchan -exclude=#weechat msg * hello\n" " /allchan -exclude=#weechat hello\n"
" say 'hello' everywhere but not on #weechat and channels beginning with " " say 'hello' everywhere but not on #weechat and channels beginning with "
"#linux:\n" "#linux:\n"
" /allchan -exclude=#weechat,#linux* msg * hello\n" " /allchan -exclude=#weechat,#linux* hello\n"
" say 'hello' on all channels beginning with #linux:\n" " say 'hello' on all channels beginning with #linux:\n"
" /allchan -include=#linux* msg * hello" " /allchan -include=#linux* hello"
msgstr "" msgstr ""
" -current: vynechat příkaz pouze pro kanály aktuálního serveru\n" " -current: vynechat příkaz pouze pro kanály aktuálního serveru\n"
" -exclude: vynechat některé kanály ('*' je povolená na začátku nebo konci " " -exclude: vynechat některé kanály ('*' je povolená na začátku nebo konci "
@@ -6568,8 +6587,8 @@ msgstr "vykonat příkaz na všech kanálech všech připojených serverů"
#, fuzzy #, fuzzy
msgid "" msgid ""
"[-current] [-exclude=<nick>[,<nick>...]] <command> [<arguments>] || [-" "[-current] [-exclude=<nick>[,<nick>...]] <command> || [-current] -"
"current] -include=<nick>[,<nick>...] <command> [<arguments>]" "include=<nick>[,<nick>...] <command>"
msgstr "[-current] [-exclude=<kanál>[,<kanál>...]] <příkaz> [<argumenty>]" msgstr "[-current] [-exclude=<kanál>[,<kanál>...]] <příkaz> [<argumenty>]"
#, fuzzy #, fuzzy
@@ -6577,21 +6596,28 @@ msgid ""
" -current: execute command for private buffers of current server only\n" " -current: execute command for private buffers of current server only\n"
" -exclude: exclude some nicks (wildcard \"*\" is allowed)\n" " -exclude: exclude some nicks (wildcard \"*\" is allowed)\n"
" -include: include only some nicks (wildcard \"*\" is allowed)\n" " -include: include only some nicks (wildcard \"*\" is allowed)\n"
" command: command to execute\n" " command: command to execute (or text to send to buffer if command does not "
"arguments: arguments for command (special variables $nick, $channel and " "start with '/')\n"
"$server are replaced by their value)\n" "\n"
"Command and arguments are evaluated (see /help eval), the following "
"variables are replaced:\n"
" $server server name\n"
" $channel channel name\n"
" $nick nick on server\n"
" ${irc_server.xxx} variable xxx in server\n"
" ${irc_channel.xxx} variable xxx in channel\n"
"\n" "\n"
"Examples:\n" "Examples:\n"
" execute '/me is testing' on all private buffers:\n" " execute '/me is testing' on all private buffers:\n"
" /allpv me is testing\n" " /allpv /me is testing\n"
" say 'hello' everywhere but not for nick foo:\n" " say 'hello' everywhere but not for nick foo:\n"
" /allpv -exclude=foo msg * hello\n" " /allpv -exclude=foo hello\n"
" say 'hello' everywhere but not for nick foo and nicks beginning with bar:\n" " say 'hello' everywhere but not for nick foo and nicks beginning with bar:\n"
" /allpv -exclude=foo,bar* msg * hello\n" " /allpv -exclude=foo,bar* hello\n"
" say 'hello' for all nicks beginning with bar:\n" " say 'hello' for all nicks beginning with bar:\n"
" /allpv -include=bar* msg * hello\n" " /allpv -include=bar* hello\n"
" close all private buffers:\n" " close all private buffers:\n"
" /allpv close" " /allpv /close"
msgstr "" msgstr ""
" -current: vynechat příkaz pouze pro kanály aktuálního serveru\n" " -current: vynechat příkaz pouze pro kanály aktuálního serveru\n"
" -exclude: vynechat některé kanály ('*' je povolená na začátku nebo konci " " -exclude: vynechat některé kanály ('*' je povolená na začátku nebo konci "
@@ -6612,25 +6638,30 @@ msgstr "vykonat příkaz na všech připojených serverech"
#, fuzzy #, fuzzy
msgid "" msgid ""
"[-exclude=<server>[,<server>...]] <command> [<arguments>] || -" "[-exclude=<server>[,<server>...]] <command> || -include=<server>[,"
"include=<server>[,<server>...] <command> [<arguments>]" "<server>...] <command>"
msgstr "[-exclude=<server>[,<server>...]] <příkaz> [<argumenty>]" msgstr "[-exclude=<server>[,<server>...]] <příkaz> [<argumenty>]"
#, fuzzy #, fuzzy
msgid "" msgid ""
" -exclude: exclude some servers (wildcard \"*\" is allowed)\n" " -exclude: exclude some servers (wildcard \"*\" is allowed)\n"
" -include: include only some servers (wildcard \"*\" is allowed)\n" " -include: include only some servers (wildcard \"*\" is allowed)\n"
" command: command to execute\n" " command: command to execute (or text to send to buffer if command does not "
"arguments: arguments for command (special variables $nick, $channel and " "start with '/')\n"
"$server are replaced by their value)\n" "\n"
"Command and arguments are evaluated (see /help eval), the following "
"variables are replaced:\n"
" $server server name\n"
" $nick nick on server\n"
" ${irc_server.xxx} variable xxx in server\n"
"\n" "\n"
"Examples:\n" "Examples:\n"
" change nick on all servers:\n" " change nick on all servers:\n"
" /allserv nick newnick\n" " /allserv /nick newnick\n"
" set away on all servers:\n" " set away on all servers:\n"
" /allserv away I'm away\n" " /allserv /away I'm away\n"
" do a whois on my nick on all servers:\n" " do a whois on my nick on all servers:\n"
" /allserv whois $nick" " /allserv /whois $nick"
msgstr "" msgstr ""
" -exclude: vynechat některé servery (pro vynechání více serverů je dovoleno " " -exclude: vynechat některé servery (pro vynechání více serverů je dovoleno "
"'*' na začátku nebo konci jména serveru)\n" "'*' na začátku nebo konci jména serveru)\n"
@@ -9367,6 +9398,14 @@ msgstr[0] "voiců"
msgstr[1] "voice" msgstr[1] "voice"
msgstr[2] "voiců" msgstr[2] "voiců"
#. TRANSLATORS: number of "normal" nicks on a channel (ie no op/voice), for example: "56 normals"
#, c-format
msgid "%s%s%d%s normal"
msgid_plural "%s%s%d%s normals"
msgstr[0] ""
msgstr[1] ""
msgstr[2] ""
#, fuzzy, c-format #, fuzzy, c-format
msgid "%sChannel %s%s%s: %s%d%s %s %s(%s%s)" msgid "%sChannel %s%s%s: %s%d%s %s %s(%s%s)"
msgstr "%sMód %s%s %s[%s%s%s]%s od %s%s" msgstr "%sMód %s%s %s[%s%s%s]%s od %s%s"
@@ -10295,6 +10334,16 @@ msgstr "rgb,limit (limit je volitelný a nastaven na výchozí hodnotu 256)"
msgid "get nick color code" msgid "get nick color code"
msgstr "získat kód barvy přezdívky" msgstr "získat kód barvy přezdívky"
#, fuzzy
msgid ""
"nickname;colors (colors is an optional comma-separated list of colors to "
"use; background is allowed for a color with format text:background; if "
"colors is present, WeeChat options with nick colors and forced nick colors "
"are ignored)"
msgstr ""
"barva textu pro přezdívky (čárkou oddělený seznam barev, pozadí je povoleno "
"ve formátu: \"fg:bg\", například: \"lightred:blue\")"
msgid "get nick color name" msgid "get nick color name"
msgstr "získat jméno barvy přezdívky" msgstr "získat jméno barvy přezdívky"
@@ -11569,6 +11618,12 @@ msgstr "Skripty"
msgid "Script manager" msgid "Script manager"
msgstr "Správce skriptů" msgstr "Správce skriptů"
#, c-format
msgid ""
"%s%s: download of scripts is disabled by default; see /help script.scripts."
"download_enabled"
msgstr ""
#, fuzzy #, fuzzy
msgid "WeeChat script manager" msgid "WeeChat script manager"
msgstr "správce skriptů WeeChatu" msgstr "správce skriptů WeeChatu"
@@ -11904,6 +11959,14 @@ msgid ""
"expire)" "expire)"
msgstr "" msgstr ""
msgid ""
"enable download of files from the scripts repository when the /script "
"command is used (list of scripts and scripts themselves); the list of "
"scripts is downloaded from the URL specified in the option script.scripts."
"url; WeeChat will sometimes download again the list of scripts when you use "
"the /script command, even if you don't install a script"
msgstr ""
#, fuzzy #, fuzzy
msgid "timeout (in seconds) for download of scripts and list of scripts" msgid "timeout (in seconds) for download of scripts and list of scripts"
msgstr "časový limit (v sekundách) pro gnutls handshake" msgstr "časový limit (v sekundách) pro gnutls handshake"
+159 -69
View File
@@ -24,8 +24,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: 2020-06-21 18:56+0200\n" "POT-Creation-Date: 2020-10-11 16:22+0200\n"
"PO-Revision-Date: 2020-07-04 14:06+0200\n" "PO-Revision-Date: 2020-10-16 16:30+0200\n"
"Last-Translator: Nils Görs <weechatter@arcor.de>\n" "Last-Translator: Nils Görs <weechatter@arcor.de>\n"
"Language-Team: German <kde-i18n-de@kde.org>\n" "Language-Team: German <kde-i18n-de@kde.org>\n"
"Language: de\n" "Language: de\n"
@@ -33,7 +33,7 @@ msgstr ""
"Content-Type: text/plain; charset=UTF-8\n" "Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n" "Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n"
"X-Generator: Poedit 2.2.4\n" "X-Generator: Poedit 2.3\n"
"X-Poedit-Bookmarks: -1,-1,180,-1,-1,-1,-1,-1,-1,-1\n" "X-Poedit-Bookmarks: -1,-1,180,-1,-1,-1,-1,-1,-1,-1\n"
"X-Poedit-SourceCharset: utf-8\n" "X-Poedit-SourceCharset: utf-8\n"
@@ -5690,9 +5690,7 @@ msgid "verbose"
msgstr "ausführlich" msgstr "ausführlich"
msgid "normal" msgid "normal"
msgid_plural "normals" msgstr "normal"
msgstr[0] "normal"
msgstr[1] "normale"
msgid "Debug disabled for cursor mode" msgid "Debug disabled for cursor mode"
msgstr "Debug für Cursor Modus deaktiviert" msgstr "Debug für Cursor Modus deaktiviert"
@@ -5832,7 +5830,7 @@ msgid ""
" alias /split to split window horizontally:\n" " alias /split to split window horizontally:\n"
" /alias add split /window splith\n" " /alias add split /window splith\n"
" alias /hello to say \"hello\" on all channels but not on #weechat:\n" " alias /hello to say \"hello\" on all channels but not on #weechat:\n"
" /alias add hello /allchan -exclude=#weechat msg * hello\n" " /alias add hello /allchan -exclude=#weechat hello\n"
" alias /forcejoin to send IRC command \"forcejoin\" with completion of /" " alias /forcejoin to send IRC command \"forcejoin\" with completion of /"
"sajoin:\n" "sajoin:\n"
" /alias addcompletion %%sajoin forcejoin /quote forcejoin" " /alias addcompletion %%sajoin forcejoin /quote forcejoin"
@@ -5869,7 +5867,7 @@ msgstr ""
" /alias add split /window splith\n" " /alias add split /window splith\n"
" Alternativbefehl \"/hallo\" wird angelegt um in allen Channels, außer im " " Alternativbefehl \"/hallo\" wird angelegt um in allen Channels, außer im "
"#weechat Channel, den Text \"Hallo\" auszugeben:\n" "#weechat Channel, den Text \"Hallo\" auszugeben:\n"
" /alias add hallo /allchan -exclude=#weechat msg * hallo\n" " /alias add hallo /allchan -exclude=#weechat hallo\n"
" Alternativbefehl \"/forcejoin\" wird angelegt um den IRC Befehl \"forcejoin" " Alternativbefehl \"/forcejoin\" wird angelegt um den IRC Befehl \"forcejoin"
"\" mit einer Vervollständigung von /sajoin auszuführen:\n" "\" mit einer Vervollständigung von /sajoin auszuführen:\n"
" /alias addcompletion %%sajoin forcejoin /quote forcejoin" " /alias addcompletion %%sajoin forcejoin /quote forcejoin"
@@ -6429,18 +6427,18 @@ msgstr "führe externe Befehle aus"
msgid "" msgid ""
"-list || [-sh|-nosh] [-bg|-nobg] [-stdin|-nostdin] [-buffer <name>] [-l|-o|-" "-list || [-sh|-nosh] [-bg|-nobg] [-stdin|-nostdin] [-buffer <name>] [-l|-o|-"
"n|-nf] [-cl|-nocl] [-sw|-nosw] [-ln|-noln] [-flush|-noflush] [-color ansi|" "oc|-n|-nf] [-oerr] [-cl|-nocl] [-sw|-nosw] [-ln|-noln] [-flush|-noflush] [-"
"auto|irc|weechat|strip] [-rc|-norc] [-timeout <timeout>] [-name <name>] [-" "color ansi|auto|irc|weechat|strip] [-rc|-norc] [-timeout <timeout>] [-name "
"pipe <command>] [-hsignal <name>] <command> || -in <id> <text> || -inclose " "<name>] [-pipe <command>] [-hsignal <name>] <command> || -in <id> <text> || -"
"<id> [<text>] || -signal <id> <signal> || -kill <id> || -killall || -set " "inclose <id> [<text>] || -signal <id> <signal> || -kill <id> || -killall || -"
"<id> <property> <value> || -del <id>|-all [<id>...]" "set <id> <property> <value> || -del <id>|-all [<id>...]"
msgstr "" msgstr ""
"-list || [-sh|-nosh] [-bg|-nobg] [-stdin|-nostdin] [-buffer <name>] [-l|-o|-" "-list || [-sh|-nosh] [-bg|-nobg] [-stdin|-nostdin] [-buffer <name>] [-l|-o|-"
"n|-nf] [-cl|-nocl] [-sw|-nosw] [-ln|-noln] [-flush|-noflush] [-color ansi|" "oc|-n|-nf] [-oerr] [-cl|-nocl] [-sw|-nosw] [-ln|-noln] [-flush|-noflush] [-"
"auto|irc|weechat|strip] [-rc|-norc] [-timeout <timeout>] [-name <name>] [-" "color ansi|auto|irc|weechat|strip] [-rc|-norc] [-timeout <timeout>] [-name "
"pipe <command>] [-hsignal <name>] <command> || -in <id> <text> || -inclose " "<name>] [-pipe <command>] [-hsignal <name>] <command> || -in <id> <text> || -"
"<id> [<text>] || -signal <id> <signal> || -kill <id> || -killall || -set " "inclose <id> [<text>] || -signal <id> <signal> || -kill <id> || -killall || -"
"<id> <property> <value> || -del <id>|-all [<id>...]" "set <id> <property> <value> || -del <id>|-all [<id>...]"
msgid "" msgid ""
" -list: list commands\n" " -list: list commands\n"
@@ -6468,6 +6466,8 @@ msgid ""
" -nf: display output of command in a new buffer with free content (no " " -nf: display output of command in a new buffer with free content (no "
"word-wrap, no limit on number of lines) (not compatible with options -bg/-" "word-wrap, no limit on number of lines) (not compatible with options -bg/-"
"pipe/-hsignal)\n" "pipe/-hsignal)\n"
" -oerr: also send stderr (error output) to the buffer (can be used only "
"with options -o and -oc)\n"
" -cl: clear the new buffer before displaying output\n" " -cl: clear the new buffer before displaying output\n"
" -nocl: append to the new buffer without clear (default)\n" " -nocl: append to the new buffer without clear (default)\n"
" -sw: switch to the output buffer (default)\n" " -sw: switch to the output buffer (default)\n"
@@ -6555,6 +6555,8 @@ msgstr ""
" -nf: gibt die Ausgabe des Befehls in einem neuen Buffer, mit einem " " -nf: gibt die Ausgabe des Befehls in einem neuen Buffer, mit einem "
"freien Inhalt, aus (kein Zeilenumbruch, keine Limitierung in der Anzahl der " "freien Inhalt, aus (kein Zeilenumbruch, keine Limitierung in der Anzahl der "
"Zeilen), aus (nicht kompatibel mit Argument -bg/-pipe/-hsignal)\n" "Zeilen), aus (nicht kompatibel mit Argument -bg/-pipe/-hsignal)\n"
" -oerr: sendet stderr (Fehlerausgabe) an den Buffer (kann nur mit den "
"Optionen -o und -oc verwendet werden)\n"
" -cl: der neue Buffer wird vor einer Ausgabe gelöscht\n" " -cl: der neue Buffer wird vor einer Ausgabe gelöscht\n"
" -nocl: Ausgabe wird an neuen Buffer angehangen, ohne diesen vorher zu " " -nocl: Ausgabe wird an neuen Buffer angehangen, ohne diesen vorher zu "
"löschen (Standardverhalten)\n" "löschen (Standardverhalten)\n"
@@ -7198,6 +7200,18 @@ msgstr ""
msgid "configuration files, sections, options and words of options" msgid "configuration files, sections, options and words of options"
msgstr "Konfigurationsdateien, Sektionen, Optionen und Worte von Optionen" msgstr "Konfigurationsdateien, Sektionen, Optionen und Worte von Optionen"
msgid ""
"comma separated list of options to automatically refresh on the fset buffer "
"(if opened); \"*\" means all options (recommended), a name beginning with \"!"
"\" is a negative value to prevent an option to be refreshed, wildcard \"*\" "
"is allowed in names (example: \"*,!plugin.section.*\")"
msgstr ""
"durch Kommata getrennte Liste von Optionen, die eine Aktualisierung des fset "
"Buffers auslösen (falls dieser geöffnet sein sollte); \"*\" beschreibt alle "
"Optionen (empfohlen). Beginnt der Name einer Option hingegen mit \"!\" "
"erzeugt diese Option keine Aktualisierung des Buffers. Im Optionsnamen kann "
"der Platzhalter \"*\" verwendet werden (Beispiel: \"*,!plugin.section.*\" )"
msgid "" msgid ""
"automatically unmark all options after an action on marked options or after " "automatically unmark all options after an action on marked options or after "
"a refresh" "a refresh"
@@ -8025,30 +8039,37 @@ msgstr ""
"Server verbunden sind" "Server verbunden sind"
msgid "" msgid ""
"[-current] [-exclude=<channel>[,<channel>...]] <command> [<arguments>] || [-" "[-current] [-exclude=<channel>[,<channel>...]] <command> || [-current] -"
"current] -include=<channel>[,<channel>...] <command> [<arguments>]" "include=<channel>[,<channel>...] <command>"
msgstr "" msgstr ""
"[-current] [-exclude=<channel>[,<channel>...]] <command> [<arguments>] || [-" "[-current] [-exclude=<channel>[,<channel>...]] <command> || [-current] -"
"current] -include=<channel>[,<channel>...] <command> [<arguments>]" "include=<channel>[,<channel>...] <command>"
msgid "" msgid ""
" -current: execute command for channels of current server only\n" " -current: execute command for channels of current server only\n"
" -exclude: exclude some channels (wildcard \"*\" is allowed)\n" " -exclude: exclude some channels (wildcard \"*\" is allowed)\n"
" -include: include only some channels (wildcard \"*\" is allowed)\n" " -include: include only some channels (wildcard \"*\" is allowed)\n"
" command: command to execute\n" " command: command to execute (or text to send to buffer if command does not "
"arguments: arguments for command (special variables $nick, $channel and " "start with '/')\n"
"$server are replaced by their value)\n" "\n"
"Command and arguments are evaluated (see /help eval), the following "
"variables are replaced:\n"
" $server server name\n"
" $channel channel name\n"
" $nick nick on server\n"
" ${irc_server.xxx} variable xxx in server\n"
" ${irc_channel.xxx} variable xxx in channel\n"
"\n" "\n"
"Examples:\n" "Examples:\n"
" execute '/me is testing' on all channels:\n" " execute '/me is testing' on all channels:\n"
" /allchan me is testing\n" " /allchan /me is testing\n"
" say 'hello' everywhere but not on #weechat:\n" " say 'hello' everywhere but not on #weechat:\n"
" /allchan -exclude=#weechat msg * hello\n" " /allchan -exclude=#weechat hello\n"
" say 'hello' everywhere but not on #weechat and channels beginning with " " say 'hello' everywhere but not on #weechat and channels beginning with "
"#linux:\n" "#linux:\n"
" /allchan -exclude=#weechat,#linux* msg * hello\n" " /allchan -exclude=#weechat,#linux* hello\n"
" say 'hello' on all channels beginning with #linux:\n" " say 'hello' on all channels beginning with #linux:\n"
" /allchan -include=#linux* msg * hello" " /allchan -include=#linux* hello"
msgstr "" msgstr ""
" -current: führt einen Befehl aus der an alle Channels des aktuellen Servers " " -current: führt einen Befehl aus der an alle Channels des aktuellen Servers "
"gesendet wird\n" "gesendet wird\n"
@@ -8057,20 +8078,26 @@ msgstr ""
" -include: findet Anwendung für ausgewählte Channels (Platzhalter \"*\" kann " " -include: findet Anwendung für ausgewählte Channels (Platzhalter \"*\" kann "
"verwendet werden)\\n\n" "verwendet werden)\\n\n"
" command: Befehl der ausgeführt werden soll\n" " command: Befehl der ausgeführt werden soll\n"
"arguments: Argumente für Befehl (Variablen die genutzt werden können und " "\n"
"durch den entsprechenden Wert ersetzt werden: $nick, $channel und $server)\n" "Argumente und Befehl werden evaluiert (siehe /help eval), folgende Variablen "
"können genutzt werden:\n"
" $server Name des Servers\n"
" $channel Name des Channel\n"
" $nick Nickname der auf dem Server genutzt wird\n"
" ${irc_server.xxx} Variable xxx von Server\n"
" ${irc_channel.xxx} Variable xxx von Channel\n"
"\n" "\n"
"Beispiele:\n" "Beispiele:\n"
" führe den Befehl '/me Ich teste gerade etwas...' für alle Channels aus:\n" " führe den Befehl '/me Ich teste gerade etwas...' für alle Channels aus:\n"
" /allchan me Ich teste gerade etwas...\n" " /allchan /me Ich teste gerade etwas...\n"
" schicke 'Hallo Welt' an jeden Channel, ausgenommen an den #weechat " " schicke 'Hallo Welt' an jeden Channel, ausgenommen an den #weechat "
"Channel:\n" "Channel:\n"
" /allchan -exclude=#weechat msg * Hallo Welt\n" " /allchan -exclude=#weechat Hallo Welt\n"
" schicke 'Hallo Welt' an jeden Channel, ausgenommen an den #weechat Channel " " schicke 'Hallo Welt' an jeden Channel, ausgenommen an den #weechat Channel "
"und Channels die mit #linux beginnen:\n" "und Channels die mit #linux beginnen:\n"
" /allchan -exclude=#weechat,#linux* msg * Hallo Welt\n" " /allchan -exclude=#weechat,#linux* Hallo Welt\n"
" schickt den Text 'Hallo' an alle Channels die mit #linux beginnen:\n" " schickt den Text 'Hallo' an alle Channels die mit #linux beginnen:\n"
" /allchan -include=#linux* msg * Hallo" " /allchan -include=#linux* Hallo"
msgid "execute a command on all private buffers of all connected servers" msgid "execute a command on all private buffers of all connected servers"
msgstr "" msgstr ""
@@ -8078,31 +8105,38 @@ msgstr ""
"einem Server verbunden sind" "einem Server verbunden sind"
msgid "" msgid ""
"[-current] [-exclude=<nick>[,<nick>...]] <command> [<arguments>] || [-" "[-current] [-exclude=<nick>[,<nick>...]] <command> || [-current] -"
"current] -include=<nick>[,<nick>...] <command> [<arguments>]" "include=<nick>[,<nick>...] <command>"
msgstr "" msgstr ""
"[-current] [-exclude=<nick>[,<nick>...]] <command> [<arguments>] || [-" "[-current] [-exclude=<nick>[,<nick>...]] <command> || [-current] -"
"current] -include=<nick>[,<nick>...] <command> [<arguments>]" "include=<nick>[,<nick>...] <command>"
msgid "" msgid ""
" -current: execute command for private buffers of current server only\n" " -current: execute command for private buffers of current server only\n"
" -exclude: exclude some nicks (wildcard \"*\" is allowed)\n" " -exclude: exclude some nicks (wildcard \"*\" is allowed)\n"
" -include: include only some nicks (wildcard \"*\" is allowed)\n" " -include: include only some nicks (wildcard \"*\" is allowed)\n"
" command: command to execute\n" " command: command to execute (or text to send to buffer if command does not "
"arguments: arguments for command (special variables $nick, $channel and " "start with '/')\n"
"$server are replaced by their value)\n" "\n"
"Command and arguments are evaluated (see /help eval), the following "
"variables are replaced:\n"
" $server server name\n"
" $channel channel name\n"
" $nick nick on server\n"
" ${irc_server.xxx} variable xxx in server\n"
" ${irc_channel.xxx} variable xxx in channel\n"
"\n" "\n"
"Examples:\n" "Examples:\n"
" execute '/me is testing' on all private buffers:\n" " execute '/me is testing' on all private buffers:\n"
" /allpv me is testing\n" " /allpv /me is testing\n"
" say 'hello' everywhere but not for nick foo:\n" " say 'hello' everywhere but not for nick foo:\n"
" /allpv -exclude=foo msg * hello\n" " /allpv -exclude=foo hello\n"
" say 'hello' everywhere but not for nick foo and nicks beginning with bar:\n" " say 'hello' everywhere but not for nick foo and nicks beginning with bar:\n"
" /allpv -exclude=foo,bar* msg * hello\n" " /allpv -exclude=foo,bar* hello\n"
" say 'hello' for all nicks beginning with bar:\n" " say 'hello' for all nicks beginning with bar:\n"
" /allpv -include=bar* msg * hello\n" " /allpv -include=bar* hello\n"
" close all private buffers:\n" " close all private buffers:\n"
" /allpv close" " /allpv /close"
msgstr "" msgstr ""
" -current: führt einen Befehl aus der für alle privaten Buffer, des " " -current: führt einen Befehl aus der für alle privaten Buffer, des "
"aktuellen Servers, Anwendung findet\n" "aktuellen Servers, Anwendung findet\n"
@@ -8111,63 +8145,78 @@ msgstr ""
" -include: findet Anwendung für ausgewählte Nicks (Platzhalter \"*\" kann " " -include: findet Anwendung für ausgewählte Nicks (Platzhalter \"*\" kann "
"verwendet werden)\n" "verwendet werden)\n"
" command: Befehl der ausgeführt werden soll\n" " command: Befehl der ausgeführt werden soll\n"
"arguments: Argumente für Befehl (Variablen die genutzt werden können und " "\n"
"durch den entsprechenden Wert ersetzt werden: $nick, $channel und $server)\n" "Argumente und Befehl werden evaluiert (siehe /help eval), folgende Variablen "
"können genutzt werden:\n"
" $server Name des Servers\n"
" $channel Name des Channel\n"
" $nick Nickname der auf dem Server genutzt wird\n"
" ${irc_server.xxx} Variable xxx von Server\n"
" ${irc_channel.xxx} Variable xxx von Channel\n"
"\n" "\n"
"Beispiele:\n" "Beispiele:\n"
" führe den Befehl '/me Ich teste gerade etwas...' für alle privaten Buffer " " führe den Befehl '/me Ich teste gerade etwas...' für alle privaten Buffer "
"aus:\n" "aus:\n"
" /allpv me Ich teste gerade etwas...\n" " /allpv /me Ich teste gerade etwas...\n"
" schicke 'Hallo' an alle, ausgenommen an Nick foo:\n" " schicke 'Hallo' an alle, ausgenommen an Nick foo:\n"
" /allpv -exclude=foo msg * Hallo\n" " /allpv -exclude=foo Hallo\n"
" schicke den Text 'Hallo' an alle, ausgenommen für Nick foo und Nicks die " " schicke den Text 'Hallo' an alle, ausgenommen für Nick foo und Nicks die "
"mit bar beginnen:\n" "mit bar beginnen:\n"
" /allpv -exclude=foo,bar* msg * Hallo\n" " /allpv -exclude=foo,bar* Hallo\n"
" schicke den Text 'Hallo' an alle Nicks die mit bar beginnen:\n" " schicke den Text 'Hallo' an alle Nicks die mit bar beginnen:\n"
" /allpv -include=bar* msg * Hallo\n" " /allpv -include=bar* Hallo\n"
" schließe alle privaten Buffer:\n" " schließe alle privaten Buffer:\n"
" /allpv close" " /allpv /close"
msgid "execute a command on all connected servers" msgid "execute a command on all connected servers"
msgstr "führt einen Befehl aus, der zu allen verbundenen Server gesendet wird" msgstr "führt einen Befehl aus, der zu allen verbundenen Server gesendet wird"
msgid "" msgid ""
"[-exclude=<server>[,<server>...]] <command> [<arguments>] || -" "[-exclude=<server>[,<server>...]] <command> || -include=<server>[,"
"include=<server>[,<server>...] <command> [<arguments>]" "<server>...] <command>"
msgstr "" msgstr ""
"[-exclude=<server>[,<server>...]] <command> [<arguments>] || -" "[-exclude=<server>[,<server>...]] <command> || -include=<server>[,"
"include=<server>[,<server>...] <command> [<arguments>]" "<server>...] <command>"
msgid "" msgid ""
" -exclude: exclude some servers (wildcard \"*\" is allowed)\n" " -exclude: exclude some servers (wildcard \"*\" is allowed)\n"
" -include: include only some servers (wildcard \"*\" is allowed)\n" " -include: include only some servers (wildcard \"*\" is allowed)\n"
" command: command to execute\n" " command: command to execute (or text to send to buffer if command does not "
"arguments: arguments for command (special variables $nick, $channel and " "start with '/')\n"
"$server are replaced by their value)\n" "\n"
"Command and arguments are evaluated (see /help eval), the following "
"variables are replaced:\n"
" $server server name\n"
" $nick nick on server\n"
" ${irc_server.xxx} variable xxx in server\n"
"\n" "\n"
"Examples:\n" "Examples:\n"
" change nick on all servers:\n" " change nick on all servers:\n"
" /allserv nick newnick\n" " /allserv /nick newnick\n"
" set away on all servers:\n" " set away on all servers:\n"
" /allserv away I'm away\n" " /allserv /away I'm away\n"
" do a whois on my nick on all servers:\n" " do a whois on my nick on all servers:\n"
" /allserv whois $nick" " /allserv /whois $nick"
msgstr "" msgstr ""
" -exclude: dient zum Ausschluss ausgewählter Server (Platzhalter \"*\" kann " " -exclude: dient zum Ausschluss ausgewählter Server (Platzhalter \"*\" kann "
"verwendet werden)\n" "verwendet werden)\n"
" -include: findet Anwendung für ausgewählte Server (Platzhalter \"*\" kann " " -include: findet Anwendung für ausgewählte Server (Platzhalter \"*\" kann "
"verwendet werden)\n" "verwendet werden)\n"
" command: Befehl der ausgeführt werden soll\n" " command: Befehl der ausgeführt werden soll\n"
"arguments: Argumente für Befehl (Variablen die genutzt werden können und " "\n"
"durch den entsprechenden Wert ersetzt werden: $nick, $channel und $server)\n" "Argumente und Befehl werden evaluiert (siehe /help eval), folgende Variablen "
"können genutzt werden:\n"
" $server Name des Servers\n"
" $nick Nickname der auf dem Server genutzt wird\n"
" ${irc_server.xxx} Variable xxx von Server\n"
"\n" "\n"
"Beispiele:\n" "Beispiele:\n"
" ändere den Nick auf allen Servern:\n" " ändere den Nick auf allen Servern:\n"
" /allserv nick newnick\n" " /allserv /nick newnick\n"
" setzt den Status, auf allen Servern, auf abwesend:\n" " setzt den Status, auf allen Servern, auf abwesend:\n"
" /allserv away I'm away\n" " /allserv /away I'm away\n"
" führt ein whois mit meinem nick auf allen Servern aus:\n" " führt ein whois mit meinem nick auf allen Servern aus:\n"
" /allserv whois $nick" " /allserv /whois $nick"
msgid "ban nicks or hosts" msgid "ban nicks or hosts"
msgstr "Nicknamen oder Hosts sperren/verbannen" msgstr "Nicknamen oder Hosts sperren/verbannen"
@@ -11218,6 +11267,13 @@ msgid_plural "voices"
msgstr[0] "ge-voice-ter" msgstr[0] "ge-voice-ter"
msgstr[1] "ge-voice-te" msgstr[1] "ge-voice-te"
#. TRANSLATORS: number of "normal" nicks on a channel (ie no op/voice), for example: "56 normals"
#, c-format
msgid "%s%s%d%s normal"
msgid_plural "%s%s%d%s normals"
msgstr[0] "%s%s%d%s normal"
msgstr[1] "%s%s%d%s normale"
#, c-format #, c-format
msgid "%sChannel %s%s%s: %s%d%s %s %s(%s%s)" msgid "%sChannel %s%s%s: %s%d%s %s %s(%s%s)"
msgstr "%sChannel %s%s%s: %s%d%s %s %s(%s%s)" msgstr "%sChannel %s%s%s: %s%d%s %s %s(%s%s)"
@@ -12188,6 +12244,18 @@ msgstr "RGB,limit (Obergrenze ist optional und ist Standardmäßig 256)"
msgid "get nick color code" msgid "get nick color code"
msgstr "zeigt Farbecode des Nick" msgstr "zeigt Farbecode des Nick"
msgid ""
"nickname;colors (colors is an optional comma-separated list of colors to "
"use; background is allowed for a color with format text:background; if "
"colors is present, WeeChat options with nick colors and forced nick colors "
"are ignored)"
msgstr ""
"Nickname;Farben (Farben ist eine optionale Kommata getrennte Liste von "
"Farben die genutzt werden sollen; wenn eine Hintergrundfarbe genutzt werden "
"muss das Format wie folgt aussehen Text:Hintergrund; sind die Farben schon "
"vorhanden, werden die WeeChat Optionen für Nickfarben und erzwungene "
"Nickfarben ignoriert)"
msgid "get nick color name" msgid "get nick color name"
msgstr "zeigt Farbnamen des Nick" msgstr "zeigt Farbnamen des Nick"
@@ -13606,6 +13674,14 @@ msgstr "Skripten"
msgid "Script manager" msgid "Script manager"
msgstr "Skriptmanager" msgstr "Skriptmanager"
#, c-format
msgid ""
"%s%s: download of scripts is disabled by default; see /help script.scripts."
"download_enabled"
msgstr ""
"%s%s: Das Herunterladen von Skripten ist standardmäßig deaktiviert. siehe / "
"help script.scripts.download_enabled"
msgid "WeeChat script manager" msgid "WeeChat script manager"
msgstr "WeeChat Skriptmanager" msgstr "WeeChat Skriptmanager"
@@ -13981,6 +14057,20 @@ msgstr ""
"Ablaufdatum des lokalen Caches, in Minuten (-1 = ohne Ablaufdatum, 0 = " "Ablaufdatum des lokalen Caches, in Minuten (-1 = ohne Ablaufdatum, 0 = "
"umgehend)" "umgehend)"
msgid ""
"enable download of files from the scripts repository when the /script "
"command is used (list of scripts and scripts themselves); the list of "
"scripts is downloaded from the URL specified in the option script.scripts."
"url; WeeChat will sometimes download again the list of scripts when you use "
"the /script command, even if you don't install a script"
msgstr ""
"Aktivieren Sie den Download von Dateien aus dem Skript-Repository, wenn der "
"Befehl /script verwendet wird (Liste der Skripten und Skripten selbst). Die "
"Liste der Skripten wird von der in der Option script.scripts.url angegebenen "
"URL heruntergeladen. WeeChat lädt manchmal die Liste der Skripten erneut "
"herunter, wenn Sie den Befehl /script verwenden, auch wenn Sie kein Skript "
"installieren"
msgid "timeout (in seconds) for download of scripts and list of scripts" msgid "timeout (in seconds) for download of scripts and list of scripts"
msgstr "" msgstr ""
"Zeitüberschreitung (in Sekunden) beim herunterladen von Skripten und der " "Zeitüberschreitung (in Sekunden) beim herunterladen von Skripten und der "
+100 -37
View File
@@ -22,7 +22,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: 2020-06-21 18:56+0200\n" "POT-Creation-Date: 2020-10-11 16:22+0200\n"
"PO-Revision-Date: 2020-04-28 16:40+0200\n" "PO-Revision-Date: 2020-04-28 16:40+0200\n"
"Last-Translator: Elián Hanisch <lambdae2@gmail.com>\n" "Last-Translator: Elián Hanisch <lambdae2@gmail.com>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n" "Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -4914,10 +4914,9 @@ msgstr "Depurado para modo cursor activado (%s)"
msgid "verbose" msgid "verbose"
msgstr "detallado" msgstr "detallado"
#, fuzzy
msgid "normal" msgid "normal"
msgid_plural "normals" msgstr "normal"
msgstr[0] "normal"
msgstr[1] "normales"
msgid "Debug disabled for cursor mode" msgid "Debug disabled for cursor mode"
msgstr "Depurado para el modo cursor desactivado" msgstr "Depurado para el modo cursor desactivado"
@@ -5058,7 +5057,7 @@ msgid ""
" alias /split to split window horizontally:\n" " alias /split to split window horizontally:\n"
" /alias add split /window splith\n" " /alias add split /window splith\n"
" alias /hello to say \"hello\" on all channels but not on #weechat:\n" " alias /hello to say \"hello\" on all channels but not on #weechat:\n"
" /alias add hello /allchan -exclude=#weechat msg * hello\n" " /alias add hello /allchan -exclude=#weechat hello\n"
" alias /forcejoin to send IRC command \"forcejoin\" with completion of /" " alias /forcejoin to send IRC command \"forcejoin\" with completion of /"
"sajoin:\n" "sajoin:\n"
" /alias addcompletion %%sajoin forcejoin /quote forcejoin" " /alias addcompletion %%sajoin forcejoin /quote forcejoin"
@@ -5504,11 +5503,11 @@ msgstr "ejecuta un comando silenciosamente"
msgid "" msgid ""
"-list || [-sh|-nosh] [-bg|-nobg] [-stdin|-nostdin] [-buffer <name>] [-l|-o|-" "-list || [-sh|-nosh] [-bg|-nobg] [-stdin|-nostdin] [-buffer <name>] [-l|-o|-"
"n|-nf] [-cl|-nocl] [-sw|-nosw] [-ln|-noln] [-flush|-noflush] [-color ansi|" "oc|-n|-nf] [-oerr] [-cl|-nocl] [-sw|-nosw] [-ln|-noln] [-flush|-noflush] [-"
"auto|irc|weechat|strip] [-rc|-norc] [-timeout <timeout>] [-name <name>] [-" "color ansi|auto|irc|weechat|strip] [-rc|-norc] [-timeout <timeout>] [-name "
"pipe <command>] [-hsignal <name>] <command> || -in <id> <text> || -inclose " "<name>] [-pipe <command>] [-hsignal <name>] <command> || -in <id> <text> || -"
"<id> [<text>] || -signal <id> <signal> || -kill <id> || -killall || -set " "inclose <id> [<text>] || -signal <id> <signal> || -kill <id> || -killall || -"
"<id> <property> <value> || -del <id>|-all [<id>...]" "set <id> <property> <value> || -del <id>|-all [<id>...]"
msgstr "" msgstr ""
msgid "" msgid ""
@@ -5537,6 +5536,8 @@ msgid ""
" -nf: display output of command in a new buffer with free content (no " " -nf: display output of command in a new buffer with free content (no "
"word-wrap, no limit on number of lines) (not compatible with options -bg/-" "word-wrap, no limit on number of lines) (not compatible with options -bg/-"
"pipe/-hsignal)\n" "pipe/-hsignal)\n"
" -oerr: also send stderr (error output) to the buffer (can be used only "
"with options -o and -oc)\n"
" -cl: clear the new buffer before displaying output\n" " -cl: clear the new buffer before displaying output\n"
" -nocl: append to the new buffer without clear (default)\n" " -nocl: append to the new buffer without clear (default)\n"
" -sw: switch to the output buffer (default)\n" " -sw: switch to the output buffer (default)\n"
@@ -5933,6 +5934,18 @@ msgstr ""
msgid "configuration files, sections, options and words of options" msgid "configuration files, sections, options and words of options"
msgstr "opciones de configuración" msgstr "opciones de configuración"
#, fuzzy
msgid ""
"comma separated list of options to automatically refresh on the fset buffer "
"(if opened); \"*\" means all options (recommended), a name beginning with \"!"
"\" is a negative value to prevent an option to be refreshed, wildcard \"*\" "
"is allowed in names (example: \"*,!plugin.section.*\")"
msgstr ""
"lista de plugins separados por comas para cargar automáticamente al iniciar, "
"\"*\" significa todos los plugins encontrados, un nombre empezando con \"!\" "
"previene que el plugin se cargue, nombres pueden empezar o terminar con \"*"
"\" para indicar varios plugins (ejemplo: \"*\" o \"*,!lua,!tcl\")"
msgid "" msgid ""
"automatically unmark all options after an action on marked options or after " "automatically unmark all options after an action on marked options or after "
"a refresh" "a refresh"
@@ -6737,8 +6750,8 @@ msgstr ""
#, fuzzy #, fuzzy
msgid "" msgid ""
"[-current] [-exclude=<channel>[,<channel>...]] <command> [<arguments>] || [-" "[-current] [-exclude=<channel>[,<channel>...]] <command> || [-current] -"
"current] -include=<channel>[,<channel>...] <command> [<arguments>]" "include=<channel>[,<channel>...] <command>"
msgstr "[-current] [-exclude=<canal>[,<canal>...]] <comando> [<argumentos>]" msgstr "[-current] [-exclude=<canal>[,<canal>...]] <comando> [<argumentos>]"
#, fuzzy #, fuzzy
@@ -6746,20 +6759,27 @@ msgid ""
" -current: execute command for channels of current server only\n" " -current: execute command for channels of current server only\n"
" -exclude: exclude some channels (wildcard \"*\" is allowed)\n" " -exclude: exclude some channels (wildcard \"*\" is allowed)\n"
" -include: include only some channels (wildcard \"*\" is allowed)\n" " -include: include only some channels (wildcard \"*\" is allowed)\n"
" command: command to execute\n" " command: command to execute (or text to send to buffer if command does not "
"arguments: arguments for command (special variables $nick, $channel and " "start with '/')\n"
"$server are replaced by their value)\n" "\n"
"Command and arguments are evaluated (see /help eval), the following "
"variables are replaced:\n"
" $server server name\n"
" $channel channel name\n"
" $nick nick on server\n"
" ${irc_server.xxx} variable xxx in server\n"
" ${irc_channel.xxx} variable xxx in channel\n"
"\n" "\n"
"Examples:\n" "Examples:\n"
" execute '/me is testing' on all channels:\n" " execute '/me is testing' on all channels:\n"
" /allchan me is testing\n" " /allchan /me is testing\n"
" say 'hello' everywhere but not on #weechat:\n" " say 'hello' everywhere but not on #weechat:\n"
" /allchan -exclude=#weechat msg * hello\n" " /allchan -exclude=#weechat hello\n"
" say 'hello' everywhere but not on #weechat and channels beginning with " " say 'hello' everywhere but not on #weechat and channels beginning with "
"#linux:\n" "#linux:\n"
" /allchan -exclude=#weechat,#linux* msg * hello\n" " /allchan -exclude=#weechat,#linux* hello\n"
" say 'hello' on all channels beginning with #linux:\n" " say 'hello' on all channels beginning with #linux:\n"
" /allchan -include=#linux* msg * hello" " /allchan -include=#linux* hello"
msgstr "" msgstr ""
" -current: ejecuta comando para los canales del servidor actual solamente\n" " -current: ejecuta comando para los canales del servidor actual solamente\n"
" -exclude: excluye algunos canales ('*' está permitido al principio o final " " -exclude: excluye algunos canales ('*' está permitido al principio o final "
@@ -6783,8 +6803,8 @@ msgstr ""
#, fuzzy #, fuzzy
msgid "" msgid ""
"[-current] [-exclude=<nick>[,<nick>...]] <command> [<arguments>] || [-" "[-current] [-exclude=<nick>[,<nick>...]] <command> || [-current] -"
"current] -include=<nick>[,<nick>...] <command> [<arguments>]" "include=<nick>[,<nick>...] <command>"
msgstr "[-current] [-exclude=<canal>[,<canal>...]] <comando> [<argumentos>]" msgstr "[-current] [-exclude=<canal>[,<canal>...]] <comando> [<argumentos>]"
#, fuzzy #, fuzzy
@@ -6792,21 +6812,28 @@ msgid ""
" -current: execute command for private buffers of current server only\n" " -current: execute command for private buffers of current server only\n"
" -exclude: exclude some nicks (wildcard \"*\" is allowed)\n" " -exclude: exclude some nicks (wildcard \"*\" is allowed)\n"
" -include: include only some nicks (wildcard \"*\" is allowed)\n" " -include: include only some nicks (wildcard \"*\" is allowed)\n"
" command: command to execute\n" " command: command to execute (or text to send to buffer if command does not "
"arguments: arguments for command (special variables $nick, $channel and " "start with '/')\n"
"$server are replaced by their value)\n" "\n"
"Command and arguments are evaluated (see /help eval), the following "
"variables are replaced:\n"
" $server server name\n"
" $channel channel name\n"
" $nick nick on server\n"
" ${irc_server.xxx} variable xxx in server\n"
" ${irc_channel.xxx} variable xxx in channel\n"
"\n" "\n"
"Examples:\n" "Examples:\n"
" execute '/me is testing' on all private buffers:\n" " execute '/me is testing' on all private buffers:\n"
" /allpv me is testing\n" " /allpv /me is testing\n"
" say 'hello' everywhere but not for nick foo:\n" " say 'hello' everywhere but not for nick foo:\n"
" /allpv -exclude=foo msg * hello\n" " /allpv -exclude=foo hello\n"
" say 'hello' everywhere but not for nick foo and nicks beginning with bar:\n" " say 'hello' everywhere but not for nick foo and nicks beginning with bar:\n"
" /allpv -exclude=foo,bar* msg * hello\n" " /allpv -exclude=foo,bar* hello\n"
" say 'hello' for all nicks beginning with bar:\n" " say 'hello' for all nicks beginning with bar:\n"
" /allpv -include=bar* msg * hello\n" " /allpv -include=bar* hello\n"
" close all private buffers:\n" " close all private buffers:\n"
" /allpv close" " /allpv /close"
msgstr "" msgstr ""
" -current: ejecuta comando para los canales del servidor actual solamente\n" " -current: ejecuta comando para los canales del servidor actual solamente\n"
" -exclude: excluye algunos canales ('*' está permitido al principio o final " " -exclude: excluye algunos canales ('*' está permitido al principio o final "
@@ -6828,25 +6855,30 @@ msgstr "ejecuta un comando en todos los servidores conectados"
#, fuzzy #, fuzzy
msgid "" msgid ""
"[-exclude=<server>[,<server>...]] <command> [<arguments>] || -" "[-exclude=<server>[,<server>...]] <command> || -include=<server>[,"
"include=<server>[,<server>...] <command> [<arguments>]" "<server>...] <command>"
msgstr "[-exclude=<servidor>[,<servidor>...]] <comando> [<argumentos>]" msgstr "[-exclude=<servidor>[,<servidor>...]] <comando> [<argumentos>]"
#, fuzzy #, fuzzy
msgid "" msgid ""
" -exclude: exclude some servers (wildcard \"*\" is allowed)\n" " -exclude: exclude some servers (wildcard \"*\" is allowed)\n"
" -include: include only some servers (wildcard \"*\" is allowed)\n" " -include: include only some servers (wildcard \"*\" is allowed)\n"
" command: command to execute\n" " command: command to execute (or text to send to buffer if command does not "
"arguments: arguments for command (special variables $nick, $channel and " "start with '/')\n"
"$server are replaced by their value)\n" "\n"
"Command and arguments are evaluated (see /help eval), the following "
"variables are replaced:\n"
" $server server name\n"
" $nick nick on server\n"
" ${irc_server.xxx} variable xxx in server\n"
"\n" "\n"
"Examples:\n" "Examples:\n"
" change nick on all servers:\n" " change nick on all servers:\n"
" /allserv nick newnick\n" " /allserv /nick newnick\n"
" set away on all servers:\n" " set away on all servers:\n"
" /allserv away I'm away\n" " /allserv /away I'm away\n"
" do a whois on my nick on all servers:\n" " do a whois on my nick on all servers:\n"
" /allserv whois $nick" " /allserv /whois $nick"
msgstr "" msgstr ""
" -exclude: excluye algunos servidores ('*' está permitido al principio o " " -exclude: excluye algunos servidores ('*' está permitido al principio o "
"final del nombre del servidor, para excluir varios servidores)\n" "final del nombre del servidor, para excluir varios servidores)\n"
@@ -9675,6 +9707,13 @@ msgid_plural "voices"
msgstr[0] "voz" msgstr[0] "voz"
msgstr[1] "voces" msgstr[1] "voces"
#. TRANSLATORS: number of "normal" nicks on a channel (ie no op/voice), for example: "56 normals"
#, c-format
msgid "%s%s%d%s normal"
msgid_plural "%s%s%d%s normals"
msgstr[0] ""
msgstr[1] ""
# dunno what reop means # dunno what reop means
#, fuzzy, c-format #, fuzzy, c-format
msgid "%sChannel %s%s%s: %s%d%s %s %s(%s%s)" msgid "%sChannel %s%s%s: %s%d%s %s %s(%s%s)"
@@ -10607,6 +10646,16 @@ msgstr ""
msgid "get nick color code" msgid "get nick color code"
msgstr "obtiene el código del color del apodo" msgstr "obtiene el código del color del apodo"
#, fuzzy
msgid ""
"nickname;colors (colors is an optional comma-separated list of colors to "
"use; background is allowed for a color with format text:background; if "
"colors is present, WeeChat options with nick colors and forced nick colors "
"are ignored)"
msgstr ""
"color para los apodos (lista de colores separadas por comas, color de fondo "
"es permitido siguiendo el formato \"fg:bg\", por ejemplo: \"lightred:blue\")"
msgid "get nick color name" msgid "get nick color name"
msgstr "obtiene el nombre del color del apodo" msgstr "obtiene el nombre del color del apodo"
@@ -11911,6 +11960,12 @@ msgstr ""
msgid "Script manager" msgid "Script manager"
msgstr "Administración de scripts" msgstr "Administración de scripts"
#, c-format
msgid ""
"%s%s: download of scripts is disabled by default; see /help script.scripts."
"download_enabled"
msgstr ""
#, fuzzy #, fuzzy
msgid "WeeChat script manager" msgid "WeeChat script manager"
msgstr "Administrador de scripts de WeeChat" msgstr "Administrador de scripts de WeeChat"
@@ -12162,6 +12217,14 @@ msgid ""
"expire)" "expire)"
msgstr "" msgstr ""
msgid ""
"enable download of files from the scripts repository when the /script "
"command is used (list of scripts and scripts themselves); the list of "
"scripts is downloaded from the URL specified in the option script.scripts."
"url; WeeChat will sometimes download again the list of scripts when you use "
"the /script command, even if you don't install a script"
msgstr ""
#, fuzzy #, fuzzy
msgid "timeout (in seconds) for download of scripts and list of scripts" msgid "timeout (in seconds) for download of scripts and list of scripts"
msgstr "" msgstr ""
+163 -71
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: 2020-06-21 18:56+0200\n" "POT-Creation-Date: 2020-10-11 16:22+0200\n"
"PO-Revision-Date: 2020-06-21 18:57+0200\n" "PO-Revision-Date: 2020-10-11 16:24+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"
@@ -5557,9 +5557,7 @@ msgid "verbose"
msgstr "verbeux" msgstr "verbeux"
msgid "normal" msgid "normal"
msgid_plural "normals" msgstr "normal"
msgstr[0] "normal"
msgstr[1] "normaux"
msgid "Debug disabled for cursor mode" msgid "Debug disabled for cursor mode"
msgstr "Debug désactivé pour le mode curseur" msgstr "Debug désactivé pour le mode curseur"
@@ -5699,7 +5697,7 @@ msgid ""
" alias /split to split window horizontally:\n" " alias /split to split window horizontally:\n"
" /alias add split /window splith\n" " /alias add split /window splith\n"
" alias /hello to say \"hello\" on all channels but not on #weechat:\n" " alias /hello to say \"hello\" on all channels but not on #weechat:\n"
" /alias add hello /allchan -exclude=#weechat msg * hello\n" " /alias add hello /allchan -exclude=#weechat hello\n"
" alias /forcejoin to send IRC command \"forcejoin\" with completion of /" " alias /forcejoin to send IRC command \"forcejoin\" with completion of /"
"sajoin:\n" "sajoin:\n"
" /alias addcompletion %%sajoin forcejoin /quote forcejoin" " /alias addcompletion %%sajoin forcejoin /quote forcejoin"
@@ -5733,7 +5731,7 @@ msgstr ""
" /alias add split /window splith\n" " /alias add split /window splith\n"
" alias /hello pour dire \"hello\" sur tous les canaux mais pas sur " " alias /hello pour dire \"hello\" sur tous les canaux mais pas sur "
"#weechat :\n" "#weechat :\n"
" /alias add hello /allchan -exclude=#weechat msg * hello\n" " /alias add hello /allchan -exclude=#weechat hello\n"
" alias /forcejoin pour envoyer la commande IRC \"forcejoin\" avec la " " alias /forcejoin pour envoyer la commande IRC \"forcejoin\" avec la "
"complétion de /sajoin :\n" "complétion de /sajoin :\n"
" /alias addcompletion %%sajoin forcejoin /quote forcejoin" " /alias addcompletion %%sajoin forcejoin /quote forcejoin"
@@ -6283,18 +6281,18 @@ msgstr "exécuter des commandes externes"
msgid "" msgid ""
"-list || [-sh|-nosh] [-bg|-nobg] [-stdin|-nostdin] [-buffer <name>] [-l|-o|-" "-list || [-sh|-nosh] [-bg|-nobg] [-stdin|-nostdin] [-buffer <name>] [-l|-o|-"
"n|-nf] [-cl|-nocl] [-sw|-nosw] [-ln|-noln] [-flush|-noflush] [-color ansi|" "oc|-n|-nf] [-oerr] [-cl|-nocl] [-sw|-nosw] [-ln|-noln] [-flush|-noflush] [-"
"auto|irc|weechat|strip] [-rc|-norc] [-timeout <timeout>] [-name <name>] [-" "color ansi|auto|irc|weechat|strip] [-rc|-norc] [-timeout <timeout>] [-name "
"pipe <command>] [-hsignal <name>] <command> || -in <id> <text> || -inclose " "<name>] [-pipe <command>] [-hsignal <name>] <command> || -in <id> <text> || -"
"<id> [<text>] || -signal <id> <signal> || -kill <id> || -killall || -set " "inclose <id> [<text>] || -signal <id> <signal> || -kill <id> || -killall || -"
"<id> <property> <value> || -del <id>|-all [<id>...]" "set <id> <property> <value> || -del <id>|-all [<id>...]"
msgstr "" msgstr ""
"-list || [-sh|-nosh] [-bg|-nobg] [-stdin|-nostdin] [-buffer <nom>] [-l|-o|-" "-list || [-sh|-nosh] [-bg|-nobg] [-stdin|-nostdin] [-buffer <nom>] [-l|-o|-"
"n|-nf] [-cl|-nocl] [-sw|-nosw] [-ln|-noln] |-flush|-noflush] [-color ansi|" "oc|-n|-nf] [-oerr] [-cl|-nocl] [-sw|-nosw] [-ln|-noln] |-flush|-noflush] [-"
"auto|irc|weechat|strip] [-rc|-norc] [-timeout <délai>] [-name <nom>] [-pipe " "color ansi|auto|irc|weechat|strip] [-rc|-norc] [-timeout <délai>] [-name "
"<commande>] [-hsignal <nom>] <commande> || -in <id> <texte> || -inclose <id> " "<nom>] [-pipe <commande>] [-hsignal <nom>] <commande> || -in <id> <texte> || "
"[<texte>] || -signal <id> <signal> || -kill <id> || -killall || -set <id> " "-inclose <id> [<texte>] || -signal <id> <signal> || -kill <id> || -killall "
"<propriété> <valeur> || -del <id>|-all [<id>...]" "|| -set <id> <propriété> <valeur> || -del <id>|-all [<id>...]"
msgid "" msgid ""
" -list: list commands\n" " -list: list commands\n"
@@ -6322,6 +6320,8 @@ msgid ""
" -nf: display output of command in a new buffer with free content (no " " -nf: display output of command in a new buffer with free content (no "
"word-wrap, no limit on number of lines) (not compatible with options -bg/-" "word-wrap, no limit on number of lines) (not compatible with options -bg/-"
"pipe/-hsignal)\n" "pipe/-hsignal)\n"
" -oerr: also send stderr (error output) to the buffer (can be used only "
"with options -o and -oc)\n"
" -cl: clear the new buffer before displaying output\n" " -cl: clear the new buffer before displaying output\n"
" -nocl: append to the new buffer without clear (default)\n" " -nocl: append to the new buffer without clear (default)\n"
" -sw: switch to the output buffer (default)\n" " -sw: switch to the output buffer (default)\n"
@@ -6408,6 +6408,8 @@ msgstr ""
" -nf : afficher la sortie de la commande dans un nouveau tampon avec " " -nf : afficher la sortie de la commande dans un nouveau tampon avec "
"contenu libre (pas de coupure des mots, pas de limite sur le nombre de " "contenu libre (pas de coupure des mots, pas de limite sur le nombre de "
"lignes) (non compatible avec les options -bg/-pipe/-hsignal)\n" "lignes) (non compatible avec les options -bg/-pipe/-hsignal)\n"
" -oerr : envoyer aussi stderr (sortie d'erreur) au tampon (peut être "
"utilisé seulement avec les options -o et -oc)\n"
" -cl : effacer le nouveau tampon avant d'afficher la sortie\n" " -cl : effacer le nouveau tampon avant d'afficher la sortie\n"
" -nocl : ajouter au nouveau tampon sans effacer (par défaut)\n" " -nocl : ajouter au nouveau tampon sans effacer (par défaut)\n"
" -sw : basculer vers le tampon de sortie (par défaut)\n" " -sw : basculer vers le tampon de sortie (par défaut)\n"
@@ -7048,6 +7050,18 @@ msgstr ""
msgid "configuration files, sections, options and words of options" msgid "configuration files, sections, options and words of options"
msgstr "fichiers de configuration, section, options et mots des options" msgstr "fichiers de configuration, section, options et mots des options"
msgid ""
"comma separated list of options to automatically refresh on the fset buffer "
"(if opened); \"*\" means all options (recommended), a name beginning with \"!"
"\" is a negative value to prevent an option to be refreshed, wildcard \"*\" "
"is allowed in names (example: \"*,!plugin.section.*\")"
msgstr ""
"liste des options à rafraichir automatiquement sur le tampon fset (s'il est "
"ouvert) ; \"*\" signifie toutes les options (recommandé), un nom commençant "
"par \"!\" est une valeur négative pour empêcher une option d'être "
"rafraichie, le caractère joker \"*\" est autorisé dans les noms (exemple : "
"\"*,!plugin.section.*\")"
msgid "" msgid ""
"automatically unmark all options after an action on marked options or after " "automatically unmark all options after an action on marked options or after "
"a refresh" "a refresh"
@@ -7855,30 +7869,37 @@ msgstr ""
"exécuter une commande sur tous les canaux de tous les serveurs connectés" "exécuter une commande sur tous les canaux de tous les serveurs connectés"
msgid "" msgid ""
"[-current] [-exclude=<channel>[,<channel>...]] <command> [<arguments>] || [-" "[-current] [-exclude=<channel>[,<channel>...]] <command> || [-current] -"
"current] -include=<channel>[,<channel>...] <command> [<arguments>]" "include=<channel>[,<channel>...] <command>"
msgstr "" msgstr ""
"[-current] [-exclude=<canal>[,<canal>...]] <commande> [<paramètres>] || [-" "[-current] [-exclude=<canal>[,<canal>...]] <commande> || [-current] [-"
"current] [-include=<canal>[,<canal>...]] <commande> [<paramètres>]" "include=<canal>[,<canal>...]] <commande>"
msgid "" msgid ""
" -current: execute command for channels of current server only\n" " -current: execute command for channels of current server only\n"
" -exclude: exclude some channels (wildcard \"*\" is allowed)\n" " -exclude: exclude some channels (wildcard \"*\" is allowed)\n"
" -include: include only some channels (wildcard \"*\" is allowed)\n" " -include: include only some channels (wildcard \"*\" is allowed)\n"
" command: command to execute\n" " command: command to execute (or text to send to buffer if command does not "
"arguments: arguments for command (special variables $nick, $channel and " "start with '/')\n"
"$server are replaced by their value)\n" "\n"
"Command and arguments are evaluated (see /help eval), the following "
"variables are replaced:\n"
" $server server name\n"
" $channel channel name\n"
" $nick nick on server\n"
" ${irc_server.xxx} variable xxx in server\n"
" ${irc_channel.xxx} variable xxx in channel\n"
"\n" "\n"
"Examples:\n" "Examples:\n"
" execute '/me is testing' on all channels:\n" " execute '/me is testing' on all channels:\n"
" /allchan me is testing\n" " /allchan /me is testing\n"
" say 'hello' everywhere but not on #weechat:\n" " say 'hello' everywhere but not on #weechat:\n"
" /allchan -exclude=#weechat msg * hello\n" " /allchan -exclude=#weechat hello\n"
" say 'hello' everywhere but not on #weechat and channels beginning with " " say 'hello' everywhere but not on #weechat and channels beginning with "
"#linux:\n" "#linux:\n"
" /allchan -exclude=#weechat,#linux* msg * hello\n" " /allchan -exclude=#weechat,#linux* hello\n"
" say 'hello' on all channels beginning with #linux:\n" " say 'hello' on all channels beginning with #linux:\n"
" /allchan -include=#linux* msg * hello" " /allchan -include=#linux* hello"
msgstr "" msgstr ""
" -current : exécuter la commande pour les canaux du serveur courant " " -current : exécuter la commande pour les canaux du serveur courant "
"seulement\n" "seulement\n"
@@ -7886,20 +7907,27 @@ msgstr ""
"autorisé)\n" "autorisé)\n"
" -include : inclure seulement certains canaux (le caractère joker \"*\" est " " -include : inclure seulement certains canaux (le caractère joker \"*\" est "
"autorisé)\n" "autorisé)\n"
" commande : commande à exécuter\n" " commande : commande à exécuter (ou texte à envoyer au tampon si la "
"paramètres : paramètres pour la commande (les variables spéciales $nick, " "commande ne commence pas par '/')\n"
"$channel et $server sont remplacées par leur valeur)\n" "\n"
"La commande et les paramètres sont évalués (voir /help eval), les variables "
"suivantes sont remplacées :\n"
" $server nom du serveur\n"
" $channel nom du canal\n"
" $nick pseudo sur le serveur\n"
" ${irc_server.xxx} variable xxx dans le serveur\n"
" ${irc_channel.xxx} variable xxx dans le canal\n"
"\n" "\n"
"Exemples :\n" "Exemples :\n"
" exécuter '/me teste' sur tous les canaux :\n" " exécuter '/me teste' sur tous les canaux :\n"
" /allchan me teste\n" " /allchan /me teste\n"
" dire 'bonjour' partout sauf sur #weechat :\n" " dire 'bonjour' partout sauf sur #weechat :\n"
" /allchan -exclude=#weechat msg * bonjour\n" " /allchan -exclude=#weechat bonjour\n"
" dire 'bonjour' partout sauf sur #weechat et les canaux commençant par " " dire 'bonjour' partout sauf sur #weechat et les canaux commençant par "
"#linux :\n" "#linux :\n"
" /allchan -exclude=#weechat,#linux* msg * bonjour\n" " /allchan -exclude=#weechat,#linux* bonjour\n"
" dire 'bonjour' sur tous les canaux commençant par #linux :\n" " dire 'bonjour' sur tous les canaux commençant par #linux :\n"
" /allchan -include=#linux* msg * bonjour" " /allchan -include=#linux* bonjour"
msgid "execute a command on all private buffers of all connected servers" msgid "execute a command on all private buffers of all connected servers"
msgstr "" msgstr ""
@@ -7907,31 +7935,38 @@ msgstr ""
"connectés" "connectés"
msgid "" msgid ""
"[-current] [-exclude=<nick>[,<nick>...]] <command> [<arguments>] || [-" "[-current] [-exclude=<nick>[,<nick>...]] <command> || [-current] -"
"current] -include=<nick>[,<nick>...] <command> [<arguments>]" "include=<nick>[,<nick>...] <command>"
msgstr "" msgstr ""
"[-current] [-exclude=<pseudo>[,<pseudo>...]] <commande> [<paramètres>] || [-" "[-current] [-exclude=<pseudo>[,<pseudo>...]] <commande> || [-current] [-"
"current] [-include=<pseudo>[,<pseudo>...]] <commande> [<paramètres>]" "include=<pseudo>[,<pseudo>...]] <commande>"
msgid "" msgid ""
" -current: execute command for private buffers of current server only\n" " -current: execute command for private buffers of current server only\n"
" -exclude: exclude some nicks (wildcard \"*\" is allowed)\n" " -exclude: exclude some nicks (wildcard \"*\" is allowed)\n"
" -include: include only some nicks (wildcard \"*\" is allowed)\n" " -include: include only some nicks (wildcard \"*\" is allowed)\n"
" command: command to execute\n" " command: command to execute (or text to send to buffer if command does not "
"arguments: arguments for command (special variables $nick, $channel and " "start with '/')\n"
"$server are replaced by their value)\n" "\n"
"Command and arguments are evaluated (see /help eval), the following "
"variables are replaced:\n"
" $server server name\n"
" $channel channel name\n"
" $nick nick on server\n"
" ${irc_server.xxx} variable xxx in server\n"
" ${irc_channel.xxx} variable xxx in channel\n"
"\n" "\n"
"Examples:\n" "Examples:\n"
" execute '/me is testing' on all private buffers:\n" " execute '/me is testing' on all private buffers:\n"
" /allpv me is testing\n" " /allpv /me is testing\n"
" say 'hello' everywhere but not for nick foo:\n" " say 'hello' everywhere but not for nick foo:\n"
" /allpv -exclude=foo msg * hello\n" " /allpv -exclude=foo hello\n"
" say 'hello' everywhere but not for nick foo and nicks beginning with bar:\n" " say 'hello' everywhere but not for nick foo and nicks beginning with bar:\n"
" /allpv -exclude=foo,bar* msg * hello\n" " /allpv -exclude=foo,bar* hello\n"
" say 'hello' for all nicks beginning with bar:\n" " say 'hello' for all nicks beginning with bar:\n"
" /allpv -include=bar* msg * hello\n" " /allpv -include=bar* hello\n"
" close all private buffers:\n" " close all private buffers:\n"
" /allpv close" " /allpv /close"
msgstr "" msgstr ""
" -current : exécuter la commande pour les tampons privés du serveur courant " " -current : exécuter la commande pour les tampons privés du serveur courant "
"seulement\n" "seulement\n"
@@ -7939,63 +7974,80 @@ msgstr ""
"autorisé)\n" "autorisé)\n"
" -include : inclure seulement certains pseudos (le caractère joker \"*\" " " -include : inclure seulement certains pseudos (le caractère joker \"*\" "
"est autorisé)\n" "est autorisé)\n"
" commande : commande à exécuter\n" " commande : commande à exécuter (ou texte à envoyer au tampon si la "
"paramètres : paramètres pour la commande (les variables spéciales $nick, " "commande ne commence pas par '/')\n"
"$channel et $server sont remplacées par leur valeur)\n" "\n"
"La commande et les paramètres sont évalués (voir /help eval), les variables "
"suivantes sont remplacées :\n"
" $server nom du serveur\n"
" $channel nom du canal\n"
" $nick pseudo sur le serveur\n"
" ${irc_server.xxx} variable xxx dans le serveur\n"
" ${irc_channel.xxx} variable xxx dans le canal\n"
"\n" "\n"
"Exemples :\n" "Exemples :\n"
" exécuter '/me teste' sur tous les tampons privés :\n" " exécuter '/me teste' sur tous les tampons privés :\n"
" /allpv me teste\n" " /allpv /me teste\n"
" dire 'bonjour' partout sauf sur pour le pseudo foo :\n" " dire 'bonjour' partout sauf sur pour le pseudo foo :\n"
" /allpv -exclude=foo msg * bonjour\n" " /allpv -exclude=foo bonjour\n"
" dire 'bonjour' partout sauf pour le pseudo foo et les pseudos commençant " " dire 'bonjour' partout sauf pour le pseudo foo et les pseudos commençant "
"par bar :\n" "par bar :\n"
" /allpv -exclude=foo,bar* msg * bonjour\n" " /allpv -exclude=foo,bar* bonjour\n"
" dire 'bonjour' pour tous les pseudos commençant par bar :\n" " dire 'bonjour' pour tous les pseudos commençant par bar :\n"
" /allpv -include=bar* msg * bonjour\n" " /allpv -include=bar* bonjour\n"
" fermer tous les tampons privés :\n" " fermer tous les tampons privés :\n"
" /allpv close" " /allpv /close"
msgid "execute a command on all connected servers" msgid "execute a command on all connected servers"
msgstr "exécuter une commande sur tous les serveurs connectés" msgstr "exécuter une commande sur tous les serveurs connectés"
msgid "" msgid ""
"[-exclude=<server>[,<server>...]] <command> [<arguments>] || -" "[-exclude=<server>[,<server>...]] <command> || -include=<server>[,"
"include=<server>[,<server>...] <command> [<arguments>]" "<server>...] <command>"
msgstr "" msgstr ""
"[-exclude=<serveur>[,<serveur>...]] <commande> [<paramètres>] || [-" "[-exclude=<serveur>[,<serveur>...]] <commande> || [-include=<serveur>[,"
"include=<serveur>[,<serveur>...]] <commande> [<paramètres>]" "<serveur>...]] <commande>"
msgid "" msgid ""
" -exclude: exclude some servers (wildcard \"*\" is allowed)\n" " -exclude: exclude some servers (wildcard \"*\" is allowed)\n"
" -include: include only some servers (wildcard \"*\" is allowed)\n" " -include: include only some servers (wildcard \"*\" is allowed)\n"
" command: command to execute\n" " command: command to execute (or text to send to buffer if command does not "
"arguments: arguments for command (special variables $nick, $channel and " "start with '/')\n"
"$server are replaced by their value)\n" "\n"
"Command and arguments are evaluated (see /help eval), the following "
"variables are replaced:\n"
" $server server name\n"
" $nick nick on server\n"
" ${irc_server.xxx} variable xxx in server\n"
"\n" "\n"
"Examples:\n" "Examples:\n"
" change nick on all servers:\n" " change nick on all servers:\n"
" /allserv nick newnick\n" " /allserv /nick newnick\n"
" set away on all servers:\n" " set away on all servers:\n"
" /allserv away I'm away\n" " /allserv /away I'm away\n"
" do a whois on my nick on all servers:\n" " do a whois on my nick on all servers:\n"
" /allserv whois $nick" " /allserv /whois $nick"
msgstr "" msgstr ""
" -exclude : exclure certains serveurs (le caractère joker \"*\" est " " -exclude : exclure certains serveurs (le caractère joker \"*\" est "
"autorisé)\n" "autorisé)\n"
" -include : inclure seulement certains serveurs (le caractère joker \"*\" " " -include : inclure seulement certains serveurs (le caractère joker \"*\" "
"est autorisé)\n" "est autorisé)\n"
" commande : commande à exécuter\n" " commande : commande à exécuter (ou texte à envoyer au tampon si la "
"paramètres : paramètres pour la commande (les variables spéciales $nick, " "commande ne commence pas par '/')\n"
"$channel et $server sont remplacées par leur valeur)\n" "\n"
"La commande et les paramètres sont évalués (voir /help eval), les variables "
"suivantes sont remplacées :\n"
" $server nom du serveur\n"
" $nick pseudo sur le serveur\n"
" ${irc_server.xxx} variable xxx dans le serveur\n"
"\n" "\n"
"Exemples :\n" "Exemples :\n"
" changer de pseudo sur tous les serveurs :\n" " changer de pseudo sur tous les serveurs :\n"
" /allserv nick newnick\n" " /allserv /nick newnick\n"
" positionner l'absence sur tous les serveurs :\n" " positionner l'absence sur tous les serveurs :\n"
" /allserv away Je suis absent\n" " /allserv /away Je suis absent\n"
" faire un whois sur mon pseudo sur tous les serveurs :\n" " faire un whois sur mon pseudo sur tous les serveurs :\n"
" /allserv whois $nick" " /allserv /whois $nick"
msgid "ban nicks or hosts" msgid "ban nicks or hosts"
msgstr "bannir des pseudos ou hôtes" msgstr "bannir des pseudos ou hôtes"
@@ -10964,6 +11016,13 @@ msgid_plural "voices"
msgstr[0] "voice" msgstr[0] "voice"
msgstr[1] "voices" msgstr[1] "voices"
#. TRANSLATORS: number of "normal" nicks on a channel (ie no op/voice), for example: "56 normals"
#, c-format
msgid "%s%s%d%s normal"
msgid_plural "%s%s%d%s normals"
msgstr[0] "%s%s%d%s normal"
msgstr[1] "%s%s%d%s normaux"
#, c-format #, c-format
msgid "%sChannel %s%s%s: %s%d%s %s %s(%s%s)" msgid "%sChannel %s%s%s: %s%d%s %s %s(%s%s)"
msgstr "%sCanal %s%s%s : %s%d%s %s %s(%s%s)" msgstr "%sCanal %s%s%s : %s%d%s %s %s(%s%s)"
@@ -11912,6 +11971,17 @@ msgstr "rgb,limite (la limite est optionnelle et vaut 256 par défaut)"
msgid "get nick color code" msgid "get nick color code"
msgstr "retourne le code couleur du pseudo" msgstr "retourne le code couleur du pseudo"
msgid ""
"nickname;colors (colors is an optional comma-separated list of colors to "
"use; background is allowed for a color with format text:background; if "
"colors is present, WeeChat options with nick colors and forced nick colors "
"are ignored)"
msgstr ""
"pseudo;couleurs (couleurs est une liste de couleurs facultative, séparée par "
"des virgules ; un fond est autorisé pour la couleur avec le format texte:"
"fond ; si couleurs est présent, les options WeeChat avec les couleurs de "
"pseudos et couleurs forcées de pseudos sons ignorées)"
msgid "get nick color name" msgid "get nick color name"
msgstr "retourne le nom de la couleur du pseudo" msgstr "retourne le nom de la couleur du pseudo"
@@ -13320,6 +13390,14 @@ msgstr "Scripts"
msgid "Script manager" msgid "Script manager"
msgstr "Gestionnaire de scripts" msgstr "Gestionnaire de scripts"
#, c-format
msgid ""
"%s%s: download of scripts is disabled by default; see /help script.scripts."
"download_enabled"
msgstr ""
"%s%s : le téléchargement des scripts est désactivé par défaut ; voir /help "
"script.scripts.download_enabled"
msgid "WeeChat script manager" msgid "WeeChat script manager"
msgstr "Gestionnaire de scripts WeeChat" msgstr "Gestionnaire de scripts WeeChat"
@@ -13681,6 +13759,20 @@ msgstr ""
"temps d'expiration du cache local, en minutes (-1 = n'expire jamais, 0 = " "temps d'expiration du cache local, en minutes (-1 = n'expire jamais, 0 = "
"expire toujours)" "expire toujours)"
msgid ""
"enable download of files from the scripts repository when the /script "
"command is used (list of scripts and scripts themselves); the list of "
"scripts is downloaded from the URL specified in the option script.scripts."
"url; WeeChat will sometimes download again the list of scripts when you use "
"the /script command, even if you don't install a script"
msgstr ""
"activer le téléchargement des fichiers depuis le dépôt des scripts lorsque "
"la commande /script est utilisée (liste des scripts et les scripts eux-"
"mêmes) ; la liste des scripts est téléchargée depuis l'URL spécifiée dans "
"l'option script.scripts.url ; WeeChat téléchargera parfois à nouveau la "
"liste des scripts quand vous utilisez la commande /script, même si vous "
"n'installez pas un script"
msgid "timeout (in seconds) for download of scripts and list of scripts" msgid "timeout (in seconds) for download of scripts and list of scripts"
msgstr "" msgstr ""
"délai d'attente maximum (en secondes) pour le téléchargement des scripts et " "délai d'attente maximum (en secondes) pour le téléchargement des scripts et "
+96 -37
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: 2020-06-21 18:56+0200\n" "POT-Creation-Date: 2020-10-11 16:22+0200\n"
"PO-Revision-Date: 2020-04-28 16:40+0200\n" "PO-Revision-Date: 2020-04-28 16:40+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"
@@ -4274,9 +4274,7 @@ msgstr ""
#, fuzzy #, fuzzy
msgid "normal" msgid "normal"
msgid_plural "normals" msgstr "normál"
msgstr[0] "normál"
msgstr[1] "normál"
msgid "Debug disabled for cursor mode" msgid "Debug disabled for cursor mode"
msgstr "" msgstr ""
@@ -4419,7 +4417,7 @@ msgid ""
" alias /split to split window horizontally:\n" " alias /split to split window horizontally:\n"
" /alias add split /window splith\n" " /alias add split /window splith\n"
" alias /hello to say \"hello\" on all channels but not on #weechat:\n" " alias /hello to say \"hello\" on all channels but not on #weechat:\n"
" /alias add hello /allchan -exclude=#weechat msg * hello\n" " /alias add hello /allchan -exclude=#weechat hello\n"
" alias /forcejoin to send IRC command \"forcejoin\" with completion of /" " alias /forcejoin to send IRC command \"forcejoin\" with completion of /"
"sajoin:\n" "sajoin:\n"
" /alias addcompletion %%sajoin forcejoin /quote forcejoin" " /alias addcompletion %%sajoin forcejoin /quote forcejoin"
@@ -4839,11 +4837,11 @@ msgstr "%s belső parancsok:\n"
msgid "" msgid ""
"-list || [-sh|-nosh] [-bg|-nobg] [-stdin|-nostdin] [-buffer <name>] [-l|-o|-" "-list || [-sh|-nosh] [-bg|-nobg] [-stdin|-nostdin] [-buffer <name>] [-l|-o|-"
"n|-nf] [-cl|-nocl] [-sw|-nosw] [-ln|-noln] [-flush|-noflush] [-color ansi|" "oc|-n|-nf] [-oerr] [-cl|-nocl] [-sw|-nosw] [-ln|-noln] [-flush|-noflush] [-"
"auto|irc|weechat|strip] [-rc|-norc] [-timeout <timeout>] [-name <name>] [-" "color ansi|auto|irc|weechat|strip] [-rc|-norc] [-timeout <timeout>] [-name "
"pipe <command>] [-hsignal <name>] <command> || -in <id> <text> || -inclose " "<name>] [-pipe <command>] [-hsignal <name>] <command> || -in <id> <text> || -"
"<id> [<text>] || -signal <id> <signal> || -kill <id> || -killall || -set " "inclose <id> [<text>] || -signal <id> <signal> || -kill <id> || -killall || -"
"<id> <property> <value> || -del <id>|-all [<id>...]" "set <id> <property> <value> || -del <id>|-all [<id>...]"
msgstr "" msgstr ""
msgid "" msgid ""
@@ -4872,6 +4870,8 @@ msgid ""
" -nf: display output of command in a new buffer with free content (no " " -nf: display output of command in a new buffer with free content (no "
"word-wrap, no limit on number of lines) (not compatible with options -bg/-" "word-wrap, no limit on number of lines) (not compatible with options -bg/-"
"pipe/-hsignal)\n" "pipe/-hsignal)\n"
" -oerr: also send stderr (error output) to the buffer (can be used only "
"with options -o and -oc)\n"
" -cl: clear the new buffer before displaying output\n" " -cl: clear the new buffer before displaying output\n"
" -nocl: append to the new buffer without clear (default)\n" " -nocl: append to the new buffer without clear (default)\n"
" -sw: switch to the output buffer (default)\n" " -sw: switch to the output buffer (default)\n"
@@ -5266,6 +5266,17 @@ msgstr ""
msgid "configuration files, sections, options and words of options" msgid "configuration files, sections, options and words of options"
msgstr "Nem található az opció\n" msgstr "Nem található az opció\n"
#, fuzzy
msgid ""
"comma separated list of options to automatically refresh on the fset buffer "
"(if opened); \"*\" means all options (recommended), a name beginning with \"!"
"\" is a negative value to prevent an option to be refreshed, wildcard \"*\" "
"is allowed in names (example: \"*,!plugin.section.*\")"
msgstr ""
"automatikusan betöltendő modulok vesszővel elválasztott listája, \"*\" "
"esetén az összes fellelt modul (az elnevezés lehet részleges, például a "
"\"perl\" elegendő \"libperl.so\" helyett)"
msgid "" msgid ""
"automatically unmark all options after an action on marked options or after " "automatically unmark all options after an action on marked options or after "
"a refresh" "a refresh"
@@ -6044,28 +6055,35 @@ msgstr "CTCP üzenet küldése az összes csatlakoztatott szerver összes szobá
#, fuzzy #, fuzzy
msgid "" msgid ""
"[-current] [-exclude=<channel>[,<channel>...]] <command> [<arguments>] || [-" "[-current] [-exclude=<channel>[,<channel>...]] <command> || [-current] -"
"current] -include=<channel>[,<channel>...] <command> [<arguments>]" "include=<channel>[,<channel>...] <command>"
msgstr "[alias_név [parancs [paraméterek]]]" msgstr "[alias_név [parancs [paraméterek]]]"
msgid "" msgid ""
" -current: execute command for channels of current server only\n" " -current: execute command for channels of current server only\n"
" -exclude: exclude some channels (wildcard \"*\" is allowed)\n" " -exclude: exclude some channels (wildcard \"*\" is allowed)\n"
" -include: include only some channels (wildcard \"*\" is allowed)\n" " -include: include only some channels (wildcard \"*\" is allowed)\n"
" command: command to execute\n" " command: command to execute (or text to send to buffer if command does not "
"arguments: arguments for command (special variables $nick, $channel and " "start with '/')\n"
"$server are replaced by their value)\n" "\n"
"Command and arguments are evaluated (see /help eval), the following "
"variables are replaced:\n"
" $server server name\n"
" $channel channel name\n"
" $nick nick on server\n"
" ${irc_server.xxx} variable xxx in server\n"
" ${irc_channel.xxx} variable xxx in channel\n"
"\n" "\n"
"Examples:\n" "Examples:\n"
" execute '/me is testing' on all channels:\n" " execute '/me is testing' on all channels:\n"
" /allchan me is testing\n" " /allchan /me is testing\n"
" say 'hello' everywhere but not on #weechat:\n" " say 'hello' everywhere but not on #weechat:\n"
" /allchan -exclude=#weechat msg * hello\n" " /allchan -exclude=#weechat hello\n"
" say 'hello' everywhere but not on #weechat and channels beginning with " " say 'hello' everywhere but not on #weechat and channels beginning with "
"#linux:\n" "#linux:\n"
" /allchan -exclude=#weechat,#linux* msg * hello\n" " /allchan -exclude=#weechat,#linux* hello\n"
" say 'hello' on all channels beginning with #linux:\n" " say 'hello' on all channels beginning with #linux:\n"
" /allchan -include=#linux* msg * hello" " /allchan -include=#linux* hello"
msgstr "" msgstr ""
#, fuzzy #, fuzzy
@@ -6074,29 +6092,36 @@ msgstr "CTCP üzenet küldése az összes csatlakoztatott szerver összes szobá
#, fuzzy #, fuzzy
msgid "" msgid ""
"[-current] [-exclude=<nick>[,<nick>...]] <command> [<arguments>] || [-" "[-current] [-exclude=<nick>[,<nick>...]] <command> || [-current] -"
"current] -include=<nick>[,<nick>...] <command> [<arguments>]" "include=<nick>[,<nick>...] <command>"
msgstr "[alias_név [parancs [paraméterek]]]" msgstr "[alias_név [parancs [paraméterek]]]"
msgid "" msgid ""
" -current: execute command for private buffers of current server only\n" " -current: execute command for private buffers of current server only\n"
" -exclude: exclude some nicks (wildcard \"*\" is allowed)\n" " -exclude: exclude some nicks (wildcard \"*\" is allowed)\n"
" -include: include only some nicks (wildcard \"*\" is allowed)\n" " -include: include only some nicks (wildcard \"*\" is allowed)\n"
" command: command to execute\n" " command: command to execute (or text to send to buffer if command does not "
"arguments: arguments for command (special variables $nick, $channel and " "start with '/')\n"
"$server are replaced by their value)\n" "\n"
"Command and arguments are evaluated (see /help eval), the following "
"variables are replaced:\n"
" $server server name\n"
" $channel channel name\n"
" $nick nick on server\n"
" ${irc_server.xxx} variable xxx in server\n"
" ${irc_channel.xxx} variable xxx in channel\n"
"\n" "\n"
"Examples:\n" "Examples:\n"
" execute '/me is testing' on all private buffers:\n" " execute '/me is testing' on all private buffers:\n"
" /allpv me is testing\n" " /allpv /me is testing\n"
" say 'hello' everywhere but not for nick foo:\n" " say 'hello' everywhere but not for nick foo:\n"
" /allpv -exclude=foo msg * hello\n" " /allpv -exclude=foo hello\n"
" say 'hello' everywhere but not for nick foo and nicks beginning with bar:\n" " say 'hello' everywhere but not for nick foo and nicks beginning with bar:\n"
" /allpv -exclude=foo,bar* msg * hello\n" " /allpv -exclude=foo,bar* hello\n"
" say 'hello' for all nicks beginning with bar:\n" " say 'hello' for all nicks beginning with bar:\n"
" /allpv -include=bar* msg * hello\n" " /allpv -include=bar* hello\n"
" close all private buffers:\n" " close all private buffers:\n"
" /allpv close" " /allpv /close"
msgstr "" msgstr ""
#, fuzzy #, fuzzy
@@ -6104,24 +6129,29 @@ msgid "execute a command on all connected servers"
msgstr "üzenet küldése az összes csatlakoztatott szerver összes szobájába" msgstr "üzenet küldése az összes csatlakoztatott szerver összes szobájába"
msgid "" msgid ""
"[-exclude=<server>[,<server>...]] <command> [<arguments>] || -" "[-exclude=<server>[,<server>...]] <command> || -include=<server>[,"
"include=<server>[,<server>...] <command> [<arguments>]" "<server>...] <command>"
msgstr "" msgstr ""
msgid "" msgid ""
" -exclude: exclude some servers (wildcard \"*\" is allowed)\n" " -exclude: exclude some servers (wildcard \"*\" is allowed)\n"
" -include: include only some servers (wildcard \"*\" is allowed)\n" " -include: include only some servers (wildcard \"*\" is allowed)\n"
" command: command to execute\n" " command: command to execute (or text to send to buffer if command does not "
"arguments: arguments for command (special variables $nick, $channel and " "start with '/')\n"
"$server are replaced by their value)\n" "\n"
"Command and arguments are evaluated (see /help eval), the following "
"variables are replaced:\n"
" $server server name\n"
" $nick nick on server\n"
" ${irc_server.xxx} variable xxx in server\n"
"\n" "\n"
"Examples:\n" "Examples:\n"
" change nick on all servers:\n" " change nick on all servers:\n"
" /allserv nick newnick\n" " /allserv /nick newnick\n"
" set away on all servers:\n" " set away on all servers:\n"
" /allserv away I'm away\n" " /allserv /away I'm away\n"
" do a whois on my nick on all servers:\n" " do a whois on my nick on all servers:\n"
" /allserv whois $nick" " /allserv /whois $nick"
msgstr "" msgstr ""
#, fuzzy #, fuzzy
@@ -8767,6 +8797,13 @@ msgid_plural "voices"
msgstr[0] "voice" msgstr[0] "voice"
msgstr[1] "voice" msgstr[1] "voice"
#. TRANSLATORS: number of "normal" nicks on a channel (ie no op/voice), for example: "56 normals"
#, c-format
msgid "%s%s%d%s normal"
msgid_plural "%s%s%d%s normals"
msgstr[0] ""
msgstr[1] ""
#, fuzzy, c-format #, fuzzy, c-format
msgid "%sChannel %s%s%s: %s%d%s %s %s(%s%s)" msgid "%sChannel %s%s%s: %s%d%s %s %s(%s%s)"
msgstr "%s szoba: %s> %s" msgstr "%s szoba: %s> %s"
@@ -9651,6 +9688,14 @@ msgstr ""
msgid "get nick color code" msgid "get nick color code"
msgstr "üzenetek színe" msgstr "üzenetek színe"
#, fuzzy
msgid ""
"nickname;colors (colors is an optional comma-separated list of colors to "
"use; background is allowed for a color with format text:background; if "
"colors is present, WeeChat options with nick colors and forced nick colors "
"are ignored)"
msgstr "idő színe a beszédablakban"
#, fuzzy #, fuzzy
msgid "get nick color name" msgid "get nick color name"
msgstr "üzenetek színe" msgstr "üzenetek színe"
@@ -10907,6 +10952,12 @@ msgstr ""
msgid "Script manager" msgid "Script manager"
msgstr "WeeChat szlogen" msgstr "WeeChat szlogen"
#, c-format
msgid ""
"%s%s: download of scripts is disabled by default; see /help script.scripts."
"download_enabled"
msgstr ""
#, fuzzy #, fuzzy
msgid "WeeChat script manager" msgid "WeeChat script manager"
msgstr "WeeChat szlogen" msgstr "WeeChat szlogen"
@@ -11170,6 +11221,14 @@ msgid ""
"expire)" "expire)"
msgstr "" msgstr ""
msgid ""
"enable download of files from the scripts repository when the /script "
"command is used (list of scripts and scripts themselves); the list of "
"scripts is downloaded from the URL specified in the option script.scripts."
"url; WeeChat will sometimes download again the list of scripts when you use "
"the /script command, even if you don't install a script"
msgstr ""
#, fuzzy #, fuzzy
msgid "timeout (in seconds) for download of scripts and list of scripts" msgid "timeout (in seconds) for download of scripts and list of scripts"
msgstr "SSL használata a a kapcsolathoz" msgstr "SSL használata a a kapcsolathoz"
+101 -37
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: 2020-06-21 18:56+0200\n" "POT-Creation-Date: 2020-10-11 16:22+0200\n"
"PO-Revision-Date: 2020-04-28 16:40+0200\n" "PO-Revision-Date: 2020-04-28 16:40+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"
@@ -5047,10 +5047,9 @@ msgstr "Debug abilitato per la modalità cursore (%s)"
msgid "verbose" msgid "verbose"
msgstr "dettagliato" msgstr "dettagliato"
#, fuzzy
msgid "normal" msgid "normal"
msgid_plural "normals" msgstr "normale"
msgstr[0] "normale"
msgstr[1] "normali"
msgid "Debug disabled for cursor mode" msgid "Debug disabled for cursor mode"
msgstr "Debug disabilitato per la modalità cursore" msgstr "Debug disabilitato per la modalità cursore"
@@ -5191,7 +5190,7 @@ msgid ""
" alias /split to split window horizontally:\n" " alias /split to split window horizontally:\n"
" /alias add split /window splith\n" " /alias add split /window splith\n"
" alias /hello to say \"hello\" on all channels but not on #weechat:\n" " alias /hello to say \"hello\" on all channels but not on #weechat:\n"
" /alias add hello /allchan -exclude=#weechat msg * hello\n" " /alias add hello /allchan -exclude=#weechat hello\n"
" alias /forcejoin to send IRC command \"forcejoin\" with completion of /" " alias /forcejoin to send IRC command \"forcejoin\" with completion of /"
"sajoin:\n" "sajoin:\n"
" /alias addcompletion %%sajoin forcejoin /quote forcejoin" " /alias addcompletion %%sajoin forcejoin /quote forcejoin"
@@ -5669,11 +5668,11 @@ msgstr "esegue un comando in silenzio"
msgid "" msgid ""
"-list || [-sh|-nosh] [-bg|-nobg] [-stdin|-nostdin] [-buffer <name>] [-l|-o|-" "-list || [-sh|-nosh] [-bg|-nobg] [-stdin|-nostdin] [-buffer <name>] [-l|-o|-"
"n|-nf] [-cl|-nocl] [-sw|-nosw] [-ln|-noln] [-flush|-noflush] [-color ansi|" "oc|-n|-nf] [-oerr] [-cl|-nocl] [-sw|-nosw] [-ln|-noln] [-flush|-noflush] [-"
"auto|irc|weechat|strip] [-rc|-norc] [-timeout <timeout>] [-name <name>] [-" "color ansi|auto|irc|weechat|strip] [-rc|-norc] [-timeout <timeout>] [-name "
"pipe <command>] [-hsignal <name>] <command> || -in <id> <text> || -inclose " "<name>] [-pipe <command>] [-hsignal <name>] <command> || -in <id> <text> || -"
"<id> [<text>] || -signal <id> <signal> || -kill <id> || -killall || -set " "inclose <id> [<text>] || -signal <id> <signal> || -kill <id> || -killall || -"
"<id> <property> <value> || -del <id>|-all [<id>...]" "set <id> <property> <value> || -del <id>|-all [<id>...]"
msgstr "" msgstr ""
msgid "" msgid ""
@@ -5702,6 +5701,8 @@ msgid ""
" -nf: display output of command in a new buffer with free content (no " " -nf: display output of command in a new buffer with free content (no "
"word-wrap, no limit on number of lines) (not compatible with options -bg/-" "word-wrap, no limit on number of lines) (not compatible with options -bg/-"
"pipe/-hsignal)\n" "pipe/-hsignal)\n"
" -oerr: also send stderr (error output) to the buffer (can be used only "
"with options -o and -oc)\n"
" -cl: clear the new buffer before displaying output\n" " -cl: clear the new buffer before displaying output\n"
" -nocl: append to the new buffer without clear (default)\n" " -nocl: append to the new buffer without clear (default)\n"
" -sw: switch to the output buffer (default)\n" " -sw: switch to the output buffer (default)\n"
@@ -6099,6 +6100,19 @@ msgstr ""
msgid "configuration files, sections, options and words of options" msgid "configuration files, sections, options and words of options"
msgstr "file di configurazione \"%s\" (opzioni %s.*)" msgstr "file di configurazione \"%s\" (opzioni %s.*)"
#, fuzzy
msgid ""
"comma separated list of options to automatically refresh on the fset buffer "
"(if opened); \"*\" means all options (recommended), a name beginning with \"!"
"\" is a negative value to prevent an option to be refreshed, wildcard \"*\" "
"is allowed in names (example: \"*,!plugin.section.*\")"
msgstr ""
"elenco separato da virgole di plugin da caricare automaticamente all'avvio, "
"\"*\" equivale a tutti i plugin trovati. un nome che comincia con \"!\" è un "
"valore negativo per impedire il caricamento di un plugin, i nomi possono "
"iniziare o finire con \"*\" per corrispondere a più plugin (esempi: \"*\" "
"oppure \"*,!lua,!tcl\")"
msgid "" msgid ""
"automatically unmark all options after an action on marked options or after " "automatically unmark all options after an action on marked options or after "
"a refresh" "a refresh"
@@ -6908,8 +6922,8 @@ msgstr "esegue un comando su tutti i canali di tutti i server connessi"
#, fuzzy #, fuzzy
msgid "" msgid ""
"[-current] [-exclude=<channel>[,<channel>...]] <command> [<arguments>] || [-" "[-current] [-exclude=<channel>[,<channel>...]] <command> || [-current] -"
"current] -include=<channel>[,<channel>...] <command> [<arguments>]" "include=<channel>[,<channel>...] <command>"
msgstr "[-current] [-exclude=<canale>[,<canale>...]] <comando> [<argomenti>]" msgstr "[-current] [-exclude=<canale>[,<canale>...]] <comando> [<argomenti>]"
#, fuzzy #, fuzzy
@@ -6917,20 +6931,27 @@ msgid ""
" -current: execute command for channels of current server only\n" " -current: execute command for channels of current server only\n"
" -exclude: exclude some channels (wildcard \"*\" is allowed)\n" " -exclude: exclude some channels (wildcard \"*\" is allowed)\n"
" -include: include only some channels (wildcard \"*\" is allowed)\n" " -include: include only some channels (wildcard \"*\" is allowed)\n"
" command: command to execute\n" " command: command to execute (or text to send to buffer if command does not "
"arguments: arguments for command (special variables $nick, $channel and " "start with '/')\n"
"$server are replaced by their value)\n" "\n"
"Command and arguments are evaluated (see /help eval), the following "
"variables are replaced:\n"
" $server server name\n"
" $channel channel name\n"
" $nick nick on server\n"
" ${irc_server.xxx} variable xxx in server\n"
" ${irc_channel.xxx} variable xxx in channel\n"
"\n" "\n"
"Examples:\n" "Examples:\n"
" execute '/me is testing' on all channels:\n" " execute '/me is testing' on all channels:\n"
" /allchan me is testing\n" " /allchan /me is testing\n"
" say 'hello' everywhere but not on #weechat:\n" " say 'hello' everywhere but not on #weechat:\n"
" /allchan -exclude=#weechat msg * hello\n" " /allchan -exclude=#weechat hello\n"
" say 'hello' everywhere but not on #weechat and channels beginning with " " say 'hello' everywhere but not on #weechat and channels beginning with "
"#linux:\n" "#linux:\n"
" /allchan -exclude=#weechat,#linux* msg * hello\n" " /allchan -exclude=#weechat,#linux* hello\n"
" say 'hello' on all channels beginning with #linux:\n" " say 'hello' on all channels beginning with #linux:\n"
" /allchan -include=#linux* msg * hello" " /allchan -include=#linux* hello"
msgstr "" msgstr ""
" -current: esegue il comando solo per i canali del server corrente\n" " -current: esegue il comando solo per i canali del server corrente\n"
" -exclude: esclude alcunu canali ('*' è consentito all'inizio o alla fine " " -exclude: esclude alcunu canali ('*' è consentito all'inizio o alla fine "
@@ -6953,8 +6974,8 @@ msgstr "esegue un comando su tutti i canali di tutti i server connessi"
#, fuzzy #, fuzzy
msgid "" msgid ""
"[-current] [-exclude=<nick>[,<nick>...]] <command> [<arguments>] || [-" "[-current] [-exclude=<nick>[,<nick>...]] <command> || [-current] -"
"current] -include=<nick>[,<nick>...] <command> [<arguments>]" "include=<nick>[,<nick>...] <command>"
msgstr "[-current] [-exclude=<canale>[,<canale>...]] <comando> [<argomenti>]" msgstr "[-current] [-exclude=<canale>[,<canale>...]] <comando> [<argomenti>]"
#, fuzzy #, fuzzy
@@ -6962,21 +6983,28 @@ msgid ""
" -current: execute command for private buffers of current server only\n" " -current: execute command for private buffers of current server only\n"
" -exclude: exclude some nicks (wildcard \"*\" is allowed)\n" " -exclude: exclude some nicks (wildcard \"*\" is allowed)\n"
" -include: include only some nicks (wildcard \"*\" is allowed)\n" " -include: include only some nicks (wildcard \"*\" is allowed)\n"
" command: command to execute\n" " command: command to execute (or text to send to buffer if command does not "
"arguments: arguments for command (special variables $nick, $channel and " "start with '/')\n"
"$server are replaced by their value)\n" "\n"
"Command and arguments are evaluated (see /help eval), the following "
"variables are replaced:\n"
" $server server name\n"
" $channel channel name\n"
" $nick nick on server\n"
" ${irc_server.xxx} variable xxx in server\n"
" ${irc_channel.xxx} variable xxx in channel\n"
"\n" "\n"
"Examples:\n" "Examples:\n"
" execute '/me is testing' on all private buffers:\n" " execute '/me is testing' on all private buffers:\n"
" /allpv me is testing\n" " /allpv /me is testing\n"
" say 'hello' everywhere but not for nick foo:\n" " say 'hello' everywhere but not for nick foo:\n"
" /allpv -exclude=foo msg * hello\n" " /allpv -exclude=foo hello\n"
" say 'hello' everywhere but not for nick foo and nicks beginning with bar:\n" " say 'hello' everywhere but not for nick foo and nicks beginning with bar:\n"
" /allpv -exclude=foo,bar* msg * hello\n" " /allpv -exclude=foo,bar* hello\n"
" say 'hello' for all nicks beginning with bar:\n" " say 'hello' for all nicks beginning with bar:\n"
" /allpv -include=bar* msg * hello\n" " /allpv -include=bar* hello\n"
" close all private buffers:\n" " close all private buffers:\n"
" /allpv close" " /allpv /close"
msgstr "" msgstr ""
" -current: esegue il comando solo per i canali del server corrente\n" " -current: esegue il comando solo per i canali del server corrente\n"
" -exclude: esclude alcunu canali ('*' è consentito all'inizio o alla fine " " -exclude: esclude alcunu canali ('*' è consentito all'inizio o alla fine "
@@ -6998,25 +7026,30 @@ msgstr "esegue un comando su tutti i server connessi"
#, fuzzy #, fuzzy
msgid "" msgid ""
"[-exclude=<server>[,<server>...]] <command> [<arguments>] || -" "[-exclude=<server>[,<server>...]] <command> || -include=<server>[,"
"include=<server>[,<server>...] <command> [<arguments>]" "<server>...] <command>"
msgstr "[-exclude=<server>[,<server>...]] <comando> [<argomenti>]" msgstr "[-exclude=<server>[,<server>...]] <comando> [<argomenti>]"
#, fuzzy #, fuzzy
msgid "" msgid ""
" -exclude: exclude some servers (wildcard \"*\" is allowed)\n" " -exclude: exclude some servers (wildcard \"*\" is allowed)\n"
" -include: include only some servers (wildcard \"*\" is allowed)\n" " -include: include only some servers (wildcard \"*\" is allowed)\n"
" command: command to execute\n" " command: command to execute (or text to send to buffer if command does not "
"arguments: arguments for command (special variables $nick, $channel and " "start with '/')\n"
"$server are replaced by their value)\n" "\n"
"Command and arguments are evaluated (see /help eval), the following "
"variables are replaced:\n"
" $server server name\n"
" $nick nick on server\n"
" ${irc_server.xxx} variable xxx in server\n"
"\n" "\n"
"Examples:\n" "Examples:\n"
" change nick on all servers:\n" " change nick on all servers:\n"
" /allserv nick newnick\n" " /allserv /nick newnick\n"
" set away on all servers:\n" " set away on all servers:\n"
" /allserv away I'm away\n" " /allserv /away I'm away\n"
" do a whois on my nick on all servers:\n" " do a whois on my nick on all servers:\n"
" /allserv whois $nick" " /allserv /whois $nick"
msgstr "" msgstr ""
" -exclude: esclude alcuni server ('*' è consentito all'inizio o alla fine " " -exclude: esclude alcuni server ('*' è consentito all'inizio o alla fine "
"del nome server, per escludere più server)\n" "del nome server, per escludere più server)\n"
@@ -9868,6 +9901,13 @@ msgid_plural "voices"
msgstr[0] "voice" msgstr[0] "voice"
msgstr[1] "voice" msgstr[1] "voice"
#. TRANSLATORS: number of "normal" nicks on a channel (ie no op/voice), for example: "56 normals"
#, c-format
msgid "%s%s%d%s normal"
msgid_plural "%s%s%d%s normals"
msgstr[0] ""
msgstr[1] ""
#, c-format #, c-format
msgid "%sChannel %s%s%s: %s%d%s %s %s(%s%s)" msgid "%sChannel %s%s%s: %s%d%s %s %s(%s%s)"
msgstr "%sCanale %s%s%s: %s%d%s %s %s(%s%s)" msgstr "%sCanale %s%s%s: %s%d%s %s %s(%s%s)"
@@ -10792,6 +10832,16 @@ msgstr ""
msgid "get nick color code" msgid "get nick color code"
msgstr "ottiene il codice del colore del nick" msgstr "ottiene il codice del colore del nick"
#, fuzzy
msgid ""
"nickname;colors (colors is an optional comma-separated list of colors to "
"use; background is allowed for a color with format text:background; if "
"colors is present, WeeChat options with nick colors and forced nick colors "
"are ignored)"
msgstr ""
"colore del testo per i nick (elenco separato da virgole di colori, quello di "
"sfondo è consentito con il formato \"fg:bg\", ad esempio: \"lightred:blue\")"
msgid "get nick color name" msgid "get nick color name"
msgstr "ottiene il nome del colore del nick" msgstr "ottiene il nome del colore del nick"
@@ -12123,6 +12173,12 @@ msgstr "Script"
msgid "Script manager" msgid "Script manager"
msgstr "Gestore script" msgstr "Gestore script"
#, c-format
msgid ""
"%s%s: download of scripts is disabled by default; see /help script.scripts."
"download_enabled"
msgstr ""
#, fuzzy #, fuzzy
msgid "WeeChat script manager" msgid "WeeChat script manager"
msgstr "Gestore script di WeeChat" msgstr "Gestore script di WeeChat"
@@ -12381,6 +12437,14 @@ msgid ""
"expire)" "expire)"
msgstr "" msgstr ""
msgid ""
"enable download of files from the scripts repository when the /script "
"command is used (list of scripts and scripts themselves); the list of "
"scripts is downloaded from the URL specified in the option script.scripts."
"url; WeeChat will sometimes download again the list of scripts when you use "
"the /script command, even if you don't install a script"
msgstr ""
#, fuzzy #, fuzzy
msgid "timeout (in seconds) for download of scripts and list of scripts" msgid "timeout (in seconds) for download of scripts and list of scripts"
msgstr "" msgstr ""
+107 -37
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: 2020-06-21 18:56+0200\n" "POT-Creation-Date: 2020-10-11 16:22+0200\n"
"PO-Revision-Date: 2020-04-28 16:40+0200\n" "PO-Revision-Date: 2020-04-28 16:40+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/"
@@ -5275,9 +5275,9 @@ msgstr "カーソルモード (%s) のデバッグを有効化"
msgid "verbose" msgid "verbose"
msgstr "詳細" msgstr "詳細"
#, fuzzy
msgid "normal" msgid "normal"
msgid_plural "normals" msgstr "通常"
msgstr[0] "通常"
msgid "Debug disabled for cursor mode" msgid "Debug disabled for cursor mode"
msgstr "カーソルモードのデバッグを無効化" msgstr "カーソルモードのデバッグを無効化"
@@ -5388,7 +5388,7 @@ msgstr ""
"list [<alias>] || add <alias> [<command>[;<command>...]] || addcompletion " "list [<alias>] || add <alias> [<command>[;<command>...]] || addcompletion "
"<completion> <alias> [<command>[;<command>...]] || del <alias> [<alias>...]" "<completion> <alias> [<command>[;<command>...]] || del <alias> [<alias>...]"
#, no-c-format #, fuzzy, no-c-format
msgid "" msgid ""
" list: list aliases (without argument, this list is displayed)\n" " list: list aliases (without argument, this list is displayed)\n"
" add: add an alias\n" " add: add an alias\n"
@@ -5417,7 +5417,7 @@ msgid ""
" alias /split to split window horizontally:\n" " alias /split to split window horizontally:\n"
" /alias add split /window splith\n" " /alias add split /window splith\n"
" alias /hello to say \"hello\" on all channels but not on #weechat:\n" " alias /hello to say \"hello\" on all channels but not on #weechat:\n"
" /alias add hello /allchan -exclude=#weechat msg * hello\n" " /alias add hello /allchan -exclude=#weechat hello\n"
" alias /forcejoin to send IRC command \"forcejoin\" with completion of /" " alias /forcejoin to send IRC command \"forcejoin\" with completion of /"
"sajoin:\n" "sajoin:\n"
" /alias addcompletion %%sajoin forcejoin /quote forcejoin" " /alias addcompletion %%sajoin forcejoin /quote forcejoin"
@@ -5983,13 +5983,14 @@ msgstr "コマンド \"%s\" を削除"
msgid "execute external commands" msgid "execute external commands"
msgstr "外部コマンドを実行" msgstr "外部コマンドを実行"
#, fuzzy
msgid "" msgid ""
"-list || [-sh|-nosh] [-bg|-nobg] [-stdin|-nostdin] [-buffer <name>] [-l|-o|-" "-list || [-sh|-nosh] [-bg|-nobg] [-stdin|-nostdin] [-buffer <name>] [-l|-o|-"
"n|-nf] [-cl|-nocl] [-sw|-nosw] [-ln|-noln] [-flush|-noflush] [-color ansi|" "oc|-n|-nf] [-oerr] [-cl|-nocl] [-sw|-nosw] [-ln|-noln] [-flush|-noflush] [-"
"auto|irc|weechat|strip] [-rc|-norc] [-timeout <timeout>] [-name <name>] [-" "color ansi|auto|irc|weechat|strip] [-rc|-norc] [-timeout <timeout>] [-name "
"pipe <command>] [-hsignal <name>] <command> || -in <id> <text> || -inclose " "<name>] [-pipe <command>] [-hsignal <name>] <command> || -in <id> <text> || -"
"<id> [<text>] || -signal <id> <signal> || -kill <id> || -killall || -set " "inclose <id> [<text>] || -signal <id> <signal> || -kill <id> || -killall || -"
"<id> <property> <value> || -del <id>|-all [<id>...]" "set <id> <property> <value> || -del <id>|-all [<id>...]"
msgstr "" msgstr ""
"-list || [-sh|-nosh] [-bg|-nobg] [-stdin|-nostdin] [-buffer <name>] [-l|-o|-" "-list || [-sh|-nosh] [-bg|-nobg] [-stdin|-nostdin] [-buffer <name>] [-l|-o|-"
"n|-nf] [-cl|-nocl] [-sw|-nosw] [-ln|-noln] [-flush|-noflush] [-color ansi|" "n|-nf] [-cl|-nocl] [-sw|-nosw] [-ln|-noln] [-flush|-noflush] [-color ansi|"
@@ -5998,6 +5999,7 @@ msgstr ""
"<id> [<text>] || -signal <id> <signal> || -kill <id> || -killall || -set " "<id> [<text>] || -signal <id> <signal> || -kill <id> || -killall || -set "
"<id> <property> <value> || -del <id>|-all [<id>...]" "<id> <property> <value> || -del <id>|-all [<id>...]"
#, fuzzy
msgid "" msgid ""
" -list: list commands\n" " -list: list commands\n"
" -sh: use the shell to execute the command, many commands can be piped " " -sh: use the shell to execute the command, many commands can be piped "
@@ -6024,6 +6026,8 @@ msgid ""
" -nf: display output of command in a new buffer with free content (no " " -nf: display output of command in a new buffer with free content (no "
"word-wrap, no limit on number of lines) (not compatible with options -bg/-" "word-wrap, no limit on number of lines) (not compatible with options -bg/-"
"pipe/-hsignal)\n" "pipe/-hsignal)\n"
" -oerr: also send stderr (error output) to the buffer (can be used only "
"with options -o and -oc)\n"
" -cl: clear the new buffer before displaying output\n" " -cl: clear the new buffer before displaying output\n"
" -nocl: append to the new buffer without clear (default)\n" " -nocl: append to the new buffer without clear (default)\n"
" -sw: switch to the output buffer (default)\n" " -sw: switch to the output buffer (default)\n"
@@ -6711,6 +6715,17 @@ msgstr ""
msgid "configuration files, sections, options and words of options" msgid "configuration files, sections, options and words of options"
msgstr "設定ファイル、セクション、オプションの名前、オプションの値" msgstr "設定ファイル、セクション、オプションの名前、オプションの値"
#, fuzzy
msgid ""
"comma separated list of options to automatically refresh on the fset buffer "
"(if opened); \"*\" means all options (recommended), a name beginning with \"!"
"\" is a negative value to prevent an option to be refreshed, wildcard \"*\" "
"is allowed in names (example: \"*,!plugin.section.*\")"
msgstr ""
"スタートアップ時にロードするプラグインのコンマ区切りリスト、\"*\" は見つかっ"
"た全てのプラグイン、\"!\" から始まる名前はロードしないプラグイン、名前にワイ"
"ルドカード \"*\" を使うことができます (例: \"*\" または \"*,!lua,!tcl\")"
msgid "" msgid ""
"automatically unmark all options after an action on marked options or after " "automatically unmark all options after an action on marked options or after "
"a refresh" "a refresh"
@@ -7491,31 +7506,40 @@ msgstr "target: サーバ名"
msgid "execute a command on all channels of all connected servers" msgid "execute a command on all channels of all connected servers"
msgstr "全てのサーバ、全てのチャンネルに対してコマンドを実行" msgstr "全てのサーバ、全てのチャンネルに対してコマンドを実行"
#, fuzzy
msgid "" msgid ""
"[-current] [-exclude=<channel>[,<channel>...]] <command> [<arguments>] || [-" "[-current] [-exclude=<channel>[,<channel>...]] <command> || [-current] -"
"current] -include=<channel>[,<channel>...] <command> [<arguments>]" "include=<channel>[,<channel>...] <command>"
msgstr "" msgstr ""
"[-current] [-exclude=<channel>[,<channel>...]] <command> [<arguments>] || [-" "[-current] [-exclude=<channel>[,<channel>...]] <command> [<arguments>] || [-"
"current] -include=<channel>[,<channel>...] <command> [<arguments>]" "current] -include=<channel>[,<channel>...] <command> [<arguments>]"
#, fuzzy
msgid "" msgid ""
" -current: execute command for channels of current server only\n" " -current: execute command for channels of current server only\n"
" -exclude: exclude some channels (wildcard \"*\" is allowed)\n" " -exclude: exclude some channels (wildcard \"*\" is allowed)\n"
" -include: include only some channels (wildcard \"*\" is allowed)\n" " -include: include only some channels (wildcard \"*\" is allowed)\n"
" command: command to execute\n" " command: command to execute (or text to send to buffer if command does not "
"arguments: arguments for command (special variables $nick, $channel and " "start with '/')\n"
"$server are replaced by their value)\n" "\n"
"Command and arguments are evaluated (see /help eval), the following "
"variables are replaced:\n"
" $server server name\n"
" $channel channel name\n"
" $nick nick on server\n"
" ${irc_server.xxx} variable xxx in server\n"
" ${irc_channel.xxx} variable xxx in channel\n"
"\n" "\n"
"Examples:\n" "Examples:\n"
" execute '/me is testing' on all channels:\n" " execute '/me is testing' on all channels:\n"
" /allchan me is testing\n" " /allchan /me is testing\n"
" say 'hello' everywhere but not on #weechat:\n" " say 'hello' everywhere but not on #weechat:\n"
" /allchan -exclude=#weechat msg * hello\n" " /allchan -exclude=#weechat hello\n"
" say 'hello' everywhere but not on #weechat and channels beginning with " " say 'hello' everywhere but not on #weechat and channels beginning with "
"#linux:\n" "#linux:\n"
" /allchan -exclude=#weechat,#linux* msg * hello\n" " /allchan -exclude=#weechat,#linux* hello\n"
" say 'hello' on all channels beginning with #linux:\n" " say 'hello' on all channels beginning with #linux:\n"
" /allchan -include=#linux* msg * hello" " /allchan -include=#linux* hello"
msgstr "" msgstr ""
" -current: 現在のサーバ上のチャンネルに対してコマンドを実行\n" " -current: 現在のサーバ上のチャンネルに対してコマンドを実行\n"
" -exclude: 一部のチャンネルを除く全てのチャンネルに対してコマンドを実行 (ワイ" " -exclude: 一部のチャンネルを除く全てのチャンネルに対してコマンドを実行 (ワイ"
@@ -7541,32 +7565,41 @@ msgstr ""
msgid "execute a command on all private buffers of all connected servers" msgid "execute a command on all private buffers of all connected servers"
msgstr "全ての接続済みサーバの全てのプライベートバッファに対してコマンドを実行" msgstr "全ての接続済みサーバの全てのプライベートバッファに対してコマンドを実行"
#, fuzzy
msgid "" msgid ""
"[-current] [-exclude=<nick>[,<nick>...]] <command> [<arguments>] || [-" "[-current] [-exclude=<nick>[,<nick>...]] <command> || [-current] -"
"current] -include=<nick>[,<nick>...] <command> [<arguments>]" "include=<nick>[,<nick>...] <command>"
msgstr "" msgstr ""
"[-current] [-exclude=<nick>[,<nick>...]] <command> [<arguments>] || [-" "[-current] [-exclude=<nick>[,<nick>...]] <command> [<arguments>] || [-"
"current] -include=<nick>[,<nick>...] <command> [<arguments>]" "current] -include=<nick>[,<nick>...] <command> [<arguments>]"
#, fuzzy
msgid "" msgid ""
" -current: execute command for private buffers of current server only\n" " -current: execute command for private buffers of current server only\n"
" -exclude: exclude some nicks (wildcard \"*\" is allowed)\n" " -exclude: exclude some nicks (wildcard \"*\" is allowed)\n"
" -include: include only some nicks (wildcard \"*\" is allowed)\n" " -include: include only some nicks (wildcard \"*\" is allowed)\n"
" command: command to execute\n" " command: command to execute (or text to send to buffer if command does not "
"arguments: arguments for command (special variables $nick, $channel and " "start with '/')\n"
"$server are replaced by their value)\n" "\n"
"Command and arguments are evaluated (see /help eval), the following "
"variables are replaced:\n"
" $server server name\n"
" $channel channel name\n"
" $nick nick on server\n"
" ${irc_server.xxx} variable xxx in server\n"
" ${irc_channel.xxx} variable xxx in channel\n"
"\n" "\n"
"Examples:\n" "Examples:\n"
" execute '/me is testing' on all private buffers:\n" " execute '/me is testing' on all private buffers:\n"
" /allpv me is testing\n" " /allpv /me is testing\n"
" say 'hello' everywhere but not for nick foo:\n" " say 'hello' everywhere but not for nick foo:\n"
" /allpv -exclude=foo msg * hello\n" " /allpv -exclude=foo hello\n"
" say 'hello' everywhere but not for nick foo and nicks beginning with bar:\n" " say 'hello' everywhere but not for nick foo and nicks beginning with bar:\n"
" /allpv -exclude=foo,bar* msg * hello\n" " /allpv -exclude=foo,bar* hello\n"
" say 'hello' for all nicks beginning with bar:\n" " say 'hello' for all nicks beginning with bar:\n"
" /allpv -include=bar* msg * hello\n" " /allpv -include=bar* hello\n"
" close all private buffers:\n" " close all private buffers:\n"
" /allpv close" " /allpv /close"
msgstr "" msgstr ""
" -current: 現在のサーバ上の全てのプライベートバッファに対してコマンドを実行\n" " -current: 現在のサーバ上の全てのプライベートバッファに対してコマンドを実行\n"
" -exclude: 一部のニックネームを除外した全てのプライベートバッファに対してコマ" " -exclude: 一部のニックネームを除外した全てのプライベートバッファに対してコマ"
@@ -7594,27 +7627,34 @@ msgstr ""
msgid "execute a command on all connected servers" msgid "execute a command on all connected servers"
msgstr "全ての接続済みサーバでコマンドを実行" msgstr "全ての接続済みサーバでコマンドを実行"
#, fuzzy
msgid "" msgid ""
"[-exclude=<server>[,<server>...]] <command> [<arguments>] || -" "[-exclude=<server>[,<server>...]] <command> || -include=<server>[,"
"include=<server>[,<server>...] <command> [<arguments>]" "<server>...] <command>"
msgstr "" msgstr ""
"[-exclude=<server>[,<server>...]] <command> [<arguments>] || -" "[-exclude=<server>[,<server>...]] <command> [<arguments>] || -"
"include=<server>[,<server>...] <command> [<arguments>]" "include=<server>[,<server>...] <command> [<arguments>]"
#, fuzzy
msgid "" msgid ""
" -exclude: exclude some servers (wildcard \"*\" is allowed)\n" " -exclude: exclude some servers (wildcard \"*\" is allowed)\n"
" -include: include only some servers (wildcard \"*\" is allowed)\n" " -include: include only some servers (wildcard \"*\" is allowed)\n"
" command: command to execute\n" " command: command to execute (or text to send to buffer if command does not "
"arguments: arguments for command (special variables $nick, $channel and " "start with '/')\n"
"$server are replaced by their value)\n" "\n"
"Command and arguments are evaluated (see /help eval), the following "
"variables are replaced:\n"
" $server server name\n"
" $nick nick on server\n"
" ${irc_server.xxx} variable xxx in server\n"
"\n" "\n"
"Examples:\n" "Examples:\n"
" change nick on all servers:\n" " change nick on all servers:\n"
" /allserv nick newnick\n" " /allserv /nick newnick\n"
" set away on all servers:\n" " set away on all servers:\n"
" /allserv away I'm away\n" " /allserv /away I'm away\n"
" do a whois on my nick on all servers:\n" " do a whois on my nick on all servers:\n"
" /allserv whois $nick" " /allserv /whois $nick"
msgstr "" msgstr ""
" -exclude: 一部のサーバを除く全てのサーバに対してコマンドを実行 (ワイルドカー" " -exclude: 一部のサーバを除く全てのサーバに対してコマンドを実行 (ワイルドカー"
"ド \"*\" を使うことができます)\n" "ド \"*\" を使うことができます)\n"
@@ -10494,6 +10534,12 @@ msgid "voice"
msgid_plural "voices" msgid_plural "voices"
msgstr[0] "発言" msgstr[0] "発言"
#. TRANSLATORS: number of "normal" nicks on a channel (ie no op/voice), for example: "56 normals"
#, c-format
msgid "%s%s%d%s normal"
msgid_plural "%s%s%d%s normals"
msgstr[0] ""
#, c-format #, c-format
msgid "%sChannel %s%s%s: %s%d%s %s %s(%s%s)" msgid "%sChannel %s%s%s: %s%d%s %s %s(%s%s)"
msgstr "%sチャンネル %s%s%s: %s%d%s %s %s(%s%s)" msgstr "%sチャンネル %s%s%s: %s%d%s %s %s(%s%s)"
@@ -11423,6 +11469,16 @@ msgstr "rgb,limit (limit は任意でデフォルトでは 256 に設定)"
msgid "get nick color code" msgid "get nick color code"
msgstr "ニックネームの色コードを取得" msgstr "ニックネームの色コードを取得"
#, fuzzy
msgid ""
"nickname;colors (colors is an optional comma-separated list of colors to "
"use; background is allowed for a color with format text:background; if "
"colors is present, WeeChat options with nick colors and forced nick colors "
"are ignored)"
msgstr ""
"ニックネームのテキスト色 (コンマ区切りの色リスト、背景色は以下の書式で指定: "
"\"fg:bg\"、例: \"lightred:blue\")"
msgid "get nick color name" msgid "get nick color name"
msgstr "ニックネームの色名を取得" msgstr "ニックネームの色名を取得"
@@ -12775,6 +12831,12 @@ msgstr "スクリプト"
msgid "Script manager" msgid "Script manager"
msgstr "スクリプトマネージャ" msgstr "スクリプトマネージャ"
#, c-format
msgid ""
"%s%s: download of scripts is disabled by default; see /help script.scripts."
"download_enabled"
msgstr ""
msgid "WeeChat script manager" msgid "WeeChat script manager"
msgstr "WeeChat スクリプトマネージャ" msgstr "WeeChat スクリプトマネージャ"
@@ -13112,6 +13174,14 @@ msgstr ""
"ローカルキャッシュが無効になる時間、分単位 (-1 = 再取得しない、0 = 常に再取" "ローカルキャッシュが無効になる時間、分単位 (-1 = 再取得しない、0 = 常に再取"
"得)" "得)"
msgid ""
"enable download of files from the scripts repository when the /script "
"command is used (list of scripts and scripts themselves); the list of "
"scripts is downloaded from the URL specified in the option script.scripts."
"url; WeeChat will sometimes download again the list of scripts when you use "
"the /script command, even if you don't install a script"
msgstr ""
msgid "timeout (in seconds) for download of scripts and list of scripts" msgid "timeout (in seconds) for download of scripts and list of scripts"
msgstr "" msgstr ""
"スクリプトのダウンロードとスクリプトのリストに対するタイムアウト時間 (秒単位)" "スクリプトのダウンロードとスクリプトのリストに対するタイムアウト時間 (秒単位)"
+110 -39
View File
@@ -22,7 +22,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: 2020-06-21 18:56+0200\n" "POT-Creation-Date: 2020-10-11 16:22+0200\n"
"PO-Revision-Date: 2020-04-28 16:40+0200\n" "PO-Revision-Date: 2020-04-28 16:40+0200\n"
"Last-Translator: Krzysztof Korościk <soltys@soltys.info>\n" "Last-Translator: Krzysztof Korościk <soltys@soltys.info>\n"
"Language-Team: Polish <kde-i18n-doc@kde.org>\n" "Language-Team: Polish <kde-i18n-doc@kde.org>\n"
@@ -5406,11 +5406,9 @@ msgstr "Debugowanie włączone dla trybu kursora (%s)"
msgid "verbose" msgid "verbose"
msgstr "verbose" msgstr "verbose"
#, fuzzy
msgid "normal" msgid "normal"
msgid_plural "normals" msgstr "normalny"
msgstr[0] "normalny"
msgstr[1] "normalnych"
msgstr[2] "normalnych"
msgid "Debug disabled for cursor mode" msgid "Debug disabled for cursor mode"
msgstr "Debugowanie wyłączone dla trybu kursora" msgstr "Debugowanie wyłączone dla trybu kursora"
@@ -5521,7 +5519,7 @@ msgstr ""
"list [<alias>] || add <alias> [<komenda>[;<komenda>...]] || addcompletion " "list [<alias>] || add <alias> [<komenda>[;<komenda>...]] || addcompletion "
"<dopełnienie> <alias> [<komenda>[;<komenda>...]] || del <alias> [<alias>...]" "<dopełnienie> <alias> [<komenda>[;<komenda>...]] || del <alias> [<alias>...]"
#, no-c-format #, fuzzy, no-c-format
msgid "" msgid ""
" list: list aliases (without argument, this list is displayed)\n" " list: list aliases (without argument, this list is displayed)\n"
" add: add an alias\n" " add: add an alias\n"
@@ -5550,7 +5548,7 @@ msgid ""
" alias /split to split window horizontally:\n" " alias /split to split window horizontally:\n"
" /alias add split /window splith\n" " /alias add split /window splith\n"
" alias /hello to say \"hello\" on all channels but not on #weechat:\n" " alias /hello to say \"hello\" on all channels but not on #weechat:\n"
" /alias add hello /allchan -exclude=#weechat msg * hello\n" " /alias add hello /allchan -exclude=#weechat hello\n"
" alias /forcejoin to send IRC command \"forcejoin\" with completion of /" " alias /forcejoin to send IRC command \"forcejoin\" with completion of /"
"sajoin:\n" "sajoin:\n"
" /alias addcompletion %%sajoin forcejoin /quote forcejoin" " /alias addcompletion %%sajoin forcejoin /quote forcejoin"
@@ -6119,13 +6117,14 @@ msgstr "Komenda \"%s\" została usunięta"
msgid "execute external commands" msgid "execute external commands"
msgstr "wykonywanie zewnętrznych komend" msgstr "wykonywanie zewnętrznych komend"
#, fuzzy
msgid "" msgid ""
"-list || [-sh|-nosh] [-bg|-nobg] [-stdin|-nostdin] [-buffer <name>] [-l|-o|-" "-list || [-sh|-nosh] [-bg|-nobg] [-stdin|-nostdin] [-buffer <name>] [-l|-o|-"
"n|-nf] [-cl|-nocl] [-sw|-nosw] [-ln|-noln] [-flush|-noflush] [-color ansi|" "oc|-n|-nf] [-oerr] [-cl|-nocl] [-sw|-nosw] [-ln|-noln] [-flush|-noflush] [-"
"auto|irc|weechat|strip] [-rc|-norc] [-timeout <timeout>] [-name <name>] [-" "color ansi|auto|irc|weechat|strip] [-rc|-norc] [-timeout <timeout>] [-name "
"pipe <command>] [-hsignal <name>] <command> || -in <id> <text> || -inclose " "<name>] [-pipe <command>] [-hsignal <name>] <command> || -in <id> <text> || -"
"<id> [<text>] || -signal <id> <signal> || -kill <id> || -killall || -set " "inclose <id> [<text>] || -signal <id> <signal> || -kill <id> || -killall || -"
"<id> <property> <value> || -del <id>|-all [<id>...]" "set <id> <property> <value> || -del <id>|-all [<id>...]"
msgstr "" msgstr ""
"-list || [-sh|-nosh] [-bg|-nobg] [-stdin|-nostdin] [-buffer <nazwa>] [-l|-o|-" "-list || [-sh|-nosh] [-bg|-nobg] [-stdin|-nostdin] [-buffer <nazwa>] [-l|-o|-"
"n|-nf] [-cl|-nocl] [-sw|-nosw] [-ln|-noln] [-flush|-noflush] [-color ansi|" "n|-nf] [-cl|-nocl] [-sw|-nosw] [-ln|-noln] [-flush|-noflush] [-color ansi|"
@@ -6134,6 +6133,7 @@ msgstr ""
"[<tekst>] || -signal <id> <sygnał> || -kill <id> || -killall || -set <id> " "[<tekst>] || -signal <id> <sygnał> || -kill <id> || -killall || -set <id> "
"<właściwość> <wartość> || -del <id>|-all [<id>...]" "<właściwość> <wartość> || -del <id>|-all [<id>...]"
#, fuzzy
msgid "" msgid ""
" -list: list commands\n" " -list: list commands\n"
" -sh: use the shell to execute the command, many commands can be piped " " -sh: use the shell to execute the command, many commands can be piped "
@@ -6160,6 +6160,8 @@ msgid ""
" -nf: display output of command in a new buffer with free content (no " " -nf: display output of command in a new buffer with free content (no "
"word-wrap, no limit on number of lines) (not compatible with options -bg/-" "word-wrap, no limit on number of lines) (not compatible with options -bg/-"
"pipe/-hsignal)\n" "pipe/-hsignal)\n"
" -oerr: also send stderr (error output) to the buffer (can be used only "
"with options -o and -oc)\n"
" -cl: clear the new buffer before displaying output\n" " -cl: clear the new buffer before displaying output\n"
" -nocl: append to the new buffer without clear (default)\n" " -nocl: append to the new buffer without clear (default)\n"
" -sw: switch to the output buffer (default)\n" " -sw: switch to the output buffer (default)\n"
@@ -6853,6 +6855,18 @@ msgstr ""
msgid "configuration files, sections, options and words of options" msgid "configuration files, sections, options and words of options"
msgstr "pliki konfiguracyjne, sekcje, opcje i slowa w opcjach" msgstr "pliki konfiguracyjne, sekcje, opcje i slowa w opcjach"
#, fuzzy
msgid ""
"comma separated list of options to automatically refresh on the fset buffer "
"(if opened); \"*\" means all options (recommended), a name beginning with \"!"
"\" is a negative value to prevent an option to be refreshed, wildcard \"*\" "
"is allowed in names (example: \"*,!plugin.section.*\")"
msgstr ""
"oddzielona przecinkami lista wtyczek do automatycznego załadowania podczas "
"startu, \"*\" oznacza wszystkie znalezione wtyczki, nazwa zaczynająca się od "
"\"!\" powoduje nie ładowanie tej wtyczki, wildcard \"*\" jest dozwolony w "
"nazwach (przykłady: \"*\" lub \"*,!lua,!tcl\")"
msgid "" msgid ""
"automatically unmark all options after an action on marked options or after " "automatically unmark all options after an action on marked options or after "
"a refresh" "a refresh"
@@ -7644,31 +7658,40 @@ msgstr "cel: nazwa serwera"
msgid "execute a command on all channels of all connected servers" msgid "execute a command on all channels of all connected servers"
msgstr "wykonuje komendę na wszystkich kanałach na połączonych serwerach" msgstr "wykonuje komendę na wszystkich kanałach na połączonych serwerach"
#, fuzzy
msgid "" msgid ""
"[-current] [-exclude=<channel>[,<channel>...]] <command> [<arguments>] || [-" "[-current] [-exclude=<channel>[,<channel>...]] <command> || [-current] -"
"current] -include=<channel>[,<channel>...] <command> [<arguments>]" "include=<channel>[,<channel>...] <command>"
msgstr "" msgstr ""
"[-current] [-exclude=<kanał>[,<kanał>...]] <komenda> [<argumenty>] || [-" "[-current] [-exclude=<kanał>[,<kanał>...]] <komenda> [<argumenty>] || [-"
"current] -include=<kanał>[,<kanał>...] <komenda> [<argumenty>]" "current] -include=<kanał>[,<kanał>...] <komenda> [<argumenty>]"
#, fuzzy
msgid "" msgid ""
" -current: execute command for channels of current server only\n" " -current: execute command for channels of current server only\n"
" -exclude: exclude some channels (wildcard \"*\" is allowed)\n" " -exclude: exclude some channels (wildcard \"*\" is allowed)\n"
" -include: include only some channels (wildcard \"*\" is allowed)\n" " -include: include only some channels (wildcard \"*\" is allowed)\n"
" command: command to execute\n" " command: command to execute (or text to send to buffer if command does not "
"arguments: arguments for command (special variables $nick, $channel and " "start with '/')\n"
"$server are replaced by their value)\n" "\n"
"Command and arguments are evaluated (see /help eval), the following "
"variables are replaced:\n"
" $server server name\n"
" $channel channel name\n"
" $nick nick on server\n"
" ${irc_server.xxx} variable xxx in server\n"
" ${irc_channel.xxx} variable xxx in channel\n"
"\n" "\n"
"Examples:\n" "Examples:\n"
" execute '/me is testing' on all channels:\n" " execute '/me is testing' on all channels:\n"
" /allchan me is testing\n" " /allchan /me is testing\n"
" say 'hello' everywhere but not on #weechat:\n" " say 'hello' everywhere but not on #weechat:\n"
" /allchan -exclude=#weechat msg * hello\n" " /allchan -exclude=#weechat hello\n"
" say 'hello' everywhere but not on #weechat and channels beginning with " " say 'hello' everywhere but not on #weechat and channels beginning with "
"#linux:\n" "#linux:\n"
" /allchan -exclude=#weechat,#linux* msg * hello\n" " /allchan -exclude=#weechat,#linux* hello\n"
" say 'hello' on all channels beginning with #linux:\n" " say 'hello' on all channels beginning with #linux:\n"
" /allchan -include=#linux* msg * hello" " /allchan -include=#linux* hello"
msgstr "" msgstr ""
" -current: wykonuje komendę tylko na kanałach obecnego serwera\n" " -current: wykonuje komendę tylko na kanałach obecnego serwera\n"
" -exclude: wyklucza niektóre kanały (wildcard \"*\" jest dozwolony)\n" " -exclude: wyklucza niektóre kanały (wildcard \"*\" jest dozwolony)\n"
@@ -7693,32 +7716,41 @@ msgstr ""
"wykonuje komendę na wszystkich prywatnych buforach wszystkich połączonych " "wykonuje komendę na wszystkich prywatnych buforach wszystkich połączonych "
"serwerów" "serwerów"
#, fuzzy
msgid "" msgid ""
"[-current] [-exclude=<nick>[,<nick>...]] <command> [<arguments>] || [-" "[-current] [-exclude=<nick>[,<nick>...]] <command> || [-current] -"
"current] -include=<nick>[,<nick>...] <command> [<arguments>]" "include=<nick>[,<nick>...] <command>"
msgstr "" msgstr ""
"[-current] [-exclude=<nick>[,<nick>...]] <komenda> [<argumenty>] || [-" "[-current] [-exclude=<nick>[,<nick>...]] <komenda> [<argumenty>] || [-"
"current] -include=<nick>[,<nick>...] <komenda> [<argumenty>]" "current] -include=<nick>[,<nick>...] <komenda> [<argumenty>]"
#, fuzzy
msgid "" msgid ""
" -current: execute command for private buffers of current server only\n" " -current: execute command for private buffers of current server only\n"
" -exclude: exclude some nicks (wildcard \"*\" is allowed)\n" " -exclude: exclude some nicks (wildcard \"*\" is allowed)\n"
" -include: include only some nicks (wildcard \"*\" is allowed)\n" " -include: include only some nicks (wildcard \"*\" is allowed)\n"
" command: command to execute\n" " command: command to execute (or text to send to buffer if command does not "
"arguments: arguments for command (special variables $nick, $channel and " "start with '/')\n"
"$server are replaced by their value)\n" "\n"
"Command and arguments are evaluated (see /help eval), the following "
"variables are replaced:\n"
" $server server name\n"
" $channel channel name\n"
" $nick nick on server\n"
" ${irc_server.xxx} variable xxx in server\n"
" ${irc_channel.xxx} variable xxx in channel\n"
"\n" "\n"
"Examples:\n" "Examples:\n"
" execute '/me is testing' on all private buffers:\n" " execute '/me is testing' on all private buffers:\n"
" /allpv me is testing\n" " /allpv /me is testing\n"
" say 'hello' everywhere but not for nick foo:\n" " say 'hello' everywhere but not for nick foo:\n"
" /allpv -exclude=foo msg * hello\n" " /allpv -exclude=foo hello\n"
" say 'hello' everywhere but not for nick foo and nicks beginning with bar:\n" " say 'hello' everywhere but not for nick foo and nicks beginning with bar:\n"
" /allpv -exclude=foo,bar* msg * hello\n" " /allpv -exclude=foo,bar* hello\n"
" say 'hello' for all nicks beginning with bar:\n" " say 'hello' for all nicks beginning with bar:\n"
" /allpv -include=bar* msg * hello\n" " /allpv -include=bar* hello\n"
" close all private buffers:\n" " close all private buffers:\n"
" /allpv close" " /allpv /close"
msgstr "" msgstr ""
" -current: wykonuje komendę tylko na prywatnych buforach obecnego serwera\n" " -current: wykonuje komendę tylko na prywatnych buforach obecnego serwera\n"
" -exclude: wyklucza niektóre nicki (wildcard \"*\" jest dozwolony)\n" " -exclude: wyklucza niektóre nicki (wildcard \"*\" jest dozwolony)\n"
@@ -7743,27 +7775,34 @@ msgstr ""
msgid "execute a command on all connected servers" msgid "execute a command on all connected servers"
msgstr "wykonuje komendę na wszystkich połączonych serwerach" msgstr "wykonuje komendę na wszystkich połączonych serwerach"
#, fuzzy
msgid "" msgid ""
"[-exclude=<server>[,<server>...]] <command> [<arguments>] || -" "[-exclude=<server>[,<server>...]] <command> || -include=<server>[,"
"include=<server>[,<server>...] <command> [<arguments>]" "<server>...] <command>"
msgstr "" msgstr ""
"[-exclude=<serwer>[,<serwer>...]] <komenda> [<argumenty>] || -" "[-exclude=<serwer>[,<serwer>...]] <komenda> [<argumenty>] || -"
"include=<serwer>[,<serwer>...] <komenda> [<argumenty>]" "include=<serwer>[,<serwer>...] <komenda> [<argumenty>]"
#, fuzzy
msgid "" msgid ""
" -exclude: exclude some servers (wildcard \"*\" is allowed)\n" " -exclude: exclude some servers (wildcard \"*\" is allowed)\n"
" -include: include only some servers (wildcard \"*\" is allowed)\n" " -include: include only some servers (wildcard \"*\" is allowed)\n"
" command: command to execute\n" " command: command to execute (or text to send to buffer if command does not "
"arguments: arguments for command (special variables $nick, $channel and " "start with '/')\n"
"$server are replaced by their value)\n" "\n"
"Command and arguments are evaluated (see /help eval), the following "
"variables are replaced:\n"
" $server server name\n"
" $nick nick on server\n"
" ${irc_server.xxx} variable xxx in server\n"
"\n" "\n"
"Examples:\n" "Examples:\n"
" change nick on all servers:\n" " change nick on all servers:\n"
" /allserv nick newnick\n" " /allserv /nick newnick\n"
" set away on all servers:\n" " set away on all servers:\n"
" /allserv away I'm away\n" " /allserv /away I'm away\n"
" do a whois on my nick on all servers:\n" " do a whois on my nick on all servers:\n"
" /allserv whois $nick" " /allserv /whois $nick"
msgstr "" msgstr ""
" -exclude: wyklucza niektóre serwery (wildcard \"*\" jest dozwolony)\n" " -exclude: wyklucza niektóre serwery (wildcard \"*\" jest dozwolony)\n"
" -include: uwzględnia tylko niektóre znaki (wildcard \"*\" est dozwolony)\n" " -include: uwzględnia tylko niektóre znaki (wildcard \"*\" est dozwolony)\n"
@@ -10707,6 +10746,14 @@ msgstr[0] "voice"
msgstr[1] "voice" msgstr[1] "voice"
msgstr[2] "voice" msgstr[2] "voice"
#. TRANSLATORS: number of "normal" nicks on a channel (ie no op/voice), for example: "56 normals"
#, c-format
msgid "%s%s%d%s normal"
msgid_plural "%s%s%d%s normals"
msgstr[0] ""
msgstr[1] ""
msgstr[2] ""
#, c-format #, c-format
msgid "%sChannel %s%s%s: %s%d%s %s %s(%s%s)" msgid "%sChannel %s%s%s: %s%d%s %s %s(%s%s)"
msgstr "%sKanał %s%s%s: %s%d%s %s %s(%s%s)" msgstr "%sKanał %s%s%s: %s%d%s %s %s(%s%s)"
@@ -11636,6 +11683,16 @@ msgstr "rgb,limit (limit jest opcjonalny i ustawiony domyślnie na 256)"
msgid "get nick color code" msgid "get nick color code"
msgstr "pobiera kod koloru nicka" msgstr "pobiera kod koloru nicka"
#, fuzzy
msgid ""
"nickname;colors (colors is an optional comma-separated list of colors to "
"use; background is allowed for a color with format text:background; if "
"colors is present, WeeChat options with nick colors and forced nick colors "
"are ignored)"
msgstr ""
"kolor tekstu nicków (oddzielona przecinkami lista kolorów, tło jest "
"dozwolone za pomocą formatu: \"fg:bg\" na przykład: \"lightred:blue\")"
msgid "get nick color name" msgid "get nick color name"
msgstr "pobiera nazwę koloru nicka" msgstr "pobiera nazwę koloru nicka"
@@ -13009,6 +13066,12 @@ msgstr "Skrypty"
msgid "Script manager" msgid "Script manager"
msgstr "Manager skryptów" msgstr "Manager skryptów"
#, c-format
msgid ""
"%s%s: download of scripts is disabled by default; see /help script.scripts."
"download_enabled"
msgstr ""
msgid "WeeChat script manager" msgid "WeeChat script manager"
msgstr "Manager skryptów WeeChat" msgstr "Manager skryptów WeeChat"
@@ -13355,6 +13418,14 @@ msgstr ""
"lokalnie zapisany czas wygaśnięcia, w minutach (-1 = nigdy nie wygasa, 0 = " "lokalnie zapisany czas wygaśnięcia, w minutach (-1 = nigdy nie wygasa, 0 = "
"zawsze wygasa)" "zawsze wygasa)"
msgid ""
"enable download of files from the scripts repository when the /script "
"command is used (list of scripts and scripts themselves); the list of "
"scripts is downloaded from the URL specified in the option script.scripts."
"url; WeeChat will sometimes download again the list of scripts when you use "
"the /script command, even if you don't install a script"
msgstr ""
msgid "timeout (in seconds) for download of scripts and list of scripts" msgid "timeout (in seconds) for download of scripts and list of scripts"
msgstr "czas oczekiwania (w sekundach) na pobranie skryptu i listy skryptów" msgstr "czas oczekiwania (w sekundach) na pobranie skryptu i listy skryptów"
+103 -38
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: 2020-06-21 18:56+0200\n" "POT-Creation-Date: 2020-10-11 16:22+0200\n"
"PO-Revision-Date: 2020-04-28 16:40+0200\n" "PO-Revision-Date: 2020-04-28 16:40+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"
@@ -5327,10 +5327,9 @@ msgstr "Depuração ativada para o modo de cursor (%s)"
msgid "verbose" msgid "verbose"
msgstr "verboso" msgstr "verboso"
#, fuzzy
msgid "normal" msgid "normal"
msgid_plural "normals" msgstr "normal"
msgstr[0] "normal"
msgstr[1] "normais"
msgid "Debug disabled for cursor mode" msgid "Debug disabled for cursor mode"
msgstr "Depuração desativada para o modo de cursor" msgstr "Depuração desativada para o modo de cursor"
@@ -5442,7 +5441,7 @@ msgstr ""
"list [<alias>] || add <alias> [<comando>[;<comando>...]] || addcompletion " "list [<alias>] || add <alias> [<comando>[;<comando>...]] || addcompletion "
"<completação> <alias> [<comando>[;<comando>...]] || del <alias> [<alias>...]" "<completação> <alias> [<comando>[;<comando>...]] || del <alias> [<alias>...]"
#, no-c-format #, fuzzy, no-c-format
msgid "" msgid ""
" list: list aliases (without argument, this list is displayed)\n" " list: list aliases (without argument, this list is displayed)\n"
" add: add an alias\n" " add: add an alias\n"
@@ -5471,7 +5470,7 @@ msgid ""
" alias /split to split window horizontally:\n" " alias /split to split window horizontally:\n"
" /alias add split /window splith\n" " /alias add split /window splith\n"
" alias /hello to say \"hello\" on all channels but not on #weechat:\n" " alias /hello to say \"hello\" on all channels but not on #weechat:\n"
" /alias add hello /allchan -exclude=#weechat msg * hello\n" " /alias add hello /allchan -exclude=#weechat hello\n"
" alias /forcejoin to send IRC command \"forcejoin\" with completion of /" " alias /forcejoin to send IRC command \"forcejoin\" with completion of /"
"sajoin:\n" "sajoin:\n"
" /alias addcompletion %%sajoin forcejoin /quote forcejoin" " /alias addcompletion %%sajoin forcejoin /quote forcejoin"
@@ -5933,13 +5932,14 @@ msgstr "Comando \"%s\" removido"
msgid "execute external commands" msgid "execute external commands"
msgstr "executar comandos externos" msgstr "executar comandos externos"
#, fuzzy
msgid "" msgid ""
"-list || [-sh|-nosh] [-bg|-nobg] [-stdin|-nostdin] [-buffer <name>] [-l|-o|-" "-list || [-sh|-nosh] [-bg|-nobg] [-stdin|-nostdin] [-buffer <name>] [-l|-o|-"
"n|-nf] [-cl|-nocl] [-sw|-nosw] [-ln|-noln] [-flush|-noflush] [-color ansi|" "oc|-n|-nf] [-oerr] [-cl|-nocl] [-sw|-nosw] [-ln|-noln] [-flush|-noflush] [-"
"auto|irc|weechat|strip] [-rc|-norc] [-timeout <timeout>] [-name <name>] [-" "color ansi|auto|irc|weechat|strip] [-rc|-norc] [-timeout <timeout>] [-name "
"pipe <command>] [-hsignal <name>] <command> || -in <id> <text> || -inclose " "<name>] [-pipe <command>] [-hsignal <name>] <command> || -in <id> <text> || -"
"<id> [<text>] || -signal <id> <signal> || -kill <id> || -killall || -set " "inclose <id> [<text>] || -signal <id> <signal> || -kill <id> || -killall || -"
"<id> <property> <value> || -del <id>|-all [<id>...]" "set <id> <property> <value> || -del <id>|-all [<id>...]"
msgstr "" msgstr ""
"-list || [-sh|-nosh] [-bg|-nobg] [-stdin|-nostdin] [-buffer <nome>] [-l|-o|-" "-list || [-sh|-nosh] [-bg|-nobg] [-stdin|-nostdin] [-buffer <nome>] [-l|-o|-"
"n|-nf] [-cl|-nocl] [-sw|-nosw] [-ln|-noln] [-flush|-noflush] [-color ansi|" "n|-nf] [-cl|-nocl] [-sw|-nosw] [-ln|-noln] [-flush|-noflush] [-color ansi|"
@@ -5975,6 +5975,8 @@ msgid ""
" -nf: display output of command in a new buffer with free content (no " " -nf: display output of command in a new buffer with free content (no "
"word-wrap, no limit on number of lines) (not compatible with options -bg/-" "word-wrap, no limit on number of lines) (not compatible with options -bg/-"
"pipe/-hsignal)\n" "pipe/-hsignal)\n"
" -oerr: also send stderr (error output) to the buffer (can be used only "
"with options -o and -oc)\n"
" -cl: clear the new buffer before displaying output\n" " -cl: clear the new buffer before displaying output\n"
" -nocl: append to the new buffer without clear (default)\n" " -nocl: append to the new buffer without clear (default)\n"
" -sw: switch to the output buffer (default)\n" " -sw: switch to the output buffer (default)\n"
@@ -6475,6 +6477,19 @@ msgstr ""
msgid "configuration files, sections, options and words of options" msgid "configuration files, sections, options and words of options"
msgstr "ficheiro de configuração \"%s\" (opções %s.*)" msgstr "ficheiro de configuração \"%s\" (opções %s.*)"
#, fuzzy
msgid ""
"comma separated list of options to automatically refresh on the fset buffer "
"(if opened); \"*\" means all options (recommended), a name beginning with \"!"
"\" is a negative value to prevent an option to be refreshed, wildcard \"*\" "
"is allowed in names (example: \"*,!plugin.section.*\")"
msgstr ""
"lista de plugins separados por vírgula para carregar automaticamente ao "
"iniciar, \"*\" significa todos os plugins encontrados, um nome começado com "
"\"!\" serve de valor negativo para impedir que o plugin seja carregado, pode-"
"se usar o caráter universal \"*\" nos nomes (exemplos: \"*\" ou \"*,!lua,!tcl"
"\")"
msgid "" msgid ""
"automatically unmark all options after an action on marked options or after " "automatically unmark all options after an action on marked options or after "
"a refresh" "a refresh"
@@ -7280,8 +7295,8 @@ msgstr ""
#, fuzzy #, fuzzy
msgid "" msgid ""
"[-current] [-exclude=<channel>[,<channel>...]] <command> [<arguments>] || [-" "[-current] [-exclude=<channel>[,<channel>...]] <command> || [-current] -"
"current] -include=<channel>[,<channel>...] <command> [<arguments>]" "include=<channel>[,<channel>...] <command>"
msgstr "[-current] [-exclude=<canal>[,<canal>...]] <comando> [<argumentos>]" msgstr "[-current] [-exclude=<canal>[,<canal>...]] <comando> [<argumentos>]"
#, fuzzy #, fuzzy
@@ -7289,20 +7304,27 @@ msgid ""
" -current: execute command for channels of current server only\n" " -current: execute command for channels of current server only\n"
" -exclude: exclude some channels (wildcard \"*\" is allowed)\n" " -exclude: exclude some channels (wildcard \"*\" is allowed)\n"
" -include: include only some channels (wildcard \"*\" is allowed)\n" " -include: include only some channels (wildcard \"*\" is allowed)\n"
" command: command to execute\n" " command: command to execute (or text to send to buffer if command does not "
"arguments: arguments for command (special variables $nick, $channel and " "start with '/')\n"
"$server are replaced by their value)\n" "\n"
"Command and arguments are evaluated (see /help eval), the following "
"variables are replaced:\n"
" $server server name\n"
" $channel channel name\n"
" $nick nick on server\n"
" ${irc_server.xxx} variable xxx in server\n"
" ${irc_channel.xxx} variable xxx in channel\n"
"\n" "\n"
"Examples:\n" "Examples:\n"
" execute '/me is testing' on all channels:\n" " execute '/me is testing' on all channels:\n"
" /allchan me is testing\n" " /allchan /me is testing\n"
" say 'hello' everywhere but not on #weechat:\n" " say 'hello' everywhere but not on #weechat:\n"
" /allchan -exclude=#weechat msg * hello\n" " /allchan -exclude=#weechat hello\n"
" say 'hello' everywhere but not on #weechat and channels beginning with " " say 'hello' everywhere but not on #weechat and channels beginning with "
"#linux:\n" "#linux:\n"
" /allchan -exclude=#weechat,#linux* msg * hello\n" " /allchan -exclude=#weechat,#linux* hello\n"
" say 'hello' on all channels beginning with #linux:\n" " say 'hello' on all channels beginning with #linux:\n"
" /allchan -include=#linux* msg * hello" " /allchan -include=#linux* hello"
msgstr "" msgstr ""
" -current: executar o comando só nos canais do servidor atual\n" " -current: executar o comando só nos canais do servidor atual\n"
" -exclude: excluir alguns canais (o caráter universal \"*\" é permitido)\n" " -exclude: excluir alguns canais (o caráter universal \"*\" é permitido)\n"
@@ -7325,8 +7347,8 @@ msgstr ""
#, fuzzy #, fuzzy
msgid "" msgid ""
"[-current] [-exclude=<nick>[,<nick>...]] <command> [<arguments>] || [-" "[-current] [-exclude=<nick>[,<nick>...]] <command> || [-current] -"
"current] -include=<nick>[,<nick>...] <command> [<arguments>]" "include=<nick>[,<nick>...] <command>"
msgstr "[-current] [-exclude=<nick>[,<nick>...]] <comando> [<argumentos>]" msgstr "[-current] [-exclude=<nick>[,<nick>...]] <comando> [<argumentos>]"
#, fuzzy #, fuzzy
@@ -7334,21 +7356,28 @@ msgid ""
" -current: execute command for private buffers of current server only\n" " -current: execute command for private buffers of current server only\n"
" -exclude: exclude some nicks (wildcard \"*\" is allowed)\n" " -exclude: exclude some nicks (wildcard \"*\" is allowed)\n"
" -include: include only some nicks (wildcard \"*\" is allowed)\n" " -include: include only some nicks (wildcard \"*\" is allowed)\n"
" command: command to execute\n" " command: command to execute (or text to send to buffer if command does not "
"arguments: arguments for command (special variables $nick, $channel and " "start with '/')\n"
"$server are replaced by their value)\n" "\n"
"Command and arguments are evaluated (see /help eval), the following "
"variables are replaced:\n"
" $server server name\n"
" $channel channel name\n"
" $nick nick on server\n"
" ${irc_server.xxx} variable xxx in server\n"
" ${irc_channel.xxx} variable xxx in channel\n"
"\n" "\n"
"Examples:\n" "Examples:\n"
" execute '/me is testing' on all private buffers:\n" " execute '/me is testing' on all private buffers:\n"
" /allpv me is testing\n" " /allpv /me is testing\n"
" say 'hello' everywhere but not for nick foo:\n" " say 'hello' everywhere but not for nick foo:\n"
" /allpv -exclude=foo msg * hello\n" " /allpv -exclude=foo hello\n"
" say 'hello' everywhere but not for nick foo and nicks beginning with bar:\n" " say 'hello' everywhere but not for nick foo and nicks beginning with bar:\n"
" /allpv -exclude=foo,bar* msg * hello\n" " /allpv -exclude=foo,bar* hello\n"
" say 'hello' for all nicks beginning with bar:\n" " say 'hello' for all nicks beginning with bar:\n"
" /allpv -include=bar* msg * hello\n" " /allpv -include=bar* hello\n"
" close all private buffers:\n" " close all private buffers:\n"
" /allpv close" " /allpv /close"
msgstr "" msgstr ""
" -current: executar o comando só nos buffers privados do servidor atual\n" " -current: executar o comando só nos buffers privados do servidor atual\n"
" -exclude: excluir alguns nicks (o caráter universal \"*\" é permitido)\n" " -exclude: excluir alguns nicks (o caráter universal \"*\" é permitido)\n"
@@ -7371,25 +7400,30 @@ msgstr "executar um comando em todos os servidores conectados"
#, fuzzy #, fuzzy
msgid "" msgid ""
"[-exclude=<server>[,<server>...]] <command> [<arguments>] || -" "[-exclude=<server>[,<server>...]] <command> || -include=<server>[,"
"include=<server>[,<server>...] <command> [<arguments>]" "<server>...] <command>"
msgstr "[-exclude=<servidor>[,<servidor>...]] <comando> [<argumentos>]" msgstr "[-exclude=<servidor>[,<servidor>...]] <comando> [<argumentos>]"
#, fuzzy #, fuzzy
msgid "" msgid ""
" -exclude: exclude some servers (wildcard \"*\" is allowed)\n" " -exclude: exclude some servers (wildcard \"*\" is allowed)\n"
" -include: include only some servers (wildcard \"*\" is allowed)\n" " -include: include only some servers (wildcard \"*\" is allowed)\n"
" command: command to execute\n" " command: command to execute (or text to send to buffer if command does not "
"arguments: arguments for command (special variables $nick, $channel and " "start with '/')\n"
"$server are replaced by their value)\n" "\n"
"Command and arguments are evaluated (see /help eval), the following "
"variables are replaced:\n"
" $server server name\n"
" $nick nick on server\n"
" ${irc_server.xxx} variable xxx in server\n"
"\n" "\n"
"Examples:\n" "Examples:\n"
" change nick on all servers:\n" " change nick on all servers:\n"
" /allserv nick newnick\n" " /allserv /nick newnick\n"
" set away on all servers:\n" " set away on all servers:\n"
" /allserv away I'm away\n" " /allserv /away I'm away\n"
" do a whois on my nick on all servers:\n" " do a whois on my nick on all servers:\n"
" /allserv whois $nick" " /allserv /whois $nick"
msgstr "" msgstr ""
" -exclude: excluir alguns servidores (o caráter universal \"*\" é " " -exclude: excluir alguns servidores (o caráter universal \"*\" é "
"permitido)\n" "permitido)\n"
@@ -10323,6 +10357,13 @@ msgid_plural "voices"
msgstr[0] "voz" msgstr[0] "voz"
msgstr[1] "vozes" msgstr[1] "vozes"
#. TRANSLATORS: number of "normal" nicks on a channel (ie no op/voice), for example: "56 normals"
#, c-format
msgid "%s%s%d%s normal"
msgid_plural "%s%s%d%s normals"
msgstr[0] ""
msgstr[1] ""
#, c-format #, c-format
msgid "%sChannel %s%s%s: %s%d%s %s %s(%s%s)" msgid "%sChannel %s%s%s: %s%d%s %s %s(%s%s)"
msgstr "%sCanal %s%s%s: %s%d%s %s %s(%s%s)" msgstr "%sCanal %s%s%s: %s%d%s %s %s(%s%s)"
@@ -11253,6 +11294,16 @@ msgstr "rgb,limite (o limite é opcional e está definido como 256 por omissão)
msgid "get nick color code" msgid "get nick color code"
msgstr "obter código de cor do nick" msgstr "obter código de cor do nick"
#, fuzzy
msgid ""
"nickname;colors (colors is an optional comma-separated list of colors to "
"use; background is allowed for a color with format text:background; if "
"colors is present, WeeChat options with nick colors and forced nick colors "
"are ignored)"
msgstr ""
"cor do texto dos nicks (lista de cores separadas por vírgula, o fundo pode "
"ser indicado com o formato: \"texto:fundo\", por exemplo: \"lightred:blue\")"
msgid "get nick color name" msgid "get nick color name"
msgstr "obter nome da cor do nick" msgstr "obter nome da cor do nick"
@@ -12589,6 +12640,12 @@ msgstr "Scripts"
msgid "Script manager" msgid "Script manager"
msgstr "Gestor de scripts" msgstr "Gestor de scripts"
#, c-format
msgid ""
"%s%s: download of scripts is disabled by default; see /help script.scripts."
"download_enabled"
msgstr ""
#, fuzzy #, fuzzy
msgid "WeeChat script manager" msgid "WeeChat script manager"
msgstr "Gestor de scripts do WeeChat" msgstr "Gestor de scripts do WeeChat"
@@ -12934,6 +12991,14 @@ msgstr ""
"data de expiração da cache local, em minutos (-1 = nunca expirar, 0 = " "data de expiração da cache local, em minutos (-1 = nunca expirar, 0 = "
"expirar sempre)" "expirar sempre)"
msgid ""
"enable download of files from the scripts repository when the /script "
"command is used (list of scripts and scripts themselves); the list of "
"scripts is downloaded from the URL specified in the option script.scripts."
"url; WeeChat will sometimes download again the list of scripts when you use "
"the /script command, even if you don't install a script"
msgstr ""
msgid "timeout (in seconds) for download of scripts and list of scripts" msgid "timeout (in seconds) for download of scripts and list of scripts"
msgstr "tempo limite (em segundo) para transferir scripts e a lista de scripts" msgstr "tempo limite (em segundo) para transferir scripts e a lista de scripts"
+103 -38
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: 2020-06-21 18:56+0200\n" "POT-Creation-Date: 2020-10-11 16:22+0200\n"
"PO-Revision-Date: 2020-04-18 11:34+0200\n" "PO-Revision-Date: 2020-04-18 11:34+0200\n"
"Last-Translator: Eduardo Elias <camponez@gmail.com>\n" "Last-Translator: Eduardo Elias <camponez@gmail.com>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n" "Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -4897,10 +4897,9 @@ msgstr "Depuração habilitada para modo cursor (%s)"
msgid "verbose" msgid "verbose"
msgstr "" msgstr ""
#, fuzzy
msgid "normal" msgid "normal"
msgid_plural "normals" msgstr "normal"
msgstr[0] "normal"
msgstr[1] "normais"
msgid "Debug disabled for cursor mode" msgid "Debug disabled for cursor mode"
msgstr "Depuração desabilitada para modo cursor" msgstr "Depuração desabilitada para modo cursor"
@@ -5041,7 +5040,7 @@ msgid ""
" alias /split to split window horizontally:\n" " alias /split to split window horizontally:\n"
" /alias add split /window splith\n" " /alias add split /window splith\n"
" alias /hello to say \"hello\" on all channels but not on #weechat:\n" " alias /hello to say \"hello\" on all channels but not on #weechat:\n"
" /alias add hello /allchan -exclude=#weechat msg * hello\n" " /alias add hello /allchan -exclude=#weechat hello\n"
" alias /forcejoin to send IRC command \"forcejoin\" with completion of /" " alias /forcejoin to send IRC command \"forcejoin\" with completion of /"
"sajoin:\n" "sajoin:\n"
" /alias addcompletion %%sajoin forcejoin /quote forcejoin" " /alias addcompletion %%sajoin forcejoin /quote forcejoin"
@@ -5478,11 +5477,11 @@ msgstr "executa um comando externo"
msgid "" msgid ""
"-list || [-sh|-nosh] [-bg|-nobg] [-stdin|-nostdin] [-buffer <name>] [-l|-o|-" "-list || [-sh|-nosh] [-bg|-nobg] [-stdin|-nostdin] [-buffer <name>] [-l|-o|-"
"n|-nf] [-cl|-nocl] [-sw|-nosw] [-ln|-noln] [-flush|-noflush] [-color ansi|" "oc|-n|-nf] [-oerr] [-cl|-nocl] [-sw|-nosw] [-ln|-noln] [-flush|-noflush] [-"
"auto|irc|weechat|strip] [-rc|-norc] [-timeout <timeout>] [-name <name>] [-" "color ansi|auto|irc|weechat|strip] [-rc|-norc] [-timeout <timeout>] [-name "
"pipe <command>] [-hsignal <name>] <command> || -in <id> <text> || -inclose " "<name>] [-pipe <command>] [-hsignal <name>] <command> || -in <id> <text> || -"
"<id> [<text>] || -signal <id> <signal> || -kill <id> || -killall || -set " "inclose <id> [<text>] || -signal <id> <signal> || -kill <id> || -killall || -"
"<id> <property> <value> || -del <id>|-all [<id>...]" "set <id> <property> <value> || -del <id>|-all [<id>...]"
msgstr "" msgstr ""
msgid "" msgid ""
@@ -5511,6 +5510,8 @@ msgid ""
" -nf: display output of command in a new buffer with free content (no " " -nf: display output of command in a new buffer with free content (no "
"word-wrap, no limit on number of lines) (not compatible with options -bg/-" "word-wrap, no limit on number of lines) (not compatible with options -bg/-"
"pipe/-hsignal)\n" "pipe/-hsignal)\n"
" -oerr: also send stderr (error output) to the buffer (can be used only "
"with options -o and -oc)\n"
" -cl: clear the new buffer before displaying output\n" " -cl: clear the new buffer before displaying output\n"
" -nocl: append to the new buffer without clear (default)\n" " -nocl: append to the new buffer without clear (default)\n"
" -sw: switch to the output buffer (default)\n" " -sw: switch to the output buffer (default)\n"
@@ -5906,6 +5907,19 @@ msgstr ""
msgid "configuration files, sections, options and words of options" msgid "configuration files, sections, options and words of options"
msgstr "configuração do arquivo \"%s\" (opções %s.*)" msgstr "configuração do arquivo \"%s\" (opções %s.*)"
#, fuzzy
msgid ""
"comma separated list of options to automatically refresh on the fset buffer "
"(if opened); \"*\" means all options (recommended), a name beginning with \"!"
"\" is a negative value to prevent an option to be refreshed, wildcard \"*\" "
"is allowed in names (example: \"*,!plugin.section.*\")"
msgstr ""
"lista separada por vírgulas dos plugins para carregar automaticamente "
"nainicialização, \"*\" significa todos os plugins encontrados, um nome "
"começando com \"!\" é um valor negativo para prevenir um plugin de ser "
"carrgado, nomes podem começar ou terminar com \"*\" para casar com vários "
"plugins (exemplos: \"*\" ou \"*,!lua,!tcl\")"
msgid "" msgid ""
"automatically unmark all options after an action on marked options or after " "automatically unmark all options after an action on marked options or after "
"a refresh" "a refresh"
@@ -6682,29 +6696,37 @@ msgstr ""
msgid "execute a command on all channels of all connected servers" msgid "execute a command on all channels of all connected servers"
msgstr "" msgstr ""
#, fuzzy
msgid "" msgid ""
"[-current] [-exclude=<channel>[,<channel>...]] <command> [<arguments>] || [-" "[-current] [-exclude=<channel>[,<channel>...]] <command> || [-current] -"
"current] -include=<channel>[,<channel>...] <command> [<arguments>]" "include=<channel>[,<channel>...] <command>"
msgstr "" msgstr "<apelido>[,<apelido>...] [<contador> [<target>]]"
msgid "" msgid ""
" -current: execute command for channels of current server only\n" " -current: execute command for channels of current server only\n"
" -exclude: exclude some channels (wildcard \"*\" is allowed)\n" " -exclude: exclude some channels (wildcard \"*\" is allowed)\n"
" -include: include only some channels (wildcard \"*\" is allowed)\n" " -include: include only some channels (wildcard \"*\" is allowed)\n"
" command: command to execute\n" " command: command to execute (or text to send to buffer if command does not "
"arguments: arguments for command (special variables $nick, $channel and " "start with '/')\n"
"$server are replaced by their value)\n" "\n"
"Command and arguments are evaluated (see /help eval), the following "
"variables are replaced:\n"
" $server server name\n"
" $channel channel name\n"
" $nick nick on server\n"
" ${irc_server.xxx} variable xxx in server\n"
" ${irc_channel.xxx} variable xxx in channel\n"
"\n" "\n"
"Examples:\n" "Examples:\n"
" execute '/me is testing' on all channels:\n" " execute '/me is testing' on all channels:\n"
" /allchan me is testing\n" " /allchan /me is testing\n"
" say 'hello' everywhere but not on #weechat:\n" " say 'hello' everywhere but not on #weechat:\n"
" /allchan -exclude=#weechat msg * hello\n" " /allchan -exclude=#weechat hello\n"
" say 'hello' everywhere but not on #weechat and channels beginning with " " say 'hello' everywhere but not on #weechat and channels beginning with "
"#linux:\n" "#linux:\n"
" /allchan -exclude=#weechat,#linux* msg * hello\n" " /allchan -exclude=#weechat,#linux* hello\n"
" say 'hello' on all channels beginning with #linux:\n" " say 'hello' on all channels beginning with #linux:\n"
" /allchan -include=#linux* msg * hello" " /allchan -include=#linux* hello"
msgstr "" msgstr ""
msgid "execute a command on all private buffers of all connected servers" msgid "execute a command on all private buffers of all connected servers"
@@ -6712,53 +6734,65 @@ msgstr ""
#, fuzzy #, fuzzy
msgid "" msgid ""
"[-current] [-exclude=<nick>[,<nick>...]] <command> [<arguments>] || [-" "[-current] [-exclude=<nick>[,<nick>...]] <command> || [-current] -"
"current] -include=<nick>[,<nick>...] <command> [<arguments>]" "include=<nick>[,<nick>...] <command>"
msgstr "<apelido>[,<apelido>...] [<contador> [<target>]]" msgstr "<apelido>[,<apelido>...] [<contador> [<target>]]"
msgid "" msgid ""
" -current: execute command for private buffers of current server only\n" " -current: execute command for private buffers of current server only\n"
" -exclude: exclude some nicks (wildcard \"*\" is allowed)\n" " -exclude: exclude some nicks (wildcard \"*\" is allowed)\n"
" -include: include only some nicks (wildcard \"*\" is allowed)\n" " -include: include only some nicks (wildcard \"*\" is allowed)\n"
" command: command to execute\n" " command: command to execute (or text to send to buffer if command does not "
"arguments: arguments for command (special variables $nick, $channel and " "start with '/')\n"
"$server are replaced by their value)\n" "\n"
"Command and arguments are evaluated (see /help eval), the following "
"variables are replaced:\n"
" $server server name\n"
" $channel channel name\n"
" $nick nick on server\n"
" ${irc_server.xxx} variable xxx in server\n"
" ${irc_channel.xxx} variable xxx in channel\n"
"\n" "\n"
"Examples:\n" "Examples:\n"
" execute '/me is testing' on all private buffers:\n" " execute '/me is testing' on all private buffers:\n"
" /allpv me is testing\n" " /allpv /me is testing\n"
" say 'hello' everywhere but not for nick foo:\n" " say 'hello' everywhere but not for nick foo:\n"
" /allpv -exclude=foo msg * hello\n" " /allpv -exclude=foo hello\n"
" say 'hello' everywhere but not for nick foo and nicks beginning with bar:\n" " say 'hello' everywhere but not for nick foo and nicks beginning with bar:\n"
" /allpv -exclude=foo,bar* msg * hello\n" " /allpv -exclude=foo,bar* hello\n"
" say 'hello' for all nicks beginning with bar:\n" " say 'hello' for all nicks beginning with bar:\n"
" /allpv -include=bar* msg * hello\n" " /allpv -include=bar* hello\n"
" close all private buffers:\n" " close all private buffers:\n"
" /allpv close" " /allpv /close"
msgstr "" msgstr ""
msgid "execute a command on all connected servers" msgid "execute a command on all connected servers"
msgstr "" msgstr ""
msgid "" msgid ""
"[-exclude=<server>[,<server>...]] <command> [<arguments>] || -" "[-exclude=<server>[,<server>...]] <command> || -include=<server>[,"
"include=<server>[,<server>...] <command> [<arguments>]" "<server>...] <command>"
msgstr "" msgstr ""
msgid "" msgid ""
" -exclude: exclude some servers (wildcard \"*\" is allowed)\n" " -exclude: exclude some servers (wildcard \"*\" is allowed)\n"
" -include: include only some servers (wildcard \"*\" is allowed)\n" " -include: include only some servers (wildcard \"*\" is allowed)\n"
" command: command to execute\n" " command: command to execute (or text to send to buffer if command does not "
"arguments: arguments for command (special variables $nick, $channel and " "start with '/')\n"
"$server are replaced by their value)\n" "\n"
"Command and arguments are evaluated (see /help eval), the following "
"variables are replaced:\n"
" $server server name\n"
" $nick nick on server\n"
" ${irc_server.xxx} variable xxx in server\n"
"\n" "\n"
"Examples:\n" "Examples:\n"
" change nick on all servers:\n" " change nick on all servers:\n"
" /allserv nick newnick\n" " /allserv /nick newnick\n"
" set away on all servers:\n" " set away on all servers:\n"
" /allserv away I'm away\n" " /allserv /away I'm away\n"
" do a whois on my nick on all servers:\n" " do a whois on my nick on all servers:\n"
" /allserv whois $nick" " /allserv /whois $nick"
msgstr "" msgstr ""
msgid "ban nicks or hosts" msgid "ban nicks or hosts"
@@ -9192,6 +9226,13 @@ msgid_plural "voices"
msgstr[0] "" msgstr[0] ""
msgstr[1] "" msgstr[1] ""
#. TRANSLATORS: number of "normal" nicks on a channel (ie no op/voice), for example: "56 normals"
#, c-format
msgid "%s%s%d%s normal"
msgid_plural "%s%s%d%s normals"
msgstr[0] ""
msgstr[1] ""
#, fuzzy, c-format #, fuzzy, c-format
msgid "%sChannel %s%s%s: %s%d%s %s %s(%s%s)" msgid "%sChannel %s%s%s: %s%d%s %s %s(%s%s)"
msgstr "%sresposta CTCP para %s%s%s: %s%s%s%s%s" msgstr "%sresposta CTCP para %s%s%s: %s%s%s%s%s"
@@ -10092,6 +10133,16 @@ msgstr ""
msgid "get nick color code" msgid "get nick color code"
msgstr "obter código de cor do apelido" msgstr "obter código de cor do apelido"
#, fuzzy
msgid ""
"nickname;colors (colors is an optional comma-separated list of colors to "
"use; background is allowed for a color with format text:background; if "
"colors is present, WeeChat options with nick colors and forced nick colors "
"are ignored)"
msgstr ""
"cor do texto para apelidos (lista de cores separada por vírgulas, fundo é "
"permitido com o formato: \"fg:bg\", por exemplo: \"lightred:blue\")"
msgid "get nick color name" msgid "get nick color name"
msgstr "obter nome da cor do apelido" msgstr "obter nome da cor do apelido"
@@ -11367,6 +11418,12 @@ msgstr ""
msgid "Script manager" msgid "Script manager"
msgstr "site do WeeChat" msgstr "site do WeeChat"
#, c-format
msgid ""
"%s%s: download of scripts is disabled by default; see /help script.scripts."
"download_enabled"
msgstr ""
#, fuzzy #, fuzzy
msgid "WeeChat script manager" msgid "WeeChat script manager"
msgstr "site do WeeChat" msgstr "site do WeeChat"
@@ -11630,6 +11687,14 @@ msgid ""
"expire)" "expire)"
msgstr "" msgstr ""
msgid ""
"enable download of files from the scripts repository when the /script "
"command is used (list of scripts and scripts themselves); the list of "
"scripts is downloaded from the URL specified in the option script.scripts."
"url; WeeChat will sometimes download again the list of scripts when you use "
"the /script command, even if you don't install a script"
msgstr ""
# better not translate handshake # better not translate handshake
#, fuzzy #, fuzzy
msgid "timeout (in seconds) for download of scripts and list of scripts" msgid "timeout (in seconds) for download of scripts and list of scripts"
+97 -38
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: 2020-06-21 18:56+0200\n" "POT-Creation-Date: 2020-10-11 16:22+0200\n"
"PO-Revision-Date: 2020-04-28 16:40+0200\n" "PO-Revision-Date: 2020-04-28 16:40+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"
@@ -4311,10 +4311,7 @@ msgstr ""
#, fuzzy #, fuzzy
msgid "normal" msgid "normal"
msgid_plural "normals" msgstr "обычные"
msgstr[0] "обычные"
msgstr[1] "обычные"
msgstr[2] "обычные"
msgid "Debug disabled for cursor mode" msgid "Debug disabled for cursor mode"
msgstr "" msgstr ""
@@ -4457,7 +4454,7 @@ msgid ""
" alias /split to split window horizontally:\n" " alias /split to split window horizontally:\n"
" /alias add split /window splith\n" " /alias add split /window splith\n"
" alias /hello to say \"hello\" on all channels but not on #weechat:\n" " alias /hello to say \"hello\" on all channels but not on #weechat:\n"
" /alias add hello /allchan -exclude=#weechat msg * hello\n" " /alias add hello /allchan -exclude=#weechat hello\n"
" alias /forcejoin to send IRC command \"forcejoin\" with completion of /" " alias /forcejoin to send IRC command \"forcejoin\" with completion of /"
"sajoin:\n" "sajoin:\n"
" /alias addcompletion %%sajoin forcejoin /quote forcejoin" " /alias addcompletion %%sajoin forcejoin /quote forcejoin"
@@ -4876,11 +4873,11 @@ msgstr "Внутренние команды %s:\n"
msgid "" msgid ""
"-list || [-sh|-nosh] [-bg|-nobg] [-stdin|-nostdin] [-buffer <name>] [-l|-o|-" "-list || [-sh|-nosh] [-bg|-nobg] [-stdin|-nostdin] [-buffer <name>] [-l|-o|-"
"n|-nf] [-cl|-nocl] [-sw|-nosw] [-ln|-noln] [-flush|-noflush] [-color ansi|" "oc|-n|-nf] [-oerr] [-cl|-nocl] [-sw|-nosw] [-ln|-noln] [-flush|-noflush] [-"
"auto|irc|weechat|strip] [-rc|-norc] [-timeout <timeout>] [-name <name>] [-" "color ansi|auto|irc|weechat|strip] [-rc|-norc] [-timeout <timeout>] [-name "
"pipe <command>] [-hsignal <name>] <command> || -in <id> <text> || -inclose " "<name>] [-pipe <command>] [-hsignal <name>] <command> || -in <id> <text> || -"
"<id> [<text>] || -signal <id> <signal> || -kill <id> || -killall || -set " "inclose <id> [<text>] || -signal <id> <signal> || -kill <id> || -killall || -"
"<id> <property> <value> || -del <id>|-all [<id>...]" "set <id> <property> <value> || -del <id>|-all [<id>...]"
msgstr "" msgstr ""
msgid "" msgid ""
@@ -4909,6 +4906,8 @@ msgid ""
" -nf: display output of command in a new buffer with free content (no " " -nf: display output of command in a new buffer with free content (no "
"word-wrap, no limit on number of lines) (not compatible with options -bg/-" "word-wrap, no limit on number of lines) (not compatible with options -bg/-"
"pipe/-hsignal)\n" "pipe/-hsignal)\n"
" -oerr: also send stderr (error output) to the buffer (can be used only "
"with options -o and -oc)\n"
" -cl: clear the new buffer before displaying output\n" " -cl: clear the new buffer before displaying output\n"
" -nocl: append to the new buffer without clear (default)\n" " -nocl: append to the new buffer without clear (default)\n"
" -sw: switch to the output buffer (default)\n" " -sw: switch to the output buffer (default)\n"
@@ -5303,6 +5302,17 @@ msgstr ""
msgid "configuration files, sections, options and words of options" msgid "configuration files, sections, options and words of options"
msgstr "Не найден параметр\n" msgstr "Не найден параметр\n"
#, fuzzy
msgid ""
"comma separated list of options to automatically refresh on the fset buffer "
"(if opened); \"*\" means all options (recommended), a name beginning with \"!"
"\" is a negative value to prevent an option to be refreshed, wildcard \"*\" "
"is allowed in names (example: \"*,!plugin.section.*\")"
msgstr ""
"разделённый запятыми список автоматически загружаемых при запуске plug-"
"in'ов , \"*\" означает все найденные plug-in'ы (имена могут быть не полными, "
"например \"perl\" успешно загрузит \"libperl.so\")"
msgid "" msgid ""
"automatically unmark all options after an action on marked options or after " "automatically unmark all options after an action on marked options or after "
"a refresh" "a refresh"
@@ -6085,28 +6095,35 @@ msgstr "отправить действие на все каналы всех п
#, fuzzy #, fuzzy
msgid "" msgid ""
"[-current] [-exclude=<channel>[,<channel>...]] <command> [<arguments>] || [-" "[-current] [-exclude=<channel>[,<channel>...]] <command> || [-current] -"
"current] -include=<channel>[,<channel>...] <command> [<arguments>]" "include=<channel>[,<channel>...] <command>"
msgstr "[сокращение [команда [аргументы]]]" msgstr "[сокращение [команда [аргументы]]]"
msgid "" msgid ""
" -current: execute command for channels of current server only\n" " -current: execute command for channels of current server only\n"
" -exclude: exclude some channels (wildcard \"*\" is allowed)\n" " -exclude: exclude some channels (wildcard \"*\" is allowed)\n"
" -include: include only some channels (wildcard \"*\" is allowed)\n" " -include: include only some channels (wildcard \"*\" is allowed)\n"
" command: command to execute\n" " command: command to execute (or text to send to buffer if command does not "
"arguments: arguments for command (special variables $nick, $channel and " "start with '/')\n"
"$server are replaced by their value)\n" "\n"
"Command and arguments are evaluated (see /help eval), the following "
"variables are replaced:\n"
" $server server name\n"
" $channel channel name\n"
" $nick nick on server\n"
" ${irc_server.xxx} variable xxx in server\n"
" ${irc_channel.xxx} variable xxx in channel\n"
"\n" "\n"
"Examples:\n" "Examples:\n"
" execute '/me is testing' on all channels:\n" " execute '/me is testing' on all channels:\n"
" /allchan me is testing\n" " /allchan /me is testing\n"
" say 'hello' everywhere but not on #weechat:\n" " say 'hello' everywhere but not on #weechat:\n"
" /allchan -exclude=#weechat msg * hello\n" " /allchan -exclude=#weechat hello\n"
" say 'hello' everywhere but not on #weechat and channels beginning with " " say 'hello' everywhere but not on #weechat and channels beginning with "
"#linux:\n" "#linux:\n"
" /allchan -exclude=#weechat,#linux* msg * hello\n" " /allchan -exclude=#weechat,#linux* hello\n"
" say 'hello' on all channels beginning with #linux:\n" " say 'hello' on all channels beginning with #linux:\n"
" /allchan -include=#linux* msg * hello" " /allchan -include=#linux* hello"
msgstr "" msgstr ""
#, fuzzy #, fuzzy
@@ -6115,29 +6132,36 @@ msgstr "отправить действие на все каналы всех п
#, fuzzy #, fuzzy
msgid "" msgid ""
"[-current] [-exclude=<nick>[,<nick>...]] <command> [<arguments>] || [-" "[-current] [-exclude=<nick>[,<nick>...]] <command> || [-current] -"
"current] -include=<nick>[,<nick>...] <command> [<arguments>]" "include=<nick>[,<nick>...] <command>"
msgstr "[сокращение [команда [аргументы]]]" msgstr "[сокращение [команда [аргументы]]]"
msgid "" msgid ""
" -current: execute command for private buffers of current server only\n" " -current: execute command for private buffers of current server only\n"
" -exclude: exclude some nicks (wildcard \"*\" is allowed)\n" " -exclude: exclude some nicks (wildcard \"*\" is allowed)\n"
" -include: include only some nicks (wildcard \"*\" is allowed)\n" " -include: include only some nicks (wildcard \"*\" is allowed)\n"
" command: command to execute\n" " command: command to execute (or text to send to buffer if command does not "
"arguments: arguments for command (special variables $nick, $channel and " "start with '/')\n"
"$server are replaced by their value)\n" "\n"
"Command and arguments are evaluated (see /help eval), the following "
"variables are replaced:\n"
" $server server name\n"
" $channel channel name\n"
" $nick nick on server\n"
" ${irc_server.xxx} variable xxx in server\n"
" ${irc_channel.xxx} variable xxx in channel\n"
"\n" "\n"
"Examples:\n" "Examples:\n"
" execute '/me is testing' on all private buffers:\n" " execute '/me is testing' on all private buffers:\n"
" /allpv me is testing\n" " /allpv /me is testing\n"
" say 'hello' everywhere but not for nick foo:\n" " say 'hello' everywhere but not for nick foo:\n"
" /allpv -exclude=foo msg * hello\n" " /allpv -exclude=foo hello\n"
" say 'hello' everywhere but not for nick foo and nicks beginning with bar:\n" " say 'hello' everywhere but not for nick foo and nicks beginning with bar:\n"
" /allpv -exclude=foo,bar* msg * hello\n" " /allpv -exclude=foo,bar* hello\n"
" say 'hello' for all nicks beginning with bar:\n" " say 'hello' for all nicks beginning with bar:\n"
" /allpv -include=bar* msg * hello\n" " /allpv -include=bar* hello\n"
" close all private buffers:\n" " close all private buffers:\n"
" /allpv close" " /allpv /close"
msgstr "" msgstr ""
#, fuzzy #, fuzzy
@@ -6145,24 +6169,29 @@ msgid "execute a command on all connected servers"
msgstr "отправить сообщение на все каналы всех поключенных серверов" msgstr "отправить сообщение на все каналы всех поключенных серверов"
msgid "" msgid ""
"[-exclude=<server>[,<server>...]] <command> [<arguments>] || -" "[-exclude=<server>[,<server>...]] <command> || -include=<server>[,"
"include=<server>[,<server>...] <command> [<arguments>]" "<server>...] <command>"
msgstr "" msgstr ""
msgid "" msgid ""
" -exclude: exclude some servers (wildcard \"*\" is allowed)\n" " -exclude: exclude some servers (wildcard \"*\" is allowed)\n"
" -include: include only some servers (wildcard \"*\" is allowed)\n" " -include: include only some servers (wildcard \"*\" is allowed)\n"
" command: command to execute\n" " command: command to execute (or text to send to buffer if command does not "
"arguments: arguments for command (special variables $nick, $channel and " "start with '/')\n"
"$server are replaced by their value)\n" "\n"
"Command and arguments are evaluated (see /help eval), the following "
"variables are replaced:\n"
" $server server name\n"
" $nick nick on server\n"
" ${irc_server.xxx} variable xxx in server\n"
"\n" "\n"
"Examples:\n" "Examples:\n"
" change nick on all servers:\n" " change nick on all servers:\n"
" /allserv nick newnick\n" " /allserv /nick newnick\n"
" set away on all servers:\n" " set away on all servers:\n"
" /allserv away I'm away\n" " /allserv /away I'm away\n"
" do a whois on my nick on all servers:\n" " do a whois on my nick on all servers:\n"
" /allserv whois $nick" " /allserv /whois $nick"
msgstr "" msgstr ""
#, fuzzy #, fuzzy
@@ -8807,6 +8836,14 @@ msgstr[0] "войс"
msgstr[1] "войс" msgstr[1] "войс"
msgstr[2] "войс" msgstr[2] "войс"
#. TRANSLATORS: number of "normal" nicks on a channel (ie no op/voice), for example: "56 normals"
#, c-format
msgid "%s%s%d%s normal"
msgid_plural "%s%s%d%s normals"
msgstr[0] ""
msgstr[1] ""
msgstr[2] ""
#, fuzzy, c-format #, fuzzy, c-format
msgid "%sChannel %s%s%s: %s%d%s %s %s(%s%s)" msgid "%sChannel %s%s%s: %s%d%s %s %s(%s%s)"
msgstr "Реоп канала %s%s%s: %s%s\n" msgstr "Реоп канала %s%s%s: %s%s\n"
@@ -9687,6 +9724,14 @@ msgstr ""
msgid "get nick color code" msgid "get nick color code"
msgstr "цвет чата" msgstr "цвет чата"
#, fuzzy
msgid ""
"nickname;colors (colors is an optional comma-separated list of colors to "
"use; background is allowed for a color with format text:background; if "
"colors is present, WeeChat options with nick colors and forced nick colors "
"are ignored)"
msgstr "цвет времени в окне чата"
#, fuzzy #, fuzzy
msgid "get nick color name" msgid "get nick color name"
msgstr "цвет чата" msgstr "цвет чата"
@@ -10943,6 +10988,12 @@ msgstr ""
msgid "Script manager" msgid "Script manager"
msgstr "слоган WeeChat" msgstr "слоган WeeChat"
#, c-format
msgid ""
"%s%s: download of scripts is disabled by default; see /help script.scripts."
"download_enabled"
msgstr ""
#, fuzzy #, fuzzy
msgid "WeeChat script manager" msgid "WeeChat script manager"
msgstr "слоган WeeChat" msgstr "слоган WeeChat"
@@ -11206,6 +11257,14 @@ msgid ""
"expire)" "expire)"
msgstr "" msgstr ""
msgid ""
"enable download of files from the scripts repository when the /script "
"command is used (list of scripts and scripts themselves); the list of "
"scripts is downloaded from the URL specified in the option script.scripts."
"url; WeeChat will sometimes download again the list of scripts when you use "
"the /script command, even if you don't install a script"
msgstr ""
#, fuzzy #, fuzzy
msgid "timeout (in seconds) for download of scripts and list of scripts" msgid "timeout (in seconds) for download of scripts and list of scripts"
msgstr "использовать SSL при связи с сервером" msgstr "использовать SSL при связи с сервером"
+90 -36
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: 2020-06-21 18:56+0200\n" "POT-Creation-Date: 2020-10-11 16:22+0200\n"
"PO-Revision-Date: 2019-11-03 08:38+0100\n" "PO-Revision-Date: 2019-11-03 08:38+0100\n"
"Last-Translator: Hasan Kiran <sunder67@hotmail.com>\n" "Last-Translator: Hasan Kiran <sunder67@hotmail.com>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n" "Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -3898,8 +3898,7 @@ msgid "verbose"
msgstr "" msgstr ""
msgid "normal" msgid "normal"
msgid_plural "normals" msgstr ""
msgstr[0] ""
msgid "Debug disabled for cursor mode" msgid "Debug disabled for cursor mode"
msgstr "" msgstr ""
@@ -4040,7 +4039,7 @@ msgid ""
" alias /split to split window horizontally:\n" " alias /split to split window horizontally:\n"
" /alias add split /window splith\n" " /alias add split /window splith\n"
" alias /hello to say \"hello\" on all channels but not on #weechat:\n" " alias /hello to say \"hello\" on all channels but not on #weechat:\n"
" /alias add hello /allchan -exclude=#weechat msg * hello\n" " /alias add hello /allchan -exclude=#weechat hello\n"
" alias /forcejoin to send IRC command \"forcejoin\" with completion of /" " alias /forcejoin to send IRC command \"forcejoin\" with completion of /"
"sajoin:\n" "sajoin:\n"
" /alias addcompletion %%sajoin forcejoin /quote forcejoin" " /alias addcompletion %%sajoin forcejoin /quote forcejoin"
@@ -4431,11 +4430,11 @@ msgstr "weechat komutları"
msgid "" msgid ""
"-list || [-sh|-nosh] [-bg|-nobg] [-stdin|-nostdin] [-buffer <name>] [-l|-o|-" "-list || [-sh|-nosh] [-bg|-nobg] [-stdin|-nostdin] [-buffer <name>] [-l|-o|-"
"n|-nf] [-cl|-nocl] [-sw|-nosw] [-ln|-noln] [-flush|-noflush] [-color ansi|" "oc|-n|-nf] [-oerr] [-cl|-nocl] [-sw|-nosw] [-ln|-noln] [-flush|-noflush] [-"
"auto|irc|weechat|strip] [-rc|-norc] [-timeout <timeout>] [-name <name>] [-" "color ansi|auto|irc|weechat|strip] [-rc|-norc] [-timeout <timeout>] [-name "
"pipe <command>] [-hsignal <name>] <command> || -in <id> <text> || -inclose " "<name>] [-pipe <command>] [-hsignal <name>] <command> || -in <id> <text> || -"
"<id> [<text>] || -signal <id> <signal> || -kill <id> || -killall || -set " "inclose <id> [<text>] || -signal <id> <signal> || -kill <id> || -killall || -"
"<id> <property> <value> || -del <id>|-all [<id>...]" "set <id> <property> <value> || -del <id>|-all [<id>...]"
msgstr "" msgstr ""
msgid "" msgid ""
@@ -4464,6 +4463,8 @@ msgid ""
" -nf: display output of command in a new buffer with free content (no " " -nf: display output of command in a new buffer with free content (no "
"word-wrap, no limit on number of lines) (not compatible with options -bg/-" "word-wrap, no limit on number of lines) (not compatible with options -bg/-"
"pipe/-hsignal)\n" "pipe/-hsignal)\n"
" -oerr: also send stderr (error output) to the buffer (can be used only "
"with options -o and -oc)\n"
" -cl: clear the new buffer before displaying output\n" " -cl: clear the new buffer before displaying output\n"
" -nocl: append to the new buffer without clear (default)\n" " -nocl: append to the new buffer without clear (default)\n"
" -sw: switch to the output buffer (default)\n" " -sw: switch to the output buffer (default)\n"
@@ -4854,6 +4855,13 @@ msgstr ""
msgid "configuration files, sections, options and words of options" msgid "configuration files, sections, options and words of options"
msgstr "yapılandırma seçenekleri" msgstr "yapılandırma seçenekleri"
msgid ""
"comma separated list of options to automatically refresh on the fset buffer "
"(if opened); \"*\" means all options (recommended), a name beginning with \"!"
"\" is a negative value to prevent an option to be refreshed, wildcard \"*\" "
"is allowed in names (example: \"*,!plugin.section.*\")"
msgstr ""
msgid "" msgid ""
"automatically unmark all options after an action on marked options or after " "automatically unmark all options after an action on marked options or after "
"a refresh" "a refresh"
@@ -5594,28 +5602,35 @@ msgstr ""
#, fuzzy #, fuzzy
msgid "" msgid ""
"[-current] [-exclude=<channel>[,<channel>...]] <command> [<arguments>] || [-" "[-current] [-exclude=<channel>[,<channel>...]] <command> || [-current] -"
"current] -include=<channel>[,<channel>...] <command> [<arguments>]" "include=<channel>[,<channel>...] <command>"
msgstr "[-current] [-exclude=<kanal>[,<kanal>...]] <komut> [<argümanlar>]" msgstr "[-current] [-exclude=<kanal>[,<kanal>...]] <komut> [<argümanlar>]"
msgid "" msgid ""
" -current: execute command for channels of current server only\n" " -current: execute command for channels of current server only\n"
" -exclude: exclude some channels (wildcard \"*\" is allowed)\n" " -exclude: exclude some channels (wildcard \"*\" is allowed)\n"
" -include: include only some channels (wildcard \"*\" is allowed)\n" " -include: include only some channels (wildcard \"*\" is allowed)\n"
" command: command to execute\n" " command: command to execute (or text to send to buffer if command does not "
"arguments: arguments for command (special variables $nick, $channel and " "start with '/')\n"
"$server are replaced by their value)\n" "\n"
"Command and arguments are evaluated (see /help eval), the following "
"variables are replaced:\n"
" $server server name\n"
" $channel channel name\n"
" $nick nick on server\n"
" ${irc_server.xxx} variable xxx in server\n"
" ${irc_channel.xxx} variable xxx in channel\n"
"\n" "\n"
"Examples:\n" "Examples:\n"
" execute '/me is testing' on all channels:\n" " execute '/me is testing' on all channels:\n"
" /allchan me is testing\n" " /allchan /me is testing\n"
" say 'hello' everywhere but not on #weechat:\n" " say 'hello' everywhere but not on #weechat:\n"
" /allchan -exclude=#weechat msg * hello\n" " /allchan -exclude=#weechat hello\n"
" say 'hello' everywhere but not on #weechat and channels beginning with " " say 'hello' everywhere but not on #weechat and channels beginning with "
"#linux:\n" "#linux:\n"
" /allchan -exclude=#weechat,#linux* msg * hello\n" " /allchan -exclude=#weechat,#linux* hello\n"
" say 'hello' on all channels beginning with #linux:\n" " say 'hello' on all channels beginning with #linux:\n"
" /allchan -include=#linux* msg * hello" " /allchan -include=#linux* hello"
msgstr "" msgstr ""
msgid "execute a command on all private buffers of all connected servers" msgid "execute a command on all private buffers of all connected servers"
@@ -5623,29 +5638,36 @@ msgstr ""
#, fuzzy #, fuzzy
msgid "" msgid ""
"[-current] [-exclude=<nick>[,<nick>...]] <command> [<arguments>] || [-" "[-current] [-exclude=<nick>[,<nick>...]] <command> || [-current] -"
"current] -include=<nick>[,<nick>...] <command> [<arguments>]" "include=<nick>[,<nick>...] <command>"
msgstr "[-current] [-exclude=<kanal>[,<kanal>...]] <komut> [<argümanlar>]" msgstr "[-current] [-exclude=<kanal>[,<kanal>...]] <komut> [<argümanlar>]"
msgid "" msgid ""
" -current: execute command for private buffers of current server only\n" " -current: execute command for private buffers of current server only\n"
" -exclude: exclude some nicks (wildcard \"*\" is allowed)\n" " -exclude: exclude some nicks (wildcard \"*\" is allowed)\n"
" -include: include only some nicks (wildcard \"*\" is allowed)\n" " -include: include only some nicks (wildcard \"*\" is allowed)\n"
" command: command to execute\n" " command: command to execute (or text to send to buffer if command does not "
"arguments: arguments for command (special variables $nick, $channel and " "start with '/')\n"
"$server are replaced by their value)\n" "\n"
"Command and arguments are evaluated (see /help eval), the following "
"variables are replaced:\n"
" $server server name\n"
" $channel channel name\n"
" $nick nick on server\n"
" ${irc_server.xxx} variable xxx in server\n"
" ${irc_channel.xxx} variable xxx in channel\n"
"\n" "\n"
"Examples:\n" "Examples:\n"
" execute '/me is testing' on all private buffers:\n" " execute '/me is testing' on all private buffers:\n"
" /allpv me is testing\n" " /allpv /me is testing\n"
" say 'hello' everywhere but not for nick foo:\n" " say 'hello' everywhere but not for nick foo:\n"
" /allpv -exclude=foo msg * hello\n" " /allpv -exclude=foo hello\n"
" say 'hello' everywhere but not for nick foo and nicks beginning with bar:\n" " say 'hello' everywhere but not for nick foo and nicks beginning with bar:\n"
" /allpv -exclude=foo,bar* msg * hello\n" " /allpv -exclude=foo,bar* hello\n"
" say 'hello' for all nicks beginning with bar:\n" " say 'hello' for all nicks beginning with bar:\n"
" /allpv -include=bar* msg * hello\n" " /allpv -include=bar* hello\n"
" close all private buffers:\n" " close all private buffers:\n"
" /allpv close" " /allpv /close"
msgstr "" msgstr ""
msgid "execute a command on all connected servers" msgid "execute a command on all connected servers"
@@ -5653,24 +5675,29 @@ msgstr ""
#, fuzzy #, fuzzy
msgid "" msgid ""
"[-exclude=<server>[,<server>...]] <command> [<arguments>] || -" "[-exclude=<server>[,<server>...]] <command> || -include=<server>[,"
"include=<server>[,<server>...] <command> [<arguments>]" "<server>...] <command>"
msgstr "[-exclude=<sunucu>[,<sunucu>...]] <komut> [<argümanlar>]" msgstr "[-exclude=<sunucu>[,<sunucu>...]] <komut> [<argümanlar>]"
msgid "" msgid ""
" -exclude: exclude some servers (wildcard \"*\" is allowed)\n" " -exclude: exclude some servers (wildcard \"*\" is allowed)\n"
" -include: include only some servers (wildcard \"*\" is allowed)\n" " -include: include only some servers (wildcard \"*\" is allowed)\n"
" command: command to execute\n" " command: command to execute (or text to send to buffer if command does not "
"arguments: arguments for command (special variables $nick, $channel and " "start with '/')\n"
"$server are replaced by their value)\n" "\n"
"Command and arguments are evaluated (see /help eval), the following "
"variables are replaced:\n"
" $server server name\n"
" $nick nick on server\n"
" ${irc_server.xxx} variable xxx in server\n"
"\n" "\n"
"Examples:\n" "Examples:\n"
" change nick on all servers:\n" " change nick on all servers:\n"
" /allserv nick newnick\n" " /allserv /nick newnick\n"
" set away on all servers:\n" " set away on all servers:\n"
" /allserv away I'm away\n" " /allserv /away I'm away\n"
" do a whois on my nick on all servers:\n" " do a whois on my nick on all servers:\n"
" /allserv whois $nick" " /allserv /whois $nick"
msgstr "" msgstr ""
msgid "ban nicks or hosts" msgid "ban nicks or hosts"
@@ -7981,6 +8008,12 @@ msgid "voice"
msgid_plural "voices" msgid_plural "voices"
msgstr[0] "" msgstr[0] ""
#. TRANSLATORS: number of "normal" nicks on a channel (ie no op/voice), for example: "56 normals"
#, c-format
msgid "%s%s%d%s normal"
msgid_plural "%s%s%d%s normals"
msgstr[0] ""
#, fuzzy, c-format #, fuzzy, c-format
msgid "%sChannel %s%s%s: %s%d%s %s %s(%s%s)" msgid "%sChannel %s%s%s: %s%d%s %s %s(%s%s)"
msgstr "" msgstr ""
@@ -8811,6 +8844,13 @@ msgstr ""
msgid "get nick color code" msgid "get nick color code"
msgstr "rumuz renk kodu al" msgstr "rumuz renk kodu al"
msgid ""
"nickname;colors (colors is an optional comma-separated list of colors to "
"use; background is allowed for a color with format text:background; if "
"colors is present, WeeChat options with nick colors and forced nick colors "
"are ignored)"
msgstr ""
msgid "get nick color name" msgid "get nick color name"
msgstr "rumuz renk ismi al" msgstr "rumuz renk ismi al"
@@ -9967,6 +10007,12 @@ msgstr "Betikler"
msgid "Script manager" msgid "Script manager"
msgstr "Betik yöneticisi" msgstr "Betik yöneticisi"
#, c-format
msgid ""
"%s%s: download of scripts is disabled by default; see /help script.scripts."
"download_enabled"
msgstr ""
#, fuzzy #, fuzzy
msgid "WeeChat script manager" msgid "WeeChat script manager"
msgstr "WeeChat betik yöneticisi" msgstr "WeeChat betik yöneticisi"
@@ -10212,6 +10258,14 @@ msgid ""
"expire)" "expire)"
msgstr "" msgstr ""
msgid ""
"enable download of files from the scripts repository when the /script "
"command is used (list of scripts and scripts themselves); the list of "
"scripts is downloaded from the URL specified in the option script.scripts."
"url; WeeChat will sometimes download again the list of scripts when you use "
"the /script command, even if you don't install a script"
msgstr ""
msgid "timeout (in seconds) for download of scripts and list of scripts" msgid "timeout (in seconds) for download of scripts and list of scripts"
msgstr "" msgstr ""
+91 -37
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: 2020-06-21 18:56+0200\n" "POT-Creation-Date: 2020-10-11 16:22+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"
@@ -3888,9 +3888,7 @@ msgid "verbose"
msgstr "" msgstr ""
msgid "normal" msgid "normal"
msgid_plural "normals" msgstr ""
msgstr[0] ""
msgstr[1] ""
msgid "Debug disabled for cursor mode" msgid "Debug disabled for cursor mode"
msgstr "" msgstr ""
@@ -4026,7 +4024,7 @@ msgid ""
" alias /split to split window horizontally:\n" " alias /split to split window horizontally:\n"
" /alias add split /window splith\n" " /alias add split /window splith\n"
" alias /hello to say \"hello\" on all channels but not on #weechat:\n" " alias /hello to say \"hello\" on all channels but not on #weechat:\n"
" /alias add hello /allchan -exclude=#weechat msg * hello\n" " /alias add hello /allchan -exclude=#weechat hello\n"
" alias /forcejoin to send IRC command \"forcejoin\" with completion of /" " alias /forcejoin to send IRC command \"forcejoin\" with completion of /"
"sajoin:\n" "sajoin:\n"
" /alias addcompletion %%sajoin forcejoin /quote forcejoin" " /alias addcompletion %%sajoin forcejoin /quote forcejoin"
@@ -4411,11 +4409,11 @@ msgstr ""
msgid "" msgid ""
"-list || [-sh|-nosh] [-bg|-nobg] [-stdin|-nostdin] [-buffer <name>] [-l|-o|-" "-list || [-sh|-nosh] [-bg|-nobg] [-stdin|-nostdin] [-buffer <name>] [-l|-o|-"
"n|-nf] [-cl|-nocl] [-sw|-nosw] [-ln|-noln] [-flush|-noflush] [-color ansi|" "oc|-n|-nf] [-oerr] [-cl|-nocl] [-sw|-nosw] [-ln|-noln] [-flush|-noflush] [-"
"auto|irc|weechat|strip] [-rc|-norc] [-timeout <timeout>] [-name <name>] [-" "color ansi|auto|irc|weechat|strip] [-rc|-norc] [-timeout <timeout>] [-name "
"pipe <command>] [-hsignal <name>] <command> || -in <id> <text> || -inclose " "<name>] [-pipe <command>] [-hsignal <name>] <command> || -in <id> <text> || -"
"<id> [<text>] || -signal <id> <signal> || -kill <id> || -killall || -set " "inclose <id> [<text>] || -signal <id> <signal> || -kill <id> || -killall || -"
"<id> <property> <value> || -del <id>|-all [<id>...]" "set <id> <property> <value> || -del <id>|-all [<id>...]"
msgstr "" msgstr ""
msgid "" msgid ""
@@ -4444,6 +4442,8 @@ msgid ""
" -nf: display output of command in a new buffer with free content (no " " -nf: display output of command in a new buffer with free content (no "
"word-wrap, no limit on number of lines) (not compatible with options -bg/-" "word-wrap, no limit on number of lines) (not compatible with options -bg/-"
"pipe/-hsignal)\n" "pipe/-hsignal)\n"
" -oerr: also send stderr (error output) to the buffer (can be used only "
"with options -o and -oc)\n"
" -cl: clear the new buffer before displaying output\n" " -cl: clear the new buffer before displaying output\n"
" -nocl: append to the new buffer without clear (default)\n" " -nocl: append to the new buffer without clear (default)\n"
" -sw: switch to the output buffer (default)\n" " -sw: switch to the output buffer (default)\n"
@@ -4828,6 +4828,13 @@ msgstr ""
msgid "configuration files, sections, options and words of options" msgid "configuration files, sections, options and words of options"
msgstr "" msgstr ""
msgid ""
"comma separated list of options to automatically refresh on the fset buffer "
"(if opened); \"*\" means all options (recommended), a name beginning with \"!"
"\" is a negative value to prevent an option to be refreshed, wildcard \"*\" "
"is allowed in names (example: \"*,!plugin.section.*\")"
msgstr ""
msgid "" msgid ""
"automatically unmark all options after an action on marked options or after " "automatically unmark all options after an action on marked options or after "
"a refresh" "a refresh"
@@ -5536,81 +5543,100 @@ msgid "execute a command on all channels of all connected servers"
msgstr "" msgstr ""
msgid "" msgid ""
"[-current] [-exclude=<channel>[,<channel>...]] <command> [<arguments>] || [-" "[-current] [-exclude=<channel>[,<channel>...]] <command> || [-current] -"
"current] -include=<channel>[,<channel>...] <command> [<arguments>]" "include=<channel>[,<channel>...] <command>"
msgstr "" msgstr ""
msgid "" msgid ""
" -current: execute command for channels of current server only\n" " -current: execute command for channels of current server only\n"
" -exclude: exclude some channels (wildcard \"*\" is allowed)\n" " -exclude: exclude some channels (wildcard \"*\" is allowed)\n"
" -include: include only some channels (wildcard \"*\" is allowed)\n" " -include: include only some channels (wildcard \"*\" is allowed)\n"
" command: command to execute\n" " command: command to execute (or text to send to buffer if command does not "
"arguments: arguments for command (special variables $nick, $channel and " "start with '/')\n"
"$server are replaced by their value)\n" "\n"
"Command and arguments are evaluated (see /help eval), the following "
"variables are replaced:\n"
" $server server name\n"
" $channel channel name\n"
" $nick nick on server\n"
" ${irc_server.xxx} variable xxx in server\n"
" ${irc_channel.xxx} variable xxx in channel\n"
"\n" "\n"
"Examples:\n" "Examples:\n"
" execute '/me is testing' on all channels:\n" " execute '/me is testing' on all channels:\n"
" /allchan me is testing\n" " /allchan /me is testing\n"
" say 'hello' everywhere but not on #weechat:\n" " say 'hello' everywhere but not on #weechat:\n"
" /allchan -exclude=#weechat msg * hello\n" " /allchan -exclude=#weechat hello\n"
" say 'hello' everywhere but not on #weechat and channels beginning with " " say 'hello' everywhere but not on #weechat and channels beginning with "
"#linux:\n" "#linux:\n"
" /allchan -exclude=#weechat,#linux* msg * hello\n" " /allchan -exclude=#weechat,#linux* hello\n"
" say 'hello' on all channels beginning with #linux:\n" " say 'hello' on all channels beginning with #linux:\n"
" /allchan -include=#linux* msg * hello" " /allchan -include=#linux* hello"
msgstr "" msgstr ""
msgid "execute a command on all private buffers of all connected servers" msgid "execute a command on all private buffers of all connected servers"
msgstr "" msgstr ""
msgid "" msgid ""
"[-current] [-exclude=<nick>[,<nick>...]] <command> [<arguments>] || [-" "[-current] [-exclude=<nick>[,<nick>...]] <command> || [-current] -"
"current] -include=<nick>[,<nick>...] <command> [<arguments>]" "include=<nick>[,<nick>...] <command>"
msgstr "" msgstr ""
msgid "" msgid ""
" -current: execute command for private buffers of current server only\n" " -current: execute command for private buffers of current server only\n"
" -exclude: exclude some nicks (wildcard \"*\" is allowed)\n" " -exclude: exclude some nicks (wildcard \"*\" is allowed)\n"
" -include: include only some nicks (wildcard \"*\" is allowed)\n" " -include: include only some nicks (wildcard \"*\" is allowed)\n"
" command: command to execute\n" " command: command to execute (or text to send to buffer if command does not "
"arguments: arguments for command (special variables $nick, $channel and " "start with '/')\n"
"$server are replaced by their value)\n" "\n"
"Command and arguments are evaluated (see /help eval), the following "
"variables are replaced:\n"
" $server server name\n"
" $channel channel name\n"
" $nick nick on server\n"
" ${irc_server.xxx} variable xxx in server\n"
" ${irc_channel.xxx} variable xxx in channel\n"
"\n" "\n"
"Examples:\n" "Examples:\n"
" execute '/me is testing' on all private buffers:\n" " execute '/me is testing' on all private buffers:\n"
" /allpv me is testing\n" " /allpv /me is testing\n"
" say 'hello' everywhere but not for nick foo:\n" " say 'hello' everywhere but not for nick foo:\n"
" /allpv -exclude=foo msg * hello\n" " /allpv -exclude=foo hello\n"
" say 'hello' everywhere but not for nick foo and nicks beginning with bar:\n" " say 'hello' everywhere but not for nick foo and nicks beginning with bar:\n"
" /allpv -exclude=foo,bar* msg * hello\n" " /allpv -exclude=foo,bar* hello\n"
" say 'hello' for all nicks beginning with bar:\n" " say 'hello' for all nicks beginning with bar:\n"
" /allpv -include=bar* msg * hello\n" " /allpv -include=bar* hello\n"
" close all private buffers:\n" " close all private buffers:\n"
" /allpv close" " /allpv /close"
msgstr "" msgstr ""
msgid "execute a command on all connected servers" msgid "execute a command on all connected servers"
msgstr "" msgstr ""
msgid "" msgid ""
"[-exclude=<server>[,<server>...]] <command> [<arguments>] || -" "[-exclude=<server>[,<server>...]] <command> || -include=<server>[,"
"include=<server>[,<server>...] <command> [<arguments>]" "<server>...] <command>"
msgstr "" msgstr ""
msgid "" msgid ""
" -exclude: exclude some servers (wildcard \"*\" is allowed)\n" " -exclude: exclude some servers (wildcard \"*\" is allowed)\n"
" -include: include only some servers (wildcard \"*\" is allowed)\n" " -include: include only some servers (wildcard \"*\" is allowed)\n"
" command: command to execute\n" " command: command to execute (or text to send to buffer if command does not "
"arguments: arguments for command (special variables $nick, $channel and " "start with '/')\n"
"$server are replaced by their value)\n" "\n"
"Command and arguments are evaluated (see /help eval), the following "
"variables are replaced:\n"
" $server server name\n"
" $nick nick on server\n"
" ${irc_server.xxx} variable xxx in server\n"
"\n" "\n"
"Examples:\n" "Examples:\n"
" change nick on all servers:\n" " change nick on all servers:\n"
" /allserv nick newnick\n" " /allserv /nick newnick\n"
" set away on all servers:\n" " set away on all servers:\n"
" /allserv away I'm away\n" " /allserv /away I'm away\n"
" do a whois on my nick on all servers:\n" " do a whois on my nick on all servers:\n"
" /allserv whois $nick" " /allserv /whois $nick"
msgstr "" msgstr ""
msgid "ban nicks or hosts" msgid "ban nicks or hosts"
@@ -7842,6 +7868,13 @@ msgid_plural "voices"
msgstr[0] "" msgstr[0] ""
msgstr[1] "" msgstr[1] ""
#. TRANSLATORS: number of "normal" nicks on a channel (ie no op/voice), for example: "56 normals"
#, c-format
msgid "%s%s%d%s normal"
msgid_plural "%s%s%d%s normals"
msgstr[0] ""
msgstr[1] ""
#, c-format #, c-format
msgid "%sChannel %s%s%s: %s%d%s %s %s(%s%s)" msgid "%sChannel %s%s%s: %s%d%s %s %s(%s%s)"
msgstr "" msgstr ""
@@ -8671,6 +8704,13 @@ msgstr ""
msgid "get nick color code" msgid "get nick color code"
msgstr "" msgstr ""
msgid ""
"nickname;colors (colors is an optional comma-separated list of colors to "
"use; background is allowed for a color with format text:background; if "
"colors is present, WeeChat options with nick colors and forced nick colors "
"are ignored)"
msgstr ""
msgid "get nick color name" msgid "get nick color name"
msgstr "" msgstr ""
@@ -9826,6 +9866,12 @@ msgstr ""
msgid "Script manager" msgid "Script manager"
msgstr "" msgstr ""
#, c-format
msgid ""
"%s%s: download of scripts is disabled by default; see /help script.scripts."
"download_enabled"
msgstr ""
msgid "WeeChat script manager" msgid "WeeChat script manager"
msgstr "" msgstr ""
@@ -10063,6 +10109,14 @@ msgid ""
"expire)" "expire)"
msgstr "" msgstr ""
msgid ""
"enable download of files from the scripts repository when the /script "
"command is used (list of scripts and scripts themselves); the list of "
"scripts is downloaded from the URL specified in the option script.scripts."
"url; WeeChat will sometimes download again the list of scripts when you use "
"the /script command, even if you don't install a script"
msgstr ""
msgid "timeout (in seconds) for download of scripts and list of scripts" msgid "timeout (in seconds) for download of scripts and list of scripts"
msgstr "" msgstr ""
+2 -2
View File
@@ -80,8 +80,8 @@ eval_debug_message (struct t_eval_context *eval_context, char *message, ...)
return; return;
if (*(eval_context->debug)[0]) if (*(eval_context->debug)[0])
string_dyn_concat (eval_context->debug, "\n"); string_dyn_concat (eval_context->debug, "\n", -1);
string_dyn_concat (eval_context->debug, vbuffer); string_dyn_concat (eval_context->debug, vbuffer, -1);
free (vbuffer); free (vbuffer);
} }
+11 -3
View File
@@ -3978,6 +3978,10 @@ string_dyn_copy (char **string, const char *new_string)
/* /*
* Concatenates a string to a dynamic string and adjusts its size accordingly. * Concatenates a string to a dynamic string and adjusts its size accordingly.
* *
* The parameter "bytes" is the max number of bytes to concatenate
* (a terminating null byte '\0' is automatically added); value -1 means
* automatic: whole string "add" is concatenated.
*
* The string pointer (*string) is updated with the new allocated string * The string pointer (*string) is updated with the new allocated string
* if the string had to be extended, or the same pointer if there was enough * if the string had to be extended, or the same pointer if there was enough
* size to concatenate the new string. * size to concatenate the new string.
@@ -3988,7 +3992,7 @@ string_dyn_copy (char **string, const char *new_string)
*/ */
int int
string_dyn_concat (char **string, const char *add) string_dyn_concat (char **string, const char *add, int bytes)
{ {
struct t_string_dyn *ptr_string_dyn; struct t_string_dyn *ptr_string_dyn;
char *string_realloc; char *string_realloc;
@@ -3997,12 +4001,15 @@ string_dyn_concat (char **string, const char *add)
if (!string || !*string) if (!string || !*string)
return 0; return 0;
if (!add || !add[0]) if (!add || !add[0] || (bytes == 0))
return 1; return 1;
ptr_string_dyn = (struct t_string_dyn *)string; ptr_string_dyn = (struct t_string_dyn *)string;
length_add = strlen (add); length_add = strlen (add);
if ((bytes >= 0) && (bytes < (int)length_add))
length_add = bytes;
new_size = ptr_string_dyn->size + length_add; new_size = ptr_string_dyn->size + length_add;
if (new_size > ptr_string_dyn->size_alloc) if (new_size > ptr_string_dyn->size_alloc)
@@ -4027,8 +4034,9 @@ string_dyn_concat (char **string, const char *add)
/* concatenate "add" after "string" */ /* concatenate "add" after "string" */
memmove (ptr_string_dyn->string + ptr_string_dyn->size - 1, memmove (ptr_string_dyn->string + ptr_string_dyn->size - 1,
add, add,
length_add + 1); length_add);
ptr_string_dyn->size = new_size; ptr_string_dyn->size = new_size;
ptr_string_dyn->string[new_size - 1] = '\0';
return 1; return 1;
} }
+1 -1
View File
@@ -134,7 +134,7 @@ extern const char *string_shared_get (const char *string);
extern void string_shared_free (const char *string); extern void string_shared_free (const char *string);
extern char **string_dyn_alloc (int size_alloc); extern char **string_dyn_alloc (int size_alloc);
extern int string_dyn_copy (char **string, const char *new_string); extern int string_dyn_copy (char **string, const char *new_string);
extern int string_dyn_concat (char **string, const char *add); extern int string_dyn_concat (char **string, const char *add, int bytes);
extern char *string_dyn_free (char **string, int free_string); extern char *string_dyn_free (char **string, int free_string);
extern void string_end (); extern void string_end ();
+4 -12
View File
@@ -614,8 +614,6 @@ gui_color_build (int number, int foreground, int background)
void void
gui_color_init_vars () gui_color_init_vars ()
{ {
int size;
gui_color_term_has_colors = (has_colors ()) ? 1 : 0; gui_color_term_has_colors = (has_colors ()) ? 1 : 0;
gui_color_term_colors = 0; gui_color_term_colors = 0;
gui_color_term_color_pairs = 0; gui_color_term_color_pairs = 0;
@@ -637,12 +635,9 @@ gui_color_init_vars ()
/* TODO: ncurses may support 65536, but short type used for pairs supports only 32768? */ /* TODO: ncurses may support 65536, but short type used for pairs supports only 32768? */
gui_color_num_pairs = (gui_color_term_color_pairs >= 32768) ? gui_color_num_pairs = (gui_color_term_color_pairs >= 32768) ?
32767 : gui_color_term_color_pairs - 1; 32767 : gui_color_term_color_pairs - 1;
size = (gui_color_term_colors + 2) gui_color_pairs = calloc (
* (gui_color_term_colors + 2) (gui_color_term_colors + 2) * (gui_color_term_colors + 2),
* sizeof (gui_color_pairs[0]); sizeof (gui_color_pairs[0]));
gui_color_pairs = malloc (size);
if (gui_color_pairs)
memset (gui_color_pairs, 0, size);
gui_color_pairs_used = 0; gui_color_pairs_used = 0;
/* reserved for future usage */ /* reserved for future usage */
@@ -667,10 +662,7 @@ gui_color_init_vars ()
gui_color_term_color_pairs = 1; gui_color_term_color_pairs = 1;
gui_color_term_can_change_color = 0; gui_color_term_can_change_color = 0;
gui_color_num_pairs = 1; gui_color_num_pairs = 1;
size = sizeof (gui_color_pairs[0]); gui_color_pairs = calloc (1, sizeof (gui_color_pairs[0]));
gui_color_pairs = malloc (size);
if (gui_color_pairs)
memset (gui_color_pairs, 0, size);
gui_color_pairs_used = 0; gui_color_pairs_used = 0;
} }
} }
+20 -17
View File
@@ -1440,11 +1440,7 @@ gui_bar_item_hotlist_cb (const void *pointer, void *data,
buffer_without_name_displayed = NULL; buffer_without_name_displayed = NULL;
if (CONFIG_BOOLEAN(config_look_hotlist_unique_numbers) && last_gui_buffer) if (CONFIG_BOOLEAN(config_look_hotlist_unique_numbers) && last_gui_buffer)
{ buffer_without_name_displayed = calloc (last_gui_buffer->number, 1);
buffer_without_name_displayed = malloc (last_gui_buffer->number);
if (buffer_without_name_displayed)
memset (buffer_without_name_displayed, 0, last_gui_buffer->number);
}
numbers_count = 0; numbers_count = 0;
names_count = 0; names_count = 0;
@@ -1773,7 +1769,7 @@ gui_bar_item_buffer_nicklist_cb (const void *pointer, void *data,
&& ptr_group->visible)) && ptr_group->visible))
{ {
if (*nicklist[0]) if (*nicklist[0])
string_dyn_concat (nicklist, "\n"); string_dyn_concat (nicklist, "\n", -1);
if (ptr_nick) if (ptr_nick)
{ {
@@ -1781,7 +1777,7 @@ gui_bar_item_buffer_nicklist_cb (const void *pointer, void *data,
{ {
for (i = 0; i < ptr_nick->group->level; i++) for (i = 0; i < ptr_nick->group->level; i++)
{ {
string_dyn_concat (nicklist, " "); string_dyn_concat (nicklist, " ", -1);
} }
} }
if (ptr_nick->prefix_color) if (ptr_nick->prefix_color)
@@ -1797,18 +1793,20 @@ gui_bar_item_buffer_nicklist_cb (const void *pointer, void *data,
nicklist, nicklist,
gui_color_get_custom ( gui_color_get_custom (
gui_color_get_name ( gui_color_get_name (
CONFIG_COLOR(ptr_option)))); CONFIG_COLOR(ptr_option))),
-1);
} }
} }
else else
{ {
string_dyn_concat (nicklist, string_dyn_concat (nicklist,
gui_color_get_custom ( gui_color_get_custom (
ptr_nick->prefix_color)); ptr_nick->prefix_color),
-1);
} }
} }
if (ptr_nick->prefix) if (ptr_nick->prefix)
string_dyn_concat (nicklist, ptr_nick->prefix); string_dyn_concat (nicklist, ptr_nick->prefix, -1);
if (ptr_nick->color) if (ptr_nick->color)
{ {
if (strchr (ptr_nick->color, '.')) if (strchr (ptr_nick->color, '.'))
@@ -1822,23 +1820,25 @@ gui_bar_item_buffer_nicklist_cb (const void *pointer, void *data,
nicklist, nicklist,
gui_color_get_custom ( gui_color_get_custom (
gui_color_get_name ( gui_color_get_name (
CONFIG_COLOR(ptr_option)))); CONFIG_COLOR(ptr_option))),
-1);
} }
} }
else else
{ {
string_dyn_concat (nicklist, string_dyn_concat (nicklist,
gui_color_get_custom ( gui_color_get_custom (
ptr_nick->color)); ptr_nick->color),
-1);
} }
} }
string_dyn_concat (nicklist, ptr_nick->name); string_dyn_concat (nicklist, ptr_nick->name, -1);
} }
else else
{ {
for (i = 0; i < ptr_group->level - 1; i++) for (i = 0; i < ptr_group->level - 1; i++)
{ {
string_dyn_concat (nicklist, " "); string_dyn_concat (nicklist, " ", -1);
} }
if (ptr_group->color) if (ptr_group->color)
{ {
@@ -1853,19 +1853,22 @@ gui_bar_item_buffer_nicklist_cb (const void *pointer, void *data,
nicklist, nicklist,
gui_color_get_custom ( gui_color_get_custom (
gui_color_get_name ( gui_color_get_name (
CONFIG_COLOR(ptr_option)))); CONFIG_COLOR(ptr_option))),
-1);
} }
} }
else else
{ {
string_dyn_concat (nicklist, string_dyn_concat (nicklist,
gui_color_get_custom ( gui_color_get_custom (
ptr_group->color)); ptr_group->color),
-1);
} }
} }
string_dyn_concat (nicklist, string_dyn_concat (nicklist,
gui_nicklist_get_group_start ( gui_nicklist_get_group_start (
ptr_group->name)); ptr_group->name),
-1);
} }
} }
gui_nicklist_get_next_item (buffer, &ptr_group, &ptr_nick); gui_nicklist_get_next_item (buffer, &ptr_group, &ptr_nick);
+2 -2
View File
@@ -717,7 +717,7 @@ gui_buffer_new (struct t_weechat_plugin *plugin,
new_buffer->title = NULL; new_buffer->title = NULL;
/* chat content */ /* chat content */
new_buffer->own_lines = gui_lines_alloc (); new_buffer->own_lines = gui_line_lines_alloc ();
new_buffer->mixed_lines = NULL; new_buffer->mixed_lines = NULL;
new_buffer->lines = new_buffer->own_lines; new_buffer->lines = new_buffer->own_lines;
new_buffer->time_for_each_line = 1; new_buffer->time_for_each_line = 1;
@@ -3659,7 +3659,7 @@ gui_buffer_unmerge (struct t_gui_buffer *buffer, int number)
{ {
/* only one buffer will remain, so it will not be merged any more */ /* only one buffer will remain, so it will not be merged any more */
gui_line_mixed_free_all (buffer); gui_line_mixed_free_all (buffer);
gui_lines_free (buffer->mixed_lines); gui_line_lines_free (buffer->mixed_lines);
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)
{ {
+2 -2
View File
@@ -906,9 +906,9 @@ gui_chat_add_line_waiting_buffer (const char *message)
} }
if (*gui_chat_lines_waiting_buffer[0]) if (*gui_chat_lines_waiting_buffer[0])
string_dyn_concat (gui_chat_lines_waiting_buffer, "\n"); string_dyn_concat (gui_chat_lines_waiting_buffer, "\n", -1);
string_dyn_concat (gui_chat_lines_waiting_buffer, message); string_dyn_concat (gui_chat_lines_waiting_buffer, message, -1);
} }
/* /*
+206 -35
View File
@@ -562,6 +562,179 @@ gui_color_convert_rgb_to_term (int rgb, int limit)
return best_color; return best_color;
} }
/*
* Returns the size (in bytes) of the WeeChat color code at the beginning
* of "string".
*
* If "string" is NULL, empty or does not start with a color code,
* it returns 0.
*
* If "string" begins with multiple color codes, only the size of the first
* one is returned.
*/
int
gui_color_code_size (const char *string)
{
const char *ptr_string;
if (!string)
return 0;
ptr_string = string;
switch (ptr_string[0])
{
case GUI_COLOR_COLOR_CHAR:
ptr_string++;
switch (ptr_string[0])
{
case GUI_COLOR_FG_CHAR:
ptr_string++;
if (ptr_string[0] == GUI_COLOR_EXTENDED_CHAR)
{
ptr_string++;
while (gui_color_attr_get_flag (ptr_string[0]) > 0)
{
ptr_string++;
}
if (ptr_string[0] && ptr_string[1] && ptr_string[2]
&& ptr_string[3] && ptr_string[4])
{
ptr_string += 5;
}
}
else
{
while (gui_color_attr_get_flag (ptr_string[0]) > 0)
{
ptr_string++;
}
if (ptr_string[0] && ptr_string[1])
ptr_string += 2;
}
break;
case GUI_COLOR_BG_CHAR:
ptr_string++;
if (ptr_string[0] == GUI_COLOR_EXTENDED_CHAR)
{
ptr_string++;
if (ptr_string[0] && ptr_string[1] && ptr_string[2]
&& ptr_string[3] && ptr_string[4])
{
ptr_string += 5;
}
}
else
{
if (ptr_string[0] && ptr_string[1])
ptr_string += 2;
}
break;
case GUI_COLOR_FG_BG_CHAR:
ptr_string++;
if (ptr_string[0] == GUI_COLOR_EXTENDED_CHAR)
{
ptr_string++;
while (gui_color_attr_get_flag (ptr_string[0]) > 0)
{
ptr_string++;
}
if (ptr_string[0] && ptr_string[1] && ptr_string[2]
&& ptr_string[3] && ptr_string[4])
{
ptr_string += 5;
}
}
else
{
while (gui_color_attr_get_flag (ptr_string[0]) > 0)
{
ptr_string++;
}
if (ptr_string[0] && ptr_string[1])
ptr_string += 2;
}
/*
* note: the comma is an old separator not used any
* more (since WeeChat 2.6), but we still use it here
* so in case of/upgrade this will not break colors in
* old messages
*/
if ((ptr_string[0] == ',') || (ptr_string[0] == '~'))
{
if (ptr_string[1] == GUI_COLOR_EXTENDED_CHAR)
{
ptr_string += 2;
if (ptr_string[0] && ptr_string[1]
&& ptr_string[2] && ptr_string[3]
&& ptr_string[4])
{
ptr_string += 5;
}
}
else
{
ptr_string++;
if (ptr_string[0] && ptr_string[1])
ptr_string += 2;
}
}
break;
case GUI_COLOR_EXTENDED_CHAR:
ptr_string++;
if ((isdigit (ptr_string[0])) && (isdigit (ptr_string[1]))
&& (isdigit (ptr_string[2])) && (isdigit (ptr_string[3]))
&& (isdigit (ptr_string[4])))
{
ptr_string += 5;
}
break;
case GUI_COLOR_EMPHASIS_CHAR:
ptr_string++;
break;
case GUI_COLOR_BAR_CHAR:
ptr_string++;
switch (ptr_string[0])
{
case GUI_COLOR_BAR_FG_CHAR:
case GUI_COLOR_BAR_BG_CHAR:
case GUI_COLOR_BAR_DELIM_CHAR:
case GUI_COLOR_BAR_START_INPUT_CHAR:
case GUI_COLOR_BAR_START_INPUT_HIDDEN_CHAR:
case GUI_COLOR_BAR_MOVE_CURSOR_CHAR:
case GUI_COLOR_BAR_START_ITEM:
case GUI_COLOR_BAR_START_LINE_ITEM:
ptr_string++;
break;
}
break;
case GUI_COLOR_RESET_CHAR:
ptr_string++;
break;
default:
if (isdigit (ptr_string[0]) && isdigit (ptr_string[1]))
ptr_string += 2;
break;
}
return ptr_string - string;
break;
case GUI_COLOR_SET_ATTR_CHAR:
case GUI_COLOR_REMOVE_ATTR_CHAR:
ptr_string++;
if (ptr_string[0])
ptr_string++;
return ptr_string - string;
break;
case GUI_COLOR_RESET_CHAR:
ptr_string++;
return ptr_string - string;
break;
}
return 0;
}
/* /*
* Removes WeeChat color codes from a message. * Removes WeeChat color codes from a message.
* *
@@ -1019,16 +1192,16 @@ gui_color_add_ansi_flag (char **output, int flag)
switch (flag) switch (flag)
{ {
case GUI_COLOR_EXTENDED_BOLD_FLAG: case GUI_COLOR_EXTENDED_BOLD_FLAG:
string_dyn_concat (output, "\x1B[1m"); string_dyn_concat (output, "\x1B[1m", -1);
break; break;
case GUI_COLOR_EXTENDED_REVERSE_FLAG: case GUI_COLOR_EXTENDED_REVERSE_FLAG:
string_dyn_concat (output, "\x1B[7m"); string_dyn_concat (output, "\x1B[7m", -1);
break; break;
case GUI_COLOR_EXTENDED_ITALIC_FLAG: case GUI_COLOR_EXTENDED_ITALIC_FLAG:
string_dyn_concat (output, "\x1B[3m"); string_dyn_concat (output, "\x1B[3m", -1);
break; break;
case GUI_COLOR_EXTENDED_UNDERLINE_FLAG: case GUI_COLOR_EXTENDED_UNDERLINE_FLAG:
string_dyn_concat (output, "\x1B[4m"); string_dyn_concat (output, "\x1B[4m", -1);
break; break;
case GUI_COLOR_EXTENDED_KEEPATTR_FLAG: case GUI_COLOR_EXTENDED_KEEPATTR_FLAG:
/* nothing to do here (really? not sure) */ /* nothing to do here (really? not sure) */
@@ -1111,7 +1284,7 @@ gui_color_encode_ansi (const char *string)
snprintf (str_concat, sizeof (str_concat), snprintf (str_concat, sizeof (str_concat),
"\x1B[38;5;%dm", "\x1B[38;5;%dm",
color); color);
string_dyn_concat (out, str_concat); string_dyn_concat (out, str_concat, -1);
} }
ptr_string += 5; ptr_string += 5;
} }
@@ -1138,7 +1311,7 @@ gui_color_encode_ansi (const char *string)
"\x1B[%dm", "\x1B[%dm",
(ansi_color < 8) ? (ansi_color < 8) ?
ansi_color + 30 : ansi_color - 8 + 90); ansi_color + 30 : ansi_color - 8 + 90);
string_dyn_concat (out, str_concat); string_dyn_concat (out, str_concat, -1);
} }
} }
ptr_string += 2; ptr_string += 2;
@@ -1162,7 +1335,7 @@ gui_color_encode_ansi (const char *string)
snprintf (str_concat, sizeof (str_concat), snprintf (str_concat, sizeof (str_concat),
"\x1B[48;5;%dm", "\x1B[48;5;%dm",
color); color);
string_dyn_concat (out, str_concat); string_dyn_concat (out, str_concat, -1);
} }
ptr_string += 5; ptr_string += 5;
} }
@@ -1184,7 +1357,7 @@ gui_color_encode_ansi (const char *string)
"\x1B[%dm", "\x1B[%dm",
(ansi_color < 8) ? (ansi_color < 8) ?
ansi_color + 40 : ansi_color - 8 + 100); ansi_color + 40 : ansi_color - 8 + 100);
string_dyn_concat (out, str_concat); string_dyn_concat (out, str_concat, -1);
} }
} }
ptr_string += 2; ptr_string += 2;
@@ -1213,7 +1386,7 @@ gui_color_encode_ansi (const char *string)
snprintf (str_concat, sizeof (str_concat), snprintf (str_concat, sizeof (str_concat),
"\x1B[38;5;%dm", "\x1B[38;5;%dm",
color); color);
string_dyn_concat (out, str_concat); string_dyn_concat (out, str_concat, -1);
} }
ptr_string += 5; ptr_string += 5;
} }
@@ -1240,7 +1413,7 @@ gui_color_encode_ansi (const char *string)
"\x1B[%dm", "\x1B[%dm",
(ansi_color < 8) ? (ansi_color < 8) ?
ansi_color + 30 : ansi_color - 8 + 90); ansi_color + 30 : ansi_color - 8 + 90);
string_dyn_concat (out, str_concat); string_dyn_concat (out, str_concat, -1);
} }
} }
ptr_string += 2; ptr_string += 2;
@@ -1270,7 +1443,7 @@ gui_color_encode_ansi (const char *string)
snprintf (str_concat, sizeof (str_concat), snprintf (str_concat, sizeof (str_concat),
"\x1B[48;5;%dm", "\x1B[48;5;%dm",
color); color);
string_dyn_concat (out, str_concat); string_dyn_concat (out, str_concat, -1);
} }
ptr_string += 5; ptr_string += 5;
} }
@@ -1293,7 +1466,7 @@ gui_color_encode_ansi (const char *string)
"\x1B[%dm", "\x1B[%dm",
(ansi_color < 8) ? (ansi_color < 8) ?
ansi_color + 40 : ansi_color - 8 + 100); ansi_color + 40 : ansi_color - 8 + 100);
string_dyn_concat (out, str_concat); string_dyn_concat (out, str_concat, -1);
} }
} }
ptr_string += 2; ptr_string += 2;
@@ -1316,7 +1489,7 @@ gui_color_encode_ansi (const char *string)
snprintf (str_concat, sizeof (str_concat), snprintf (str_concat, sizeof (str_concat),
"\x1B[38;5;%dm", "\x1B[38;5;%dm",
color); color);
string_dyn_concat (out, str_concat); string_dyn_concat (out, str_concat, -1);
} }
ptr_string += 5; ptr_string += 5;
} }
@@ -1342,7 +1515,7 @@ gui_color_encode_ansi (const char *string)
break; break;
case GUI_COLOR_RESET_CHAR: case GUI_COLOR_RESET_CHAR:
ptr_string++; ptr_string++;
string_dyn_concat (out, "\x1B[39m\x1B[49m"); string_dyn_concat (out, "\x1B[39m\x1B[49m", -1);
break; break;
default: default:
if (isdigit (ptr_string[0]) && isdigit (ptr_string[1])) if (isdigit (ptr_string[0]) && isdigit (ptr_string[1]))
@@ -1359,40 +1532,40 @@ gui_color_encode_ansi (const char *string)
bg = gui_color[color]->background; bg = gui_color[color]->background;
attrs = gui_color_get_extended_flags ( attrs = gui_color_get_extended_flags (
gui_color[color]->attributes); gui_color[color]->attributes);
string_dyn_concat (out, "\x1B[0m"); string_dyn_concat (out, "\x1B[0m", -1);
if (attrs & GUI_COLOR_EXTENDED_BOLD_FLAG) if (attrs & GUI_COLOR_EXTENDED_BOLD_FLAG)
string_dyn_concat (out, "\x1B[1m"); string_dyn_concat (out, "\x1B[1m", -1);
if (attrs & GUI_COLOR_EXTENDED_REVERSE_FLAG) if (attrs & GUI_COLOR_EXTENDED_REVERSE_FLAG)
string_dyn_concat (out, "\x1B[7m"); string_dyn_concat (out, "\x1B[7m", -1);
if (attrs & GUI_COLOR_EXTENDED_ITALIC_FLAG) if (attrs & GUI_COLOR_EXTENDED_ITALIC_FLAG)
string_dyn_concat (out, "\x1B[3m"); string_dyn_concat (out, "\x1B[3m", -1);
if (attrs & GUI_COLOR_EXTENDED_UNDERLINE_FLAG) if (attrs & GUI_COLOR_EXTENDED_UNDERLINE_FLAG)
string_dyn_concat (out, "\x1B[4m"); string_dyn_concat (out, "\x1B[4m", -1);
if ((fg > 0) && (fg & GUI_COLOR_EXTENDED_FLAG)) if ((fg > 0) && (fg & GUI_COLOR_EXTENDED_FLAG))
fg &= GUI_COLOR_EXTENDED_MASK; fg &= GUI_COLOR_EXTENDED_MASK;
if ((bg > 0) && (bg & GUI_COLOR_EXTENDED_FLAG)) if ((bg > 0) && (bg & GUI_COLOR_EXTENDED_FLAG))
bg &= GUI_COLOR_EXTENDED_MASK; bg &= GUI_COLOR_EXTENDED_MASK;
if (fg < 0) if (fg < 0)
{ {
string_dyn_concat (out, "\x1B[39m"); string_dyn_concat (out, "\x1B[39m", -1);
} }
else else
{ {
snprintf (str_concat, sizeof (str_concat), snprintf (str_concat, sizeof (str_concat),
"\x1B[38;5;%dm", "\x1B[38;5;%dm",
fg); fg);
string_dyn_concat (out, str_concat); string_dyn_concat (out, str_concat, -1);
} }
if (bg < 0) if (bg < 0)
{ {
string_dyn_concat (out, "\x1B[49m"); string_dyn_concat (out, "\x1B[49m", -1);
} }
else else
{ {
snprintf (str_concat, sizeof (str_concat), snprintf (str_concat, sizeof (str_concat),
"\x1B[48;5;%dm", "\x1B[48;5;%dm",
bg); bg);
string_dyn_concat (out, str_concat); string_dyn_concat (out, str_concat, -1);
} }
} }
ptr_string += 2; ptr_string += 2;
@@ -1407,16 +1580,16 @@ gui_color_encode_ansi (const char *string)
switch (ptr_string[0]) switch (ptr_string[0])
{ {
case GUI_COLOR_ATTR_BOLD_CHAR: case GUI_COLOR_ATTR_BOLD_CHAR:
string_dyn_concat (out, "\x1B[1m"); string_dyn_concat (out, "\x1B[1m", -1);
break; break;
case GUI_COLOR_ATTR_REVERSE_CHAR: case GUI_COLOR_ATTR_REVERSE_CHAR:
string_dyn_concat (out, "\x1B[7m"); string_dyn_concat (out, "\x1B[7m", -1);
break; break;
case GUI_COLOR_ATTR_ITALIC_CHAR: case GUI_COLOR_ATTR_ITALIC_CHAR:
string_dyn_concat (out, "\x1B[3m"); string_dyn_concat (out, "\x1B[3m", -1);
break; break;
case GUI_COLOR_ATTR_UNDERLINE_CHAR: case GUI_COLOR_ATTR_UNDERLINE_CHAR:
string_dyn_concat (out, "\x1B[4m"); string_dyn_concat (out, "\x1B[4m", -1);
break; break;
} }
ptr_string++; ptr_string++;
@@ -1429,32 +1602,30 @@ gui_color_encode_ansi (const char *string)
switch (ptr_string[0]) switch (ptr_string[0])
{ {
case GUI_COLOR_ATTR_BOLD_CHAR: case GUI_COLOR_ATTR_BOLD_CHAR:
string_dyn_concat (out, "\x1B[21m"); string_dyn_concat (out, "\x1B[21m", -1);
break; break;
case GUI_COLOR_ATTR_REVERSE_CHAR: case GUI_COLOR_ATTR_REVERSE_CHAR:
string_dyn_concat (out, "\x1B[27m"); string_dyn_concat (out, "\x1B[27m", -1);
break; break;
case GUI_COLOR_ATTR_ITALIC_CHAR: case GUI_COLOR_ATTR_ITALIC_CHAR:
string_dyn_concat (out, "\x1B[23m"); string_dyn_concat (out, "\x1B[23m", -1);
break; break;
case GUI_COLOR_ATTR_UNDERLINE_CHAR: case GUI_COLOR_ATTR_UNDERLINE_CHAR:
string_dyn_concat (out, "\x1B[24m"); string_dyn_concat (out, "\x1B[24m", -1);
break; break;
} }
ptr_string++; ptr_string++;
} }
break; break;
case GUI_COLOR_RESET_CHAR: case GUI_COLOR_RESET_CHAR:
string_dyn_concat (out, "\x1B[0m"); string_dyn_concat (out, "\x1B[0m", -1);
ptr_string++; ptr_string++;
break; break;
default: default:
length = utf8_char_size ((char *)ptr_string); length = utf8_char_size ((char *)ptr_string);
if (length == 0) if (length == 0)
length = 1; length = 1;
memcpy (str_concat, ptr_string, length); string_dyn_concat (out, (const char *)ptr_string, length);
str_concat[length] = '\0';
string_dyn_concat (out, str_concat);
ptr_string += length; ptr_string += length;
break; break;
} }
+1
View File
@@ -186,6 +186,7 @@ extern void gui_color_attr_build_string (int color, char *str_attr);
extern const char *gui_color_get_custom (const char *color_name); extern const char *gui_color_get_custom (const char *color_name);
extern int gui_color_convert_term_to_rgb (int color); extern int gui_color_convert_term_to_rgb (int color);
extern int gui_color_convert_rgb_to_term (int rgb, int limit); extern int gui_color_convert_rgb_to_term (int rgb, int limit);
extern int gui_color_code_size (const char *string);
extern char *gui_color_decode (const char *string, const char *replacement); extern char *gui_color_decode (const char *string, const char *replacement);
extern char *gui_color_decode_ansi (const char *string, int keep_colors); extern char *gui_color_decode_ansi (const char *string, int keep_colors);
extern char *gui_color_encode_ansi (const char *string); extern char *gui_color_encode_ansi (const char *string);
+91 -55
View File
@@ -54,7 +54,7 @@
*/ */
struct t_gui_lines * struct t_gui_lines *
gui_lines_alloc () gui_line_lines_alloc ()
{ {
struct t_gui_lines *new_lines; struct t_gui_lines *new_lines;
@@ -81,7 +81,7 @@ gui_lines_alloc ()
*/ */
void void
gui_lines_free (struct t_gui_lines *lines) gui_line_lines_free (struct t_gui_lines *lines)
{ {
if (!lines) if (!lines)
return; return;
@@ -96,6 +96,9 @@ gui_lines_free (struct t_gui_lines *lines)
void void
gui_line_tags_alloc (struct t_gui_line_data *line_data, const char *tags) gui_line_tags_alloc (struct t_gui_line_data *line_data, const char *tags)
{ {
if (!line_data)
return;
if (tags) if (tags)
{ {
line_data->tags_array = string_split_shared (tags, ",", NULL, 0, 0, line_data->tags_array = string_split_shared (tags, ",", NULL, 0, 0,
@@ -380,6 +383,9 @@ gui_line_get_align (struct t_gui_buffer *buffer, struct t_gui_line *line,
int int
gui_line_is_displayed (struct t_gui_line *line) gui_line_is_displayed (struct t_gui_line *line)
{ {
if (!line)
return 0;
/* line is hidden if filters are enabled and flag "displayed" is not set */ /* line is hidden if filters are enabled and flag "displayed" is not set */
if (gui_filters_enabled && !line->data->displayed) if (gui_filters_enabled && !line->data->displayed)
return 0; return 0;
@@ -620,6 +626,9 @@ gui_line_has_tag_no_filter (struct t_gui_line_data *line_data)
{ {
int i; int i;
if (!line_data)
return 0;
for (i = 0; i < line_data->tags_count; i++) for (i = 0; i < line_data->tags_count; i++)
{ {
if (strcmp (line_data->tags_array[i], GUI_FILTER_TAG_NO_FILTER) == 0) if (strcmp (line_data->tags_array[i], GUI_FILTER_TAG_NO_FILTER) == 0)
@@ -727,6 +736,9 @@ gui_line_get_nick_tag (struct t_gui_line *line)
{ {
const char *tag; const char *tag;
if (!line)
return NULL;
tag = gui_line_search_tag_starting_with (line, "nick_"); tag = gui_line_search_tag_starting_with (line, "nick_");
if (!tag) if (!tag)
return NULL; return NULL;
@@ -1229,77 +1241,80 @@ gui_line_free_all (struct t_gui_buffer *buffer)
} }
/* /*
* Gets notify level for a line. * Gets max notify level for a line, according to the nick.
* *
* Returns notify level of line, -1 if tag "notify_none" is found (meaning no * Returns max notify level, between -1 and GUI_HOTLIST_HIGHLIGHT.
* notify at all for line).
*/ */
int int
gui_line_get_notify_level (struct t_gui_line *line) gui_line_get_max_notify_level (struct t_gui_line *line)
{ {
int i, notify_level, *max_notify_level; int max_notify_level, *ptr_max_notify_level;
const char *nick; const char *nick;
notify_level = GUI_HOTLIST_LOW; max_notify_level = GUI_HOTLIST_HIGHLIGHT;
nick = gui_line_get_nick_tag (line);
if (nick)
{
ptr_max_notify_level = hashtable_get (
line->data->buffer->hotlist_max_level_nicks,
nick);
if (ptr_max_notify_level)
max_notify_level = *ptr_max_notify_level;
}
return max_notify_level;
}
/*
* Sets the notify level in a line:
* -1: no notify at all
* 0: low (GUI_HOTLIST_LOW)
* 1: message (GUI_HOTLIST_MESSAGE)
* 2: private message (GUI_HOTLIST_PRIVATE)
* 3: message with highlight (GUI_HOTLIST_HIGHLIGHT)
*/
void
gui_line_set_notify_level (struct t_gui_line *line, int max_notify_level)
{
int i;
line->data->notify_level = GUI_HOTLIST_LOW;
for (i = 0; i < line->data->tags_count; i++) for (i = 0; i < line->data->tags_count; i++)
{ {
if (string_strcasecmp (line->data->tags_array[i], "notify_none") == 0) if (string_strcasecmp (line->data->tags_array[i], "notify_none") == 0)
notify_level = -1; line->data->notify_level = -1;
if (string_strcasecmp (line->data->tags_array[i], "notify_highlight") == 0)
notify_level = GUI_HOTLIST_HIGHLIGHT;
if (string_strcasecmp (line->data->tags_array[i], "notify_private") == 0)
notify_level = GUI_HOTLIST_PRIVATE;
if (string_strcasecmp (line->data->tags_array[i], "notify_message") == 0) if (string_strcasecmp (line->data->tags_array[i], "notify_message") == 0)
notify_level = GUI_HOTLIST_MESSAGE; line->data->notify_level = GUI_HOTLIST_MESSAGE;
if (string_strcasecmp (line->data->tags_array[i], "notify_private") == 0)
line->data->notify_level = GUI_HOTLIST_PRIVATE;
if (string_strcasecmp (line->data->tags_array[i], "notify_highlight") == 0)
line->data->notify_level = GUI_HOTLIST_HIGHLIGHT;
} }
max_notify_level = NULL; if (line->data->notify_level > max_notify_level)
nick = gui_line_get_nick_tag (line); line->data->notify_level = max_notify_level;
if (nick)
{
max_notify_level = hashtable_get (line->data->buffer->hotlist_max_level_nicks,
nick);
}
if (max_notify_level && (*max_notify_level < notify_level))
notify_level = *max_notify_level;
return notify_level;
} }
/* /*
* Gets highlight flag for a line, using the notify level in the line. * Sets highlight flag in a line:
* * 0: no highlight
* Returns 1 for highlight otherwise 0. * 1: highlight
*/ */
int void
gui_line_get_highlight (struct t_gui_line *line) gui_line_set_highlight (struct t_gui_line *line, int max_notify_level)
{ {
int highlight, *max_notify_level;
const char *nick;
if (line->data->notify_level == GUI_HOTLIST_HIGHLIGHT) if (line->data->notify_level == GUI_HOTLIST_HIGHLIGHT)
{ line->data->highlight = 1;
highlight = 1;
}
else else
{ {
max_notify_level = NULL; line->data->highlight = (max_notify_level == GUI_HOTLIST_HIGHLIGHT) ?
nick = gui_line_get_nick_tag (line); gui_line_has_highlight (line) : 0;
if (nick)
{
max_notify_level = hashtable_get (line->data->buffer->hotlist_max_level_nicks,
nick);
}
if (max_notify_level && (*max_notify_level < GUI_HOTLIST_HIGHLIGHT))
highlight = 0;
else
highlight = gui_line_has_highlight (line);
} }
return highlight;
} }
/* /*
@@ -1313,6 +1328,7 @@ gui_line_new (struct t_gui_buffer *buffer, int y, time_t date,
{ {
struct t_gui_line *new_line; struct t_gui_line *new_line;
struct t_gui_line_data *new_line_data; struct t_gui_line_data *new_line_data;
int max_notify_level;
/* create new line */ /* create new line */
new_line = malloc (sizeof (*new_line)); new_line = malloc (sizeof (*new_line));
@@ -1344,8 +1360,11 @@ gui_line_new (struct t_gui_buffer *buffer, int y, time_t date,
(char *)string_shared_get (prefix) : ((date != 0) ? (char *)string_shared_get ("") : NULL); (char *)string_shared_get (prefix) : ((date != 0) ? (char *)string_shared_get ("") : NULL);
new_line->data->prefix_length = (prefix) ? new_line->data->prefix_length = (prefix) ?
gui_chat_strlen_screen (prefix) : 0; gui_chat_strlen_screen (prefix) : 0;
new_line->data->notify_level = gui_line_get_notify_level (new_line); max_notify_level = gui_line_get_max_notify_level (new_line);
new_line->data->highlight = gui_line_get_highlight (new_line); gui_line_set_notify_level (new_line, max_notify_level);
gui_line_set_highlight (new_line, max_notify_level);
if (new_line->data->highlight && (new_line->data->notify_level >= 0))
new_line->data->notify_level = GUI_HOTLIST_HIGHLIGHT;
} }
else else
{ {
@@ -1386,6 +1405,7 @@ gui_line_hook_update (struct t_gui_line *line,
long value; long value;
char *error; char *error;
int rc, tags_updated, notify_level_updated, highlight_updated; int rc, tags_updated, notify_level_updated, highlight_updated;
int max_notify_level;
tags_updated = 0; tags_updated = 0;
notify_level_updated = 0; notify_level_updated = 0;
@@ -1531,16 +1551,31 @@ gui_line_hook_update (struct t_gui_line *line,
line->data->message = (ptr_value2) ? strdup (ptr_value2) : NULL; line->data->message = (ptr_value2) ? strdup (ptr_value2) : NULL;
} }
max_notify_level = gui_line_get_max_notify_level (line);
/* if tags were updated but not notify_level, adjust notify level */ /* if tags were updated but not notify_level, adjust notify level */
if (tags_updated && !notify_level_updated) if (tags_updated && !notify_level_updated)
line->data->notify_level = gui_line_get_notify_level (line); gui_line_set_notify_level (line, max_notify_level);
/* adjust flag "displayed" if tags were updated */ /* adjust flag "displayed" if tags were updated */
if (tags_updated) if (tags_updated)
line->data->displayed = gui_filter_check_line (line->data); line->data->displayed = gui_filter_check_line (line->data);
if ((tags_updated || notify_level_updated) && !highlight_updated) if ((tags_updated || notify_level_updated) && !highlight_updated)
line->data->highlight = gui_line_get_highlight (line); {
gui_line_set_highlight (line, max_notify_level);
if (line->data->highlight && !notify_level_updated
&& (line->data->notify_level >= 0))
{
line->data->notify_level = GUI_HOTLIST_HIGHLIGHT;
}
}
if (!notify_level_updated && highlight_updated && line->data->highlight
&& (line->data->notify_level >= 0))
{
line->data->notify_level = GUI_HOTLIST_HIGHLIGHT;
}
} }
/* /*
@@ -1581,7 +1616,8 @@ gui_line_add (struct t_gui_line *line)
/* update hotlist and/or send signals for line */ /* update hotlist and/or send signals for line */
if (line->data->displayed) if (line->data->displayed)
{ {
if (line->data->highlight) if ((line->data->notify_level >= GUI_HOTLIST_MIN)
&& line->data->highlight)
{ {
(void) gui_hotlist_add (line->data->buffer, (void) gui_hotlist_add (line->data->buffer,
GUI_HOTLIST_HIGHLIGHT, NULL); GUI_HOTLIST_HIGHLIGHT, NULL);
@@ -1786,7 +1822,7 @@ gui_line_mix_buffers (struct t_gui_buffer *buffer)
return; return;
/* mix all lines (sorting by date) to a new structure "new_lines" */ /* mix all lines (sorting by date) to a new structure "new_lines" */
new_lines = gui_lines_alloc (); new_lines = gui_line_lines_alloc ();
if (!new_lines) if (!new_lines)
return; return;
ptr_line1 = ptr_buffer_found->lines->first_line; ptr_line1 = ptr_buffer_found->lines->first_line;
+7 -3
View File
@@ -69,8 +69,8 @@ struct t_gui_lines
/* line functions */ /* line functions */
extern struct t_gui_lines *gui_lines_alloc (); extern struct t_gui_lines *gui_line_lines_alloc ();
extern void gui_lines_free (struct t_gui_lines *lines); extern void gui_line_lines_free (struct t_gui_lines *lines);
extern void gui_line_tags_alloc (struct t_gui_line_data *line_data, extern void gui_line_tags_alloc (struct t_gui_line_data *line_data,
const char *tags); const char *tags);
extern void gui_line_tags_free (struct t_gui_line_data *line_data); extern void gui_line_tags_free (struct t_gui_line_data *line_data);
@@ -107,7 +107,11 @@ extern void gui_line_free_data (struct t_gui_line *line);
extern void gui_line_free (struct t_gui_buffer *buffer, extern void gui_line_free (struct t_gui_buffer *buffer,
struct t_gui_line *line); struct t_gui_line *line);
extern void gui_line_free_all (struct t_gui_buffer *buffer); extern void gui_line_free_all (struct t_gui_buffer *buffer);
extern int gui_line_get_notify_level (struct t_gui_line *line); extern int gui_line_get_max_notify_level (struct t_gui_line *line);
extern void gui_line_set_notify_level (struct t_gui_line *line,
int max_notify_level);
extern void gui_line_set_highlight (struct t_gui_line *line,
int max_notify_level);
extern struct t_gui_line *gui_line_new (struct t_gui_buffer *buffer, extern struct t_gui_line *gui_line_new (struct t_gui_buffer *buffer,
int y, int y,
time_t date, time_t date,
+87 -76
View File
@@ -105,12 +105,15 @@ gui_nick_hash_sum_32 (const char *nickname, uint32_t *color_32)
/* /*
* Hashes a nickname to find color. * Hashes a nickname to find color.
* *
* Returns a number which is the index of color in the nicks colors of option * Returns a number which is between 0 and num_colors - 1 (inclusive).
*
* num_colors is commonly the number of colors in the option
* "weechat.color.chat_nick_colors". * "weechat.color.chat_nick_colors".
* If num_colors is < 0, the hash itself is returned (64-bit unsigned number).
*/ */
int uint64_t
gui_nick_hash_color (const char *nickname) gui_nick_hash_color (const char *nickname, int num_colors)
{ {
const char *ptr_salt; const char *ptr_salt;
uint64_t color_64; uint64_t color_64;
@@ -119,10 +122,7 @@ gui_nick_hash_color (const char *nickname)
if (!nickname || !nickname[0]) if (!nickname || !nickname[0])
return 0; return 0;
if (!config_nick_colors) if (num_colors == 0)
config_set_nick_colors ();
if (config_num_nick_colors == 0)
return 0; return 0;
ptr_salt = CONFIG_STRING(config_look_nick_color_hash_salt); ptr_salt = CONFIG_STRING(config_look_nick_color_hash_salt);
@@ -132,26 +132,26 @@ gui_nick_hash_color (const char *nickname)
switch (CONFIG_INTEGER(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 */ /* variant of djb2 hash, using 64-bit integer */
color_64 = 5381; color_64 = 5381;
gui_nick_hash_djb2_64 (ptr_salt, &color_64); gui_nick_hash_djb2_64 (ptr_salt, &color_64);
gui_nick_hash_djb2_64 (nickname, &color_64); gui_nick_hash_djb2_64 (nickname, &color_64);
break; break;
case CONFIG_LOOK_NICK_COLOR_HASH_SUM: case CONFIG_LOOK_NICK_COLOR_HASH_SUM:
/* sum of letters */ /* sum of letters, using 64-bit integer */
color_64 = 0; color_64 = 0;
gui_nick_hash_sum_64 (ptr_salt, &color_64); gui_nick_hash_sum_64 (ptr_salt, &color_64);
gui_nick_hash_sum_64 (nickname, &color_64); gui_nick_hash_sum_64 (nickname, &color_64);
break; break;
case CONFIG_LOOK_NICK_COLOR_HASH_DJB2_32: case CONFIG_LOOK_NICK_COLOR_HASH_DJB2_32:
/* variant of djb2 hash (using 32-bit integer) */ /* variant of djb2 hash, using 32-bit integer */
color_32 = 5381; color_32 = 5381;
gui_nick_hash_djb2_32 (ptr_salt, &color_32); gui_nick_hash_djb2_32 (ptr_salt, &color_32);
gui_nick_hash_djb2_32 (nickname, &color_32); gui_nick_hash_djb2_32 (nickname, &color_32);
color_64 = color_32; color_64 = color_32;
break; break;
case CONFIG_LOOK_NICK_COLOR_HASH_SUM_32: case CONFIG_LOOK_NICK_COLOR_HASH_SUM_32:
/* sum of letters (using 32-bit integer) */ /* sum of letters, using 32-bit integer */
color_32 = 0; color_32 = 0;
gui_nick_hash_sum_32 (ptr_salt, &color_32); gui_nick_hash_sum_32 (ptr_salt, &color_32);
gui_nick_hash_sum_32 (nickname, &color_32); gui_nick_hash_sum_32 (nickname, &color_32);
@@ -159,7 +159,7 @@ gui_nick_hash_color (const char *nickname)
break; break;
} }
return (color_64 % config_num_nick_colors); return (num_colors > 0) ? color_64 % num_colors : color_64;
} }
/* /*
@@ -242,95 +242,106 @@ gui_nick_strdup_for_color (const char *nickname)
} }
/* /*
* Finds a color code for a nick (according to nick letters). * Finds a color name for a nick (according to nick letters).
* *
* Returns a WeeChat color code (that can be used for display). * If colors is NULL (most common case), the color returned is either a forced
* color (from option "weechat.look.nick_color_force") or a color from option
* "weechat.color.chat_nick_colors".
*
* If colors is set and not empty, a color from this list is returned
* (format of argument: comma-separated list of colors, a background is
* allowed with format "fg:bg", for example: "blue,yellow:red" for blue and
* yellow on red).
*
* Returns the name of a color (for example: "green").
*
* Note: result must be freed after use.
*/ */
const char * char *
gui_nick_find_color (const char *nickname) gui_nick_find_color_name (const char *nickname, const char *colors)
{ {
int color; int color, num_colors;
char *nickname2; char *nickname2, **list_colors, *result;
const char *forced_color, *str_color; const char *forced_color, *ptr_result;
static char *default_color = "default";
list_colors = NULL;
num_colors = 0;
nickname2 = NULL;
ptr_result = NULL;
if (!nickname || !nickname[0]) if (!nickname || !nickname[0])
return gui_color_get_custom ("default"); goto end;
if (!config_nick_colors) if (colors && colors[0])
config_set_nick_colors (); {
list_colors = string_split (colors, ",", NULL, 0, 0, &num_colors);
if (config_num_nick_colors == 0) if (!list_colors || (num_colors == 0))
return gui_color_get_custom ("default"); goto end;
}
nickname2 = gui_nick_strdup_for_color (nickname); nickname2 = gui_nick_strdup_for_color (nickname);
/* look if color is forced */ if (!list_colors)
forced_color = gui_nick_get_forced_color (
(nickname2) ? nickname2 : nickname);
if (forced_color)
{ {
forced_color = gui_color_get_custom (forced_color); /* look if color is forced for the nick */
if (forced_color && forced_color[0]) forced_color = gui_nick_get_forced_color (
(nickname2) ? nickname2 : nickname);
if (forced_color)
{ {
if (nickname2) ptr_result = forced_color;
free (nickname2); goto end;
return forced_color;
} }
/* ensure nick colors are properly set */
if (!config_nick_colors)
config_set_nick_colors ();
if (config_num_nick_colors == 0)
goto end;
} }
/* hash nickname to get color */ /* hash nickname to get color */
color = gui_nick_hash_color ((nickname2) ? nickname2 : nickname); color = gui_nick_hash_color (
(nickname2) ? nickname2 : nickname,
(list_colors) ? num_colors : config_num_nick_colors);
ptr_result = (list_colors) ?
list_colors[color] : config_nick_colors[color];
end:
result = strdup ((ptr_result) ? ptr_result : default_color);
if (list_colors)
string_free_split (list_colors);
if (nickname2) if (nickname2)
free (nickname2); free (nickname2);
return result;
/* return color */
str_color = gui_color_get_custom (config_nick_colors[color]);
return (str_color[0]) ? str_color : gui_color_get_custom ("default");
} }
/* /*
* Finds a color name for a nick (according to nick letters). * Finds a color code for a nick (according to nick letters).
* *
* Returns the name of a color (for example: "green"). * If colors is NULL (most common case), the color returned is either a forced
* color (from option "weechat.look.nick_color_force") or a color from option
* "weechat.color.chat_nick_colors".
*
* If colors is set and not empty, a color from this list is returned
* (format of argument: comma-separated list of colors, a background is
* allowed with format "fg:bg", for example: "blue,yellow:red" for blue and
* yellow on red).
*
* Returns a WeeChat color code (that can be used for display).
*
* Note: result must be freed after use.
*/ */
const char * char *
gui_nick_find_color_name (const char *nickname) gui_nick_find_color (const char *nickname, const char *colors)
{ {
int color; char *color;
char *nickname2; const char *ptr_result;
const char *forced_color;
static char *default_color = "default";
if (!nickname || !nickname[0]) color = gui_nick_find_color_name (nickname, colors);
return default_color; ptr_result = gui_color_get_custom (color);
if (color)
if (!config_nick_colors) free (color);
config_set_nick_colors (); return (ptr_result) ? strdup (ptr_result) : NULL;
if (config_num_nick_colors == 0)
return default_color;
nickname2 = gui_nick_strdup_for_color (nickname);
/* look if color is forced */
forced_color = gui_nick_get_forced_color (
(nickname2) ? nickname2 : nickname);
if (forced_color)
{
if (nickname2)
free (nickname2);
return forced_color;
}
/* hash nickname to get color */
color = gui_nick_hash_color ((nickname2) ? nickname2 : nickname);
if (nickname2)
free (nickname2);
/* return color name */
return config_nick_colors[color];
} }
+4 -2
View File
@@ -20,7 +20,9 @@
#ifndef WEECHAT_GUI_NICK_H #ifndef WEECHAT_GUI_NICK_H
#define WEECHAT_GUI_NICK_H #define WEECHAT_GUI_NICK_H
extern const char *gui_nick_find_color (const char *nickname); extern char *gui_nick_find_color_name (const char *nickname,
extern const char *gui_nick_find_color_name (const char *nickname); const char *colors);
extern char *gui_nick_find_color (const char *nickname,
const char *colors);
#endif /* WEECHAT_GUI_NICK_H */ #endif /* WEECHAT_GUI_NICK_H */
+1 -1
View File
@@ -282,7 +282,7 @@ alias_command_init ()
" /alias add split /window splith\n" " /alias add split /window splith\n"
" alias /hello to say \"hello\" on all channels but not on " " alias /hello to say \"hello\" on all channels but not on "
"#weechat:\n" "#weechat:\n"
" /alias add hello /allchan -exclude=#weechat msg * hello\n" " /alias add hello /allchan -exclude=#weechat hello\n"
" alias /forcejoin to send IRC command \"forcejoin\" with " " alias /forcejoin to send IRC command \"forcejoin\" with "
"completion of /sajoin:\n" "completion of /sajoin:\n"
" /alias addcompletion %%sajoin forcejoin /quote forcejoin"), " /alias addcompletion %%sajoin forcejoin /quote forcejoin"),
+9 -5
View File
@@ -542,15 +542,19 @@ buflist_bar_item_buflist_cb (const void *pointer, void *data,
weechat_string_dyn_concat ( weechat_string_dyn_concat (
hotlist, hotlist,
weechat_config_string ( weechat_config_string (
buflist_config_format_hotlist_separator)); buflist_config_format_hotlist_separator),
-1);
} }
weechat_string_dyn_concat ( weechat_string_dyn_concat (
hotlist, hotlist,
weechat_config_string ( weechat_config_string (
buflist_config_format_hotlist_level[j])); buflist_config_format_hotlist_level[j]),
-1);
snprintf (str_hotlist_count, sizeof (str_hotlist_count), snprintf (str_hotlist_count, sizeof (str_hotlist_count),
"%d", count); "%d", count);
weechat_string_dyn_concat (hotlist, str_hotlist_count); weechat_string_dyn_concat (hotlist,
str_hotlist_count,
-1);
} }
} }
str_hotlist = *hotlist; str_hotlist = *hotlist;
@@ -606,7 +610,7 @@ buflist_bar_item_buflist_cb (const void *pointer, void *data,
if (weechat_config_boolean (buflist_config_look_add_newline) if (weechat_config_boolean (buflist_config_look_add_newline)
&& *buflist[0]) && *buflist[0])
{ {
if (!weechat_string_dyn_concat (buflist, "\n")) if (!weechat_string_dyn_concat (buflist, "\n", -1))
goto error; goto error;
} }
@@ -618,7 +622,7 @@ buflist_bar_item_buflist_cb (const void *pointer, void *data,
NULL); NULL);
/* concatenate string */ /* concatenate string */
rc = weechat_string_dyn_concat (buflist, line); rc = weechat_string_dyn_concat (buflist, line, -1);
free (line); free (line);
if (!rc) if (!rc)
goto error; goto error;
+6 -5
View File
@@ -151,18 +151,19 @@ buflist_config_hook_signals_refresh ()
ptr_signals_refresh = weechat_config_string ( ptr_signals_refresh = weechat_config_string (
buflist_config_look_signals_refresh); buflist_config_look_signals_refresh);
weechat_string_dyn_concat (all_signals, BUFLIST_CONFIG_SIGNALS_REFRESH); weechat_string_dyn_concat (all_signals, BUFLIST_CONFIG_SIGNALS_REFRESH, -1);
if (ptr_signals_refresh && ptr_signals_refresh[0]) if (ptr_signals_refresh && ptr_signals_refresh[0])
{ {
weechat_string_dyn_concat (all_signals, ","); weechat_string_dyn_concat (all_signals, ",", -1);
weechat_string_dyn_concat (all_signals, ptr_signals_refresh); weechat_string_dyn_concat (all_signals, ptr_signals_refresh, -1);
} }
if (weechat_config_boolean (buflist_config_look_nick_prefix)) if (weechat_config_boolean (buflist_config_look_nick_prefix))
{ {
weechat_string_dyn_concat (all_signals, ","); weechat_string_dyn_concat (all_signals, ",", -1);
weechat_string_dyn_concat ( weechat_string_dyn_concat (
all_signals, all_signals,
BUFLIST_CONFIG_SIGNALS_REFRESH_NICK_PREFIX); BUFLIST_CONFIG_SIGNALS_REFRESH_NICK_PREFIX,
-1);
} }
signals = weechat_string_split (*all_signals, ",", NULL, signals = weechat_string_split (*all_signals, ",", NULL,
+9 -1
View File
@@ -244,6 +244,10 @@ exec_command_parse_options (struct t_exec_cmd_options *cmd_options,
cmd_options->output_to_buffer_exec_cmd = 1; cmd_options->output_to_buffer_exec_cmd = 1;
cmd_options->new_buffer = 0; cmd_options->new_buffer = 0;
} }
else if (weechat_strcasecmp (argv[i], "-oerr") == 0)
{
cmd_options->output_to_buffer_stderr = 1;
}
else if (weechat_strcasecmp (argv[i], "-n") == 0) else if (weechat_strcasecmp (argv[i], "-n") == 0)
{ {
cmd_options->output_to_buffer = 0; cmd_options->output_to_buffer = 0;
@@ -426,6 +430,7 @@ exec_command_run (struct t_gui_buffer *buffer,
cmd_options.ptr_buffer = buffer; cmd_options.ptr_buffer = buffer;
cmd_options.output_to_buffer = 0; cmd_options.output_to_buffer = 0;
cmd_options.output_to_buffer_exec_cmd = 0; cmd_options.output_to_buffer_exec_cmd = 0;
cmd_options.output_to_buffer_stderr = 0;
cmd_options.new_buffer = 0; cmd_options.new_buffer = 0;
cmd_options.new_buffer_clear = 0; cmd_options.new_buffer_clear = 0;
cmd_options.switch_to_buffer = 1; cmd_options.switch_to_buffer = 1;
@@ -585,6 +590,7 @@ exec_command_run (struct t_gui_buffer *buffer,
} }
new_exec_cmd->output_to_buffer = cmd_options.output_to_buffer; new_exec_cmd->output_to_buffer = cmd_options.output_to_buffer;
new_exec_cmd->output_to_buffer_exec_cmd = cmd_options.output_to_buffer_exec_cmd; new_exec_cmd->output_to_buffer_exec_cmd = cmd_options.output_to_buffer_exec_cmd;
new_exec_cmd->output_to_buffer_stderr = cmd_options.output_to_buffer_stderr;
new_exec_cmd->line_numbers = (cmd_options.line_numbers < 0) ? new_exec_cmd->line_numbers = (cmd_options.line_numbers < 0) ?
cmd_options.new_buffer : cmd_options.line_numbers; cmd_options.new_buffer : cmd_options.line_numbers;
new_exec_cmd->color = cmd_options.color; new_exec_cmd->color = cmd_options.color;
@@ -831,7 +837,7 @@ exec_command_init ()
N_("execute external commands"), N_("execute external commands"),
N_("-list" N_("-list"
" || [-sh|-nosh] [-bg|-nobg] [-stdin|-nostdin] [-buffer <name>] " " || [-sh|-nosh] [-bg|-nobg] [-stdin|-nostdin] [-buffer <name>] "
"[-l|-o|-n|-nf] [-cl|-nocl] [-sw|-nosw] [-ln|-noln] " "[-l|-o|-oc|-n|-nf] [-oerr] [-cl|-nocl] [-sw|-nosw] [-ln|-noln] "
"[-flush|-noflush] [-color ansi|auto|irc|weechat|strip] [-rc|-norc] " "[-flush|-noflush] [-color ansi|auto|irc|weechat|strip] [-rc|-norc] "
"[-timeout <timeout>] [-name <name>] [-pipe <command>] " "[-timeout <timeout>] [-name <name>] [-pipe <command>] "
"[-hsignal <name>] <command>" "[-hsignal <name>] <command>"
@@ -870,6 +876,8 @@ exec_command_init ()
" -nf: display output of command in a new buffer with free " " -nf: display output of command in a new buffer with free "
"content (no word-wrap, no limit on number of lines) (not compatible " "content (no word-wrap, no limit on number of lines) (not compatible "
"with options -bg/-pipe/-hsignal)\n" "with options -bg/-pipe/-hsignal)\n"
" -oerr: also send stderr (error output) to the buffer (can be "
"used only with options -o and -oc)\n"
" -cl: clear the new buffer before displaying output\n" " -cl: clear the new buffer before displaying output\n"
" -nocl: append to the new buffer without clear (default)\n" " -nocl: append to the new buffer without clear (default)\n"
" -sw: switch to the output buffer (default)\n" " -sw: switch to the output buffer (default)\n"
+1
View File
@@ -31,6 +31,7 @@ struct t_exec_cmd_options
struct t_gui_buffer *ptr_buffer; /* pointer to buffer */ struct t_gui_buffer *ptr_buffer; /* pointer to buffer */
int output_to_buffer; /* 1 if output is sent to buffer */ int output_to_buffer; /* 1 if output is sent to buffer */
int output_to_buffer_exec_cmd; /* execute commands found */ int output_to_buffer_exec_cmd; /* execute commands found */
int output_to_buffer_stderr; /* 1 if stderr is sent to buffer */
int new_buffer; /* 1=new buffer, 2=new buf. free cont*/ int new_buffer; /* 1=new buffer, 2=new buf. free cont*/
int new_buffer_clear; /* 1 to clear buffer before output */ int new_buffer_clear; /* 1 to clear buffer before output */
int switch_to_buffer; /* switch to the output buffer */ int switch_to_buffer; /* switch to the output buffer */
+10 -1
View File
@@ -89,7 +89,7 @@ exec_search_by_id (const char *id)
error = NULL; error = NULL;
number = strtol (id, &error, 10); number = strtol (id, &error, 10);
if (!error || error[0]) if (!error || error[0])
return NULL; number = -1;
for (ptr_exec_cmd = exec_cmds; ptr_exec_cmd; for (ptr_exec_cmd = exec_cmds; ptr_exec_cmd;
ptr_exec_cmd = ptr_exec_cmd->next_cmd) ptr_exec_cmd = ptr_exec_cmd->next_cmd)
@@ -131,6 +131,7 @@ exec_add ()
new_exec_cmd->end_time = 0; new_exec_cmd->end_time = 0;
new_exec_cmd->output_to_buffer = 0; new_exec_cmd->output_to_buffer = 0;
new_exec_cmd->output_to_buffer_exec_cmd = 0; new_exec_cmd->output_to_buffer_exec_cmd = 0;
new_exec_cmd->output_to_buffer_stderr = 0;
new_exec_cmd->buffer_full_name = NULL; new_exec_cmd->buffer_full_name = NULL;
new_exec_cmd->line_numbers = 0; new_exec_cmd->line_numbers = 0;
new_exec_cmd->display_rc = 0; new_exec_cmd->display_rc = 0;
@@ -253,6 +254,13 @@ exec_display_line (struct t_exec_cmd *exec_cmd, struct t_gui_buffer *buffer,
if (exec_cmd->output_to_buffer && !exec_cmd->pipe_command && !buffer) if (exec_cmd->output_to_buffer && !exec_cmd->pipe_command && !buffer)
return; return;
/* if output is sent to the buffer, we send stderr only if it was asked */
if (exec_cmd->output_to_buffer && (out == EXEC_STDERR)
&& !exec_cmd->output_to_buffer_stderr)
{
return;
}
/* decode colors */ /* decode colors */
line_color = exec_decode_color (exec_cmd, line); line_color = exec_decode_color (exec_cmd, line);
if (!line_color) if (!line_color)
@@ -683,6 +691,7 @@ exec_print_log ()
weechat_log_printf (" end_time. . . . . . . . . : %lld", (long long)ptr_exec_cmd->end_time); weechat_log_printf (" end_time. . . . . . . . . : %lld", (long long)ptr_exec_cmd->end_time);
weechat_log_printf (" output_to_buffer. . . . . : %d", ptr_exec_cmd->output_to_buffer); weechat_log_printf (" output_to_buffer. . . . . : %d", ptr_exec_cmd->output_to_buffer);
weechat_log_printf (" output_to_buffer_exec_cmd : %d", ptr_exec_cmd->output_to_buffer_exec_cmd); weechat_log_printf (" output_to_buffer_exec_cmd : %d", ptr_exec_cmd->output_to_buffer_exec_cmd);
weechat_log_printf (" output_to_buffer_stderr . : %d", ptr_exec_cmd->output_to_buffer_stderr);
weechat_log_printf (" buffer_full_name. . . . . : '%s'", ptr_exec_cmd->buffer_full_name); weechat_log_printf (" buffer_full_name. . . . . : '%s'", ptr_exec_cmd->buffer_full_name);
weechat_log_printf (" line_numbers. . . . . . . : %d", ptr_exec_cmd->line_numbers); weechat_log_printf (" line_numbers. . . . . . . : %d", ptr_exec_cmd->line_numbers);
weechat_log_printf (" display_rc. . . . . . . . : %d", ptr_exec_cmd->display_rc); weechat_log_printf (" display_rc. . . . . . . . : %d", ptr_exec_cmd->display_rc);
+1
View File
@@ -55,6 +55,7 @@ struct t_exec_cmd
/* display */ /* display */
int output_to_buffer; /* 1 if output is sent to buffer */ int output_to_buffer; /* 1 if output is sent to buffer */
int output_to_buffer_exec_cmd; /* 1 if commands are executed */ int output_to_buffer_exec_cmd; /* 1 if commands are executed */
int output_to_buffer_stderr; /* 1 if stderr is sent to buffer */
char *buffer_full_name; /* buffer where output is displayed */ char *buffer_full_name; /* buffer where output is displayed */
int line_numbers; /* 1 if lines numbers are displayed */ int line_numbers; /* 1 if lines numbers are displayed */
int color; /* what to do with ANSI colors */ int color; /* what to do with ANSI colors */
+43 -24
View File
@@ -81,8 +81,8 @@ fset_bar_item_fset_cb (const void *pointer, void *data,
if (!default_and_values) if (!default_and_values)
return NULL; return NULL;
weechat_string_dyn_concat (default_and_values, weechat_color ("bar_fg")); weechat_string_dyn_concat (default_and_values, weechat_color ("bar_fg"), -1);
weechat_string_dyn_concat (default_and_values, _("default: ")); weechat_string_dyn_concat (default_and_values, _("default: "), -1);
if (ptr_fset_option->default_value) if (ptr_fset_option->default_value)
{ {
if (ptr_fset_option->type == FSET_OPTION_TYPE_STRING) if (ptr_fset_option->type == FSET_OPTION_TYPE_STRING)
@@ -90,29 +90,37 @@ fset_bar_item_fset_cb (const void *pointer, void *data,
weechat_string_dyn_concat (default_and_values, weechat_string_dyn_concat (default_and_values,
weechat_color ( weechat_color (
weechat_config_string ( weechat_config_string (
fset_config_color_help_quotes))); fset_config_color_help_quotes)),
weechat_string_dyn_concat (default_and_values, "\""); -1);
weechat_string_dyn_concat (default_and_values, "\"", -1);
} }
weechat_string_dyn_concat ( weechat_string_dyn_concat (
default_and_values, default_and_values,
weechat_color (weechat_config_string (fset_config_color_help_default_value))); weechat_color (weechat_config_string (fset_config_color_help_default_value)),
-1);
weechat_string_dyn_concat (default_and_values, weechat_string_dyn_concat (default_and_values,
ptr_fset_option->default_value); ptr_fset_option->default_value,
-1);
if (ptr_fset_option->type == FSET_OPTION_TYPE_STRING) if (ptr_fset_option->type == FSET_OPTION_TYPE_STRING)
{ {
weechat_string_dyn_concat (default_and_values, weechat_string_dyn_concat (default_and_values,
weechat_color ( weechat_color (
weechat_config_string ( weechat_config_string (
fset_config_color_help_quotes))); fset_config_color_help_quotes)),
weechat_string_dyn_concat (default_and_values, "\""); -1);
weechat_string_dyn_concat (default_and_values, "\"", -1);
} }
} }
else else
{ {
weechat_string_dyn_concat ( weechat_string_dyn_concat (
default_and_values, default_and_values,
weechat_color (weechat_config_string (fset_config_color_help_default_value))); weechat_color (weechat_config_string (fset_config_color_help_default_value)),
weechat_string_dyn_concat (default_and_values, FSET_OPTION_VALUE_NULL); -1);
weechat_string_dyn_concat (
default_and_values,
FSET_OPTION_VALUE_NULL,
-1);
} }
if ((ptr_fset_option->string_values && ptr_fset_option->string_values[0]) if ((ptr_fset_option->string_values && ptr_fset_option->string_values[0])
@@ -131,10 +139,11 @@ fset_bar_item_fset_cb (const void *pointer, void *data,
|| (ptr_fset_option->type == FSET_OPTION_TYPE_INTEGER)) || (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"),
weechat_string_dyn_concat (default_and_values, ", "); -1);
weechat_string_dyn_concat (default_and_values, _("values:")); weechat_string_dyn_concat (default_and_values, ", ", -1);
weechat_string_dyn_concat (default_and_values, " "); weechat_string_dyn_concat (default_and_values, _("values:"), -1);
weechat_string_dyn_concat (default_and_values, " ", -1);
if (ptr_string_values) if (ptr_string_values)
{ {
for (i = 0; ptr_string_values[i]; i++) for (i = 0; ptr_string_values[i]; i++)
@@ -142,16 +151,21 @@ fset_bar_item_fset_cb (const void *pointer, void *data,
if (i > 0) if (i > 0)
{ {
weechat_string_dyn_concat (default_and_values, weechat_string_dyn_concat (default_and_values,
weechat_color ("bar_fg")); weechat_color ("bar_fg"),
weechat_string_dyn_concat (default_and_values, ", "); -1);
weechat_string_dyn_concat (default_and_values,
", ",
-1);
} }
weechat_string_dyn_concat ( weechat_string_dyn_concat (
default_and_values, default_and_values,
weechat_color ( weechat_color (
weechat_config_string ( weechat_config_string (
fset_config_color_help_values))); fset_config_color_help_values)),
-1);
weechat_string_dyn_concat (default_and_values, weechat_string_dyn_concat (default_and_values,
ptr_string_values[i]); ptr_string_values[i],
-1);
} }
} }
else else
@@ -160,19 +174,24 @@ fset_bar_item_fset_cb (const void *pointer, void *data,
default_and_values, default_and_values,
weechat_color ( weechat_color (
weechat_config_string ( weechat_config_string (
fset_config_color_help_values))); fset_config_color_help_values)),
-1);
weechat_string_dyn_concat (default_and_values, weechat_string_dyn_concat (default_and_values,
ptr_fset_option->min); ptr_fset_option->min,
-1);
weechat_string_dyn_concat (default_and_values, weechat_string_dyn_concat (default_and_values,
weechat_color ("bar_fg")); weechat_color ("bar_fg"),
weechat_string_dyn_concat (default_and_values, " ... "); -1);
weechat_string_dyn_concat (default_and_values, " ... ", -1);
weechat_string_dyn_concat ( weechat_string_dyn_concat (
default_and_values, default_and_values,
weechat_color ( weechat_color (
weechat_config_string ( weechat_config_string (
fset_config_color_help_values))); fset_config_color_help_values)),
-1);
weechat_string_dyn_concat (default_and_values, weechat_string_dyn_concat (default_and_values,
ptr_fset_option->max); ptr_fset_option->max,
-1);
} }
} }
} }
+47
View File
@@ -34,6 +34,7 @@ struct t_config_file *fset_config_file = NULL;
/* fset config, look section */ /* fset config, look section */
struct t_config_option *fset_config_look_auto_refresh;
struct t_config_option *fset_config_look_auto_unmark; struct t_config_option *fset_config_look_auto_unmark;
struct t_config_option *fset_config_look_condition_catch_set; struct t_config_option *fset_config_look_condition_catch_set;
struct t_config_option *fset_config_look_export_help_default; struct t_config_option *fset_config_look_export_help_default;
@@ -93,11 +94,39 @@ struct t_config_option *fset_config_color_value[2];
struct t_config_option *fset_config_color_value_changed[2]; struct t_config_option *fset_config_color_value_changed[2];
struct t_config_option *fset_config_color_value_undef[2]; struct t_config_option *fset_config_color_value_undef[2];
char **fset_config_auto_refresh = NULL;
char **fset_config_sort_fields = NULL; char **fset_config_sort_fields = NULL;
int fset_config_sort_fields_count = 0; int fset_config_sort_fields_count = 0;
int fset_config_format_option_num_lines[2] = { 1, 1 }; int fset_config_format_option_num_lines[2] = { 1, 1 };
/*
* Callback for changes on option "fset.look.auto_refresh".
*/
void
fset_config_change_auto_refresh_cb (const void *pointer, void *data,
struct t_config_option *option)
{
/* make C compiler happy */
(void) pointer;
(void) data;
(void) option;
if (fset_config_auto_refresh)
weechat_string_free_split (fset_config_auto_refresh);
fset_config_auto_refresh = weechat_string_split (
weechat_config_string (fset_config_look_auto_refresh),
",",
NULL,
WEECHAT_STRING_SPLIT_STRIP_LEFT
| WEECHAT_STRING_SPLIT_STRIP_RIGHT
| WEECHAT_STRING_SPLIT_COLLAPSE_SEPS,
0,
NULL);
}
/* /*
* Callback for changes on option "fset.look.format_number". * Callback for changes on option "fset.look.format_number".
*/ */
@@ -335,6 +364,18 @@ fset_config_init ()
return 0; return 0;
} }
fset_config_look_auto_refresh = weechat_config_new_option (
fset_config_file, ptr_section,
"auto_refresh", "string",
N_("comma separated list of options to automatically refresh on the "
"fset buffer (if opened); \"*\" means all options (recommended), "
"a name beginning with \"!\" is a negative value to prevent an "
"option to be refreshed, wildcard \"*\" is allowed in names "
"(example: \"*,!plugin.section.*\")"),
NULL, 0, 0, "*", NULL, 0,
NULL, NULL, NULL,
&fset_config_change_auto_refresh_cb, NULL, NULL,
NULL, NULL, NULL);
fset_config_look_auto_unmark = weechat_config_new_option ( fset_config_look_auto_unmark = weechat_config_new_option (
fset_config_file, ptr_section, fset_config_file, ptr_section,
"auto_unmark", "boolean", "auto_unmark", "boolean",
@@ -1067,6 +1108,7 @@ fset_config_read ()
if (rc == WEECHAT_CONFIG_READ_OK) if (rc == WEECHAT_CONFIG_READ_OK)
{ {
fset_config_change_auto_refresh_cb (NULL, NULL, NULL);
fset_config_change_sort_cb (NULL, NULL, NULL); fset_config_change_sort_cb (NULL, NULL, NULL);
fset_config_change_format_cb (NULL, NULL, NULL); fset_config_change_format_cb (NULL, NULL, NULL);
} }
@@ -1093,6 +1135,11 @@ fset_config_free ()
{ {
weechat_config_free (fset_config_file); weechat_config_free (fset_config_file);
if (fset_config_auto_refresh)
{
weechat_string_free_split (fset_config_auto_refresh);
fset_config_auto_refresh = NULL;
}
if (fset_config_sort_fields) if (fset_config_sort_fields)
{ {
weechat_string_free_split (fset_config_sort_fields); weechat_string_free_split (fset_config_sort_fields);
+2
View File
@@ -24,6 +24,7 @@
extern struct t_config_file *fset_config_file; extern struct t_config_file *fset_config_file;
extern struct t_config_option *fset_config_look_auto_refresh;
extern struct t_config_option *fset_config_look_auto_unmark; extern struct t_config_option *fset_config_look_auto_unmark;
extern struct t_config_option *fset_config_look_condition_catch_set; extern struct t_config_option *fset_config_look_condition_catch_set;
extern struct t_config_option *fset_config_look_export_help_default; extern struct t_config_option *fset_config_look_export_help_default;
@@ -79,6 +80,7 @@ extern struct t_config_option *fset_config_color_value[2];
extern struct t_config_option *fset_config_color_value_changed[2]; extern struct t_config_option *fset_config_color_value_changed[2];
extern struct t_config_option *fset_config_color_value_undef[2]; extern struct t_config_option *fset_config_color_value_undef[2];
extern char **fset_config_auto_refresh;
extern char **fset_config_sort_fields; extern char **fset_config_sort_fields;
extern int fset_config_sort_fields_count; extern int fset_config_sort_fields_count;
extern int fset_config_format_option_num_lines[2]; extern int fset_config_format_option_num_lines[2];
+6
View File
@@ -1550,6 +1550,12 @@ fset_option_config_cb (const void *pointer,
if (!fset_buffer) if (!fset_buffer)
return WEECHAT_RC_OK; return WEECHAT_RC_OK;
/* do nothing if auto-refresh is disabled for this option */
if (!weechat_string_match_list (option,
(const char **)fset_config_auto_refresh,
0))
return WEECHAT_RC_OK;
/* do nothing if WeeChat is upgrading */ /* do nothing if WeeChat is upgrading */
info = weechat_info_get ("weechat_upgrading", NULL); info = weechat_info_get ("weechat_upgrading", NULL);
if (info && (strcmp (info, "1") == 0)) if (info && (strcmp (info, "1") == 0))
+15
View File
@@ -428,6 +428,20 @@ weechat_guile_api_string_format_size (SCM size)
API_RETURN_STRING_FREE(result); API_RETURN_STRING_FREE(result);
} }
SCM
weechat_guile_api_string_color_code_size (SCM string)
{
int size;
API_INIT_FUNC(1, "string_color_code_size", API_RETURN_INT(0));
if (!scm_is_string (string))
API_WRONG_ARGS(API_RETURN_INT(0));
size = weechat_string_color_code_size (API_SCM_TO_STRING(string));
API_RETURN_INT(size);
}
SCM SCM
weechat_guile_api_string_remove_color (SCM string, SCM replacement) weechat_guile_api_string_remove_color (SCM string, SCM replacement)
{ {
@@ -5012,6 +5026,7 @@ weechat_guile_api_module_init (void *data)
API_DEF_FUNC(string_has_highlight_regex, 2); API_DEF_FUNC(string_has_highlight_regex, 2);
API_DEF_FUNC(string_mask_to_regex, 1); API_DEF_FUNC(string_mask_to_regex, 1);
API_DEF_FUNC(string_format_size, 1); API_DEF_FUNC(string_format_size, 1);
API_DEF_FUNC(string_color_code_size, 1);
API_DEF_FUNC(string_remove_color, 2); API_DEF_FUNC(string_remove_color, 2);
API_DEF_FUNC(string_is_command_char, 1); API_DEF_FUNC(string_is_command_char, 1);
API_DEF_FUNC(string_input_for_buffer, 1); API_DEF_FUNC(string_input_for_buffer, 1);
+8 -8
View File
@@ -1180,13 +1180,13 @@ weechat_guile_port_write (SCM port, SCM src, size_t start, size_t count)
ptr_data = data2; ptr_data = data2;
while ((ptr_newline = strchr (ptr_data, '\n')) != NULL) while ((ptr_newline = strchr (ptr_data, '\n')) != NULL)
{ {
ptr_newline[0] = '\0'; weechat_string_dyn_concat (guile_buffer_output,
weechat_string_dyn_concat (guile_buffer_output, ptr_data); ptr_data,
ptr_newline - ptr_data);
weechat_guile_output_flush (); weechat_guile_output_flush ();
ptr_newline[0] = '\n';
ptr_data = ++ptr_newline; ptr_data = ++ptr_newline;
} }
weechat_string_dyn_concat (guile_buffer_output, ptr_data); weechat_string_dyn_concat (guile_buffer_output, ptr_data, -1);
free (data2); free (data2);
@@ -1212,13 +1212,13 @@ weechat_guile_port_write (SCM port, const void *data, size_t size)
ptr_data = data2; ptr_data = data2;
while ((ptr_newline = strchr (ptr_data, '\n')) != NULL) while ((ptr_newline = strchr (ptr_data, '\n')) != NULL)
{ {
ptr_newline[0] = '\0'; weechat_string_dyn_concat (guile_buffer_output,
weechat_string_dyn_concat (guile_buffer_output, ptr_data); ptr_data,
ptr_newline - ptr_data);
weechat_guile_output_flush (); weechat_guile_output_flush ();
ptr_newline[0] = '\n';
ptr_data = ++ptr_newline; ptr_data = ++ptr_newline;
} }
weechat_string_dyn_concat (guile_buffer_output, ptr_data); weechat_string_dyn_concat (guile_buffer_output, ptr_data, -1);
free (data2); free (data2);
} }
+9 -2
View File
@@ -656,6 +656,7 @@ irc_bar_item_focus_buffer_nicklist (const void *pointer, void *data,
struct t_gui_buffer *buffer; struct t_gui_buffer *buffer;
struct t_irc_nick *ptr_nick; struct t_irc_nick *ptr_nick;
const char *str_buffer, *nick; const char *str_buffer, *nick;
char str_value[128];
str_buffer = weechat_hashtable_get (info, "_buffer"); str_buffer = weechat_hashtable_get (info, "_buffer");
if (!str_buffer || !str_buffer[0]) if (!str_buffer || !str_buffer[0])
@@ -679,9 +680,15 @@ irc_bar_item_focus_buffer_nicklist (const void *pointer, void *data,
if (nick) if (nick)
{ {
ptr_nick = irc_nick_search (ptr_server, ptr_channel, nick); ptr_nick = irc_nick_search (ptr_server, ptr_channel, nick);
if (ptr_nick && ptr_nick->host) if (ptr_nick)
{ {
weechat_hashtable_set (info, "irc_host", ptr_nick->host); snprintf (str_value, sizeof (str_value),
"0x%lx", (unsigned long)ptr_nick);
weechat_hashtable_set (info, "irc_nick", str_value);
if (ptr_nick->host)
weechat_hashtable_set (info, "irc_host", ptr_nick->host);
return info; return info;
} }
} }
+31 -24
View File
@@ -178,6 +178,7 @@ irc_color_decode (const char *string, int keep_colors)
str_bg[0] = '\0'; str_bg[0] = '\0';
if (isdigit (ptr_string[0])) if (isdigit (ptr_string[0]))
{ {
/* foreground */
str_fg[0] = ptr_string[0]; str_fg[0] = ptr_string[0];
str_fg[1] = '\0'; str_fg[1] = '\0';
ptr_string++; ptr_string++;
@@ -190,6 +191,7 @@ irc_color_decode (const char *string, int keep_colors)
} }
if ((ptr_string[0] == ',') && (isdigit (ptr_string[1]))) if ((ptr_string[0] == ',') && (isdigit (ptr_string[1])))
{ {
/* background */
ptr_string++; ptr_string++;
str_bg[0] = ptr_string[0]; str_bg[0] = ptr_string[0];
str_bg[1] = '\0'; str_bg[1] = '\0';
@@ -266,7 +268,7 @@ irc_color_decode (const char *string, int keep_colors)
} }
/* add "str_to_add" (if not empty) to "out" */ /* add "str_to_add" (if not empty) to "out" */
if (str_to_add[0]) if (str_to_add[0])
weechat_string_dyn_concat (out, str_to_add); weechat_string_dyn_concat (out, str_to_add, -1);
} }
result = *out; result = *out;
@@ -287,7 +289,7 @@ irc_color_decode (const char *string, int keep_colors)
char * char *
irc_color_encode (const char *string, int keep_colors) irc_color_encode (const char *string, int keep_colors)
{ {
char **out, *result, str_to_add[2], utf_char[16]; char **out, *result;
unsigned char *ptr_string; unsigned char *ptr_string;
int length; int length;
@@ -306,54 +308,59 @@ irc_color_encode (const char *string, int keep_colors)
{ {
case 0x02: /* ^B */ case 0x02: /* ^B */
if (keep_colors) if (keep_colors)
weechat_string_dyn_concat (out, IRC_COLOR_BOLD_STR); weechat_string_dyn_concat (out, IRC_COLOR_BOLD_STR, -1);
ptr_string++; ptr_string++;
break; break;
case 0x03: /* ^C */ case 0x03: /* ^C */
if (keep_colors) if (keep_colors)
weechat_string_dyn_concat (out, IRC_COLOR_COLOR_STR); weechat_string_dyn_concat (out, IRC_COLOR_COLOR_STR, -1);
ptr_string++; ptr_string++;
if (isdigit (ptr_string[0])) if (isdigit (ptr_string[0]))
{ {
/* foreground */
if (keep_colors) if (keep_colors)
{ {
str_to_add[0] = ptr_string[0]; weechat_string_dyn_concat (out,
str_to_add[1] = '\0'; (const char *)ptr_string,
weechat_string_dyn_concat (out, str_to_add); 1);
} }
ptr_string++; ptr_string++;
if (isdigit (ptr_string[0])) if (isdigit (ptr_string[0]))
{ {
if (keep_colors) if (keep_colors)
{ {
str_to_add[0] = ptr_string[0]; weechat_string_dyn_concat (
str_to_add[1] = '\0'; out,
weechat_string_dyn_concat (out, str_to_add); (const char *)ptr_string,
1);
} }
ptr_string++; ptr_string++;
} }
} }
if (ptr_string[0] == ',') if (ptr_string[0] == ',')
{ {
/* background */
if (keep_colors) if (keep_colors)
weechat_string_dyn_concat (out, ","); weechat_string_dyn_concat (out, ",", -1);
ptr_string++; ptr_string++;
if (isdigit (ptr_string[0])) if (isdigit (ptr_string[0]))
{ {
if (keep_colors) if (keep_colors)
{ {
str_to_add[0] = ptr_string[0]; weechat_string_dyn_concat (
str_to_add[1] = '\0'; out,
weechat_string_dyn_concat (out, str_to_add); (const char *)ptr_string,
1);
} }
ptr_string++; ptr_string++;
if (isdigit (ptr_string[0])) if (isdigit (ptr_string[0]))
{ {
if (keep_colors) if (keep_colors)
{ {
str_to_add[0] = ptr_string[0]; weechat_string_dyn_concat (
str_to_add[1] = '\0'; out,
weechat_string_dyn_concat (out, str_to_add); (const char *)ptr_string,
1);
} }
ptr_string++; ptr_string++;
} }
@@ -362,31 +369,31 @@ irc_color_encode (const char *string, int keep_colors)
break; break;
case 0x0F: /* ^O */ case 0x0F: /* ^O */
if (keep_colors) if (keep_colors)
weechat_string_dyn_concat (out, IRC_COLOR_RESET_STR); weechat_string_dyn_concat (out, IRC_COLOR_RESET_STR, -1);
ptr_string++; ptr_string++;
break; break;
case 0x16: /* ^V */ case 0x16: /* ^V */
if (keep_colors) if (keep_colors)
weechat_string_dyn_concat (out, IRC_COLOR_REVERSE_STR); weechat_string_dyn_concat (out, IRC_COLOR_REVERSE_STR, -1);
ptr_string++; ptr_string++;
break; break;
case 0x1D: /* ^] */ case 0x1D: /* ^] */
if (keep_colors) if (keep_colors)
weechat_string_dyn_concat (out, IRC_COLOR_ITALIC_STR); weechat_string_dyn_concat (out, IRC_COLOR_ITALIC_STR, -1);
ptr_string++; ptr_string++;
break; break;
case 0x1F: /* ^_ */ case 0x1F: /* ^_ */
if (keep_colors) if (keep_colors)
weechat_string_dyn_concat (out, IRC_COLOR_UNDERLINE_STR); weechat_string_dyn_concat (out, IRC_COLOR_UNDERLINE_STR, -1);
ptr_string++; ptr_string++;
break; break;
default: default:
length = weechat_utf8_char_size ((char *)ptr_string); length = weechat_utf8_char_size ((char *)ptr_string);
if (length == 0) if (length == 0)
length = 1; length = 1;
memcpy (utf_char, ptr_string, length); weechat_string_dyn_concat (out,
utf_char[length] = '\0'; (const char *)ptr_string,
weechat_string_dyn_concat (out, utf_char); length);
ptr_string += length; ptr_string += length;
} }
} }
+120 -114
View File
@@ -381,6 +381,72 @@ IRC_COMMAND_CALLBACK(admin)
return WEECHAT_RC_OK; return WEECHAT_RC_OK;
} }
/*
* Executes a command on a list of IRC buffers.
*/
void
irc_command_exec_buffers (struct t_weelist *list_buffers,
const char *command)
{
struct t_irc_server *ptr_server;
struct t_irc_channel *ptr_channel;
struct t_gui_buffer *ptr_buffer;
struct t_hashtable *pointers;
const char *ptr_buffer_name;
char *cmd_vars_replaced, *cmd_eval;
int i, list_size;
list_size = weechat_list_size (list_buffers);
if (list_size < 1)
return;
pointers = weechat_hashtable_new (32,
WEECHAT_HASHTABLE_STRING,
WEECHAT_HASHTABLE_POINTER,
NULL,
NULL);
if (!pointers)
return;
for (i = 0; i < list_size; i++)
{
ptr_buffer_name = weechat_list_string (
weechat_list_get (list_buffers, i));
ptr_buffer = weechat_buffer_search ("==", ptr_buffer_name);
if (!ptr_buffer)
continue;
irc_buffer_get_server_and_channel (ptr_buffer,
&ptr_server, &ptr_channel);
if (!ptr_server)
continue;
weechat_hashtable_set (pointers, "buffer", ptr_buffer);
weechat_hashtable_set (pointers, "irc_server", ptr_server);
if (ptr_channel)
weechat_hashtable_set (pointers, "irc_channel", ptr_channel);
else
weechat_hashtable_remove (pointers, "irc_channel");
cmd_vars_replaced = irc_message_replace_vars (
ptr_server,
(ptr_channel) ? ptr_channel->name : NULL,
command);
cmd_eval = weechat_string_eval_expression (
(cmd_vars_replaced) ? cmd_vars_replaced : command,
pointers,
NULL,
NULL);
weechat_command (
(ptr_channel) ? ptr_channel->buffer : ptr_server->buffer,
(cmd_eval) ? cmd_eval : ((cmd_vars_replaced) ? cmd_vars_replaced : command));
if (cmd_vars_replaced)
free (cmd_vars_replaced);
if (cmd_eval)
free (cmd_eval);
}
weechat_hashtable_free (pointers);
}
/* /*
* Executes a command on all channels (or queries). * Executes a command on all channels (or queries).
* *
@@ -398,26 +464,12 @@ irc_command_exec_all_channels (struct t_irc_server *server,
struct t_irc_server *ptr_server, *next_server; struct t_irc_server *ptr_server, *next_server;
struct t_irc_channel *ptr_channel, *next_channel; struct t_irc_channel *ptr_channel, *next_channel;
struct t_weelist *list_buffers; struct t_weelist *list_buffers;
struct t_gui_buffer *ptr_buffer; char **channels;
char **channels, *str_command, *cmd_vars_replaced; int num_channels, picked, i;
const char *ptr_buffer_name;
int num_channels, length, picked, i, list_size;
if (!command || !command[0]) if (!command || !command[0])
return; return;
if (!weechat_string_is_command_char (command))
{
length = 1 + strlen (command) + 1;
str_command = malloc (length);
snprintf (str_command, length, "/%s", command);
}
else
str_command = strdup (command);
if (!str_command)
return;
channels = (str_channels && str_channels[0]) ? channels = (str_channels && str_channels[0]) ?
weechat_string_split (str_channels, ",", NULL, weechat_string_split (str_channels, ",", NULL,
WEECHAT_STRING_SPLIT_STRIP_LEFT WEECHAT_STRING_SPLIT_STRIP_LEFT
@@ -477,32 +529,10 @@ irc_command_exec_all_channels (struct t_irc_server *server,
ptr_server = next_server; ptr_server = next_server;
} }
/* execute the command on all buffers */ /* execute the command on channel/pv buffers */
list_size = weechat_list_size (list_buffers); irc_command_exec_buffers (list_buffers, command);
for (i = 0; i < list_size; i++)
{
ptr_buffer_name = weechat_list_string (
weechat_list_get (list_buffers, i));
ptr_buffer = weechat_buffer_search ("==", ptr_buffer_name);
if (ptr_buffer)
{
irc_buffer_get_server_and_channel (ptr_buffer,
&ptr_server, &ptr_channel);
if (ptr_server && ptr_channel)
{
cmd_vars_replaced = irc_message_replace_vars (
ptr_server, ptr_channel->name, str_command);
weechat_command (ptr_channel->buffer,
(cmd_vars_replaced) ?
cmd_vars_replaced : str_command);
if (cmd_vars_replaced)
free (cmd_vars_replaced);
}
}
}
weechat_list_free (list_buffers); weechat_list_free (list_buffers);
free (str_command);
if (channels) if (channels)
weechat_string_free_split (channels); weechat_string_free_split (channels);
} }
@@ -655,28 +685,13 @@ void
irc_command_exec_all_servers (int inclusive, const char *str_servers, const char *command) irc_command_exec_all_servers (int inclusive, const char *str_servers, const char *command)
{ {
struct t_irc_server *ptr_server, *next_server; struct t_irc_server *ptr_server, *next_server;
struct t_irc_channel *ptr_channel;
struct t_weelist *list_buffers; struct t_weelist *list_buffers;
struct t_gui_buffer *ptr_buffer; char **servers;
char **servers, *str_command, *cmd_vars_replaced; int num_servers, picked, i;
const char *ptr_buffer_name;
int num_servers, length, picked, i, list_size;
if (!command || !command[0]) if (!command || !command[0])
return; return;
if (!weechat_string_is_command_char (command))
{
length = 1 + strlen (command) + 1;
str_command = malloc (length);
snprintf (str_command, length, "/%s", command);
}
else
str_command = strdup (command);
if (!str_command)
return;
servers = (str_servers && str_servers[0]) ? servers = (str_servers && str_servers[0]) ?
weechat_string_split (str_servers, ",", NULL, weechat_string_split (str_servers, ",", NULL,
WEECHAT_STRING_SPLIT_STRIP_LEFT WEECHAT_STRING_SPLIT_STRIP_LEFT
@@ -722,33 +737,10 @@ irc_command_exec_all_servers (int inclusive, const char *str_servers, const char
ptr_server = next_server; ptr_server = next_server;
} }
/* execute the command on all buffers */ /* execute the command on server buffers */
list_size = weechat_list_size (list_buffers); irc_command_exec_buffers (list_buffers, command);
for (i = 0; i < list_size; i++)
{
ptr_buffer_name = weechat_list_string (
weechat_list_get (list_buffers, i));
ptr_buffer = weechat_buffer_search ("==", ptr_buffer_name);
if (ptr_buffer)
{
irc_buffer_get_server_and_channel (ptr_buffer,
&ptr_server, &ptr_channel);
if (ptr_server && !ptr_channel)
{
cmd_vars_replaced = irc_message_replace_vars (ptr_server,
NULL,
str_command);
weechat_command (ptr_server->buffer,
(cmd_vars_replaced) ?
cmd_vars_replaced : str_command);
if (cmd_vars_replaced)
free (cmd_vars_replaced);
}
}
}
weechat_list_free (list_buffers); weechat_list_free (list_buffers);
free (str_command);
if (servers) if (servers)
weechat_string_free_split (servers); weechat_string_free_split (servers);
} }
@@ -6378,76 +6370,90 @@ irc_command_init ()
weechat_hook_command ( weechat_hook_command (
"allchan", "allchan",
N_("execute a command on all channels of all connected servers"), N_("execute a command on all channels of all connected servers"),
N_("[-current] [-exclude=<channel>[,<channel>...]] <command> " N_("[-current] [-exclude=<channel>[,<channel>...]] <command>"
"[<arguments>]" " || [-current] -include=<channel>[,<channel>...] <command>"),
" || [-current] -include=<channel>[,<channel>...] <command> "
"[<arguments>]"),
N_(" -current: execute command for channels of current server only\n" N_(" -current: execute command for channels of current server only\n"
" -exclude: exclude some channels (wildcard \"*\" is allowed)\n" " -exclude: exclude some channels (wildcard \"*\" is allowed)\n"
" -include: include only some channels (wildcard \"*\" is allowed)\n" " -include: include only some channels (wildcard \"*\" is allowed)\n"
" command: command to execute\n" " command: command to execute (or text to send to buffer if "
"arguments: arguments for command (special variables $nick, $channel " "command does not start with '/')\n"
"and $server are replaced by their value)\n" "\n"
"Command and arguments are evaluated (see /help eval), the following "
"variables are replaced:\n"
" $server server name\n"
" $channel channel name\n"
" $nick nick on server\n"
" ${irc_server.xxx} variable xxx in server\n"
" ${irc_channel.xxx} variable xxx in channel\n"
"\n" "\n"
"Examples:\n" "Examples:\n"
" execute '/me is testing' on all channels:\n" " execute '/me is testing' on all channels:\n"
" /allchan me is testing\n" " /allchan /me is testing\n"
" say 'hello' everywhere but not on #weechat:\n" " say 'hello' everywhere but not on #weechat:\n"
" /allchan -exclude=#weechat msg * hello\n" " /allchan -exclude=#weechat hello\n"
" say 'hello' everywhere but not on #weechat and channels beginning " " say 'hello' everywhere but not on #weechat and channels beginning "
"with #linux:\n" "with #linux:\n"
" /allchan -exclude=#weechat,#linux* msg * hello\n" " /allchan -exclude=#weechat,#linux* hello\n"
" say 'hello' on all channels beginning with #linux:\n" " say 'hello' on all channels beginning with #linux:\n"
" /allchan -include=#linux* msg * hello"), " /allchan -include=#linux* hello"),
"-current", &irc_command_allchan, NULL, NULL); "-current", &irc_command_allchan, NULL, NULL);
weechat_hook_command ( weechat_hook_command (
"allpv", "allpv",
N_("execute a command on all private buffers of all connected servers"), N_("execute a command on all private buffers of all connected servers"),
N_("[-current] [-exclude=<nick>[,<nick>...]] <command> " N_("[-current] [-exclude=<nick>[,<nick>...]] <command>"
"[<arguments>]" " || [-current] -include=<nick>[,<nick>...] <command>"),
" || [-current] -include=<nick>[,<nick>...] <command> "
"[<arguments>]"),
N_(" -current: execute command for private buffers of current server " N_(" -current: execute command for private buffers of current server "
"only\n" "only\n"
" -exclude: exclude some nicks (wildcard \"*\" is allowed)\n" " -exclude: exclude some nicks (wildcard \"*\" is allowed)\n"
" -include: include only some nicks (wildcard \"*\" is allowed)\n" " -include: include only some nicks (wildcard \"*\" is allowed)\n"
" command: command to execute\n" " command: command to execute (or text to send to buffer if "
"arguments: arguments for command (special variables $nick, $channel " "command does not start with '/')\n"
"and $server are replaced by their value)\n" "\n"
"Command and arguments are evaluated (see /help eval), the following "
"variables are replaced:\n"
" $server server name\n"
" $channel channel name\n"
" $nick nick on server\n"
" ${irc_server.xxx} variable xxx in server\n"
" ${irc_channel.xxx} variable xxx in channel\n"
"\n" "\n"
"Examples:\n" "Examples:\n"
" execute '/me is testing' on all private buffers:\n" " execute '/me is testing' on all private buffers:\n"
" /allpv me is testing\n" " /allpv /me is testing\n"
" say 'hello' everywhere but not for nick foo:\n" " say 'hello' everywhere but not for nick foo:\n"
" /allpv -exclude=foo msg * hello\n" " /allpv -exclude=foo hello\n"
" say 'hello' everywhere but not for nick foo and nicks beginning " " say 'hello' everywhere but not for nick foo and nicks beginning "
"with bar:\n" "with bar:\n"
" /allpv -exclude=foo,bar* msg * hello\n" " /allpv -exclude=foo,bar* hello\n"
" say 'hello' for all nicks beginning with bar:\n" " say 'hello' for all nicks beginning with bar:\n"
" /allpv -include=bar* msg * hello\n" " /allpv -include=bar* hello\n"
" close all private buffers:\n" " close all private buffers:\n"
" /allpv close"), " /allpv /close"),
"-current", &irc_command_allpv, NULL, NULL); "-current", &irc_command_allpv, NULL, NULL);
weechat_hook_command ( weechat_hook_command (
"allserv", "allserv",
N_("execute a command on all connected servers"), N_("execute a command on all connected servers"),
N_("[-exclude=<server>[,<server>...]] " N_("[-exclude=<server>[,<server>...]] <command>"
"<command> [<arguments>]"
" || -include=<server>[,<server>...] " " || -include=<server>[,<server>...] "
"<command> [<arguments>]"), "<command>"),
N_(" -exclude: exclude some servers (wildcard \"*\" is allowed)\n" N_(" -exclude: exclude some servers (wildcard \"*\" is allowed)\n"
" -include: include only some servers (wildcard \"*\" is allowed)\n" " -include: include only some servers (wildcard \"*\" is allowed)\n"
" command: command to execute\n" " command: command to execute (or text to send to buffer if "
"arguments: arguments for command (special variables $nick, $channel " "command does not start with '/')\n"
"and $server are replaced by their value)\n" "\n"
"Command and arguments are evaluated (see /help eval), the following "
"variables are replaced:\n"
" $server server name\n"
" $nick nick on server\n"
" ${irc_server.xxx} variable xxx in server\n"
"\n" "\n"
"Examples:\n" "Examples:\n"
" change nick on all servers:\n" " change nick on all servers:\n"
" /allserv nick newnick\n" " /allserv /nick newnick\n"
" set away on all servers:\n" " set away on all servers:\n"
" /allserv away I'm away\n" " /allserv /away I'm away\n"
" do a whois on my nick on all servers:\n" " do a whois on my nick on all servers:\n"
" /allserv whois $nick"), " /allserv /whois $nick"),
NULL, &irc_command_allserv, NULL, NULL); NULL, &irc_command_allserv, NULL, NULL);
weechat_hook_command_run ("/away", &irc_command_run_away, NULL, NULL); weechat_hook_command_run ("/away", &irc_command_run_away, NULL, NULL);
weechat_hook_command ( weechat_hook_command (
+25 -11
View File
@@ -515,12 +515,12 @@ irc_protocol_cap_print_cb (void *data,
str_caps = (char **)data; str_caps = (char **)data;
if (*str_caps[0]) if (*str_caps[0])
weechat_string_dyn_concat (str_caps, " "); weechat_string_dyn_concat (str_caps, " ", -1);
weechat_string_dyn_concat (str_caps, key); weechat_string_dyn_concat (str_caps, key, -1);
if (value) if (value)
{ {
weechat_string_dyn_concat (str_caps, "="); weechat_string_dyn_concat (str_caps, "=", -1);
weechat_string_dyn_concat (str_caps, value); weechat_string_dyn_concat (str_caps, value, -1);
} }
} }
@@ -837,9 +837,10 @@ IRC_PROTOCOL_CALLBACK(cap)
if (caps_supported[i][0] == '-') if (caps_supported[i][0] == '-')
{ {
if (*str_caps_disabled[0]) if (*str_caps_disabled[0])
weechat_string_dyn_concat (str_caps_disabled, " "); weechat_string_dyn_concat (str_caps_disabled, " ", -1);
weechat_string_dyn_concat (str_caps_disabled, weechat_string_dyn_concat (str_caps_disabled,
caps_supported[i] + 1); caps_supported[i] + 1,
-1);
weechat_hashtable_remove (server->cap_list, weechat_hashtable_remove (server->cap_list,
caps_supported[i] + 1); caps_supported[i] + 1);
@@ -847,9 +848,10 @@ IRC_PROTOCOL_CALLBACK(cap)
else else
{ {
if (*str_caps_enabled[0]) if (*str_caps_enabled[0])
weechat_string_dyn_concat (str_caps_enabled, " "); weechat_string_dyn_concat (str_caps_enabled, " ", -1);
weechat_string_dyn_concat (str_caps_enabled, weechat_string_dyn_concat (str_caps_enabled,
caps_supported[i]); caps_supported[i],
-1);
weechat_hashtable_set (server->cap_list, weechat_hashtable_set (server->cap_list,
caps_supported[i], NULL); caps_supported[i], NULL);
@@ -5420,12 +5422,12 @@ IRC_PROTOCOL_CALLBACK(366)
length = strlen (str_nicks_count); length = strlen (str_nicks_count);
snprintf (str_nicks_count + length, snprintf (str_nicks_count + length,
sizeof (str_nicks_count) - length, sizeof (str_nicks_count) - length,
"%s%s%d%s %s", /* TRANSLATORS: number of "normal" nicks on a channel (ie no op/voice), for example: "56 normals" */
NG_("%s%s%d%s normal", "%s%s%d%s normals", num_normal),
(str_nicks_count[0]) ? ", " : "", (str_nicks_count[0]) ? ", " : "",
IRC_COLOR_CHAT_CHANNEL, IRC_COLOR_CHAT_CHANNEL,
num_normal, num_normal,
IRC_COLOR_RESET, IRC_COLOR_RESET);
NG_("normal", "normals", num_normal));
weechat_printf_date_tags ( weechat_printf_date_tags (
irc_msgbuffer_get_target_buffer ( irc_msgbuffer_get_target_buffer (
server, NULL, command, "names", ptr_channel->buffer), server, NULL, command, "names", ptr_channel->buffer),
@@ -6370,6 +6372,12 @@ IRC_PROTOCOL_CALLBACK(901)
IRC_PROTOCOL_CALLBACK(sasl_end_ok) IRC_PROTOCOL_CALLBACK(sasl_end_ok)
{ {
if (server->hook_timer_sasl)
{
weechat_unhook (server->hook_timer_sasl);
server->hook_timer_sasl = NULL;
}
irc_protocol_cb_numeric (server, irc_protocol_cb_numeric (server,
date, nick, address, host, command, date, nick, address, host, command,
ignored, argc, argv, argv_eol); ignored, argc, argv, argv_eol);
@@ -6391,6 +6399,12 @@ IRC_PROTOCOL_CALLBACK(sasl_end_fail)
{ {
int sasl_fail; int sasl_fail;
if (server->hook_timer_sasl)
{
weechat_unhook (server->hook_timer_sasl);
server->hook_timer_sasl = NULL;
}
irc_protocol_cb_numeric (server, irc_protocol_cb_numeric (server,
date, nick, address, host, command, date, nick, address, host, command,
ignored, argc, argv, argv_eol); ignored, argc, argv, argv_eol);
+5 -8
View File
@@ -478,10 +478,8 @@ irc_sasl_mechanism_dh_blowfish (const char *data_base64,
/* create password buffers (clear and crypted) */ /* create password buffers (clear and crypted) */
length_password = strlen (sasl_password) + length_password = strlen (sasl_password) +
((8 - (strlen (sasl_password) % 8)) % 8); ((8 - (strlen (sasl_password) % 8)) % 8);
password_clear = malloc (length_password); password_clear = calloc (1, length_password);
password_crypted = malloc (length_password); password_crypted = calloc (1, length_password);
memset (password_clear, 0, length_password);
memset (password_crypted, 0, length_password);
memcpy (password_clear, sasl_password, strlen (sasl_password)); memcpy (password_clear, sasl_password, strlen (sasl_password));
/* crypt password using blowfish */ /* crypt password using blowfish */
@@ -604,10 +602,9 @@ irc_sasl_mechanism_dh_aes (const char *data_base64,
length_password = strlen (sasl_password) + 1; length_password = strlen (sasl_password) + 1;
length_userpass = length_username + length_password + length_userpass = length_username + length_password +
((16 - ((length_username + length_password) % 16)) % 16); ((16 - ((length_username + length_password) % 16)) % 16);
ptr_userpass = userpass_clear = malloc (length_userpass); userpass_clear = calloc (1, length_userpass);
userpass_crypted = malloc (length_userpass); ptr_userpass = userpass_clear;
memset (userpass_clear, 0, length_password); userpass_crypted = calloc (1, length_userpass);
memset (userpass_crypted, 0, length_password);
memcpy (ptr_userpass, sasl_username, length_username); memcpy (ptr_userpass, sasl_username, length_username);
ptr_userpass += length_username; ptr_userpass += length_username;
memcpy (ptr_userpass, sasl_password, length_password); memcpy (ptr_userpass, sasl_password, length_password);
+100 -21
View File
@@ -5310,6 +5310,99 @@ irc_server_autojoin_create_buffers (struct t_irc_server *server)
free (autojoin); free (autojoin);
} }
/*
* Build the arguments for JOIN command using channels in server, only if the
* channel is not in "part" state (/part command issued).
*
* The arguments have the following format, where keys are optional (this is
* the syntax of JOIN command in IRC protocol):
*
* #channel1,#channel2,#channel3 key1,key2
*
* Note: result must be freed after use.
*/
char *
irc_server_build_autojoin (struct t_irc_server *server)
{
struct t_irc_channel *ptr_channel;
char **channels_with_key, **channels_others, **keys;
channels_with_key = NULL;
channels_others = NULL;
keys = NULL;
channels_with_key = weechat_string_dyn_alloc (1024);
if (!channels_with_key)
goto error;
channels_others = weechat_string_dyn_alloc (1024);
if (!channels_others)
goto error;
keys = weechat_string_dyn_alloc (1024);
if (!keys)
goto error;
for (ptr_channel = server->channels; ptr_channel;
ptr_channel = ptr_channel->next_channel)
{
if ((ptr_channel->type == IRC_CHANNEL_TYPE_CHANNEL)
&& !ptr_channel->part)
{
if (ptr_channel->key)
{
/* add channel with key and the key */
if (*channels_with_key[0])
weechat_string_dyn_concat (channels_with_key, ",", -1);
weechat_string_dyn_concat (channels_with_key,
ptr_channel->name,
-1);
if (*keys[0])
weechat_string_dyn_concat (keys, ",", -1);
weechat_string_dyn_concat (keys, ptr_channel->key, -1);
}
else
{
/* add channel without key */
if (*channels_others[0])
weechat_string_dyn_concat (channels_others, ",", -1);
weechat_string_dyn_concat (channels_others,
ptr_channel->name,
-1);
}
}
}
/*
* concatenate channels_with_key + channels_others + keys
* into channels_with_key
*/
if (*channels_others[0])
{
if (*channels_with_key[0])
weechat_string_dyn_concat (channels_with_key, ",", -1);
weechat_string_dyn_concat (channels_with_key, *channels_others, -1);
}
if (*keys[0])
{
weechat_string_dyn_concat (channels_with_key, " ", -1);
weechat_string_dyn_concat (channels_with_key, *keys, -1);
}
weechat_string_dyn_free (channels_others, 1);
weechat_string_dyn_free (keys, 1);
return weechat_string_dyn_free (channels_with_key, 0);
error:
if (channels_with_key)
weechat_string_dyn_free (channels_with_key, 1);
if (channels_others)
weechat_string_dyn_free (channels_others, 1);
if (keys)
weechat_string_dyn_free (keys, 1);
return NULL;
}
/* /*
* Autojoins (or auto-rejoins) channels. * Autojoins (or auto-rejoins) channels.
*/ */
@@ -5317,33 +5410,19 @@ irc_server_autojoin_create_buffers (struct t_irc_server *server)
void void
irc_server_autojoin_channels (struct t_irc_server *server) irc_server_autojoin_channels (struct t_irc_server *server)
{ {
struct t_irc_channel *ptr_channel;
char *autojoin; char *autojoin;
/* auto-join after disconnection (only rejoins opened channels) */ /* auto-join after disconnection (only rejoins opened channels) */
if (!server->disable_autojoin && server->reconnect_join && server->channels) if (!server->disable_autojoin && server->reconnect_join && server->channels)
{ {
for (ptr_channel = server->channels; ptr_channel; autojoin = irc_server_build_autojoin (server);
ptr_channel = ptr_channel->next_channel) if (autojoin)
{ {
if ((ptr_channel->type == IRC_CHANNEL_TYPE_CHANNEL) irc_server_sendf (server,
&& !ptr_channel->part) IRC_SERVER_SEND_OUTQ_PRIO_HIGH, NULL,
{ "JOIN %s",
if (ptr_channel->key) autojoin);
{ free (autojoin);
irc_server_sendf (server,
IRC_SERVER_SEND_OUTQ_PRIO_HIGH, NULL,
"JOIN %s %s",
ptr_channel->name, ptr_channel->key);
}
else
{
irc_server_sendf (server,
IRC_SERVER_SEND_OUTQ_PRIO_HIGH, NULL,
"JOIN %s",
ptr_channel->name);
}
}
} }
server->reconnect_join = 0; server->reconnect_join = 0;
} }
+14
View File
@@ -376,6 +376,19 @@ API_FUNC(string_format_size)
API_RETURN_STRING_FREE(result); API_RETURN_STRING_FREE(result);
} }
API_FUNC(string_color_code_size)
{
int size;
API_INIT_FUNC(1, "string_color_code_size", "s", API_RETURN_INT(0));
v8::String::Utf8Value string(args[0]);
size = weechat_string_color_code_size (*string);
API_RETURN_INT(size);
}
API_FUNC(string_remove_color) API_FUNC(string_remove_color)
{ {
char *result; char *result;
@@ -4945,6 +4958,7 @@ WeechatJsV8::loadLibs()
API_DEF_FUNC(string_has_highlight_regex); API_DEF_FUNC(string_has_highlight_regex);
API_DEF_FUNC(string_mask_to_regex); API_DEF_FUNC(string_mask_to_regex);
API_DEF_FUNC(string_format_size); API_DEF_FUNC(string_format_size);
API_DEF_FUNC(string_color_code_size);
API_DEF_FUNC(string_remove_color); API_DEF_FUNC(string_remove_color);
API_DEF_FUNC(string_is_command_char); API_DEF_FUNC(string_is_command_char);
API_DEF_FUNC(string_input_for_buffer); API_DEF_FUNC(string_input_for_buffer);
+17
View File
@@ -423,6 +423,22 @@ API_FUNC(string_format_size)
API_RETURN_STRING_FREE(result); API_RETURN_STRING_FREE(result);
} }
API_FUNC(string_color_code_size)
{
const char *string;
int size;
API_INIT_FUNC(1, "string_color_code_size", API_RETURN_INT(0));
if (lua_gettop (L) < 1)
API_WRONG_ARGS(API_RETURN_INT(0));
string = lua_tostring (L, -1);
size = weechat_string_color_code_size (string);
API_RETURN_INT(size);
}
API_FUNC(string_remove_color) API_FUNC(string_remove_color)
{ {
const char *string, *replacement; const char *string, *replacement;
@@ -5309,6 +5325,7 @@ const struct luaL_Reg weechat_lua_api_funcs[] = {
API_DEF_FUNC(string_has_highlight_regex), API_DEF_FUNC(string_has_highlight_regex),
API_DEF_FUNC(string_mask_to_regex), API_DEF_FUNC(string_mask_to_regex),
API_DEF_FUNC(string_format_size), API_DEF_FUNC(string_format_size),
API_DEF_FUNC(string_color_code_size),
API_DEF_FUNC(string_remove_color), API_DEF_FUNC(string_remove_color),
API_DEF_FUNC(string_is_command_char), API_DEF_FUNC(string_is_command_char),
API_DEF_FUNC(string_input_for_buffer), API_DEF_FUNC(string_input_for_buffer),
+4 -6
View File
@@ -258,7 +258,6 @@ int
weechat_lua_output (lua_State *L) weechat_lua_output (lua_State *L)
{ {
const char *msg, *ptr_msg, *ptr_newline; const char *msg, *ptr_msg, *ptr_newline;
char *message;
if (lua_gettop (L) < 1) if (lua_gettop (L) < 1)
return 0; return 0;
@@ -267,14 +266,13 @@ weechat_lua_output (lua_State *L)
ptr_msg = msg; ptr_msg = msg;
while ((ptr_newline = strchr (ptr_msg, '\n')) != NULL) while ((ptr_newline = strchr (ptr_msg, '\n')) != NULL)
{ {
message = weechat_strndup (ptr_msg, ptr_newline - ptr_msg); weechat_string_dyn_concat (lua_buffer_output,
weechat_string_dyn_concat (lua_buffer_output, message); ptr_msg,
if (message) ptr_newline - ptr_msg);
free (message);
weechat_lua_output_flush (); weechat_lua_output_flush ();
ptr_msg = ++ptr_newline; ptr_msg = ++ptr_newline;
} }
weechat_string_dyn_concat (lua_buffer_output, ptr_msg); weechat_string_dyn_concat (lua_buffer_output, ptr_msg, -1);
return 0; return 0;
} }
+15
View File
@@ -383,6 +383,20 @@ API_FUNC(string_format_size)
API_RETURN_STRING_FREE(result); API_RETURN_STRING_FREE(result);
} }
API_FUNC(string_color_code_size)
{
int size;
dXSARGS;
API_INIT_FUNC(1, "string_color_code_size", API_RETURN_INT(0));
if (items < 1)
API_WRONG_ARGS(API_RETURN_INT(0));
size = weechat_string_color_code_size (SvPV_nolen (ST (0))); /* string */
API_RETURN_INT(size);
}
API_FUNC(string_remove_color) API_FUNC(string_remove_color)
{ {
char *result, *string, *replacement; char *result, *string, *replacement;
@@ -5266,6 +5280,7 @@ weechat_perl_api_init (pTHX)
API_DEF_FUNC(string_has_highlight_regex); API_DEF_FUNC(string_has_highlight_regex);
API_DEF_FUNC(string_mask_to_regex); API_DEF_FUNC(string_mask_to_regex);
API_DEF_FUNC(string_format_size); API_DEF_FUNC(string_format_size);
API_DEF_FUNC(string_color_code_size);
API_DEF_FUNC(string_remove_color); API_DEF_FUNC(string_remove_color);
API_DEF_FUNC(string_is_command_char); API_DEF_FUNC(string_is_command_char);
API_DEF_FUNC(string_input_for_buffer); API_DEF_FUNC(string_input_for_buffer);
+5 -6
View File
@@ -292,7 +292,7 @@ weechat_perl_output_flush ()
XS (weechat_perl_output) XS (weechat_perl_output)
{ {
char *msg, *ptr_msg, *ptr_newline, *message; char *msg, *ptr_msg, *ptr_newline;
dXSARGS; dXSARGS;
if (items < 1) if (items < 1)
@@ -302,14 +302,13 @@ XS (weechat_perl_output)
ptr_msg = msg; ptr_msg = msg;
while ((ptr_newline = strchr (ptr_msg, '\n')) != NULL) while ((ptr_newline = strchr (ptr_msg, '\n')) != NULL)
{ {
message = weechat_strndup (ptr_msg, ptr_newline - ptr_msg); weechat_string_dyn_concat (perl_buffer_output,
weechat_string_dyn_concat (perl_buffer_output, message); ptr_msg,
if (message) ptr_newline - ptr_msg);
free (message);
weechat_perl_output_flush (); weechat_perl_output_flush ();
ptr_msg = ++ptr_newline; ptr_msg = ++ptr_newline;
} }
weechat_string_dyn_concat (perl_buffer_output, ptr_msg); weechat_string_dyn_concat (perl_buffer_output, ptr_msg, -1);
} }
/* /*
+17
View File
@@ -497,6 +497,23 @@ API_FUNC(string_format_size)
API_RETURN_STRING_FREE(result); API_RETURN_STRING_FREE(result);
} }
API_FUNC(string_color_code_size)
{
zend_string *z_string;
char *string;
int result;
API_INIT_FUNC(1, "string_color_code_size", API_RETURN_INT(0));
if (zend_parse_parameters (ZEND_NUM_ARGS(), "S", &z_string) == FAILURE)
API_WRONG_ARGS(API_RETURN_INT(0));
string = ZSTR_VAL(z_string);
result = weechat_string_color_code_size ((const char *)string);
API_RETURN_INT(result);
}
API_FUNC(string_remove_color) API_FUNC(string_remove_color)
{ {
zend_string *z_string, *z_replacement; zend_string *z_string, *z_replacement;
+1
View File
@@ -59,6 +59,7 @@ PHP_FUNCTION(weechat_string_has_highlight);
PHP_FUNCTION(weechat_string_has_highlight_regex); PHP_FUNCTION(weechat_string_has_highlight_regex);
PHP_FUNCTION(weechat_string_mask_to_regex); PHP_FUNCTION(weechat_string_mask_to_regex);
PHP_FUNCTION(weechat_string_format_size); PHP_FUNCTION(weechat_string_format_size);
PHP_FUNCTION(weechat_string_color_code_size);
PHP_FUNCTION(weechat_string_remove_color); PHP_FUNCTION(weechat_string_remove_color);
PHP_FUNCTION(weechat_string_is_command_char); PHP_FUNCTION(weechat_string_is_command_char);
PHP_FUNCTION(weechat_string_input_for_buffer); PHP_FUNCTION(weechat_string_input_for_buffer);
+1
View File
@@ -112,6 +112,7 @@ const zend_function_entry weechat_functions[] = {
PHP_FE(weechat_string_has_highlight_regex, NULL) PHP_FE(weechat_string_has_highlight_regex, NULL)
PHP_FE(weechat_string_mask_to_regex, NULL) PHP_FE(weechat_string_mask_to_regex, NULL)
PHP_FE(weechat_string_format_size, NULL) PHP_FE(weechat_string_format_size, NULL)
PHP_FE(weechat_string_color_code_size, NULL)
PHP_FE(weechat_string_remove_color, NULL) PHP_FE(weechat_string_remove_color, NULL)
PHP_FE(weechat_string_is_command_char, NULL) PHP_FE(weechat_string_is_command_char, NULL)
PHP_FE(weechat_string_input_for_buffer, NULL) PHP_FE(weechat_string_input_for_buffer, NULL)
+34 -8
View File
@@ -665,15 +665,24 @@ plugin_api_info_nick_color_cb (const void *pointer, void *data,
const char *info_name, const char *info_name,
const char *arguments) const char *arguments)
{ {
const char *ptr_color; char **items, *result;
int num_items;
/* make C compiler happy */ /* make C compiler happy */
(void) pointer; (void) pointer;
(void) data; (void) data;
(void) info_name; (void) info_name;
ptr_color = gui_nick_find_color (arguments); items = string_split (arguments, ";", NULL, 0, 2, &num_items);
return (ptr_color) ? strdup (ptr_color) : NULL;
result = gui_nick_find_color (
(num_items >= 1) ? items[0] : NULL,
(num_items >= 2) ? items[1] : NULL);
if (items)
string_free_split (items);
return result;
} }
/* /*
@@ -685,15 +694,24 @@ plugin_api_info_nick_color_name_cb (const void *pointer, void *data,
const char *info_name, const char *info_name,
const char *arguments) const char *arguments)
{ {
const char *ptr_color; char **items, *result;
int num_items;
/* make C compiler happy */ /* make C compiler happy */
(void) pointer; (void) pointer;
(void) data; (void) data;
(void) info_name; (void) info_name;
ptr_color = gui_nick_find_color_name (arguments); items = string_split (arguments, ";", NULL, 0, 2, &num_items);
return (ptr_color) ? strdup (ptr_color) : NULL;
result = gui_nick_find_color_name (
(num_items >= 1) ? items[0] : NULL,
(num_items >= 2) ? items[1] : NULL);
if (items)
string_free_split (items);
return result;
} }
/* /*
@@ -1835,11 +1853,19 @@ plugin_api_info_init ()
&plugin_api_info_color_rgb2term_cb, NULL, NULL); &plugin_api_info_color_rgb2term_cb, NULL, NULL);
hook_info (NULL, "nick_color", hook_info (NULL, "nick_color",
N_("get nick color code"), N_("get nick color code"),
N_("nickname"), N_("nickname;colors (colors is an optional comma-separated "
"list of colors to use; background is allowed for a color "
"with format text:background; if colors is present, WeeChat "
"options with nick colors and forced nick colors are "
"ignored)"),
&plugin_api_info_nick_color_cb, NULL, NULL); &plugin_api_info_nick_color_cb, NULL, NULL);
hook_info (NULL, "nick_color_name", hook_info (NULL, "nick_color_name",
N_("get nick color name"), N_("get nick color name"),
N_("nickname"), N_("nickname;colors (colors is an optional comma-separated "
"list of colors to use; background is allowed for a color "
"with format text:background; if colors is present, WeeChat "
"options with nick colors and forced nick colors are "
"ignored)"),
&plugin_api_info_nick_color_name_cb, NULL, NULL); &plugin_api_info_nick_color_name_cb, NULL, NULL);
hook_info (NULL, "uptime", hook_info (NULL, "uptime",
N_("WeeChat uptime (format: \"days:hh:mm:ss\")"), N_("WeeChat uptime (format: \"days:hh:mm:ss\")"),
+1
View File
@@ -632,6 +632,7 @@ plugin_load (const char *filename, int init_plugin, int argc, char **argv)
new_plugin->string_split_command = &string_split_command; new_plugin->string_split_command = &string_split_command;
new_plugin->string_free_split_command = &string_free_split_command; new_plugin->string_free_split_command = &string_free_split_command;
new_plugin->string_format_size = &string_format_size; new_plugin->string_format_size = &string_format_size;
new_plugin->string_color_code_size = &gui_color_code_size;
new_plugin->string_remove_color = &gui_color_decode; new_plugin->string_remove_color = &gui_color_decode;
new_plugin->string_base_encode = &string_base_encode; new_plugin->string_base_encode = &string_base_encode;
new_plugin->string_base_decode = &string_base_decode; new_plugin->string_base_decode = &string_base_decode;
+16
View File
@@ -369,6 +369,21 @@ API_FUNC(string_format_size)
API_RETURN_STRING_FREE(result); API_RETURN_STRING_FREE(result);
} }
API_FUNC(string_color_code_size)
{
char *string;
int size;
API_INIT_FUNC(1, "string_color_code_size", API_RETURN_INT(0));
string = NULL;
if (!PyArg_ParseTuple (args, "s", &string))
API_WRONG_ARGS(API_RETURN_INT(0));
size = weechat_string_color_code_size (string);
API_RETURN_INT(size);
}
API_FUNC(string_remove_color) API_FUNC(string_remove_color)
{ {
char *string, *replacement, *result; char *string, *replacement, *result;
@@ -5217,6 +5232,7 @@ PyMethodDef weechat_python_funcs[] =
API_DEF_FUNC(string_has_highlight_regex), API_DEF_FUNC(string_has_highlight_regex),
API_DEF_FUNC(string_mask_to_regex), API_DEF_FUNC(string_mask_to_regex),
API_DEF_FUNC(string_format_size), API_DEF_FUNC(string_format_size),
API_DEF_FUNC(string_color_code_size),
API_DEF_FUNC(string_remove_color), API_DEF_FUNC(string_remove_color),
API_DEF_FUNC(string_is_command_char), API_DEF_FUNC(string_is_command_char),
API_DEF_FUNC(string_input_for_buffer), API_DEF_FUNC(string_input_for_buffer),
+4 -4
View File
@@ -444,13 +444,13 @@ weechat_python_output (PyObject *self, PyObject *args)
ptr_msg = msg; ptr_msg = msg;
while ((ptr_newline = strchr (ptr_msg, '\n')) != NULL) while ((ptr_newline = strchr (ptr_msg, '\n')) != NULL)
{ {
ptr_newline[0] = '\0'; weechat_string_dyn_concat (python_buffer_output,
weechat_string_dyn_concat (python_buffer_output, ptr_msg); ptr_msg,
ptr_newline - ptr_msg);
weechat_python_output_flush (); weechat_python_output_flush ();
ptr_newline[0] = '\n';
ptr_msg = ++ptr_newline; ptr_msg = ++ptr_newline;
} }
weechat_string_dyn_concat (python_buffer_output, ptr_msg); weechat_string_dyn_concat (python_buffer_output, ptr_msg, -1);
} }
Py_INCREF(Py_None); Py_INCREF(Py_None);

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