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

Compare commits

..

123 Commits

Author SHA1 Message Date
Sébastien Helleu 5969f9faf6 Version 4.9.0 2026-03-29 10:20:23 +02:00
Sébastien Helleu b70b484f5f debian: update changelog 2026-03-28 22:31:27 +01:00
Sébastien Helleu b250d71608 debian: remove redundant priority optional field from control 2026-03-28 22:29:00 +01:00
Sébastien Helleu 94457f8313 debian: bump Standards-Version to 4.7.3 2026-03-28 22:27:09 +01:00
Sébastien Helleu 0cd0e7be6a core: remove link to Diaspora* from README 2026-03-27 19:22:37 +01:00
Sébastien Helleu 2ececc1184 core: remove link to Slant from README 2026-03-27 19:21:55 +01:00
Sébastien Helleu b8bef1c3e1 irc: fix display of CTCP query sent multiple times to the same user when capability echo-message is enabled (closes #2309) 2026-03-27 18:32:31 +01:00
Sébastien Helleu d9e56c3df8 ci: add check of gettext files with poexam 2026-03-25 21:49:02 +01:00
Emir SARI dc28050b8b core: update Turkish translations 2026-03-25 08:46:52 +01:00
Sébastien Helleu f53e7fb9ef core, plugins: fix typos in comments on functions, use imperative 2026-03-23 20:45:36 +01:00
Sébastien Helleu d34eb40187 core: set max curl version to 8.20.0 for RTMP symbols
rtmp support has been dropped in curl, see:
https://github.com/curl/curl/commit/ceae02db040de3cf7ae4c3f8ec99e8286b568c2e
2026-03-21 17:59:48 +01:00
Sébastien Helleu 2cbbb677f3 core: replace "motdepasse" by "mot_de_passe" in French translations and docs 2026-03-21 17:30:12 +01:00
Sébastien Helleu f7267bc992 core: replace "mypassword" by "my_password" in /help secure 2026-03-21 17:27:02 +01:00
Sébastien Helleu 147d5b3f88 core: replace "mynick" by "andrew" in /help secure 2026-03-21 17:22:20 +01:00
Sébastien Helleu da4881959e core: replace "proxyname" by "proxy_name" in /help proxy 2026-03-21 13:28:38 +01:00
Sébastien Helleu 5e963c7546 core: replace "barname" by "bar_name" in /help bar 2026-03-21 13:23:55 +01:00
Sébastien Helleu 41d8e06394 ci: fix branch for Homebrew/actions/setup-homebrew 2026-03-21 12:01:08 +01:00
Sébastien Helleu 52d1245bad ci: bump actions/checkout to v6 2026-03-21 11:46:30 +01:00
Sébastien Helleu 961dc515a0 ci: add new job "checks" to check gettext files, shell and Python scripts, Python stub file and Curl symbols 2026-03-21 11:44:24 +01:00
Sébastien Helleu 73ec7c0641 ci: reorder and rename jobs 2026-03-21 11:28:11 +01:00
Sébastien Helleu c60a5fde14 ci: remove temporary fix for brew install 2026-03-21 10:15:14 +01:00
Eli Schwartz 0bbae498c9 python: fix archaic and soft-deprecated use of raw cmake vars
In commit 9a9a262ea1 we moved from
pkg-config to find_package() to work around a deficiency in the pkgsrc
package manager, which does not ship pkg-config files as intended by
CPython.

Modern CMake discourages use of "FOO_LIBRARIES" in all cases, when
imported "interface" libraries can and should be used instead. The meson
equivalent is `dependency()` versus `cc.find_library()`, so this is
certainly a general trend among modern build systems.

An imported interface target, such as the previous PkgConfig::PYTHON,
carries with it the various internal properties such as DEFINITIONS,
INCLUDE_DIRS, or LIBRARIES, and batch applies them. It also avoids
leaking across cmake 2.x style whole-directory scopes.

Use the documented cmake imported interface target for embedding Python
and avoid `add_definitions(${Python_DEFINITIONS})` and similar. As a
bonus, it's also shorter and more concise.

Fixes: 9a9a262ea1
Fixes: https://github.com/weechat/weechat/pull/2251
Signed-off-by: Eli Schwartz <eschwartz@gentoo.org>
2026-03-21 08:53:48 +01:00
Eli Schwartz 4c79e870af python: fix broken usage of FindPython.cmake breaking python selection
In commit 9a9a262ea1 we moved from
pkg-config to find_package() to work around a deficiency in the pkgsrc
package manager, which does not ship pkg-config files as intended by
CPython. In the process, Gentoo and other platforms that, unlike pkgsrc,
publicly support multiple versions of python installed in parallel, had
python version selection broken. Consequently, weechat linked to the
wrong python, which happened to be installed in build chroots but was
not the versioned python package that the weechat package listed as a
dependency. Attempting to install weechat then broke on some systems
(which installed one version of python as a dependency but actually
linked to a totally different one).

This happens due to a design bug in upstream CMake. It is never
conceptually reasonable to use

```
find_package(Python COMPONENTS ...)
```

and omit the "Interpreter" component; if you do, CMake will ignore its
own documentation on how to control the build to use a specific python,
and choose one randomly (== "latest version available"). If, and only
if, the Interpreter component is checked, the development headers /
libraries for python will be guaranteed consistent with the documented
lookup variables from FindPython.cmake's documentation.

Bug: https://bugs.gentoo.org/968814
Fixes: 9a9a262ea1
Fixes: https://github.com/weechat/weechat/pull/2251
Signed-off-by: Eli Schwartz <eschwartz@gentoo.org>
2026-03-21 08:29:54 +01:00
weechatter dc4df8b9aa core: update German translations 2026-03-19 11:10:26 +01:00
Sébastien Helleu 6bc11571b5 xfer: evaluate option xfer.network.own_ip 2026-03-18 18:26:06 +01:00
Sébastien Helleu d1b71a8562 core: fix typo in German translation 2026-03-17 23:26:27 +01:00
weechatter 19a6591410 core: update German translations 2026-03-17 16:28:04 +01:00
Sébastien Helleu 25e0809c55 doc/user: fix French translation of title 2026-03-16 21:20:51 +01:00
Sébastien Helleu e8d0399623 irc: fix translations of /help irc.look.list_buffer_sort 2026-03-16 13:23:52 +01:00
Sébastien Helleu c41d73e417 irc: fix typo on field name in /help irc.look.list_buffer_sort 2026-03-16 13:16:44 +01:00
Sébastien Helleu 1532efea6d core: fix style in ChangeLog 2026-03-14 00:12:17 +01:00
Sébastien Helleu 9bf2d51493 core: add option -e to evaluate all commands before executing them in command /eval 2026-03-14 00:03:27 +01:00
Sébastien Helleu 27ae6ca789 core: fix crash with /eval when the current buffer is closed in a command 2026-03-13 23:11:00 +01:00
Sébastien Helleu 916c59d8f0 doc/faq: fix key to search text in current buffer
Since WeeChat 4.2.0, Ctrl+r has been replaced by Ctrl+s.
2026-03-13 21:57:12 +01:00
Sébastien Helleu 37bdf6586b core: remove extra pipe in German translation 2026-03-12 20:38:54 +01:00
Sébastien Helleu 13e9381e19 core: fix typo in French translation: "repertoire" -> "répertoire" 2026-03-12 20:31:40 +01:00
Sébastien Helleu b94e4af67e core: fix typo in French translation: "attentus" -> "attendus" 2026-03-12 20:29:51 +01:00
Sébastien Helleu 431d9ad64a irc: fix typo: "acknowledgement" -> "acknowledgment" 2026-03-12 20:26:22 +01:00
Sébastien Helleu f5bbe35cfb irc, relay: replace "cancelled" by "canceled" in auto-reconnection message 2026-03-12 20:24:53 +01:00
Sébastien Helleu b82ce33c6c core: fix quotes in upgrade error message 2026-03-12 20:16:49 +01:00
Sébastien Helleu 87a683ebdb typing: add option typing.look.item_text (closes #2305) 2026-03-09 23:58:11 +01:00
Sébastien Helleu f048ea9eac relay: add missing info in French translation of /help relay 2026-03-09 23:31:19 +01:00
Sébastien Helleu fc0fb05ec0 irc: add missing angle brackets in French translation of /help cycle and /help part 2026-03-09 23:28:26 +01:00
Sébastien Helleu 835e0b9549 irc: replace simple by double quotes in French translation of /help server 2026-03-09 23:25:56 +01:00
Sébastien Helleu 507f172dae fset: fix French help on parameter "-format" in /help fset 2026-03-09 23:24:39 +01:00
Sébastien Helleu fc595afd08 irc: add missing double quotes in French error message 2026-03-09 23:21:54 +01:00
Sébastien Helleu 2f5305dc82 core: fix French translation of /help upgrade 2026-03-09 23:17:21 +01:00
Sébastien Helleu 9f2b9c4ea9 core: fix double quote in French output of /sys get rlimit 2026-03-09 23:15:11 +01:00
Sébastien Helleu aea8421e49 core: add missing "(by default)" in French translation of /help weechat.look.buffer_position 2026-03-09 23:11:09 +01:00
Sébastien Helleu 81834c45ae core: add missing "raw" parameter in French translation of /help window 2026-03-09 23:07:03 +01:00
Sébastien Helleu 01d2887b13 core: replace ellipsis by "etc." in /help secure 2026-03-09 23:01:29 +01:00
Sébastien Helleu 8b30d9a7d7 core: add missing double quotes in French translation of /help secure 2026-03-09 22:59:02 +01:00
Sébastien Helleu 92327871d2 core: add missing info in French translation of /help secure 2026-03-09 22:57:17 +01:00
Sébastien Helleu b2556f99f4 core: add missing key context "default" in French translations 2026-03-09 22:54:48 +01:00
Sébastien Helleu ec6372f4df core: add missing double quote in /help hotlist 2026-03-09 22:51:20 +01:00
Sébastien Helleu abb74ac178 core: add missing double quote in French translation of /help buffer 2026-03-09 22:47:46 +01:00
Sébastien Helleu 71329fd595 core: remove double quotes around buffer number in error message 2026-03-09 22:45:30 +01:00
Sébastien Helleu 106fe6ca7c core: update copyright dates 2026-03-08 10:37:15 +01:00
Sébastien Helleu 630f2e2e7c core: translate command line options separately in output of weechat --help 2026-03-08 09:10:29 +01:00
Sébastien Helleu eb0b01f62a core: move functions on command-line arguments to a separate source 2026-03-07 12:47:11 +01:00
Sébastien Helleu fb00b7055c core: add "noqa" on Japanese translation reusing multiple times the same format string 2026-03-07 09:09:11 +01:00
Sébastien Helleu 58b1f5c62b core: add "noqa" on Polish translations where extra backslashes are used 2026-03-07 09:08:37 +01:00
Sébastien Helleu d663070b02 core: fix punctuation errors in translations 2026-03-07 08:56:19 +01:00
Sébastien Helleu 8ff7d63744 core: fix "noqa" markers in Turkish translations 2026-03-07 08:55:27 +01:00
Sébastien Helleu 5eb3bca47b core: add version 4.8.2 2026-03-07 08:19:52 +01:00
Sébastien Helleu d0478bdc04 core: update copyright date 2026-03-07 00:02:34 +01:00
Krzysztof Korościk d7fc65e282 doc: updated Polish translation 2026-03-06 21:56:05 +01:00
Krzysztof Korościk 0d737349be core: updated Polish translation 2026-03-04 23:50:47 +01:00
Sébastien Helleu dc94251b33 core: disable "fuzzing" phase in schemathesis config 2026-02-21 21:40:58 +01:00
Sébastien Helleu 306155aa48 relay/api: fix memory leak in receive of message from remote WeeChat 2026-02-16 18:57:14 +01:00
Sébastien Helleu 238f8cbc7e relay/api: fix memory leaks in resources "ping" and "sync" 2026-02-16 18:33:03 +01:00
Sébastien Helleu fa043644cb core: add missing pipes in translations 2026-02-09 21:37:22 +01:00
Sébastien Helleu e06b3c1d7e core: add missing closing parenthesis in /help buflist 2026-02-07 22:09:16 +01:00
Sébastien Helleu 5b052532ec core: remove double spaces in translations 2026-02-07 21:55:49 +01:00
Sébastien Helleu 18bce9e8c4 core: remove trailing backslash in German translation of /help buflist.look.add_newline 2026-02-04 23:06:22 +01:00
Sébastien Helleu 886042a875 core: replace real tab by \t in German translation of /help filter
This was causing a display issue because the tab char is used to separate
prefix from message.
2026-02-04 23:05:00 +01:00
Sébastien Helleu fca4ee28e0 core: update German translations 2026-02-04 23:00:48 +01:00
Emil Velikov 7c37eced93 cmake: plugins: remove no longer used include()s
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
2026-02-04 22:21:26 +01:00
Emil Velikov a413d16038 cmake: plugins: simplify dependency handling
Move the requirement checks within the respective plugin cmakefile.
Use REQUIRED instead of the manual FOUND check and error handling.

Note: the tcl check was only moved, since using REQUIRED  explodes in
CI.

Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
2026-02-04 22:21:26 +01:00
Emil Velikov 440907e1cd cmake: simplify tests handling
Move the requirement checking and the dummy test where they are used.
Use REQUIRED instead of the manual FOUND check and error handling.

Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
2026-02-04 22:21:26 +01:00
Emil Velikov cb08473bdc cmake: remove explicit fPIC handling
With CMP0083 introduced with cmake 3.14, as we set the variable
CMAKE_POSITION_INDEPENDENT_CODE we can rely on the build system to do
the correct thing, across all the targets.

Since we require 3.18 (or 3.16 in the patched Debian/Ubuntu version),
which sets the policy to NEW we're all set.

Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
2026-02-04 22:21:26 +01:00
Emil Velikov 71ef7e286c cmake: remove implicitly enabled cmake policy handling
Whenever cmake_minimum_required() is used, all the policies available in
the specified version are toggled to NEW. Thus we no longer need to
manually change them.

The highest policy - CMP0017 - has been around circa cmake 2.8.4, while
we require 3.x.

Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
2026-02-04 22:21:26 +01:00
Emil Velikov 2a234b3bfe cmake: reuse CMAKE_DL_LIBS
The token has been available since cmake 3.0 (at least), so might as
well use it instead of our ad-hoc check.

Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
2026-02-04 22:21:26 +01:00
Emil Velikov 6442b938eb cmake: move zstd/cjson include handling
Move the respective include_directories() stansas to the top-level
cmakefile. While this technically adds them to targets where they are
not needed, there is no harm is having them.

This maskes the find_dependency/use_includes/use_libs more consistent
across the board and helps it stand out where it's forgotten. Fixes for
which will be coming at a later date.

Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
2026-02-04 22:21:26 +01:00
Emil Velikov c8d2b4448a cmake: inline a few variables as needed
Avoid creating/appending variables and effectively deviating from the
style used across the project.

Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
2026-02-04 22:21:26 +01:00
Emil Velikov 3918efd8e9 cmake: remove CMAKE_REQUIRED_* instances
The tcl ones has not been required for over a decade since commit
ffdba5b24 ("Remove check of Tcl_CreateNamespace in cmake build (not used
any more) (bug #27119)").

While the top-level one, with the EXTRA_LIBS reshuffle/consolidation a
few commits ago.

Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
2026-02-04 22:21:26 +01:00
Emil Velikov 4decd2c386 cmake: remove Darwin/resolv quirks
Since commit e98a32373 ("core: check if res_init requires linking with
libresolv") we detect if/when we should be linking against libresolv.

The detection seems a bit clunky (to me), although it's better to keep
things consolidated/consistent across tree. Swap the Darwin checks with
the new token LIBRESOLV_HAS_RES_INIT.

Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
2026-02-04 22:21:26 +01:00
Emil Velikov 323ab8810e cmake: consolidate non-linux library handling
Move the handling to the top-level, adding it _once_ to EXTRA_LIBS.
Thus avoiding some duplication across the board.

Note that final handling varies a bit, namely:
 - OpenBSD/intl should be handled via the existing cmake/FindGettext.cmake
 - Darwin/resolv should not be needed since commit e98a32373 ("core: check
   if res_init requires linking with libresolv")
 - the backtrace/execinfo handling has been consolidated and moved

In the unlikely case of unwanted over-linking, the platforms can add
`-Wl,--as-needed` to their linker flags. Something which is strongly
encouraged and has been the default across multiple (linux) distros for
years.

Alternatively, if move quirks are needed they should be handled in a
single place.

Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
2026-02-04 22:21:26 +01:00
Emil Velikov fc6003c74e cmake: consolidate libm library handling
Move the handling to the top-level, adding it _once_ to EXTRA_LIBS.
Thus avoiding some duplication across the board.

This change technically adds an extra link for the unit tests, which
seemingly was omitted by mistake. Alternatively, the extra over-linking
won't be an issue in practise.

Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
2026-02-04 22:21:26 +01:00
Emil Velikov ae54c3ef65 cmake: consolidate iconv/gettext library handling
Move the handling to the top-level, adding it _once_ to EXTRA_LIBS.
Thus avoiding some duplication across the board.

Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
2026-02-04 22:21:25 +01:00
Emil Velikov b38c00bb0d cmake: consolidate zlib/zstd library handling
Move the handling to the top-level, adding it _once_ to EXTRA_LIBS.
Thus avoiding some duplication across the board.

Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
2026-02-04 22:21:25 +01:00
Emil Velikov 20a7affb70 cmake: remove unnecessary add_dependencies()
In a handful of places we explicitly use add_dependencies() where the
exact same libraries are also (implicitly) added as dependencies via
target_link_libraries().

Remove the folder, which helps us remove some duplication with follow-up
patches.

Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
2026-02-04 22:21:25 +01:00
Ivan Pešić 150e6ecd82 core: update Serbian translation 2026-02-03 13:46:22 +01:00
weechatter 87ef578ad2 core: update German translations 2026-02-03 10:59:40 +01:00
Sébastien Helleu ef5f197a4a irc: fix unit of server option anti_flood from seconds to milliseconds in output of /server listfull 2026-01-30 13:49:23 +01:00
Sébastien Helleu 250db946b0 core: fix typos in French translation of /help weechat.look.hotlist_add_conditions 2026-01-21 21:23:02 +01:00
Sébastien Helleu f0160bf5ab core: add missing context in English message when a key is added with /key missing 2026-01-21 20:53:25 +01:00
Sébastien Helleu 7d51a1331b core: fix typos in /help allchan, /help allpv and /help allserv 2026-01-21 20:38:37 +01:00
Sébastien Helleu 22b335ce86 core: fix typo in /help help 2026-01-21 20:28:07 +01:00
Sébastien Helleu f26f73f283 core: fix line wrapping in German translations 2026-01-21 20:24:55 +01:00
Sébastien Helleu 323c9e2bfe core: remove obsolete comments in Polish translations 2026-01-21 20:24:42 +01:00
Sébastien Helleu 894df0e9e6 core: fix typo in French translation of /help remote 2026-01-19 23:56:32 +01:00
Sébastien Helleu ead76532de core: fix typo in French and Polish translations of /help exec 2026-01-19 23:54:10 +01:00
Sébastien Helleu da2f506f2e core: fix typo in French and Serbian translations of /help plugin 2026-01-19 23:46:46 +01:00
Sébastien Helleu e42e811c95 core: fix typo in French translation of /help filter 2026-01-19 23:39:16 +01:00
Sébastien Helleu 889450fb31 core: fix typos in translations of /help buffer 2026-01-16 13:41:30 +01:00
Ivan Pešić 3c11e09c30 core/doc: update Serbian translation 2026-01-16 13:39:36 +01:00
Sébastien Helleu 616daecdd0 core: fix typos in French translations 2025-12-21 12:07:50 +01:00
Sébastien Helleu 9b4fd66de7 irc: ignore self join if the channel is already joined (closes #2291)
There is an issue with some IRC servers that may send a JOIN with self nick
once already on the channel, this results in a clear of the nicklist on the
second JOIN received.

This fix silently ignores the second self JOIN if the channel is already
joined (with at least one nick).
2025-12-14 14:29:47 +01:00
Sébastien Helleu b42f7a400e ci: remove useless install of msgcheck in CodeQL analysis 2025-12-07 16:24:14 +01:00
Sébastien Helleu 9e814860ae ci: switch from bandit/flake8/pylint to ruff in CI for Python scripts 2025-12-07 16:24:14 +01:00
Sébastien Helleu a2a71b4d33 tests: improve concatenation of Python lists 2025-12-07 09:37:40 +01:00
weechatter 7d6b8f6943 core: update German translations 2025-12-06 00:33:30 +01:00
Krzysztof Korościk 3b4a5bbb09 core: updated Polish translation 2025-12-02 21:49:13 +01:00
Krzysztof Korościk 58b7ec59e9 core: updated Polish translation 2025-12-02 00:59:57 +01:00
Sébastien Helleu 518b9ab381 core: add version 4.8.1 2025-12-01 20:17:07 +01:00
Sébastien Helleu a9e48d33c6 core: add IRC SASL EXTERNAL in upgrade guidelines for version 4.8.0 2025-12-01 18:01:33 +01:00
Sébastien Helleu 1ff001994c irc: fix creation of irc.msgbuffer option without a server name
The regression was introduced by commit
1b669cd13c, which allowed a server name with
upper case but rejected a name or alias with upper case.

This commit fixed the creation of the option when the server name is not given,
so this command works again:

  /set irc.msgbuffer.whois current
2025-12-01 07:48:58 +01:00
Sébastien Helleu 234a37df6f ci: add build with type "Release" and gcc hardened options in matrix 2025-11-30 13:53:44 +01:00
Sébastien Helleu 6bcc6ef65f core: update ChangeLog (issue #2289) 2025-11-30 13:34:05 +01:00
Sébastien Helleu d5e6c94246 core: fix compiler warning on possible buffer overflow in function util_parse_time (closes #2289) 2025-11-30 11:21:42 +01:00
Sébastien Helleu 63b6dee311 core: fix order of sections in ChangeLog 2025-11-30 09:16:42 +01:00
Sébastien Helleu 34697cf5ce Version 4.9.0-dev 2025-11-30 09:11:53 +01:00
414 changed files with 13625 additions and 12005 deletions
+142 -123
View File
@@ -11,6 +11,14 @@ on:
- cron: '22 9 * * 2'
env:
CHECK_DEPS_UBUNTU: >-
curl
gettext
hunspell
hunspell-en-us
hunspell-fr
pipx
shellcheck
WEECHAT_DEPS_UBUNTU: >-
asciidoctor
build-essential
@@ -18,7 +26,6 @@ env:
curl
devscripts
equivs
flake8
gem2deb
guile-3.0-dev
lcov
@@ -40,11 +47,8 @@ env:
php-dev
pipx
pkgconf
pylint
python3-bandit
python3-dev
ruby-pygments.rb
shellcheck
tcl8.6-dev
zlib1g-dev
WEECHAT_DEPS_ROCKYLINUX: >-
@@ -98,10 +102,53 @@ env:
sudo
tcl86
zstd
WEECHAT_DEPS_MACOS: >-
asciidoctor
aspell
cjson
guile
lua
pkg-config
ruby
jobs:
tests_ubuntu:
checks:
strategy:
matrix:
os:
- ubuntu-24.04
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v6
- name: Install dependencies
run: |
sudo apt-get update -qq
sudo apt-get --yes --no-install-recommends install ${{ env.CHECK_DEPS_UBUNTU }}
pipx install msgcheck ruff
cargo install --version 0.0.8 poexam
- name: Check gettext files (msgcheck)
run: msgcheck po/*.po
- name: Check gettext files (poexam)
run: poexam check --file-stats --rule-stats
- name: Check shell and Python scripts
run: ./tools/check_scripts.sh
- name: Check Python stub file
run: ./tools/generate_python_stub.py | diff src/plugins/python/weechat.pyi -
- name: Check Curl symbols
run: curl --silent --show-error --fail --retry 10 https://raw.githubusercontent.com/curl/curl/master/docs/libcurl/symbols-in-versions | ./tools/check_curl_symbols.py
install:
strategy:
matrix:
@@ -145,12 +192,12 @@ jobs:
cxx: "clang++"
buildargs: "-DENABLE_CODE_COVERAGE=ON -DENABLE_FUZZ=ON"
name: "${{ matrix.os }} (${{ matrix.config.name }})"
name: "install (${{ matrix.os }}, ${{ matrix.config.name }})"
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6
- name: Install dependencies
run: |
@@ -158,19 +205,7 @@ jobs:
sudo apt-get --yes --no-install-recommends install ${{ env.WEECHAT_DEPS_UBUNTU }}
# uninstall php imagick as is causes a crash when loading php plugin (see #2009)
sudo apt-get --yes purge php8.3-imagick
pipx install msgcheck schemathesis
- name: Check gettext files
run: msgcheck po/*.po
- name: Check shell and Python scripts
run: ./tools/check_scripts.sh
- name: Check Python stub file
run: ./tools/generate_python_stub.py | diff src/plugins/python/weechat.pyi -
- name: Check Curl symbols
run: curl --silent --show-error --fail --retry 10 https://raw.githubusercontent.com/curl/curl/master/docs/libcurl/symbols-in-versions | ./tools/check_curl_symbols.py
pipx install schemathesis
- name: Build and run tests
env:
@@ -218,86 +253,7 @@ jobs:
lcov --list coverage.info
bash <(curl -s https://codecov.io/bash) -f coverage.info || echo 'Codecov error'
build_debian:
strategy:
matrix:
os:
- ubuntu-24.04
name: "${{ matrix.os }} (build Debian)"
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- name: Install dependencies
run: |
sudo apt-get update -qq
sudo apt-get --yes --no-install-recommends install ${{ env.WEECHAT_DEPS_UBUNTU }}
- name: Test Debian patches
run: ./tools/build_debian.sh test-patches
- name: Build Debian packages
run: ./tools/build_debian.sh devel ubuntu/noble
- name: Install Debian packages
run: sudo dpkg -i ../weechat-devel*.deb
- name: Run WeeChat
env:
TERM: xterm-256color
run: |
weechat --help
weechat-curses --help
weechat --version
weechat --build-info
weechat --run-command "/debug dirs;/debug libs" --run-command "/quit"
codeql-analysis:
strategy:
matrix:
os:
- ubuntu-24.04
name: "${{ matrix.os }} (CodeQL)"
runs-on: ${{ matrix.os }}
permissions:
actions: read
contents: read
security-events: write
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install dependencies
run: |
sudo apt-get update -qq
sudo apt-get --yes --no-install-recommends install ${{ env.WEECHAT_DEPS_UBUNTU }}
# uninstall php imagick as is causes a crash when loading php plugin (see #2009)
sudo apt-get --yes purge php8.3-imagick
pipx install msgcheck
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
with:
languages: cpp
- name: Autobuild
uses: github/codeql-action/autobuild@v3
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3
with:
category: "/language:cpp"
tests_rockylinux:
install_rockylinux:
strategy:
matrix:
@@ -313,14 +269,14 @@ jobs:
cxx: "clang++"
buildargs: "-DENABLE_MAN=ON -DENABLE_DOC=ON -DENABLE_TESTS=ON -DENABLE_CODE_COVERAGE=ON -DENABLE_FUZZ=ON"
name: "rockylinux-9 (${{ matrix.config.name }})"
name: "install (rockylinux:9, ${{ matrix.config.name }})"
runs-on: ${{ matrix.os }}
container:
image: rockylinux:9
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6
- name: Install dependencies
run: |
@@ -346,7 +302,7 @@ jobs:
weechat --license
weechat --run-command "/debug dirs;/debug libs" --run-command "/quit"
tests_freebsd:
install_freebsd:
strategy:
matrix:
@@ -362,12 +318,12 @@ jobs:
cxx: "clang++"
buildargs: "-DENABLE_MAN=ON -DENABLE_DOC=ON -DENABLE_TESTS=ON -DENABLE_CODE_COVERAGE=ON -DENABLE_FUZZ=ON"
name: "freebsd-14 (${{ matrix.config.name }})"
name: "install (freebsd, ${{ matrix.config.name }})"
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6
- name: Install dependencies, build and run tests, run WeeChat
uses: vmactions/freebsd-vm@v1
@@ -389,7 +345,7 @@ jobs:
weechat --license
weechat --run-command "/debug dirs;/debug libs" --run-command "/quit"
tests_macos:
install_macos:
strategy:
matrix:
@@ -405,34 +361,21 @@ jobs:
cxx: "clang++"
buildargs: "-DENABLE_MAN=ON -DENABLE_DOC=ON -DENABLE_DOC_INCOMPLETE=ON -DENABLE_PHP=OFF -DENABLE_TESTS=OFF"
name: "${{ matrix.os }} (${{ matrix.config.name }})"
name: "install (${{ matrix.os }}, ${{ matrix.config.name }})"
runs-on: ${{ matrix.os }}
steps:
- name: Setup Homebrew
id: setup-homebrew
uses: Homebrew/actions/setup-homebrew@master
uses: Homebrew/actions/setup-homebrew@main
- name: Install dependencies
run: |
brew update
# temporary fix, see: https://github.com/actions/setup-python/issues/577
rm -f \
/usr/local/bin/2to3 \
/usr/local/bin/idle3 \
/usr/local/bin/pydoc3 \
/usr/local/bin/python3 \
/usr/local/bin/python3-config \
/usr/local/bin/2to3-3.11 \
/usr/local/bin/idle3.11 \
/usr/local/bin/pydoc3.11 \
/usr/local/bin/python3.11 \
/usr/local/bin/python3.11-config \
;
brew install asciidoctor aspell cjson guile lua pkg-config ruby
brew install ${{ env.WEECHAT_DEPS_MACOS }}
- uses: actions/checkout@v4
- uses: actions/checkout@v6
- name: Build
env:
@@ -453,3 +396,79 @@ jobs:
weechat --colors
weechat --license
weechat --run-command "/debug dirs;/debug libs" --run-command "/quit"
build_debian:
strategy:
matrix:
os:
- ubuntu-24.04
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v6
- name: Install dependencies
run: |
sudo apt-get update -qq
sudo apt-get --yes --no-install-recommends install ${{ env.WEECHAT_DEPS_UBUNTU }}
- name: Test Debian patches
run: ./tools/build_debian.sh test-patches
- name: Build Debian packages
run: ./tools/build_debian.sh devel ubuntu/noble
- name: Install Debian packages
run: sudo dpkg -i ../weechat-devel*.deb
- name: Run WeeChat
env:
TERM: xterm-256color
run: |
weechat --help
weechat-curses --help
weechat --version
weechat --build-info
weechat --run-command "/debug dirs;/debug libs" --run-command "/quit"
codeql_analysis:
strategy:
matrix:
os:
- ubuntu-24.04
runs-on: ${{ matrix.os }}
permissions:
actions: read
contents: read
security-events: write
steps:
- name: Checkout repository
uses: actions/checkout@v6
- name: Install dependencies
run: |
sudo apt-get update -qq
sudo apt-get --yes --no-install-recommends install ${{ env.WEECHAT_DEPS_UBUNTU }}
# uninstall php imagick as is causes a crash when loading php plugin (see #2009)
sudo apt-get --yes purge php8.3-imagick
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
with:
languages: cpp
- name: Autobuild
uses: github/codeql-action/autobuild@v3
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3
with:
category: "/language:cpp"
+1 -1
View File
@@ -16,7 +16,7 @@ jobs:
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6
- name: REUSE Compliance Check
uses: fsfe/reuse-action@v4
+281
View File
@@ -0,0 +1,281 @@
Atheme
Autojoin
Charset
Diffie-Hellman
Esc
FlashCode
GnuTLS
Hashtable
Helleu
IPs
Sébastien
WeeChat
Xfer
abc
ack
acks
addcompletion
addinput
addoff
addraw
addreplace
addreplacecompletion
addword
algo
allchan
allpv
alnum
andrew
ansi
api
args
argsN
aspell
autoconnect
autojoin
autoload
autoloaded
autoreconnect
autorejoin
bg
bindctxt
bitlbee
bkl
blocksize
bool
buflist
cJSON
calc
ccc
charset
charsets
chghost
chmod
cleartext
clientinfo
cmd
codepoint
concat
cond
config
crypted
ctcp
ctrl
ctrl-
ctrl-c
ctrl-h
ctrl-n
ctrl-x
ctrl-y
cutscr
cxx
darkgray
deinit
deldict
deloutq
delvar
dhkey
dirs
dlclose
eg
enum
enums
env
esc
eval
fd
ffff
fg
fifo
flashcode
flashtux
freebsd
fset
fsync
gcrypt
getrlimit
getrusage
gnutls
grayscale
gui
gzip
halfop
halfops
hashtable
hdata
hh
horiz
hostname
hostnames
hotlist
hsignal
http
https
hup
ident
ie
il
inclose
infolist
infolists
infos
installremove
irc
ison
javascript
json
kf
kickban
killall
lengthscr
libera
libgcrypt
libs
lightblue
lightcyan
lightgreen
lightmagenta
lightred
linux
listdefault
listdict
listdiff
listfull
listitems
listrelay
listvar
lua
mallinfo
malloc
mirc
modelist
msg
msgN
msgbuffer
multiline
ncurses
newbuffer
nf
nickbot
nicklist
nickserv
nl
noautoload
nobg
nocl
noflush
nohelp
nojoin
noln
nonblock
nooption
norc
nostdin
nosw
noswitch
notls
num
oc
oerr
oftc
ok
ol
osinfo
outqueue
ovh
paramN
params
perl
permessage-deflate
pgdn
pgup
pid
prev
privmsg
ptr
pv
py
quickstart
rc
realname
recv
reinitializing
reop
resetall
resetctxt
revindex
revscr
rgb
rlimit
rusage
rw-rw-r--
sasl
setauto
setdict
setname
setnew
setrlimit
setvar
signon
skipempty
sockaddr
splith
splitv
stderr
stdin
stdout
strcasecmp
strftime
strftimeval
strlen
sublist
subplugin
sw
sys
tThe
tcl
tg
tls
tlscertkey
toggleautoload
togglecmd
toto
totp
truncature
un
unalias
unban
unbindctxt
undef
unescaped
unhide
unhold
unicode
unix
unmark
unmerge
unzoom
uptime
url
urlserver
usec
userhost-in-names
usr
util
valgrind
versiongit
waitpid
wcswidth
wctype
wcwidth
websocket
websockets
weechat
whois
www
xdigit
xfer
xyz
yy
zlib
zstd
+611
View File
@@ -0,0 +1,611 @@
Atheme
Autojoin
Curl
Curses
Debug
Dec
Diffie-Hellman
Filter
FlashCode
GnuTLS
Guile
Helleu
IPs
Lag
Ping
Protocol
Relay
Remote
Reop
Tab
Trigger
Triggers
Typing
URLs
Wallops
WeeChat
Xfer
account
account-
account-notify
account-tag
ack
acks
add
addcompletion
addinput
addoff
addraw
addreplace
addreplacecompletion
addresse
addword
align
all
allchan
allow
allowed
allpv
alnum
alt
alt-c
alt-k
alt-s
alt-v
alt-z
andrew
ansi
apply
area
args
argsN
aspell
attributes
auth
autoconnect
autojoin
autoload
autorejoin
away
away-notify
backspace
bare
bash
beep
before
beginning
beyond
bg
bin
bind
bindctxt
bitlbee
bkl
blue
bold
bool
boolean
both
bottom
bracketed
brown
buflist
cJSON
calc
callbacks
cap-notify
capabilities
capability
ccc
cert
certs
changed
channel
charset
charsets
check
chghost
chmod
cipher
clear
clientinfo
clipboard
cmd
color
colors
command
commands
complete
completion
concat
cond
confirm
connect
connected
connecting
control
copy
core
count
crypt
ctcp
ctrl
ctrl-
ctrl-c
ctrl-h
ctrl-n
ctrl-x
ctrl-y
curl
current
cursor
cut
cutscr
cxx
d'ignore
d'infolist
daemon
darkgray
days
debug
decode
decrypt
default
define
deinit
del
deldict
delete
deloutq
delvar
desc
describe
dhkey
dict
diff
dim
dir
dirs
disable
discard
disconnect
disconnected
display
displayed
dlclose
doc-gen
down
download
draft
dummy
dump
eat
echo-message
edge
emphasized
empty
enable
enabled
end
enum
error
esc
eval
example
exclude
exec
extended-join
external
exts
fail
failed
fast
fd
ffff
fifo
filter
fingerprint
first
flashcode
flashtux
foo
formatted
free
freebsd
fset
fsync
gcrypt
get
getrlimit
getrusage
ghost
giga-octets
git
glitch
gnutls
grab
group
gzip
halfop
halfops
handshake
hash
hashtable
hdata
he
headless
help
here
hexa
hh
hidden
hide
highest
highlight
highlights
history
hold
hook
hooks
horiz
host
hotlist
hsignal
hup
ident
identify
ids
ignored
inclose
include
indent
infolist
infolistes
infolists
init
install
installremove
int
integer
interval
invite-notify
irc
ison
iterations
javascript
join
json
jump
keep
key
keys
kf
kickban
kill
killall
l'autojoin
l'id
lag
last
layout
leave
left
legacy
length
lengthscr
level
lib
libera
libgcrypt
libs
lightblue
lightcyan
lightgreen
lightmagenta
lightred
limit
line
lines
linux
list
listdefault
listdict
listdiff
listen
listfull
listitems
listrelay
listvar
load
logger
loggers
lower
lowest
ls
lua
mallinfo
malloc
marked
mask
memory
merge
merged
meta
meta-
method
mirc
missing
modified
mouse
move
msg
msgN
msgbuffer
multi-prefix
multiline
my
n-
name
names
ncurses
near
network
newbuffer
newline
next
nf
nick
nickbot
nicklist
nicks
nickserv
no-connect
noautoload
nobg
nocl
noflush
nohelp
nojoin
noln
nonblock
nooption
norc
nosh
nostdin
nosw
noswitch
notify
notls
null
num
number
numeric
object
oerr
of
offline
oftc
ok
ol
ops
osinfo
ovh
paramN
params
parted
pass
passphrase
password
password-store
paste
path
paused
pct
pending
perl
permessage-deflate
pgdn
pgup
pid
ping
pong
pos
prefix
prev
previous
print
priority
private
privmsg
property
ptr
py
quit
quoted
rafraichie
rafraichir
rafraichissement
random
raw
rc
realname
reconnect
recreate
recv
red
redirected
redo
refresh
regex
register
relay
reload
remote
remove
rename
renumber
reorder
rep
repeat
reply
req
reset
resetall
resetctxt
resize
restart
restore
return
rev
revindex
revscr
rgb
right
rlimit
root
ruby
run
run-command
runtime
rusage
rw-rw-r--
réinit
safe
sasl
save
scheme
screen
scroll
search
secure
selected
send
server
server-time
setauto
setdict
setname
setnew
setrlimit
setvar
sh
share
shift
shift-
shift-Tab
size
skipempty
sockaddr
sorted
space
speaking
spell
split
splith
splitv
ss
start
status
stderr
stdin
stdout
str
strcasecmp
strftime
strftimeval
strip
strlen
sucks
suffix
suggest
sum
sw
switch
sys
tLe
tab
target
tcl
term
text
tg
time
timeout
timer
tiny
title
tls
tlscertkey
to
toggle
toggleautoload
togglecmd
topic
totp
trigger
triggers
trim
typing
téra-octets
unalias
unavailable
unban
unbind
unbindctxt
undef
undo
unhide
unicode
unix
unload
unmerge
unread
unset
up
update
upper
url
urlserver
usec
userhost-in-names
username
users
usr
util
valer
verbose
verify
versiongit
visited
voice
wait
waiting
waitpid
wallops
wcswidth
wctype
wcwidth
websocket
websockets
weechat
where
white
whitespace
whois
width
window
windows
without
word
words
xdigit
xfer
xxx
xyz
yellow
yes
yy
zero
zlib
zstd
Échap
+18
View File
@@ -0,0 +1,18 @@
# SPDX-FileCopyrightText: 2026 Sébastien Helleu <flashcode@flashtux.org>
#
# SPDX-License-Identifier: GPL-3.0-or-later
[check]
select = [
"checks",
]
ignore = [
"brackets",
"double-quotes",
"unchanged",
]
path_words = "."
langs = [
"en_US",
"fr",
]
+17 -1
View File
@@ -6,11 +6,27 @@ SPDX-License-Identifier: GPL-3.0-or-later
# WeeChat ChangeLog
## Version 4.8.3 (under dev)
## Version 4.9.0 (2026-03-29)
### Changed
- core: add option `-e` to evaluate all commands before executing them in command `/eval`
- xfer: evaluate option xfer.network.own_ip
### Added
- typing: add option typing.look.item_text ([#2305](https://github.com/weechat/weechat/issues/2305))
### Fixed
- core: fix crash with `/eval` when the current buffer is closed in a command
- core: fix buffer size in function util_parse_time, causing buffer overflow error in unit tests
- irc: fix display of CTCP query sent multiple times to the same user when capability echo-message is enabled ([#2309](https://github.com/weechat/weechat/issues/2309))
- irc: fix unit of server option `anti_flood` from seconds to milliseconds in output of `/server listfull`
- irc: fix creation of irc.msgbuffer option without a server name
- irc: ignore self join if the channel is already joined ([#2291](https://github.com/weechat/weechat/issues/2291))
- relay/api: fix memory leaks in resources "ping" and "sync"
- relay/api: fix memory leak in receive of message from remote WeeChat
## Version 4.8.2 (2026-03-06)
+33 -36
View File
@@ -52,16 +52,8 @@ else()
set(VERSION "${VERSION_MAJOR}.${VERSION_MINOR}.${VERSION_PATCH}")
endif()
# license
set(LICENSE "GPL3")
# add definitions for version and license
if(COMMAND cmake_policy)
cmake_policy(SET CMP0005 NEW)
add_definitions(-DWEECHAT_VERSION="${VERSION}" -DWEECHAT_LICENSE="${LICENSE}")
else()
add_definitions(-DWEECHAT_VERSION='"${VERSION}"' -DWEECHAT_LICENSE='"${LICENSE}"')
endif()
add_definitions(-DWEECHAT_VERSION="${VERSION}" -DWEECHAT_LICENSE="GPL3")
# package string
set(PKG_STRING "${PROJECT_NAME} ${VERSION}")
@@ -192,15 +184,6 @@ set(WEECHAT_HOME "${WEECHAT_HOME}" CACHE
FORCE)
mark_as_advanced(CLEAR WEECHAT_HOME)
if(COMMAND cmake_policy)
if(POLICY CMP0003)
cmake_policy(SET CMP0003 NEW)
endif()
if(POLICY CMP0017)
cmake_policy(SET CMP0017 NEW)
endif()
endif()
add_definitions(-DHAVE_CONFIG_H)
include(FindPkgConfig)
@@ -258,22 +241,29 @@ list(APPEND EXTRA_LIBS ${GNUTLS_LDFLAGS})
# Check for zlib
find_package(ZLIB REQUIRED)
list(APPEND EXTRA_LIBS ${ZLIB_LIBRARY})
# Check for zstd
if(ENABLE_ZSTD)
pkg_check_modules(LIBZSTD REQUIRED libzstd)
include_directories(${LIBZSTD_INCLUDE_DIRS})
list(APPEND EXTRA_LIBS ${LIBZSTD_LDFLAGS})
add_definitions(-DHAVE_ZSTD)
endif()
# Check for cJSON
if(ENABLE_CJSON)
pkg_check_modules(LIBCJSON REQUIRED libcjson)
include_directories(${LIBCJSON_INCLUDE_DIRS})
add_definitions(-DHAVE_CJSON)
endif()
# Check for iconv
find_package(Iconv)
if(ICONV_FOUND)
if(ICONV_LIBRARY)
list(APPEND EXTRA_LIBS ${ICONV_LIBRARY})
endif()
add_definitions(-DHAVE_ICONV)
endif()
@@ -283,18 +273,15 @@ pkg_check_modules(LIBCURL REQUIRED libcurl>=7.68.0)
include_directories(${LIBCURL_INCLUDE_DIRS})
list(APPEND EXTRA_LIBS ${LIBCURL_LDFLAGS})
find_library(DL_LIBRARY
NAMES dl
PATHS /lib /usr/lib /usr/libexec /usr/local/lib /usr/local/libexec
)
if(DL_LIBRARY)
list(APPEND EXTRA_LIBS ${DL_LIBRARY})
endif()
list(APPEND EXTRA_LIBS ${CMAKE_DL_LIBS})
add_subdirectory(icons)
if(ENABLE_NLS)
find_package(Gettext REQUIRED)
if(LIBINTL_LIBRARY)
list(APPEND EXTRA_LIBS ${LIBINTL_LIBRARY})
endif()
find_package(Intl REQUIRED)
include_directories(${Intl_INCLUDE_DIRS})
list(APPEND EXTRA_LIBS "${Intl_LIBRARIES}")
@@ -303,20 +290,30 @@ else()
add_custom_target(translations COMMAND true)
endif()
if(${CMAKE_SYSTEM_NAME} STREQUAL "FreeBSD")
find_library(EXECINFO_LIB_PATH execinfo /usr/local/lib)
check_function_exists(backtrace HAVE_BACKTRACE)
list(APPEND EXTRA_LIBS "execinfo")
else()
check_symbol_exists(backtrace "execinfo.h" HAVE_BACKTRACE)
endif()
if(${CMAKE_SYSTEM_NAME} STREQUAL "Haiku")
list(APPEND EXTRA_LIBS "network")
else()
list(APPEND EXTRA_LIBS "pthread")
endif()
if(${CMAKE_SYSTEM_NAME} STREQUAL "SunOS")
list(APPEND EXTRA_LIBS "socket" "nsl")
endif()
list(APPEND EXTRA_LIBS "m")
add_subdirectory(src)
add_subdirectory(doc)
if(ENABLE_TESTS)
find_package(CppUTest)
if(CPPUTEST_FOUND)
enable_testing()
else()
message(SEND_ERROR "CppUTest not found")
endif()
else()
enable_testing()
add_test(NAME notests COMMAND true)
endif()
enable_testing()
add_subdirectory(tests)
configure_file(config.h.cmake config.h @ONLY)
-2
View File
@@ -11,10 +11,8 @@ SPDX-License-Identifier: GPL-3.0-or-later
</p>
[![Mastodon](https://img.shields.io/badge/mastodon-follow-blue.svg)](https://hostux.social/@weechat)
[![Diaspora*](https://img.shields.io/badge/diaspora*-follow-blue.svg)](https://diasp.eu/u/weechat)
[![X](https://img.shields.io/badge/x-follow-blue.svg)](https://x.com/WeeChatClient)
[![Devel blog](https://img.shields.io/badge/devel%20blog-follow-blue.svg)](https://blog.weechat.org/)
[![Slant](https://img.shields.io/badge/slant-recommend-28acad.svg)](https://www.slant.co/topics/1323/~best-irc-clients-for-linux)
[![Donate](https://img.shields.io/badge/help-donate%20%E2%9D%A4-ff69b4.svg)](https://weechat.org/donate/)
[![CI](https://github.com/weechat/weechat/workflows/CI/badge.svg)](https://github.com/weechat/weechat/actions)
+8
View File
@@ -19,3 +19,11 @@ path = [
precedence = "override"
SPDX-FileCopyrightText = "2003-2026 Sébastien Helleu <flashcode@flashtux.org>"
SPDX-License-Identifier = "GPL-3.0-or-later"
[[annotations]]
path = [
".poexam/*.dic",
]
precedence = "override"
SPDX-FileCopyrightText = "2026 Sébastien Helleu <flashcode@flashtux.org>"
SPDX-License-Identifier = "GPL-3.0-or-later"
+1 -2
View File
@@ -1,6 +1,5 @@
Source: weechat-devel
Section: net
Priority: optional
Maintainer: Sébastien Helleu <flashcode@flashtux.org>
Build-Depends:
asciidoctor (>= 1.5.4),
@@ -24,7 +23,7 @@ Build-Depends:
libzstd-dev,
zlib1g-dev,
libcjson-dev
Standards-Version: 4.7.2
Standards-Version: 4.7.3
Homepage: https://weechat.org/
Vcs-Git: https://salsa.debian.org/kolter/weechat.git
Vcs-Browser: https://salsa.debian.org/kolter/weechat
+15
View File
@@ -1,3 +1,12 @@
weechat (4.8.1-1) unstable; urgency=medium
* New upstream release
* Bump Standards-Version to 4.7.3
* Update debian/copyright file (new year)
* Remove redundant priority optional field from debian/control
-- Emmanuel Bouthenot <kolter@debian.org> Fri, 23 Jan 2026 22:02:31 +0000
weechat (4.7.2-1) unstable; urgency=medium
* New upstream release (Closes: #1119787)
@@ -40,6 +49,12 @@ weechat (4.4.2-1) unstable; urgency=medium
* New upstream release
- fix crash where exiting (Closes: #1076532)
- fix a minor security issue (Closes: #1081942)
* Fix possible privacy breach with html documentation which includes
stylesheets and fonts (font-awesome) hosted on remote CDN (Cloudflare)
by replacing them during build process by the ones provided in
fonts-font-awesome package (also added as dependency on weechat-doc).
* Refresh weechat-doc with minor changes and add some documentation in
Serbian and Czech.
* Bump Standards-Version to 4.7.0
-- Emmanuel Bouthenot <kolter@debian.org> Sun, 22 Sep 2024 13:08:28 +0000
+1 -2
View File
@@ -1,6 +1,5 @@
Source: weechat
Section: net
Priority: optional
Maintainer: Emmanuel Bouthenot <kolter@debian.org>
Build-Depends:
asciidoctor (>= 1.5.4),
@@ -24,7 +23,7 @@ Build-Depends:
libzstd-dev,
zlib1g-dev,
libcjson-dev
Standards-Version: 4.7.2
Standards-Version: 4.7.3
Homepage: https://weechat.org/
Vcs-Git: https://salsa.debian.org/kolter/weechat.git
Vcs-Browser: https://salsa.debian.org/kolter/weechat
+1 -1
View File
@@ -458,7 +458,7 @@ für weitere Informationen die das Farbmanagement betreffen.
[[search_text]]
=== Wie kann ich in einem Buffer nach einem Text suchen (vergleichbar /lastlog in irssi)?
Die Standardtastenbelegung lautet kbd:[Ctrl+r]
Die Standardtastenbelegung lautet kbd:[Ctrl+s]
(der dazugehörige Befehl: `+/input search_text_here+`).
Um zu Highlight-Nachrichten zu springen:
kbd:[Alt+p] für vorherige, kbd:[Alt+n] für die nächste Nachricht.
+5 -4
View File
@@ -128,6 +128,7 @@ WeeChat "core" is located in following directories:
|===
| Path/file | Description
| core/ | Core functions: entry point, internal structures.
|    core-args.c | Command-line arguments.
|    core-arraylist.c | Array lists.
|    core-backtrace.c | Display a backtrace after a crash.
|    core-calc.c | Calculate result of expressions.
@@ -655,9 +656,9 @@ Example:
[source,c]
----
/*
* Checks if a string with boolean value is valid.
* Check if a string with boolean value is valid.
*
* Returns:
* Return:
* 1: boolean value is valid
* 0: boolean value is NOT valid
*/
@@ -932,9 +933,9 @@ Example: creation of a new window (from _src/gui/gui-window.c_):
[source,c]
----
/*
* Creates a new window.
* Create a new window.
*
* Returns pointer to new window, NULL if error.
* Return pointer to new window, NULL if error.
*/
struct t_gui_window *
+1 -1
View File
@@ -441,7 +441,7 @@ for more information about colors management.
[[search_text]]
=== How can I search text in buffer (like /lastlog in irssi)?
The default key is kbd:[Ctrl+r] (command is: `+/input search_text_here+`).
The default key is kbd:[Ctrl+s] (command is: `+/input search_text_here+`).
And jump to highlights: kbd:[Alt+p] / kbd:[Alt+n].
See link:weechat_user.en.html#key_bindings[User's guide / Key bindings ^↗^^]
+1 -1
View File
@@ -454,7 +454,7 @@ información sobre la gestión de los colores.
[[search_text]]
=== ¿Cómo busco texto en un buffer (como /lastlog en irssi)?
La tecla predeterminada es kbd:[Ctrl+r] (el comando es: `+/input texto_a_buscar_aquí+`).
La tecla predeterminada es kbd:[Ctrl+s] (el comando es: `+/input texto_a_buscar_aquí+`).
Y para saltar a los textos resaltados: kbd:[Alt+p] / kbd:[Alt+n].
Vea la link:weechat_user.en.html#key_bindings[Guía del usuario / Atajos de teclado ^↗^^]
+1 -1
View File
@@ -9,7 +9,7 @@ https://weechat.org/doc/[guide utilisateur de WeeChat].
Avec l'extension irc, vous pouvez vous connecter à un serveur avec une URL, comme ceci :
irc[6][s]://[[pseudo][:motdepasse]@]serveur[:port][/#canal1[,#canal2...]]
irc[6][s]://[[pseudo][:mot_de_passe]@]serveur[:port][/#canal1[,#canal2...]]
Pour rejoindre le canal IRC de support WeeChat avec le pseudo "monpseudo" :
+5 -4
View File
@@ -129,6 +129,7 @@ Le cœur de WeeChat est situé dans les répertoires suivants :
|===
| Chemin/fichier | Description
| core/ | Fonctions du cœur : point d'entrée, structures internes.
|    core-args.c | Paramètres de ligne de commande.
|    core-arraylist.c | Listes avec tableau (« arraylists »).
|    core-backtrace.c | Afficher une trace après un plantage.
|    core-calc.c | Calcul du résultat d'expressions.
@@ -659,9 +660,9 @@ Exemple :
[source,c]
----
/*
* Checks if a string with boolean value is valid.
* Check if a string with boolean value is valid.
*
* Returns:
* Return:
* 1: boolean value is valid
* 0: boolean value is NOT valid
*/
@@ -942,9 +943,9 @@ Exemple : création d'une nouvelle fenêtre (de _src/gui/gui-window.c_) :
[source,c]
----
/*
* Creates a new window.
* Create a new window.
*
* Returns pointer to new window, NULL if error.
* Return pointer to new window, NULL if error.
*/
struct t_gui_window *
+1 -1
View File
@@ -457,7 +457,7 @@ pour plus d'information sur la gestion des couleurs.
[[search_text]]
=== Comment puis-je chercher du texte dans le tampon (comme /lastlog dans irssi) ?
La touche par défaut est kbd:[Ctrl+r] (la commande est : `+/input search_text_here+`).
La touche par défaut est kbd:[Ctrl+s] (la commande est : `+/input search_text_here+`).
Et sauter aux highlights : kbd:[Alt+p] / kbd:[Alt+n].
Voir le link:weechat_user.fr.html#key_bindings[Guide utilisateur / Raccourcis clavier par défaut ^↗^^]
+8 -8
View File
@@ -3351,7 +3351,7 @@ Pour ajouter une donnée sécurisée, utilisez la commande `/secure set`, par
exemple un mot de passe pour le serveur IRC _libera_ :
----
/secure set libera motdepasse
/secure set libera mot_de_passe
----
Pour plus de confort, les données sécurisées peuvent être affichées dans un
@@ -4712,7 +4712,7 @@ Il est fortement recommandé de définir un mot de passe pour le relai, avec ces
commandes :
----
/secure set relay motdepasse
/secure set relay mot_de_passe
/set relay.network.password "${sec.data.relay}"
----
@@ -4793,7 +4793,7 @@ le nom interne du serveur dans la commande IRC "PASS", avec le format
(voir l'exemple ci-dessous) :
----
PASS serveur:motdepasse
PASS serveur:mot_de_passe
----
Exemple : proxy IRC avec TLS pour tout serveur (le client choisira) :
@@ -4809,7 +4809,7 @@ Exemple : proxy IRC sans TLS seulement pour le serveur "libera" :
----
Maintenant vous pouvez vous connecter sur le port 8000 avec n'importe quel
client IRC en utilisant le mot de passe "motdepasse" (ou "libera:motdepasse"
client IRC en utilisant le mot de passe "mot_de_passe" (ou "libera:mot_de_passe"
si aucun serveur n'a été spécifié dans le relai).
Par exemple si vous utilisez WeeChat comme client IRC du relai, avec un serveur
@@ -4822,7 +4822,7 @@ avec ces commandes :
----
[[relay_api_protocol]]
=== API protocol
=== Protocole API
L'extension Relay peut envoyer les données à un autre WeeChat ou une interface
distante avec un protocol HTTP de type API REST.
@@ -4840,12 +4840,12 @@ Par exemple :
----
Maintenant vous pouvez vous connecter sur le port 9000 avec une interface
distante en utilisant le mot de passe "motdepasse".
distante en utilisant le mot de passe "mot_de_passe".
Pour vous connecter à un relai _api_ avec WeeChat :
----
/remote add weechat http://localhost:9000 -password=motdepasse
/remote add weechat http://localhost:9000 -password=mot_de_passe
/remote connect weechat
----
@@ -4882,7 +4882,7 @@ Par exemple :
----
Maintenant vous pouvez vous connecter sur le port 9500 avec une interface
distante en utilisant le mot de passe "motdepasse".
distante en utilisant le mot de passe "mot_de_passe".
[[relay_websocket]]
=== WebSocket
+1 -1
View File
@@ -490,7 +490,7 @@ for more information about colors management.
[[search_text]]
=== Come posso cercare testo nel buffer (come /lastlog con irssi)?
Il tasto predefinito è kbd:[Ctrl+r] (il comando è: `+/input search_text_here+`).
Il tasto predefinito è kbd:[Ctrl+s] (il comando è: `+/input search_text_here+`).
E per passare alle notifiche: kbd:[Alt+p] / kbd:[Alt+n].
// TRANSLATION MISSING
+6 -4
View File
@@ -140,6 +140,8 @@ WeeChat "core" は以下のディレクトリに配置されています:
|===
| パス/ファイル名 | 説明
| core/ | コア関数: エントリポイント、内部構造体
// TRANSLATION MISSING
|    core-args.c | Command-line arguments.
|    core-arraylist.c | 配列リスト
|    core-backtrace.c | クラッシュした際にバックトレースを表示
// TRANSLATION MISSING
@@ -808,9 +810,9 @@ C 言語のコードを書く際には以下の基本的なルールを *必ず*
[source,c]
----
/*
* Checks if a string with boolean value is valid.
* Check if a string with boolean value is valid.
*
* Returns:
* Return:
* 1: boolean value is valid
* 0: boolean value is NOT valid
*/
@@ -1083,9 +1085,9 @@ struct t_gui_window *gui_current_window = NULL; /* current window */
[source,c]
----
/*
* Creates a new window.
* Create a new window.
*
* Returns pointer to new window, NULL if error.
* Return pointer to new window, NULL if error.
*/
struct t_gui_window *
+1 -1
View File
@@ -451,7 +451,7 @@ with command `/color`).
[[search_text]]
=== どうすればバッファ内の文字列を検索できますか (irssi の /lastlog の様に)。
デフォルトのキーは kbd:[Ctrl+r] です (コマンドは: `+/input search_text_here+`)。
デフォルトのキーは kbd:[Ctrl+s] です (コマンドは: `+/input search_text_here+`)。
ハイライト部分へのジャンプは: kbd:[Alt+p] / kbd:[Alt+n]
この機能に関するより詳しい情報はlink:weechat_user.ja.html#key_bindings[ユーザーズガイド / デフォルトのキー割り当て ^↗^^]を参照してください
+1 -2
View File
@@ -7,8 +7,7 @@
Kompletna dokumentacja na temat opcji wtyczek dostępna jest
w https://weechat.org/doc/[WeeChat user's guide].
// TRANSLATION MISSING
With irc plugin, you can connect to a server with an URL like:
Używając wtyczki irc możesz połączyć się z serwerem używając URLa w poniższm formacie:
irc[6][s]://[[nick][:hasło]@]serwer[:port][/#kanał1[,#kanał2...]]
+1 -1
View File
@@ -436,7 +436,7 @@ link:weechat_user.pl.html#colors[Poradniku użytkownika / Kolory ^↗^^].
[[search_text]]
=== Jak mogę wyszukać tekst w buforze (jak za pomocą /lastlog w irssi)?
Domyślny skrót klawiszowy to kbd:[Ctrl+r] (komenda: `+/input search_text_here+`).
Domyślny skrót klawiszowy to kbd:[Ctrl+s] (komenda: `+/input search_text_here+`).
Poruszanie się między podświetleniami: kbd:[Alt+p] / kbd:[Alt+n].
+1 -2
View File
@@ -6,8 +6,7 @@
// tag::plugin_options[]
За комплетну документацију у вези опција додатака, молимо вас да погледате документацију за додатке у https://weechat.org/doc/[WeeChat корисничком упутству].
// TRANSLATION MISSING
With irc plugin, you can connect to a server with an URL like:
Помоћу irc додатка, са сервером се повезујете URL адресом као што је:
irc[6][s]://[[надимак][:лозинка]@]сервер[:порт][/#канал1[,#канал2...]]
+6 -4
View File
@@ -128,6 +128,8 @@ WeeChat „језгро” се налази у следећим директо
|===
| Путања/фајл | Опис
| core/ | Функције језгра: тачка улаза, интерне структуре.
// TRANSLATION MISSING
|    core-args.c | Command-line arguments.
|    core-arraylist.c | Листе низова.
|    core-backtrace.c | Испис трага након краха.
|    core-calc.c | Израчунавање резултата израза.
@@ -651,9 +653,9 @@ WeeChat „језгро” се налази у следећим директо
[source,c]
----
/*
* Checks if a string with boolean value is valid.
* Check if a string with boolean value is valid.
*
* Returns:
* Return:
* 1: boolean value is valid
* 0: boolean value is NOT valid
*/
@@ -914,9 +916,9 @@ struct t_gui_window *gui_current_window = NULL; /* current window */
[source,c]
----
/*
* Creates a new window.
* Create a new window.
*
* Returns pointer to new window, NULL if error.
* Return pointer to new window, NULL if error.
*/
struct t_gui_window *
+1 -1
View File
@@ -380,7 +380,7 @@ term screen-256color
[[search_text]]
=== Како могу да претражујем текст у баферу (као /lastlog у програму irssi)?
Подразумевани тастер је kbd:[Ctrl+r] (команда је: `+/input овде_текст_претраге+`). И скок на истицања: kbd:[Alt+p] / kbd:[Alt+n].
Подразумевани тастер је kbd:[Ctrl+s] (команда је: `+/input овде_текст_претраге+`). И скок на истицања: kbd:[Alt+p] / kbd:[Alt+n].
За више о овој могућности, погледајте link:weechat_user.sr.html#key_bindings[Корисничко упутство / Тастерске пречице ^↗^^].
+214 -139
View File
@@ -23,8 +23,8 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2026-03-16 13:17+0100\n"
"PO-Revision-Date: 2025-10-27 08:26+0100\n"
"POT-Creation-Date: 2026-03-21 17:24+0100\n"
"PO-Revision-Date: 2026-03-12 20:24+0100\n"
"Last-Translator: Ondřej Súkup <mimi.vx@gmail.com>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
"Language: cs\n"
@@ -34,6 +34,159 @@ msgstr ""
"Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n"
"X-Generator: Poedit 2.0.1\n"
#. TRANSLATORS: command line option "-a", "--no-connect"
#, fuzzy
#| msgid "%s%s: unable to connect to sender"
msgid "disable auto-connect to servers at startup"
msgstr "%s%s: nemohu se připojit k odesílateli"
#. TRANSLATORS: command line option "-c", "--colors"
msgid "display default colors in terminal and exit"
msgstr ""
#. TRANSLATORS: only "<path>" may be translated
msgid "-d, --dir <path>"
msgstr ""
#. TRANSLATORS: command line option "-d", "--dir <path>"
msgid ""
"force a single WeeChat home directory or 5 different directories separated "
"by colons (in this order: config, data, state, cache, runtime) (environment "
"variable WEECHAT_HOME is read if this option is not given)"
msgstr ""
#. TRANSLATORS: command line option "-t", "--temp-dir"
msgid ""
"create a temporary WeeChat home directory and delete it on exit "
"(incompatible with option \"-d\")"
msgstr ""
#. TRANSLATORS: command line option "-h", "--help"
#, fuzzy
#| msgid "use same nick color for channel and private"
msgid "display this help and exit"
msgstr "použít stejnou barvu přezdívky pro kanál a soukromý rozhovor"
#. TRANSLATORS: command line option "-i", "--build-info"
msgid "display build information and exit"
msgstr ""
#. TRANSLATORS: command line option "-l", "--license"
#, fuzzy
#| msgid "display WeeChat logo at startup"
msgid "display WeeChat license and exit"
msgstr "zobrazí WeeChat logo při spuštění"
#. TRANSLATORS: command line option "-p", "--no-plugin"
#, fuzzy
#| msgid "display WeeChat logo at startup"
msgid "don't load any plugin at startup"
msgstr "zobrazí WeeChat logo při spuštění"
#. TRANSLATORS: only "<plugins>" may be translated
msgid "-P, --plugins <plugins>"
msgstr ""
#. TRANSLATORS: command line option "-P", "--plugins <plugins>"
msgid "load only these plugins at startup (see /help weechat.plugin.autoload)"
msgstr ""
#. TRANSLATORS: only "<cmd>" may be translated (please keep it short)
msgid "-r, --run-command <cmd>"
msgstr ""
#. TRANSLATORS: command line option "-r", "--run-command <cmd>"
#, fuzzy
msgid ""
"run command(s) after startup; many commands can be separated by semicolons "
"and are evaluated, this option can be given multiple times"
msgstr "příkaz spuštěný při startu WeeChat, po načtení pluginů"
#. TRANSLATORS: command line option "-s", "--no-script"
msgid "don't load any script at startup"
msgstr ""
#. TRANSLATORS: command line option "--upgrade"
#, fuzzy
msgid "upgrade WeeChat using session files (see /help upgrade in WeeChat)"
msgstr "%sChyba: nemohu uložit sezení do souboru"
#. TRANSLATORS: command line option "-v", "--version"
#, fuzzy
#| msgid "display WeeChat version at startup"
msgid "display WeeChat version and exit"
msgstr "zobrazí verzi WeeChat při spuštění"
#. TRANSLATORS: command line option: "plugin" and "option" may be translated
#, fuzzy
#| msgid "plugin pointer (optional)"
msgid "plugin:option"
msgstr "ukazatel pluginu (volitelný)"
#. TRANSLATORS: command line option "plugin:option"
msgid "option for plugin (see man weechat)"
msgstr ""
#. TRANSLATORS: only "<path>" may be translated
msgid "--doc-gen <path>"
msgstr ""
#. TRANSLATORS: command line option "--doc-gen <path>"
msgid "generate files to build documentation and exit"
msgstr ""
#. TRANSLATORS: command line option "--daemon"
msgid ""
"run WeeChat as a daemon (fork, new process group, file descriptors closed); "
"by default in headless mode WeeChat is blocking and does not run in "
"background"
msgstr ""
#. TRANSLATORS: command line option "--stdout"
msgid ""
"display log messages on standard output instead of writing them in log file "
"(option ignored if option \"--daemon\" is given)"
msgstr ""
#. TRANSLATORS: command line option "--no-dlclose"
msgid "do not call function dlclose after plugins are unloaded"
msgstr ""
#. TRANSLATORS: command line option "--no-gnutls"
msgid "disable init/deinit of gnutls"
msgstr ""
#. TRANSLATORS: command line option "--no-gcrypt"
msgid "disable init/deinit of gcrypt"
msgstr ""
#. TRANSLATORS: "%s %s" after "compiled on" is date and time
#, c-format
msgid ""
"WeeChat %s Copyright %s, compiled on %s %s\n"
"Developed by Sébastien Helleu <flashcode@flashtux.org> - %s"
msgstr ""
"WeeChat %s Copyright %s, zkompilováno %s %s\n"
"Vyvinutý Sébastienem Helleu <flashcode@flashtux.org> - %s"
msgid "Usage:"
msgstr ""
#, fuzzy
#| msgid "Usage: %s [option...] [plugin:option...]\n"
msgid "[option...] [plugin:option...]"
msgstr "Použití: %s [volba...] [plugin:volba...]\n"
msgid "Extra options in headless mode:"
msgstr ""
msgid "Debug options (for tools like valgrind, DO NOT USE IN PRODUCTION):"
msgstr ""
#, c-format
msgid "Error: missing argument for \"%s\" option\n"
msgstr "Chyba: chybí argument pro volbu \"%s\"\n"
msgid "List of bars:"
msgstr "Seznam polí:"
@@ -142,7 +295,7 @@ msgid "%sUnable to scroll bar \"%s\""
msgstr "%sChyba: nemohu posunout pole \"%s\""
#, fuzzy, c-format
msgid "%sBuffer number \"%d\" is out of range (it must be between 1 and %d)"
msgid "%sBuffer number %d is out of range (it must be between 1 and %d)"
msgstr "%sChyba: bufer číslo %d je mimo rozsah (musí být mezi 1 a %d)"
msgid "Buffers list:"
@@ -507,9 +660,9 @@ msgstr ""
"opatření)"
#, c-format
msgid "%d new key added"
msgid "%d new key added (context: \"%s\")"
msgid_plural "%d new keys added (context: \"%s\")"
msgstr[0] "přidána %d nová klávesa"
msgstr[0] "přidána %d nová klávesa (kontext: \"%s\")"
msgstr[1] "přidány %d nové klávesy (kontext: \"%s\")"
msgstr[2] "přidáno %d nových kláves (kontext: \"%s\")"
@@ -555,7 +708,7 @@ msgstr "%sChyba: rozložení \"%s\" pro příkaz \"%s\" už existuje"
#, c-format
msgid "Layout \"%s\" has been renamed to \"%s\""
msgstr "Rozložení \"%s\" přejmenováno na %s"
msgstr "Rozložení \"%s\" přejmenováno na %s"
msgid "Mouse enabled"
msgstr "Myš povolena"
@@ -1123,7 +1276,7 @@ msgstr ""
msgid ""
"option: option to change (for options list, look at /set weechat.bar."
"<barname>.*)"
"<bar_name>.*)"
msgstr ""
#, fuzzy
@@ -1608,7 +1761,7 @@ msgstr "vyhodnotit výraz"
#. TRANSLATORS: only text between angle brackets (eg: "<name>") may be translated
#, fuzzy
msgid ""
"[-n|-s] [-d] <expression> || [-n] [-d [-d]] -c <expression1> <operator> "
"[-n|-s] [-e] [-d] <expression> || [-n] [-d [-d]] -c <expression1> <operator> "
"<expression2>"
msgstr "[-n|-s] <výraz> || [-n] -c <výraz1> <operátor> <výraz2>"
@@ -1620,6 +1773,9 @@ msgid ""
"separated by semicolons)"
msgstr ""
msgid "raw[-e]: evaluate all commands before executing them"
msgstr ""
msgid ""
"raw[-d]: display debug output after evaluation (with two -d: more verbose "
"debug)"
@@ -2158,7 +2314,7 @@ msgstr "zobrazí nápovědu k příkazům a volbám"
#. TRANSLATORS: only text between angle brackets (eg: "<name>") may be translated
#, fuzzy
#| msgid "-list|-listfull [<plugin> [<plugin>...]] || <command> || <option>"
msgid "-list|-listfull [<plugin>...]] || <command> || <option>"
msgid "-list|-listfull [<plugin>...] || <command> || <option>"
msgstr "-list|-listfull [<plugin> [<plugin>...]] || <command> || <option>"
msgid ""
@@ -2221,9 +2377,9 @@ msgid "raw[clear]: clear hotlist"
msgstr ""
msgid ""
"level: \"lowest\" to clear only lowest level in hotlist, highest\" to clear "
"only highest level in hotlist, or level mask: integer which is a combination "
"of 1=join/part, 2=message, 4=private, 8=highlight"
"level: \"lowest\" to clear only lowest level in hotlist, \"highest\" to "
"clear only highest level in hotlist, or level mask: integer which is a "
"combination of 1=join/part, 2=message, 4=private, 8=highlight"
msgstr ""
msgid "raw[remove]: remove current buffer from hotlist"
@@ -3110,7 +3266,7 @@ msgstr ""
msgid ""
"option: option to change (for options list, look at /set weechat.proxy."
"<proxyname>.*)"
"<proxy_name>.*)"
msgstr ""
msgid " add a http proxy, running on local host, port 8888:"
@@ -3387,20 +3543,20 @@ msgstr ""
msgid " encrypt libera SASL password:"
msgstr ""
msgid " /secure set libera mypassword"
msgid " /secure set libera my_password"
msgstr ""
msgid " encrypt oftc password for nickserv:"
msgstr ""
msgid " /secure set oftc mypassword"
msgid " /secure set oftc my_password"
msgstr ""
msgid " alias to ghost the nick \"mynick\":"
msgid " alias to ghost the nick \"andrew\":"
msgstr ""
msgid ""
" /alias add ghost /eval /msg -server libera nickserv ghost mynick $"
" /alias add ghost /eval /msg -server libera nickserv ghost andrew $"
"{sec.data.libera}"
msgstr ""
@@ -3659,7 +3815,7 @@ msgstr ""
msgid "With option \"-quit\", the process is:"
msgstr ""
msgid " 1. close *ALL* connections (irc, xfer, relay, ...)"
msgid " 1. close *ALL* connections (irc, xfer, relay, etc.)"
msgstr ""
#, fuzzy
@@ -4194,7 +4350,7 @@ msgid ""
"Warning: you should now issue /save to write option "
"weechat.look.save_config_on_exit in configuration file"
msgstr ""
"Upozornění: měl by jste nyní provést /save pro zapsání volby "
"Upozornění: měl by jste nyní provést /save pro zapsání volby "
"weechat.look.save_config_on_exit do konfiguračního souboru"
msgid ""
@@ -5992,7 +6148,7 @@ msgstr "%sNekorektní číslo barvy \"%s\" (musí být mezi %d a %d)"
#, c-format
msgid "Limit for resource \"%s\" has been set to %s"
msgstr "Limit pro zdroj \"%s\" byl nastaven na %s"
msgstr "Limit pro zdroj \"%s\" byl nastaven na %s"
#, fuzzy, c-format
msgid "%sUnable to set resource limit \"%s\" to %s: error %d %s"
@@ -6059,8 +6215,8 @@ msgstr "zápis - proměnná"
msgid "read - object type"
msgstr "čtení - typ objektu"
msgid "read - bad object type ('object start' expected)"
msgstr "čtení - chybný typ objektu (očekáván 'object start')"
msgid "read - bad object type (\"object start\" expected)"
msgstr "čtení - chybný typ objektu (očekáván \"object start\")"
msgid "read - object id"
msgstr "čtení - id objektu"
@@ -6180,102 +6336,6 @@ msgstr ""
msgid "End of URL transfer '%s', transfer stopped"
msgstr "Konec příkazu '%s', vypršel časový limit (%.1fs)"
#. TRANSLATORS: "%s %s" after "compiled on" is date and time
#, c-format
msgid ""
"WeeChat %s Copyright %s, compiled on %s %s\n"
"Developed by Sébastien Helleu <flashcode@flashtux.org> - %s"
msgstr ""
"WeeChat %s Copyright %s, zkompilováno %s %s\n"
"Vyvinutý Sébastienem Helleu <flashcode@flashtux.org> - %s"
#, c-format
msgid "Usage: %s [option...] [plugin:option...]\n"
msgstr "Použití: %s [volba...] [plugin:volba...]\n"
#, fuzzy
msgid ""
" -a, --no-connect disable auto-connect to servers at startup\n"
" -c, --colors display default colors in terminal and exit\n"
" -d, --dir <path> force a single WeeChat home directory\n"
" or 5 different directories separated by colons "
"(in this order: config, data, state, cache, runtime)\n"
" (environment variable WEECHAT_HOME is read if "
"this option is not given)\n"
" -t, --temp-dir create a temporary WeeChat home directory and "
"delete it on exit\n"
" (incompatible with option \"-d\")\n"
" -h, --help display this help and exit\n"
" -i, --build-info display build information and exit\n"
" -l, --license display WeeChat license and exit\n"
" -p, --no-plugin don't load any plugin at startup\n"
" -P, --plugins <plugins> load only these plugins at startup\n"
" (see /help weechat.plugin.autoload)\n"
" -r, --run-command <cmd> run command(s) after startup;\n"
" many commands can be separated by semicolons and "
"are evaluated,\n"
" this option can be given multiple times\n"
" -s, --no-script don't load any script at startup\n"
" --upgrade upgrade WeeChat using session files (see /help "
"upgrade in WeeChat)\n"
" -v, --version display WeeChat version and exit\n"
" plugin:option option for plugin (see man weechat)\n"
msgstr ""
" -a, --no-connect\t\t\tvypne automatické připojení k serverům při startu\n"
" -c, --colors\t\t\t\tzobrazí výchozí barvy v terminálu\n"
" -d, --dir <cesta>\t \t\tnastaví domovský adresář WeeChat (výchozí: "
"~/.weechat)\n"
"\t\t\t\t\t\t\t(pokud není použita, weechat zkusí načíst promněnou prostředí "
"WEECHAT_HOME)\n"
" -h, --help\t\t\t\t\ttato nápověda\n"
" -l, --license\t\t\t\t\tlicence WeeChatu\n"
" -p, --no-plugin\t\t\t\tnenačítej při startu pluginy\n"
" -r, --run-command <cmd>\tspusť příkaz po startu\n"
"\t\t\t\t\t\t\t(více příkazů jde oddělit středníkem)\n"
" -s, --no-script\t\t\t\tnenačítej skripty při startu\n"
" --upgrade\t\t\t\tupgraduj WeeChat za pomocí uloženní stavu (viz /help "
"upgrade v WeeChatu)\n"
" -v, --version\t\t\t\tzobraz verzi WeeChatu\n"
" plugin:option\t\t\t\tvolba pro plugin (viz: man weechat)\n"
msgid "Extra options in headless mode:\n"
msgstr ""
msgid ""
" --doc-gen <path> generate files to build documentation and exit\n"
msgstr ""
msgid ""
" --daemon run WeeChat as a daemon (fork, new process group, "
"file descriptors closed);\n"
msgstr ""
msgid ""
" (by default in headless mode WeeChat is blocking "
"and does not run in background)\n"
msgstr ""
msgid ""
" --stdout display log messages on standard output instead "
"of writing them in log file\n"
msgstr ""
msgid ""
" (option ignored if option \"--daemon\" is given)\n"
msgstr ""
msgid ""
"Debug options (for tools like valgrind, DO NOT USE IN PRODUCTION):\n"
" --no-dlclose do not call function dlclose after plugins are "
"unloaded\n"
" --no-gnutls disable init/deinit of gnutls\n"
" --no-gcrypt disable init/deinit of gcrypt\n"
msgstr ""
#, c-format
msgid "Error: missing argument for \"%s\" option\n"
msgstr "Chyba: chybí argument pro volbu \"%s\"\n"
#, fuzzy
msgid "WeeChat is running in headless mode (ctrl-c to quit)."
msgstr "1 pokud se WeeChat aktualizuje (příkaz `/upgrade`)"
@@ -7016,7 +7076,7 @@ msgstr ""
msgid ""
" - ${index_displayed}: index of line displayed in the bar item (starts at "
"0, only buffers displayed increment this index, see option "
"buflist.look.display_conditions"
"buflist.look.display_conditions)"
msgstr ""
#, fuzzy
@@ -8564,7 +8624,7 @@ msgid "%s%s: not connected to server \"%s\"!"
msgstr "%s%s: nepřipojen k serveru \"%s\"!"
#, c-format
msgid "%s: auto-reconnection is cancelled"
msgid "%s: auto-reconnection is canceled"
msgstr "%s: automatické znovupřipojené je zrušeno"
#, c-format
@@ -8733,6 +8793,15 @@ msgstr[0] "sekunda"
msgstr[1] "sekundy"
msgstr[2] "sekund"
#, fuzzy
#| msgid "second"
#| msgid_plural "seconds"
msgid "millisecond"
msgid_plural "milliseconds"
msgstr[0] "sekunda"
msgstr[1] "sekundy"
msgstr[2] "sekund"
msgid "minute"
msgid_plural "minutes"
msgstr[0] "minuta"
@@ -8898,7 +8967,7 @@ msgstr "vykonat příkaz na všech kanálech všech připojených serverů"
#, fuzzy
msgid ""
"[-current] [-parted|-all] [-exclude=<channel>[,<channel>...]] <command> || [-"
"current] [-parted|-all] -include=<channel>[,<channel>...] <command>"
"current] [-parted|-all] [-include=<channel>[,<channel>...]] <command>"
msgstr "[-current] [-exclude=<kanál>[,<kanál>...]] <příkaz> [<argumenty>]"
#, fuzzy
@@ -9000,8 +9069,8 @@ msgstr "vykonat příkaz na všech kanálech všech připojených serverů"
#. TRANSLATORS: only text between angle brackets (eg: "<name>") may be translated
#, fuzzy
msgid ""
"[-current] [-exclude=<nick>[,<nick>...]] <command> || [-current] "
"-include=<nick>[,<nick>...] <command>"
"[-current] [-exclude=<nick>[,<nick>...]] <command> || [-current] [-"
"include=<nick>[,<nick>...]] <command>"
msgstr "[-current] [-exclude=<kanál>[,<kanál>...]] <příkaz> [<argumenty>]"
#, fuzzy
@@ -9054,8 +9123,8 @@ msgstr "vykonat příkaz na všech připojených serverech"
#. TRANSLATORS: only text between angle brackets (eg: "<name>") may be translated
#, fuzzy
msgid ""
"[-exclude=<server>[,<server>...]] <command> || -include=<server>[,"
"<server>...] <command>"
"[-exclude=<server>[,<server>...]] <command> || [-include=<server>[,"
"<server>...]] <command>"
msgstr "[-exclude=<server>[,<server>...]] <příkaz> [<argumenty>]"
msgid "raw[-exclude]: exclude some servers (wildcard \"*\" is allowed)"
@@ -9219,7 +9288,7 @@ msgid ""
msgstr ""
msgid ""
"raw[ack]: acknowledge capabilities which require client-side acknowledgement"
"raw[ack]: acknowledge capabilities which require client-side acknowledgment"
msgstr ""
#, fuzzy
@@ -11241,8 +11310,9 @@ msgstr ""
msgid ""
"comma-separated list of fields to sort channels (see /help list for a list "
"of fields); char \"-\" can be used before field to reverse order, char \"~\" "
"can be used to do a case-insensitive comparison; example: \"-users,~name\" "
"for biggest channels first then case-insensitive sort on name"
"can be used to do a case-insensitive comparison; example: \"-users,~name2\" "
"for biggest channels first then case-insensitive sort on channel name "
"without prefix"
msgstr ""
#, fuzzy
@@ -12711,7 +12781,7 @@ msgstr ""
#, c-format
msgid "%s%s: timeout"
msgstr "%s%s: časový limit"
msgstr "%s%s: časový limit"
#, c-format
msgid "%s%s: unable to create socket"
@@ -14551,10 +14621,9 @@ msgstr "%s%s: server \"%s\" pro příkaz \"%s\" nenalezen"
msgid "%s%s: no connection to remote relay \"%s\""
msgstr "%s%s: nepřipojen k serveru \"%s\"!"
#, fuzzy, c-format
#| msgid "%s: auto-reconnection is cancelled"
msgid "remote[%s]: auto-reconnection is cancelled"
msgstr "%s: automatické znovupřipojené je zrušeno"
#, c-format
msgid "remote[%s]: auto-reconnection is canceled"
msgstr ""
#, fuzzy, c-format
#| msgid "%s%s: server \"%s\" already exists for \"%s\" command"
@@ -15501,7 +15570,7 @@ msgid "%s: script \"%s\" is not held anymore"
msgstr "%s: server %s%s%s již není dočasným"
msgid "Error: file not found"
msgstr "Chyba: soubor nenalezen"
msgstr "Chyba: soubor nenalezen"
msgid "Source code:"
msgstr "Zdrojový kód:"
@@ -16095,7 +16164,7 @@ msgid "Spell checking is enabled"
msgstr "Kontrola pravopisu je zapnuta"
msgid "Spell checking is disabled"
msgstr "Kontrola pravopisu je vypnuta"
msgstr "Kontrola pravopisu je vypnuta"
#, c-format
msgid "Default dictionary: %s"
@@ -16912,7 +16981,7 @@ msgid "%s%s: invalid regular expression in trigger: \"%s\""
msgstr "%s%s: \"%s\" není validní regulární výraz (%s)"
#. TRANSLATORS: this text is displayed before the list of nicks typing in the bar item "typing", it must be as short as possible
msgid "Typing:"
msgid "Typing: "
msgstr ""
msgid ""
@@ -16946,6 +17015,11 @@ msgid ""
"truncate content)"
msgstr ""
msgid ""
"text to display before the nicks in the bar item \"typing\"; if set, it is "
"used instead of the translated string \"Typing: \" which is used by default"
msgstr ""
msgid "Typing status of users"
msgstr ""
@@ -17097,8 +17171,9 @@ msgstr "nečekat na ACK při odesílání souboru"
#| "IP or DNS address used for sending files/chats (if empty, local interface "
#| "IP is used)"
msgid ""
"IP or DNS address used for sending and passively receiving files/chats (if "
"empty, local interface IP is used)"
"IP or DNS address used for sending and passively receiving files/chats; if "
"empty, local interface IP is used (note: content is evaluated, see /help "
"eval)"
msgstr ""
"IP nebo DNS adresa použitá pro posílání souborů/rozhovorů (pokud je prázdné "
"použije se lokální IP)"
@@ -17247,7 +17322,7 @@ msgstr "%s%s: nemohu odeslat ACK k odesílateli"
#, c-format
msgid "%s%s: wrong CRC32 for file %s"
msgstr "%s%s: špatný kontrolní součet CRC32 souboru %s"
msgstr "%s%s: špatný kontrolní součet CRC32 souboru %s"
#, fuzzy, c-format
msgid "%s%s: CRC32 error while resuming"
+274 -212
View File
@@ -28,8 +28,8 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2026-03-16 13:17+0100\n"
"PO-Revision-Date: 2026-03-16 13:19+0100\n"
"POT-Creation-Date: 2026-03-21 17:24+0100\n"
"PO-Revision-Date: 2026-03-21 17:24+0100\n"
"Last-Translator: Nils Görs <weechatter@arcor.de>\n"
"Language-Team: German <kde-i18n-de@kde.org>\n"
"Language: de_DE\n"
@@ -41,6 +41,169 @@ msgstr ""
"X-Poedit-Bookmarks: -1,-1,180,-1,-1,-1,-1,-1,-1,-1\n"
"X-Poedit-SourceCharset: utf-8\n"
#. TRANSLATORS: command line option "-a", "--no-connect"
msgid "disable auto-connect to servers at startup"
msgstr ""
"deaktiviert das automatische Verbinden mit den Servern beim Start von WeeChat"
#. TRANSLATORS: command line option "-c", "--colors"
msgid "display default colors in terminal and exit"
msgstr "zeigt die Standardfarben des Terminals an"
#. TRANSLATORS: only "<path>" may be translated
msgid "-d, --dir <path>"
msgstr "-d, --dir <Pfad>"
#. TRANSLATORS: command line option "-d", "--dir <path>"
msgid ""
"force a single WeeChat home directory or 5 different directories separated "
"by colons (in this order: config, data, state, cache, runtime) (environment "
"variable WEECHAT_HOME is read if this option is not given)"
msgstr ""
"legt einen Konfigurationsordner für WeeChat fest oder fünf verschiedene "
"Verzeichnisse, die durch Doppelpunkte getrennt werden (in folgender "
"Reihenfolge: Konfiguration, Daten, Zustand, Cache, Laufzeit) "
"(Umgebungsvariable WEECHAT_HOME wird genutzt, falls diese Option nicht "
"verwendet wird)"
#. TRANSLATORS: command line option "-t", "--temp-dir"
msgid ""
"create a temporary WeeChat home directory and delete it on exit "
"(incompatible with option \"-d\")"
msgstr ""
"erstellt ein temporäres WeeChat Heimatverzeichnis, welches beim Beenden von "
"WeeChat gelöscht wird (nicht nutzbar mit Option \"-d\")"
#. TRANSLATORS: command line option "-h", "--help"
msgid "display this help and exit"
msgstr "zeigt diese Hilfe an"
#. TRANSLATORS: command line option "-i", "--build-info"
msgid "display build information and exit"
msgstr "Build-Informationen anzeigen und beenden"
#. TRANSLATORS: command line option "-l", "--license"
msgid "display WeeChat license and exit"
msgstr "zeigt die Lizenz von WeeChat an"
#. TRANSLATORS: command line option "-p", "--no-plugin"
msgid "don't load any plugin at startup"
msgstr "unterbindet beim Programmstart das Laden von Erweiterungen"
#. TRANSLATORS: only "<plugins>" may be translated
msgid "-P, --plugins <plugins>"
msgstr "-P, --plugins <plugins>"
#. TRANSLATORS: command line option "-P", "--plugins <plugins>"
msgid "load only these plugins at startup (see /help weechat.plugin.autoload)"
msgstr ""
"beim Programmstart, werden nur die angegebenen Erweiterungen geladen (siehe /"
"help weechat.plugin.autoload)"
#. TRANSLATORS: only "<cmd>" may be translated (please keep it short)
msgid "-r, --run-command <cmd>"
msgstr "-r, --run-command <cmd>"
#. TRANSLATORS: command line option "-r", "--run-command <cmd>"
msgid ""
"run command(s) after startup; many commands can be separated by semicolons "
"and are evaluated, this option can be given multiple times"
msgstr ""
"führt einen oder mehrere Befehle nach dem Start aus mehrere Befehle können "
"durch ein Semikolon getrennt werden und sind evaluiert, diese Option kann "
"mehrfach genutzt werden"
#. TRANSLATORS: command line option "-s", "--no-script"
msgid "don't load any script at startup"
msgstr "Skripts werden beim Programmstart nicht geladen"
#. TRANSLATORS: command line option "--upgrade"
msgid "upgrade WeeChat using session files (see /help upgrade in WeeChat)"
msgstr ""
"führt ein WeeChat-Upgrade, mittels Sitzungsdateien durch (benutze in "
"WeeChat /help upgrade)"
#. TRANSLATORS: command line option "-v", "--version"
msgid "display WeeChat version and exit"
msgstr "zeigt die Version von WeeChat an"
#. TRANSLATORS: command line option: "plugin" and "option" may be translated
msgid "plugin:option"
msgstr "plugin:option"
#. TRANSLATORS: command line option "plugin:option"
msgid "option for plugin (see man weechat)"
msgstr "Einstellungen für Erweiterungen (siehe man weechat)"
#. TRANSLATORS: only "<path>" may be translated
msgid "--doc-gen <path>"
msgstr "--doc-gen <Pfad>"
#. TRANSLATORS: command line option "--doc-gen <path>"
msgid "generate files to build documentation and exit"
msgstr ""
"generiert Dateien, um die Dokumentation zu erstellen, danach Programm beenden"
#. TRANSLATORS: command line option "--daemon"
msgid ""
"run WeeChat as a daemon (fork, new process group, file descriptors closed); "
"by default in headless mode WeeChat is blocking and does not run in "
"background"
msgstr ""
"startet WeeChat im Deamon-Modus (fork, neue Prozessgruppe, Dateideskriptor "
"geschlossen); standardmäßig blockiert WeeChat im Hintergrundmodus den "
"Prozess und gibt das Terminal nicht frei"
#. TRANSLATORS: command line option "--stdout"
msgid ""
"display log messages on standard output instead of writing them in log file "
"(option ignored if option \"--daemon\" is given)"
msgstr ""
"die Programmausgabe findet in der Standardausgabe an, anstatt sie in die "
"Protokolldatei zu schreiben (Option wird ignoriert, falls die Option \"--"
"daemon\" genutzt wird)"
#. TRANSLATORS: command line option "--no-dlclose"
msgid "do not call function dlclose after plugins are unloaded"
msgstr ""
"die Funktion dlclose wird nicht ausgeführt, nachdem Erweiterungen beendet "
"wurden"
#. TRANSLATORS: command line option "--no-gnutls"
msgid "disable init/deinit of gnutls"
msgstr "deaktiviere init/deinit von gnutls"
#. TRANSLATORS: command line option "--no-gcrypt"
msgid "disable init/deinit of gcrypt"
msgstr "deaktiviere init/deinit von gcrypt"
#. TRANSLATORS: "%s %s" after "compiled on" is date and time
#, c-format
msgid ""
"WeeChat %s Copyright %s, compiled on %s %s\n"
"Developed by Sébastien Helleu <flashcode@flashtux.org> - %s"
msgstr ""
"WeeChat %s Copyright %s, kompiliert am %s %s\n"
"Entwickelt von Sébastien Helleu <flashcode@flashtux.org> - %s"
msgid "Usage:"
msgstr "Aufruf:"
msgid "[option...] [plugin:option...]"
msgstr "[Option...] [Erweiterung:Option...]"
msgid "Extra options in headless mode:"
msgstr "Zusätzliche Optionen für den Hintergrundmodus:"
msgid "Debug options (for tools like valgrind, DO NOT USE IN PRODUCTION):"
msgstr ""
"Debug Optionen (für Tools wie valgrind, DIESE FUNKTIONEN SOLLTE NICHT IM "
"PRODUKTIVEM EINSATZ GENUTZT WERDEN):"
#, c-format
msgid "Error: missing argument for \"%s\" option\n"
msgstr "Fehler: fehlendes Argument für die Einstellung \"%s\"\n"
msgid "List of bars:"
msgstr "Liste der vorhandenen Infobars:"
@@ -147,7 +310,7 @@ msgid "%sUnable to scroll bar \"%s\""
msgstr "%sBar \"%s\" kann nicht gescrollt werden"
#, c-format
msgid "%sBuffer number \"%d\" is out of range (it must be between 1 and %d)"
msgid "%sBuffer number %d is out of range (it must be between 1 and %d)"
msgstr ""
"%sBuffernummer %d ist außerhalb des gültigen Bereiches (es muss eine Zahl "
"zwischen 1 und %d sein)"
@@ -500,9 +663,9 @@ msgstr ""
"Tastenbelegung notwendig"
#, c-format
msgid "%d new key added"
msgid "%d new key added (context: \"%s\")"
msgid_plural "%d new keys added (context: \"%s\")"
msgstr[0] "(%d) neue Taste hinzugefügt"
msgstr[0] "(%d) neue Taste hinzugefügt (Kontext: \"%s\")"
msgstr[1] "(%d) neue Tasten hinzugefügt (Kontext: \"%s\")"
msgid "Stored layouts:"
@@ -912,7 +1075,7 @@ msgstr "%skeine Binärdatei angegeben"
#, c-format
msgid "Upgrading WeeChat with binary file: \"%s\"..."
msgstr "Aktualisiere WeeChat mit Binärdatei \"%s\"...."
msgstr "Aktualisiere WeeChat mit Binärdatei \"%s\"..."
#, c-format
msgid "%sUpgrade aborted"
@@ -945,10 +1108,9 @@ msgstr "kompiliert am"
msgid "Windows list:"
msgstr "Fensterliste:"
#, fuzzy, c-format
#| msgid "%sPlugin \"%s\" not found"
#, c-format
msgid "%sWindow \"%s\" not found"
msgstr "%sErweiterung \"%s\" wurde nicht gefunden"
msgstr "%sFenster \"%s\" nicht gefunden"
#, c-format
msgid "%sInvalid window number: \"%s\""
@@ -1113,9 +1275,13 @@ msgstr "Maske: Name, wobei der Platzhalter \"*\" zulässig ist"
msgid "raw[set]: set a value for a bar property"
msgstr "raw[set]: legt einen Wert für eine Bar-Eigenschaft fest"
#, fuzzy
#| msgid ""
#| "option: option to change (for options list, look at /set weechat.bar."
#| "<barname>.*)"
msgid ""
"option: option to change (for options list, look at /set weechat.bar."
"<barname>.*)"
"<bar_name>.*)"
msgstr ""
"option: Option die geändert werden soll (eine Liste der möglichen Optionen "
"findet man unter /set weechat.bar.<barname>.*)"
@@ -1182,8 +1348,8 @@ msgid ""
"get <property> || jump smart|last_displayed|prev_visited|next_visited || "
"<id>|<number>|-|+|<name>"
msgstr ""
"list || add [-free] [-switch] <name> || clear [<number>|<name>|-merged|-all "
"[<id>|<number>|<name>...]] || move <number>|-|+ || swap <id1>|<number1>|"
"list || add [-free] [-switch] <name> || clear [<id>|<number>|<name>|-merged|-"
"all [<id>|<number>|<name>...]] || move <number>|-|+ || swap <id1>|<number1>|"
"<name1> [<id2>|<number2>|<name2>] || cycle <id>|<number>|<name>... || merge "
"<id>|<number>|<name> || unmerge [<number>|-all] || hide [<id>|<number>|"
"<name>|-all [<id>|<number>|<name>...]] || unhide [<id>|<number>|<name>|-all "
@@ -1680,10 +1846,10 @@ msgstr "evaluierter Ausdruck"
#. TRANSLATORS: only text between angle brackets (eg: "<name>") may be translated
msgid ""
"[-n|-s] [-d] <expression> || [-n] [-d [-d]] -c <expression1> <operator> "
"[-n|-s] [-e] [-d] <expression> || [-n] [-d [-d]] -c <expression1> <operator> "
"<expression2>"
msgstr ""
"[-n|-s] [-d] <expression> || [-n] [-d [-d]] -c <expression1> <operator> "
"[-n|-s] [-e] [-d] <expression> || [-n] [-d [-d]] -c <expression1> <operator> "
"<expression2>"
msgid "raw[-n]: display result without sending it to buffer (debug mode)"
@@ -1698,6 +1864,9 @@ msgstr ""
"raw[-s]: teilt Ausdrücke, bevor sie evaluiert werden (mehrere Befehle können "
"durch Semikolon getrennt werden)"
msgid "raw[-e]: evaluate all commands before executing them"
msgstr "raw[-e]: Alle Befehle vor ihrer Ausführung auswerten"
msgid ""
"raw[-d]: display debug output after evaluation (with two -d: more verbose "
"debug)"
@@ -2100,7 +2269,7 @@ msgstr ""
msgid " =* is matching mask, case-insensitive (wildcard \"*\" is allowed)"
msgstr ""
" =* stimmt mit der Maske überein, Groß- und Kleinschreibung wird nicht "
" =* stimmt mit der Maske überein, Groß- und Kleinschreibung wird nicht "
"beachtet (Platzhalter \"*\" ist zulässig)"
msgid ""
@@ -2110,7 +2279,7 @@ msgstr ""
"nicht beachtet (Platzhalter \"*\" ist zulässig)"
msgid " ==- is included, case-sensitive"
msgstr " ==- ist enthalten, Groß- und Kleinschreibung wird berücksichtigt"
msgstr " ==- ist enthalten, Groß- und Kleinschreibung wird berücksichtigt"
msgid " !!- is NOT included, case-sensitive"
msgstr ""
@@ -2348,7 +2517,7 @@ msgid "display help about commands and options"
msgstr "Zeigt einen Hilfstext für Befehle und Einstellungen an"
#. TRANSLATORS: only text between angle brackets (eg: "<name>") may be translated
msgid "-list|-listfull [<plugin>...]] || <command> || <option>"
msgid "-list|-listfull [<plugin>...] || <command> || <option>"
msgstr "-list|-listfull [<plugin>...] || <command> || <option>"
msgid ""
@@ -2406,9 +2575,9 @@ msgid "raw[clear]: clear hotlist"
msgstr "raw[clear]: lösche Hotlist"
msgid ""
"level: \"lowest\" to clear only lowest level in hotlist, highest\" to clear "
"only highest level in hotlist, or level mask: integer which is a combination "
"of 1=join/part, 2=message, 4=private, 8=highlight"
"level: \"lowest\" to clear only lowest level in hotlist, \"highest\" to "
"clear only highest level in hotlist, or level mask: integer which is a "
"combination of 1=join/part, 2=message, 4=private, 8=highlight"
msgstr ""
"level: \"lowest\" um die niedrigste Benachrichtigungsstufe in der Hotlist zu "
"löschen, \"highest\" um die höchste Benachrichtigungsstufe in der Hotlist zu "
@@ -3460,9 +3629,13 @@ msgstr "raw[del]: entfernt einen oder mehrere Proxy"
msgid "raw[set]: set a value for a proxy property"
msgstr "raw[set]: setzt einen Wert für Proxy-Eigenschaft"
#, fuzzy
#| msgid ""
#| "option: option to change (for options list, look at /set weechat.proxy."
#| "<proxyname>.*)"
msgid ""
"option: option to change (for options list, look at /set weechat.proxy."
"<proxyname>.*)"
"<proxy_name>.*)"
msgstr ""
"Option: Option, die geändert werden soll (für eine Liste der möglichen "
"Optionen, bitte folgenden Befehl nutzen: /set weechat.proxy.<proxyname>.*)"
@@ -3570,7 +3743,7 @@ msgid "> ${repeat_index}: current index (from 1 to \"count\")"
msgstr "> ${repeat_index}: aktueller Index (von 1 bis \"Einheit\")"
msgid "> ${repeat_index0}: current index (from 0 to \"count\" - 1)"
msgstr "> ${repeat_index0}: aktueller Index (von 0 bis \"Einheit\" - 1)"
msgstr "> ${repeat_index0}: aktueller Index (von 0 bis \"Einheit\" - 1)"
msgid "> ${repeat_revindex}: current index from the end (from \"count\" to 1)"
msgstr "> ${repeat_revindex}: aktueller Index vom Ende (von \"Einheit\" bis 1)"
@@ -3691,7 +3864,7 @@ msgid "Keys on secure buffer:"
msgstr "Tastenbefehle für den secure-Buffer:"
msgid " alt+v toggle values"
msgstr " alt+v, Werte werden in Klartext angezeigt bzw. verborgen"
msgstr " alt+v Werte werden in Klartext angezeigt bzw. verborgen"
msgid ""
"When a passphrase is used (data encrypted), it is asked by WeeChat on "
@@ -3749,23 +3922,23 @@ msgstr " nutze Programm \"pass\" um die Passphrase beim Start auszulesen:"
msgid " encrypt libera SASL password:"
msgstr " verschlüsselt libera SASL Passwort:"
msgid " /secure set libera mypassword"
msgstr " /secure set libera MeinPasswort"
msgid " /secure set libera my_password"
msgstr " /secure set libera Mein_Passwort"
msgid " encrypt oftc password for nickserv:"
msgstr " verschlüsselt oftc Passwort für nickserv:"
msgid " /secure set oftc mypassword"
msgstr " /secure set oftc MeinPasswort"
msgid " /secure set oftc my_password"
msgstr " /secure set oftc Mein_Passwort"
msgid " alias to ghost the nick \"mynick\":"
msgstr " Alternativbefehl um den eigenen Nick zu ghosten:"
msgid " alias to ghost the nick \"andrew\":"
msgstr ""
msgid ""
" /alias add ghost /eval /msg -server libera nickserv ghost mynick $"
" /alias add ghost /eval /msg -server libera nickserv ghost andrew $"
"{sec.data.libera}"
msgstr ""
" /alias add ghost /eval /msg -server libera nickserv ghost MeinNick $"
" /alias add ghost /eval /msg -server libera nickserv ghost andrew $"
"{sec.data.libera}"
msgid "set config options and environment variables"
@@ -3815,7 +3988,7 @@ msgid ""
"(undefined value). This works only for some special plugin variables."
msgstr ""
"Hinweis: für alle Typen von Variablen kann die Zeichenkette \"null\" (ohne "
"\"\") genutzt werden, um den Wert der Einstellung zu löschen (undefinierter "
"\"\") genutzt werden, um den Wert der Einstellung zu löschen (undefinierter "
"Wert). Dies kann nur auf einige besondere Variablen (Erweiterungen) "
"angewendet werden."
@@ -4084,8 +4257,8 @@ msgstr ""
msgid "With option \"-quit\", the process is:"
msgstr "Nutzt man die \"-quit\" Funktion ist die Abfolge geringfügig anders:"
msgid " 1. close *ALL* connections (irc, xfer, relay, ...)"
msgstr " 1. es werden *ALLE* Verbindungen getrennt (irc,xfer,relay, ...)"
msgid " 1. close *ALL* connections (irc, xfer, relay, etc.)"
msgstr " 1. es werden *ALLE* Verbindungen getrennt (irc,xfer,relay, etc.)"
msgid " 2. save session into files (*.upgrade)"
msgstr " 2. die Sitzung wird in Dateien gesichert (*.upgrade)"
@@ -4680,7 +4853,7 @@ msgstr "Veraltete Taste wurde entfernt: \"%s\""
#, c-format
msgid "Legacy key converted: \"%s\" => \"%s\""
msgstr "Veraltete Taste konvertiert: \"%s\" => \"%s\""
msgstr "Veraltete Taste konvertiert: \"%s\" => \"%s\""
#, c-format
msgid "Command converted for key \"%s\": \"%s\" => \"%s\""
@@ -5230,7 +5403,7 @@ msgid ""
"the highest to lowest priority)"
msgstr ""
"maximale Anzahl an Nachrichtenzähler in der Hotlist, für einen Buffer: 0 = "
"der Nachrichtenzähler wird nicht dargestellt, nächst höhere Zahl = zeigt "
"der Nachrichtenzähler wird nicht dargestellt, nächst höhere Zahl = zeigt "
"maximal <N> Nachrichtenzähler an (von höchster zu niedrigster Priorität)"
msgid ""
@@ -5294,8 +5467,8 @@ msgstr ""
"eines Buffers (\"buffer.var\"); wird das \"-\" Zeichen vor einem Feld "
"angewendet, wird die Ausgabe umgekehrt, um bei einem Vergleich nicht "
"zwischen Groß- und Kleinschreibung zu unterscheiden wird das Zeichen \"~\" "
"verwendet; Beispiel: \"-priority,buffer.number\" sortiert die Hotliste nach "
"Priorität, dann nach Buffernummern, \"-~buffer.full_name\" für Groß-/"
"verwendet; Beispiel: \"-priority,buffer.number\" sortiert die Hotliste nach "
"Priorität, dann nach Buffernummern, \"-~buffer.full_name\" für Groß-/"
"Kleinschreibung und umgekehrte Sortierung nach vollständigem Buffernamen"
msgid "text displayed at the end of the hotlist"
@@ -5465,10 +5638,9 @@ msgstr ""
"Nicknamen enthalten sein der nicht in dieser Liste aufgeführt wird, damit "
"eine Farbe für den Nicknamen erstellt werden kann (Beispiel: Der Nickname "
"lautet \"|nick|abwesend\" wobei das Zeichen \"|\" ignoriert werden soll. Die "
"Farbe für den Nicknamen wird nun für \"|nick\" anstelle von \"|nick|"
"abwesend\" erstellt); diese Option hat einen Einfluss auf die Option "
"weechat.look.nick_color_force, dort aufgeführte Nicks sollten keine Zeichen "
"haben, die von dieser Option ignoriert werden"
"Farbe für den Nicknamen wird nun für \"|nick\"); diese Option hat einen "
"Einfluss auf die Option weechat.look.nick_color_force, dort aufgeführte "
"Nicks sollten keine Zeichen haben, die von dieser Option ignoriert werden"
msgid "text to display before nick in prefix of message, example: \"<\""
msgstr "Text, der vor dem Nick dargestellt werden soll, Beispiel: \"<\""
@@ -5879,7 +6051,7 @@ msgid ""
msgstr ""
"Textfarbe für Nicks im Chatfenster: Farbe wird für einige Server-Nachrichten "
"verwendet und als Ersatz falls eine Farbe für einen Nick nicht gefunden "
"wird; normalerweise wird die Farbe von der Option "
"wird; normalerweise wird die Farbe von der Option "
"weechat.color.chat_nick_colors bereitgestellt"
#. TRANSLATORS: please do not translate "lightred:blue"
@@ -6881,8 +7053,8 @@ msgstr "schreibe - Variable"
msgid "read - object type"
msgstr "lese - Objekt-Typ"
msgid "read - bad object type ('object start' expected)"
msgstr "lese - falscher Typ für Objekt ('object start' wurde erwartet)"
msgid "read - bad object type (\"object start\" expected)"
msgstr "lese - falscher Typ für Objekt (\"object start\" wurde erwartet)"
msgid "read - object id"
msgstr "lese - Objekt-ID"
@@ -6942,15 +7114,13 @@ msgstr "Übertragungsfehler"
msgid "curl error %d (%s) (URL: \"%s\")\n"
msgstr "curl Fehler %d (%s) (URL: \"%s\")\n"
#, fuzzy, c-format
#| msgid "%sURL transfer error: %s (URL: \"%s\")"
#, c-format
msgid "transfer stopped (URL: \"%s\")\n"
msgstr "%sURL Transferfehler: %s (URL: \"%s\")"
msgstr "Übertragung abgebrochen (URL: \"%s\")\n"
#, fuzzy, c-format
#| msgid "End of URL transfer '%s', timeout reached (%.3fs)"
#, c-format
msgid "transfer timeout reached (%.3fs) (URL: \"%s\")\n"
msgstr "Ende der URL-Übertragung „%s“, Zeitüberschreitung erreicht (%.3fs)"
msgstr "Übertragungszeitlimit erreicht (%.3fs) (URL: \"%s\")\n"
#, c-format
msgid "%sAnother command \"%s\" already exists for plugin \"%s\""
@@ -6998,136 +7168,9 @@ msgstr "Ende der URL-Übertragung „%s“, Zeitüberschreitung erreicht (%.3fs)
msgid "%sError running thread in hook_url: %s (URL: \"%s\")"
msgstr "%sFehler beim Ausführen des Threads in hook_url: %s (URL: \"%s\")"
#, fuzzy, c-format
#| msgid "End of URL transfer '%s', timeout reached (%.3fs)"
#, c-format
msgid "End of URL transfer '%s', transfer stopped"
msgstr "Ende der URL-Übertragung %s, Zeitüberschreitung erreicht (%.3fs)"
#. TRANSLATORS: "%s %s" after "compiled on" is date and time
#, c-format
msgid ""
"WeeChat %s Copyright %s, compiled on %s %s\n"
"Developed by Sébastien Helleu <flashcode@flashtux.org> - %s"
msgstr ""
"WeeChat %s Copyright %s, kompiliert am %s %s\n"
"Entwickelt von Sébastien Helleu <flashcode@flashtux.org> - %s"
#, c-format
msgid "Usage: %s [option...] [plugin:option...]\n"
msgstr "Aufruf: %s [Option...] [Erweiterung:Option...]\n"
msgid ""
" -a, --no-connect disable auto-connect to servers at startup\n"
" -c, --colors display default colors in terminal and exit\n"
" -d, --dir <path> force a single WeeChat home directory\n"
" or 5 different directories separated by colons "
"(in this order: config, data, state, cache, runtime)\n"
" (environment variable WEECHAT_HOME is read if "
"this option is not given)\n"
" -t, --temp-dir create a temporary WeeChat home directory and "
"delete it on exit\n"
" (incompatible with option \"-d\")\n"
" -h, --help display this help and exit\n"
" -i, --build-info display build information and exit\n"
" -l, --license display WeeChat license and exit\n"
" -p, --no-plugin don't load any plugin at startup\n"
" -P, --plugins <plugins> load only these plugins at startup\n"
" (see /help weechat.plugin.autoload)\n"
" -r, --run-command <cmd> run command(s) after startup;\n"
" many commands can be separated by semicolons and "
"are evaluated,\n"
" this option can be given multiple times\n"
" -s, --no-script don't load any script at startup\n"
" --upgrade upgrade WeeChat using session files (see /help "
"upgrade in WeeChat)\n"
" -v, --version display WeeChat version and exit\n"
" plugin:option option for plugin (see man weechat)\n"
msgstr ""
" -a, --no-connect deaktiviert das automatische Verbinden mit den "
"Servern beim Start von WeeChat\n"
" -c, --colors zeigt die Standardfarben des Terminals an\n"
" -d, --dir <Pfad> legt einen Konfigurationsordner für WeeChat fest\n"
" oder fünf verschiedene Verzeichnisse, die durch "
"Doppelpunkte getrennt werden (in folgender Reihenfolge: Konfiguration, "
"Daten, Zustand, Cache, Laufzeit)\n"
" (Umgebungsvariable WEECHAT_HOME wird genutzt, "
"falls diese Option nicht verwendet wird)\n"
" -t, --temp-dir erstellt ein temporäres WeeChat "
"Heimatverzeichnis, welches beim Beenden von WeeChat gelöscht wird\n"
" (nicht nutzbar mit Option \"-d\")\n"
" -h, --help zeigt diese Hilfe an\n"
" -i, --build-info Build-Informationen anzeigen und beenden\n"
" -l, --license zeigt die Lizenz von WeeChat an\n"
" -p, --no-plugin unterbindet beim Programmstart das Laden von "
"Erweiterungen\n"
" -P, --plugins <plugins> beim Programmstart, werden nur die angegebenen "
"Erweiterungen geladen\n"
" (siehe /help weechat.plugin.autoload)\n"
" -r, --run-command <cmd> führt einen oder mehrere Befehle nach dem Start "
"aus\n"
" mehrere Befehle können durch ein Semikolon "
"getrennt werden und sind evaluiert,\n"
" diese Option kann mehrfach genutzt werden\n"
" -s, --no-script Skripts werden beim Programmstart nicht geladen\n"
" --upgrade führt ein WeeChat-Upgrade, mittels "
"Sitzungsdateien durch (benutze in WeeChat /help upgrade)\n"
" -v, --version zeigt die Version von WeeChat an\n"
" plugin:option Einstellungen für Erweiterungen (siehe man "
"weechat)\n"
msgid "Extra options in headless mode:\n"
msgstr "Zusätzliche Optionen für den Hintergrundmodus:\n"
msgid ""
" --doc-gen <path> generate files to build documentation and exit\n"
msgstr ""
" --doc-gen <path> generiert Dateien, um die Dokumentation zu "
"erstellen, danach Programm beenden\n"
msgid ""
" --daemon run WeeChat as a daemon (fork, new process group, "
"file descriptors closed);\n"
msgstr ""
" --daemon startet WeeChat im Deamon-Modus (fork, neue "
"Prozessgruppe, Dateideskriptor geschlossen);\n"
msgid ""
" (by default in headless mode WeeChat is blocking "
"and does not run in background)\n"
msgstr ""
" (standardmäßig blockiert WeeChat im "
"Hintergrundmodus den Prozess und gibt das Terminal nicht frei)\n"
msgid ""
" --stdout display log messages on standard output instead "
"of writing them in log file\n"
msgstr ""
" --stdout die Programmausgabe findet in der Standardausgabe "
"an, anstatt sie in die Protokolldatei zu schreiben\n"
msgid ""
" (option ignored if option \"--daemon\" is given)\n"
msgstr ""
" (Option wird ignoriert, falls die Option \"--"
"daemon\" genutzt wird)\n"
msgid ""
"Debug options (for tools like valgrind, DO NOT USE IN PRODUCTION):\n"
" --no-dlclose do not call function dlclose after plugins are "
"unloaded\n"
" --no-gnutls disable init/deinit of gnutls\n"
" --no-gcrypt disable init/deinit of gcrypt\n"
msgstr ""
"Debug Optionen (für Tools wie valgrind, DIESE FUNKTIONEN SOLLTE NICHT IM "
"PRODUKTIVEM EINSATZ GENUTZT WERDEN):\n"
" --no-dlclose die Funktion dlclose wird nicht ausgeführt, "
"nachdem Erweiterungen beendet wurden\n"
" --no-gnutls deaktiviere init/deinit von gnutls\n"
" --no-gcrypt deaktiviere init/deinit von gcrypt\n"
#, c-format
msgid "Error: missing argument for \"%s\" option\n"
msgstr "Fehler: fehlendes Argument für die Einstellung \"%s\"\n"
msgstr "Ende der URL-Übertragung '%s', Übertragung gestoppt"
msgid "WeeChat is running in headless mode (ctrl-c to quit)."
msgstr "WeeChat läuft im Hintergrundmodus (ctrl-c zum Beenden)."
@@ -7176,7 +7219,7 @@ msgstr ""
#, c-format
msgid "%sYou should add this line in the file %s: %s"
msgstr "%sEs sollte folgende Zeile in Datei %s eingefügt werden: %s"
msgstr "%sEs sollte folgende Zeile in Datei %s eingefügt werden: %s"
#, c-format
msgid ""
@@ -7477,7 +7520,7 @@ msgstr "Neue Tastenbelegung (Kontext \"%s\"): %s%s => %s%s"
#, c-format
msgid "%sUnable to bind key \"%s\" in context \"%s\" (see /help key)"
msgstr ""
"%sTastenbelegung „%s“ kann nicht in diesem Kontext „%s“ zugeordnet werden "
"%sTastenbelegung „%s“ kann nicht in diesem Kontext „%s“ zugeordnet werden "
"(siehe /help key)"
#, c-format
@@ -7595,7 +7638,7 @@ msgstr ""
msgid "raw[list]: list aliases (without argument, this list is displayed)"
msgstr ""
"raw[list]: listet Alternativbefehle auf (ohne Angabe von Argumenten wird "
"raw[list]: listet Alternativbefehle auf (ohne Angabe von Argumenten wird "
"diese Liste dargestellt)"
msgid "raw[add]: add an alias"
@@ -7965,8 +8008,11 @@ msgstr ""
msgid ""
" - ${index_displayed}: index of line displayed in the bar item (starts at "
"0, only buffers displayed increment this index, see option "
"buflist.look.display_conditions"
"buflist.look.display_conditions)"
msgstr ""
" - ${index_displayed}: Index der Zeile die in der Bar-Item angezeigt wird "
"(beginnt bei 0, nur Buffer die dargestellt werden erhöhen diesen Index, "
"siehe Option buflist.look.display_conditions)"
msgid "buflist bar items"
msgstr "Buflist Bar-Items"
@@ -9341,7 +9387,7 @@ msgstr ""
"erstes von zwei Formaten um Optionen anzuzeigen, wird genutzt wenn die "
"Option fset.look.format_number auf 1 gesetzt ist (Hinweis: der Inhalt ist "
"evaluiert, siehe /help fset); eine leere Zeichenkette nutzt die "
"Standardeinstellung (\"${marked} ${name} ${type} ${value2}\"), dies findet "
"Standardeinstellung (\"${marked} ${name} ${type} ${value2}\"), dies findet "
"ohne eine Evaluierung statt, was wesentlich schneller ist; zwischen den "
"Formaten kann mittels ctrl-x umgeschaltet werden"
@@ -9355,7 +9401,7 @@ msgstr ""
"zweites von zwei Formaten um Optionen anzuzeigen,wird genutzt wenn die "
"Option fset.look.format_number auf 1 gesetzt ist (Hinweis: der Inhalt ist "
"evaluiert, siehe /help fset); eine leere Zeichenkette nutzt die "
"Standardeinstellung (\"${marked} ${name} ${type} ${value2}\"), dies findet "
"Standardeinstellung (\"${marked} ${name} ${type} ${value2}\"), dies findet "
"ohne eine Evaluierung statt, was wesentlich schneller ist; zwischen den "
"Formaten kann mittels ctrl-x umgeschaltet werden"
@@ -9792,7 +9838,7 @@ msgid "%s%s: not connected to server \"%s\"!"
msgstr "%s%s: Keine Verbindung zum Server \"%s\"!"
#, c-format
msgid "%s: auto-reconnection is cancelled"
msgid "%s: auto-reconnection is canceled"
msgstr "%s: automatische Wiederverbindung abgebrochen"
#, c-format
@@ -9958,6 +10004,11 @@ msgid_plural "seconds"
msgstr[0] "Sekunde"
msgstr[1] "Sekunden"
msgid "millisecond"
msgid_plural "milliseconds"
msgstr[0] "Millisekunde"
msgstr[1] "Millisekunden"
msgid "minute"
msgid_plural "minutes"
msgstr[0] "Minute"
@@ -10098,10 +10149,10 @@ msgstr ""
#. TRANSLATORS: only text between angle brackets (eg: "<name>") may be translated
msgid ""
"[-current] [-parted|-all] [-exclude=<channel>[,<channel>...]] <command> || [-"
"current] [-parted|-all] -include=<channel>[,<channel>...] <command>"
"current] [-parted|-all] [-include=<channel>[,<channel>...]] <command>"
msgstr ""
"[-current] [-parted|-all] [-exclude=<channel>[,<channel>...]] <command> || [-"
"current] [-parted|-all] -include=<channel>[,<channel>...] <command>"
"current] [-parted|-all] [-include=<channel>[,<channel>...]] <command>"
msgid "raw[-current]: execute command for channels of current server only"
msgstr ""
@@ -10190,11 +10241,11 @@ msgstr ""
#. TRANSLATORS: only text between angle brackets (eg: "<name>") may be translated
msgid ""
"[-current] [-exclude=<nick>[,<nick>...]] <command> || [-current] "
"-include=<nick>[,<nick>...] <command>"
"[-current] [-exclude=<nick>[,<nick>...]] <command> || [-current] [-"
"include=<nick>[,<nick>...]] <command>"
msgstr ""
"[-current] [-exclude=<nick>[,<nick>...]] <command> || [-current] "
"-include=<nick>[,<nick>...] <command>"
"[-current] [-exclude=<nick>[,<nick>...]] <command> || [-current] [-"
"include=<nick>[,<nick>...]] <command>"
msgid ""
"raw[-current]: execute command for private buffers of current server only"
@@ -10249,11 +10300,11 @@ msgstr "führt einen Befehl aus, der zu allen verbundenen Server gesendet wird"
#. TRANSLATORS: only text between angle brackets (eg: "<name>") may be translated
msgid ""
"[-exclude=<server>[,<server>...]] <command> || -include=<server>[,"
"<server>...] <command>"
"[-exclude=<server>[,<server>...]] <command> || [-include=<server>[,"
"<server>...]] <command>"
msgstr ""
"[-exclude=<server>[,<server>...]] <command> || -include=<server>[,"
"<server>...] <command>"
"[-exclude=<server>[,<server>...]] <command> || [-include=<server>[,"
"<server>...]] <command>"
msgid "raw[-exclude]: exclude some servers (wildcard \"*\" is allowed)"
msgstr ""
@@ -10413,7 +10464,7 @@ msgstr ""
"mit \"-\" beginnt, zum Beispiel: \"-multi-prefix\")"
msgid ""
"raw[ack]: acknowledge capabilities which require client-side acknowledgement"
"raw[ack]: acknowledge capabilities which require client-side acknowledgment"
msgstr ""
"raw[ack]: bestätigt eine Fähigkeit, die von Serverseite eine Bestätigung "
"erfordert"
@@ -12470,14 +12521,15 @@ msgstr "links/rechts im /list Buffer scrollen (prozentual zur Breite)"
msgid ""
"comma-separated list of fields to sort channels (see /help list for a list "
"of fields); char \"-\" can be used before field to reverse order, char \"~\" "
"can be used to do a case-insensitive comparison; example: \"-users,~name\" "
"for biggest channels first then case-insensitive sort on name"
"can be used to do a case-insensitive comparison; example: \"-users,~name2\" "
"for biggest channels first then case-insensitive sort on channel name "
"without prefix"
msgstr ""
"Durch Kommas getrennte Liste von Feldern zum Sortieren von Kanälen (eine "
"Liste von Feldern finden Sie in /help list); Zeichen „-“ kann vor dem Feld "
"verwendet werden, um die Reihenfolge umzukehren, Zeichen „~“ kann verwendet "
"werden, um einen Vergleich ohne Berücksichtigung der Groß- und "
"Kleinschreibung durchzuführen; Beispiel: -users,~name führt zuerst die "
"Liste von Feldern findet man in /help list); Das Zeichen \"-\" kann vor dem "
"Feld verwendet werden, um die Reihenfolge umzukehren, Zeichen \"~\" kann "
"verwendet werden, um einen Vergleich ohne Berücksichtigung der Groß- und "
"Kleinschreibung durchzuführen; Beispiel: \"-users,~name2\" führt zuerst die "
"größten Kanäle auf, dann erfolgt die Sortierung, ohne Berücksichtigung der "
"Groß- und Kleinschreibung, nach Namen"
@@ -15896,7 +15948,7 @@ msgid "%s%s: no connection to remote relay \"%s\""
msgstr "%s%s: keine Verbindung zum Remote-Relay \"%s\""
#, c-format
msgid "remote[%s]: auto-reconnection is cancelled"
msgid "remote[%s]: auto-reconnection is canceled"
msgstr "remote[%s]: automatische Wiederverbindung abgebrochen"
#, c-format
@@ -17814,7 +17866,7 @@ msgstr "erstelle Variable"
#, c-format
msgid "%s%lu%s running command %s\"%s%s%s\"%s on buffer %s%s%s"
msgstr "%s%lu%s führe Befehl %s\"%s%s%s\"%s für Buffer %s%s%s aus"
msgstr "%s%lu%s führe Befehl %s\"%s%s%s\"%s für Buffer %s%s%s aus"
#, c-format
msgid ""
@@ -18479,8 +18531,8 @@ msgid "%s%s: invalid regular expression in trigger: \"%s\""
msgstr "%s%s: ungültiger regulärer Ausdruck in Trigger: \"%s\""
#. TRANSLATORS: this text is displayed before the list of nicks typing in the bar item "typing", it must be as short as possible
msgid "Typing:"
msgstr "Tippstatus:"
msgid "Typing: "
msgstr "Tippstatus: "
msgid ""
"number of seconds after paused status has been set: if reached, the typing "
@@ -18528,6 +18580,14 @@ msgstr ""
"maximale Anzahl von Zeichen, die im Bar-Item \"typing\" angezeigt werden (0 "
"= Inhalt nicht abschneiden)"
msgid ""
"text to display before the nicks in the bar item \"typing\"; if set, it is "
"used instead of the translated string \"Typing: \" which is used by default"
msgstr ""
"Text, der vor den Nicks im Bar-Element \"typing\" angezeigt werden soll; "
"falls festgelegt, wird dieser anstelle der standardmäßigen Übersetzung "
"\"Tippstatus:\" verwendet"
msgid "Typing status of users"
msgstr "Tippstatus von Benutzern"
@@ -18667,12 +18727,14 @@ msgstr ""
"beim Versenden von Daten wird nicht auf ein Bestätigungssignal (ACK) gewartet"
msgid ""
"IP or DNS address used for sending and passively receiving files/chats (if "
"empty, local interface IP is used)"
"IP or DNS address used for sending and passively receiving files/chats; if "
"empty, local interface IP is used (note: content is evaluated, see /help "
"eval)"
msgstr ""
"IP- oder DNS-Adresse, die zum Senden und passiven Empfangen von Dateien/"
"Chats verwendet wird (falls kein Wert angegeben ist, wird die IP der lokalen "
"Schnittstelle verwendet)"
"Chats verwendet wird. Falls kein Wert angegeben ist, wird die IP der lokalen "
"Schnittstelle verwendet (Hinweis: Der Inhalt wird ausgewertet, siehe /help "
"eval)"
msgid ""
"restricts outgoing files/chats and incoming/passive files to use only ports "
+239 -189
View File
@@ -24,8 +24,8 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2026-03-16 13:17+0100\n"
"PO-Revision-Date: 2025-10-27 08:26+0100\n"
"POT-Creation-Date: 2026-03-21 17:24+0100\n"
"PO-Revision-Date: 2026-03-12 20:24+0100\n"
"Last-Translator: Santiago Forero <santiago@forero.xyz>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
"Language: es\n"
@@ -34,6 +34,181 @@ msgstr ""
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#. TRANSLATORS: command line option "-a", "--no-connect"
#, fuzzy
#| msgid "%s%s: unable to connect to sender"
msgid "disable auto-connect to servers at startup"
msgstr "%s%s: no es posible conectarse al transmisor"
#. TRANSLATORS: command line option "-c", "--colors"
msgid "display default colors in terminal and exit"
msgstr ""
#. TRANSLATORS: only "<path>" may be translated
msgid "-d, --dir <path>"
msgstr ""
#. TRANSLATORS: command line option "-d", "--dir <path>"
msgid ""
"force a single WeeChat home directory or 5 different directories separated "
"by colons (in this order: config, data, state, cache, runtime) (environment "
"variable WEECHAT_HOME is read if this option is not given)"
msgstr ""
#. TRANSLATORS: command line option "-t", "--temp-dir"
msgid ""
"create a temporary WeeChat home directory and delete it on exit "
"(incompatible with option \"-d\")"
msgstr ""
#. TRANSLATORS: command line option "-h", "--help"
#, fuzzy
#| msgid "use same nick color for channel and private"
msgid "display this help and exit"
msgstr "usar el mismo color de apodo en el canal y conversaciones privadas"
#. TRANSLATORS: command line option "-i", "--build-info"
msgid "display build information and exit"
msgstr ""
#. TRANSLATORS: command line option "-l", "--license"
#, fuzzy
#| msgid "display WeeChat logo at startup"
msgid "display WeeChat license and exit"
msgstr "mostrar el logo de WeeChat en el arranque"
#. TRANSLATORS: command line option "-p", "--no-plugin"
#, fuzzy
#| msgid "display WeeChat logo at startup"
msgid "don't load any plugin at startup"
msgstr "mostrar el logo de WeeChat en el arranque"
#. TRANSLATORS: only "<plugins>" may be translated
msgid "-P, --plugins <plugins>"
msgstr ""
#. TRANSLATORS: command line option "-P", "--plugins <plugins>"
msgid "load only these plugins at startup (see /help weechat.plugin.autoload)"
msgstr ""
#. TRANSLATORS: only "<cmd>" may be translated (please keep it short)
msgid "-r, --run-command <cmd>"
msgstr ""
#. TRANSLATORS: command line option "-r", "--run-command <cmd>"
#, fuzzy
#| msgid ""
#| "command executed when WeeChat starts, after loading plugins; multiple "
#| "commands can be separated by semicolons (note: commands are evaluated, "
#| "see /help eval)"
msgid ""
"run command(s) after startup; many commands can be separated by semicolons "
"and are evaluated, this option can be given multiple times"
msgstr ""
"comando ejecutado cuando WeeChat inicia, después de cargar los plugins, "
"multiples comandos pueden ser separados por puntos y comas (nota: los "
"comandos se evaluan, ver /help eval)"
#. TRANSLATORS: command line option "-s", "--no-script"
msgid "don't load any script at startup"
msgstr ""
#. TRANSLATORS: command line option "--upgrade"
#, fuzzy
#| msgid "%sUnable to save session in file"
msgid "upgrade WeeChat using session files (see /help upgrade in WeeChat)"
msgstr "%sError: no se pudo guardar la sesión"
#. TRANSLATORS: command line option "-v", "--version"
#, fuzzy
#| msgid "display WeeChat version at startup"
msgid "display WeeChat version and exit"
msgstr "mostrar la versión de WeeChat en el arranque"
#. TRANSLATORS: command line option: "plugin" and "option" may be translated
#, fuzzy
#| msgid "plugin pointer (optional)"
msgid "plugin:option"
msgstr "puntero del plugin (opcional)"
#. TRANSLATORS: command line option "plugin:option"
msgid "option for plugin (see man weechat)"
msgstr ""
#. TRANSLATORS: only "<path>" may be translated
msgid "--doc-gen <path>"
msgstr ""
#. TRANSLATORS: command line option "--doc-gen <path>"
msgid "generate files to build documentation and exit"
msgstr ""
#. TRANSLATORS: command line option "--daemon"
#, fuzzy
#| msgid ""
#| " (by default in headless mode WeeChat is "
#| "blocking and does not run in background)\n"
msgid ""
"run WeeChat as a daemon (fork, new process group, file descriptors closed); "
"by default in headless mode WeeChat is blocking and does not run in "
"background"
msgstr ""
" (por defecto en el modo de segundo plano WeeChat "
"está bloqueado y no se ejecuta)\n"
#. TRANSLATORS: command line option "--stdout"
#, fuzzy
#| msgid ""
#| " --stdout display log messages on standard output "
#| "instead of writing them in log file\n"
msgid ""
"display log messages on standard output instead of writing them in log file "
"(option ignored if option \"--daemon\" is given)"
msgstr ""
" --stdout imprime los registros (logs) en salida estandar "
"en lugar de escribirlos en un archivo\n"
#. TRANSLATORS: command line option "--no-dlclose"
msgid "do not call function dlclose after plugins are unloaded"
msgstr ""
#. TRANSLATORS: command line option "--no-gnutls"
msgid "disable init/deinit of gnutls"
msgstr ""
#. TRANSLATORS: command line option "--no-gcrypt"
msgid "disable init/deinit of gcrypt"
msgstr ""
#. TRANSLATORS: "%s %s" after "compiled on" is date and time
#, c-format
msgid ""
"WeeChat %s Copyright %s, compiled on %s %s\n"
"Developed by Sébastien Helleu <flashcode@flashtux.org> - %s"
msgstr ""
"WeeChat %s Copyright %s, compilado en %s %s\n"
"Desarrollado por Sébastien Helleu <flashcode@flashtux.org> - %s"
msgid "Usage:"
msgstr ""
#, fuzzy
#| msgid "Usage: %s [option...] [plugin:option...]\n"
msgid "[option...] [plugin:option...]"
msgstr "Uso: %s [opción...] [plugin:opción...]\n"
#, fuzzy
#| msgid "Extra options in headless mode:\n"
msgid "Extra options in headless mode:"
msgstr "Opciones extra en el modo de segundo plano:\n"
msgid "Debug options (for tools like valgrind, DO NOT USE IN PRODUCTION):"
msgstr ""
#, c-format
msgid "Error: missing argument for \"%s\" option\n"
msgstr "Error: falta un argumento para la opción \"%s\"\n"
msgid "List of bars:"
msgstr "Lista de barras:"
@@ -143,15 +318,15 @@ msgid "%sUnable to scroll bar \"%s\""
msgstr "%sError: no se puede desplazar la barra \"%s\""
#, c-format
msgid "%sBuffer number \"%d\" is out of range (it must be between 1 and %d)"
msgstr "%sNúmero de buffer \"%d\" inválido (debe ser entre 1 y %d)"
msgid "%sBuffer number %d is out of range (it must be between 1 and %d)"
msgstr "%sNúmero de buffer %d inválido (debe ser entre 1 y %d)"
msgid "Buffers list:"
msgstr "Lista de buffers:"
#, c-format
msgid " %s[%s%d%s]%s %s%s.%s%s%s (notify: %s%s%s)%s%s"
msgstr " %s[%s%d%s]%s %s%s.%s%s%s (aviso: %s%s%s)%s%s)"
msgstr " %s[%s%d%s]%s %s%s.%s%s%s (aviso: %s%s%s)%s%s)"
#, c-format
msgid "%sBuffer name \"%s\" is reserved for WeeChat"
@@ -179,7 +354,7 @@ msgstr "%sError: el buffer principal de WeeChat no puede ser cerrado"
#, c-format
msgid "Notify for \"%s%s%s\": \"%s%s%s\""
msgstr "Notificar \"%s%s%s\": \"%s%s%s\""
msgstr "Notificar \"%s%s%s\": \"%s%s%s\""
#, c-format
msgid "%sUnable to set notify level \"%s\""
@@ -511,9 +686,9 @@ msgstr ""
"atajos"
#, c-format
msgid "%d new key added"
msgid "%d new key added (context: \"%s\")"
msgid_plural "%d new keys added (context: \"%s\")"
msgstr[0] "%d nuevo atajo agregado"
msgstr[0] "%d nuevo atajo agregado (contexto: \"%s\")"
msgstr[1] "%d nuevos atajos agregados (contexto: \"%s\")"
msgid "Stored layouts:"
@@ -1151,7 +1326,7 @@ msgstr ""
msgid ""
"option: option to change (for options list, look at /set weechat.bar."
"<barname>.*)"
"<bar_name>.*)"
msgstr ""
#, fuzzy
@@ -1648,8 +1823,12 @@ msgid "evaluate expression"
msgstr "evaluar expresión"
#. TRANSLATORS: only text between angle brackets (eg: "<name>") may be translated
#, fuzzy
#| msgid ""
#| "[-n|-s] [-d] <expression> || [-n] [-d [-d]] -c <expression1> <operator> "
#| "<expression2>"
msgid ""
"[-n|-s] [-d] <expression> || [-n] [-d [-d]] -c <expression1> <operator> "
"[-n|-s] [-e] [-d] <expression> || [-n] [-d [-d]] -c <expression1> <operator> "
"<expression2>"
msgstr ""
"[-n|-s] [-d] <expresión> || [-n] [-d [-d]] -c <expresión1> <operador> "
@@ -1663,6 +1842,9 @@ msgid ""
"separated by semicolons)"
msgstr ""
msgid "raw[-e]: evaluate all commands before executing them"
msgstr ""
msgid ""
"raw[-d]: display debug output after evaluation (with two -d: more verbose "
"debug)"
@@ -2210,7 +2392,7 @@ msgstr "mostrar ayuda sobre los comandos y opciones"
#. TRANSLATORS: only text between angle brackets (eg: "<name>") may be translated
#, fuzzy
#| msgid "-list|-listfull [<plugin> [<plugin>...]] || <command> || <option>"
msgid "-list|-listfull [<plugin>...]] || <command> || <option>"
msgid "-list|-listfull [<plugin>...] || <command> || <option>"
msgstr "-list|-listfull [<plugin> [<plugin>...]] || <comando> || <opción>"
msgid ""
@@ -2273,9 +2455,9 @@ msgid "raw[clear]: clear hotlist"
msgstr ""
msgid ""
"level: \"lowest\" to clear only lowest level in hotlist, highest\" to clear "
"only highest level in hotlist, or level mask: integer which is a combination "
"of 1=join/part, 2=message, 4=private, 8=highlight"
"level: \"lowest\" to clear only lowest level in hotlist, \"highest\" to "
"clear only highest level in hotlist, or level mask: integer which is a "
"combination of 1=join/part, 2=message, 4=private, 8=highlight"
msgstr ""
msgid "raw[remove]: remove current buffer from hotlist"
@@ -3173,7 +3355,7 @@ msgstr ""
msgid ""
"option: option to change (for options list, look at /set weechat.proxy."
"<proxyname>.*)"
"<proxy_name>.*)"
msgstr ""
msgid " add a http proxy, running on local host, port 8888:"
@@ -3447,20 +3629,20 @@ msgstr ""
msgid " encrypt libera SASL password:"
msgstr ""
msgid " /secure set libera mypassword"
msgid " /secure set libera my_password"
msgstr ""
msgid " encrypt oftc password for nickserv:"
msgstr ""
msgid " /secure set oftc mypassword"
msgid " /secure set oftc my_password"
msgstr ""
msgid " alias to ghost the nick \"mynick\":"
msgid " alias to ghost the nick \"andrew\":"
msgstr ""
msgid ""
" /alias add ghost /eval /msg -server libera nickserv ghost mynick $"
" /alias add ghost /eval /msg -server libera nickserv ghost andrew $"
"{sec.data.libera}"
msgstr ""
@@ -3727,7 +3909,7 @@ msgstr ""
msgid "With option \"-quit\", the process is:"
msgstr ""
msgid " 1. close *ALL* connections (irc, xfer, relay, ...)"
msgid " 1. close *ALL* connections (irc, xfer, relay, etc.)"
msgstr ""
#, fuzzy
@@ -6190,8 +6372,8 @@ msgstr "escritura - variable"
msgid "read - object type"
msgstr "lectura - tipo objeto"
msgid "read - bad object type ('object start' expected)"
msgstr "lectura - tipo de objeto incorrecto (se esperaba 'object start')"
msgid "read - bad object type (\"object start\" expected)"
msgstr "lectura - tipo de objeto incorrecto (se esperaba \"object start\")"
msgid "read - object id"
msgstr "lectura - id objeto"
@@ -6312,152 +6494,6 @@ msgstr ""
msgid "End of URL transfer '%s', transfer stopped"
msgstr "Fin del comando '%s', tiempo de espera alcanzado (%.1fs)"
#. TRANSLATORS: "%s %s" after "compiled on" is date and time
#, c-format
msgid ""
"WeeChat %s Copyright %s, compiled on %s %s\n"
"Developed by Sébastien Helleu <flashcode@flashtux.org> - %s"
msgstr ""
"WeeChat %s Copyright %s, compilado en %s %s\n"
"Desarrollado por Sébastien Helleu <flashcode@flashtux.org> - %s"
#, c-format
msgid "Usage: %s [option...] [plugin:option...]\n"
msgstr "Uso: %s [opción...] [plugin:opción...]\n"
#
#, fuzzy
#| msgid ""
#| " -a, --no-connect disable auto-connect to servers at startup\n"
#| " -c, --colors display default colors in terminal\n"
#| " -d, --dir <path> force a single WeeChat home directory\n"
#| " or 4 different directories separated by colons "
#| "(in this order: config, data, cache, runtime)\n"
#| " (environment variable WEECHAT_HOME is read if "
#| "this option is not given)\n"
#| " -t, --temp-dir create a temporary WeeChat homedirectory and "
#| "delete it on exit\n"
#| " (incompatible with option \"-d\")\n"
#| " -h, --help display this help\n"
#| " -l, --license display WeeChat license\n"
#| " -p, --no-plugin don't load any plugin at startup\n"
#| " -P, --plugins <plugins> load only these plugins at startup\n"
#| " (see /help weechat.plugin.autoload)\n"
#| " -r, --run-command <cmd> run command(s) after startup;\n"
#| " many commands can be separated by semicolons "
#| "and are evaluated,\n"
#| " this option can be given multiple times\n"
#| " -s, --no-script don't load any script at startup\n"
#| " --upgrade upgrade WeeChat using session files (see /help "
#| "upgrade in WeeChat)\n"
#| " -v, --version display WeeChat version\n"
#| " plugin:option option for plugin (see man weechat)\n"
msgid ""
" -a, --no-connect disable auto-connect to servers at startup\n"
" -c, --colors display default colors in terminal and exit\n"
" -d, --dir <path> force a single WeeChat home directory\n"
" or 5 different directories separated by colons "
"(in this order: config, data, state, cache, runtime)\n"
" (environment variable WEECHAT_HOME is read if "
"this option is not given)\n"
" -t, --temp-dir create a temporary WeeChat home directory and "
"delete it on exit\n"
" (incompatible with option \"-d\")\n"
" -h, --help display this help and exit\n"
" -i, --build-info display build information and exit\n"
" -l, --license display WeeChat license and exit\n"
" -p, --no-plugin don't load any plugin at startup\n"
" -P, --plugins <plugins> load only these plugins at startup\n"
" (see /help weechat.plugin.autoload)\n"
" -r, --run-command <cmd> run command(s) after startup;\n"
" many commands can be separated by semicolons and "
"are evaluated,\n"
" this option can be given multiple times\n"
" -s, --no-script don't load any script at startup\n"
" --upgrade upgrade WeeChat using session files (see /help "
"upgrade in WeeChat)\n"
" -v, --version display WeeChat version and exit\n"
" plugin:option option for plugin (see man weechat)\n"
msgstr ""
" -a, --no-connect desactivar la autoconexión de los servidores al "
"inicio\n"
" -c, --colors mostrar los colores predeterminados en la "
"terminal\n"
" -d, --dir <path> establecer el directorio raíz de WeeChat\n"
" o 4 directorios diferentes separados por dos "
"puntos (en este orden: configuración, datos, cache, ejecución)\n"
" (la variable WEECHAT_HOME es usada si esta opción "
"no es dada)\n"
" -t, --temp-dir crear un directorio raíz temporal para weechat y "
"borrarlo al salir\n"
" (incompatible con la opción \"-d\")\n"
" -h, --help mostrar esta ayuda\n"
" -l, --license mostrar la licencia de Weechat\n"
" -p, --no-plugin no cargar ningún plugin al inicio\n"
" -P, --plugins <plugins> cargar solo estos plugins al inicio\n"
" (ver /help weechat.plugin.autoload)\n"
" -r, --run-command <cmd> ejecutar un comando luego del inicio;\n"
" varios cmoandos pueden ser separados por dos "
"puntos y son evaluados\n"
" esta opción se puede usar varias veces\n"
" -s, --no-script no cargar ningún script al inicio\n"
" --upgrade actualizar WeeChat usando archivos de sesión "
"(ver /help upgrade in WeeChat)\n"
" -v, --version mostrar la versión de WeeChat\n"
" plugin:option opción para plugin (ver man weechat)\n"
msgid "Extra options in headless mode:\n"
msgstr "Opciones extra en el modo de segundo plano:\n"
msgid ""
" --doc-gen <path> generate files to build documentation and exit\n"
msgstr ""
msgid ""
" --daemon run WeeChat as a daemon (fork, new process group, "
"file descriptors closed);\n"
msgstr ""
" --daemon ejecuta WeeChat como un daemon (fork, nuevo grupo "
"de procesos, file descriptores cerrados);\n"
msgid ""
" (by default in headless mode WeeChat is blocking "
"and does not run in background)\n"
msgstr ""
" (por defecto en el modo de segundo plano WeeChat "
"está bloqueado y no se ejecuta)\n"
msgid ""
" --stdout display log messages on standard output instead "
"of writing them in log file\n"
msgstr ""
" --stdout imprime los registros (logs) en salida estandar "
"en lugar de escribirlos en un archivo\n"
msgid ""
" (option ignored if option \"--daemon\" is given)\n"
msgstr ""
" (opción ignorada si la opción \"--daemon\" es "
"indicada)\n"
msgid ""
"Debug options (for tools like valgrind, DO NOT USE IN PRODUCTION):\n"
" --no-dlclose do not call function dlclose after plugins are "
"unloaded\n"
" --no-gnutls disable init/deinit of gnutls\n"
" --no-gcrypt disable init/deinit of gcrypt\n"
msgstr ""
"Opciones de depuración (para herramientas como valgrind, NO USAR EN "
"PRODUCCIÓN):\n"
" --no-dlclose no llamar a la función dlclose luego de que los "
"plugins estén descargados\n"
" --no-gnutls desactivar init/deinit de gnutls\n"
" --no-gcrypt desactivar init/deinit de gcrypt\n"
#, c-format
msgid "Error: missing argument for \"%s\" option\n"
msgstr "Error: falta un argumento para la opción \"%s\"\n"
#, fuzzy
#| msgid "WeeChat is running in headless mode (Ctrl-C to quit)."
msgid "WeeChat is running in headless mode (ctrl-c to quit)."
@@ -6506,7 +6542,7 @@ msgstr ""
#, c-format
msgid "%sYou should add this line in the file %s: %s"
msgstr "%sDeberías añadir esta línea al archivo %s: %s"
msgstr "%sDeberías añadir esta línea al archivo %s: %s"
#, c-format
msgid ""
@@ -6781,7 +6817,7 @@ msgstr ""
#, c-format
msgid "New key binding (context \"%s\"): %s%s => %s%s"
msgstr "Nuevo atajo (contexto \"%s\"): %s%s => %s%s"
msgstr "Nuevo atajo (contexto \"%s\"): %s%s => %s%s"
#, fuzzy, c-format
#| msgid "%sUnable to bind key \"%s\""
@@ -7197,7 +7233,7 @@ msgstr ""
msgid ""
" - ${index_displayed}: index of line displayed in the bar item (starts at "
"0, only buffers displayed increment this index, see option "
"buflist.look.display_conditions"
"buflist.look.display_conditions)"
msgstr ""
#, fuzzy
@@ -8761,7 +8797,7 @@ msgid "%s%s: not connected to server \"%s\"!"
msgstr "%s%s: ¡no conectado al servidor \"%s\"!"
#, c-format
msgid "%s: auto-reconnection is cancelled"
msgid "%s: auto-reconnection is canceled"
msgstr "%s: autoreconexión cancelada"
#, c-format
@@ -8929,6 +8965,14 @@ msgid_plural "seconds"
msgstr[0] "segundo"
msgstr[1] "segundos"
#, fuzzy
#| msgid "second"
#| msgid_plural "seconds"
msgid "millisecond"
msgid_plural "milliseconds"
msgstr[0] "segundo"
msgstr[1] "segundos"
msgid "minute"
msgid_plural "minutes"
msgstr[0] "minuto"
@@ -9092,7 +9136,7 @@ msgstr ""
#, fuzzy
msgid ""
"[-current] [-parted|-all] [-exclude=<channel>[,<channel>...]] <command> || [-"
"current] [-parted|-all] -include=<channel>[,<channel>...] <command>"
"current] [-parted|-all] [-include=<channel>[,<channel>...]] <command>"
msgstr "[-current] [-exclude=<canal>[,<canal>...]] <comando> [<argumentos>]"
#, fuzzy
@@ -9197,8 +9241,8 @@ msgstr ""
#. TRANSLATORS: only text between angle brackets (eg: "<name>") may be translated
#, fuzzy
msgid ""
"[-current] [-exclude=<nick>[,<nick>...]] <command> || [-current] "
"-include=<nick>[,<nick>...] <command>"
"[-current] [-exclude=<nick>[,<nick>...]] <command> || [-current] [-"
"include=<nick>[,<nick>...]] <command>"
msgstr "[-current] [-exclude=<canal>[,<canal>...]] <comando> [<argumentos>]"
#, fuzzy
@@ -9253,8 +9297,8 @@ msgstr "ejecuta un comando en todos los servidores conectados"
#. TRANSLATORS: only text between angle brackets (eg: "<name>") may be translated
#, fuzzy
msgid ""
"[-exclude=<server>[,<server>...]] <command> || -include=<server>[,"
"<server>...] <command>"
"[-exclude=<server>[,<server>...]] <command> || [-include=<server>[,"
"<server>...]] <command>"
msgstr "[-exclude=<servidor>[,<servidor>...]] <comando> [<argumentos>]"
msgid "raw[-exclude]: exclude some servers (wildcard \"*\" is allowed)"
@@ -9419,7 +9463,7 @@ msgid ""
msgstr ""
msgid ""
"raw[ack]: acknowledge capabilities which require client-side acknowledgement"
"raw[ack]: acknowledge capabilities which require client-side acknowledgment"
msgstr ""
#, fuzzy
@@ -11510,8 +11554,9 @@ msgstr ""
msgid ""
"comma-separated list of fields to sort channels (see /help list for a list "
"of fields); char \"-\" can be used before field to reverse order, char \"~\" "
"can be used to do a case-insensitive comparison; example: \"-users,~name\" "
"for biggest channels first then case-insensitive sort on name"
"can be used to do a case-insensitive comparison; example: \"-users,~name2\" "
"for biggest channels first then case-insensitive sort on channel name "
"without prefix"
msgstr ""
#, fuzzy
@@ -11555,7 +11600,7 @@ msgid ""
"channel/pv of server)"
msgstr ""
"fuerza la posición de nuevos privados en la lista de buffers (none = "
"posición predeterminada (último buffer), next = buffer actual + 1, "
"posición predeterminada (último buffer), next = buffer actual + 1, "
"near_server = después del último canal/privado del server)"
msgid ""
@@ -12799,7 +12844,7 @@ msgstr "%s%s: no conectado al servidor \"%s\" para la redirección"
#, c-format
msgid "%s%s: missing argument \"%s\" for redirect"
msgstr "%s%s: falta el argumento \"%s\" para la redirección"
msgstr "%s%s: falta el argumento \"%s\" para la redirección"
#, c-format
msgid "%s%s: redirect pattern \"%s\" not found"
@@ -14886,10 +14931,9 @@ msgstr "%s%s: no se encontró el servidor \"%s\" para el comando \"%s\""
msgid "%s%s: no connection to remote relay \"%s\""
msgstr "%s%s: ¡no conectado al servidor \"%s\"!"
#, fuzzy, c-format
#| msgid "%s: auto-reconnection is cancelled"
msgid "remote[%s]: auto-reconnection is cancelled"
msgstr "%s: autoreconexión cancelada"
#, c-format
msgid "remote[%s]: auto-reconnection is canceled"
msgstr ""
#, fuzzy, c-format
#| msgid "%s%s: server \"%s\" already exists for \"%s\" command"
@@ -17233,7 +17277,7 @@ msgid "%s%s: invalid regular expression in trigger: \"%s\""
msgstr "%s%s: error al compilar la expresión regular \"%s\""
#. TRANSLATORS: this text is displayed before the list of nicks typing in the bar item "typing", it must be as short as possible
msgid "Typing:"
msgid "Typing: "
msgstr ""
msgid ""
@@ -17267,6 +17311,11 @@ msgid ""
"truncate content)"
msgstr ""
msgid ""
"text to display before the nicks in the bar item \"typing\"; if set, it is "
"used instead of the translated string \"Typing: \" which is used by default"
msgstr ""
msgid "Typing status of users"
msgstr ""
@@ -17419,8 +17468,9 @@ msgstr "no esperar por el ACK al enviar un archivo"
#| "IP or DNS address used for sending files/chats (if empty, local interface "
#| "IP is used)"
msgid ""
"IP or DNS address used for sending and passively receiving files/chats (if "
"empty, local interface IP is used)"
"IP or DNS address used for sending and passively receiving files/chats; if "
"empty, local interface IP is used (note: content is evaluated, see /help "
"eval)"
msgstr ""
"dirección IP o DNS usado para enviar archivos/charlas (si está vacío, se "
"utiliza la IP de interfaz local)"
+294 -229
View File
@@ -23,8 +23,8 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2026-03-16 13:17+0100\n"
"PO-Revision-Date: 2026-03-16 13:18+0100\n"
"POT-Creation-Date: 2026-03-21 17:24+0100\n"
"PO-Revision-Date: 2026-03-21 17:29+0100\n"
"Last-Translator: Sébastien Helleu <flashcode@flashtux.org>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
"Language: fr\n"
@@ -33,6 +33,164 @@ msgstr ""
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
#. TRANSLATORS: command line option "-a", "--no-connect"
msgid "disable auto-connect to servers at startup"
msgstr "désactiver l'auto-connexion aux serveurs au démarrage"
#. TRANSLATORS: command line option "-c", "--colors"
msgid "display default colors in terminal and exit"
msgstr "afficher les couleurs par défaut du terminal et quitter"
#. TRANSLATORS: only "<path>" may be translated
msgid "-d, --dir <path>"
msgstr "-d, --dir <rep>"
#. TRANSLATORS: command line option "-d", "--dir <path>"
msgid ""
"force a single WeeChat home directory or 5 different directories separated "
"by colons (in this order: config, data, state, cache, runtime) (environment "
"variable WEECHAT_HOME is read if this option is not given)"
msgstr ""
"forcer un unique répertoire de base pour WeeChat ou 5 répertoires différents "
"séparés par \":\" (dans cet ordre : config, data, state, cache, runtime) (la "
"variable d'environnement WEECHAT_HOME est lue si cette option n'est pas "
"donnée)"
#. TRANSLATORS: command line option "-t", "--temp-dir"
msgid ""
"create a temporary WeeChat home directory and delete it on exit "
"(incompatible with option \"-d\")"
msgstr ""
"créer un répertoire de base WeeChat temporaire et le supprimer en quittant "
"(incompatible avec l'option \"-d\")"
#. TRANSLATORS: command line option "-h", "--help"
msgid "display this help and exit"
msgstr "afficher cette aide et quitter"
#. TRANSLATORS: command line option "-i", "--build-info"
msgid "display build information and exit"
msgstr "afficher les informations de construction et quitter"
#. TRANSLATORS: command line option "-l", "--license"
msgid "display WeeChat license and exit"
msgstr "afficher la licence WeeChat et quitter"
#. TRANSLATORS: command line option "-p", "--no-plugin"
msgid "don't load any plugin at startup"
msgstr "ne charger aucune extension au démarrage"
#. TRANSLATORS: only "<plugins>" may be translated
msgid "-P, --plugins <plugins>"
msgstr "-P, --plugins <exts>"
#. TRANSLATORS: command line option "-P", "--plugins <plugins>"
msgid "load only these plugins at startup (see /help weechat.plugin.autoload)"
msgstr ""
"charger uniquement ces extensions au démarrage (voir /help "
"weechat.plugin.autoload)"
#. TRANSLATORS: only "<cmd>" may be translated (please keep it short)
msgid "-r, --run-command <cmd>"
msgstr "-r, --run-command <cmd>"
#. TRANSLATORS: command line option "-r", "--run-command <cmd>"
msgid ""
"run command(s) after startup; many commands can be separated by semicolons "
"and are evaluated, this option can be given multiple times"
msgstr ""
"lancer la/les commande(s) après le démarrage ; plusieurs commandes peuvent "
"être séparées par des points-virgules et sont évaluées, cette option peut "
"être donnée plusieurs fois"
#. TRANSLATORS: command line option "-s", "--no-script"
msgid "don't load any script at startup"
msgstr "ne charger aucun script au démarrage"
#. TRANSLATORS: command line option "--upgrade"
msgid "upgrade WeeChat using session files (see /help upgrade in WeeChat)"
msgstr ""
"mettre à jour WeeChat en utilisant les fichiers de session (voir /help "
"upgrade dans WeeChat)"
#. TRANSLATORS: command line option "-v", "--version"
msgid "display WeeChat version and exit"
msgstr "afficher la version de WeeChat et quitter"
#. TRANSLATORS: command line option: "plugin" and "option" may be translated
msgid "plugin:option"
msgstr "extension:option"
#. TRANSLATORS: command line option "plugin:option"
msgid "option for plugin (see man weechat)"
msgstr "option pour une extension (voir man weechat)"
#. TRANSLATORS: only "<path>" may be translated
msgid "--doc-gen <path>"
msgstr "--doc-gen <rep>"
#. TRANSLATORS: command line option "--doc-gen <path>"
msgid "generate files to build documentation and exit"
msgstr "générer les fichiers pour construire la documentation et quitter"
#. TRANSLATORS: command line option "--daemon"
msgid ""
"run WeeChat as a daemon (fork, new process group, file descriptors closed); "
"by default in headless mode WeeChat is blocking and does not run in "
"background"
msgstr ""
"lancer WeeChat comme un « daemon » (fork, nouveau groupe pour le processus, "
"fermeture des descripteurs de fichiers); par défaut en mode sans interface "
"WeeChat est bloquant et ne tourne pas en tâche de fond"
#. TRANSLATORS: command line option "--stdout"
msgid ""
"display log messages on standard output instead of writing them in log file "
"(option ignored if option \"--daemon\" is given)"
msgstr ""
"afficher les messages de log sur la sortie standard plutôt que de les écrire "
"dans le fichier de log (option ignorée si l'option \"--daemon\" est donnée)"
#. TRANSLATORS: command line option "--no-dlclose"
msgid "do not call function dlclose after plugins are unloaded"
msgstr ""
"ne pas appeler la fonction dlclose après le déchargement des extensions"
#. TRANSLATORS: command line option "--no-gnutls"
msgid "disable init/deinit of gnutls"
msgstr "désactiver init/deinit de gnutls"
#. TRANSLATORS: command line option "--no-gcrypt"
msgid "disable init/deinit of gcrypt"
msgstr "désactiver init/deinit de gcrypt"
#. TRANSLATORS: "%s %s" after "compiled on" is date and time
#, c-format
msgid ""
"WeeChat %s Copyright %s, compiled on %s %s\n"
"Developed by Sébastien Helleu <flashcode@flashtux.org> - %s"
msgstr ""
"WeeChat %s Copyright %s, compilé le %s %s\n"
"Développé par Sébastien Helleu <flashcode@flashtux.org> - %s"
msgid "Usage:"
msgstr "Utilisation:"
msgid "[option...] [plugin:option...]"
msgstr "[option...] [extension:option...]"
msgid "Extra options in headless mode:"
msgstr "Options supplémentaires en mode sans interface (« headless »):"
msgid "Debug options (for tools like valgrind, DO NOT USE IN PRODUCTION):"
msgstr ""
"Options de debug (pour des outils comme Valgrind, NE PAS UTILISER EN "
"PRODUCTION) :"
#, c-format
msgid "Error: missing argument for \"%s\" option\n"
msgstr "Erreur : paramètre manquant pour l'option \"%s\"\n"
msgid "List of bars:"
msgstr "Liste des barres :"
@@ -139,7 +297,7 @@ msgid "%sUnable to scroll bar \"%s\""
msgstr "%sImpossible de faire défiler la barre \"%s\""
#, c-format
msgid "%sBuffer number \"%d\" is out of range (it must be between 1 and %d)"
msgid "%sBuffer number %d is out of range (it must be between 1 and %d)"
msgstr ""
"%sLe numéro de tampon %d est en dehors des limites (il doit être entre 1 et "
"%d)"
@@ -488,7 +646,7 @@ msgstr ""
"(raison de sécurité)"
#, c-format
msgid "%d new key added"
msgid "%d new key added (context: \"%s\")"
msgid_plural "%d new keys added (context: \"%s\")"
msgstr[0] "%d nouvelle touche ajoutée (contexte : \"%s\")"
msgstr[1] "%d nouvelles touches ajoutées (contexte : \"%s\")"
@@ -1102,10 +1260,10 @@ msgstr "raw[set] : changer la valeur d'une propriété de la barre"
msgid ""
"option: option to change (for options list, look at /set weechat.bar."
"<barname>.*)"
"<bar_name>.*)"
msgstr ""
"option : option à modifier (pour la liste des options, voir /set weechat.bar."
"<nombarre>.*)"
"<nom_barre>.*)"
msgid "value: new value for option"
msgstr "valeur : nouvelle valeur pour l'option"
@@ -1172,14 +1330,14 @@ msgstr ""
"list || add [-free] [-switch] <nom> || clear [<id>|<numéro>|<nom>|-merged|-"
"all [<id>|<numéro>|<nom>...]] || move <numéro>|-|+ || swap <id1>|<numéro1>|"
"<nom1> [<id2>|<numéro2>|<nom2>] || cycle <id>|<numéro>|<nom>... || merge "
"<id>|<numéro>|<nom> || unmerge [<id>|<numéro>|-all] || hide [<id>|<numéro>|"
"<nom>|-all [<id>|<numéro>|<nom>...]] || unhide [<id>|<numéro>|<nom>|-all "
"[<id>|<numéro>|<nom>...]] || switch [-previous] || zoom || renumber "
"<numéro1> [<numéro2> [<départ>]] || close [<n1>[-<n2>]|<nom>...] || notify "
"[<niveau>] || listvar [<id>|<numéro>|<nom>] || setvar <nom> [<valeur>] || "
"delvar <nom> || set <propriété> [<valeur>] || setauto <propriété> [<valeur>] "
"|| get <propriété> || jump smart|last_displayed|prev_visited|next_visited || "
"<id>|<numéro>|-|+|<nom>"
"<id>|<numéro>|<nom> || unmerge [<numéro>|-all] || hide [<id>|<numéro>|<nom>|-"
"all [<id>|<numéro>|<nom>...]] || unhide [<id>|<numéro>|<nom>|-all [<id>|"
"<numéro>|<nom>...]] || switch [-previous] || zoom || renumber [<numéro1> "
"[<numéro2> [<départ>]]] || close [<n1>[-<n2>]|<nom>...] || notify [<niveau>] "
"|| listvar [<id>|<numéro>|<nom>] || setvar <nom> [<valeur>] || delvar <nom> "
"|| set <propriété> [<valeur>] || setauto <propriété> [<valeur>] || get "
"<propriété> || jump smart|last_displayed|prev_visited|next_visited || <id>|"
"<numéro>|-|+|<nom>"
msgid "raw[list]: list buffers (without argument, this list is displayed)"
msgstr ""
@@ -1356,7 +1514,7 @@ msgid ""
msgstr ""
"nom : sauter au tampon par nom (partiel) ; si le nom commence par \"(?i)\", "
"la recherche est insensible à la casse (par exemple \"(?i)upper\" trouvera "
"le tampon \"irc.libera.#UPPERCASE)"
"le tampon \"irc.libera.#UPPERCASE\")"
msgid "define color aliases and display palette of colors"
msgstr "définir des alias de couleurs et afficher la palette des couleurs"
@@ -1664,11 +1822,11 @@ msgstr "évaluer une expression"
#. TRANSLATORS: only text between angle brackets (eg: "<name>") may be translated
msgid ""
"[-n|-s] [-d] <expression> || [-n] [-d [-d]] -c <expression1> <operator> "
"[-n|-s] [-e] [-d] <expression> || [-n] [-d [-d]] -c <expression1> <operator> "
"<expression2>"
msgstr ""
"[-n|-s] [-d [-d]] <expression> || [-n] [-d] -c <expression1> <opérateur> "
"<expression2>"
"[-n|-s] [-e] [-d [-d]] <expression> || [-n] [-d] -c <expression1> "
"<opérateur> <expression2>"
msgid "raw[-n]: display result without sending it to buffer (debug mode)"
msgstr "raw[-n] : afficher le résultat sans envoyer au tampon (mode debug)"
@@ -1680,6 +1838,9 @@ msgstr ""
"raw[-s] : découper l'expression avant de l'évaluer (plusieurs commandes "
"peuvent être séparées par des points-virgules)"
msgid "raw[-e]: evaluate all commands before executing them"
msgstr "raw[-e]: évaluer toutes les commandes avant de les exécuter"
msgid ""
"raw[-d]: display debug output after evaluation (with two -d: more verbose "
"debug)"
@@ -2140,7 +2301,7 @@ msgid ""
msgstr ""
"list || enable|disable|toggle [<nom>|<masque>|@...] || add|addreplace <nom> "
"<tampon>[,<tampon>...] <étiquettes> <regex> || rename <nom> <nouveau_nom> || "
"recreate <nom>|<masque> || del <nom>|<masque>..."
"recreate <nom> || del <nom>|<masque>..."
msgid "raw[list]: list all filters"
msgstr "raw[list] : lister tous les filtres"
@@ -2315,7 +2476,7 @@ msgid "display help about commands and options"
msgstr "afficher l'aide sur les commandes et les options"
#. TRANSLATORS: only text between angle brackets (eg: "<name>") may be translated
msgid "-list|-listfull [<plugin>...]] || <command> || <option>"
msgid "-list|-listfull [<plugin>...] || <command> || <option>"
msgstr "-list|-listfull [<extension>...] || <commande> || <option>"
msgid ""
@@ -2373,9 +2534,9 @@ msgid "raw[clear]: clear hotlist"
msgstr "raw[clear] : effacer la hotlist"
msgid ""
"level: \"lowest\" to clear only lowest level in hotlist, highest\" to clear "
"only highest level in hotlist, or level mask: integer which is a combination "
"of 1=join/part, 2=message, 4=private, 8=highlight"
"level: \"lowest\" to clear only lowest level in hotlist, \"highest\" to "
"clear only highest level in hotlist, or level mask: integer which is a "
"combination of 1=join/part, 2=message, 4=private, 8=highlight"
msgstr ""
"niveau : \"lowest\" pour effacer seulement le plus petit niveau dans la "
"hotlist, \"highest\" pour effacer seulement le niveau le plus haut dans la "
@@ -2751,14 +2912,14 @@ msgid ""
"context \"default\")"
msgstr ""
"raw[bind] : associer une commande à une touche ou affiche la commande "
"associée à la touche"
"associée à la touche (pour le contexte \"default\")"
msgid ""
"raw[bindctxt]: bind a command to a key or display command bound to key, for "
"given context"
msgstr ""
"raw[bindctxt] : associer une commande à une touche ou affiche la commande "
"associée à la touche pour le contexte donné"
"associée à la touche, pour le contexte donné"
msgid ""
"command: command (many commands can be separated by semicolons); quotes can "
@@ -2769,14 +2930,18 @@ msgstr ""
"espaces au début et à la fin de la commande"
msgid "raw[unbind]: remove a key binding (for context \"default\")"
msgstr "raw[unbind] : supprimer l'association à une touche"
msgstr ""
"raw[unbind] : supprimer l'association à une touche (pour le contexte "
"\"default\")"
msgid "raw[unbindctxt]: remove a key binding for given context"
msgstr ""
"raw[unbindctxt] : supprimer l'association à une touche pour le contexte donné"
msgid "raw[reset]: reset a key to default binding (for context \"default\")"
msgstr "raw[reset] : réinitialiser une touche à son association par défaut"
msgstr ""
"raw[reset] : réinitialiser une touche à son association par défaut (pour le "
"contexte \"default\")"
msgid "raw[resetctxt]: reset a key to default binding, for given context"
msgstr ""
@@ -3153,7 +3318,7 @@ msgid ""
"|| unload [<name>]"
msgstr ""
"list [-o|-ol|-i|-il|<nom>] || listfull [<nom>] || load <fichier> "
"[<paramètres>] || autoload [<paramètres>] || reload [<nom>|* [<paramètres]] "
"[<paramètres>] || autoload [<paramètres>] || reload [<nom>|* [<paramètres>]] "
"|| unload [<nom>]"
msgid "raw[list]: list loaded plugins"
@@ -3408,10 +3573,10 @@ msgstr "raw[set] : changer la valeur d'une propriété d'un proxy"
msgid ""
"option: option to change (for options list, look at /set weechat.proxy."
"<proxyname>.*)"
"<proxy_name>.*)"
msgstr ""
"option : option à modifier (pour la liste des options, voir /set "
"weechat.proxy.<proxyname>.*)"
"weechat.proxy.<nom_proxy>.*)"
msgid " add a http proxy, running on local host, port 8888:"
msgstr " ajouter un proxy http, tournant en local, port 8888 :"
@@ -3603,7 +3768,9 @@ msgstr "raw[-delete] : supprimer la phrase de chiffrement"
msgid ""
"raw[decrypt]: decrypt data still encrypted (it happens only if passphrase "
"was not given on startup)"
msgstr "raw[decrypt] : déchiffrer les données toujours chiffrées"
msgstr ""
"raw[decrypt] : déchiffrer les données toujours chiffrées (cela se produit "
"seulement si la phrase de chiffrement n'a pas été donnée au démarrage)"
msgid "raw[-discard]: discard all data still encrypted"
msgstr "raw[-discard] : jeter toutes les données encore chiffrées"
@@ -3639,11 +3806,12 @@ msgid ""
"of an external command like a password manager (see /help "
"sec.crypt.passphrase_command)."
msgstr ""
"Il est possible de définir la variable d'environnement WEECHAT_PASSPHRASE "
"pour éviter la demande (cette même variable est utilisée par WeeChat sur le /"
"upgrade) ou de définir l'option sec.crypt.passphrase_command pour lire la "
"phrase de chiffrement depuis la sortie d'une commande externe comme un "
"coffre-fort à mots de passe (voir /help sec.crypt.passphrase_command)."
"Il est possible de définir la variable d'environnement "
"\"WEECHAT_PASSPHRASE\" pour éviter la demande (cette même variable est "
"utilisée par WeeChat sur le /upgrade) ou de définir l'option "
"sec.crypt.passphrase_command pour lire la phrase de chiffrement depuis la "
"sortie d'une commande externe comme un coffre-fort à mots de passe (voir /"
"help sec.crypt.passphrase_command)."
msgid "Secured data with format ${sec.data.xxx} can be used in:"
msgstr ""
@@ -3682,23 +3850,23 @@ msgstr ""
msgid " encrypt libera SASL password:"
msgstr " chiffrer le mot de passe libera SASL :"
msgid " /secure set libera mypassword"
msgstr " /secure set libera motdepasse"
msgid " /secure set libera my_password"
msgstr " /secure set libera mot_de_passe"
msgid " encrypt oftc password for nickserv:"
msgstr " chiffrer le mot de passe oftc pour nickserv :"
msgid " /secure set oftc mypassword"
msgstr " /secure set oftc motdepasse"
msgid " /secure set oftc my_password"
msgstr " /secure set oftc mot_de_passe"
msgid " alias to ghost the nick \"mynick\":"
msgstr " alias pour ghost du pseudo \"pseudo\" :"
msgid " alias to ghost the nick \"andrew\":"
msgstr " alias pour ghost du pseudo \"andrew\" :"
msgid ""
" /alias add ghost /eval /msg -server libera nickserv ghost mynick $"
" /alias add ghost /eval /msg -server libera nickserv ghost andrew $"
"{sec.data.libera}"
msgstr ""
" /alias add ghost /eval /msg -server libera nickserv ghost monpseudo $"
" /alias add ghost /eval /msg -server libera nickserv ghost andrew $"
"{sec.data.libera}"
msgid "set config options and environment variables"
@@ -3962,9 +4130,9 @@ msgid ""
"the reload of TLS sessions is currently not possible with GnuTLS. There is "
"automatic reconnection after upgrade."
msgstr ""
"Note : les connexions TLS sont perdues durant la mise à jour, car le "
"rechargement de session TLS n'est pas possible actuellement avec GnuTLS. Il "
"y a une reconnexion automatique après la mise à jour."
"Note : les connexions TLS sont perdues durant la mise à jour (sauf avec "
"-save), car le rechargement de session TLS n'est pas possible actuellement "
"avec GnuTLS. Il y a une reconnexion automatique après la mise à jour."
msgid ""
"Important: use of option \"-save\" can be dangerous, it is recommended to "
@@ -4002,8 +4170,8 @@ msgstr " 4. exécuter le nouveau binaire WeeChat et recharger la session."
msgid "With option \"-quit\", the process is:"
msgstr "Avec l'option \"-quit\", le processus est le suivant :"
msgid " 1. close *ALL* connections (irc, xfer, relay, ...)"
msgstr " 1. fermer *TOUTES* les connexions"
msgid " 1. close *ALL* connections (irc, xfer, relay, etc.)"
msgstr " 1. fermer *TOUTES* les connexions (irc, xfer, relay, etc.)"
msgid " 2. save session into files (*.upgrade)"
msgstr " 2. sauvegarder la session (fichiers *.upgrade)"
@@ -4205,7 +4373,9 @@ msgid "raw[balance]: balance the sizes of all windows"
msgstr "raw[balance] : équilibrer la taille de toutes les fenêtres"
msgid "raw[merge]: merge window with another (raw[all] = keep only one window)"
msgstr "raw[merge] : fusionner la fenêtre avec une autre"
msgstr ""
"raw[merge] : fusionner la fenêtre avec une autre (raw[all] = garder une "
"seule fenêtre)"
msgid "raw[close]: close window"
msgstr "raw[close] : fermer la fenêtre"
@@ -4762,9 +4932,10 @@ msgid ""
"buffer has no layout number"
msgstr ""
"position d'un nouveau tampon : end = après la fin de la liste (numéro = "
"dernier numéro + 1), first_gap = au premier numéro disponible dans la liste "
"(après la fin de la liste si aucun numéro n'est disponible) ; cette option "
"est utilisée seulement si le tampon n'a pas de numéro dans le \"layout\""
"dernier numéro + 1) (par défaut), first_gap = au premier numéro disponible "
"dans la liste (après la fin de la liste si aucun numéro n'est disponible) ; "
"cette option est utilisée seulement si le tampon n'a pas de numéro dans le "
"\"layout\""
msgid "default text search in buffer: case-sensitive or not"
msgstr "recherche par défaut dans le tampon : sensible à la casse ou non"
@@ -5103,12 +5274,12 @@ msgid ""
msgstr ""
"conditions pour ajouter un tampon dans la hotlist (si le niveau de "
"notification est OK pour le tampon) ; vous pouvez utiliser dans ces "
"conditions : \\\"window\\\" (pointeur de la fenêtre courante), \\\"buffer\\"
"\" (pointeur du tampon à ajouter dans la hotlist), \"priority\" (0 = faible, "
"1 = message, 2 = privé, 3 = highlight) ; par défaut un tampon est ajouté "
"dans la hotlist si vous êtes absent, ou si le tampon n'est pas visible à "
"l'écran (pas affiché dans une fenêtre), ou si au moins un client relay est "
"connecté via le protocole weechat"
"conditions : \"window\" (pointeur de la fenêtre courante), \"buffer\" "
"(pointeur du tampon à ajouter dans la hotlist), \"priority\" (0 = faible, 1 "
"= message, 2 = privé, 3 = highlight) ; par défaut un tampon est ajouté dans "
"la hotlist si vous êtes absent, ou si le tampon n'est pas visible à l'écran "
"(pas affiché dans une fenêtre), ou si au moins un client relay est connecté "
"via le protocole weechat"
msgid "string displayed between buffers in hotlist"
msgstr "chaîne affichée entre les tampons dans la hotlist"
@@ -6289,7 +6460,7 @@ msgid ""
"received: %d)\n"
msgstr ""
"Erreur : mauvais nombre de chemin pour les répertoires personnels "
"(attentus : 1 ou 5, reçus : %d)\n"
"(attendus : 1 ou 5, reçus : %d)\n"
#, c-format
msgid ""
@@ -6695,7 +6866,7 @@ msgstr ""
"%sLimite de ressource \"%s\" inconnue (voir /help weechat.startup.sys_rlimit)"
msgid "Resource limits (see \"man getrlimit\" for help):"
msgstr "Limites de ressource (voir \"man getrlimit' pour de l'aide) :"
msgstr "Limites de ressource (voir \"man getrlimit\" pour de l'aide) :"
#, c-format
msgid "%sUnable to get resource limit \"%s\": error %d %s"
@@ -6746,8 +6917,8 @@ msgstr "écriture - variable"
msgid "read - object type"
msgstr "lecture - type d'objet"
msgid "read - bad object type ('object start' expected)"
msgstr "lecture - mauvais type d'objet ('object start' attendu)"
msgid "read - bad object type (\"object start\" expected)"
msgstr "lecture - mauvais type d'objet (\"object start\" attendu)"
msgid "read - object id"
msgstr "lecture - id objet"
@@ -6865,129 +7036,6 @@ msgstr "%sErreur de lancement du thread dans hook_url : %s (URL : \"%s\")"
msgid "End of URL transfer '%s', transfer stopped"
msgstr "Fin du transfert d'URL '%s', transfert arrêté"
#. TRANSLATORS: "%s %s" after "compiled on" is date and time
#, c-format
msgid ""
"WeeChat %s Copyright %s, compiled on %s %s\n"
"Developed by Sébastien Helleu <flashcode@flashtux.org> - %s"
msgstr ""
"WeeChat %s Copyright %s, compilé le %s %s\n"
"Développé par Sébastien Helleu <flashcode@flashtux.org> - %s"
#, c-format
msgid "Usage: %s [option...] [plugin:option...]\n"
msgstr "Utilisation : %s [option...] [extension:option...]\n"
msgid ""
" -a, --no-connect disable auto-connect to servers at startup\n"
" -c, --colors display default colors in terminal and exit\n"
" -d, --dir <path> force a single WeeChat home directory\n"
" or 5 different directories separated by colons "
"(in this order: config, data, state, cache, runtime)\n"
" (environment variable WEECHAT_HOME is read if "
"this option is not given)\n"
" -t, --temp-dir create a temporary WeeChat home directory and "
"delete it on exit\n"
" (incompatible with option \"-d\")\n"
" -h, --help display this help and exit\n"
" -i, --build-info display build information and exit\n"
" -l, --license display WeeChat license and exit\n"
" -p, --no-plugin don't load any plugin at startup\n"
" -P, --plugins <plugins> load only these plugins at startup\n"
" (see /help weechat.plugin.autoload)\n"
" -r, --run-command <cmd> run command(s) after startup;\n"
" many commands can be separated by semicolons and "
"are evaluated,\n"
" this option can be given multiple times\n"
" -s, --no-script don't load any script at startup\n"
" --upgrade upgrade WeeChat using session files (see /help "
"upgrade in WeeChat)\n"
" -v, --version display WeeChat version and exit\n"
" plugin:option option for plugin (see man weechat)\n"
msgstr ""
" -a, --no-connect désactiver l'auto-connexion aux serveurs au "
"démarrage\n"
" -c, --colors afficher les couleurs par défaut du terminal et "
"quitter\n"
" -d, --dir <rep> forcer un unique répertoire de base pour WeeChat\n"
" ou 5 répertoires différents séparés par \":\" "
"(dans cet ordre : config, data, state, cache, runtime)\n"
" (la variable d'environnement WEECHAT_HOME est lue "
"si cette option n'est pas donnée)\n"
" -t, --temp-dir créer un répertoire de base WeeChat temporaire et "
"le supprimer en quittant\n"
" (incompatible avec l'option \"-d\")\n"
" -h, --help afficher cette aide et quitter\n"
" -i, --build-info afficher les informations de construction et "
"quitter\n"
" -l, --license afficher la licence WeeChat et quitter\n"
" -p, --no-plugin ne charger aucune extension au démarrage\n"
" -P, --plugins <exts> charger uniquement ces extensions au démarrage\n"
" (voir /help weechat.plugin.autoload)\n"
" -r, --run-command <cmd> lancer la/les commande(s) après le démarrage ;\n"
" plusieurs commandes peuvent être séparées par des "
"points-virgules et sont évaluées,\n"
" cette option peut être donnée plusieurs fois\n"
" -s, --no-script ne charger aucun script au démarrage\n"
" --upgrade mettre à jour WeeChat en utilisant les fichiers "
"de session (voir /help upgrade dans WeeChat)\n"
" -v, --version afficher la version de WeeChat et quitter\n"
" extension:option option pour une extension (voir man weechat)\n"
msgid "Extra options in headless mode:\n"
msgstr "Options supplémentaires en mode sans interface (« headless ») :\n"
msgid ""
" --doc-gen <path> generate files to build documentation and exit\n"
msgstr ""
" --doc-gen <rep> générer les fichiers pour construire la "
"documentation et quitter\n"
msgid ""
" --daemon run WeeChat as a daemon (fork, new process group, "
"file descriptors closed);\n"
msgstr ""
" --daemon lancer WeeChat comme un « daemon » (fork, nouveau "
"groupe pour le processus, fermeture des descripteurs de fichiers);\n"
msgid ""
" (by default in headless mode WeeChat is blocking "
"and does not run in background)\n"
msgstr ""
" (par défaut en mode sans interface WeeChat est "
"bloquant et ne tourne pas en tâche de fond)\n"
msgid ""
" --stdout display log messages on standard output instead "
"of writing them in log file\n"
msgstr ""
" --stdout afficher les messages de log sur la sortie "
"standard plutôt que de les écrire dans le fichier de log\n"
msgid ""
" (option ignored if option \"--daemon\" is given)\n"
msgstr ""
" (option ignorée si l'option \"--daemon\" est "
"donnée)\n"
msgid ""
"Debug options (for tools like valgrind, DO NOT USE IN PRODUCTION):\n"
" --no-dlclose do not call function dlclose after plugins are "
"unloaded\n"
" --no-gnutls disable init/deinit of gnutls\n"
" --no-gcrypt disable init/deinit of gcrypt\n"
msgstr ""
"Options de debug (pour des outils comme Valgrind, NE PAS UTILISER EN "
"PRODUCTION) :\n"
" --no-dlclose ne pas appeler la fonction dlclose après le "
"déchargement des extensions\n"
" --no-gnutls désactiver init/deinit de gnutls\n"
" --no-gcrypt désactiver init/deinit de gcrypt\n"
#, c-format
msgid "Error: missing argument for \"%s\" option\n"
msgstr "Erreur : paramètre manquant pour l'option \"%s\"\n"
msgid "WeeChat is running in headless mode (ctrl-c to quit)."
msgstr "WeeChat tourne sans interface (ctrl-c pour quitter)."
@@ -7814,11 +7862,11 @@ msgstr ""
msgid ""
" - ${index_displayed}: index of line displayed in the bar item (starts at "
"0, only buffers displayed increment this index, see option "
"buflist.look.display_conditions"
"buflist.look.display_conditions)"
msgstr ""
" - ${index_displayed}: index de la ligne affichée dans l'objet de barre "
"(démarre à 0, seuls les tampons affichés incrémentent cet index, voir "
"l'option buflist.look.display_conditions"
"l'option buflist.look.display_conditions)"
msgid "buflist bar items"
msgstr "objets de barre de buflist"
@@ -8229,7 +8277,7 @@ msgid ""
"-set <id> <property> <value> || -del <id>|-all [<id>...]"
msgstr ""
"-list || [-sh|-nosh] [-bg|-nobg] [-stdin|-nostdin] [-buffer <nom>] [-l|-o|-"
"oc|-n|-nf] [-oerr] [-cl|-nocl] [-sw|-nosw] [-ln|-noln] |-flush|-noflush] [-"
"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> || "
"-inclose <id> [<texte>] || -signal <id> <signal> || -kill <id> || -killall "
@@ -8740,7 +8788,7 @@ msgid ""
"value, append for a positive value)"
msgstr ""
"raw[-add] : ajouter \"valeur\" (qui peut être un nombre négatif) pour les "
"entiers, couleurs et enumérés, définir/ajouter à la valeur pour les autres "
"entiers, couleurs et énumérés, définir/ajouter à la valeur pour les autres "
"types (définir pour une valeur négative, ajouter pour un nombre positif)"
msgid "raw[-reset]: reset the value of option"
@@ -8774,9 +8822,7 @@ msgid "raw[-mark]: toggle mark"
msgstr "raw[-mark] : marquer/démarquer"
msgid "raw[-format]: switch to the next available format"
msgstr ""
"raw[-format] : exporter les options et valeurs affichées dans un fichier "
"(chaque ligne a le format : \"/set nom valeur\" ou \"/unset nom\")"
msgstr "raw[-format] : basculer vers le format disponible suivant"
msgid ""
"raw[-export]: export the options and values displayed to a file (each line "
@@ -8895,7 +8941,7 @@ msgstr " - fset.format.option2 : second format pour une option"
msgid " - option data, with color and padded by spaces on the right:"
msgstr ""
" - données de l'option, avec couleur et alignées avec des espaces sur la "
" - données de l'option, avec couleur et alignées avec des espaces sur la "
"droite :"
msgid " - ${file}: configuration file (for example \"weechat\" or \"irc\")"
@@ -9625,7 +9671,7 @@ msgid "%s%s: not connected to server \"%s\"!"
msgstr "%s%s : non connecté au serveur \"%s\" !"
#, c-format
msgid "%s: auto-reconnection is cancelled"
msgid "%s: auto-reconnection is canceled"
msgstr "%s : la reconnexion automatique est annulée"
#, c-format
@@ -9791,6 +9837,11 @@ msgid_plural "seconds"
msgstr[0] "seconde"
msgstr[1] "secondes"
msgid "millisecond"
msgid_plural "milliseconds"
msgstr[0] "milliseconde"
msgstr[1] "millisecondes"
msgid "minute"
msgid_plural "minutes"
msgstr[0] "minute"
@@ -9873,7 +9924,7 @@ msgid ""
"disconnect %s\" before."
msgstr ""
"%s%s : vous ne pouvez pas supprimer le serveur \"%s\" car vous êtes connecté "
"dessus. Essayez /disconnect %s avant."
"dessus. Essayez \"/disconnect %s\" avant."
#, c-format
msgid "%s: server %s%s%s has been deleted"
@@ -9928,10 +9979,10 @@ msgstr ""
#. TRANSLATORS: only text between angle brackets (eg: "<name>") may be translated
msgid ""
"[-current] [-parted|-all] [-exclude=<channel>[,<channel>...]] <command> || [-"
"current] [-parted|-all] -include=<channel>[,<channel>...] <command>"
"current] [-parted|-all] [-include=<channel>[,<channel>...]] <command>"
msgstr ""
"[-current] [-parted|-all] [-exclude=<canal>[,<canal>...]] <commande> || [-"
"current] [-parted|-all] -include=<canal>[,<canal>...] <commande>"
"current] [-parted|-all] [-include=<canal>[,<canal>...]] <commande>"
msgid "raw[-current]: execute command for channels of current server only"
msgstr ""
@@ -10019,8 +10070,8 @@ msgstr ""
#. TRANSLATORS: only text between angle brackets (eg: "<name>") may be translated
msgid ""
"[-current] [-exclude=<nick>[,<nick>...]] <command> || [-current] "
"-include=<nick>[,<nick>...] <command>"
"[-current] [-exclude=<nick>[,<nick>...]] <command> || [-current] [-"
"include=<nick>[,<nick>...]] <command>"
msgstr ""
"[-current] [-exclude=<pseudo>[,<pseudo>...]] <commande> || [-current] [-"
"include=<pseudo>[,<pseudo>...]] <commande>"
@@ -10076,8 +10127,8 @@ msgstr "exécuter une commande sur tous les serveurs connectés"
#. TRANSLATORS: only text between angle brackets (eg: "<name>") may be translated
msgid ""
"[-exclude=<server>[,<server>...]] <command> || -include=<server>[,"
"<server>...] <command>"
"[-exclude=<server>[,<server>...]] <command> || [-include=<server>[,"
"<server>...]] <command>"
msgstr ""
"[-exclude=<serveur>[,<serveur>...]] <commande> || [-include=<serveur>[,"
"<serveur>...]] <commande>"
@@ -10238,7 +10289,7 @@ msgstr ""
"commence par \"-\", par exemple : \"-multi-prefix\")"
msgid ""
"raw[ack]: acknowledge capabilities which require client-side acknowledgement"
"raw[ack]: acknowledge capabilities which require client-side acknowledgment"
msgstr ""
"raw[ack] : accuser réception de capacités qui nécessitent un accusé de "
"réception du client"
@@ -10319,7 +10370,7 @@ msgstr ""
msgid "raw[nooption]: set boolean option to \"off\" (for example: -notls)"
msgstr ""
"raw[nooption] : définir l'option booléenne à 'off' (par exemple : -notls)"
"raw[nooption] : définir l'option booléenne à \"off\" (par exemple : -notls)"
msgid "raw[-all]: connect to all servers defined in configuration"
msgstr ""
@@ -10371,7 +10422,7 @@ msgstr "quitter et rejoindre un canal"
#. TRANSLATORS: only text between angle brackets (eg: "<name>") may be translated
msgid "[<channel>[,<channel>...]] [<message>]"
msgstr "[<canal>[,<canal>...]] [message]"
msgstr "[<canal>[,<canal>...]] [<message>]"
msgid "message: part message (displayed to other users)"
msgstr "message : message de fin (affiché aux autres utilisateurs)"
@@ -12242,14 +12293,16 @@ msgstr ""
msgid ""
"comma-separated list of fields to sort channels (see /help list for a list "
"of fields); char \"-\" can be used before field to reverse order, char \"~\" "
"can be used to do a case-insensitive comparison; example: \"-users,~name\" "
"for biggest channels first then case-insensitive sort on name"
"can be used to do a case-insensitive comparison; example: \"-users,~name2\" "
"for biggest channels first then case-insensitive sort on channel name "
"without prefix"
msgstr ""
"liste de champs séparés par des virgules pour trier les options (voir /help "
"list pour la liste des champs) ; le caractère \"-\" peut être utilisé pour "
"inverser l'ordre, le caractère \"~\" peut être utilisé pour effectuer une "
"comparaison insensible à la casse ; exemple : \"-users,~name\" pour les plus "
"gros canaux en premier puis tri insensible à la casse sur le nom"
"comparaison insensible à la casse ; exemple : \"-users,~name2\" pour les "
"plus gros canaux en premier puis tri insensible à la casse sur le nom de "
"canal sans le préfixe"
msgid "strip channel topic colors in /list buffer"
msgstr "supprimer les couleurs des titres des canaux dans le tampon /list"
@@ -12321,8 +12374,8 @@ msgid ""
msgstr ""
"liste des pseudos (séparés par des virgules) pour lesquels les mots de passe "
"seront masqués quand un message est envoyé, par exemple pour cacher le mot "
"de passe dans le message affiché par \"/msg nickserv identify motdepasse\", "
"exemple : \"nickserv,nickbot\""
"de passe dans le message affiché par \"/msg nickserv identify "
"mot_de_passe\", exemple : \"nickserv,nickbot\""
msgid ""
"display notices as private messages (if auto, use private buffer if found)"
@@ -14171,7 +14224,7 @@ msgid ""
"strftime)"
msgstr ""
"masque de fichier par défaut pour les fichiers de log (le format est "
"\"repertoire/vers/fichier\" ou \"fichier\", sans le premier \"/\" car "
"\"répertoire/vers/fichier\" ou \"fichier\", sans le premier \"/\" car "
"l'option \"path\" est utilisée pour construire le chemin complet vers le "
"fichier) ; les variables locales du tampon sont permises (vous ne devriez "
"utiliser que des variables qui sont définies sur tous les tampons, donc par "
@@ -14420,7 +14473,7 @@ msgid ""
"1 if scripts are automatically loaded, 0 if the auto-load has been disabled "
"by the user (option \"-s\" or \"--no-script\")"
msgstr ""
"1 si la les scripts sont automatiquement charés, 0 si l'auto-chargement a "
"1 si la les scripts sont automatiquement chargés, 0 si l'auto-chargement a "
"été désactivé par l'utilisateur (option \"-s\" ou \"--no-script\")"
msgid "buffer pointer"
@@ -15593,10 +15646,10 @@ msgstr "%s%s : le relai distant \"%s\" n'existe pas pour la commande \"%s\""
#, c-format
msgid "%s%s: no connection to remote relay \"%s\""
msgstr "%s%s : non connecté au relai distant \"%s\" !"
msgstr "%s%s : non connecté au relai distant \"%s\""
#, c-format
msgid "remote[%s]: auto-reconnection is cancelled"
msgid "remote[%s]: auto-reconnection is canceled"
msgstr "remote[%s] : la reconnexion automatique est annulée"
#, c-format
@@ -15623,10 +15676,12 @@ msgstr ""
"restart|stop <nom> || raw || tlscertkey"
msgid "raw[list]: list relay clients (only active relays)"
msgstr "raw[list] : lister les clients pour le relai"
msgstr ""
"raw[list] : lister les clients pour le relai (seulement les relais actifs)"
msgid "raw[listfull]: list relay clients (verbose, all relays)"
msgstr "raw[listfull] : lister les clients pour le relai (verbeux)"
msgstr ""
"raw[listfull] : lister les clients pour le relai (verbeux, tous les relais)"
msgid "raw[listrelay]: list relays (name and port)"
msgstr "raw[listrelay] : lister les relais (nom et port)"
@@ -15697,7 +15752,7 @@ msgid " - unix: use UNIX domain socket"
msgstr " - unix : utiliser un socket de domaine UNIX"
msgid " - protocol.name: protocol and name to relay:"
msgstr " - protocol.nom : protocole et nom à relayer :"
msgstr " - protocole.nom : protocole et nom à relayer :"
msgid ""
" - protocol \"irc\": name is the server to share (optional, if not given, "
@@ -15706,7 +15761,7 @@ msgid ""
msgstr ""
" - protocole \"irc\" : le nom est le serveur à partager (optionnel, si "
"non donné, le nom de serveur doit être envoyé par le client dans la commande "
"\"PASS\", avec le format : \"PASS serveur:motdepasse\")"
"\"PASS\", avec le format : \"PASS serveur:mot_de_passe\")"
msgid " - protocol \"api\" (name is not used)"
msgstr " - protocole \"api\" (le nom n'est pas utilisé)"
@@ -15756,8 +15811,8 @@ msgid ""
"<name> <new_name> || togglecmd"
msgstr ""
"list|listfull [<nom>] || add|addreplace <nom> <url> [-<option>[=<valeur>]] "
"|| connect|reconnect|disconnect|del <nom> || send <nom> <json> rename <nom> "
"<nouveau_nom> || togglecmd"
"|| connect|reconnect|disconnect|del <nom> || send <nom> <json> || rename "
"<nom> <nouveau_nom> || togglecmd"
msgid ""
"raw[list]: list remote relay servers (without argument, this list is "
@@ -15925,7 +15980,7 @@ msgid ""
"\"weechat\""
msgstr ""
"ouvrir automatiquement le tampon lorsqu'un client se connecte avec l'un de "
"ces protocoles (liste séparée par des virtules) ; les protocoles autorisés : "
"ces protocoles (liste séparée par des virgules) ; les protocoles autorisés : "
"\"api\", \"irc\", \"weechat\""
msgid ""
@@ -15934,7 +15989,7 @@ msgid ""
"\"weechat\""
msgstr ""
"afficher des messages lorsque les clients se connectent/déconnectent du "
"relai qui utilisent un de ces protocoles (liste séparée par des virfules) ; "
"relai qui utilisent un de ces protocoles (liste séparée par des virgules) ; "
"protocoles autorisés : \"api\", \"irc\", \"weechat\""
msgid ""
@@ -18130,8 +18185,8 @@ msgid "%s%s: invalid regular expression in trigger: \"%s\""
msgstr "%s%s : expression régulière invalide dans le trigger : \"%s\""
#. TRANSLATORS: this text is displayed before the list of nicks typing in the bar item "typing", it must be as short as possible
msgid "Typing:"
msgstr "Écrit :"
msgid "Typing: "
msgstr "Écrit : "
msgid ""
"number of seconds after paused status has been set: if reached, the typing "
@@ -18180,6 +18235,14 @@ msgstr ""
"nombre maximum de caractères affichés dans l'objet de barre \"typing\" (0 = "
"ne pas tronquer le contenu)"
msgid ""
"text to display before the nicks in the bar item \"typing\"; if set, it is "
"used instead of the translated string \"Typing: \" which is used by default"
msgstr ""
"texte à afficher avant les pseudos dans l'objet de barre \"typing\"; si "
"défini, il est utilisé à la place de la chaîne traduite \"Typing: \" qui est "
"utilisée par défaut"
msgid "Typing status of users"
msgstr "Statut d'écriture des utilisateurs"
@@ -18317,11 +18380,13 @@ msgid "does not wait for ACK when sending file"
msgstr "n'attend pas les accusés de réception lors de l'envoi de fichier"
msgid ""
"IP or DNS address used for sending and passively receiving files/chats (if "
"empty, local interface IP is used)"
"IP or DNS address used for sending and passively receiving files/chats; if "
"empty, local interface IP is used (note: content is evaluated, see /help "
"eval)"
msgstr ""
"adresse IP ou DNS utilisée pour envoyer et recevoir de manière passive les "
"fichiers/discussions (si non renseigné, l'interface IP locale est utilisée)"
"fichiers/discussions; si non renseigné, l'interface IP locale est utilisée "
"(note: le contenu est évalué, voir /help eval)"
msgid ""
"restricts outgoing files/chats and incoming/passive files to use only ports "
@@ -18330,7 +18395,7 @@ msgid ""
"use ports greater than 1024, because only root can use ports below 1024)"
msgstr ""
"restreint les fichiers/discussions sortants et les fichiers entrants de "
"manière passice à utiliser des ports dans l'intervalle donné (pratique pour "
"manière passive à utiliser des ports dans l'intervalle donné (pratique pour "
"le NAT) (syntaxe : un port simple, par exemple 5000, un intervalle de ports, "
"par exemple 5000-5015, si non renseigné tout port peut être utilisé, il est "
"recommandé d'utiliser des ports supérieurs à 1024, car seul root peut "
+200 -127
View File
@@ -22,8 +22,8 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2026-03-16 13:17+0100\n"
"PO-Revision-Date: 2025-10-27 08:27+0100\n"
"POT-Creation-Date: 2026-03-21 17:24+0100\n"
"PO-Revision-Date: 2026-03-08 08:59+0100\n"
"Last-Translator: Andras Voroskoi <voroskoi@frugalware.org>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
"Language: hu\n"
@@ -32,6 +32,154 @@ msgstr ""
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=n != 1;\n"
#. TRANSLATORS: command line option "-a", "--no-connect"
#, fuzzy
msgid "disable auto-connect to servers at startup"
msgstr "%s DCC: nem sikerült kapcsolódni a küldőhöz\n"
#. TRANSLATORS: command line option "-c", "--colors"
msgid "display default colors in terminal and exit"
msgstr ""
#. TRANSLATORS: only "<path>" may be translated
msgid "-d, --dir <path>"
msgstr ""
#. TRANSLATORS: command line option "-d", "--dir <path>"
msgid ""
"force a single WeeChat home directory or 5 different directories separated "
"by colons (in this order: config, data, state, cache, runtime) (environment "
"variable WEECHAT_HOME is read if this option is not given)"
msgstr ""
#. TRANSLATORS: command line option "-t", "--temp-dir"
msgid ""
"create a temporary WeeChat home directory and delete it on exit "
"(incompatible with option \"-d\")"
msgstr ""
#. TRANSLATORS: command line option "-h", "--help"
#, fuzzy
msgid "display this help and exit"
msgstr "másik fél nevének színe privát beszélgetésben"
#. TRANSLATORS: command line option "-i", "--build-info"
msgid "display build information and exit"
msgstr ""
#. TRANSLATORS: command line option "-l", "--license"
#, fuzzy
#| msgid "display WeeChat logo at startup"
msgid "display WeeChat license and exit"
msgstr "WeeChat logo mutatása induláskor"
#. TRANSLATORS: command line option "-p", "--no-plugin"
#, fuzzy
#| msgid "display WeeChat logo at startup"
msgid "don't load any plugin at startup"
msgstr "WeeChat logo mutatása induláskor"
#. TRANSLATORS: only "<plugins>" may be translated
msgid "-P, --plugins <plugins>"
msgstr ""
#. TRANSLATORS: command line option "-P", "--plugins <plugins>"
msgid "load only these plugins at startup (see /help weechat.plugin.autoload)"
msgstr ""
#. TRANSLATORS: only "<cmd>" may be translated (please keep it short)
msgid "-r, --run-command <cmd>"
msgstr ""
#. TRANSLATORS: command line option "-r", "--run-command <cmd>"
#, fuzzy
msgid ""
"run command(s) after startup; many commands can be separated by semicolons "
"and are evaluated, this option can be given multiple times"
msgstr "felhasználónév az IRC szerveren"
#. TRANSLATORS: command line option "-s", "--no-script"
msgid "don't load any script at startup"
msgstr ""
#. TRANSLATORS: command line option "--upgrade"
#, fuzzy
msgid "upgrade WeeChat using session files (see /help upgrade in WeeChat)"
msgstr "%s nem sikerült a folyamatot menteni\n"
#. TRANSLATORS: command line option "-v", "--version"
#, fuzzy
#| msgid "display WeeChat version at startup"
msgid "display WeeChat version and exit"
msgstr "WeeChat verziójának mutatása induláskor"
#. TRANSLATORS: command line option: "plugin" and "option" may be translated
#, fuzzy
msgid "plugin:option"
msgstr " (nem található bővítőmodul)\n"
#. TRANSLATORS: command line option "plugin:option"
msgid "option for plugin (see man weechat)"
msgstr ""
#. TRANSLATORS: only "<path>" may be translated
msgid "--doc-gen <path>"
msgstr ""
#. TRANSLATORS: command line option "--doc-gen <path>"
msgid "generate files to build documentation and exit"
msgstr ""
#. TRANSLATORS: command line option "--daemon"
msgid ""
"run WeeChat as a daemon (fork, new process group, file descriptors closed); "
"by default in headless mode WeeChat is blocking and does not run in "
"background"
msgstr ""
#. TRANSLATORS: command line option "--stdout"
msgid ""
"display log messages on standard output instead of writing them in log file "
"(option ignored if option \"--daemon\" is given)"
msgstr ""
#. TRANSLATORS: command line option "--no-dlclose"
msgid "do not call function dlclose after plugins are unloaded"
msgstr ""
#. TRANSLATORS: command line option "--no-gnutls"
msgid "disable init/deinit of gnutls"
msgstr ""
#. TRANSLATORS: command line option "--no-gcrypt"
msgid "disable init/deinit of gcrypt"
msgstr ""
#. TRANSLATORS: "%s %s" after "compiled on" is date and time
#, fuzzy, c-format
msgid ""
"WeeChat %s Copyright %s, compiled on %s %s\n"
"Developed by Sébastien Helleu <flashcode@flashtux.org> - %s"
msgstr ""
"%s Copyright (C) 2003-2010, fordítva: %s %s\n"
"Fejlesztő: Sébastien Helleu <flashcode@flashtux.org> - %s"
msgid "Usage:"
msgstr ""
msgid "[option...] [plugin:option...]"
msgstr ""
msgid "Extra options in headless mode:"
msgstr ""
msgid "Debug options (for tools like valgrind, DO NOT USE IN PRODUCTION):"
msgstr ""
#, fuzzy, c-format
msgid "Error: missing argument for \"%s\" option\n"
msgstr "%s hiányzó argumentum a(z) \"%s\" opciónak\n"
#, fuzzy
msgid "List of bars:"
msgstr "Aliaszok listája:\n"
@@ -142,7 +290,7 @@ msgid "%sUnable to scroll bar \"%s\""
msgstr "%s nem sikerült a modul opciókat elmenteni\n"
#, c-format
msgid "%sBuffer number \"%d\" is out of range (it must be between 1 and %d)"
msgid "%sBuffer number %d is out of range (it must be between 1 and %d)"
msgstr ""
msgid "Buffers list:"
@@ -493,11 +641,11 @@ msgstr ""
"%s \"-yes\" paraméter megadása kötelező a billentyűparancsok "
"visszaállításához (biztonsági okokból)\n"
#, fuzzy, c-format
msgid "%d new key added"
#, c-format
msgid "%d new key added (context: \"%s\")"
msgid_plural "%d new keys added (context: \"%s\")"
msgstr[0] "Nincs mellőzés megadva.\n"
msgstr[1] "Nincs mellőzés megadva.\n"
msgstr[0] ""
msgstr[1] ""
#, fuzzy
msgid "Stored layouts:"
@@ -1101,7 +1249,7 @@ msgstr ""
msgid ""
"option: option to change (for options list, look at /set weechat.bar."
"<barname>.*)"
"<bar_name>.*)"
msgstr ""
#, fuzzy
@@ -1554,7 +1702,7 @@ msgstr ""
#. TRANSLATORS: only text between angle brackets (eg: "<name>") may be translated
msgid ""
"[-n|-s] [-d] <expression> || [-n] [-d [-d]] -c <expression1> <operator> "
"[-n|-s] [-e] [-d] <expression> || [-n] [-d [-d]] -c <expression1> <operator> "
"<expression2>"
msgstr ""
@@ -1566,6 +1714,9 @@ msgid ""
"separated by semicolons)"
msgstr ""
msgid "raw[-e]: evaluate all commands before executing them"
msgstr ""
msgid ""
"raw[-d]: display debug output after evaluation (with two -d: more verbose "
"debug)"
@@ -2085,7 +2236,7 @@ msgid "display help about commands and options"
msgstr "segítség megjelenítése a parancsokhoz"
#. TRANSLATORS: only text between angle brackets (eg: "<name>") may be translated
msgid "-list|-listfull [<plugin>...]] || <command> || <option>"
msgid "-list|-listfull [<plugin>...] || <command> || <option>"
msgstr ""
msgid ""
@@ -2145,9 +2296,9 @@ msgid "raw[clear]: clear hotlist"
msgstr ""
msgid ""
"level: \"lowest\" to clear only lowest level in hotlist, highest\" to clear "
"only highest level in hotlist, or level mask: integer which is a combination "
"of 1=join/part, 2=message, 4=private, 8=highlight"
"level: \"lowest\" to clear only lowest level in hotlist, \"highest\" to "
"clear only highest level in hotlist, or level mask: integer which is a "
"combination of 1=join/part, 2=message, 4=private, 8=highlight"
msgstr ""
msgid "raw[remove]: remove current buffer from hotlist"
@@ -3012,7 +3163,7 @@ msgstr ""
msgid ""
"option: option to change (for options list, look at /set weechat.proxy."
"<proxyname>.*)"
"<proxy_name>.*)"
msgstr ""
msgid " add a http proxy, running on local host, port 8888:"
@@ -3249,20 +3400,20 @@ msgstr ""
msgid " encrypt libera SASL password:"
msgstr ""
msgid " /secure set libera mypassword"
msgid " /secure set libera my_password"
msgstr ""
msgid " encrypt oftc password for nickserv:"
msgstr ""
msgid " /secure set oftc mypassword"
msgid " /secure set oftc my_password"
msgstr ""
msgid " alias to ghost the nick \"mynick\":"
msgid " alias to ghost the nick \"andrew\":"
msgstr ""
msgid ""
" /alias add ghost /eval /msg -server libera nickserv ghost mynick $"
" /alias add ghost /eval /msg -server libera nickserv ghost andrew $"
"{sec.data.libera}"
msgstr ""
@@ -3502,7 +3653,7 @@ msgstr ""
msgid "With option \"-quit\", the process is:"
msgstr ""
msgid " 1. close *ALL* connections (irc, xfer, relay, ...)"
msgid " 1. close *ALL* connections (irc, xfer, relay, etc.)"
msgstr ""
#, fuzzy
@@ -5746,7 +5897,7 @@ msgstr " . típus szöveg (értékek: "
msgid "read - object type"
msgstr ""
msgid "read - bad object type ('object start' expected)"
msgid "read - bad object type (\"object start\" expected)"
msgstr ""
msgid "read - object id"
@@ -5861,98 +6012,6 @@ msgstr ""
msgid "End of URL transfer '%s', transfer stopped"
msgstr ""
#. TRANSLATORS: "%s %s" after "compiled on" is date and time
#, fuzzy, c-format
msgid ""
"WeeChat %s Copyright %s, compiled on %s %s\n"
"Developed by Sébastien Helleu <flashcode@flashtux.org> - %s"
msgstr ""
"%s Copyright (C) 2003-2010, fordítva: %s %s\n"
"Fejlesztő: Sébastien Helleu <flashcode@flashtux.org> - %s"
#, c-format
msgid "Usage: %s [option...] [plugin:option...]\n"
msgstr ""
#, fuzzy
msgid ""
" -a, --no-connect disable auto-connect to servers at startup\n"
" -c, --colors display default colors in terminal and exit\n"
" -d, --dir <path> force a single WeeChat home directory\n"
" or 5 different directories separated by colons "
"(in this order: config, data, state, cache, runtime)\n"
" (environment variable WEECHAT_HOME is read if "
"this option is not given)\n"
" -t, --temp-dir create a temporary WeeChat home directory and "
"delete it on exit\n"
" (incompatible with option \"-d\")\n"
" -h, --help display this help and exit\n"
" -i, --build-info display build information and exit\n"
" -l, --license display WeeChat license and exit\n"
" -p, --no-plugin don't load any plugin at startup\n"
" -P, --plugins <plugins> load only these plugins at startup\n"
" (see /help weechat.plugin.autoload)\n"
" -r, --run-command <cmd> run command(s) after startup;\n"
" many commands can be separated by semicolons and "
"are evaluated,\n"
" this option can be given multiple times\n"
" -s, --no-script don't load any script at startup\n"
" --upgrade upgrade WeeChat using session files (see /help "
"upgrade in WeeChat)\n"
" -v, --version display WeeChat version and exit\n"
" plugin:option option for plugin (see man weechat)\n"
msgstr ""
" -a, --no-connect automatikus csatlakozás a szerverekhez tiltása\n"
" -c, --config beállítófájl opcióinak mutatása\n"
" -d, --dir <path> a WeeChat saját könyvtára (alapértelmezett: "
"~/.weechat)\n"
" -f, --key-functions WeeChat billentyűparancsok mutatása\n"
" -h, --help ez a segítség\n"
" -i, --irc-commands IRC parancsok mutatása\n"
" -k, --keys alapértelmezett WeeChat billentyűk\n"
" -l, --license WeeChat licenc\n"
" -p, --no-plugin nem tölt be modulokat induláskor\n"
" -v, --version WeeChat verziójának mutatása\n"
" -w, --weechat-commands WeeChat parancsok mutatása\n"
msgid "Extra options in headless mode:\n"
msgstr ""
msgid ""
" --doc-gen <path> generate files to build documentation and exit\n"
msgstr ""
msgid ""
" --daemon run WeeChat as a daemon (fork, new process group, "
"file descriptors closed);\n"
msgstr ""
msgid ""
" (by default in headless mode WeeChat is blocking "
"and does not run in background)\n"
msgstr ""
msgid ""
" --stdout display log messages on standard output instead "
"of writing them in log file\n"
msgstr ""
msgid ""
" (option ignored if option \"--daemon\" is given)\n"
msgstr ""
msgid ""
"Debug options (for tools like valgrind, DO NOT USE IN PRODUCTION):\n"
" --no-dlclose do not call function dlclose after plugins are "
"unloaded\n"
" --no-gnutls disable init/deinit of gnutls\n"
" --no-gcrypt disable init/deinit of gcrypt\n"
msgstr ""
#, fuzzy, c-format
msgid "Error: missing argument for \"%s\" option\n"
msgstr "%s hiányzó argumentum a(z) \"%s\" opciónak\n"
msgid "WeeChat is running in headless mode (ctrl-c to quit)."
msgstr ""
@@ -6656,7 +6715,7 @@ msgstr ""
msgid ""
" - ${index_displayed}: index of line displayed in the bar item (starts at "
"0, only buffers displayed increment this index, see option "
"buflist.look.display_conditions"
"buflist.look.display_conditions)"
msgstr ""
#, fuzzy
@@ -8183,7 +8242,7 @@ msgid "%s%s: not connected to server \"%s\"!"
msgstr "%s nincs csatlakozva a \"%s\" szerverhez!\n"
#, fuzzy, c-format
msgid "%s: auto-reconnection is cancelled"
msgid "%s: auto-reconnection is canceled"
msgstr "automata újracsatlakozás megszakítva\n"
#, fuzzy, c-format
@@ -8344,6 +8403,12 @@ msgid_plural "seconds"
msgstr[0] "másodperc"
msgstr[1] "másodperc"
#, fuzzy
msgid "millisecond"
msgid_plural "milliseconds"
msgstr[0] "másodperc"
msgstr[1] "másodperc"
#, fuzzy
msgid "minute"
msgid_plural "minutes"
@@ -8499,7 +8564,7 @@ msgstr "CTCP üzenet küldése az összes csatlakoztatott szerver összes szobá
#, fuzzy
msgid ""
"[-current] [-parted|-all] [-exclude=<channel>[,<channel>...]] <command> || [-"
"current] [-parted|-all] -include=<channel>[,<channel>...] <command>"
"current] [-parted|-all] [-include=<channel>[,<channel>...]] <command>"
msgstr "[alias_név [parancs [paraméterek]]]"
#, fuzzy
@@ -8589,8 +8654,8 @@ msgstr "CTCP üzenet küldése az összes csatlakoztatott szerver összes szobá
#. TRANSLATORS: only text between angle brackets (eg: "<name>") may be translated
#, fuzzy
msgid ""
"[-current] [-exclude=<nick>[,<nick>...]] <command> || [-current] "
"-include=<nick>[,<nick>...] <command>"
"[-current] [-exclude=<nick>[,<nick>...]] <command> || [-current] [-"
"include=<nick>[,<nick>...]] <command>"
msgstr "[alias_név [parancs [paraméterek]]]"
#, fuzzy
@@ -8639,10 +8704,11 @@ msgid "execute a command on all connected servers"
msgstr "üzenet küldése az összes csatlakoztatott szerver összes szobájába"
#. TRANSLATORS: only text between angle brackets (eg: "<name>") may be translated
#, fuzzy
msgid ""
"[-exclude=<server>[,<server>...]] <command> || -include=<server>[,"
"<server>...] <command>"
msgstr ""
"[-exclude=<server>[,<server>...]] <command> || [-include=<server>[,"
"<server>...]] <command>"
msgstr "[alias_név [parancs [paraméterek]]]"
msgid "raw[-exclude]: exclude some servers (wildcard \"*\" is allowed)"
msgstr ""
@@ -8791,7 +8857,7 @@ msgid ""
msgstr ""
msgid ""
"raw[ack]: acknowledge capabilities which require client-side acknowledgement"
"raw[ack]: acknowledge capabilities which require client-side acknowledgment"
msgstr ""
#, fuzzy
@@ -10763,8 +10829,9 @@ msgstr ""
msgid ""
"comma-separated list of fields to sort channels (see /help list for a list "
"of fields); char \"-\" can be used before field to reverse order, char \"~\" "
"can be used to do a case-insensitive comparison; example: \"-users,~name\" "
"for biggest channels first then case-insensitive sort on name"
"can be used to do a case-insensitive comparison; example: \"-users,~name2\" "
"for biggest channels first then case-insensitive sort on channel name "
"without prefix"
msgstr ""
#, fuzzy
@@ -13898,7 +13965,7 @@ msgid "%s%s: no connection to remote relay \"%s\""
msgstr "%s nincs csatlakozva a \"%s\" szerverhez!\n"
#, fuzzy, c-format
msgid "remote[%s]: auto-reconnection is cancelled"
msgid "remote[%s]: auto-reconnection is canceled"
msgstr "automata újracsatlakozás megszakítva\n"
#, fuzzy, c-format
@@ -16133,7 +16200,7 @@ msgid "%s%s: invalid regular expression in trigger: \"%s\""
msgstr "%s nincs elég memória az információs pult üzenethez\n"
#. TRANSLATORS: this text is displayed before the list of nicks typing in the bar item "typing", it must be as short as possible
msgid "Typing:"
msgid "Typing: "
msgstr ""
msgid ""
@@ -16167,6 +16234,11 @@ msgid ""
"truncate content)"
msgstr ""
msgid ""
"text to display before the nicks in the bar item \"typing\"; if set, it is "
"used instead of the translated string \"Typing: \" which is used by default"
msgstr ""
msgid "Typing status of users"
msgstr ""
@@ -16313,8 +16385,9 @@ msgstr "nem vár ACK válaszra fájl küldésekor"
#, fuzzy
msgid ""
"IP or DNS address used for sending and passively receiving files/chats (if "
"empty, local interface IP is used)"
"IP or DNS address used for sending and passively receiving files/chats; if "
"empty, local interface IP is used (note: content is evaluated, see /help "
"eval)"
msgstr "kimenő dcc forgalom IP/DNS-címe (ha üres, a helyi interfész IP-címe)"
#, fuzzy
+216 -139
View File
@@ -22,8 +22,8 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2026-03-16 13:17+0100\n"
"PO-Revision-Date: 2025-10-27 08:27+0100\n"
"POT-Creation-Date: 2026-03-21 17:24+0100\n"
"PO-Revision-Date: 2026-03-12 20:24+0100\n"
"Last-Translator: Esteban I. Ruiz Moreno <exio4.com@gmail.com>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
"Language: it\n"
@@ -32,6 +32,161 @@ msgstr ""
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
#. TRANSLATORS: command line option "-a", "--no-connect"
#, fuzzy
#| msgid "%s%s: unable to connect to sender"
msgid "disable auto-connect to servers at startup"
msgstr "%s%s: impossibile connettersi al mittente"
#. TRANSLATORS: command line option "-c", "--colors"
msgid "display default colors in terminal and exit"
msgstr ""
#. TRANSLATORS: only "<path>" may be translated
msgid "-d, --dir <path>"
msgstr ""
#. TRANSLATORS: command line option "-d", "--dir <path>"
msgid ""
"force a single WeeChat home directory or 5 different directories separated "
"by colons (in this order: config, data, state, cache, runtime) (environment "
"variable WEECHAT_HOME is read if this option is not given)"
msgstr ""
#. TRANSLATORS: command line option "-t", "--temp-dir"
msgid ""
"create a temporary WeeChat home directory and delete it on exit "
"(incompatible with option \"-d\")"
msgstr ""
#. TRANSLATORS: command line option "-h", "--help"
#, fuzzy
#| msgid "use same nick color for channel and private"
msgid "display this help and exit"
msgstr "usa lo stesso colore del nick per canale e privato"
#. TRANSLATORS: command line option "-i", "--build-info"
msgid "display build information and exit"
msgstr ""
#. TRANSLATORS: command line option "-l", "--license"
#, fuzzy
#| msgid "display WeeChat logo at startup"
msgid "display WeeChat license and exit"
msgstr "mostra il logo di WeeChat all'avvio"
#. TRANSLATORS: command line option "-p", "--no-plugin"
#, fuzzy
#| msgid "display WeeChat logo at startup"
msgid "don't load any plugin at startup"
msgstr "mostra il logo di WeeChat all'avvio"
#. TRANSLATORS: only "<plugins>" may be translated
msgid "-P, --plugins <plugins>"
msgstr ""
#. TRANSLATORS: command line option "-P", "--plugins <plugins>"
msgid "load only these plugins at startup (see /help weechat.plugin.autoload)"
msgstr ""
#. TRANSLATORS: only "<cmd>" may be translated (please keep it short)
msgid "-r, --run-command <cmd>"
msgstr ""
#. TRANSLATORS: command line option "-r", "--run-command <cmd>"
#, fuzzy
msgid ""
"run command(s) after startup; many commands can be separated by semicolons "
"and are evaluated, this option can be given multiple times"
msgstr ""
"comando eseguito all'avvio di WeeChat, dopo il caricamento dei plugin (nota: "
"il contenuto viene valutato, consultare /help eval)"
#. TRANSLATORS: command line option "-s", "--no-script"
msgid "don't load any script at startup"
msgstr ""
#. TRANSLATORS: command line option "--upgrade"
#, fuzzy
msgid "upgrade WeeChat using session files (see /help upgrade in WeeChat)"
msgstr "%sErrore: impossibile salvare la sessione su file"
#. TRANSLATORS: command line option "-v", "--version"
#, fuzzy
#| msgid "display WeeChat version at startup"
msgid "display WeeChat version and exit"
msgstr "mostra la versione di WeeChat all'avvio"
#. TRANSLATORS: command line option: "plugin" and "option" may be translated
#, fuzzy
#| msgid "plugin pointer (optional)"
msgid "plugin:option"
msgstr "puntatore al plugin (opzionale)"
#. TRANSLATORS: command line option "plugin:option"
msgid "option for plugin (see man weechat)"
msgstr ""
#. TRANSLATORS: only "<path>" may be translated
msgid "--doc-gen <path>"
msgstr ""
#. TRANSLATORS: command line option "--doc-gen <path>"
msgid "generate files to build documentation and exit"
msgstr ""
#. TRANSLATORS: command line option "--daemon"
msgid ""
"run WeeChat as a daemon (fork, new process group, file descriptors closed); "
"by default in headless mode WeeChat is blocking and does not run in "
"background"
msgstr ""
#. TRANSLATORS: command line option "--stdout"
msgid ""
"display log messages on standard output instead of writing them in log file "
"(option ignored if option \"--daemon\" is given)"
msgstr ""
#. TRANSLATORS: command line option "--no-dlclose"
msgid "do not call function dlclose after plugins are unloaded"
msgstr ""
#. TRANSLATORS: command line option "--no-gnutls"
msgid "disable init/deinit of gnutls"
msgstr ""
#. TRANSLATORS: command line option "--no-gcrypt"
msgid "disable init/deinit of gcrypt"
msgstr ""
#. TRANSLATORS: "%s %s" after "compiled on" is date and time
#, c-format
msgid ""
"WeeChat %s Copyright %s, compiled on %s %s\n"
"Developed by Sébastien Helleu <flashcode@flashtux.org> - %s"
msgstr ""
"WeeChat %s Copyright %s, compilato il %s %s\n"
"Sviluppato da Sébastien Helleu <flashcode@flashtux.org> - %s"
msgid "Usage:"
msgstr ""
#, fuzzy
#| msgid "Usage: %s [option...] [plugin:option...]\n"
msgid "[option...] [plugin:option...]"
msgstr "Uso: %s [opzione...] [plugin:opzione...]\n"
msgid "Extra options in headless mode:"
msgstr ""
msgid "Debug options (for tools like valgrind, DO NOT USE IN PRODUCTION):"
msgstr ""
#, c-format
msgid "Error: missing argument for \"%s\" option\n"
msgstr "Errore: argomento mancante per l'opzione \"%s\"\n"
msgid "List of bars:"
msgstr "Elenco delle barre:"
@@ -138,9 +293,9 @@ msgstr "%sErrore: finestra non trovata per il comando \"%s\""
msgid "%sUnable to scroll bar \"%s\""
msgstr "%sErrore: impossibile scorrere la barra \"%s\""
#, fuzzy, c-format
msgid "%sBuffer number \"%d\" is out of range (it must be between 1 and %d)"
msgstr "%sNumero colore \"%s\" non valido (deve essere compresto tra %d e %d)"
#, c-format
msgid "%sBuffer number %d is out of range (it must be between 1 and %d)"
msgstr ""
msgid "Buffers list:"
msgstr "Elenco buffer:"
@@ -496,7 +651,7 @@ msgstr ""
"sicurezza)"
#, c-format
msgid "%d new key added"
msgid "%d new key added (context: \"%s\")"
msgid_plural "%d new keys added (context: \"%s\")"
msgstr[0] "%d nuovo tasto aggiunto (contesto: \"%s\")"
msgstr[1] "%d nuovi tasti aggiunti (contesto: \"%s\")"
@@ -1119,7 +1274,7 @@ msgstr ""
msgid ""
"option: option to change (for options list, look at /set weechat.bar."
"<barname>.*)"
"<bar_name>.*)"
msgstr ""
#, fuzzy
@@ -1607,7 +1762,7 @@ msgstr ""
#. TRANSLATORS: only text between angle brackets (eg: "<name>") may be translated
#, fuzzy
msgid ""
"[-n|-s] [-d] <expression> || [-n] [-d [-d]] -c <expression1> <operator> "
"[-n|-s] [-e] [-d] <expression> || [-n] [-d [-d]] -c <expression1> <operator> "
"<expression2>"
msgstr ""
"[-n] <espressione> || [-n] -c <espressione1> <operatore> <espressione2>"
@@ -1620,6 +1775,9 @@ msgid ""
"separated by semicolons)"
msgstr ""
msgid "raw[-e]: evaluate all commands before executing them"
msgstr ""
msgid ""
"raw[-d]: display debug output after evaluation (with two -d: more verbose "
"debug)"
@@ -2165,7 +2323,7 @@ msgstr "visualizza l'aiuto su comandi e opzioni"
#. TRANSLATORS: only text between angle brackets (eg: "<name>") may be translated
#, fuzzy
#| msgid "-list|-listfull [<plugin> [<plugin>...]] || <command> || <option>"
msgid "-list|-listfull [<plugin>...]] || <command> || <option>"
msgid "-list|-listfull [<plugin>...] || <command> || <option>"
msgstr "-list|-listfull [<plugin> [<plugin>...]] || <comando> || <opzione>"
msgid ""
@@ -2228,9 +2386,9 @@ msgid "raw[clear]: clear hotlist"
msgstr ""
msgid ""
"level: \"lowest\" to clear only lowest level in hotlist, highest\" to clear "
"only highest level in hotlist, or level mask: integer which is a combination "
"of 1=join/part, 2=message, 4=private, 8=highlight"
"level: \"lowest\" to clear only lowest level in hotlist, \"highest\" to "
"clear only highest level in hotlist, or level mask: integer which is a "
"combination of 1=join/part, 2=message, 4=private, 8=highlight"
msgstr ""
msgid "raw[remove]: remove current buffer from hotlist"
@@ -3126,7 +3284,7 @@ msgstr ""
msgid ""
"option: option to change (for options list, look at /set weechat.proxy."
"<proxyname>.*)"
"<proxy_name>.*)"
msgstr ""
msgid " add a http proxy, running on local host, port 8888:"
@@ -3404,20 +3562,20 @@ msgstr ""
msgid " encrypt libera SASL password:"
msgstr ""
msgid " /secure set libera mypassword"
msgid " /secure set libera my_password"
msgstr ""
msgid " encrypt oftc password for nickserv:"
msgstr ""
msgid " /secure set oftc mypassword"
msgid " /secure set oftc my_password"
msgstr ""
msgid " alias to ghost the nick \"mynick\":"
msgid " alias to ghost the nick \"andrew\":"
msgstr ""
msgid ""
" /alias add ghost /eval /msg -server libera nickserv ghost mynick $"
" /alias add ghost /eval /msg -server libera nickserv ghost andrew $"
"{sec.data.libera}"
msgstr ""
@@ -3680,7 +3838,7 @@ msgstr ""
msgid "With option \"-quit\", the process is:"
msgstr ""
msgid " 1. close *ALL* connections (irc, xfer, relay, ...)"
msgid " 1. close *ALL* connections (irc, xfer, relay, etc.)"
msgstr ""
#, fuzzy
@@ -4808,7 +4966,7 @@ msgid ""
"string used to show that some lines are filtered in current buffer (bar item "
"\"buffer_filter\")"
msgstr ""
"stringa usata per mostrare che alcune righe sono state filtrate nel buffer "
"stringa usata per mostrare che alcune righe sono state filtrate nel buffer "
"corrente (elemento barra \"buffer_filter\")"
#, fuzzy
@@ -6182,7 +6340,7 @@ msgstr "%s sorgente: %s, riga: %d"
#, c-format
msgid "%s *** Please report above info to developers ***"
msgstr ""
"%s *** Per favore inviare le precedenti informazioni agli sviluppatori ***"
"%s *** Per favore inviare le precedenti informazioni agli sviluppatori ***"
msgid "write - object type"
msgstr "scrittura - tipo oggetto"
@@ -6202,8 +6360,8 @@ msgstr "scrittura - variabile"
msgid "read - object type"
msgstr "lettura - tipo oggetto"
msgid "read - bad object type ('object start' expected)"
msgstr "lettura - tipo oggetto errato ('object start' previsto)"
msgid "read - bad object type (\"object start\" expected)"
msgstr "lettura - tipo oggetto errato (\"object start\" previsto)"
msgid "read - object id"
msgstr "lettura - id oggetto"
@@ -6323,100 +6481,6 @@ msgstr ""
msgid "End of URL transfer '%s', transfer stopped"
msgstr "Fine comando '%s', timeout raggiunto (%.1fs)"
#. TRANSLATORS: "%s %s" after "compiled on" is date and time
#, c-format
msgid ""
"WeeChat %s Copyright %s, compiled on %s %s\n"
"Developed by Sébastien Helleu <flashcode@flashtux.org> - %s"
msgstr ""
"WeeChat %s Copyright %s, compilato il %s %s\n"
"Sviluppato da Sébastien Helleu <flashcode@flashtux.org> - %s"
#, c-format
msgid "Usage: %s [option...] [plugin:option...]\n"
msgstr "Uso: %s [opzione...] [plugin:opzione...]\n"
#, fuzzy
msgid ""
" -a, --no-connect disable auto-connect to servers at startup\n"
" -c, --colors display default colors in terminal and exit\n"
" -d, --dir <path> force a single WeeChat home directory\n"
" or 5 different directories separated by colons "
"(in this order: config, data, state, cache, runtime)\n"
" (environment variable WEECHAT_HOME is read if "
"this option is not given)\n"
" -t, --temp-dir create a temporary WeeChat home directory and "
"delete it on exit\n"
" (incompatible with option \"-d\")\n"
" -h, --help display this help and exit\n"
" -i, --build-info display build information and exit\n"
" -l, --license display WeeChat license and exit\n"
" -p, --no-plugin don't load any plugin at startup\n"
" -P, --plugins <plugins> load only these plugins at startup\n"
" (see /help weechat.plugin.autoload)\n"
" -r, --run-command <cmd> run command(s) after startup;\n"
" many commands can be separated by semicolons and "
"are evaluated,\n"
" this option can be given multiple times\n"
" -s, --no-script don't load any script at startup\n"
" --upgrade upgrade WeeChat using session files (see /help "
"upgrade in WeeChat)\n"
" -v, --version display WeeChat version and exit\n"
" plugin:option option for plugin (see man weechat)\n"
msgstr ""
" -a, --no-connect\t disabilita la connessione automatica all'avvio\n"
" -c, --colors mostra i colori predefiniti nel terminale\n"
" -d, --dir <path> imposta la directory principale di WeeChat "
"(predefinita: ~/.weechat)\n"
" -h, --help mostra questo aiuto\n"
" -l, --license mostra la licenza di WeeChat\n"
" -p, --no-plugin non carica i plugin all'avvio\n"
" -s, --no-script non carica gli script all'avvio\n"
" -r, --run-command esegue uno o più comandi all'avvio\n"
"(più comandi vanno separati da punto e virgola)\n"
" --upgrade aggiorna WeeChat usando i file di sessione "
"(consultare /help upgrade in WeeChat)\n"
" -v. --version mostra la versione di WeeChat\n"
" plugin:opzione opzione per il plugin (consultare man weechat)\n"
msgid "Extra options in headless mode:\n"
msgstr ""
msgid ""
" --doc-gen <path> generate files to build documentation and exit\n"
msgstr ""
msgid ""
" --daemon run WeeChat as a daemon (fork, new process group, "
"file descriptors closed);\n"
msgstr ""
msgid ""
" (by default in headless mode WeeChat is blocking "
"and does not run in background)\n"
msgstr ""
msgid ""
" --stdout display log messages on standard output instead "
"of writing them in log file\n"
msgstr ""
msgid ""
" (option ignored if option \"--daemon\" is given)\n"
msgstr ""
msgid ""
"Debug options (for tools like valgrind, DO NOT USE IN PRODUCTION):\n"
" --no-dlclose do not call function dlclose after plugins are "
"unloaded\n"
" --no-gnutls disable init/deinit of gnutls\n"
" --no-gcrypt disable init/deinit of gcrypt\n"
msgstr ""
#, c-format
msgid "Error: missing argument for \"%s\" option\n"
msgstr "Errore: argomento mancante per l'opzione \"%s\"\n"
#, fuzzy
msgid "WeeChat is running in headless mode (ctrl-c to quit)."
msgstr "1 se si sta aggiornando WeeChat (comando `/upgrade`)"
@@ -7142,7 +7206,7 @@ msgstr ""
msgid ""
" - ${index_displayed}: index of line displayed in the bar item (starts at "
"0, only buffers displayed increment this index, see option "
"buflist.look.display_conditions"
"buflist.look.display_conditions)"
msgstr ""
#, fuzzy
@@ -8743,7 +8807,7 @@ msgid "%s%s: not connected to server \"%s\"!"
msgstr "%s%s: non connesso al server \"%s\"!"
#, c-format
msgid "%s: auto-reconnection is cancelled"
msgid "%s: auto-reconnection is canceled"
msgstr "%s: la riconnessione automatica è annullata"
#, c-format
@@ -8913,6 +8977,14 @@ msgid_plural "seconds"
msgstr[0] "secondo"
msgstr[1] "secondi"
#, fuzzy
#| msgid "second"
#| msgid_plural "seconds"
msgid "millisecond"
msgid_plural "milliseconds"
msgstr[0] "secondo"
msgstr[1] "secondi"
msgid "minute"
msgid_plural "minutes"
msgstr[0] "minuto"
@@ -9075,7 +9147,7 @@ msgstr "esegue un comando su tutti i canali di tutti i server connessi"
#, fuzzy
msgid ""
"[-current] [-parted|-all] [-exclude=<channel>[,<channel>...]] <command> || [-"
"current] [-parted|-all] -include=<channel>[,<channel>...] <command>"
"current] [-parted|-all] [-include=<channel>[,<channel>...]] <command>"
msgstr "[-current] [-exclude=<canale>[,<canale>...]] <comando> [<argomenti>]"
#, fuzzy
@@ -9177,8 +9249,8 @@ msgstr "esegue un comando su tutti i canali di tutti i server connessi"
#. TRANSLATORS: only text between angle brackets (eg: "<name>") may be translated
#, fuzzy
msgid ""
"[-current] [-exclude=<nick>[,<nick>...]] <command> || [-current] "
"-include=<nick>[,<nick>...] <command>"
"[-current] [-exclude=<nick>[,<nick>...]] <command> || [-current] [-"
"include=<nick>[,<nick>...]] <command>"
msgstr "[-current] [-exclude=<canale>[,<canale>...]] <comando> [<argomenti>]"
#, fuzzy
@@ -9233,8 +9305,8 @@ msgstr "esegue un comando su tutti i server connessi"
#. TRANSLATORS: only text between angle brackets (eg: "<name>") may be translated
#, fuzzy
msgid ""
"[-exclude=<server>[,<server>...]] <command> || -include=<server>[,"
"<server>...] <command>"
"[-exclude=<server>[,<server>...]] <command> || [-include=<server>[,"
"<server>...]] <command>"
msgstr "[-exclude=<server>[,<server>...]] <comando> [<argomenti>]"
msgid "raw[-exclude]: exclude some servers (wildcard \"*\" is allowed)"
@@ -9399,7 +9471,7 @@ msgid ""
msgstr ""
msgid ""
"raw[ack]: acknowledge capabilities which require client-side acknowledgement"
"raw[ack]: acknowledge capabilities which require client-side acknowledgment"
msgstr ""
#, fuzzy
@@ -11508,8 +11580,9 @@ msgstr ""
msgid ""
"comma-separated list of fields to sort channels (see /help list for a list "
"of fields); char \"-\" can be used before field to reverse order, char \"~\" "
"can be used to do a case-insensitive comparison; example: \"-users,~name\" "
"for biggest channels first then case-insensitive sort on name"
"can be used to do a case-insensitive comparison; example: \"-users,~name2\" "
"for biggest channels first then case-insensitive sort on channel name "
"without prefix"
msgstr ""
#, fuzzy
@@ -12595,7 +12668,7 @@ msgstr "%sL'argomento per %s%s%s è \"%s%s\""
#. TRANSLATORS: "%s" after "on" is a date
#, c-format
msgid "%sTopic set by %s%s%s%s%s%s%s%s%s on %s"
msgstr "%sArgomento impostato da %s%s%s%s%s%s%s%s%s il %s"
msgstr "%sArgomento impostato da %s%s%s%s%s%s%s%s%s il %s"
#. TRANSLATORS: "%s" after "on" is a date
#, c-format
@@ -12807,7 +12880,7 @@ msgstr "%s%s: nessuna connessione al server \"%s\" per la redirezione"
#, c-format
msgid "%s%s: missing argument \"%s\" for redirect"
msgstr "%s%s: argomento \"%s\" mancante per la redirezione"
msgstr "%s%s: argomento \"%s\" mancante per la redirezione"
#, c-format
msgid "%s%s: redirect pattern \"%s\" not found"
@@ -14890,10 +14963,9 @@ msgstr "%s%s: server \"%s\" non trovato per il comando \"%s\""
msgid "%s%s: no connection to remote relay \"%s\""
msgstr "%s%s: non connesso al server \"%s\"!"
#, fuzzy, c-format
#| msgid "%s: auto-reconnection is cancelled"
msgid "remote[%s]: auto-reconnection is cancelled"
msgstr "%s: la riconnessione automatica è annullata"
#, c-format
msgid "remote[%s]: auto-reconnection is canceled"
msgstr ""
#, fuzzy, c-format
#| msgid "%s%s: server \"%s\" already exists for \"%s\" command"
@@ -17296,7 +17368,7 @@ msgid "%s%s: invalid regular expression in trigger: \"%s\""
msgstr "%s%s: errore nella compilazione dell'espressione regolare \"%s\""
#. TRANSLATORS: this text is displayed before the list of nicks typing in the bar item "typing", it must be as short as possible
msgid "Typing:"
msgid "Typing: "
msgstr ""
msgid ""
@@ -17330,6 +17402,11 @@ msgid ""
"truncate content)"
msgstr ""
msgid ""
"text to display before the nicks in the bar item \"typing\"; if set, it is "
"used instead of the translated string \"Typing: \" which is used by default"
msgstr ""
msgid "Typing status of users"
msgstr ""
@@ -17479,8 +17556,9 @@ msgstr "non attendere ACK all'invio del file"
#| "IP or DNS address used for sending files/chats (if empty, local interface "
#| "IP is used)"
msgid ""
"IP or DNS address used for sending and passively receiving files/chats (if "
"empty, local interface IP is used)"
"IP or DNS address used for sending and passively receiving files/chats; if "
"empty, local interface IP is used (note: content is evaluated, see /help "
"eval)"
msgstr ""
"Indirizzo IP o DNS per l'invio di file/chat (se vuoto, verrà usata "
"l'interfaccia IP locale)"
@@ -17773,7 +17851,7 @@ msgstr "%s%s: tipo xfer \"%s\" sconosciuto"
#, c-format
msgid "%s%s: unknown xfer protocol \"%s\""
msgstr "%s%s: protocollo xfer \"%s\" sconosciuto"
msgstr "%s%s: protocollo xfer \"%s\" sconosciuto"
#, c-format
msgid "%s%s: cannot access file \"%s\""
@@ -17808,6 +17886,5 @@ msgid ""
"%s%s: unable to accept resume file \"%s\" (port: %d, start position: %llu): "
"xfer not found or not ready for transfer"
msgstr ""
"%s%s: impossibile accettare di riprendere il file \"%s\" (porta: %d, "
"posizione di avvio: %llu): xfer non trovato o non pronto per il "
"trasferimento"
"%s%s: impossibile accettare di riprendere il file \"%s\" (porta: %d, "
"posizione di avvio: %llu): xfer non trovato o non pronto per il trasferimento"
+213 -153
View File
@@ -22,8 +22,8 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2026-03-16 13:17+0100\n"
"PO-Revision-Date: 2026-03-16 13:19+0100\n"
"POT-Creation-Date: 2026-03-21 17:24+0100\n"
"PO-Revision-Date: 2026-03-16 13:22+0100\n"
"Last-Translator: AYANOKOUZI, Ryuunosuke <i38w7i3@yahoo.co.jp>\n"
"Language-Team: Japanese <https://github.com/l/weechat/tree/master/"
"translation/ja_JP>\n"
@@ -33,6 +33,164 @@ msgstr ""
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=1; plural=0;\n"
#. TRANSLATORS: command line option "-a", "--no-connect"
#, fuzzy
#| msgid "%s%s: unable to connect to sender"
msgid "disable auto-connect to servers at startup"
msgstr "%s%s: 送信者に接続できません"
#. TRANSLATORS: command line option "-c", "--colors"
msgid "display default colors in terminal and exit"
msgstr ""
#. TRANSLATORS: only "<path>" may be translated
msgid "-d, --dir <path>"
msgstr ""
#. TRANSLATORS: command line option "-d", "--dir <path>"
msgid ""
"force a single WeeChat home directory or 5 different directories separated "
"by colons (in this order: config, data, state, cache, runtime) (environment "
"variable WEECHAT_HOME is read if this option is not given)"
msgstr ""
#. TRANSLATORS: command line option "-t", "--temp-dir"
msgid ""
"create a temporary WeeChat home directory and delete it on exit "
"(incompatible with option \"-d\")"
msgstr ""
#. TRANSLATORS: command line option "-h", "--help"
#, fuzzy
#| msgid "use same nick color for channel and private"
msgid "display this help and exit"
msgstr "チャンネルとプライベートバッファで同じニックネーム色を利用"
#. TRANSLATORS: command line option "-i", "--build-info"
msgid "display build information and exit"
msgstr ""
#. TRANSLATORS: command line option "-l", "--license"
#, fuzzy
#| msgid "display WeeChat logo at startup"
msgid "display WeeChat license and exit"
msgstr "WeeChat ロゴを開始時に表示"
#. TRANSLATORS: command line option "-p", "--no-plugin"
#, fuzzy
#| msgid "display WeeChat logo at startup"
msgid "don't load any plugin at startup"
msgstr "WeeChat ロゴを開始時に表示"
#. TRANSLATORS: only "<plugins>" may be translated
msgid "-P, --plugins <plugins>"
msgstr ""
#. TRANSLATORS: command line option "-P", "--plugins <plugins>"
msgid "load only these plugins at startup (see /help weechat.plugin.autoload)"
msgstr ""
#. TRANSLATORS: only "<cmd>" may be translated (please keep it short)
msgid "-r, --run-command <cmd>"
msgstr ""
#. TRANSLATORS: command line option "-r", "--run-command <cmd>"
#, fuzzy
msgid ""
"run command(s) after startup; many commands can be separated by semicolons "
"and are evaluated, this option can be given multiple times"
msgstr ""
"WeeChat が実行され、プラグインのロード後に実行されるコマンド (注意: 値は評価"
"されます、/help eval を参照してください)"
#. TRANSLATORS: command line option "-s", "--no-script"
msgid "don't load any script at startup"
msgstr ""
#. TRANSLATORS: command line option "--upgrade"
#, fuzzy
msgid "upgrade WeeChat using session files (see /help upgrade in WeeChat)"
msgstr "%sエラー: ファイルにセッションを保存できません"
#. TRANSLATORS: command line option "-v", "--version"
#, fuzzy
#| msgid "display WeeChat version at startup"
msgid "display WeeChat version and exit"
msgstr "WeeChat バージョンを開始時に表示"
#. TRANSLATORS: command line option: "plugin" and "option" may be translated
#, fuzzy
#| msgid "plugin pointer (optional)"
msgid "plugin:option"
msgstr "プラグインポインタ (任意)"
#. TRANSLATORS: command line option "plugin:option"
msgid "option for plugin (see man weechat)"
msgstr ""
#. TRANSLATORS: only "<path>" may be translated
msgid "--doc-gen <path>"
msgstr ""
#. TRANSLATORS: command line option "--doc-gen <path>"
msgid "generate files to build documentation and exit"
msgstr ""
#. TRANSLATORS: command line option "--daemon"
msgid ""
"run WeeChat as a daemon (fork, new process group, file descriptors closed); "
"by default in headless mode WeeChat is blocking and does not run in "
"background"
msgstr ""
"WeeChat をデーモンとして実行 (フォーク、新しいプロセスグループ、ファイルディ"
"スクリプタを閉じる); ヘッドレスモードのデフォルトでは WeeChat はプロセスをブ"
"ロックし、バックグラウンド動作しません"
#. TRANSLATORS: command line option "--stdout"
msgid ""
"display log messages on standard output instead of writing them in log file "
"(option ignored if option \"--daemon\" is given)"
msgstr ""
#. TRANSLATORS: command line option "--no-dlclose"
msgid "do not call function dlclose after plugins are unloaded"
msgstr "プラグインがアンロードされた後に、dlclose 関数を呼び出さない"
#. TRANSLATORS: command line option "--no-gnutls"
msgid "disable init/deinit of gnutls"
msgstr "gnutls の init/deinit を無効化"
#. TRANSLATORS: command line option "--no-gcrypt"
msgid "disable init/deinit of gcrypt"
msgstr "gcrypt の init/deinit を無効化"
#. TRANSLATORS: "%s %s" after "compiled on" is date and time
#, c-format
msgid ""
"WeeChat %s Copyright %s, compiled on %s %s\n"
"Developed by Sébastien Helleu <flashcode@flashtux.org> - %s"
msgstr ""
"WeeChat %s 著作権 %s、%s %s にコンパイル\n"
"開発者 Sébastien Helleu <flashcode@flashtux.org> - %s"
msgid "Usage:"
msgstr "使い方:"
msgid "[option...] [plugin:option...]"
msgstr "[オプション...] [プラグイン:オプション...]"
msgid "Extra options in headless mode:"
msgstr "ヘッドレスモード用の追加オプション:"
msgid "Debug options (for tools like valgrind, DO NOT USE IN PRODUCTION):"
msgstr ""
"デバッグオプション (valgrind などのツールと組み合わせて使用してください、通常"
"利用中には使用しないでください):"
#, c-format
msgid "Error: missing argument for \"%s\" option\n"
msgstr "エラー: \"%s\" オプションの引数がありません\n"
msgid "List of bars:"
msgstr "バーのリスト:"
@@ -140,7 +298,7 @@ msgid "%sUnable to scroll bar \"%s\""
msgstr "%sエラー: バー \"%s\" をスクロールできません"
#, fuzzy, c-format
msgid "%sBuffer number \"%d\" is out of range (it must be between 1 and %d)"
msgid "%sBuffer number %d is out of range (it must be between 1 and %d)"
msgstr ""
"%sエラー: %d は範囲外のバッファ番号です (1 から %d の間で指定してください)"
@@ -507,9 +665,9 @@ msgstr ""
"由で)"
#, c-format
msgid "%d new key added"
msgid "%d new key added (context: \"%s\")"
msgid_plural "%d new keys added (context: \"%s\")"
msgstr[0] "%d 個の新しいキーを追加しました (コンテキスト: \"%s\")"
msgstr[0] ""
msgid "Stored layouts:"
msgstr "保存されたレイアウト:"
@@ -1129,7 +1287,7 @@ msgstr ""
msgid ""
"option: option to change (for options list, look at /set weechat.bar."
"<barname>.*)"
"<bar_name>.*)"
msgstr ""
#, fuzzy
@@ -1645,7 +1803,7 @@ msgstr "式を評価"
#. TRANSLATORS: only text between angle brackets (eg: "<name>") may be translated
#, fuzzy
msgid ""
"[-n|-s] [-d] <expression> || [-n] [-d [-d]] -c <expression1> <operator> "
"[-n|-s] [-e] [-d] <expression> || [-n] [-d [-d]] -c <expression1> <operator> "
"<expression2>"
msgstr "[-n|-s] <expression> || [-n] -c <expression1> <operator> <expression2>"
@@ -1663,6 +1821,9 @@ msgstr ""
"正規表現置換が行われた後に条件が満足された場合に実行するコマンド (多くのコマ"
"ンドを実行するにはセミコロンで区切ってください)"
msgid "raw[-e]: evaluate all commands before executing them"
msgstr ""
msgid ""
"raw[-d]: display debug output after evaluation (with two -d: more verbose "
"debug)"
@@ -2204,7 +2365,7 @@ msgstr "コマンドとオプションに関するヘルプを表示"
#. TRANSLATORS: only text between angle brackets (eg: "<name>") may be translated
#, fuzzy
#| msgid "-list|-listfull [<plugin> [<plugin>...]] || <command> || <option>"
msgid "-list|-listfull [<plugin>...]] || <command> || <option>"
msgid "-list|-listfull [<plugin>...] || <command> || <option>"
msgstr "-list|-listfull [<plugin> [<plugin>...]] || <command> || <option>"
msgid ""
@@ -2267,9 +2428,9 @@ msgid "raw[clear]: clear hotlist"
msgstr ""
msgid ""
"level: \"lowest\" to clear only lowest level in hotlist, highest\" to clear "
"only highest level in hotlist, or level mask: integer which is a combination "
"of 1=join/part, 2=message, 4=private, 8=highlight"
"level: \"lowest\" to clear only lowest level in hotlist, \"highest\" to "
"clear only highest level in hotlist, or level mask: integer which is a "
"combination of 1=join/part, 2=message, 4=private, 8=highlight"
msgstr ""
msgid "raw[remove]: remove current buffer from hotlist"
@@ -3178,7 +3339,7 @@ msgstr ""
msgid ""
"option: option to change (for options list, look at /set weechat.proxy."
"<proxyname>.*)"
"<proxy_name>.*)"
msgstr ""
msgid " add a http proxy, running on local host, port 8888:"
@@ -3481,20 +3642,20 @@ msgstr ""
msgid " encrypt libera SASL password:"
msgstr ""
msgid " /secure set libera mypassword"
msgid " /secure set libera my_password"
msgstr ""
msgid " encrypt oftc password for nickserv:"
msgstr ""
msgid " /secure set oftc mypassword"
msgid " /secure set oftc my_password"
msgstr ""
msgid " alias to ghost the nick \"mynick\":"
msgid " alias to ghost the nick \"andrew\":"
msgstr ""
msgid ""
" /alias add ghost /eval /msg -server libera nickserv ghost mynick $"
" /alias add ghost /eval /msg -server libera nickserv ghost andrew $"
"{sec.data.libera}"
msgstr ""
@@ -3764,7 +3925,7 @@ msgstr ""
msgid "With option \"-quit\", the process is:"
msgstr ""
msgid " 1. close *ALL* connections (irc, xfer, relay, ...)"
msgid " 1. close *ALL* connections (irc, xfer, relay, etc.)"
msgstr ""
#, fuzzy
@@ -6375,8 +6536,8 @@ msgstr "書き込み - 変数"
msgid "read - object type"
msgstr "読み込み - オブジェクト型"
msgid "read - bad object type ('object start' expected)"
msgstr "書き込み - 不正なオブジェクト型 ('object start' が必要)"
msgid "read - bad object type (\"object start\" expected)"
msgstr "書き込み - 不正なオブジェクト型 (\"object start\" が必要)"
msgid "read - object id"
msgstr "読み込み - オブジェクト id"
@@ -6500,121 +6661,6 @@ msgstr ""
msgid "End of URL transfer '%s', transfer stopped"
msgstr "コマンド '%s' の終了、タイムアウトになりました (%.1fs)"
#. TRANSLATORS: "%s %s" after "compiled on" is date and time
#, c-format
msgid ""
"WeeChat %s Copyright %s, compiled on %s %s\n"
"Developed by Sébastien Helleu <flashcode@flashtux.org> - %s"
msgstr ""
"WeeChat %s 著作権 %s、%s %s にコンパイル\n"
"開発者 Sébastien Helleu <flashcode@flashtux.org> - %s"
#, c-format
msgid "Usage: %s [option...] [plugin:option...]\n"
msgstr "使い方: %s [オプション...] [プラグイン:オプション...]\n"
#, fuzzy
msgid ""
" -a, --no-connect disable auto-connect to servers at startup\n"
" -c, --colors display default colors in terminal and exit\n"
" -d, --dir <path> force a single WeeChat home directory\n"
" or 5 different directories separated by colons "
"(in this order: config, data, state, cache, runtime)\n"
" (environment variable WEECHAT_HOME is read if "
"this option is not given)\n"
" -t, --temp-dir create a temporary WeeChat home directory and "
"delete it on exit\n"
" (incompatible with option \"-d\")\n"
" -h, --help display this help and exit\n"
" -i, --build-info display build information and exit\n"
" -l, --license display WeeChat license and exit\n"
" -p, --no-plugin don't load any plugin at startup\n"
" -P, --plugins <plugins> load only these plugins at startup\n"
" (see /help weechat.plugin.autoload)\n"
" -r, --run-command <cmd> run command(s) after startup;\n"
" many commands can be separated by semicolons and "
"are evaluated,\n"
" this option can be given multiple times\n"
" -s, --no-script don't load any script at startup\n"
" --upgrade upgrade WeeChat using session files (see /help "
"upgrade in WeeChat)\n"
" -v, --version display WeeChat version and exit\n"
" plugin:option option for plugin (see man weechat)\n"
msgstr ""
" -a, --no-connect 起動時にサーバに自動接続しない\n"
" -c, --colors 端末にデフォルトの色を表示\n"
" -d, --dir <path> WeeChat ホームディレクトリを設定 (デフォルト: "
"~/.weechat)\n"
" (このオプションが設定されていない場合、"
"WEECHAT_HOME 環境変数を読みます)\n"
" -t, --temp-dir 一時的に WeeChat ホームディレクトリを作成し、終了"
"時にこれを削除\n"
" (オプション \"-d\" と同時利用不可)\n"
" -h, --help このヘルプを表示\n"
" -l, --license WeeChat ライセンスを表示\n"
" -p, --no-plugin 起動時にプラグインをロードしない\n"
" -P, --plugins <plugins> 指定したプラグインのみを起動時にロードする\n"
" (/help weechat.plugin.autoload を参照してくださ"
"い)\n"
" -r, --run-command <cmd> 起動後にコマンドを実行;\n"
" 複数のコマンドを実行するには各コマンドをセミコロン"
"で区切って下さい\n"
" このオプションは複数回使用できます\n"
" -s, --no-script 起動時にスクリプトをロードしない\n"
" --upgrade セッションファイルを使って WeeChat をアップグレー"
"ド (WeeChat で /help upgrade を確認してください)\n"
" -v, --version WeeChat のバージョンを表示\n"
" plugin:option プラグイン用オプション (man weechat を参照してくだ"
"さい)\n"
msgid "Extra options in headless mode:\n"
msgstr "ヘッドレスモード用の追加オプション:\n"
msgid ""
" --doc-gen <path> generate files to build documentation and exit\n"
msgstr ""
msgid ""
" --daemon run WeeChat as a daemon (fork, new process group, "
"file descriptors closed);\n"
msgstr ""
" --daemon WeeChat をデーモンとして実行 (フォーク、新しいプロ"
"セスグループ、ファイルディスクリプタを閉じる);\n"
msgid ""
" (by default in headless mode WeeChat is blocking "
"and does not run in background)\n"
msgstr ""
" (ヘッドレスモードのデフォルトでは WeeChat はプロセ"
"スをブロックし、バックグラウンド動作しません)\n"
msgid ""
" --stdout display log messages on standard output instead "
"of writing them in log file\n"
msgstr ""
msgid ""
" (option ignored if option \"--daemon\" is given)\n"
msgstr ""
msgid ""
"Debug options (for tools like valgrind, DO NOT USE IN PRODUCTION):\n"
" --no-dlclose do not call function dlclose after plugins are "
"unloaded\n"
" --no-gnutls disable init/deinit of gnutls\n"
" --no-gcrypt disable init/deinit of gcrypt\n"
msgstr ""
"デバッグオプション (valgrind などのツールと組み合わせて使用してください、通常"
"利用中には使用しないでください):\n"
" --no-dlclose プラグインがアンロードされた後に、dlclose 関数を呼"
"び出さない\n"
" --no-gnutls gnutls の init/deinit を無効化\n"
" --no-gcrypt gcrypt の init/deinit を無効化\n"
#, c-format
msgid "Error: missing argument for \"%s\" option\n"
msgstr "エラー: \"%s\" オプションの引数がありません\n"
#, fuzzy
#| msgid "WeeChat is running in headless mode (Ctrl-C to quit)."
msgid "WeeChat is running in headless mode (ctrl-c to quit)."
@@ -7365,7 +7411,7 @@ msgstr ""
msgid ""
" - ${index_displayed}: index of line displayed in the bar item (starts at "
"0, only buffers displayed increment this index, see option "
"buflist.look.display_conditions"
"buflist.look.display_conditions)"
msgstr ""
#, fuzzy
@@ -7644,7 +7690,7 @@ msgid ""
msgstr ""
"%s%s: 警告: buffers.pl スクリプトが読み込まれました。buffers.pl スクリプトは "
"buflist プラグインと類似するバーリストが含まれるバーを提供しています; 必要な"
"らば、buffers.pl スクリプトを削除 (/script remove buffers.pl) するか、"
"らば、buffers.pl スクリプトを削除 (/script remove buffers.pl) するか、"
"buflist プラグインを無効化/アンロードしてください; 詳しい情報は WeeChat リ"
"リースノートを参照してください"
@@ -9060,7 +9106,7 @@ msgid "%s%s: not connected to server \"%s\"!"
msgstr "%s%s: サーバ \"%s\" に接続されていません!"
#, c-format
msgid "%s: auto-reconnection is cancelled"
msgid "%s: auto-reconnection is canceled"
msgstr "%s: 自動再接続がキャンセルされました"
#, c-format
@@ -9228,6 +9274,13 @@ msgid "second"
msgid_plural "seconds"
msgstr[0] "秒"
#, fuzzy
#| msgid "second"
#| msgid_plural "seconds"
msgid "millisecond"
msgid_plural "milliseconds"
msgstr[0] "秒"
msgid "minute"
msgid_plural "minutes"
msgstr[0] "分"
@@ -9389,7 +9442,7 @@ msgstr "全てのサーバ、全てのチャンネルに対してコマンドを
#, fuzzy
msgid ""
"[-current] [-parted|-all] [-exclude=<channel>[,<channel>...]] <command> || [-"
"current] [-parted|-all] -include=<channel>[,<channel>...] <command>"
"current] [-parted|-all] [-include=<channel>[,<channel>...]] <command>"
msgstr ""
"[-current] [-exclude=<channel>[,<channel>...]] <command> [<arguments>] || [-"
"current] -include=<channel>[,<channel>...] <command> [<arguments>]"
@@ -9492,8 +9545,8 @@ msgstr "全ての接続済みサーバの全てのプライベートバッファ
#. TRANSLATORS: only text between angle brackets (eg: "<name>") may be translated
#, fuzzy
msgid ""
"[-current] [-exclude=<nick>[,<nick>...]] <command> || [-current] "
"-include=<nick>[,<nick>...] <command>"
"[-current] [-exclude=<nick>[,<nick>...]] <command> || [-current] [-"
"include=<nick>[,<nick>...]] <command>"
msgstr ""
"[-current] [-exclude=<nick>[,<nick>...]] <command> [<arguments>] || [-"
"current] -include=<nick>[,<nick>...] <command> [<arguments>]"
@@ -9550,8 +9603,8 @@ msgstr "全ての接続済みサーバでコマンドを実行"
#. TRANSLATORS: only text between angle brackets (eg: "<name>") may be translated
#, fuzzy
msgid ""
"[-exclude=<server>[,<server>...]] <command> || -include=<server>[,"
"<server>...] <command>"
"[-exclude=<server>[,<server>...]] <command> || [-include=<server>[,"
"<server>...]] <command>"
msgstr ""
"[-exclude=<server>[,<server>...]] <command> [<arguments>] || "
"-include=<server>[,<server>...] <command> [<arguments>]"
@@ -9732,7 +9785,7 @@ msgid ""
msgstr ""
msgid ""
"raw[ack]: acknowledge capabilities which require client-side acknowledgement"
"raw[ack]: acknowledge capabilities which require client-side acknowledgment"
msgstr ""
#, fuzzy
@@ -11954,8 +12007,9 @@ msgstr "fset バッファの左右スクロール量 (横幅の割合)"
msgid ""
"comma-separated list of fields to sort channels (see /help list for a list "
"of fields); char \"-\" can be used before field to reverse order, char \"~\" "
"can be used to do a case-insensitive comparison; example: \"-users,~name\" "
"for biggest channels first then case-insensitive sort on name"
"can be used to do a case-insensitive comparison; example: \"-users,~name2\" "
"for biggest channels first then case-insensitive sort on channel name "
"without prefix"
msgstr ""
#, fuzzy
@@ -12753,7 +12807,7 @@ msgstr "%s%s: サーバに接続していません"
#, c-format
msgid "%s%s: this buffer is not a channel!"
msgstr "%s%s: このバッファはチャンネルではありません"
msgstr "%s%s: このバッファはチャンネルではありません!"
#, c-format
msgid ""
@@ -12926,6 +12980,7 @@ msgstr "%s%s%s%s%s に kill されました"
msgid "%sMode %s%s %s[%s%s%s%s%s]%s by %s%s"
msgstr "%1$s%11$s%12$s がモードを変更 %2$s%3$s %4$s[%5$s%6$s%7$s%8$s%9$s]%10$s"
# noqa
#, c-format
msgid "%sUser mode %s[%s%s%s]%s by %s%s"
msgstr "%1$s%7$s%8$s%6$s がユーザモードを変更 %2$s[%3$s%4$s%5$s]%6$s"
@@ -15390,10 +15445,9 @@ msgstr "%1$s%2$s: \"%4$s\" コマンドのサーバ \"%3$s\" は見つかりま
msgid "%s%s: no connection to remote relay \"%s\""
msgstr "%s%s: サーバ \"%s\" に接続されていません!"
#, fuzzy, c-format
#| msgid "%s: auto-reconnection is cancelled"
msgid "remote[%s]: auto-reconnection is cancelled"
msgstr "%s: 自動再接続がキャンセルされました"
#, c-format
msgid "remote[%s]: auto-reconnection is canceled"
msgstr ""
#, fuzzy, c-format
#| msgid "%s%s: server \"%s\" already exists for \"%s\" command"
@@ -17901,7 +17955,7 @@ msgid "%s%s: invalid regular expression in trigger: \"%s\""
msgstr "%s%s: トリガの正規表現が間違っています: \"%s\""
#. TRANSLATORS: this text is displayed before the list of nicks typing in the bar item "typing", it must be as short as possible
msgid "Typing:"
msgid "Typing: "
msgstr ""
msgid ""
@@ -17935,6 +17989,11 @@ msgid ""
"truncate content)"
msgstr ""
msgid ""
"text to display before the nicks in the bar item \"typing\"; if set, it is "
"used instead of the translated string \"Typing: \" which is used by default"
msgstr ""
msgid "Typing status of users"
msgstr ""
@@ -18084,8 +18143,9 @@ msgstr "ファイル送信時に肯定応答を待たない"
#| "IP or DNS address used for sending files/chats (if empty, local interface "
#| "IP is used)"
msgid ""
"IP or DNS address used for sending and passively receiving files/chats (if "
"empty, local interface IP is used)"
"IP or DNS address used for sending and passively receiving files/chats; if "
"empty, local interface IP is used (note: content is evaluated, see /help "
"eval)"
msgstr ""
"ファイル/チャットの送信に使う IP か DNS アドレス (空の場合、ローカルインター"
"フェース IP を使う)"
+522 -855
View File
File diff suppressed because it is too large Load Diff
+208 -136
View File
@@ -22,8 +22,8 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2026-03-16 13:17+0100\n"
"PO-Revision-Date: 2025-10-27 08:27+0100\n"
"POT-Creation-Date: 2026-03-21 17:24+0100\n"
"PO-Revision-Date: 2026-03-12 20:24+0100\n"
"Last-Translator: Vasco Almeida <vascomalmeida@sapo.pt>\n"
"Language-Team: Portuguese <>\n"
"Language: pt\n"
@@ -33,6 +33,159 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"X-Generator: Virtaal 0.7.1\n"
#. TRANSLATORS: command line option "-a", "--no-connect"
#, fuzzy
#| msgid "%s%s: unable to connect to sender"
msgid "disable auto-connect to servers at startup"
msgstr "%s%s: não foi possível conectar para enviar"
#. TRANSLATORS: command line option "-c", "--colors"
msgid "display default colors in terminal and exit"
msgstr ""
#. TRANSLATORS: only "<path>" may be translated
msgid "-d, --dir <path>"
msgstr ""
#. TRANSLATORS: command line option "-d", "--dir <path>"
msgid ""
"force a single WeeChat home directory or 5 different directories separated "
"by colons (in this order: config, data, state, cache, runtime) (environment "
"variable WEECHAT_HOME is read if this option is not given)"
msgstr ""
#. TRANSLATORS: command line option "-t", "--temp-dir"
msgid ""
"create a temporary WeeChat home directory and delete it on exit "
"(incompatible with option \"-d\")"
msgstr ""
#. TRANSLATORS: command line option "-h", "--help"
#, fuzzy
#| msgid "use same nick color for channel and private"
msgid "display this help and exit"
msgstr "usar a mesma cor para o nick no canal e em privado"
#. TRANSLATORS: command line option "-i", "--build-info"
msgid "display build information and exit"
msgstr ""
#. TRANSLATORS: command line option "-l", "--license"
#, fuzzy
#| msgid "display WeeChat logo at startup"
msgid "display WeeChat license and exit"
msgstr "mostrar o logo do WeeChat ao iniciar"
#. TRANSLATORS: command line option "-p", "--no-plugin"
#, fuzzy
#| msgid "display WeeChat logo at startup"
msgid "don't load any plugin at startup"
msgstr "mostrar o logo do WeeChat ao iniciar"
#. TRANSLATORS: only "<plugins>" may be translated
msgid "-P, --plugins <plugins>"
msgstr ""
#. TRANSLATORS: command line option "-P", "--plugins <plugins>"
msgid "load only these plugins at startup (see /help weechat.plugin.autoload)"
msgstr ""
#. TRANSLATORS: only "<cmd>" may be translated (please keep it short)
msgid "-r, --run-command <cmd>"
msgstr ""
#. TRANSLATORS: command line option "-r", "--run-command <cmd>"
#, fuzzy
msgid ""
"run command(s) after startup; many commands can be separated by semicolons "
"and are evaluated, this option can be given multiple times"
msgstr ""
"comando executado ao iniciar o WeeChat, depois de recarregar os plugins "
"(nota: o conteúdo é avaliado, ver /help eval)"
#. TRANSLATORS: command line option "-s", "--no-script"
msgid "don't load any script at startup"
msgstr ""
#. TRANSLATORS: command line option "--upgrade"
#, fuzzy
msgid "upgrade WeeChat using session files (see /help upgrade in WeeChat)"
msgstr "%sErro: não foi possível guardar a sessão no ficheiro"
#. TRANSLATORS: command line option "-v", "--version"
#, fuzzy
#| msgid "display WeeChat version at startup"
msgid "display WeeChat version and exit"
msgstr "mostrar a versão do WeeChat ao iniciar"
#. TRANSLATORS: command line option: "plugin" and "option" may be translated
#, fuzzy
#| msgid "plugin pointer (optional)"
msgid "plugin:option"
msgstr "ponteiro para plugin (opcional)"
#. TRANSLATORS: command line option "plugin:option"
msgid "option for plugin (see man weechat)"
msgstr ""
#. TRANSLATORS: only "<path>" may be translated
msgid "--doc-gen <path>"
msgstr ""
#. TRANSLATORS: command line option "--doc-gen <path>"
msgid "generate files to build documentation and exit"
msgstr ""
#. TRANSLATORS: command line option "--daemon"
msgid ""
"run WeeChat as a daemon (fork, new process group, file descriptors closed); "
"by default in headless mode WeeChat is blocking and does not run in "
"background"
msgstr ""
#. TRANSLATORS: command line option "--stdout"
msgid ""
"display log messages on standard output instead of writing them in log file "
"(option ignored if option \"--daemon\" is given)"
msgstr ""
#. TRANSLATORS: command line option "--no-dlclose"
msgid "do not call function dlclose after plugins are unloaded"
msgstr ""
#. TRANSLATORS: command line option "--no-gnutls"
msgid "disable init/deinit of gnutls"
msgstr ""
#. TRANSLATORS: command line option "--no-gcrypt"
msgid "disable init/deinit of gcrypt"
msgstr ""
#. TRANSLATORS: "%s %s" after "compiled on" is date and time
#, c-format
msgid ""
"WeeChat %s Copyright %s, compiled on %s %s\n"
"Developed by Sébastien Helleu <flashcode@flashtux.org> - %s"
msgstr ""
"WeeChat %s Copyright %s, compilado a %s %s\n"
"Desenvolvido por Sébastien Helleu <flashcode@flashtux.org> - %s"
msgid "Usage:"
msgstr "Utilização:"
msgid "[option...] [plugin:option...]"
msgstr "[opção...] [plugin:opção...]"
msgid "Extra options in headless mode:"
msgstr ""
msgid "Debug options (for tools like valgrind, DO NOT USE IN PRODUCTION):"
msgstr ""
#, c-format
msgid "Error: missing argument for \"%s\" option\n"
msgstr "Erro: falta o argumento da opção \"%s\"\n"
msgid "List of bars:"
msgstr "Lista de barras:"
@@ -141,7 +294,7 @@ msgid "%sUnable to scroll bar \"%s\""
msgstr "%sErro: não foi possível deslocar a barra \"%s\""
#, fuzzy, c-format
msgid "%sBuffer number \"%d\" is out of range (it must be between 1 and %d)"
msgid "%sBuffer number %d is out of range (it must be between 1 and %d)"
msgstr ""
"%sErro: o buffer número %d está fora do intervalo (deve estar entre 1 e %d)"
@@ -509,9 +662,9 @@ msgstr ""
"de segurança)"
#, c-format
msgid "%d new key added"
msgid "%d new key added (context: \"%s\")"
msgid_plural "%d new keys added (context: \"%s\")"
msgstr[0] "%d nova tecla adicionada"
msgstr[0] "%d nova tecla adicionada (contexto: \"%s\")"
msgstr[1] "%d novas teclas adicionadas (contexto: \"%s\")"
msgid "Stored layouts:"
@@ -1140,7 +1293,7 @@ msgstr ""
msgid ""
"option: option to change (for options list, look at /set weechat.bar."
"<barname>.*)"
"<bar_name>.*)"
msgstr ""
#, fuzzy
@@ -1658,7 +1811,7 @@ msgstr "avaliar uma expressão"
#. TRANSLATORS: only text between angle brackets (eg: "<name>") may be translated
#, fuzzy
msgid ""
"[-n|-s] [-d] <expression> || [-n] [-d [-d]] -c <expression1> <operator> "
"[-n|-s] [-e] [-d] <expression> || [-n] [-d [-d]] -c <expression1> <operator> "
"<expression2>"
msgstr "[-n|-s] <expressão> || [-n] -c <expressão1> <operador> <expressão2>"
@@ -1676,6 +1829,9 @@ msgstr ""
"comandos a executar se as condições estiverem bem, depois de substituir as "
"expressões regulares (pode separar vários comandos por ponto e vírgula)"
msgid "raw[-e]: evaluate all commands before executing them"
msgstr ""
msgid ""
"raw[-d]: display debug output after evaluation (with two -d: more verbose "
"debug)"
@@ -2220,7 +2376,7 @@ msgstr "mostrar ajuda sobre comandos e opções"
#. TRANSLATORS: only text between angle brackets (eg: "<name>") may be translated
#, fuzzy
#| msgid "-list|-listfull [<plugin> [<plugin>...]] || <command> || <option>"
msgid "-list|-listfull [<plugin>...]] || <command> || <option>"
msgid "-list|-listfull [<plugin>...] || <command> || <option>"
msgstr "-list|-listfull [<plugin> [<plugin>...]] || <comando> || <opção>"
msgid ""
@@ -2283,9 +2439,9 @@ msgid "raw[clear]: clear hotlist"
msgstr ""
msgid ""
"level: \"lowest\" to clear only lowest level in hotlist, highest\" to clear "
"only highest level in hotlist, or level mask: integer which is a combination "
"of 1=join/part, 2=message, 4=private, 8=highlight"
"level: \"lowest\" to clear only lowest level in hotlist, \"highest\" to "
"clear only highest level in hotlist, or level mask: integer which is a "
"combination of 1=join/part, 2=message, 4=private, 8=highlight"
msgstr ""
msgid "raw[remove]: remove current buffer from hotlist"
@@ -3189,7 +3345,7 @@ msgstr ""
msgid ""
"option: option to change (for options list, look at /set weechat.proxy."
"<proxyname>.*)"
"<proxy_name>.*)"
msgstr ""
msgid " add a http proxy, running on local host, port 8888:"
@@ -3495,20 +3651,20 @@ msgstr ""
msgid " encrypt libera SASL password:"
msgstr ""
msgid " /secure set libera mypassword"
msgid " /secure set libera my_password"
msgstr ""
msgid " encrypt oftc password for nickserv:"
msgstr ""
msgid " /secure set oftc mypassword"
msgid " /secure set oftc my_password"
msgstr ""
msgid " alias to ghost the nick \"mynick\":"
msgid " alias to ghost the nick \"andrew\":"
msgstr ""
msgid ""
" /alias add ghost /eval /msg -server libera nickserv ghost mynick $"
" /alias add ghost /eval /msg -server libera nickserv ghost andrew $"
"{sec.data.libera}"
msgstr ""
@@ -3780,7 +3936,7 @@ msgstr ""
msgid "With option \"-quit\", the process is:"
msgstr ""
msgid " 1. close *ALL* connections (irc, xfer, relay, ...)"
msgid " 1. close *ALL* connections (irc, xfer, relay, etc.)"
msgstr ""
#, fuzzy
@@ -6435,8 +6591,8 @@ msgstr "escrita - variável"
msgid "read - object type"
msgstr "leitura - tipo de objeto"
msgid "read - bad object type ('object start' expected)"
msgstr "leitura - tipo de objeto incorreto (esperava-se 'object start')"
msgid "read - bad object type (\"object start\" expected)"
msgstr "leitura - tipo de objeto incorreto (esperava-se \"object start\")"
msgid "read - object id"
msgstr "leitura - id objeto"
@@ -6557,104 +6713,6 @@ msgstr ""
msgid "End of URL transfer '%s', transfer stopped"
msgstr "Fim do comando '%s', tempo limite atingido (%.1fs)"
#. TRANSLATORS: "%s %s" after "compiled on" is date and time
#, c-format
msgid ""
"WeeChat %s Copyright %s, compiled on %s %s\n"
"Developed by Sébastien Helleu <flashcode@flashtux.org> - %s"
msgstr ""
"WeeChat %s Copyright %s, compilado a %s %s\n"
"Desenvolvido por Sébastien Helleu <flashcode@flashtux.org> - %s"
#, c-format
msgid "Usage: %s [option...] [plugin:option...]\n"
msgstr "Utilização: %s [opção...] [plugin:opção...]\n"
#, fuzzy
msgid ""
" -a, --no-connect disable auto-connect to servers at startup\n"
" -c, --colors display default colors in terminal and exit\n"
" -d, --dir <path> force a single WeeChat home directory\n"
" or 5 different directories separated by colons "
"(in this order: config, data, state, cache, runtime)\n"
" (environment variable WEECHAT_HOME is read if "
"this option is not given)\n"
" -t, --temp-dir create a temporary WeeChat home directory and "
"delete it on exit\n"
" (incompatible with option \"-d\")\n"
" -h, --help display this help and exit\n"
" -i, --build-info display build information and exit\n"
" -l, --license display WeeChat license and exit\n"
" -p, --no-plugin don't load any plugin at startup\n"
" -P, --plugins <plugins> load only these plugins at startup\n"
" (see /help weechat.plugin.autoload)\n"
" -r, --run-command <cmd> run command(s) after startup;\n"
" many commands can be separated by semicolons and "
"are evaluated,\n"
" this option can be given multiple times\n"
" -s, --no-script don't load any script at startup\n"
" --upgrade upgrade WeeChat using session files (see /help "
"upgrade in WeeChat)\n"
" -v, --version display WeeChat version and exit\n"
" plugin:option option for plugin (see man weechat)\n"
msgstr ""
" -a, --no-connect desativar conexão automática aos servidores ao "
"iniciar\n"
" -c, --colors mostrar cores predefinidas no terminal\n"
" -d, --dir <path> definir o diretório do WeeChat (predefinição: "
"~/.weechat)\n"
" (a variável de ambiente WEECHAT_HOME é lida se "
"esta opção não for fornecida)\n"
" -h, --help mostrar esta ajuda\n"
" -l, --license mostrar a licença do WeeChat\n"
" -p, --no-plugin não carregar nenhum plugin ao iniciar\n"
" -r, --run-command <cmd> executar os comandos ao iniciar\n"
" (pode-se separar vários comandos por ponto e "
"vírgula)\n"
" -s, --no-script não carregar nenhum comando ao iniciar\n"
" --upgrade atualizar o WeeChat usando ficheiros de sessão "
"(ver /help upgrade no WeeChat)\n"
" -v, --version mostrar a versão do WeeChat\n"
" plugin:opção opção de um plugin (ver man weechat)\n"
msgid "Extra options in headless mode:\n"
msgstr ""
msgid ""
" --doc-gen <path> generate files to build documentation and exit\n"
msgstr ""
msgid ""
" --daemon run WeeChat as a daemon (fork, new process group, "
"file descriptors closed);\n"
msgstr ""
msgid ""
" (by default in headless mode WeeChat is blocking "
"and does not run in background)\n"
msgstr ""
msgid ""
" --stdout display log messages on standard output instead "
"of writing them in log file\n"
msgstr ""
msgid ""
" (option ignored if option \"--daemon\" is given)\n"
msgstr ""
msgid ""
"Debug options (for tools like valgrind, DO NOT USE IN PRODUCTION):\n"
" --no-dlclose do not call function dlclose after plugins are "
"unloaded\n"
" --no-gnutls disable init/deinit of gnutls\n"
" --no-gcrypt disable init/deinit of gcrypt\n"
msgstr ""
#, c-format
msgid "Error: missing argument for \"%s\" option\n"
msgstr "Erro: falta o argumento da opção \"%s\"\n"
#, fuzzy
msgid "WeeChat is running in headless mode (ctrl-c to quit)."
msgstr "1 se o WeeChat está a atualizar (comando `/upgrade`)"
@@ -7410,7 +7468,7 @@ msgstr ""
msgid ""
" - ${index_displayed}: index of line displayed in the bar item (starts at "
"0, only buffers displayed increment this index, see option "
"buflist.look.display_conditions"
"buflist.look.display_conditions)"
msgstr ""
#, fuzzy
@@ -9019,7 +9077,7 @@ msgid "%s%s: not connected to server \"%s\"!"
msgstr "%s%s: não está conectado ao servidor \"%s\"!"
#, c-format
msgid "%s: auto-reconnection is cancelled"
msgid "%s: auto-reconnection is canceled"
msgstr "%s: a reconexão automática foi cancelada"
#, c-format
@@ -9191,6 +9249,14 @@ msgid_plural "seconds"
msgstr[0] "segundo"
msgstr[1] "segundos"
#, fuzzy
#| msgid "second"
#| msgid_plural "seconds"
msgid "millisecond"
msgid_plural "milliseconds"
msgstr[0] "segundo"
msgstr[1] "segundos"
msgid "minute"
msgid_plural "minutes"
msgstr[0] "minuto"
@@ -9355,7 +9421,7 @@ msgstr ""
#, fuzzy
msgid ""
"[-current] [-parted|-all] [-exclude=<channel>[,<channel>...]] <command> || [-"
"current] [-parted|-all] -include=<channel>[,<channel>...] <command>"
"current] [-parted|-all] [-include=<channel>[,<channel>...]] <command>"
msgstr "[-current] [-exclude=<canal>[,<canal>...]] <comando> [<argumentos>]"
#, fuzzy
@@ -9459,8 +9525,8 @@ msgstr ""
#. TRANSLATORS: only text between angle brackets (eg: "<name>") may be translated
#, fuzzy
msgid ""
"[-current] [-exclude=<nick>[,<nick>...]] <command> || [-current] "
"-include=<nick>[,<nick>...] <command>"
"[-current] [-exclude=<nick>[,<nick>...]] <command> || [-current] [-"
"include=<nick>[,<nick>...]] <command>"
msgstr "[-current] [-exclude=<nick>[,<nick>...]] <comando> [<argumentos>]"
#, fuzzy
@@ -9516,8 +9582,8 @@ msgstr "executar um comando em todos os servidores conectados"
#. TRANSLATORS: only text between angle brackets (eg: "<name>") may be translated
#, fuzzy
msgid ""
"[-exclude=<server>[,<server>...]] <command> || -include=<server>[,"
"<server>...] <command>"
"[-exclude=<server>[,<server>...]] <command> || [-include=<server>[,"
"<server>...]] <command>"
msgstr "[-exclude=<servidor>[,<servidor>...]] <comando> [<argumentos>]"
msgid "raw[-exclude]: exclude some servers (wildcard \"*\" is allowed)"
@@ -9688,7 +9754,7 @@ msgid ""
msgstr ""
msgid ""
"raw[ack]: acknowledge capabilities which require client-side acknowledgement"
"raw[ack]: acknowledge capabilities which require client-side acknowledgment"
msgstr ""
#, fuzzy
@@ -11135,7 +11201,7 @@ msgstr ""
msgid ""
"%s%s: invalid priorities string, error at this position in string: \"%s\""
msgstr ""
"%s%s: cadeia de prioridades inválida, erro nesta posição na cadeia: \"%s\""
"%s%s: cadeia de prioridades inválida, erro nesta posição na cadeia: \"%s\""
#, fuzzy, c-format
msgid "%s%s: warning: invalid autojoin value \"%s\", see /help %s.%s.%s"
@@ -11874,8 +11940,9 @@ msgstr ""
msgid ""
"comma-separated list of fields to sort channels (see /help list for a list "
"of fields); char \"-\" can be used before field to reverse order, char \"~\" "
"can be used to do a case-insensitive comparison; example: \"-users,~name\" "
"for biggest channels first then case-insensitive sort on name"
"can be used to do a case-insensitive comparison; example: \"-users,~name2\" "
"for biggest channels first then case-insensitive sort on channel name "
"without prefix"
msgstr ""
#, fuzzy
@@ -15280,10 +15347,9 @@ msgstr "%s%s: o servidor \"%s\" do comando \"%s\" não foi encontrado"
msgid "%s%s: no connection to remote relay \"%s\""
msgstr "%s%s: não está conectado ao servidor \"%s\"!"
#, fuzzy, c-format
#| msgid "%s: auto-reconnection is cancelled"
msgid "remote[%s]: auto-reconnection is cancelled"
msgstr "%s: a reconexão automática foi cancelada"
#, c-format
msgid "remote[%s]: auto-reconnection is canceled"
msgstr ""
#, fuzzy, c-format
#| msgid "%s%s: server \"%s\" already exists for \"%s\" command"
@@ -16189,7 +16255,7 @@ msgid ""
"%s%s: too few arguments received from client %s%s%s for command \"%s\" "
"(received: %d arguments, expected: at least %d)"
msgstr ""
"%s%s: argumentos insuficientes recebidos do cliente %s%s%s pelo comando "
"%s%s: argumentos insuficientes recebidos do cliente %s%s%s pelo comando "
"\"%s\" (recebido: %d argumentos, esperado: pelo menos %d)"
msgid "Support of ruby scripts"
@@ -17785,7 +17851,7 @@ msgid "%s%s: invalid regular expression in trigger: \"%s\""
msgstr "%s%s: expressão regular inválida no acionador: \"%s\""
#. TRANSLATORS: this text is displayed before the list of nicks typing in the bar item "typing", it must be as short as possible
msgid "Typing:"
msgid "Typing: "
msgstr ""
msgid ""
@@ -17819,6 +17885,11 @@ msgid ""
"truncate content)"
msgstr ""
msgid ""
"text to display before the nicks in the bar item \"typing\"; if set, it is "
"used instead of the translated string \"Typing: \" which is used by default"
msgstr ""
msgid "Typing status of users"
msgstr ""
@@ -17969,8 +18040,9 @@ msgstr "não aguardar por ACK ao enviar ficheiros"
#| "IP or DNS address used for sending files/chats (if empty, local interface "
#| "IP is used)"
msgid ""
"IP or DNS address used for sending and passively receiving files/chats (if "
"empty, local interface IP is used)"
"IP or DNS address used for sending and passively receiving files/chats; if "
"empty, local interface IP is used (note: content is evaluated, see /help "
"eval)"
msgstr ""
"IP ou endereço DNS usado para enviar ficheiros/chats (se vazio, é usado o IP "
"da interface local)"
+226 -159
View File
@@ -19,12 +19,35 @@
# You should have received a copy of the GNU General Public License
# along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
#
# Common conventions used here:
# hotlist -> lista de atividade
# input -> entrada
# scroll -> rolar
# set -> definido
# buffer -> buffer (don't translate it)
# hostname -> hostname
# nick -> apelido
# op/voice -> don't translate irc specific terms (besides nick)
# feature -> característica
# don't translate weechat specific terms, like "left" when used as a option value
# merge -> mesclar
# layout -> disposição
# background -> fundo (quando se referir à cores, janelas)
# comma separated list of X -> lista de X separadas por vírgulas
# status -> status
# away -> ausent (when refers to a nick status)
# cursor -> cursor (don't translate it)
# dump -> dump (don't translate it)
# key bindings -> atalhos de teclado
# bind -> vincular
# handshake -> handshake (don't translate it when related to cryptography)
#
msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2026-03-16 13:17+0100\n"
"PO-Revision-Date: 2025-10-27 08:27+0100\n"
"POT-Creation-Date: 2026-03-21 17:24+0100\n"
"PO-Revision-Date: 2026-03-12 20:19+0100\n"
"Last-Translator: Érico Nogueira <ericonr@disroot.org>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
"Language: pt_BR\n"
@@ -34,6 +57,159 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
"X-Generator: Lokalize 1.1\n"
#. TRANSLATORS: command line option "-a", "--no-connect"
#, fuzzy
#| msgid "%s%s: unable to connect to sender"
msgid "disable auto-connect to servers at startup"
msgstr "%s%s: não foi possível conectar ao remetente"
#. TRANSLATORS: command line option "-c", "--colors"
msgid "display default colors in terminal and exit"
msgstr ""
#. TRANSLATORS: only "<path>" may be translated
msgid "-d, --dir <path>"
msgstr ""
#. TRANSLATORS: command line option "-d", "--dir <path>"
msgid ""
"force a single WeeChat home directory or 5 different directories separated "
"by colons (in this order: config, data, state, cache, runtime) (environment "
"variable WEECHAT_HOME is read if this option is not given)"
msgstr ""
#. TRANSLATORS: command line option "-t", "--temp-dir"
msgid ""
"create a temporary WeeChat home directory and delete it on exit "
"(incompatible with option \"-d\")"
msgstr ""
#. TRANSLATORS: command line option "-h", "--help"
#, fuzzy
#| msgid "use same nick color for channel and private"
msgid "display this help and exit"
msgstr "utilizar a mesma cor de apelido para canal e privado"
#. TRANSLATORS: command line option "-i", "--build-info"
msgid "display build information and exit"
msgstr ""
#. TRANSLATORS: command line option "-l", "--license"
#, fuzzy
#| msgid "display WeeChat logo at startup"
msgid "display WeeChat license and exit"
msgstr "mosta o logo do WeeChat na inicialização"
#. TRANSLATORS: command line option "-p", "--no-plugin"
#, fuzzy
#| msgid "display WeeChat logo at startup"
msgid "don't load any plugin at startup"
msgstr "mosta o logo do WeeChat na inicialização"
#. TRANSLATORS: only "<plugins>" may be translated
msgid "-P, --plugins <plugins>"
msgstr ""
#. TRANSLATORS: command line option "-P", "--plugins <plugins>"
msgid "load only these plugins at startup (see /help weechat.plugin.autoload)"
msgstr ""
#. TRANSLATORS: only "<cmd>" may be translated (please keep it short)
msgid "-r, --run-command <cmd>"
msgstr ""
#. TRANSLATORS: command line option "-r", "--run-command <cmd>"
#, fuzzy
msgid ""
"run command(s) after startup; many commands can be separated by semicolons "
"and are evaluated, this option can be given multiple times"
msgstr ""
"comando executado quando o WeeChat inicia, após o carregamento dos plugins "
"(nota: o conteúdo é avaliado, veja /help eval)"
#. TRANSLATORS: command line option "-s", "--no-script"
msgid "don't load any script at startup"
msgstr ""
#. TRANSLATORS: command line option "--upgrade"
#, fuzzy
msgid "upgrade WeeChat using session files (see /help upgrade in WeeChat)"
msgstr "%sErro: incapaz de salvar a sessão em arquivo"
#. TRANSLATORS: command line option "-v", "--version"
#, fuzzy
#| msgid "display WeeChat version at startup"
msgid "display WeeChat version and exit"
msgstr "mosta a versão do WeeChat na inicialização"
#. TRANSLATORS: command line option: "plugin" and "option" may be translated
#, fuzzy
#| msgid "plugin pointer (optional)"
msgid "plugin:option"
msgstr "pointeiro do plugin (opcional)"
#. TRANSLATORS: command line option "plugin:option"
msgid "option for plugin (see man weechat)"
msgstr ""
#. TRANSLATORS: only "<path>" may be translated
msgid "--doc-gen <path>"
msgstr ""
#. TRANSLATORS: command line option "--doc-gen <path>"
msgid "generate files to build documentation and exit"
msgstr ""
#. TRANSLATORS: command line option "--daemon"
msgid ""
"run WeeChat as a daemon (fork, new process group, file descriptors closed); "
"by default in headless mode WeeChat is blocking and does not run in "
"background"
msgstr ""
#. TRANSLATORS: command line option "--stdout"
msgid ""
"display log messages on standard output instead of writing them in log file "
"(option ignored if option \"--daemon\" is given)"
msgstr ""
#. TRANSLATORS: command line option "--no-dlclose"
msgid "do not call function dlclose after plugins are unloaded"
msgstr ""
#. TRANSLATORS: command line option "--no-gnutls"
msgid "disable init/deinit of gnutls"
msgstr ""
#. TRANSLATORS: command line option "--no-gcrypt"
msgid "disable init/deinit of gcrypt"
msgstr ""
#. TRANSLATORS: "%s %s" after "compiled on" is date and time
#, c-format
msgid ""
"WeeChat %s Copyright %s, compiled on %s %s\n"
"Developed by Sébastien Helleu <flashcode@flashtux.org> - %s"
msgstr ""
"WeeChat %s Copyright %s, compilado em %s %s\n"
"Desenvolvido por Sébastien Helleu <flashcode@flashtux.org> - %s"
msgid "Usage:"
msgstr "Uso:"
msgid "[option...] [plugin:option...]"
msgstr "[opção...] [plugin:opção...]"
msgid "Extra options in headless mode:"
msgstr ""
msgid "Debug options (for tools like valgrind, DO NOT USE IN PRODUCTION):"
msgstr ""
#, c-format
msgid "Error: missing argument for \"%s\" option\n"
msgstr "Erro: faltando argumento para opção \"%s\"\n"
msgid "List of bars:"
msgstr "Lista de barras:"
@@ -141,7 +317,7 @@ msgid "%sUnable to scroll bar \"%s\""
msgstr "%sErro: não foi possível rolar a barra \"%s\""
#, fuzzy, c-format
msgid "%sBuffer number \"%d\" is out of range (it must be between 1 and %d)"
msgid "%sBuffer number %d is out of range (it must be between 1 and %d)"
msgstr "%sNúmero de cor inválido \"%s\" (precisa ser entre %d e %d)"
msgid "Buffers list:"
@@ -504,9 +680,9 @@ msgstr ""
"de segurança)"
#, c-format
msgid "%d new key added"
msgid "%d new key added (context: \"%s\")"
msgid_plural "%d new keys added (context: \"%s\")"
msgstr[0] "%d nova tecla adicionada"
msgstr[0] "%d nova tecla adicionada (context: \"%s\")"
msgstr[1] "%d novas teclas adicionadas (context: \"%s\")"
#, fuzzy
@@ -1126,7 +1302,7 @@ msgstr ""
msgid ""
"option: option to change (for options list, look at /set weechat.bar."
"<barname>.*)"
"<bar_name>.*)"
msgstr ""
#, fuzzy
@@ -1619,7 +1795,7 @@ msgstr "avaliar expressão"
#. TRANSLATORS: only text between angle brackets (eg: "<name>") may be translated
#, fuzzy
msgid ""
"[-n|-s] [-d] <expression> || [-n] [-d [-d]] -c <expression1> <operator> "
"[-n|-s] [-e] [-d] <expression> || [-n] [-d [-d]] -c <expression1> <operator> "
"<expression2>"
msgstr "[-n|-s] <expression> || [-n] -c <expression1> <operator> <expression2>"
@@ -1631,6 +1807,9 @@ msgid ""
"separated by semicolons)"
msgstr ""
msgid "raw[-e]: evaluate all commands before executing them"
msgstr ""
msgid ""
"raw[-d]: display debug output after evaluation (with two -d: more verbose "
"debug)"
@@ -2174,7 +2353,7 @@ msgstr "mostra a ajuda sobre comandos e opções"
#. TRANSLATORS: only text between angle brackets (eg: "<name>") may be translated
#, fuzzy
#| msgid "-list|-listfull [<plugin> [<plugin>...]] || <command> || <option>"
msgid "-list|-listfull [<plugin>...]] || <command> || <option>"
msgid "-list|-listfull [<plugin>...] || <command> || <option>"
msgstr "-list|-listfull [<plugin> [<plugin>...]] || <comando> || <opção>"
msgid ""
@@ -2237,9 +2416,9 @@ msgid "raw[clear]: clear hotlist"
msgstr ""
msgid ""
"level: \"lowest\" to clear only lowest level in hotlist, highest\" to clear "
"only highest level in hotlist, or level mask: integer which is a combination "
"of 1=join/part, 2=message, 4=private, 8=highlight"
"level: \"lowest\" to clear only lowest level in hotlist, \"highest\" to "
"clear only highest level in hotlist, or level mask: integer which is a "
"combination of 1=join/part, 2=message, 4=private, 8=highlight"
msgstr ""
msgid "raw[remove]: remove current buffer from hotlist"
@@ -3130,7 +3309,7 @@ msgstr ""
msgid ""
"option: option to change (for options list, look at /set weechat.proxy."
"<proxyname>.*)"
"<proxy_name>.*)"
msgstr ""
msgid " add a http proxy, running on local host, port 8888:"
@@ -3401,20 +3580,20 @@ msgstr ""
msgid " encrypt libera SASL password:"
msgstr ""
msgid " /secure set libera mypassword"
msgid " /secure set libera my_password"
msgstr ""
msgid " encrypt oftc password for nickserv:"
msgstr ""
msgid " /secure set oftc mypassword"
msgid " /secure set oftc my_password"
msgstr ""
msgid " alias to ghost the nick \"mynick\":"
msgid " alias to ghost the nick \"andrew\":"
msgstr ""
msgid ""
" /alias add ghost /eval /msg -server libera nickserv ghost mynick $"
" /alias add ghost /eval /msg -server libera nickserv ghost andrew $"
"{sec.data.libera}"
msgstr ""
@@ -3677,7 +3856,7 @@ msgstr ""
msgid "With option \"-quit\", the process is:"
msgstr ""
msgid " 1. close *ALL* connections (irc, xfer, relay, ...)"
msgid " 1. close *ALL* connections (irc, xfer, relay, etc.)"
msgstr ""
#, fuzzy
@@ -6082,7 +6261,7 @@ msgstr ""
msgid "read - object type"
msgstr ""
msgid "read - bad object type ('object start' expected)"
msgid "read - bad object type (\"object start\" expected)"
msgstr ""
msgid "read - object id"
@@ -6197,133 +6376,6 @@ msgstr ""
msgid "End of URL transfer '%s', transfer stopped"
msgstr ""
# Common conventions used here:
# hotlist -> lista de atividade
# input -> entrada
# scroll -> rolar
# set -> definido
# buffer -> buffer (don't translate it)
# hostname -> hostname
# nick -> apelido
# op/voice -> don't translate irc specific terms (besides nick)
# feature -> característica
# don't translate weechat specific terms, like "left" when used as a option value
# merge -> mesclar
# layout -> disposição
# background -> fundo (quando se referir à cores, janelas)
# comma separated list of X -> lista de X separadas por vírgulas
# status -> status
# away -> ausent (when refers to a nick status)
# cursor -> cursor (don't translate it)
# dump -> dump (don't translate it)
# key bindings -> atalhos de teclado
# bind -> vincular
# handshake -> handshake (don't translate it when related to cryptography)
#. TRANSLATORS: "%s %s" after "compiled on" is date and time
#, c-format
msgid ""
"WeeChat %s Copyright %s, compiled on %s %s\n"
"Developed by Sébastien Helleu <flashcode@flashtux.org> - %s"
msgstr ""
"WeeChat %s Copyright %s, compilado em %s %s\n"
"Desenvolvido por Sébastien Helleu <flashcode@flashtux.org> - %s"
#, c-format
msgid "Usage: %s [option...] [plugin:option...]\n"
msgstr "Uso: %s [opção...] [plugin:opção...]\n"
#, fuzzy
msgid ""
" -a, --no-connect disable auto-connect to servers at startup\n"
" -c, --colors display default colors in terminal and exit\n"
" -d, --dir <path> force a single WeeChat home directory\n"
" or 5 different directories separated by colons "
"(in this order: config, data, state, cache, runtime)\n"
" (environment variable WEECHAT_HOME is read if "
"this option is not given)\n"
" -t, --temp-dir create a temporary WeeChat home directory and "
"delete it on exit\n"
" (incompatible with option \"-d\")\n"
" -h, --help display this help and exit\n"
" -i, --build-info display build information and exit\n"
" -l, --license display WeeChat license and exit\n"
" -p, --no-plugin don't load any plugin at startup\n"
" -P, --plugins <plugins> load only these plugins at startup\n"
" (see /help weechat.plugin.autoload)\n"
" -r, --run-command <cmd> run command(s) after startup;\n"
" many commands can be separated by semicolons and "
"are evaluated,\n"
" this option can be given multiple times\n"
" -s, --no-script don't load any script at startup\n"
" --upgrade upgrade WeeChat using session files (see /help "
"upgrade in WeeChat)\n"
" -v, --version display WeeChat version and exit\n"
" plugin:option option for plugin (see man weechat)\n"
msgstr ""
" -a, --no-connect desabilita a auto-conexão a servidores durante a "
"inicialização\n"
" -c, --colors exibe as cores padrões no terminal\n"
" -d, --dir <path> configura diretório do WeeChat (padrão: "
"~/.weechat)\n"
" (a variável de ambiente WEECHAT_HOME é lida "
"seessa opção não for dada)\n"
" -t, --temp-dir cria um diretório temporário para o WeeChat e "
"odeleta na saída\n"
" -h, --help mostra esta ajuda\n"
" -l, --license mostra a licença do WeeChat\n"
" -p, --no-plugin não carrega nenhum plugin durante a "
"inicialização\n"
" -P, --plugins <plugins> carregue apenas esses plugins na inicialização\n"
" (veja /help weechat.plugin.autoload)\n"
" -r, --run-command <cmd> executa comandos após a inicialização;\n"
" vários comandos podem ser separados por ponto-e-"
"vírgula,\n"
" essa opção pode ser utilizada mais de uma vez\n"
" -s, --no-script não carrega nenhum script durante a "
"inicialização\n"
" --upgrade atualiza o WeeChat através dos arquivos de sessão "
"(veja /help upgrade no WeeChat)\n"
" -v, --version mostra a versão do WeeChat\n"
" plugin:option opção para o plugin (veja o manual do WeeChat)\n"
msgid "Extra options in headless mode:\n"
msgstr ""
msgid ""
" --doc-gen <path> generate files to build documentation and exit\n"
msgstr ""
msgid ""
" --daemon run WeeChat as a daemon (fork, new process group, "
"file descriptors closed);\n"
msgstr ""
msgid ""
" (by default in headless mode WeeChat is blocking "
"and does not run in background)\n"
msgstr ""
msgid ""
" --stdout display log messages on standard output instead "
"of writing them in log file\n"
msgstr ""
msgid ""
" (option ignored if option \"--daemon\" is given)\n"
msgstr ""
msgid ""
"Debug options (for tools like valgrind, DO NOT USE IN PRODUCTION):\n"
" --no-dlclose do not call function dlclose after plugins are "
"unloaded\n"
" --no-gnutls disable init/deinit of gnutls\n"
" --no-gcrypt disable init/deinit of gcrypt\n"
msgstr ""
#, c-format
msgid "Error: missing argument for \"%s\" option\n"
msgstr "Erro: faltando argumento para opção \"%s\"\n"
#, fuzzy
msgid "WeeChat is running in headless mode (ctrl-c to quit)."
msgstr "1 se o WeeChat está sendo atualizado (comando `/upgrade`)"
@@ -7040,7 +7092,7 @@ msgstr ""
msgid ""
" - ${index_displayed}: index of line displayed in the bar item (starts at "
"0, only buffers displayed increment this index, see option "
"buflist.look.display_conditions"
"buflist.look.display_conditions)"
msgstr ""
#, fuzzy
@@ -8616,7 +8668,7 @@ msgid "%s%s: not connected to server \"%s\"!"
msgstr ""
#, c-format
msgid "%s: auto-reconnection is cancelled"
msgid "%s: auto-reconnection is canceled"
msgstr ""
#, c-format
@@ -8778,6 +8830,14 @@ msgid_plural "seconds"
msgstr[0] "segundo"
msgstr[1] "segundos"
#, fuzzy
#| msgid "second"
#| msgid_plural "seconds"
msgid "millisecond"
msgid_plural "milliseconds"
msgstr[0] "segundo"
msgstr[1] "segundos"
msgid "minute"
msgid_plural "minutes"
msgstr[0] "minuto"
@@ -8922,7 +8982,7 @@ msgstr ""
#, fuzzy
msgid ""
"[-current] [-parted|-all] [-exclude=<channel>[,<channel>...]] <command> || [-"
"current] [-parted|-all] -include=<channel>[,<channel>...] <command>"
"current] [-parted|-all] [-include=<channel>[,<channel>...]] <command>"
msgstr "<apelido>[,<apelido>...] [<contador> [<target>]]"
#, fuzzy
@@ -9011,8 +9071,8 @@ msgstr ""
#. TRANSLATORS: only text between angle brackets (eg: "<name>") may be translated
#, fuzzy
msgid ""
"[-current] [-exclude=<nick>[,<nick>...]] <command> || [-current] "
"-include=<nick>[,<nick>...] <command>"
"[-current] [-exclude=<nick>[,<nick>...]] <command> || [-current] [-"
"include=<nick>[,<nick>...]] <command>"
msgstr "<apelido>[,<apelido>...] [<contador> [<target>]]"
msgid ""
@@ -9064,8 +9124,8 @@ msgstr ""
#. TRANSLATORS: only text between angle brackets (eg: "<name>") may be translated
msgid ""
"[-exclude=<server>[,<server>...]] <command> || -include=<server>[,"
"<server>...] <command>"
"[-exclude=<server>[,<server>...]] <command> || [-include=<server>[,"
"<server>...]] <command>"
msgstr ""
msgid "raw[-exclude]: exclude some servers (wildcard \"*\" is allowed)"
@@ -9213,7 +9273,7 @@ msgid ""
msgstr ""
msgid ""
"raw[ack]: acknowledge capabilities which require client-side acknowledgement"
"raw[ack]: acknowledge capabilities which require client-side acknowledgment"
msgstr ""
msgid "raw[end]: end the capability negotiation"
@@ -11126,8 +11186,9 @@ msgstr ""
msgid ""
"comma-separated list of fields to sort channels (see /help list for a list "
"of fields); char \"-\" can be used before field to reverse order, char \"~\" "
"can be used to do a case-insensitive comparison; example: \"-users,~name\" "
"for biggest channels first then case-insensitive sort on name"
"can be used to do a case-insensitive comparison; example: \"-users,~name2\" "
"for biggest channels first then case-insensitive sort on channel name "
"without prefix"
msgstr ""
#, fuzzy
@@ -14363,7 +14424,7 @@ msgstr "%s%s: sem conexão com o servidor \"%s\" para redirecionamento"
#, fuzzy, c-format
#| msgid "%s%s: connection refused"
msgid "remote[%s]: auto-reconnection is cancelled"
msgid "remote[%s]: auto-reconnection is canceled"
msgstr "%s%s: conexão recusada"
#, fuzzy, c-format
@@ -16695,7 +16756,7 @@ msgid "%s%s: invalid regular expression in trigger: \"%s\""
msgstr "%s%s: erro ao compilar expressão regular \"%s\""
#. TRANSLATORS: this text is displayed before the list of nicks typing in the bar item "typing", it must be as short as possible
msgid "Typing:"
msgid "Typing: "
msgstr ""
msgid ""
@@ -16729,6 +16790,11 @@ msgid ""
"truncate content)"
msgstr ""
msgid ""
"text to display before the nicks in the bar item \"typing\"; if set, it is "
"used instead of the translated string \"Typing: \" which is used by default"
msgstr ""
msgid "Typing status of users"
msgstr ""
@@ -16879,8 +16945,9 @@ msgstr "não esperar por ACK quando enviar arquivo"
#| "IP or DNS address used for sending files/chats (if empty, local interface "
#| "IP is used)"
msgid ""
"IP or DNS address used for sending and passively receiving files/chats (if "
"empty, local interface IP is used)"
"IP or DNS address used for sending and passively receiving files/chats; if "
"empty, local interface IP is used (note: content is evaluated, see /help "
"eval)"
msgstr ""
"Endereço IP ou DNS usado para enviar arquivos/chats (se vazio, interface "
"local IP é usada)"
+201 -129
View File
@@ -23,8 +23,8 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2026-03-16 13:17+0100\n"
"PO-Revision-Date: 2025-10-27 08:27+0100\n"
"POT-Creation-Date: 2026-03-21 17:24+0100\n"
"PO-Revision-Date: 2026-03-08 08:59+0100\n"
"Last-Translator: Aleksey V Zapparov AKA ixti <ixti@member.fsf.org>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
"Language: ru\n"
@@ -35,6 +35,154 @@ msgstr ""
"n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n"
"X-Poedit-Bookmarks: -1,-1,608,-1,-1,-1,-1,-1,-1,-1\n"
#. TRANSLATORS: command line option "-a", "--no-connect"
#, fuzzy
msgid "disable auto-connect to servers at startup"
msgstr "%s DCC: не могу соединиться с отправителем\n"
#. TRANSLATORS: command line option "-c", "--colors"
msgid "display default colors in terminal and exit"
msgstr ""
#. TRANSLATORS: only "<path>" may be translated
msgid "-d, --dir <path>"
msgstr ""
#. TRANSLATORS: command line option "-d", "--dir <path>"
msgid ""
"force a single WeeChat home directory or 5 different directories separated "
"by colons (in this order: config, data, state, cache, runtime) (environment "
"variable WEECHAT_HOME is read if this option is not given)"
msgstr ""
#. TRANSLATORS: command line option "-t", "--temp-dir"
msgid ""
"create a temporary WeeChat home directory and delete it on exit "
"(incompatible with option \"-d\")"
msgstr ""
#. TRANSLATORS: command line option "-h", "--help"
#, fuzzy
msgid "display this help and exit"
msgstr "цвет ника собеседника в окне привата"
#. TRANSLATORS: command line option "-i", "--build-info"
msgid "display build information and exit"
msgstr ""
#. TRANSLATORS: command line option "-l", "--license"
#, fuzzy
#| msgid "display WeeChat logo at startup"
msgid "display WeeChat license and exit"
msgstr "отображать логотип WeeChat при запуске"
#. TRANSLATORS: command line option "-p", "--no-plugin"
#, fuzzy
#| msgid "display WeeChat logo at startup"
msgid "don't load any plugin at startup"
msgstr "отображать логотип WeeChat при запуске"
#. TRANSLATORS: only "<plugins>" may be translated
msgid "-P, --plugins <plugins>"
msgstr ""
#. TRANSLATORS: command line option "-P", "--plugins <plugins>"
msgid "load only these plugins at startup (see /help weechat.plugin.autoload)"
msgstr ""
#. TRANSLATORS: only "<cmd>" may be translated (please keep it short)
msgid "-r, --run-command <cmd>"
msgstr ""
#. TRANSLATORS: command line option "-r", "--run-command <cmd>"
#, fuzzy
msgid ""
"run command(s) after startup; many commands can be separated by semicolons "
"and are evaluated, this option can be given multiple times"
msgstr "ник, используемый на IRC сервере"
#. TRANSLATORS: command line option "-s", "--no-script"
msgid "don't load any script at startup"
msgstr ""
#. TRANSLATORS: command line option "--upgrade"
#, fuzzy
msgid "upgrade WeeChat using session files (see /help upgrade in WeeChat)"
msgstr "%s не могу сохранить сессию в файл\n"
#. TRANSLATORS: command line option "-v", "--version"
#, fuzzy
#| msgid "display WeeChat version at startup"
msgid "display WeeChat version and exit"
msgstr "отображать версию WeeChat при запуске"
#. TRANSLATORS: command line option: "plugin" and "option" may be translated
#, fuzzy
msgid "plugin:option"
msgstr " (нет pluginа)\n"
#. TRANSLATORS: command line option "plugin:option"
msgid "option for plugin (see man weechat)"
msgstr ""
#. TRANSLATORS: only "<path>" may be translated
msgid "--doc-gen <path>"
msgstr ""
#. TRANSLATORS: command line option "--doc-gen <path>"
msgid "generate files to build documentation and exit"
msgstr ""
#. TRANSLATORS: command line option "--daemon"
msgid ""
"run WeeChat as a daemon (fork, new process group, file descriptors closed); "
"by default in headless mode WeeChat is blocking and does not run in "
"background"
msgstr ""
#. TRANSLATORS: command line option "--stdout"
msgid ""
"display log messages on standard output instead of writing them in log file "
"(option ignored if option \"--daemon\" is given)"
msgstr ""
#. TRANSLATORS: command line option "--no-dlclose"
msgid "do not call function dlclose after plugins are unloaded"
msgstr ""
#. TRANSLATORS: command line option "--no-gnutls"
msgid "disable init/deinit of gnutls"
msgstr ""
#. TRANSLATORS: command line option "--no-gcrypt"
msgid "disable init/deinit of gcrypt"
msgstr ""
#. TRANSLATORS: "%s %s" after "compiled on" is date and time
#, fuzzy, c-format
msgid ""
"WeeChat %s Copyright %s, compiled on %s %s\n"
"Developed by Sébastien Helleu <flashcode@flashtux.org> - %s"
msgstr ""
"%s Copyright (C) 2003-2010, собран %s %s\n"
"Разработчик - Sébastien Helleu <flashcode@flashtux.org> - %s"
msgid "Usage:"
msgstr "Использование:"
msgid "[option...] [plugin:option...]"
msgstr "[опция...] [расширение:опция...]"
msgid "Extra options in headless mode:"
msgstr ""
msgid "Debug options (for tools like valgrind, DO NOT USE IN PRODUCTION):"
msgstr ""
#, fuzzy, c-format
msgid "Error: missing argument for \"%s\" option\n"
msgstr "%s нет аргумента для параметра \"%s\"\n"
#, fuzzy
msgid "List of bars:"
msgstr "Список сокращений:\n"
@@ -145,7 +293,7 @@ msgid "%sUnable to scroll bar \"%s\""
msgstr "%s не могу сохранить конфигурационный файл pluginов\n"
#, fuzzy, c-format
msgid "%sBuffer number \"%d\" is out of range (it must be between 1 and %d)"
msgid "%sBuffer number %d is out of range (it must be between 1 and %d)"
msgstr "%sОшибочный код цвета \"%s\" (должен быть в диапазоне от %d до %d)"
msgid "Buffers list:"
@@ -504,12 +652,12 @@ msgid "%sArgument \"-yes\" is required for keys reset (security reason)"
msgstr ""
"%s аргумент \"-yes\" необходим для сброса ключей (в целях безопасности)\n"
#, fuzzy, c-format
msgid "%d new key added"
#, c-format
msgid "%d new key added (context: \"%s\")"
msgid_plural "%d new keys added (context: \"%s\")"
msgstr[0] "Игнорирования не заданы.\n"
msgstr[1] "Игнорирования не заданы.\n"
msgstr[2] "Игнорирования не заданы.\n"
msgstr[0] ""
msgstr[1] ""
msgstr[2] ""
#, fuzzy
msgid "Stored layouts:"
@@ -1123,7 +1271,7 @@ msgstr ""
msgid ""
"option: option to change (for options list, look at /set weechat.bar."
"<barname>.*)"
"<bar_name>.*)"
msgstr ""
#, fuzzy
@@ -1576,7 +1724,7 @@ msgstr ""
#. TRANSLATORS: only text between angle brackets (eg: "<name>") may be translated
msgid ""
"[-n|-s] [-d] <expression> || [-n] [-d [-d]] -c <expression1> <operator> "
"[-n|-s] [-e] [-d] <expression> || [-n] [-d [-d]] -c <expression1> <operator> "
"<expression2>"
msgstr ""
@@ -1588,6 +1736,9 @@ msgid ""
"separated by semicolons)"
msgstr ""
msgid "raw[-e]: evaluate all commands before executing them"
msgstr ""
msgid ""
"raw[-d]: display debug output after evaluation (with two -d: more verbose "
"debug)"
@@ -2109,7 +2260,7 @@ msgid "display help about commands and options"
msgstr "отобразить помощь по командам"
#. TRANSLATORS: only text between angle brackets (eg: "<name>") may be translated
msgid "-list|-listfull [<plugin>...]] || <command> || <option>"
msgid "-list|-listfull [<plugin>...] || <command> || <option>"
msgstr ""
msgid ""
@@ -2169,9 +2320,9 @@ msgid "raw[clear]: clear hotlist"
msgstr ""
msgid ""
"level: \"lowest\" to clear only lowest level in hotlist, highest\" to clear "
"only highest level in hotlist, or level mask: integer which is a combination "
"of 1=join/part, 2=message, 4=private, 8=highlight"
"level: \"lowest\" to clear only lowest level in hotlist, \"highest\" to "
"clear only highest level in hotlist, or level mask: integer which is a "
"combination of 1=join/part, 2=message, 4=private, 8=highlight"
msgstr ""
msgid "raw[remove]: remove current buffer from hotlist"
@@ -3036,7 +3187,7 @@ msgstr ""
msgid ""
"option: option to change (for options list, look at /set weechat.proxy."
"<proxyname>.*)"
"<proxy_name>.*)"
msgstr ""
msgid " add a http proxy, running on local host, port 8888:"
@@ -3273,20 +3424,20 @@ msgstr ""
msgid " encrypt libera SASL password:"
msgstr ""
msgid " /secure set libera mypassword"
msgid " /secure set libera my_password"
msgstr ""
msgid " encrypt oftc password for nickserv:"
msgstr ""
msgid " /secure set oftc mypassword"
msgid " /secure set oftc my_password"
msgstr ""
msgid " alias to ghost the nick \"mynick\":"
msgid " alias to ghost the nick \"andrew\":"
msgstr ""
msgid ""
" /alias add ghost /eval /msg -server libera nickserv ghost mynick $"
" /alias add ghost /eval /msg -server libera nickserv ghost andrew $"
"{sec.data.libera}"
msgstr ""
@@ -3526,7 +3677,7 @@ msgstr ""
msgid "With option \"-quit\", the process is:"
msgstr ""
msgid " 1. close *ALL* connections (irc, xfer, relay, ...)"
msgid " 1. close *ALL* connections (irc, xfer, relay, etc.)"
msgstr ""
#, fuzzy
@@ -4330,7 +4481,7 @@ msgstr ""
"(см. /help quit)"
msgid "display special message when day changes"
msgstr "отображать специальное сообщение при смене дня"
msgstr "отображать специальное сообщение при смене дня"
#. TRANSLATORS: string "${color:xxx}" must NOT be translated
#, fuzzy
@@ -5783,7 +5934,7 @@ msgstr " . строковой тип (значения: "
msgid "read - object type"
msgstr ""
msgid "read - bad object type ('object start' expected)"
msgid "read - bad object type (\"object start\" expected)"
msgstr ""
msgid "read - object id"
@@ -5898,99 +6049,6 @@ msgstr ""
msgid "End of URL transfer '%s', transfer stopped"
msgstr ""
#. TRANSLATORS: "%s %s" after "compiled on" is date and time
#, fuzzy, c-format
msgid ""
"WeeChat %s Copyright %s, compiled on %s %s\n"
"Developed by Sébastien Helleu <flashcode@flashtux.org> - %s"
msgstr ""
"%s Copyright (C) 2003-2010, собран %s %s\n"
"Разработчик - Sébastien Helleu <flashcode@flashtux.org> - %s"
#, c-format
msgid "Usage: %s [option...] [plugin:option...]\n"
msgstr "Использование: %s [опция...] [расширение:опция...]\n"
#, fuzzy
msgid ""
" -a, --no-connect disable auto-connect to servers at startup\n"
" -c, --colors display default colors in terminal and exit\n"
" -d, --dir <path> force a single WeeChat home directory\n"
" or 5 different directories separated by colons "
"(in this order: config, data, state, cache, runtime)\n"
" (environment variable WEECHAT_HOME is read if "
"this option is not given)\n"
" -t, --temp-dir create a temporary WeeChat home directory and "
"delete it on exit\n"
" (incompatible with option \"-d\")\n"
" -h, --help display this help and exit\n"
" -i, --build-info display build information and exit\n"
" -l, --license display WeeChat license and exit\n"
" -p, --no-plugin don't load any plugin at startup\n"
" -P, --plugins <plugins> load only these plugins at startup\n"
" (see /help weechat.plugin.autoload)\n"
" -r, --run-command <cmd> run command(s) after startup;\n"
" many commands can be separated by semicolons and "
"are evaluated,\n"
" this option can be given multiple times\n"
" -s, --no-script don't load any script at startup\n"
" --upgrade upgrade WeeChat using session files (see /help "
"upgrade in WeeChat)\n"
" -v, --version display WeeChat version and exit\n"
" plugin:option option for plugin (see man weechat)\n"
msgstr ""
" -a, --no-connect не подключаться автоматически при запуске\n"
" -c, --config отобразить параметры конфигурации\n"
" -d, --dir <path> установить домашний каталог WeeChat (по умолчанию: "
"~/.weechat)\n"
" -f, --key-functions отобразить внутренние функции WeeChat для горячих "
"клавиш\n"
" -h, --help эта сравка\n"
" -i, --irc-commands отобразить команды IRC\n"
" -k, --keys отобразить клавиши по умолчанию\n"
" -l, --license отобразить лицензию WeeChat\n"
" -p, --no-plugin не загружать pluginы при запуске\n"
" -v, --version отобразить версию WeeChat\n"
" -w, --weechat-commands отобразить команды WeeChat\n"
msgid "Extra options in headless mode:\n"
msgstr ""
msgid ""
" --doc-gen <path> generate files to build documentation and exit\n"
msgstr ""
msgid ""
" --daemon run WeeChat as a daemon (fork, new process group, "
"file descriptors closed);\n"
msgstr ""
msgid ""
" (by default in headless mode WeeChat is blocking "
"and does not run in background)\n"
msgstr ""
msgid ""
" --stdout display log messages on standard output instead "
"of writing them in log file\n"
msgstr ""
msgid ""
" (option ignored if option \"--daemon\" is given)\n"
msgstr ""
msgid ""
"Debug options (for tools like valgrind, DO NOT USE IN PRODUCTION):\n"
" --no-dlclose do not call function dlclose after plugins are "
"unloaded\n"
" --no-gnutls disable init/deinit of gnutls\n"
" --no-gcrypt disable init/deinit of gcrypt\n"
msgstr ""
#, fuzzy, c-format
msgid "Error: missing argument for \"%s\" option\n"
msgstr "%s нет аргумента для параметра \"%s\"\n"
msgid "WeeChat is running in headless mode (ctrl-c to quit)."
msgstr ""
@@ -6697,7 +6755,7 @@ msgstr ""
msgid ""
" - ${index_displayed}: index of line displayed in the bar item (starts at "
"0, only buffers displayed increment this index, see option "
"buflist.look.display_conditions"
"buflist.look.display_conditions)"
msgstr ""
#, fuzzy
@@ -8225,7 +8283,7 @@ msgid "%s%s: not connected to server \"%s\"!"
msgstr "%s не подключен к серверу \"%s\"!\n"
#, fuzzy, c-format
msgid "%s: auto-reconnection is cancelled"
msgid "%s: auto-reconnection is canceled"
msgstr "Авто-переподключение отменено\n"
#, fuzzy, c-format
@@ -8387,6 +8445,13 @@ msgstr[0] "секунда"
msgstr[1] "секунда"
msgstr[2] "секунда"
#, fuzzy
msgid "millisecond"
msgid_plural "milliseconds"
msgstr[0] "секунда"
msgstr[1] "секунда"
msgstr[2] "секунда"
#, fuzzy
msgid "minute"
msgid_plural "minutes"
@@ -8545,7 +8610,7 @@ msgstr "отправить действие на все каналы всех п
#, fuzzy
msgid ""
"[-current] [-parted|-all] [-exclude=<channel>[,<channel>...]] <command> || [-"
"current] [-parted|-all] -include=<channel>[,<channel>...] <command>"
"current] [-parted|-all] [-include=<channel>[,<channel>...]] <command>"
msgstr "[сокращение [команда [аргументы]]]"
#, fuzzy
@@ -8635,8 +8700,8 @@ msgstr "отправить действие на все каналы всех п
#. TRANSLATORS: only text between angle brackets (eg: "<name>") may be translated
#, fuzzy
msgid ""
"[-current] [-exclude=<nick>[,<nick>...]] <command> || [-current] "
"-include=<nick>[,<nick>...] <command>"
"[-current] [-exclude=<nick>[,<nick>...]] <command> || [-current] [-"
"include=<nick>[,<nick>...]] <command>"
msgstr "[сокращение [команда [аргументы]]]"
#, fuzzy
@@ -8686,8 +8751,8 @@ msgstr "отправить сообщение на все каналы всех
#. TRANSLATORS: only text between angle brackets (eg: "<name>") may be translated
msgid ""
"[-exclude=<server>[,<server>...]] <command> || -include=<server>[,"
"<server>...] <command>"
"[-exclude=<server>[,<server>...]] <command> || [-include=<server>[,"
"<server>...]] <command>"
msgstr ""
msgid "raw[-exclude]: exclude some servers (wildcard \"*\" is allowed)"
@@ -8837,7 +8902,7 @@ msgid ""
msgstr ""
msgid ""
"raw[ack]: acknowledge capabilities which require client-side acknowledgement"
"raw[ack]: acknowledge capabilities which require client-side acknowledgment"
msgstr ""
#, fuzzy
@@ -10805,8 +10870,9 @@ msgstr ""
msgid ""
"comma-separated list of fields to sort channels (see /help list for a list "
"of fields); char \"-\" can be used before field to reverse order, char \"~\" "
"can be used to do a case-insensitive comparison; example: \"-users,~name\" "
"for biggest channels first then case-insensitive sort on name"
"can be used to do a case-insensitive comparison; example: \"-users,~name2\" "
"for biggest channels first then case-insensitive sort on channel name "
"without prefix"
msgstr ""
#, fuzzy
@@ -13951,7 +14017,7 @@ msgid "%s%s: no connection to remote relay \"%s\""
msgstr "%s не подключен к серверу \"%s\"!\n"
#, fuzzy, c-format
msgid "remote[%s]: auto-reconnection is cancelled"
msgid "remote[%s]: auto-reconnection is canceled"
msgstr "Авто-переподключение отменено\n"
#, fuzzy, c-format
@@ -16186,7 +16252,7 @@ msgid "%s%s: invalid regular expression in trigger: \"%s\""
msgstr "%s недостаточно памяти для сообщения в строке информации\n"
#. TRANSLATORS: this text is displayed before the list of nicks typing in the bar item "typing", it must be as short as possible
msgid "Typing:"
msgid "Typing: "
msgstr ""
msgid ""
@@ -16220,6 +16286,11 @@ msgid ""
"truncate content)"
msgstr ""
msgid ""
"text to display before the nicks in the bar item \"typing\"; if set, it is "
"used instead of the translated string \"Typing: \" which is used by default"
msgstr ""
msgid "Typing status of users"
msgstr ""
@@ -16366,8 +16437,9 @@ msgstr "не ожидать ACK при отправке файла"
#, fuzzy
msgid ""
"IP or DNS address used for sending and passively receiving files/chats (if "
"empty, local interface IP is used)"
"IP or DNS address used for sending and passively receiving files/chats; if "
"empty, local interface IP is used (note: content is evaluated, see /help "
"eval)"
msgstr ""
"IP адрес или домен, используемый для исходящих DCC соединений (пустое "
"значение означает текущий IP адрес)"
+257 -191
View File
@@ -22,8 +22,8 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2026-03-16 13:17+0100\n"
"PO-Revision-Date: 2026-03-16 13:20+0100\n"
"POT-Creation-Date: 2026-03-21 17:24+0100\n"
"PO-Revision-Date: 2026-03-21 17:26+0100\n"
"Last-Translator: Ivan Pešić <ivan.pesic@gmail.com>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
"Language: sr\n"
@@ -33,6 +33,161 @@ msgstr ""
"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && "
"n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
#. TRANSLATORS: command line option "-a", "--no-connect"
msgid "disable auto-connect to servers at startup"
msgstr "спречава аутоматско повезивање са серверима приликом покретања"
#. TRANSLATORS: command line option "-c", "--colors"
msgid "display default colors in terminal and exit"
msgstr "приказује подразумеване боје у терминалу и прекида извршавање"
#. TRANSLATORS: only "<path>" may be translated
msgid "-d, --dir <path>"
msgstr "-d, --dir <путања>"
#. TRANSLATORS: command line option "-d", "--dir <path>"
msgid ""
"force a single WeeChat home directory or 5 different directories separated "
"by colons (in this order: config, data, state, cache, runtime) (environment "
"variable WEECHAT_HOME is read if this option is not given)"
msgstr ""
"поставља WeeChat почетни директоријум или 5 различита директоријума "
"раздвојена тачка зарезима (у следећем редоследу: конфиг, подаци, стање, кеш, "
"дир за време извршавања) (ако се ова опција не зада, чита се WEECHAT_HOME "
"променљива окружења)"
#. TRANSLATORS: command line option "-t", "--temp-dir"
msgid ""
"create a temporary WeeChat home directory and delete it on exit "
"(incompatible with option \"-d\")"
msgstr ""
"креира привремени WeeChat почетни директоријум и брише га приликом напуштања "
"програма (није компатибилно са опцијом „-d”)"
#. TRANSLATORS: command line option "-h", "--help"
msgid "display this help and exit"
msgstr "приказује ову помоћ и прекида извршавање"
#. TRANSLATORS: command line option "-i", "--build-info"
msgid "display build information and exit"
msgstr "приказује информације о изградњи и прекида извршавање"
#. TRANSLATORS: command line option "-l", "--license"
msgid "display WeeChat license and exit"
msgstr "приказује WeeChat лиценцу и прекида извршавање"
#. TRANSLATORS: command line option "-p", "--no-plugin"
msgid "don't load any plugin at startup"
msgstr "приликом покретања се не учитавају додаци"
#. TRANSLATORS: only "<plugins>" may be translated
msgid "-P, --plugins <plugins>"
msgstr "-P, --plugins <додаци>"
#. TRANSLATORS: command line option "-P", "--plugins <plugins>"
msgid "load only these plugins at startup (see /help weechat.plugin.autoload)"
msgstr ""
"приликом покретања се учитавају само ови додаци (погледајте /help "
"weechat.plugin.autoload)"
#. TRANSLATORS: only "<cmd>" may be translated (please keep it short)
msgid "-r, --run-command <cmd>"
msgstr "-r, --run-command <ком>"
#. TRANSLATORS: command line option "-r", "--run-command <cmd>"
msgid ""
"run command(s) after startup; many commands can be separated by semicolons "
"and are evaluated, this option can be given multiple times"
msgstr ""
"покреће команд(у/е) након покретања; можете да раздвојите више команди са "
"тачка запета и оне се израчунавају, ова опција може да се зада више пута"
#. TRANSLATORS: command line option "-s", "--no-script"
msgid "don't load any script at startup"
msgstr "приликом учитавања се не учитавају никакве скрипте"
#. TRANSLATORS: command line option "--upgrade"
msgid "upgrade WeeChat using session files (see /help upgrade in WeeChat)"
msgstr ""
"ажурира WeeChat користећи фајлове сесије (погледајте /help upgrade у "
"програму WeeChat)"
#. TRANSLATORS: command line option "-v", "--version"
msgid "display WeeChat version and exit"
msgstr "приказује верзију програма WeeChat и прекида извршавање"
#. TRANSLATORS: command line option: "plugin" and "option" may be translated
msgid "plugin:option"
msgstr "додатак:опција"
#. TRANSLATORS: command line option "plugin:option"
msgid "option for plugin (see man weechat)"
msgstr "опција за додатак (погледајте man weechat)"
#. TRANSLATORS: only "<path>" may be translated
msgid "--doc-gen <path>"
msgstr "--doc-gen <путања>"
#. TRANSLATORS: command line option "--doc-gen <path>"
msgid "generate files to build documentation and exit"
msgstr "генерише фајлове за изградњу документације и прекида извршавање"
#. TRANSLATORS: command line option "--daemon"
msgid ""
"run WeeChat as a daemon (fork, new process group, file descriptors closed); "
"by default in headless mode WeeChat is blocking and does not run in "
"background"
msgstr ""
"покреће WeeChat као даемон (рачва, нова група процеса, затворени дескриптори "
"фајла); у режиму без интерфејса, WeeChat је подразумевано блокирајући и не "
"извршава се у позадини"
#. TRANSLATORS: command line option "--stdout"
msgid ""
"display log messages on standard output instead of writing them in log file "
"(option ignored if option \"--daemon\" is given)"
msgstr ""
"уместо да се лог поруке уписују у лог фајл, исписују се на стандардни излаз "
"(игнорише се ако се зада опција „--daemon”)"
#. TRANSLATORS: command line option "--no-dlclose"
msgid "do not call function dlclose after plugins are unloaded"
msgstr "након што се додаци уклоне из меморије, не позива се функција dlclose"
#. TRANSLATORS: command line option "--no-gnutls"
msgid "disable init/deinit of gnutls"
msgstr "искључује иниц/деиниц gnutls"
#. TRANSLATORS: command line option "--no-gcrypt"
msgid "disable init/deinit of gcrypt"
msgstr "искључује иниц/деиниц gcrypt"
#. TRANSLATORS: "%s %s" after "compiled on" is date and time
#, c-format
msgid ""
"WeeChat %s Copyright %s, compiled on %s %s\n"
"Developed by Sébastien Helleu <flashcode@flashtux.org> - %s"
msgstr ""
"WeeChat %s ауторска права %s, компајлиран %s %s\n"
"Написао Себастијен Елеу <flashcode@flashtux.org> - %s"
msgid "Usage:"
msgstr "Употреба:"
msgid "[option...] [plugin:option...]"
msgstr "[опција...] [додатак:опција...]"
msgid "Extra options in headless mode:"
msgstr "Додатне опције у режиму без интерфејса:"
msgid "Debug options (for tools like valgrind, DO NOT USE IN PRODUCTION):"
msgstr ""
"Дибаг опције (за алате као што је valgrind, НЕ КОРИСТИТЕ У ПРОДУКЦИЈИ):"
#, c-format
msgid "Error: missing argument for \"%s\" option\n"
msgstr "Грешка: недостаје аргумент за опцију „%s”\n"
msgid "List of bars:"
msgstr "Листа трака:"
@@ -138,7 +293,7 @@ msgid "%sUnable to scroll bar \"%s\""
msgstr "%sТрака „%s” не може да се скролује"
#, c-format
msgid "%sBuffer number \"%d\" is out of range (it must be between 1 and %d)"
msgid "%sBuffer number %d is out of range (it must be between 1 and %d)"
msgstr "%sБрој бафера „%d” је ван опсега (мода бити између 1 и %d)"
msgid "Buffers list:"
@@ -477,7 +632,7 @@ msgstr ""
"%sЗа ресетовање тастера је неопходан аргумент „-yes” (из разлога безбедности)"
#, c-format
msgid "%d new key added"
msgid "%d new key added (context: \"%s\")"
msgid_plural "%d new keys added (context: \"%s\")"
msgstr[0] "додат је %d нови тастер (контекст: „%s”)"
msgstr[1] "додато је %d нова тастера (контекст: „%s”)"
@@ -1085,9 +1240,13 @@ msgstr "маска: име у којем је дозвољен џокер „*
msgid "raw[set]: set a value for a bar property"
msgstr "raw[set]: поставља вредност особине траке"
#, fuzzy
#| msgid ""
#| "option: option to change (for options list, look at /set weechat.bar."
#| "<barname>.*)"
msgid ""
"option: option to change (for options list, look at /set weechat.bar."
"<barname>.*)"
"<bar_name>.*)"
msgstr ""
"опција: опција која се мења (за листу опција, погледајте /set weechat.bar."
"<иметраке>.*)"
@@ -1150,8 +1309,8 @@ msgid ""
"get <property> || jump smart|last_displayed|prev_visited|next_visited || "
"<id>|<number>|-|+|<name>"
msgstr ""
"list || add [-free] [-switch] <име> || clear [<број>|<име>|-merged|-all "
"[<ид><број>|<име>...]] || move <број>|-|+ || swap <ид1>|<број1>|<име1> "
"list || add [-free] [-switch] <име> || clear [<ид>|<број>|<име>|-merged|-all "
"[<ид>|<број>|<име>...]] || move <број>|-|+ || swap <ид1>|<број1>|<име1> "
"[<ид2>|<број2>|<име2>] || cycle <ид>|<број>|<име>... || merge <ид>|<број>|"
"<име> || unmerge [<број>|-all] || hide [<ид>|<број>|<име>|-all [<ид>|<број>|"
"<име>...]] || unhide [<ид>|<број>|<име>|-all [<ид>|<број>|<име>...]] || "
@@ -1477,9 +1636,9 @@ msgid ""
"|| hdata [free] || time <command> || unicode <string> || whitespace"
msgstr ""
"list || set <додатак> <ниво> || dump [<додатак>] || hooks [<маска_додатака> "
"[<тип_куке>...]] || buffer|certs|color|dirs|infolists|libs|memory|tags|term|"
"url|windows || callbacks <трајање>[<јединица>] || mouse|cursor [verbose] || "
"hdata [free] || time <команда> || unicode <стринг> || whitespace"
"[<тип_куке>...]] || buffer|certs|color|dirs|infolists|key|libs|memory|tags|"
"term|url|windows || callbacks <трајање>[<јединица>] || mouse|cursor "
"[verbose] || hdata [free] || time <команда> || unicode <стринг> || whitespace"
msgid "raw[list]: list plugins with debug levels"
msgstr "raw[list]: исписује додатке са дибаг нивоима"
@@ -1620,8 +1779,12 @@ msgid "evaluate expression"
msgstr "израчунавање израза"
#. TRANSLATORS: only text between angle brackets (eg: "<name>") may be translated
#, fuzzy
#| msgid ""
#| "[-n|-s] [-d] <expression> || [-n] [-d [-d]] -c <expression1> <operator> "
#| "<expression2>"
msgid ""
"[-n|-s] [-d] <expression> || [-n] [-d [-d]] -c <expression1> <operator> "
"[-n|-s] [-e] [-d] <expression> || [-n] [-d [-d]] -c <expression1> <operator> "
"<expression2>"
msgstr "[-n|-s] [-d] <израз> || [-n] [-d [-d]] -c <израз1> <оператор> <израз2>"
@@ -1635,6 +1798,9 @@ msgstr ""
"raw[-s]: дели израз пре израчунавања (многе команде могу да се раздвоје са "
"тачка запетама)"
msgid "raw[-e]: evaluate all commands before executing them"
msgstr ""
msgid ""
"raw[-d]: display debug output after evaluation (with two -d: more verbose "
"debug)"
@@ -2246,7 +2412,7 @@ msgid "display help about commands and options"
msgstr "приказивање помоћи за команде и опције"
#. TRANSLATORS: only text between angle brackets (eg: "<name>") may be translated
msgid "-list|-listfull [<plugin>...]] || <command> || <option>"
msgid "-list|-listfull [<plugin>...] || <command> || <option>"
msgstr "-list|-listfull [<додатак>...] || <команда> || <опција>"
msgid ""
@@ -2304,9 +2470,9 @@ msgid "raw[clear]: clear hotlist"
msgstr "raw[clear]: брише врућу листу"
msgid ""
"level: \"lowest\" to clear only lowest level in hotlist, highest\" to clear "
"only highest level in hotlist, or level mask: integer which is a combination "
"of 1=join/part, 2=message, 4=private, 8=highlight"
"level: \"lowest\" to clear only lowest level in hotlist, \"highest\" to "
"clear only highest level in hotlist, or level mask: integer which is a "
"combination of 1=join/part, 2=message, 4=private, 8=highlight"
msgstr ""
"ниво: „lowest” да се обрише само најнижи ниво у врућој листи, „highest” да "
"се обрише само највиши ниво у врућој листи, или маска нивоа: цео број који "
@@ -3045,7 +3211,7 @@ msgid ""
"[<arguments>] || autoload [<arguments>] || reload [<name>|* [<arguments>]] "
"|| unload [<name>]"
msgstr ""
"list| [-o|-ol|-i|-il|<име>] || listfull [<име>] || load <имефајла> "
"list [-o|-ol|-i|-il|<име>] || listfull [<име>] || load <имефајла> "
"[<аргументи>] || autoload [<аргументи>] || reload [<име>|* [<аргументи>]] || "
"unload [<име>]"
@@ -3291,9 +3457,13 @@ msgstr "raw[del]: брише проксије"
msgid "raw[set]: set a value for a proxy property"
msgstr "raw[set]: поставља вредност особине проксија"
#, fuzzy
#| msgid ""
#| "option: option to change (for options list, look at /set weechat.proxy."
#| "<proxyname>.*)"
msgid ""
"option: option to change (for options list, look at /set weechat.proxy."
"<proxyname>.*)"
"<proxy_name>.*)"
msgstr ""
"опција: опција која треба да се промени (за листу опција, погледајте /set "
"weechat.proxy.<имепроксија>.*)"
@@ -3521,7 +3691,7 @@ msgid ""
msgstr ""
"Можете да поставите променљиву окружења „WEECHAT_PASSPHRASE” која спречава "
"овај одзив (то је иста променљива коју програм WeeChat користи приликом /"
"upgrade), или да поставите опцију sec.crypt.passphrase_command тако да се "
"upgrade), или да поставите опцију sec.crypt.passphrase_command тако да се "
"тајна реченица чита из излаза спољне команде као што је управљач лозинкама "
"(погледајте /help sec.crypt.passphrase_command)."
@@ -3558,23 +3728,23 @@ msgstr " користи програм „pass” за читање тајне
msgid " encrypt libera SASL password:"
msgstr " шифровање libera SASL лозинке:"
msgid " /secure set libera mypassword"
msgstr " /secure set libera мојалозинка"
msgid " /secure set libera my_password"
msgstr " /secure set libera моја_лозинка"
msgid " encrypt oftc password for nickserv:"
msgstr " шифровање oftc лозинке за nickserv:"
msgid " /secure set oftc mypassword"
msgstr " /secure set oftc мојалозинка"
msgid " /secure set oftc my_password"
msgstr " /secure set oftc моја_лозинка"
msgid " alias to ghost the nick \"mynick\":"
msgstr " алијас за ghost надимка „mynick”:"
msgid " alias to ghost the nick \"andrew\":"
msgstr " алијас за ghost надимка „andrew”:"
msgid ""
" /alias add ghost /eval /msg -server libera nickserv ghost mynick $"
" /alias add ghost /eval /msg -server libera nickserv ghost andrew $"
"{sec.data.libera}"
msgstr ""
" /alias add ghost /eval /msg -server libera nickserv ghost mynick $"
" /alias add ghost /eval /msg -server libera nickserv ghost andrew $"
"{sec.data.libera}"
msgid "set config options and environment variables"
@@ -3878,7 +4048,9 @@ msgstr ""
msgid "With option \"-quit\", the process is:"
msgstr "Процес са опцијом „-quit” је следећи:"
msgid " 1. close *ALL* connections (irc, xfer, relay, ...)"
#, fuzzy
#| msgid " 1. close *ALL* connections (irc, xfer, relay, ...)"
msgid " 1. close *ALL* connections (irc, xfer, relay, etc.)"
msgstr " 1. затварање *СВИХ* конекција (irc, xfer, relay, ...)"
msgid " 2. save session into files (*.upgrade)"
@@ -5486,7 +5658,7 @@ msgid ""
msgstr ""
"листа карактера раздвојених зарезима (или опсега карактера) који се сматрају "
"за део речи које се истичу; свака ставка може бити један карактер, опсег "
"карактера (формат је: a-z), класа широких карактера (на пример „alnum”, "
"карактера (формат је: a-z), класа широких карактера (на пример „alnum”, "
"погледајте man wctype); „!” испред ставке је чини негативном (тј. карактер "
"се НЕ сматра као део речи); вредност „*” се подудара са било којим "
"карактером; дозвољени су уникод карактери у формату \\u1234, на пример "
@@ -6526,8 +6698,8 @@ msgstr "упис -променљива"
msgid "read - object type"
msgstr "читање - тип објекта"
msgid "read - bad object type ('object start' expected)"
msgstr "читање - лош тип објекта (очекује се 'object start')"
msgid "read - bad object type (\"object start\" expected)"
msgstr "читање - лош тип објекта (очекује се \"object start\")"
msgid "read - object id"
msgstr "читање - ид објекта"
@@ -6586,15 +6758,13 @@ msgstr "грешка преноса"
msgid "curl error %d (%s) (URL: \"%s\")\n"
msgstr "curl грешка %d (%s) (URL: „%s”)\n"
#, fuzzy, c-format
#| msgid "%sURL transfer error: %s (URL: \"%s\")"
#, c-format
msgid "transfer stopped (URL: \"%s\")\n"
msgstr "%sГрешка URL трансфера: %s (URL: „%s”)"
msgstr "трансфер је заустављен (URL: „%s”)\n"
#, fuzzy, c-format
#| msgid "End of URL transfer '%s', timeout reached (%.3fs)"
#, c-format
msgid "transfer timeout reached (%.3fs) (URL: \"%s\")\n"
msgstr "Крај URL трансфера ’%s’, достигнут је тајмаут (%.3fs)"
msgstr "достигнут је тајмаут трансфера (%.3fs) (URL: „%s”)\n"
#, c-format
msgid "%sAnother command \"%s\" already exists for plugin \"%s\""
@@ -6642,134 +6812,9 @@ msgstr "Крај URL трансфера ’%s’, достигнут је тај
msgid "%sError running thread in hook_url: %s (URL: \"%s\")"
msgstr "%sГрешка покретања нити у hook_url: %s (URL: „%s”)"
#, fuzzy, c-format
#| msgid "End of URL transfer '%s', timeout reached (%.3fs)"
#, c-format
msgid "End of URL transfer '%s', transfer stopped"
msgstr "Крај URL трансфера ’%s’, достигнут је тајмаут (%.3fs)"
#. TRANSLATORS: "%s %s" after "compiled on" is date and time
#, c-format
msgid ""
"WeeChat %s Copyright %s, compiled on %s %s\n"
"Developed by Sébastien Helleu <flashcode@flashtux.org> - %s"
msgstr ""
"WeeChat %s ауторска права %s, компајлиран %s %s\n"
"Написао Себастијен Елеу <flashcode@flashtux.org> - %s"
#, c-format
msgid "Usage: %s [option...] [plugin:option...]\n"
msgstr "Употреба: %s [опција...] [додатак:опција...]\n"
msgid ""
" -a, --no-connect disable auto-connect to servers at startup\n"
" -c, --colors display default colors in terminal and exit\n"
" -d, --dir <path> force a single WeeChat home directory\n"
" or 5 different directories separated by colons "
"(in this order: config, data, state, cache, runtime)\n"
" (environment variable WEECHAT_HOME is read if "
"this option is not given)\n"
" -t, --temp-dir create a temporary WeeChat home directory and "
"delete it on exit\n"
" (incompatible with option \"-d\")\n"
" -h, --help display this help and exit\n"
" -i, --build-info display build information and exit\n"
" -l, --license display WeeChat license and exit\n"
" -p, --no-plugin don't load any plugin at startup\n"
" -P, --plugins <plugins> load only these plugins at startup\n"
" (see /help weechat.plugin.autoload)\n"
" -r, --run-command <cmd> run command(s) after startup;\n"
" many commands can be separated by semicolons and "
"are evaluated,\n"
" this option can be given multiple times\n"
" -s, --no-script don't load any script at startup\n"
" --upgrade upgrade WeeChat using session files (see /help "
"upgrade in WeeChat)\n"
" -v, --version display WeeChat version and exit\n"
" plugin:option option for plugin (see man weechat)\n"
msgstr ""
" -a, --no-connect спречава аутоматско повезивање са серверима "
"приликом покретања\n"
" -c, --colors приказује подразумеване боје у терминалу и "
"прекида извршавање\n"
" -d, --dir <путања> поставља WeeChat почетни директоријум\n"
" или 5 различита директоријума раздвојена тачка "
"зарезима (у следећем редоследу: конфиг, подаци, стање, кеш, дир за време "
"извршавања)\n"
" (ако се ова опција не зада, чита се WEECHAT_HOME "
"променљива окружења)\n"
" -t, --temp-dir креира привремени WeeChat почетни директоријум и "
"брише га приликом напуштања програма\n"
" (није компатибилно са опцијом „-d”)\n"
" -h, --help приказује ову помоћ и прекида извршавање\n"
" -i, --build-info приказује информације о изградњи и прекида "
"извршавање\n"
" -l, --license приказује WeeChat лиценцу и прекида извршавање\n"
" -p, --no-plugin приликом покретања се не учитавају додаци\n"
" -P, --plugins <додаци> приликом покретања се учитавају само ови додаци\n"
" (погледајте /help weechat.plugin.autoload)\n"
" -r, --run-command <ком> покреће команд(у/е) након покретања;\n"
" можете да раздвојите више команди са тачка запета "
"и оне се израчунавају,\n"
" ова опција може да се зада више пута\n"
" -s, --no-script приликом учитавања се не учитавају никакве "
"скрипте\n"
" --upgrade ажурира WeeChat користећи фајлове сесије "
"(погледајте /help upgrade у програму WeeChat)\n"
" -v, --version приказује верзију програма WeeChat и прекида "
"извршавање\n"
" додатак:опција опција за додатак (погледајте man weechat)\n"
msgid "Extra options in headless mode:\n"
msgstr "Додатне опције у режиму без интерфејса:\n"
msgid ""
" --doc-gen <path> generate files to build documentation and exit\n"
msgstr ""
" --doc-gen <путања> генерише фајлове за изградњу документације и "
"прекида извршавање\n"
msgid ""
" --daemon run WeeChat as a daemon (fork, new process group, "
"file descriptors closed);\n"
msgstr ""
" --daemon покреће WeeChat као даемон (рачва, нова група "
"процеса, затворени дескриптори фајла);\n"
msgid ""
" (by default in headless mode WeeChat is blocking "
"and does not run in background)\n"
msgstr ""
" (у режиму без интерфејса, WeeChat је "
"подразумевано блокирајући и не извршава се у позадини)\n"
msgid ""
" --stdout display log messages on standard output instead "
"of writing them in log file\n"
msgstr ""
" --stdout уместо да се лог поруке уписују у лог фајл, "
"исписују се на стандардни излаз\n"
msgid ""
" (option ignored if option \"--daemon\" is given)\n"
msgstr ""
" (игнорише се ако се зада опција „--daemon”)\n"
msgid ""
"Debug options (for tools like valgrind, DO NOT USE IN PRODUCTION):\n"
" --no-dlclose do not call function dlclose after plugins are "
"unloaded\n"
" --no-gnutls disable init/deinit of gnutls\n"
" --no-gcrypt disable init/deinit of gcrypt\n"
msgstr ""
"Дибаг опције (за алате као што је valgrind, НЕ КОРИСТИТЕ У ПРОДУКЦИЈИ):\n"
" --no-dlclose након што се додаци уклоне из меморије, не позива "
"се функција dlclose\n"
" --no-gnutls искључује иниц/деиниц gnutls\n"
" --no-gcrypt искључује иниц/деиниц gcrypt\n"
#, c-format
msgid "Error: missing argument for \"%s\" option\n"
msgstr "Грешка: недостаје аргумент за опцију „%s”\n"
msgstr "Крај URL трансфера ’%s’, трансфер је заустављен"
msgid "WeeChat is running in headless mode (ctrl-c to quit)."
msgstr "WeeChat се извршава у режиму без интерфејса (ctrl-c за излаз)."
@@ -7389,9 +7434,9 @@ msgid ""
" - window data, where the bar item is displayed (there's no window in root "
"bars, see hdata \"window\" in API doc for a complete list), for example:"
msgstr ""
" - подаци о прозору, у коме се трака приказује (не постоји прозор у кореним "
"тракама, погледајте hdata „window” у документацији API за комплетну листу), "
"на пример:"
" - подаци о прозору у коме се приказује ставка траке (не постоји прозор у "
"кореним тракама, погледајте hdata „window” у документацији API за комплетну "
"листу), на пример:"
msgid ""
" - buffer data (see hdata \"buffer\" in API doc for a complete list), for "
@@ -7565,8 +7610,11 @@ msgstr ""
msgid ""
" - ${index_displayed}: index of line displayed in the bar item (starts at "
"0, only buffers displayed increment this index, see option "
"buflist.look.display_conditions"
"buflist.look.display_conditions)"
msgstr ""
" - ${index_displayed}: индекс линије која се приказује у ставци траке "
"(почиње од 0, овај индекс увећавају само приказани бафери, погледајте опцију "
"buflist.look.display_conditions)"
msgid "buflist bar items"
msgstr "ставке buflist траке"
@@ -9313,7 +9361,7 @@ msgid "%s%s: not connected to server \"%s\"!"
msgstr "%s%s: не постоји веза са сервером „%s”!"
#, c-format
msgid "%s: auto-reconnection is cancelled"
msgid "%s: auto-reconnection is canceled"
msgstr "%s: отказано је аутоматско поновно успостављање везе"
#, c-format
@@ -9474,6 +9522,12 @@ msgstr[0] "секунда"
msgstr[1] "секунде"
msgstr[2] "секунди"
msgid "millisecond"
msgid_plural "milliseconds"
msgstr[0] "милисекунда"
msgstr[1] "милисекунде"
msgstr[2] "милисекунди"
msgid "minute"
msgid_plural "minutes"
msgstr[0] "минут"
@@ -9613,10 +9667,10 @@ msgstr "извршавање команде на свим каналима св
#. TRANSLATORS: only text between angle brackets (eg: "<name>") may be translated
msgid ""
"[-current] [-parted|-all] [-exclude=<channel>[,<channel>...]] <command> || [-"
"current] [-parted|-all] -include=<channel>[,<channel>...] <command>"
"current] [-parted|-all] [-include=<channel>[,<channel>...]] <command>"
msgstr ""
"[-current] [-parted|-all] [-exclude=<канал>[,<канал>...]] <команда> || [-"
"current] [-parted|-all] -include=<канал>[,<канал>...] <команда>"
"current] [-parted|-all] [-include=<канал>[,<канал>...]] <команда>"
msgid "raw[-current]: execute command for channels of current server only"
msgstr "raw[-current]: команда се извршава само за канале текућег сервера"
@@ -9696,11 +9750,11 @@ msgstr "извршавање команде у свим приватним ба
#. TRANSLATORS: only text between angle brackets (eg: "<name>") may be translated
msgid ""
"[-current] [-exclude=<nick>[,<nick>...]] <command> || [-current] "
"-include=<nick>[,<nick>...] <command>"
"[-current] [-exclude=<nick>[,<nick>...]] <command> || [-current] [-"
"include=<nick>[,<nick>...]] <command>"
msgstr ""
"[-current] [-exclude=<надимак>[,<надимак>...]] <команда> || [-current] "
"-include=<надимак>[,<надимак>...] <команда>"
"[-current] [-exclude=<надимак>[,<надимак>...]] <команда> || [-current] [-"
"include=<надимак>[,<надимак>...]] <команда>"
msgid ""
"raw[-current]: execute command for private buffers of current server only"
@@ -9748,11 +9802,11 @@ msgstr "извршавање команде на свим повезаним с
#. TRANSLATORS: only text between angle brackets (eg: "<name>") may be translated
msgid ""
"[-exclude=<server>[,<server>...]] <command> || -include=<server>[,"
"<server>...] <command>"
"[-exclude=<server>[,<server>...]] <command> || [-include=<server>[,"
"<server>...]] <command>"
msgstr ""
"[-exclude=<сервер>[,<сервер>...]] <команда> || -include=<сервер>[,"
"<сервер>...] <команда>"
"[-exclude=<сервер>[,<сервер>...]] <команда> || [-include=<сервер>[,"
"<сервер>...]] <команда>"
msgid "raw[-exclude]: exclude some servers (wildcard \"*\" is allowed)"
msgstr ""
@@ -9899,7 +9953,7 @@ msgstr ""
"пример: „-multi-prefix”)"
msgid ""
"raw[ack]: acknowledge capabilities which require client-side acknowledgement"
"raw[ack]: acknowledge capabilities which require client-side acknowledgment"
msgstr ""
"raw[ack]: прихвата могућности које захтевају потврду са клијентске стране"
@@ -10266,7 +10320,7 @@ msgid ""
"[<percent>] || -go <line>|end || -join || -export <filename>"
msgstr ""
"[-server <сервер>] [<канал>[,<канал>...]] [<циљ>] || [-server <сервер>] [-"
"raw *|<рег_изр>] -up|-down [<број>] || -left|-right [<проценат>] || -go "
"raw *|<рег_изр>] || -up|-down [<број>] || -left|-right [<проценат>] || -go "
"<линија>|end || -join || -export <имефајла>"
msgid ""
@@ -10806,7 +10860,7 @@ msgstr ""
"„xxx”, користећи следеће променљиве: излаз функције irc_message_parse (као "
"nick, command, channel, text, итд., погледајте функцију info_get_hashtable у "
"референтном приручнику API додатака да видите комплетну листу променљивих), "
"date (формат: \"%FT%T.%f\", погледајте функцију util_strftimeval у "
"date (формат: \"%FT%T.%f\", погледајте функцију util_strftimeval у "
"референтном приручнику API додатака), server, recv, sent, modified, "
"redirected"
@@ -11852,17 +11906,19 @@ msgstr ""
msgid "left/right scroll in /list buffer (percent of width)"
msgstr "скроловање у лево/десно у /list баферу (проценат ширине)"
#, fuzzy
msgid ""
"comma-separated list of fields to sort channels (see /help list for a list "
"of fields); char \"-\" can be used before field to reverse order, char \"~\" "
"can be used to do a case-insensitive comparison; example: \"-users,~name\" "
"for biggest channels first then case-insensitive sort on name"
"can be used to do a case-insensitive comparison; example: \"-users,~name2\" "
"for biggest channels first then case-insensitive sort on channel name "
"without prefix"
msgstr ""
"листа поља за сортирање канала раздвојених запетама (погледајте /help list "
"за листу поља); карактер „-” може да се користи испред поља чиме се обрће "
"редослед, карактер „~” може да се употреби за поређење које не прави разлику "
"у величини слова; пример: „-users,~name” за поређење које не прави разлику у "
"величини слова и обрнуто сортирање по имену опције"
"у величини слова; пример: „-users,~name2” за поређење које не прави разлику "
"у величини слова и обрнуто сортирање по имену опције"
msgid "strip channel topic colors in /list buffer"
msgstr "уклањање боја теме канала у /list баферу"
@@ -15142,7 +15198,7 @@ msgid "%s%s: no connection to remote relay \"%s\""
msgstr "%s%s: не постоји веза са релејем удаљених „%s”"
#, c-format
msgid "remote[%s]: auto-reconnection is cancelled"
msgid "remote[%s]: auto-reconnection is canceled"
msgstr "удаљени[%s]: отказано је аутоматско поновно успостављање везе"
#, c-format
@@ -16748,7 +16804,7 @@ msgid ""
"enable|disable|toggle || listdict || setdict -|<dict>[,<dict>...] || deldict "
"|| addword [<dict>] <word>"
msgstr ""
"enable|disable|toggle || listdict || setdict <речн>[,<речн>...] || deldict "
"enable|disable|toggle || listdict || setdict -|<речн>[,<речн>...] || deldict "
"|| addword [<речн>] <реч>"
msgid "raw[enable]: enable spell checker"
@@ -17595,8 +17651,8 @@ msgid "%s%s: invalid regular expression in trigger: \"%s\""
msgstr "%s%s: неважећи регуларни израз у окидачу: „%s”"
#. TRANSLATORS: this text is displayed before the list of nicks typing in the bar item "typing", it must be as short as possible
msgid "Typing:"
msgstr "Куцање:"
msgid "Typing: "
msgstr "Куцање: "
msgid ""
"number of seconds after paused status has been set: if reached, the typing "
@@ -17641,6 +17697,11 @@ msgstr ""
"макс број карактера који се приказује у ставци траке \"typing\" (0 = садржај "
"се не одсеца)"
msgid ""
"text to display before the nicks in the bar item \"typing\"; if set, it is "
"used instead of the translated string \"Typing: \" which is used by default"
msgstr ""
msgid "Typing status of users"
msgstr "Статус куцања корисника"
@@ -17773,9 +17834,14 @@ msgstr "величина блока за слање пакета, у бајто
msgid "does not wait for ACK when sending file"
msgstr "не чека се на ACK када се шаље фајл"
#, fuzzy
#| msgid ""
#| "IP or DNS address used for sending and passively receiving files/chats "
#| "(if empty, local interface IP is used)"
msgid ""
"IP or DNS address used for sending and passively receiving files/chats (if "
"empty, local interface IP is used)"
"IP or DNS address used for sending and passively receiving files/chats; if "
"empty, local interface IP is used (note: content is evaluated, see /help "
"eval)"
msgstr ""
"IP или DNS адреса која се користи за слање и пасивно примање фајлова/"
"разговора (ако је празно, користи се IP локалног интерфејса)"
+343 -296
View File
File diff suppressed because it is too large Load Diff
+180 -107
View File
@@ -23,7 +23,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2026-03-16 13:17+0100\n"
"POT-Creation-Date: 2026-03-21 17:24+0100\n"
"PO-Revision-Date: 2014-08-16 10:27+0200\n"
"Last-Translator: Sébastien Helleu <flashcode@flashtux.org>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -32,6 +32,141 @@ msgstr ""
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
#. TRANSLATORS: command line option "-a", "--no-connect"
msgid "disable auto-connect to servers at startup"
msgstr ""
#. TRANSLATORS: command line option "-c", "--colors"
msgid "display default colors in terminal and exit"
msgstr ""
#. TRANSLATORS: only "<path>" may be translated
msgid "-d, --dir <path>"
msgstr ""
#. TRANSLATORS: command line option "-d", "--dir <path>"
msgid ""
"force a single WeeChat home directory or 5 different directories separated "
"by colons (in this order: config, data, state, cache, runtime) (environment "
"variable WEECHAT_HOME is read if this option is not given)"
msgstr ""
#. TRANSLATORS: command line option "-t", "--temp-dir"
msgid ""
"create a temporary WeeChat home directory and delete it on exit "
"(incompatible with option \"-d\")"
msgstr ""
#. TRANSLATORS: command line option "-h", "--help"
msgid "display this help and exit"
msgstr ""
#. TRANSLATORS: command line option "-i", "--build-info"
msgid "display build information and exit"
msgstr ""
#. TRANSLATORS: command line option "-l", "--license"
msgid "display WeeChat license and exit"
msgstr ""
#. TRANSLATORS: command line option "-p", "--no-plugin"
msgid "don't load any plugin at startup"
msgstr ""
#. TRANSLATORS: only "<plugins>" may be translated
msgid "-P, --plugins <plugins>"
msgstr ""
#. TRANSLATORS: command line option "-P", "--plugins <plugins>"
msgid "load only these plugins at startup (see /help weechat.plugin.autoload)"
msgstr ""
#. TRANSLATORS: only "<cmd>" may be translated (please keep it short)
msgid "-r, --run-command <cmd>"
msgstr ""
#. TRANSLATORS: command line option "-r", "--run-command <cmd>"
msgid ""
"run command(s) after startup; many commands can be separated by semicolons "
"and are evaluated, this option can be given multiple times"
msgstr ""
#. TRANSLATORS: command line option "-s", "--no-script"
msgid "don't load any script at startup"
msgstr ""
#. TRANSLATORS: command line option "--upgrade"
msgid "upgrade WeeChat using session files (see /help upgrade in WeeChat)"
msgstr ""
#. TRANSLATORS: command line option "-v", "--version"
msgid "display WeeChat version and exit"
msgstr ""
#. TRANSLATORS: command line option: "plugin" and "option" may be translated
msgid "plugin:option"
msgstr ""
#. TRANSLATORS: command line option "plugin:option"
msgid "option for plugin (see man weechat)"
msgstr ""
#. TRANSLATORS: only "<path>" may be translated
msgid "--doc-gen <path>"
msgstr ""
#. TRANSLATORS: command line option "--doc-gen <path>"
msgid "generate files to build documentation and exit"
msgstr ""
#. TRANSLATORS: command line option "--daemon"
msgid ""
"run WeeChat as a daemon (fork, new process group, file descriptors closed); "
"by default in headless mode WeeChat is blocking and does not run in "
"background"
msgstr ""
#. TRANSLATORS: command line option "--stdout"
msgid ""
"display log messages on standard output instead of writing them in log file "
"(option ignored if option \"--daemon\" is given)"
msgstr ""
#. TRANSLATORS: command line option "--no-dlclose"
msgid "do not call function dlclose after plugins are unloaded"
msgstr ""
#. TRANSLATORS: command line option "--no-gnutls"
msgid "disable init/deinit of gnutls"
msgstr ""
#. TRANSLATORS: command line option "--no-gcrypt"
msgid "disable init/deinit of gcrypt"
msgstr ""
#. TRANSLATORS: "%s %s" after "compiled on" is date and time
#, c-format
msgid ""
"WeeChat %s Copyright %s, compiled on %s %s\n"
"Developed by Sébastien Helleu <flashcode@flashtux.org> - %s"
msgstr ""
msgid "Usage:"
msgstr ""
msgid "[option...] [plugin:option...]"
msgstr ""
msgid "Extra options in headless mode:"
msgstr ""
msgid "Debug options (for tools like valgrind, DO NOT USE IN PRODUCTION):"
msgstr ""
#, c-format
msgid "Error: missing argument for \"%s\" option\n"
msgstr ""
msgid "List of bars:"
msgstr ""
@@ -136,7 +271,7 @@ msgid "%sUnable to scroll bar \"%s\""
msgstr ""
#, c-format
msgid "%sBuffer number \"%d\" is out of range (it must be between 1 and %d)"
msgid "%sBuffer number %d is out of range (it must be between 1 and %d)"
msgstr ""
msgid "Buffers list:"
@@ -465,7 +600,7 @@ msgid "%sArgument \"-yes\" is required for keys reset (security reason)"
msgstr ""
#, c-format
msgid "%d new key added"
msgid "%d new key added (context: \"%s\")"
msgid_plural "%d new keys added (context: \"%s\")"
msgstr[0] ""
msgstr[1] ""
@@ -1026,7 +1161,7 @@ msgstr ""
msgid ""
"option: option to change (for options list, look at /set weechat.bar."
"<barname>.*)"
"<bar_name>.*)"
msgstr ""
msgid "value: new value for option"
@@ -1464,7 +1599,7 @@ msgstr ""
#. TRANSLATORS: only text between angle brackets (eg: "<name>") may be translated
msgid ""
"[-n|-s] [-d] <expression> || [-n] [-d [-d]] -c <expression1> <operator> "
"[-n|-s] [-e] [-d] <expression> || [-n] [-d [-d]] -c <expression1> <operator> "
"<expression2>"
msgstr ""
@@ -1476,6 +1611,9 @@ msgid ""
"separated by semicolons)"
msgstr ""
msgid "raw[-e]: evaluate all commands before executing them"
msgstr ""
msgid ""
"raw[-d]: display debug output after evaluation (with two -d: more verbose "
"debug)"
@@ -1968,7 +2106,7 @@ msgid "display help about commands and options"
msgstr ""
#. TRANSLATORS: only text between angle brackets (eg: "<name>") may be translated
msgid "-list|-listfull [<plugin>...]] || <command> || <option>"
msgid "-list|-listfull [<plugin>...] || <command> || <option>"
msgstr ""
msgid ""
@@ -2019,9 +2157,9 @@ msgid "raw[clear]: clear hotlist"
msgstr ""
msgid ""
"level: \"lowest\" to clear only lowest level in hotlist, highest\" to clear "
"only highest level in hotlist, or level mask: integer which is a combination "
"of 1=join/part, 2=message, 4=private, 8=highlight"
"level: \"lowest\" to clear only lowest level in hotlist, \"highest\" to "
"clear only highest level in hotlist, or level mask: integer which is a "
"combination of 1=join/part, 2=message, 4=private, 8=highlight"
msgstr ""
msgid "raw[remove]: remove current buffer from hotlist"
@@ -2833,7 +2971,7 @@ msgstr ""
msgid ""
"option: option to change (for options list, look at /set weechat.proxy."
"<proxyname>.*)"
"<proxy_name>.*)"
msgstr ""
msgid " add a http proxy, running on local host, port 8888:"
@@ -3059,20 +3197,20 @@ msgstr ""
msgid " encrypt libera SASL password:"
msgstr ""
msgid " /secure set libera mypassword"
msgid " /secure set libera my_password"
msgstr ""
msgid " encrypt oftc password for nickserv:"
msgstr ""
msgid " /secure set oftc mypassword"
msgid " /secure set oftc my_password"
msgstr ""
msgid " alias to ghost the nick \"mynick\":"
msgid " alias to ghost the nick \"andrew\":"
msgstr ""
msgid ""
" /alias add ghost /eval /msg -server libera nickserv ghost mynick $"
" /alias add ghost /eval /msg -server libera nickserv ghost andrew $"
"{sec.data.libera}"
msgstr ""
@@ -3303,7 +3441,7 @@ msgstr ""
msgid "With option \"-quit\", the process is:"
msgstr ""
msgid " 1. close *ALL* connections (irc, xfer, relay, ...)"
msgid " 1. close *ALL* connections (irc, xfer, relay, etc.)"
msgstr ""
msgid " 2. save session into files (*.upgrade)"
@@ -5357,7 +5495,7 @@ msgstr ""
msgid "read - object type"
msgstr ""
msgid "read - bad object type ('object start' expected)"
msgid "read - bad object type (\"object start\" expected)"
msgstr ""
msgid "read - object id"
@@ -5468,83 +5606,6 @@ msgstr ""
msgid "End of URL transfer '%s', transfer stopped"
msgstr ""
#. TRANSLATORS: "%s %s" after "compiled on" is date and time
#, c-format
msgid ""
"WeeChat %s Copyright %s, compiled on %s %s\n"
"Developed by Sébastien Helleu <flashcode@flashtux.org> - %s"
msgstr ""
#, c-format
msgid "Usage: %s [option...] [plugin:option...]\n"
msgstr ""
msgid ""
" -a, --no-connect disable auto-connect to servers at startup\n"
" -c, --colors display default colors in terminal and exit\n"
" -d, --dir <path> force a single WeeChat home directory\n"
" or 5 different directories separated by colons "
"(in this order: config, data, state, cache, runtime)\n"
" (environment variable WEECHAT_HOME is read if "
"this option is not given)\n"
" -t, --temp-dir create a temporary WeeChat home directory and "
"delete it on exit\n"
" (incompatible with option \"-d\")\n"
" -h, --help display this help and exit\n"
" -i, --build-info display build information and exit\n"
" -l, --license display WeeChat license and exit\n"
" -p, --no-plugin don't load any plugin at startup\n"
" -P, --plugins <plugins> load only these plugins at startup\n"
" (see /help weechat.plugin.autoload)\n"
" -r, --run-command <cmd> run command(s) after startup;\n"
" many commands can be separated by semicolons and "
"are evaluated,\n"
" this option can be given multiple times\n"
" -s, --no-script don't load any script at startup\n"
" --upgrade upgrade WeeChat using session files (see /help "
"upgrade in WeeChat)\n"
" -v, --version display WeeChat version and exit\n"
" plugin:option option for plugin (see man weechat)\n"
msgstr ""
msgid "Extra options in headless mode:\n"
msgstr ""
msgid ""
" --doc-gen <path> generate files to build documentation and exit\n"
msgstr ""
msgid ""
" --daemon run WeeChat as a daemon (fork, new process group, "
"file descriptors closed);\n"
msgstr ""
msgid ""
" (by default in headless mode WeeChat is blocking "
"and does not run in background)\n"
msgstr ""
msgid ""
" --stdout display log messages on standard output instead "
"of writing them in log file\n"
msgstr ""
msgid ""
" (option ignored if option \"--daemon\" is given)\n"
msgstr ""
msgid ""
"Debug options (for tools like valgrind, DO NOT USE IN PRODUCTION):\n"
" --no-dlclose do not call function dlclose after plugins are "
"unloaded\n"
" --no-gnutls disable init/deinit of gnutls\n"
" --no-gcrypt disable init/deinit of gcrypt\n"
msgstr ""
#, c-format
msgid "Error: missing argument for \"%s\" option\n"
msgstr ""
msgid "WeeChat is running in headless mode (ctrl-c to quit)."
msgstr ""
@@ -6212,7 +6273,7 @@ msgstr ""
msgid ""
" - ${index_displayed}: index of line displayed in the bar item (starts at "
"0, only buffers displayed increment this index, see option "
"buflist.look.display_conditions"
"buflist.look.display_conditions)"
msgstr ""
msgid "buflist bar items"
@@ -7642,7 +7703,7 @@ msgid "%s%s: not connected to server \"%s\"!"
msgstr ""
#, c-format
msgid "%s: auto-reconnection is cancelled"
msgid "%s: auto-reconnection is canceled"
msgstr ""
#, c-format
@@ -7801,6 +7862,11 @@ msgid_plural "seconds"
msgstr[0] ""
msgstr[1] ""
msgid "millisecond"
msgid_plural "milliseconds"
msgstr[0] ""
msgstr[1] ""
msgid "minute"
msgid_plural "minutes"
msgstr[0] ""
@@ -7933,7 +7999,7 @@ msgstr ""
#. TRANSLATORS: only text between angle brackets (eg: "<name>") may be translated
msgid ""
"[-current] [-parted|-all] [-exclude=<channel>[,<channel>...]] <command> || [-"
"current] [-parted|-all] -include=<channel>[,<channel>...] <command>"
"current] [-parted|-all] [-include=<channel>[,<channel>...]] <command>"
msgstr ""
msgid "raw[-current]: execute command for channels of current server only"
@@ -8007,8 +8073,8 @@ msgstr ""
#. TRANSLATORS: only text between angle brackets (eg: "<name>") may be translated
msgid ""
"[-current] [-exclude=<nick>[,<nick>...]] <command> || [-current] "
"-include=<nick>[,<nick>...] <command>"
"[-current] [-exclude=<nick>[,<nick>...]] <command> || [-current] [-"
"include=<nick>[,<nick>...]] <command>"
msgstr ""
msgid ""
@@ -8054,8 +8120,8 @@ msgstr ""
#. TRANSLATORS: only text between angle brackets (eg: "<name>") may be translated
msgid ""
"[-exclude=<server>[,<server>...]] <command> || -include=<server>[,"
"<server>...] <command>"
"[-exclude=<server>[,<server>...]] <command> || [-include=<server>[,"
"<server>...]] <command>"
msgstr ""
msgid "raw[-exclude]: exclude some servers (wildcard \"*\" is allowed)"
@@ -8179,7 +8245,7 @@ msgid ""
msgstr ""
msgid ""
"raw[ack]: acknowledge capabilities which require client-side acknowledgement"
"raw[ack]: acknowledge capabilities which require client-side acknowledgment"
msgstr ""
msgid "raw[end]: end the capability negotiation"
@@ -9793,8 +9859,9 @@ msgstr ""
msgid ""
"comma-separated list of fields to sort channels (see /help list for a list "
"of fields); char \"-\" can be used before field to reverse order, char \"~\" "
"can be used to do a case-insensitive comparison; example: \"-users,~name\" "
"for biggest channels first then case-insensitive sort on name"
"can be used to do a case-insensitive comparison; example: \"-users,~name2\" "
"for biggest channels first then case-insensitive sort on channel name "
"without prefix"
msgstr ""
msgid "strip channel topic colors in /list buffer"
@@ -12716,7 +12783,7 @@ msgid "%s%s: no connection to remote relay \"%s\""
msgstr ""
#, c-format
msgid "remote[%s]: auto-reconnection is cancelled"
msgid "remote[%s]: auto-reconnection is canceled"
msgstr ""
#, c-format
@@ -14781,7 +14848,7 @@ msgid "%s%s: invalid regular expression in trigger: \"%s\""
msgstr ""
#. TRANSLATORS: this text is displayed before the list of nicks typing in the bar item "typing", it must be as short as possible
msgid "Typing:"
msgid "Typing: "
msgstr ""
msgid ""
@@ -14815,6 +14882,11 @@ msgid ""
"truncate content)"
msgstr ""
msgid ""
"text to display before the nicks in the bar item \"typing\"; if set, it is "
"used instead of the translated string \"Typing: \" which is used by default"
msgstr ""
msgid "Typing status of users"
msgstr ""
@@ -14942,8 +15014,9 @@ msgid "does not wait for ACK when sending file"
msgstr ""
msgid ""
"IP or DNS address used for sending and passively receiving files/chats (if "
"empty, local interface IP is used)"
"IP or DNS address used for sending and passively receiving files/chats; if "
"empty, local interface IP is used (note: content is evaluated, see /help "
"eval)"
msgstr ""
msgid ""
+15
View File
@@ -0,0 +1,15 @@
# SPDX-FileCopyrightText: 2025-2026 Sébastien Helleu <flashcode@flashtux.org>
#
# SPDX-License-Identifier: GPL-3.0-or-later
line-length = 120
[lint]
select = ["ALL"]
ignore = [
"D203", # incorrect-blank-line-before-class
"D213", # multi-line-summary-second-line
]
[lint.pylint]
max-args = 10
+1 -16
View File
@@ -23,6 +23,7 @@
set(LIB_CORE_SRC
weechat.c weechat.h
core-args.c core-args.h
core-arraylist.c core-arraylist.h
core-backtrace.c core-backtrace.h
core-calc.c core-calc.h
@@ -81,22 +82,6 @@ set(LIB_CORE_SRC
include(CheckSymbolExists)
check_symbol_exists(flock "sys/file.h" HAVE_FLOCK)
if(${CMAKE_SYSTEM_NAME} STREQUAL "FreeBSD")
find_library(EXECINFO_LIB_PATH execinfo /usr/local/lib)
set(CMAKE_REQUIRED_LIBRARIES "${EXECINFO_LIB_PATH}")
check_function_exists(backtrace HAVE_BACKTRACE)
else()
check_symbol_exists(backtrace "execinfo.h" HAVE_BACKTRACE)
endif()
if(ENABLE_ZSTD)
include_directories(${LIBZSTD_INCLUDE_DIRS})
endif()
if(ENABLE_CJSON)
include_directories(${LIBCJSON_INCLUDE_DIRS})
endif()
include_directories("${CMAKE_BINARY_DIR}")
add_library(weechat_core OBJECT ${LIB_CORE_SRC})
target_link_libraries(weechat_core coverage_config)
+414
View File
@@ -0,0 +1,414 @@
/*
* SPDX-FileCopyrightText: 2003-2026 Sébastien Helleu <flashcode@flashtux.org>
*
* SPDX-License-Identifier: GPL-3.0-or-later
*
* This file is part of WeeChat, the extensible chat client.
*
* WeeChat is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3 of the License, or
* (at your option) any later version.
*
* WeeChat is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
*/
/* Function for command-line arguments */
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <stdlib.h>
#include <string.h>
#include <getopt.h>
#include "weechat.h"
#include "core-debug.h"
#include "core-list.h"
#include "core-string.h"
#include "core-utf8.h"
#include "core-version.h"
#include "../gui/gui-color.h"
#include "../plugins/plugin.h"
/* some command line options */
#define OPTION_DOCGEN 1000
#define OPTION_NO_DLCLOSE 1001
#define OPTION_NO_GNUTLS 1002
#define OPTION_NO_GCRYPT 1003
char *weechat_args_common[][2] = {
{
"-a, --no-connect",
/* TRANSLATORS: command line option "-a", "--no-connect" */
N_("disable auto-connect to servers at startup"),
},
{
"-c, --colors",
/* TRANSLATORS: command line option "-c", "--colors" */
N_("display default colors in terminal and exit"),
},
{
/* TRANSLATORS: only "<path>" may be translated */
N_("-d, --dir <path>"),
/* TRANSLATORS: command line option "-d", "--dir <path>" */
N_("force a single WeeChat home directory or 5 different directories "
"separated by colons (in this order: config, data, state, cache, runtime) "
"(environment variable WEECHAT_HOME is read if this option is not given)"),
},
{
"-t, --temp-dir",
/* TRANSLATORS: command line option "-t", "--temp-dir" */
N_("create a temporary WeeChat home directory and delete it on exit "
"(incompatible with option \"-d\")"),
},
{
"-h, --help",
/* TRANSLATORS: command line option "-h", "--help" */
N_("display this help and exit"),
},
{
"-i, --build-info",
/* TRANSLATORS: command line option "-i", "--build-info" */
N_("display build information and exit"),
},
{
"-l, --license",
/* TRANSLATORS: command line option "-l", "--license" */
N_("display WeeChat license and exit"),
},
{
"-p, --no-plugin",
/* TRANSLATORS: command line option "-p", "--no-plugin" */
N_("don't load any plugin at startup"),
},
{
/* TRANSLATORS: only "<plugins>" may be translated */
N_("-P, --plugins <plugins>"),
/* TRANSLATORS: command line option "-P", "--plugins <plugins>" */
N_("load only these plugins at startup (see /help weechat.plugin.autoload)"),
},
{
/* TRANSLATORS: only "<cmd>" may be translated (please keep it short) */
N_("-r, --run-command <cmd>"),
/* TRANSLATORS: command line option "-r", "--run-command <cmd>" */
N_("run command(s) after startup; many commands can be separated "
"by semicolons and are evaluated, this option can be given multiple times"),
},
{
"-s, --no-script",
/* TRANSLATORS: command line option "-s", "--no-script" */
N_("don't load any script at startup"),
},
{
"--upgrade",
/* TRANSLATORS: command line option "--upgrade" */
N_("upgrade WeeChat using session files (see /help upgrade in WeeChat)"),
},
{
"-v, --version",
/* TRANSLATORS: command line option "-v", "--version" */
N_("display WeeChat version and exit"),
},
{
/* TRANSLATORS: command line option: "plugin" and "option" may be translated */
N_("plugin:option"),
/* TRANSLATORS: command line option "plugin:option" */
N_("option for plugin (see man weechat)"),
},
{ NULL, NULL },
};
char *weechat_args_headless[][2] = {
{
/* TRANSLATORS: only "<path>" may be translated */
N_("--doc-gen <path>"),
/* TRANSLATORS: command line option "--doc-gen <path>" */
N_("generate files to build documentation and exit"),
},
{
"--daemon",
/* TRANSLATORS: command line option "--daemon" */
N_("run WeeChat as a daemon (fork, new process group, file descriptors closed); "
"by default in headless mode WeeChat is blocking and does not run in background"),
},
{
"--stdout",
/* TRANSLATORS: command line option "--stdout" */
N_("display log messages on standard output instead of writing them in log file "
"(option ignored if option \"--daemon\" is given)"),
},
{ NULL, NULL },
};
char *weechat_args_debug[][2] = {
{
"--no-dlclose",
/* TRANSLATORS: command line option "--no-dlclose" */
N_("do not call function dlclose after plugins are unloaded"),
},
{
"--no-gnutls",
/* TRANSLATORS: command line option "--no-gnutls" */
N_("disable init/deinit of gnutls"),
},
{
"--no-gcrypt",
/* TRANSLATORS: command line option "--no-gcrypt" */
N_("disable init/deinit of gcrypt"),
},
{ NULL, NULL },
};
/*
* Display WeeChat copyright on standard output.
*/
void
args_display_copyright (void)
{
string_fprintf (stdout, "\n");
string_fprintf (
stdout,
/* TRANSLATORS: "%s %s" after "compiled on" is date and time */
_("WeeChat %s Copyright %s, compiled on %s %s\n"
"Developed by Sébastien Helleu <flashcode@flashtux.org> "
"- %s"),
version_get_version_with_git (),
WEECHAT_COPYRIGHT_DATE,
version_get_compilation_date (),
version_get_compilation_time (),
WEECHAT_WEBSITE);
string_fprintf (stdout, "\n");
}
void
args_display_list_args (char *args[][2])
{
int i, j, length, length_fill, max_length_screen;
const char *ptr_text;
max_length_screen = 0;
for (i = 0; args[i][0]; i++)
{
length = utf8_strlen_screen (_(args[i][0]));
if (length > max_length_screen)
max_length_screen = length;
}
for (i = 0; args[i][0]; i++)
{
ptr_text = _(args[i][0]);
length = utf8_strlen_screen (ptr_text);
length_fill = max_length_screen - length;
string_fprintf (stdout, " %s", ptr_text);
for (j = 0; j < length_fill; j++)
{
string_fprintf (stdout, " ");
}
string_fprintf (stdout, " %s\n", _(args[i][1]));
}
}
/*
* Display WeeChat help on standard output.
*/
void
args_display_help (void)
{
args_display_copyright ();
string_fprintf (stdout, "\n");
string_fprintf (stdout,
"%s %s %s\n\n",
_("Usage:"),
weechat_argv0,
_("[option...] [plugin:option...]"));
args_display_list_args (weechat_args_common);
string_fprintf (stdout, "\n");
/* extra options in headless mode */
if (weechat_headless)
{
string_fprintf (stdout, "%s\n",
_("Extra options in headless mode:"));
args_display_list_args (weechat_args_headless);
string_fprintf (stdout, "\n");
}
/* debug options */
string_fprintf (stdout, "%s\n",
_("Debug options (for tools like valgrind, "
"DO NOT USE IN PRODUCTION):"));
args_display_list_args (weechat_args_debug);
string_fprintf (stdout, "\n");
}
/*
* Parse command line arguments.
*
* Arguments argc and argv come from main() function.
*/
void
args_parse (int argc, char *argv[])
{
int opt;
struct option long_options[] = {
/* standard options */
{ "no-connect", no_argument, NULL, 'a' },
{ "colors", no_argument, NULL, 'c' },
{ "dir", required_argument, NULL, 'd' },
{ "temp-dir", no_argument, NULL, 't' },
{ "help", no_argument, NULL, 'h' },
{ "build-info", no_argument, NULL, 'i' },
{ "license", no_argument, NULL, 'l' },
{ "no-plugin", no_argument, NULL, 'p' },
{ "plugins", required_argument, NULL, 'P' },
{ "run-command", required_argument, NULL, 'r' },
{ "no-script", no_argument, NULL, 's' },
{ "upgrade", no_argument, NULL, 'u' },
{ "doc-gen", required_argument, NULL, OPTION_DOCGEN },
{ "version", no_argument, NULL, 'v' },
/* debug options */
{ "no-dlclose", no_argument, NULL, OPTION_NO_DLCLOSE },
{ "no-gnutls", no_argument, NULL, OPTION_NO_GNUTLS },
{ "no-gcrypt", no_argument, NULL, OPTION_NO_GCRYPT },
{ NULL, 0, NULL, 0 },
};
weechat_argv0 = (argv[0]) ? strdup (argv[0]) : NULL;
weechat_upgrading = 0;
weechat_home_force = NULL;
weechat_home_temp = 0;
weechat_home_delete_on_exit = 0;
weechat_server_cmd_line = 0;
weechat_force_plugin_autoload = NULL;
weechat_doc_gen = 0;
weechat_plugin_no_dlclose = 0;
optind = 0;
opterr = 0;
while ((opt = getopt_long (argc, argv,
":acd:thilpP:r:sv",
long_options, NULL)) != -1)
{
switch (opt)
{
case 'a': /* -a / --no-connect */
/* option ignored, it will be used by plugins/scripts */
break;
case 'c': /* -c / --colors */
gui_color_display_terminal_colors ();
weechat_shutdown (EXIT_SUCCESS, 0);
break;
case 'd': /* -d / --dir */
weechat_home_temp = 0;
free (weechat_home_force);
weechat_home_force = strdup (optarg);
break;
case 't': /* -t / --temp-dir */
weechat_home_temp = 1;
if (weechat_home_force)
{
free (weechat_home_force);
weechat_home_force = NULL;
}
break;
case 'h': /* -h / --help */
args_display_help ();
weechat_shutdown (EXIT_SUCCESS, 0);
break;
case 'i': /* -i / --build-info */
debug_build_info ();
weechat_shutdown (EXIT_SUCCESS, 0);
break;
case 'l': /* -l / --license */
args_display_copyright ();
string_fprintf (stdout, "\n");
string_fprintf (stdout, "%s%s", WEECHAT_LICENSE_TEXT);
weechat_shutdown (EXIT_SUCCESS, 0);
break;
case 'p': /* -p / --no-plugin */
free (weechat_force_plugin_autoload);
weechat_force_plugin_autoload = strdup ("!*");
break;
case 'P': /* -P / --plugins */
free (weechat_force_plugin_autoload);
weechat_force_plugin_autoload = strdup (optarg);
break;
case 'r': /* -r / --run-command */
if (!weechat_startup_commands)
weechat_startup_commands = weelist_new ();
weelist_add (weechat_startup_commands, optarg,
WEECHAT_LIST_POS_END, NULL);
break;
case 's': /* -s / --no-script */
/* option ignored, it will be used by the scripting plugins */
break;
case 'u': /* --upgrade */
weechat_upgrading = 1;
break;
case OPTION_DOCGEN: /* --doc-gen */
if (weechat_headless)
{
weechat_doc_gen = 1;
weechat_doc_gen_path = strdup (optarg);
}
break;
case 'v': /* -v / --version */
string_fprintf (stdout, version_get_version ());
fprintf (stdout, "\n");
weechat_shutdown (EXIT_SUCCESS, 0);
break;
case OPTION_NO_DLCLOSE: /* --no-dlclose */
/*
* Valgrind works better when dlclose() is not done after
* plugins are unloaded, it can display stack for plugins,*
* otherwise you'll see "???" in stack for functions of
* unloaded plugins.
* This option disables the call to dlclose(),
* it must NOT be used for other purposes!
*/
weechat_plugin_no_dlclose = 1;
break;
case OPTION_NO_GNUTLS: /* --no-gnutls */
/*
* Electric-fence is not working fine when gnutls loads
* certificates and Valgrind reports many memory errors with
* gnutls.
* This option disables the init/deinit of gnutls,
* it must NOT be used for other purposes!
*/
weechat_no_gnutls = 1;
break;
case OPTION_NO_GCRYPT: /* --no-gcrypt */
/*
* Valgrind reports many memory errors with gcrypt.
* This option disables the init/deinit of gcrypt,
* it must NOT be used for other purposes!
*/
weechat_no_gcrypt = 1;
break;
case ':':
string_fprintf (stderr,
_("Error: missing argument for \"%s\" option\n"),
argv[optind - 1]);
weechat_shutdown (EXIT_FAILURE, 0);
break;
case '?':
/* ignore any unknown option; plugins can use them */
break;
default:
/* ignore any other error */
break;
}
}
}
+28
View File
@@ -0,0 +1,28 @@
/*
* SPDX-FileCopyrightText: 2026 Sébastien Helleu <flashcode@flashtux.org>
*
* SPDX-License-Identifier: GPL-3.0-or-later
*
* This file is part of WeeChat, the extensible chat client.
*
* WeeChat is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3 of the License, or
* (at your option) any later version.
*
* WeeChat is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
*/
#ifndef WEECHAT_ARGS_H
#define WEECHAT_ARGS_H
extern void args_display_help (void);
extern void args_parse (int argc, char *argv[]);
#endif /* WEECHAT_ARGS_H */
+26 -27
View File
@@ -35,10 +35,9 @@
/*
* Compares two arraylist entries (default comparator).
* It just compares pointers.
* Compare two arraylist entries (default comparator: compare pointers only).
*
* Returns:
* Return:
* -1: pointer1 < pointer2
* 0: pointer1 == pointer2
* 1: pointer1 > pointer2
@@ -60,9 +59,9 @@ arraylist_cmp_default_cb (void *data, struct t_arraylist *arraylist,
}
/*
* Creates a new arraylist.
* Create a new arraylist.
*
* Returns pointer to arraylist, NULL if error.
* Return pointer to arraylist, NULL if error.
*/
struct t_arraylist *
@@ -114,7 +113,7 @@ arraylist_new (int initial_size,
}
/*
* Returns the size of an arraylist (number of elements).
* Return the size of an arraylist (number of elements).
*/
int
@@ -127,7 +126,7 @@ arraylist_size (struct t_arraylist *arraylist)
}
/*
* Returns the pointer to an arraylist element, by index.
* Return the pointer to an arraylist element, by index.
*/
void *
@@ -140,11 +139,11 @@ arraylist_get (struct t_arraylist *arraylist, int index)
}
/*
* Adjusts the allocated size of arraylist to add one element (if needed),
* Adjust the allocated size of arraylist to add one element (if needed),
* so that the list has enough allocated data to store (current_size + 1)
* elements.
*
* Returns:
* Return:
* 1: OK
* 0: error
*/
@@ -180,11 +179,11 @@ arraylist_grow (struct t_arraylist *arraylist)
}
/*
* Adjusts the allocated size of arraylist to remove one element (if needed),
* Adjust the allocated size of arraylist to remove one element (if needed),
* so that the list has enough allocated data to store (current size - 1)
* elements.
*
* Returns:
* Return:
* 1: OK
* 0: error
*/
@@ -230,7 +229,7 @@ arraylist_shrink (struct t_arraylist *arraylist)
}
/*
* Performs a binary search in the arraylist to find an element
* Perform a binary search in the arraylist to find an element
* (this function must be called only if the arraylist is sorted).
*
* If "index" is not NULL, it is set with the index of element found (or -1 if
@@ -239,7 +238,7 @@ arraylist_shrink (struct t_arraylist *arraylist)
* If "index_insert" is not NULL, it is set with the index that must be used to
* insert the element in the arraylist (to keep arraylist sorted).
*
* Returns pointer to element found, NULL if not found.
* Return pointer to element found, NULL if not found.
*/
void *
@@ -398,7 +397,7 @@ end:
}
/*
* Performs a standard search in the arraylist to find an element
* Perform a standard search in the arraylist to find an element
* (this function must be called only if the arraylist is NOT sorted).
*
* If "index" is not NULL, it is set with the index of element found (or -1 if
@@ -407,7 +406,7 @@ end:
* If "index_insert" is not NULL, it is set to -1 (elements are always added
* at the end of list when it is not sorted).
*
* Returns pointer to element found, NULL if not found.
* Return pointer to element found, NULL if not found.
*/
void *
@@ -442,7 +441,7 @@ end:
}
/*
* Searches an element in the arraylist.
* Search an element in the arraylist.
*
* If "index" is not NULL, it is set with the index of element found (or -1 if
* element was not found).
@@ -450,7 +449,7 @@ end:
* If "index_insert" is not NULL, it is set with the index that must be used to
* insert the element in the arraylist (to keep arraylist sorted).
*
* Returns pointer to element found, NULL if not found.
* Return pointer to element found, NULL if not found.
*/
void *
@@ -478,7 +477,7 @@ arraylist_search (struct t_arraylist *arraylist, void *pointer,
}
/*
* Inserts an element at a given index (and shifts next elements by one
* Insert an element at a given index (and shifts next elements by one
* position), or at automatic index if the arraylist is sorted.
*
* If the index is negative and that the arraylist is not sorted, the element
@@ -487,7 +486,7 @@ arraylist_search (struct t_arraylist *arraylist, void *pointer,
* If the arraylist is sorted, the argument "index" is ignored (the element
* will be inserted at appropriate position, to keep arraylist sorted).
*
* Returns the index of the new element (>= 0) or -1 if error.
* Return the index of the new element (>= 0) or -1 if error.
*/
int
@@ -559,10 +558,10 @@ arraylist_insert (struct t_arraylist *arraylist, int index, void *pointer)
}
/*
* Adds an element at the end of arraylist (or in the middle if the arraylist
* Add an element at the end of arraylist (or in the middle if the arraylist
* is sorted).
*
* Returns the index of the new element (>= 0) or -1 if error.
* Return the index of the new element (>= 0) or -1 if error.
*/
int
@@ -575,9 +574,9 @@ arraylist_add (struct t_arraylist *arraylist, void *pointer)
}
/*
* Removes one element from the arraylist.
* Remove one element from the arraylist.
*
* Returns the index removed or -1 if error.
* Return the index removed or -1 if error.
*/
int
@@ -614,9 +613,9 @@ arraylist_remove (struct t_arraylist *arraylist, int index)
}
/*
* Removes all elements in the arraylist.
* Remove all elements in the arraylist.
*
* Returns:
* Return:
* 1: OK
* 0: error
*/
@@ -669,7 +668,7 @@ arraylist_clear (struct t_arraylist *arraylist)
}
/*
* Frees an arraylist.
* Free an arraylist.
*/
void
@@ -694,7 +693,7 @@ arraylist_free (struct t_arraylist *arraylist)
}
/*
* Prints an arraylist in WeeChat log file (usually for crash dump).
* Print an arraylist in WeeChat log file (usually for crash dump).
*/
void
+3 -3
View File
@@ -49,7 +49,7 @@
/*
* Displays a backtrace line on standard error output and in WeeChat log.
* Display a backtrace line on standard error output and in WeeChat log.
*/
void
@@ -65,7 +65,7 @@ weechat_backtrace_printf (const char *message, ...)
}
/*
* Displays function name and line with a backtrace address.
* Display function name and line with a backtrace address.
*/
void
@@ -147,7 +147,7 @@ weechat_backtrace_addr2line (int number, void *address, const char *symbol)
}
/*
* Displays backtrace (function called when a SIGSEGV is received).
* Display backtrace (function called when a SIGSEGV is received).
*/
void
+8 -8
View File
@@ -60,7 +60,7 @@ calc_list_free_cb (void *data, struct t_arraylist *arraylist, void *pointer)
}
/*
* Returns the precedence of an operator:
* Return the precedence of an operator:
* - '*' and '/': 2
* - '+' and '-': 1
* - any other: 0
@@ -91,7 +91,7 @@ calc_operator_precedence (const char *oper)
}
/*
* Pops an integer value from the stack of values.
* Pop an integer value from the stack of values.
*/
double
@@ -117,7 +117,7 @@ calc_pop_value (struct t_arraylist *list_values)
}
/*
* Calculates result of an operation using an operator and two values.
* Calculate result of an operation using an operator and two values.
*/
double
@@ -151,7 +151,7 @@ calc_operation (const char *oper, double value1, double value2)
}
/*
* Calculates result of an operation using the operator on the operators stack
* Calculate result of an operation using the operator on the operators stack
* and the two values on the values stack.
*
* The result is pushed on values stack.
@@ -187,7 +187,7 @@ calc_operation_stacks (struct t_arraylist *list_values,
}
/*
* Sanitizes a decimal number: removes any thousands separator and replaces
* Sanitize a decimal number: remove any thousands separator and replace
* the decimal separator by a dot.
*
* The string is updated in-place, the result has always a length shorter or
@@ -203,7 +203,7 @@ calc_operation_stacks (struct t_arraylist *list_values,
* 1,234,567.89 --> 1234567.89
* -2.345,67 --> -2345.67
*
* Returns:
* Return:
* 1: the number has decimal part
* 0: the number has no decimal part
*/
@@ -279,7 +279,7 @@ calc_sanitize_decimal_number (char *string)
}
/*
* Formats the result as a decimal number (locale independent): remove any
* Format the result as a decimal number (locale independent): remove any
* extra "0" at the and the decimal point if needed.
*/
@@ -314,7 +314,7 @@ calc_format_result (double value, char *result, int max_size)
}
/*
* Calculates an expression, which can contain:
* Calculate an expression, which can contain:
* - integer and decimal numbers (ie 2 or 2.5)
* - operators:
* +: addition
+242 -190
View File
@@ -101,7 +101,7 @@ void command_set_display_option (struct t_config_option *option,
/*
* Callback for command "/allbuf": executes a command on all buffers.
* Callback for command "/allbuf": execute a command on all buffers.
*/
COMMAND_CALLBACK(allbuf)
@@ -158,7 +158,7 @@ COMMAND_CALLBACK(allbuf)
COMMAND_EMPTY(away)
/*
* Displays a list of bars.
* Display a list of bars.
*/
void
@@ -234,7 +234,7 @@ command_bar_list (int full)
}
/*
* Callback for command "/bar": manages bars.
* Callback for command "/bar": manage bars.
*/
COMMAND_CALLBACK(bar)
@@ -599,11 +599,11 @@ COMMAND_CALLBACK(bar)
}
/*
* Checks if the buffer number is valid (in range 1 to GUI_BUFFER_NUMBER_MAX).
* Check if the buffer number is valid (in range 1 to GUI_BUFFER_NUMBER_MAX).
*
* If the number is not valid, a warning is displayed.
*
* Returns:
* Return:
* 1: buffer number is valid
* 0: buffer number is invalid
*/
@@ -615,7 +615,7 @@ command_buffer_check_number (long number)
{
/* invalid number */
gui_chat_printf (NULL,
_("%sBuffer number \"%d\" is out of range "
_("%sBuffer number %d is out of range "
"(it must be between 1 and %d)"),
gui_chat_prefix[GUI_CHAT_PREFIX_ERROR],
number,
@@ -628,7 +628,7 @@ command_buffer_check_number (long number)
}
/*
* Displays a local variable for a buffer.
* Display a local variable for a buffer.
*/
void
@@ -659,7 +659,7 @@ command_buffer_display_localvar (void *data,
}
/*
* Callback for command "/buffer": manages buffers.
* Callback for command "/buffer": manage buffers.
*/
COMMAND_CALLBACK(buffer)
@@ -1646,7 +1646,7 @@ COMMAND_CALLBACK(buffer)
}
/*
* Callback for command "/color": defines custom colors and displays palette of
* Callback for command "/color": define custom colors and displays palette of
* colors.
*/
@@ -1845,7 +1845,7 @@ COMMAND_CALLBACK(color)
}
/*
* Callback for command "/command": launches explicit WeeChat or plugin command.
* Callback for command "/command": launch explicit WeeChat or plugin command.
*/
COMMAND_CALLBACK(command)
@@ -2036,7 +2036,7 @@ COMMAND_CALLBACK(cursor)
}
/*
* Callback for command "/debug": controls debug for core/plugins.
* Callback for command "/debug": control debug for core/plugins.
*/
COMMAND_CALLBACK(debug)
@@ -2313,7 +2313,7 @@ COMMAND_CALLBACK(debug)
}
/*
* Prints eval debug output.
* Print eval debug output.
*/
void
@@ -2342,16 +2342,17 @@ command_eval_print_debug (const char *debug)
}
/*
* Callback for command "/eval": evaluates an expression and sends result to
* buffer.
* Callback for command "/eval": evaluate an expression and send result to buffer.
*/
COMMAND_CALLBACK(eval)
{
int i, rc, print_only, split_command, condition, debug, error;
int i, rc, print_only, split_command, eval_first, condition, debug, error;
char *result, *ptr_args, **commands, **ptr_command, str_debug[32];
const char *debug_output;
struct t_hashtable *pointers, *options;
struct t_weelist *list_commands;
struct t_weelist_item *ptr_item;
/* make C compiler happy */
(void) pointer;
@@ -2361,6 +2362,7 @@ COMMAND_CALLBACK(eval)
rc = WEECHAT_RC_OK;
print_only = 0;
split_command = 0;
eval_first = 0;
condition = 0;
debug = 0;
error = 0;
@@ -2380,6 +2382,11 @@ COMMAND_CALLBACK(eval)
split_command = 1;
ptr_args = argv_eol[i + 1];
}
else if (string_strcmp (argv[i], "-e") == 0)
{
eval_first = 1;
ptr_args = argv_eol[i + 1];
}
else if (string_strcmp (argv[i], "-c") == 0)
{
condition = 1;
@@ -2397,97 +2404,89 @@ COMMAND_CALLBACK(eval)
}
}
if (ptr_args)
if (!ptr_args)
return rc;
pointers = hashtable_new (32,
WEECHAT_HASHTABLE_STRING,
WEECHAT_HASHTABLE_POINTER,
NULL,
NULL);
if (pointers)
{
pointers = hashtable_new (32,
WEECHAT_HASHTABLE_STRING,
WEECHAT_HASHTABLE_POINTER,
NULL,
NULL);
if (pointers)
{
hashtable_set (pointers, "window",
gui_window_search_with_buffer (buffer));
hashtable_set (pointers, "buffer", buffer);
}
hashtable_set (pointers, "window",
gui_window_search_with_buffer (buffer));
hashtable_set (pointers, "buffer", buffer);
}
options = NULL;
if (condition || debug)
options = NULL;
if (condition || debug)
{
options = hashtable_new (32,
WEECHAT_HASHTABLE_STRING,
WEECHAT_HASHTABLE_STRING,
NULL,
NULL);
if (options)
{
options = hashtable_new (32,
WEECHAT_HASHTABLE_STRING,
WEECHAT_HASHTABLE_STRING,
NULL,
NULL);
if (options)
if (condition)
hashtable_set (options, "type", "condition");
if (debug > 0)
{
if (condition)
hashtable_set (options, "type", "condition");
if (debug > 0)
{
snprintf (str_debug, sizeof (str_debug), "%d", debug);
hashtable_set (options, "debug", str_debug);
}
snprintf (str_debug, sizeof (str_debug), "%d", debug);
hashtable_set (options, "debug", str_debug);
}
}
}
if (print_only)
if (print_only)
{
result = eval_expression (ptr_args, pointers, NULL, options);
gui_chat_printf_date_tags (NULL, 0, "no_log", "\t>> %s", ptr_args);
if (result)
{
result = eval_expression (ptr_args, pointers, NULL, options);
gui_chat_printf_date_tags (NULL, 0, "no_log", "\t>> %s", ptr_args);
if (result)
{
gui_chat_printf_date_tags (NULL, 0, "no_log", "\t== %s[%s%s%s]",
GUI_COLOR(GUI_COLOR_CHAT_DELIMITERS),
GUI_COLOR(GUI_COLOR_CHAT),
result,
GUI_COLOR(GUI_COLOR_CHAT_DELIMITERS));
free (result);
}
else
{
gui_chat_printf_date_tags (NULL, 0, "no_log", "\t== %s<%s%s%s>",
GUI_COLOR(GUI_COLOR_CHAT_DELIMITERS),
GUI_COLOR(GUI_COLOR_CHAT),
_("error"),
GUI_COLOR(GUI_COLOR_CHAT_DELIMITERS));
}
if (options && debug)
{
debug_output = hashtable_get (options,
"debug_output");
if (debug_output)
command_eval_print_debug (debug_output);
}
gui_chat_printf_date_tags (NULL, 0, "no_log", "\t== %s[%s%s%s]",
GUI_COLOR(GUI_COLOR_CHAT_DELIMITERS),
GUI_COLOR(GUI_COLOR_CHAT),
result,
GUI_COLOR(GUI_COLOR_CHAT_DELIMITERS));
free (result);
}
else
{
if (split_command)
gui_chat_printf_date_tags (NULL, 0, "no_log", "\t== %s<%s%s%s>",
GUI_COLOR(GUI_COLOR_CHAT_DELIMITERS),
GUI_COLOR(GUI_COLOR_CHAT),
_("error"),
GUI_COLOR(GUI_COLOR_CHAT_DELIMITERS));
}
if (options && debug)
{
debug_output = hashtable_get (options,
"debug_output");
if (debug_output)
command_eval_print_debug (debug_output);
}
return rc;
}
if (split_command)
{
commands = string_split_command (ptr_args, ';');
if (commands)
{
if (eval_first)
{
commands = string_split_command (ptr_args, ';');
if (commands)
list_commands = weelist_new ();
if (list_commands)
{
/* first build a list of all evaluated commands */
for (ptr_command = commands; *ptr_command; ptr_command++)
{
if (!gui_buffer_valid (buffer))
{
buffer = gui_current_window->buffer;
if (pointers)
{
hashtable_set (pointers, "window",
gui_window_search_with_buffer (buffer));
hashtable_set (pointers, "buffer", buffer);
}
}
result = eval_expression (*ptr_command, pointers, NULL,
options);
result = eval_expression (*ptr_command, pointers, NULL, options);
if (result)
{
(void) input_data (buffer,
result,
NULL,
0, /* split_newline */
0); /* user_data */
weelist_add (list_commands, result, WEECHAT_LIST_POS_END, NULL);
free (result);
}
else
@@ -2502,52 +2501,103 @@ COMMAND_CALLBACK(eval)
command_eval_print_debug (debug_output);
}
}
string_free_split_command (commands);
/* execute evaluated commands */
for (ptr_item = list_commands->items; ptr_item;
ptr_item = ptr_item->next_item)
{
if (!gui_buffer_valid (buffer))
buffer = gui_current_window->buffer;
(void) input_data (buffer,
ptr_item->data,
NULL,
0, /* split_newline */
0); /* user_data */
}
weelist_free (list_commands);
}
}
else
{
result = eval_expression (ptr_args, pointers, NULL, options);
if (result)
for (ptr_command = commands; *ptr_command; ptr_command++)
{
(void) input_data (buffer,
result,
NULL,
0, /* split_newline */
0); /* user_data */
free (result);
}
else
{
error = 1;
}
if (options && debug)
{
debug_output = hashtable_get (options,
"debug_output");
if (debug_output)
command_eval_print_debug (debug_output);
if (!gui_buffer_valid (buffer))
{
buffer = gui_current_window->buffer;
if (pointers)
{
hashtable_set (pointers, "window",
gui_window_search_with_buffer (buffer));
hashtable_set (pointers, "buffer", buffer);
}
}
result = eval_expression (*ptr_command, pointers, NULL,
options);
if (result)
{
(void) input_data (buffer,
result,
NULL,
0, /* split_newline */
0); /* user_data */
free (result);
}
else
{
error = 1;
}
if (options && debug)
{
debug_output = hashtable_get (options,
"debug_output");
if (debug_output)
command_eval_print_debug (debug_output);
}
}
}
string_free_split_command (commands);
}
if (error)
{
gui_chat_printf (NULL,
_("%sError in expression to evaluate"),
gui_chat_prefix[GUI_CHAT_PREFIX_ERROR]);
rc = WEECHAT_RC_ERROR;
}
hashtable_free (pointers);
hashtable_free (options);
}
else
{
result = eval_expression (ptr_args, pointers, NULL, options);
if (result)
{
(void) input_data (buffer,
result,
NULL,
0, /* split_newline */
0); /* user_data */
free (result);
}
else
{
error = 1;
}
if (options && debug)
{
debug_output = hashtable_get (options,
"debug_output");
if (debug_output)
command_eval_print_debug (debug_output);
}
}
if (error)
{
gui_chat_printf (NULL,
_("%sError in expression to evaluate"),
gui_chat_prefix[GUI_CHAT_PREFIX_ERROR]);
rc = WEECHAT_RC_ERROR;
}
hashtable_free (pointers);
hashtable_free (options);
return rc;
}
/*
* Displays one filter.
* Display one filter.
*/
void
@@ -2570,7 +2620,7 @@ command_filter_display (struct t_gui_filter *filter)
}
/*
* Callback for command "/filter": manages message filters.
* Callback for command "/filter": manage message filters.
*/
COMMAND_CALLBACK(filter)
@@ -2917,7 +2967,7 @@ COMMAND_CALLBACK(filter)
}
/*
* Displays help for commands of a plugin (or core commands if plugin is NULL).
* Display help for commands of a plugin (or core commands if plugin is NULL).
*/
void
@@ -3062,7 +3112,7 @@ command_help_list_plugin_commands (struct t_weechat_plugin *plugin,
}
/*
* Displays help for commands.
* Display help for commands.
*/
void
@@ -3082,7 +3132,7 @@ command_help_list_commands (int verbose)
}
/*
* Returns translated help text for values of a color option.
* Return translated help text for values of a color option.
*/
const char *
@@ -3103,7 +3153,7 @@ command_help_option_color_values (void)
"\"_\" for underline");
}
/*
* Callback for command "/help": displays help about commands and options.
* Callback for command "/help": display help about commands and options.
*/
COMMAND_CALLBACK(help)
@@ -3474,7 +3524,7 @@ COMMAND_CALLBACK(help)
}
/*
* Callback for command "/history": displays command history for current buffer.
* Callback for command "/history": display command history for current buffer.
*/
COMMAND_CALLBACK(history)
@@ -3536,7 +3586,7 @@ COMMAND_CALLBACK(history)
}
/*
* Callback for command "/hotlist": manages hotlist.
* Callback for command "/hotlist": manage hotlist.
*/
COMMAND_CALLBACK(hotlist)
@@ -3789,7 +3839,7 @@ COMMAND_CALLBACK(input)
}
/*
* Callback for command "/item": manages custom bar items
* Callback for command "/item": manage custom bar items
*/
COMMAND_CALLBACK(item)
@@ -3990,7 +4040,7 @@ COMMAND_CALLBACK(item)
}
/*
* Displays a key binding.
* Display a key binding.
*/
void
@@ -4020,7 +4070,7 @@ command_key_display (struct t_gui_key *key, struct t_gui_key *default_key)
}
/*
* Displays a list of keys.
* Display a list of keys.
*/
void
@@ -4050,7 +4100,7 @@ command_key_display_list (const char *message_no_key,
}
/*
* Displays differences between default and current keys (keys added, redefined
* Display differences between default and current keys (keys added, redefined
* or removed).
*/
@@ -4133,7 +4183,7 @@ command_key_display_listdiff (int context)
}
/*
* Resets a key in the given context.
* Reset a key in the given context.
*/
int
@@ -4199,7 +4249,7 @@ command_key_reset (int context, const char *key)
}
/*
* Callback for command "/key": binds/unbinds keys.
* Callback for command "/key": bind/unbind keys.
*/
COMMAND_CALLBACK(key)
@@ -4484,8 +4534,9 @@ COMMAND_CALLBACK(key)
keys_added = (gui_keys_count[context] > old_keys_count) ?
gui_keys_count[context] - old_keys_count : 0;
gui_chat_printf (NULL,
NG_("%d new key added", "%d new keys added "
"(context: \"%s\")", keys_added),
NG_("%d new key added (context: \"%s\")",
"%d new keys added (context: \"%s\")",
keys_added),
keys_added,
gui_key_context_string[context]);
}
@@ -4519,7 +4570,7 @@ COMMAND_CALLBACK(key)
}
/*
* Displays a tree of windows.
* Display a tree of windows.
*/
void
@@ -4563,7 +4614,7 @@ command_layout_display_tree (struct t_gui_layout_window *layout_window,
}
/*
* Gets arguments for /layout command (if option is store/apply/del).
* Get arguments for /layout command (if option is store/apply/del).
*/
void
@@ -4600,7 +4651,7 @@ command_layout_get_arguments (int argc, char **argv,
}
/*
* Callback for command "/layout": manages layouts.
* Callback for command "/layout": manage layouts.
*/
COMMAND_CALLBACK(layout)
@@ -4833,7 +4884,7 @@ command_mouse_timer (const char *delay)
}
/*
* Callback for command "/mouse": controls mouse.
* Callback for command "/mouse": control mouse.
*/
COMMAND_CALLBACK(mouse)
@@ -4892,7 +4943,7 @@ COMMAND_CALLBACK(mouse)
}
/*
* Callback for command "/mute": silently executes a command.
* Callback for command "/mute": silently execute a command.
*/
COMMAND_CALLBACK(mute)
@@ -4980,9 +5031,9 @@ COMMAND_CALLBACK(mute)
}
/*
* Opens a file in write mode to redirect messages.
* Open a file in write mode to redirect messages.
*
* Returns a pointer to the file, NULL if error.
* Return a pointer to the file, NULL if error.
*/
FILE *
@@ -5234,7 +5285,7 @@ COMMAND_CALLBACK(pipe)
}
/*
* Displays a list of loaded plugins.
* Display a list of loaded plugins.
*/
void
@@ -5303,9 +5354,9 @@ command_plugin_list (const char *name, int full)
}
/*
* Lists loaded plugins in input.
* List loaded plugins in input.
*
* Sends input to buffer if send_to_buffer == 1.
* Send input to buffer if send_to_buffer == 1.
* String is translated if translated == 1 (otherwise it's English).
*/
@@ -5383,7 +5434,7 @@ command_plugin_list_input (struct t_gui_buffer *buffer,
}
/*
* Callback for command "/plugin": lists/loads/unloads WeeChat plugins.
* Callback for command "/plugin": list/load/unload WeeChat plugins.
*/
COMMAND_CALLBACK(plugin)
@@ -5766,7 +5817,7 @@ COMMAND_CALLBACK(print)
}
/*
* Displays a list of proxies.
* Display a list of proxies.
*/
void
@@ -5820,7 +5871,7 @@ command_proxy_list (void)
}
/*
* Callback for command "/proxy": manages proxies.
* Callback for command "/proxy": manage proxies.
*/
COMMAND_CALLBACK(proxy)
@@ -5959,7 +6010,7 @@ COMMAND_CALLBACK(proxy)
}
/*
* Callback for command "/quit": quits WeeChat.
* Callback for command "/quit": quit WeeChat.
*/
COMMAND_CALLBACK(quit)
@@ -6014,7 +6065,7 @@ COMMAND_CALLBACK(quit)
}
/*
* Reloads a configuration file.
* Reload a configuration file.
*/
void
@@ -6046,7 +6097,7 @@ command_reload_file (struct t_config_file *config_file)
}
/*
* Callback for command "/reload": reloads a configuration file.
* Callback for command "/reload": reload a configuration file.
*/
COMMAND_CALLBACK(reload)
@@ -6097,7 +6148,7 @@ COMMAND_CALLBACK(reload)
}
/*
* Executes a repeated command.
* Execute a repeated command.
*/
void
@@ -6198,7 +6249,7 @@ command_repeat_timer_cb (const void *pointer, void *data, int remaining_calls)
}
/*
* Callback for command "/repeat": executes a command several times.
* Callback for command "/repeat": execute a command several times.
*/
COMMAND_CALLBACK(repeat)
@@ -6280,7 +6331,7 @@ COMMAND_CALLBACK(repeat)
}
/*
* Resets one option.
* Reset one option.
*/
void
@@ -6307,7 +6358,7 @@ command_reset_option (struct t_config_option *option,
}
/*
* Callback for command "/reset": resets configuration options.
* Callback for command "/reset": reset configuration options.
*/
COMMAND_CALLBACK(reset)
@@ -6390,7 +6441,7 @@ COMMAND_CALLBACK(reset)
}
/*
* Saves a configuration file to disk.
* Save a configuration file to disk.
*/
void
@@ -6412,7 +6463,7 @@ command_save_file (struct t_config_file *config_file)
}
/*
* Callback for command "/save": saves configuration files to disk.
* Callback for command "/save": save configuration files to disk.
*/
COMMAND_CALLBACK(save)
@@ -6651,7 +6702,7 @@ COMMAND_CALLBACK(secure)
}
/*
* Displays a configuration section.
* Display a configuration section.
*/
void
@@ -6670,7 +6721,7 @@ command_set_display_section (struct t_config_file *config_file,
}
/*
* Displays a configuration option.
* Display a configuration option.
*/
void
@@ -6756,9 +6807,9 @@ command_set_display_option (struct t_config_option *option,
}
/*
* Displays a list of options.
* Display a list of options.
*
* Returns the number of options displayed.
* Return the number of options displayed.
*/
int
@@ -6827,12 +6878,12 @@ command_set_display_option_list (const char *message, const char *search,
}
/*
* Displays multiple lists of options.
* Display multiple lists of options.
*
* If display_only_changed == 1, then it will display only options with value
* changed (different from default value).
* If display_only_changed == 1, then display only options with value changed
* (different from default value).
*
* Returns the total number of options displayed.
* Return the total number of options displayed.
*/
int
@@ -6916,7 +6967,7 @@ command_set_display_option_lists (char **argv, int arg_start, int arg_end,
}
/*
* Callback for command "/set": displays or sets configuration options.
* Callback for command "/set": display or set configuration options.
*/
COMMAND_CALLBACK(set)
@@ -7186,7 +7237,7 @@ COMMAND_CALLBACK(sys)
}
/*
* Callback for command "/toggle": toggles value of configuration option.
* Callback for command "/toggle": toggle value of configuration option.
*/
COMMAND_CALLBACK(toggle)
@@ -7268,7 +7319,7 @@ COMMAND_CALLBACK(toggle)
}
/*
* Unsets/resets one option.
* Unset/reset one option.
*/
void
@@ -7301,7 +7352,7 @@ command_unset_option (struct t_config_option *option,
}
/*
* Callback for command "/unset": unsets/resets configuration options.
* Callback for command "/unset": unset/reset configuration options.
*/
COMMAND_CALLBACK(unset)
@@ -7392,7 +7443,7 @@ COMMAND_CALLBACK(unset)
}
/*
* Displays the number of upgrades done and the date of first/last start.
* Display the number of upgrades done and the date of first/last start.
*/
void
@@ -7474,7 +7525,7 @@ command_upgrade_display (struct t_gui_buffer *buffer,
}
/*
* Callback for command "/upgrade": upgrades WeeChat.
* Callback for command "/upgrade": upgrade WeeChat.
*/
COMMAND_CALLBACK(upgrade)
@@ -7725,7 +7776,7 @@ COMMAND_CALLBACK(upgrade)
}
/*
* Callback for command "/uptime": displays WeeChat uptime.
* Callback for command "/uptime": display WeeChat uptime.
*/
COMMAND_CALLBACK(uptime)
@@ -7806,7 +7857,7 @@ COMMAND_CALLBACK(uptime)
}
/*
* Displays WeeChat version.
* Display WeeChat version.
*/
void
@@ -7850,7 +7901,7 @@ command_version_display (struct t_gui_buffer *buffer,
}
/*
* Callback for command "/version": displays WeeChat version.
* Callback for command "/version": display WeeChat version.
*/
COMMAND_CALLBACK(version)
@@ -7895,7 +7946,7 @@ COMMAND_CALLBACK(version)
}
/*
* Callback for command "/wait": schedules a command execution in future.
* Callback for command "/wait": schedule a command execution in future.
*/
COMMAND_CALLBACK(wait)
@@ -7922,7 +7973,7 @@ COMMAND_CALLBACK(wait)
}
/*
* Callback for command "/window": manages windows.
* Callback for command "/window": manage windows.
*/
COMMAND_CALLBACK(window)
@@ -8331,7 +8382,7 @@ COMMAND_CALLBACK(window)
}
/*
* Hooks WeeChat core commands.
* Hook WeeChat core commands.
*/
void
@@ -8405,7 +8456,7 @@ command_init (void)
N_("mask: name where wildcard \"*\" is allowed"),
N_("raw[set]: set a value for a bar property"),
N_("option: option to change (for options list, look at /set "
"weechat.bar.<barname>.*)"),
"weechat.bar.<bar_name>.*)"),
N_("value: new value for option"),
N_("raw[hide]: hide a bar"),
N_("raw[show]: show an hidden bar"),
@@ -8755,12 +8806,13 @@ command_init (void)
NULL, "eval",
N_("evaluate expression"),
/* TRANSLATORS: only text between angle brackets (eg: "<name>") may be translated */
N_("[-n|-s] [-d] <expression>"
N_("[-n|-s] [-e] [-d] <expression>"
" || [-n] [-d [-d]] -c <expression1> <operator> <expression2>"),
CMD_ARGS_DESC(
N_("raw[-n]: display result without sending it to buffer (debug mode)"),
N_("raw[-s]: split expression before evaluating it "
"(many commands can be separated by semicolons)"),
N_("raw[-e]: evaluate all commands before executing them"),
N_("raw[-d]: display debug output after evaluation "
"(with two -d: more verbose debug)"),
N_("raw[-c]: evaluate as condition: use operators and parentheses, "
@@ -9031,7 +9083,7 @@ command_init (void)
NULL, "help",
N_("display help about commands and options"),
/* TRANSLATORS: only text between angle brackets (eg: "<name>") may be translated */
N_("-list|-listfull [<plugin>...]] || <command> || <option>"),
N_("-list|-listfull [<plugin>...] || <command> || <option>"),
CMD_ARGS_DESC(
N_("raw[-list]: list commands, by plugin (without argument, this list is "
"displayed)"),
@@ -9067,7 +9119,7 @@ command_init (void)
"are NOT checked)"),
N_("raw[clear]: clear hotlist"),
N_("level: \"lowest\" to clear only lowest level in hotlist, "
"highest\" to clear only highest level in hotlist, or level mask: "
"\"highest\" to clear only highest level in hotlist, or level mask: "
"integer which is a combination of 1=join/part, 2=message, "
"4=private, 8=highlight"),
N_("raw[remove]: remove current buffer from hotlist"),
@@ -9601,7 +9653,7 @@ command_init (void)
N_("mask: name where wildcard \"*\" is allowed"),
N_("raw[set]: set a value for a proxy property"),
N_("option: option to change (for options list, look at /set "
"weechat.proxy.<proxyname>.*)"),
"weechat.proxy.<proxy_name>.*)"),
N_("value: new value for option"),
"",
N_("Examples:"),
@@ -9764,13 +9816,13 @@ command_init (void)
N_(" use program \"pass\" to read the passphrase on startup:"),
AI(" /set sec.crypt.passphrase_command \"/usr/bin/pass show weechat/passphrase\""),
N_(" encrypt libera SASL password:"),
N_(" /secure set libera mypassword"),
N_(" /secure set libera my_password"),
AI(" /set irc.server.libera.sasl_password \"${sec.data.libera}\""),
N_(" encrypt oftc password for nickserv:"),
N_(" /secure set oftc mypassword"),
N_(" /secure set oftc my_password"),
AI(" /set irc.server.oftc.command \"/msg nickserv identify ${sec.data.oftc}\""),
N_(" alias to ghost the nick \"mynick\":"),
N_(" /alias add ghost /eval /msg -server libera nickserv ghost mynick "
N_(" alias to ghost the nick \"andrew\":"),
N_(" /alias add ghost /eval /msg -server libera nickserv ghost andrew "
"${sec.data.libera}")),
"passphrase -delete"
" || decrypt -discard"
@@ -9942,7 +9994,7 @@ command_init (void)
N_(" 4. execute new WeeChat binary and reload session."),
"",
N_("With option \"-quit\", the process is:"),
N_(" 1. close *ALL* connections (irc, xfer, relay, ...)"),
N_(" 1. close *ALL* connections (irc, xfer, relay, etc.)"),
N_(" 2. save session into files (*.upgrade)"),
N_(" 3. unload all plugins"),
N_(" 4. save WeeChat configuration"),
@@ -10127,7 +10179,7 @@ command_init (void)
}
/*
* Executes a list of commands (separated by ";").
* Execute a list of commands (separated by ";").
*/
void
@@ -10159,7 +10211,7 @@ command_exec_list (const char *command_list)
}
/*
* Executes commands at startup.
* Execute commands at startup.
*/
void
+53 -53
View File
@@ -65,7 +65,7 @@ extern char **environ;
/*
* Adds a word with quotes around to completion list.
* Add a word with quotes around to completion list.
*/
void
@@ -82,7 +82,7 @@ completion_list_add_quoted_word (struct t_gui_completion *completion,
}
/*
* Adds bar names to completion list.
* Add bar names to completion list.
*/
int
@@ -109,7 +109,7 @@ completion_list_add_bars_names_cb (const void *pointer, void *data,
}
/*
* Adds bar items to completion list.
* Add bar items to completion list.
*/
int
@@ -137,7 +137,7 @@ completion_list_add_bars_items_cb (const void *pointer, void *data,
}
/*
* Adds custom bar items names to completion list.
* Add custom bar items names to completion list.
*/
int
@@ -165,7 +165,7 @@ completion_list_add_custom_bar_items_names_cb (const void *pointer, void *data,
}
/*
* Adds custom bar item conditions to completion list.
* Add custom bar item conditions to completion list.
*/
int
@@ -190,7 +190,7 @@ completion_list_add_custom_bar_item_conditions_cb (const void *pointer, void *da
}
/*
* Adds custom bar item contents to completion list.
* Add custom bar item contents to completion list.
*/
int
@@ -215,7 +215,7 @@ completion_list_add_custom_bar_item_contents_cb (const void *pointer, void *data
}
/*
* Adds arguments for commands that add a custom bar item.
* Add arguments for commands that add a custom bar item.
*/
int
@@ -283,7 +283,7 @@ completion_list_add_custom_bar_item_add_arguments_cb (const void *pointer, void
}
/*
* Adds bar options to completion list.
* Add bar options to completion list.
*/
int
@@ -310,7 +310,7 @@ completion_list_add_bars_options_cb (const void *pointer, void *data,
}
/*
* Adds buffer names to completion list.
* Add buffer names to completion list.
*/
int
@@ -338,7 +338,7 @@ completion_list_add_buffers_names_cb (const void *pointer, void *data,
}
/*
* Adds buffer numbers to completion list.
* Add buffer numbers to completion list.
*/
int
@@ -368,7 +368,7 @@ completion_list_add_buffers_numbers_cb (const void *pointer, void *data,
}
/*
* Adds plugin+buffer names to completion list.
* Add plugin+buffer names to completion list.
*/
int
@@ -396,7 +396,7 @@ completion_list_add_buffers_plugins_names_cb (const void *pointer, void *data,
}
/*
* Adds a buffer local variable to completions list.
* Add a buffer local variable to completions list.
*/
void
@@ -414,7 +414,7 @@ completion_list_map_buffer_local_variable_cb (void *data,
}
/*
* Adds buffer local variables to completion list.
* Add buffer local variables to completion list.
*/
int
@@ -437,7 +437,7 @@ completion_list_add_buffer_local_variables_cb (const void *pointer, void *data,
}
/*
* Adds buffer local variable value to completion list.
* Add buffer local variable value to completion list.
*/
int
@@ -487,7 +487,7 @@ completion_list_add_buffer_local_variable_value_cb (const void *pointer, void *d
}
/*
* Adds buffer properties (that can be set) to completion list.
* Add buffer properties (that can be set) to completion list.
*/
int
@@ -515,7 +515,7 @@ completion_list_add_buffer_properties_set_cb (const void *pointer, void *data,
}
/*
* Adds a buffer local variable to completions list (for `/buffer setauto`).
* Add a buffer local variable to completions list (for `/buffer setauto`).
*/
void
@@ -538,7 +538,7 @@ completion_list_map_buffer_local_variable_setauto_cb (void *data,
}
/*
* Adds buffer properties (that can be set), local variables and key bindings
* Add buffer properties (that can be set), local variables and key bindings
* to completion list.
*/
@@ -585,7 +585,7 @@ completion_list_add_buffer_properties_setauto_cb (const void *pointer, void *dat
}
/*
* Adds buffer properties (that can be read) to completion list.
* Add buffer properties (that can be read) to completion list.
*/
int
@@ -625,7 +625,7 @@ completion_list_add_buffer_properties_get_cb (const void *pointer, void *data,
}
/*
* Adds window numbers to completion list.
* Add window numbers to completion list.
*/
int
@@ -654,7 +654,7 @@ completion_list_add_windows_numbers_cb (const void *pointer, void *data,
}
/*
* Adds colors to completion list.
* Add colors to completion list.
*/
int
@@ -711,7 +711,7 @@ completion_list_add_colors_cb (const void *pointer, void *data,
}
/*
* Adds a palette color to completion list.
* Add a palette color to completion list.
*/
void
@@ -729,7 +729,7 @@ completion_list_map_add_palette_color_cb (void *data,
}
/*
* Adds palette colors to completion list.
* Add palette colors to completion list.
*/
int
@@ -752,7 +752,7 @@ completion_list_add_palette_colors_cb (const void *pointer, void *data,
}
/*
* Adds configuration files to completion list.
* Add configuration files to completion list.
*/
int
@@ -780,7 +780,7 @@ completion_list_add_config_files_cb (const void *pointer, void *data,
}
/*
* Adds path/filename to completion list.
* Add path/filename to completion list.
*/
int
@@ -923,7 +923,7 @@ end:
}
/*
* Adds filter names to completion list.
* Add filter names to completion list.
*/
int
@@ -951,7 +951,7 @@ completion_list_add_filters_cb (const void *pointer, void *data,
}
/*
* Adds disabled filter names to completion list.
* Add disabled filter names to completion list.
*/
int
@@ -982,7 +982,7 @@ completion_list_add_filters_disabled_cb (const void *pointer, void *data,
}
/*
* Adds enabled filter names to completion list.
* Add enabled filter names to completion list.
*/
int
@@ -1013,7 +1013,7 @@ completion_list_add_filters_enabled_cb (const void *pointer, void *data,
}
/*
* Adds command hook types to completion list.
* Add command hook types to completion list.
*/
int
@@ -1040,7 +1040,7 @@ completion_list_add_hook_types_cb (const void *pointer, void *data,
}
/*
* Adds command hooks to completion list.
* Add command hooks to completion list.
*/
int
@@ -1091,7 +1091,7 @@ completion_list_add_commands_cb (const void *pointer, void *data,
}
/*
* Adds info hooks to completion list.
* Add info hooks to completion list.
*/
int
@@ -1123,7 +1123,7 @@ completion_list_add_infos_cb (const void *pointer, void *data,
}
/*
* Adds infolist hooks to completion list.
* Add infolist hooks to completion list.
*/
int
@@ -1155,7 +1155,7 @@ completion_list_add_infolists_cb (const void *pointer, void *data,
}
/*
* Adds nicks to completion list.
* Add nicks to completion list.
*/
int
@@ -1206,7 +1206,7 @@ completion_list_add_nicks_cb (const void *pointer, void *data,
}
/*
* Adds configuration options to completion list.
* Add configuration options to completion list.
*/
int
@@ -1254,7 +1254,7 @@ completion_list_add_config_options_cb (const void *pointer, void *data,
}
/*
* Adds plugin names to completion list.
* Add plugin names to completion list.
*/
int
@@ -1282,7 +1282,7 @@ completion_list_add_plugins_cb (const void *pointer, void *data,
}
/*
* Adds a plugin installed to completion list.
* Add a plugin installed to completion list.
*/
void
@@ -1317,7 +1317,7 @@ completion_list_add_plugins_installed_exec_cb (void *data,
}
/*
* Adds plugins installed to completion list.
* Add plugins installed to completion list.
*/
int
@@ -1384,7 +1384,7 @@ completion_list_add_plugins_installed_cb (const void *pointer, void *data,
}
/*
* Adds plugin commands to completion list.
* Add plugin commands to completion list.
*
* The plugin name is read in previous argument.
*/
@@ -1472,7 +1472,7 @@ completion_list_add_plugins_commands_cb (const void *pointer, void *data,
}
/*
* Adds value of option to completion list.
* Add value of option to completion list.
*
* The option name is read in previous argument.
*/
@@ -1688,7 +1688,7 @@ completion_list_add_config_option_values_cb (const void *pointer, void *data,
}
/*
* Adds WeeChat commands to completion list.
* Add WeeChat commands to completion list.
*/
int
@@ -1740,7 +1740,7 @@ completion_list_add_weechat_commands_cb (const void *pointer, void *data,
}
/*
* Adds proxy names to completion list.
* Add proxy names to completion list.
*/
int
@@ -1768,7 +1768,7 @@ completion_list_add_proxies_names_cb (const void *pointer, void *data,
}
/*
* Adds proxy options to completion list.
* Add proxy options to completion list.
*/
int
@@ -1795,7 +1795,7 @@ completion_list_add_proxies_options_cb (const void *pointer, void *data,
}
/*
* Adds key contexts to completion list.
* Add key contexts to completion list.
*/
int
@@ -1822,7 +1822,7 @@ completion_list_add_keys_contexts_cb (const void *pointer, void *data,
}
/*
* Adds keys to completion list.
* Add keys to completion list.
*/
int
@@ -1853,7 +1853,7 @@ completion_list_add_keys_codes_cb (const void *pointer, void *data,
}
/*
* Adds keys that can be reset (keys added, redefined or removed) to completion
* Add keys that can be reset (keys added, redefined or removed) to completion
* list.
*/
@@ -1905,7 +1905,7 @@ completion_list_add_keys_codes_for_reset_cb (const void *pointer, void *data,
}
/*
* Adds areas for free cursor movement ("chat" and bar names) to completion
* Add areas for free cursor movement ("chat" and bar names) to completion
* list.
*/
@@ -1947,7 +1947,7 @@ completion_list_add_cursor_areas_cb (const void *pointer, void *data,
}
/*
* Adds layout names to completion list.
* Add layout names to completion list.
*/
int
@@ -1975,7 +1975,7 @@ completion_list_add_layouts_names_cb (const void *pointer, void *data,
}
/*
* Adds a secured data to completion list.
* Add a secured data to completion list.
*/
void
@@ -1993,7 +1993,7 @@ completion_list_map_add_secured_data_cb (void *data,
}
/*
* Adds secured data to completion list.
* Add secured data to completion list.
*/
int
@@ -2016,7 +2016,7 @@ completion_list_add_secured_data_cb (const void *pointer, void *data,
}
/*
* Adds environment variables to completion list.
* Add environment variables to completion list.
*/
int
@@ -2052,7 +2052,7 @@ completion_list_add_env_vars_cb (const void *pointer, void *data,
}
/*
* Adds value of an environment variable to completion list.
* Add value of an environment variable to completion list.
*/
int
@@ -2099,7 +2099,7 @@ completion_list_add_env_value_cb (const void *pointer, void *data,
}
/*
* Adds a buffer local variable for /eval to completions list.
* Add a buffer local variable for /eval to completions list.
*/
void
@@ -2122,7 +2122,7 @@ completion_list_map_eval_buffer_local_variable_cb (void *data,
}
/*
* Adds /eval variables to completion list.
* Add /eval variables to completion list.
*/
int
@@ -2225,7 +2225,7 @@ completion_list_add_eval_variables_cb (const void *pointer, void *data,
}
/*
* Adds hooks for completions done by WeeChat core.
* Add hooks for completions done by WeeChat core.
*/
void
+123 -124
View File
@@ -65,9 +65,9 @@ void config_file_option_free_data (struct t_config_option *option);
/*
* Checks if a configuration file pointer is valid.
* Check if a configuration file pointer is valid.
*
* Returns:
* Return:
* 1: configuration file exists
* 0: configuration file does not exist
*/
@@ -92,7 +92,7 @@ config_file_valid (struct t_config_file *config_file)
}
/*
* Searches for a configuration file.
* Search for a configuration file.
*/
struct t_config_file *
@@ -119,7 +119,7 @@ config_file_search (const char *name)
}
/*
* Searches for position of configuration file (to keep configuration files
* Search for position of configuration file (to keep configuration files
* sorted by name).
*/
@@ -143,7 +143,7 @@ config_file_find_pos (const char *name)
}
/*
* Inserts a configuration file (keeping files sorted by name).
* Insert a configuration file (keeping files sorted by name).
*/
void
@@ -188,9 +188,9 @@ config_file_config_insert (struct t_config_file *config_file)
}
/*
* Creates a new configuration file.
* Create a new configuration file.
*
* Returns pointer to new configuration file, NULL if error.
* Return pointer to new configuration file, NULL if error.
*/
struct t_config_file *
@@ -250,10 +250,10 @@ config_file_new (struct t_weechat_plugin *plugin, const char *name,
}
/*
* Sets configuration file version and a callback to update config
* Set configuration file version and a callback to update config
* sections/options on-the-fly when the config is read.
*
* Returns:
* Return:
* 1: OK
* 0: error
*/
@@ -282,10 +282,10 @@ config_file_set_version (struct t_config_file *config_file,
}
/*
* Compares two configuration files to sort them by priority (highest priority
* Compare two configuration files to sort them by priority (highest priority
* at beginning of list).
*
* Returns:
* Return:
* -1: config1 has higher priority than config2
* 1: config1 has same or lower priority than config2
*/
@@ -308,7 +308,7 @@ config_file_arraylist_cmp_config_cb (void *data,
}
/*
* Returns an arraylist with pointers to configuration files, sorted by
* Return an arraylist with pointers to configuration files, sorted by
* priority (from highest to lowest).
*/
@@ -339,7 +339,7 @@ config_file_get_configs_by_priority (void)
}
/*
* Searches for position of section in configuration file (to keep sections
* Search for position of section in configuration file (to keep sections
* sorted by name).
*/
@@ -364,9 +364,9 @@ config_file_section_find_pos (struct t_config_file *config_file,
}
/*
* Creates a new section in a configuration file.
* Create a new section in a configuration file.
*
* Returns pointer to new section, NULL if error.
* Return pointer to new section, NULL if error.
*/
struct t_config_section *
@@ -459,9 +459,9 @@ config_file_new_section (struct t_config_file *config_file, const char *name,
}
/*
* Searches for a section in a configuration file.
* Search for a section in a configuration file.
*
* Returns pointer to section found, NULL if not found.
* Return pointer to section found, NULL if not found.
*/
struct t_config_section *
@@ -485,7 +485,7 @@ config_file_search_section (struct t_config_file *config_file,
}
/*
* Builds full name for an option, using format: "file.section.option".
* Build full name for an option, using format: "file.section.option".
*
* Note: result must be freed after use.
*/
@@ -508,7 +508,7 @@ config_file_option_full_name (struct t_config_option *option)
}
/*
* Executes hook_config for modified option.
* Execute hook_config for modified option.
*/
void
@@ -561,7 +561,7 @@ config_file_hook_config_exec (struct t_config_option *option)
}
/*
* Searches for position of option in section (to keep options sorted by name).
* Search for position of option in section (to keep options sorted by name).
*/
struct t_config_option *
@@ -583,7 +583,7 @@ config_file_option_find_pos (struct t_config_section *section, const char *name)
}
/*
* Inserts an option in section (keeping options sorted by name).
* Insert an option in section (keeping options sorted by name).
*/
void
@@ -629,9 +629,9 @@ config_file_option_insert_in_section (struct t_config_option *option)
}
/*
* Allocates memory for a new option and initializes it.
* Allocate memory for a new option and initializes it.
*
* Returns pointer to new option, NULL if error.
* Return pointer to new option, NULL if error.
*/
struct t_config_option *
@@ -672,9 +672,9 @@ config_file_option_malloc (void)
}
/*
* Creates a new option.
* Create a new option.
*
* Returns pointer to new option, NULL if error.
* Return pointer to new option, NULL if error.
*/
struct t_config_option *
@@ -977,9 +977,9 @@ end:
}
/*
* Searches for an option in a configuration file or section.
* Search for an option in a configuration file or section.
*
* Returns pointer to option found, NULL if error.
* Return pointer to option found, NULL if error.
*/
struct t_config_option *
@@ -1028,9 +1028,9 @@ config_file_search_option (struct t_config_file *config_file,
}
/*
* Searches for an option in a configuration file or section.
* Search for an option in a configuration file or section.
*
* Returns section/option found (in section_found/option_found), NULL if not
* Return section/option found (in section_found/option_found), NULL if not
* found.
*/
@@ -1090,7 +1090,7 @@ config_file_search_section_option (struct t_config_file *config_file,
}
/*
* Searches for a file/section/option using a full name of option (format:
* Search for a file/section/option using a full name of option (format:
* "file.section.option").
*/
@@ -1165,7 +1165,7 @@ config_file_search_with_string (const char *option_name,
}
/*
* Gets pointer to parent option, NULL if the option has no parent.
* Get pointer to parent option, NULL if the option has no parent.
*/
struct t_config_option *
@@ -1187,9 +1187,9 @@ config_file_get_parent_option (struct t_config_option *option)
}
/*
* Checks if a string with boolean value is valid.
* Check if a string with boolean value is valid.
*
* Returns:
* Return:
* 1: boolean value is valid
* 0: boolean value is NOT valid
*/
@@ -1219,9 +1219,9 @@ config_file_string_boolean_is_valid (const char *text)
}
/*
* Converts string to boolean value.
* Convert string to boolean value.
*
* Returns:
* Return:
* 1: boolean value is true
* 0: boolean value is false
*/
@@ -1244,9 +1244,9 @@ config_file_string_to_boolean (const char *text)
}
/*
* Resets an option to its default value.
* Reset an option to its default value.
*
* Returns:
* Return:
* WEECHAT_CONFIG_OPTION_SET_OK_CHANGED: OK, value has been changed
* WEECHAT_CONFIG_OPTION_SET_OK_SAME_VALUE: OK, value not changed
* WEECHAT_CONFIG_OPTION_SET_ERROR: error
@@ -1392,9 +1392,9 @@ config_file_option_reset (struct t_config_option *option, int run_callback)
}
/*
* Sets the value for an option.
* Set the value for an option.
*
* Returns:
* Return:
* WEECHAT_CONFIG_OPTION_SET_OK_CHANGED: OK, value has been changed
* WEECHAT_CONFIG_OPTION_SET_OK_SAME_VALUE: OK, value not changed
* WEECHAT_CONFIG_OPTION_SET_ERROR: error
@@ -1718,9 +1718,9 @@ config_file_option_set (struct t_config_option *option, const char *value,
}
/*
* Toggles value of an option.
* Toggle value of an option.
*
* Returns:
* Return:
* WEECHAT_CONFIG_OPTION_SET_OK_CHANGED: OK, value has been changed
* WEECHAT_CONFIG_OPTION_SET_OK_SAME_VALUE: OK, value not changed
* WEECHAT_CONFIG_OPTION_SET_ERROR: error
@@ -1825,9 +1825,9 @@ end:
}
/*
* Sets null (undefined) value for an option.
* Set null (undefined) value for an option.
*
* Returns:
* Return:
* WEECHAT_CONFIG_OPTION_SET_OK_CHANGED: OK, value has been changed
* WEECHAT_CONFIG_OPTION_SET_OK_SAME_VALUE: OK, value not changed
* WEECHAT_CONFIG_OPTION_SET_ERROR: error
@@ -1875,9 +1875,9 @@ config_file_option_set_null (struct t_config_option *option, int run_callback)
}
/*
* Sets the default value for an option.
* Set the default value for an option.
*
* Returns:
* Return:
* WEECHAT_CONFIG_OPTION_SET_OK_CHANGED: OK, default value has been changed
* WEECHAT_CONFIG_OPTION_SET_OK_SAME_VALUE: OK, default value not changed
* WEECHAT_CONFIG_OPTION_SET_ERROR: error
@@ -2190,9 +2190,9 @@ config_file_option_set_default (struct t_config_option *option,
}
/*
* Unsets/resets an option.
* Unset/reset an option.
*
* Returns:
* Return:
* WEECHAT_CONFIG_OPTION_UNSET_OK_NO_RESET: OK, value has not been reset
* WEECHAT_CONFIG_OPTION_UNSET_OK_RESET: OK, value has been reset
* WEECHAT_CONFIG_OPTION_UNSET_OK_REMOVED: OK, value has been removed
@@ -2265,7 +2265,7 @@ config_file_option_unset (struct t_config_option *option)
}
/*
* Renames an option.
* Rename an option.
*/
void
@@ -2340,7 +2340,7 @@ config_file_option_rename (struct t_config_option *option,
}
/*
* Builds a string with the value or default value of option,
* Build a string with the value or default value of option,
* depending on the type of option.
*
* According to default_value:
@@ -2435,7 +2435,7 @@ config_file_option_value_to_string (struct t_config_option *option,
}
/*
* Gets a string value of an option property.
* Get a string value of an option property.
*/
const char *
@@ -2462,7 +2462,7 @@ config_file_option_get_string (struct t_config_option *option,
}
/*
* Gets a pointer on an option property.
* Get a pointer on an option property.
*/
void *
@@ -2503,9 +2503,9 @@ config_file_option_get_pointer (struct t_config_option *option,
}
/*
* Checks if an option has a null value.
* Check if an option has a null value.
*
* Returns:
* Return:
* 1: value of option is null
* 0: value of option is not null
*/
@@ -2520,9 +2520,9 @@ config_file_option_is_null (struct t_config_option *option)
}
/*
* Checks if an option has a null default value.
* Check if an option has a null default value.
*
* Returns:
* Return:
* 1: default value of option is null
* 0: default value of option is not null
*/
@@ -2537,9 +2537,9 @@ config_file_option_default_is_null (struct t_config_option *option)
}
/*
* Checks if an option has changed (current value different from default value).
* Check if an option has changed (current value different from default value).
*
* Returns:
* Return:
* 1: option has changed
* 0: option has default value
*/
@@ -2580,10 +2580,10 @@ int config_file_option_has_changed (struct t_config_option *option)
}
/*
* Sets the value for an option using a full name of option (format:
* Set the value for an option using a full name of option (format:
* "file.section.option").
*
* Returns:
* Return:
* WEECHAT_CONFIG_OPTION_SET_OK_CHANGED: OK, value has been changed
* WEECHAT_CONFIG_OPTION_SET_OK_SAME_VALUE: OK, value not changed
* WEECHAT_CONFIG_OPTION_SET_ERROR: error
@@ -2632,9 +2632,9 @@ config_file_option_set_with_string (const char *option_name, const char *value)
}
/*
* Returns boolean value of an option.
* Return boolean value of an option.
*
* Returns 1 if value is true, 0 if it is false.
* Return 1 if value is true, 0 if it is false.
*/
int
@@ -2647,9 +2647,9 @@ config_file_option_boolean (struct t_config_option *option)
}
/*
* Returns default boolean value of an option.
* Return default boolean value of an option.
*
* Returns 1 if default value is true, 0 if it is false.
* Return 1 if default value is true, 0 if it is false.
*/
int
@@ -2662,11 +2662,11 @@ config_file_option_boolean_default (struct t_config_option *option)
}
/*
* Returns inherited boolean value of an option: value of option if not NULL,
* Return inherited boolean value of an option: value of option if not NULL,
* or value of the parent option (if option inherits from another option).
*
* If the parent option is not found, returns the default value of the option.
* If the parent value is NULL, returns the default value of the parent option.
* If the parent option is not found, return the default value of the option.
* If the parent value is NULL, return the default value of the parent option.
*/
int
@@ -2690,7 +2690,7 @@ config_file_option_boolean_inherited (struct t_config_option *option)
}
/*
* Returns integer value of an option.
* Return integer value of an option.
*/
int
@@ -2721,7 +2721,7 @@ config_file_option_integer (struct t_config_option *option)
}
/*
* Returns default integer value of an option.
* Return default integer value of an option.
*/
int
@@ -2752,11 +2752,11 @@ config_file_option_integer_default (struct t_config_option *option)
}
/*
* Returns inherited integer value of an option: value of option if not NULL,
* Return inherited integer value of an option: value of option if not NULL,
* or value of the parent option (if option inherits from another option).
*
* If the parent option is not found, returns the default value of the option.
* If the parent value is NULL, returns the default value of the parent option.
* If the parent option is not found, return the default value of the option.
* If the parent value is NULL, return the default value of the parent option.
*/
int
@@ -2780,7 +2780,7 @@ config_file_option_integer_inherited (struct t_config_option *option)
}
/*
* Returns string value of an option.
* Return string value of an option.
*/
const char *
@@ -2811,7 +2811,7 @@ config_file_option_string (struct t_config_option *option)
}
/*
* Returns default string value of an option.
* Return default string value of an option.
*/
const char *
@@ -2842,11 +2842,11 @@ config_file_option_string_default (struct t_config_option *option)
}
/*
* Returns inherited string value of an option: value of option if not NULL,
* Return inherited string value of an option: value of option if not NULL,
* or value of the parent option (if option inherits from another option).
*
* If the parent option is not found, returns the default value of the option.
* If the parent value is NULL, returns the default value of the parent option.
* If the parent option is not found, return the default value of the option.
* If the parent value is NULL, return the default value of the parent option.
*/
const char *
@@ -2870,7 +2870,7 @@ config_file_option_string_inherited (struct t_config_option *option)
}
/*
* Returns color value of an option.
* Return color value of an option.
*/
const char *
@@ -2883,7 +2883,7 @@ config_file_option_color (struct t_config_option *option)
}
/*
* Returns default color value of an option.
* Return default color value of an option.
*/
const char *
@@ -2896,11 +2896,11 @@ config_file_option_color_default (struct t_config_option *option)
}
/*
* Returns inherited color value of an option: value of option if not NULL,
* Return inherited color value of an option: value of option if not NULL,
* or value of the parent option (if option inherits from another option).
*
* If the parent option is not found, returns the default value of the option.
* If the parent value is NULL, returns the default value of the parent option.
* If the parent option is not found, return the default value of the option.
* If the parent value is NULL, return the default value of the parent option.
*/
const char *
@@ -2922,7 +2922,7 @@ config_file_option_color_inherited (struct t_config_option *option)
}
/*
* Returns enum value of an option.
* Return enum value of an option.
*/
int
@@ -2953,7 +2953,7 @@ config_file_option_enum (struct t_config_option *option)
}
/*
* Returns default enum value of an option.
* Return default enum value of an option.
*/
int
@@ -2984,11 +2984,11 @@ config_file_option_enum_default (struct t_config_option *option)
}
/*
* Returns inherited enum value of an option: value of option if not NULL,
* Return inherited enum value of an option: value of option if not NULL,
* or value of the parent option (if option inherits from another option).
*
* If the parent option is not found, returns the default value of the option.
* If the parent value is NULL, returns the default value of the parent option.
* If the parent option is not found, return the default value of the option.
* If the parent value is NULL, return the default value of the parent option.
*/
int
@@ -3012,9 +3012,9 @@ config_file_option_enum_inherited (struct t_config_option *option)
}
/*
* Returns a char to add before the name of option to escape it.
* Return a char to add before the name of option to escape it.
*
* Returns:
* Return:
* "\": name must be escaped with "\" (if names begins with # [ \)
* "": name must not be escaped
*/
@@ -3034,9 +3034,9 @@ config_file_option_escape (const char *name)
}
/*
* Writes an option in a configuration file.
* Write an option in a configuration file.
*
* Returns:
* Return:
* 1: OK
* 0: error
*/
@@ -3102,11 +3102,11 @@ config_file_write_option (struct t_config_file *config_file,
}
/*
* Writes a line in a configuration file.
* Write a line in a configuration file.
*
* If value is NULL, then writes a section with [ ] around.
* If value is NULL, write a section with `[` and `]` around.
*
* Returns:
* Return:
* 1: OK
* 0: error
*/
@@ -3142,9 +3142,9 @@ config_file_write_line (struct t_config_file *config_file,
}
/*
* Writes a configuration file (this function must not be called directly).
* Write a configuration file (this function must not be called directly).
*
* Returns:
* Return:
* WEECHAT_CONFIG_WRITE_OK: OK
* WEECHAT_CONFIG_WRITE_ERROR: error
* WEECHAT_CONFIG_WRITE_MEMORY_ERROR: not enough memory
@@ -3357,9 +3357,9 @@ end:
}
/*
* Writes a configuration file.
* Write a configuration file.
*
* Returns:
* Return:
* WEECHAT_CONFIG_WRITE_OK: OK
* WEECHAT_CONFIG_WRITE_ERROR: error
* WEECHAT_CONFIG_WRITE_MEMORY_ERROR: not enough memory
@@ -3372,9 +3372,9 @@ config_file_write (struct t_config_file *config_file)
}
/*
* Parses configuration version.
* Parse configuration version.
*
* Returns:
* Return:
* >= 1: configuration version
* -1: error
*/
@@ -3397,8 +3397,7 @@ config_file_parse_version (const char *version)
}
/*
* Backups a configuration file if its version is unsupported and cannot be
* loaded.
* Backup a configuration file if its version is unsupported and cannot be loaded.
*/
void
@@ -3457,13 +3456,13 @@ config_file_backup (const char *filename)
}
/*
* Updates data read from config file: either section or option + value.
* Update data read from config file: either section or option + value.
* The update callback (if defined in config) is called if the config version
* read in file is less than to the current config version.
*
* Parameters "section", "option" and "value" are updated in place: if the
* callback gives a new value, they are first freed and allocated again with
* the new value (or set to NULL for the value if the callback returns
* the new value (or set to NULL for the value if the callback return
* special key "value_null").
*
* Section can be updated only if option and value are NULL (ie if we are
@@ -3590,9 +3589,9 @@ config_file_update_data_read (struct t_config_file *config_file,
}
/*
* Reads a configuration file (this function must not be called directly).
* Read a configuration file (this function must not be called directly).
*
* Returns:
* Return:
* WEECHAT_CONFIG_READ_OK: OK
* WEECHAT_CONFIG_READ_MEMORY_ERROR: not enough memory
* WEECHAT_CONFIG_READ_FILE_NOT_FOUND: file not found
@@ -3920,9 +3919,9 @@ end_file:
}
/*
* Reads a configuration file.
* Read a configuration file.
*
* Returns:
* Return:
* WEECHAT_CONFIG_READ_OK: OK
* WEECHAT_CONFIG_READ_MEMORY_ERROR: not enough memory
* WEECHAT_CONFIG_READ_FILE_NOT_FOUND: file not found
@@ -3935,9 +3934,9 @@ config_file_read (struct t_config_file *config_file)
}
/*
* Reloads a configuration file.
* Reload a configuration file.
*
* Returns:
* Return:
* WEECHAT_CONFIG_READ_OK: OK
* WEECHAT_CONFIG_READ_MEMORY_ERROR: not enough memory
* WEECHAT_CONFIG_READ_FILE_NOT_FOUND: file not found
@@ -3991,7 +3990,7 @@ config_file_reload (struct t_config_file *config_file)
}
/*
* Frees data in an option.
* Free data in an option.
*/
void
@@ -4009,7 +4008,7 @@ config_file_option_free_data (struct t_config_option *option)
}
/*
* Frees an option.
* Free an option.
*/
void
@@ -4057,7 +4056,7 @@ config_file_option_free (struct t_config_option *option, int run_callback)
}
/*
* Frees options in a section.
* Free options in a section.
*/
void
@@ -4073,7 +4072,7 @@ config_file_section_free_options (struct t_config_section *section)
}
/*
* Frees a section.
* Free a section.
*/
void
@@ -4116,7 +4115,7 @@ config_file_section_free (struct t_config_section *section)
}
/*
* Frees a configuration file.
* Free a configuration file.
*/
void
@@ -4159,7 +4158,7 @@ config_file_free (struct t_config_file *config_file)
}
/*
* Frees all configuration files.
* Free all configuration files.
*/
void
@@ -4172,7 +4171,7 @@ config_file_free_all (void)
}
/*
* Frees all configuration files for a plugin.
* Free all configuration files for a plugin.
*/
void
@@ -4193,7 +4192,7 @@ config_file_free_all_plugin (struct t_weechat_plugin *plugin)
}
/*
* Returns hdata for structure t_config_file.
* Return hdata for structure t_config_file.
*/
struct t_hdata *
@@ -4230,7 +4229,7 @@ config_file_hdata_config_file_cb (const void *pointer, void *data,
}
/*
* Returns hdata for structure t_config_section.
* Return hdata for structure t_config_section.
*/
struct t_hdata *
@@ -4275,7 +4274,7 @@ config_file_hdata_config_section_cb (const void *pointer, void *data,
}
/*
* Returns hdata for structure t_config_option.
* Return hdata for structure t_config_option.
*/
struct t_hdata *
@@ -4321,9 +4320,9 @@ config_file_hdata_config_option_cb (const void *pointer, void *data,
}
/*
* Adds a configuration option in an infolist.
* Add a configuration option in an infolist.
*
* Returns:
* Return:
* 1: OK
* 0: error
*/
@@ -4463,9 +4462,9 @@ end:
}
/*
* Adds configuration options in an infolist.
* Add configuration options in an infolist.
*
* Returns:
* Return:
* 1: OK
* 0: error
*/
@@ -4506,7 +4505,7 @@ config_file_add_to_infolist (struct t_infolist *infolist,
}
/*
* Prints configuration file in WeeChat log file (usually for crash dump).
* Print configuration file in WeeChat log file (usually for crash dump).
*/
void
+47 -50
View File
@@ -404,7 +404,7 @@ config_change_sys_rlimit (const void *pointer, void *data,
}
/*
* Checks option "weechat.look.config_permissions".
* Check option "weechat.look.config_permissions".
*/
int
@@ -507,7 +507,7 @@ config_change_window_title (const void *pointer, void *data,
}
/*
* Sets word chars array with a word chars option.
* Set word chars array with a word chars option.
*/
void
@@ -762,7 +762,7 @@ config_change_buffer_time_same (const void *pointer, void *data,
}
/*
* Computes the "prefix_max_length" on all buffers.
* Compute the "prefix_max_length" on all buffers.
*/
void
@@ -781,7 +781,7 @@ config_compute_prefix_max_length_all_buffers (void)
}
/*
* Sets nick colors using option "weechat.color.chat_nick_colors".
* Set nick colors using option "weechat.color.chat_nick_colors".
*/
void
@@ -859,8 +859,7 @@ config_change_look_nick_color_force (const void *pointer, void *data,
}
/*
* Sets eval syntax highlighting colors using option
* "weechat.color.eval_syntax_colors".
* Set eval syntax highlighting colors using option "weechat.color.eval_syntax_colors".
*/
void
@@ -1176,7 +1175,7 @@ config_change_item_time_format (const void *pointer, void *data,
}
/*
* Gets the current time formatted for the bar item status.
* Get the current time formatted for the bar item status.
*/
void
@@ -1265,7 +1264,7 @@ config_change_prefix_align_min (const void *pointer, void *data,
}
/*
* Checks option "weechat.look.prefix_align_more".
* Check option "weechat.look.prefix_align_more".
*/
int
@@ -1282,7 +1281,7 @@ config_check_prefix_align_more (const void *pointer, void *data,
}
/*
* Checks option "weechat.look.prefix_buffer_align_more".
* Check option "weechat.look.prefix_buffer_align_more".
*/
int
@@ -1299,7 +1298,7 @@ config_check_prefix_buffer_align_more (const void *pointer, void *data,
}
/*
* Checks options "weechat.look.separator_{horizontal|vertical}".
* Check options "weechat.look.separator_{horizontal|vertical}".
*/
int
@@ -1316,7 +1315,7 @@ config_check_separator (const void *pointer, void *data,
}
/*
* Checks options "weechat.look.whitespace_char" and
* Check options "weechat.look.whitespace_char" and
* "weechat.look.tab_whitespace_char".
*/
@@ -1473,8 +1472,7 @@ config_change_completion_nick_ignore_words (const void *pointer,
}
/*
* Callback for changes on option
* "weechat.completion.partial_completion_templates".
* Callback for changes on option "weechat.completion.partial_completion_templates".
*/
void
@@ -1542,7 +1540,7 @@ config_change_network_gnutls_ca (const void *pointer, void *data,
}
/*
* Checks option "weechat.network.proxy_curl".
* Check option "weechat.network.proxy_curl".
*/
int
@@ -1602,9 +1600,9 @@ config_change_plugin_extension (const void *pointer, void *data,
}
/*
* Timer called each minute: checks if the day has changed, and if yes:
* - refreshes screen (if needed)
* - sends signal "day_changed"
* Timer called each minute: check if the day has changed, and if yes:
* - refresh screen (if needed)
* - send signal "day_changed"
*/
int
@@ -1652,7 +1650,7 @@ config_day_change_timer_cb (const void *pointer, void *data,
}
/*
* Initializes some things after reading/reloading WeeChat configuration file.
* Initialize some things after reading/reloading WeeChat configuration file.
*/
void
@@ -1701,7 +1699,7 @@ config_weechat_init_after_read (void)
}
/*
* Updates options in configuration file while reading the file.
* Update options in configuration file while reading the file.
*/
struct t_hashtable *
@@ -1939,9 +1937,9 @@ config_weechat_update_cb (const void *pointer, void *data,
}
/*
* Reloads WeeChat configuration file.
* Reload WeeChat configuration file.
*
* Returns:
* Return:
* WEECHAT_CONFIG_READ_OK: OK
* WEECHAT_CONFIG_READ_MEMORY_ERROR: not enough memory
* WEECHAT_CONFIG_READ_FILE_NOT_FOUND: file not found
@@ -1994,7 +1992,7 @@ config_weechat_reload_cb (const void *pointer, void *data,
}
/*
* Gets debug level for a plugin (or "core").
* Get debug level for a plugin (or "core").
*/
struct t_config_option *
@@ -2006,8 +2004,7 @@ config_weechat_debug_get (const char *plugin_name)
}
/*
* Sets debug level for "core" and all plugins, using values from section
* "debug".
* Set debug level for "core" and all plugins, using values from section "debug".
*/
void
@@ -2129,7 +2126,7 @@ config_weechat_debug_delete_option_cb (const void *pointer, void *data,
}
/*
* Sets debug level for a plugin (or "core").
* Set debug level for a plugin (or "core").
*/
int
@@ -2266,7 +2263,7 @@ config_weechat_palette_delete_option_cb (const void *pointer, void *data,
}
/*
* Reads a proxy option in WeeChat configuration file.
* Read a proxy option in WeeChat configuration file.
*/
int
@@ -2345,7 +2342,7 @@ config_weechat_proxy_read_cb (const void *pointer, void *data,
}
/*
* Reads a bar option in WeeChat configuration file.
* Read a bar option in WeeChat configuration file.
*/
int
@@ -2425,7 +2422,7 @@ config_weechat_bar_read_cb (const void *pointer, void *data,
}
/*
* Reads a custom bar item option in WeeChat configuration file.
* Read a custom bar item option in WeeChat configuration file.
*/
int
@@ -2515,7 +2512,7 @@ config_weechat_custom_bar_item_read_cb (const void *pointer, void *data,
}
/*
* Reads a layout option in WeeChat configuration file.
* Read a layout option in WeeChat configuration file.
*/
int
@@ -2646,9 +2643,9 @@ config_weechat_layout_read_cb (const void *pointer, void *data,
}
/*
* Writes layout of windows in WeeChat configuration file.
* Write layout of windows in WeeChat configuration file.
*
* Returns:
* Return:
* 1: OK
* 0: write error
*/
@@ -2689,7 +2686,7 @@ config_weechat_layout_write_tree (struct t_config_file *config_file,
}
/*
* Writes section "layout" in WeeChat configuration file.
* Write section "layout" in WeeChat configuration file.
*/
int
@@ -2749,7 +2746,7 @@ config_weechat_layout_write_cb (const void *pointer, void *data,
}
/*
* Applies a buffer option to all matching buffers.
* Apply a buffer option to all matching buffers.
*/
void
@@ -2871,9 +2868,9 @@ config_weechat_buffer_create_option_cb (const void *pointer, void *data,
}
/*
* Sets a buffer property.
* Set a buffer property.
*
* Returns:
* Return:
* 1: OK
* 0: error
*/
@@ -3024,12 +3021,12 @@ config_weechat_notify_delete_option_cb (const void *pointer, void *data,
}
/*
* Sets a notify level for a buffer.
* Set a notify level for a buffer.
*
* A negative value resets notify for buffer to its default value (and
* removes buffer from config file).
*
* Returns:
* Return:
* 1: OK
* 0: error
*/
@@ -3054,7 +3051,7 @@ config_weechat_notify_set (struct t_gui_buffer *buffer, const char *notify)
}
/*
* Reads a filter option in WeeChat configuration file.
* Read a filter option in WeeChat configuration file.
*/
int
@@ -3098,7 +3095,7 @@ config_weechat_filter_read_cb (const void *pointer, void *data,
}
/*
* Writes section "filter" in WeeChat configuration file.
* Write section "filter" in WeeChat configuration file.
*/
int
@@ -3132,9 +3129,9 @@ config_weechat_filter_write_cb (const void *pointer, void *data,
}
/*
* Searches key context with the section pointer.
* Search key context with the section pointer.
*
* Returns key context, -1 if not found.
* Return key context, -1 if not found.
*/
int
@@ -3223,9 +3220,9 @@ config_weechat_key_delete_option_cb (const void *pointer, void *data,
}
/*
* Creates options in WeeChat configuration.
* Create options in WeeChat configuration.
*
* Returns:
* Return:
* 1: OK
* 0: error
*/
@@ -5599,9 +5596,9 @@ config_weechat_init_options (void)
}
/*
* Initializes WeeChat configuration.
* Initialize WeeChat configuration.
*
* Returns:
* Return:
* 1: OK
* 0: error
*/
@@ -5661,9 +5658,9 @@ config_weechat_init (void)
}
/*
* Reads WeeChat configuration file.
* Read WeeChat configuration file.
*
* Returns:
* Return:
* WEECHAT_CONFIG_READ_OK: OK
* WEECHAT_CONFIG_READ_MEMORY_ERROR: not enough memory
* WEECHAT_CONFIG_READ_FILE_NOT_FOUND: file not found
@@ -5684,9 +5681,9 @@ config_weechat_read (void)
}
/*
* Writes WeeChat configuration file.
* Write WeeChat configuration file.
*
* Returns:
* Return:
* WEECHAT_CONFIG_WRITE_OK: OK
* WEECHAT_CONFIG_WRITE_ERROR: error
* WEECHAT_CONFIG_WRITE_MEMORY_ERROR: not enough memory
@@ -5699,7 +5696,7 @@ config_weechat_write (void)
}
/*
* Frees WeeChat configuration file and variables.
* Free WeeChat configuration file and variables.
*/
void
+16 -16
View File
@@ -123,7 +123,7 @@ int weecrypto_cipher[] = {
/*
* Returns the hash algorithm with the name, or GCRY_MD_NONE if not found.
* Return the hash algorithm with the name, or GCRY_MD_NONE if not found.
*/
int
@@ -144,7 +144,7 @@ weecrypto_get_hash_algo (const char *hash_algo)
}
/*
* Returns the cipher with the name, or GCRY_CIPHER_NONE if not found.
* Return the cipher with the name, or GCRY_CIPHER_NONE if not found.
*/
int
@@ -165,7 +165,7 @@ weecrypto_get_cipher (const char *cipher)
}
/*
* Computes hash of data using the given hash algorithm.
* Compute hash of data using the given hash algorithm.
*
* The hash size depends on the algorithm, common ones are:
*
@@ -196,7 +196,7 @@ weecrypto_get_cipher (const char *cipher)
* If hash_size is not NULL, the length of hash is stored in *hash_size
* (in bytes).
*
* Returns:
* Return:
* 1: OK
* 0: error
*/
@@ -255,7 +255,7 @@ hash_end:
}
/*
* Computes hash of file using the given hash algorithm.
* Compute hash of file using the given hash algorithm.
*
* The hash size depends on the algorithm, common ones are:
*
@@ -286,7 +286,7 @@ hash_end:
* If hash_size is not NULL, the length of hash is stored in *hash_size
* (in bytes).
*
* Returns:
* Return:
* 1: OK
* 0: error
*/
@@ -361,7 +361,7 @@ hash_end:
}
/*
* Computes PKCS#5 Passphrase Based Key Derivation Function number 2 (PBKDF2)
* Compute PKCS#5 Passphrase Based Key Derivation Function number 2 (PBKDF2)
* hash of data.
*
* The hash size depends on the algorithm, common ones are:
@@ -375,7 +375,7 @@ hash_end:
* If hash_size is not NULL, the length of hash is stored in *hash_size
* (in bytes).
*
* Returns:
* Return:
* 1: OK
* 0: error
*/
@@ -419,7 +419,7 @@ hash_pbkdf2_end:
}
/*
* Computes keyed-hash message authentication code (HMAC).
* Compute keyed-hash message authentication code (HMAC).
*
* The hash size depends on the algorithm, common ones are:
*
@@ -450,7 +450,7 @@ hash_pbkdf2_end:
* If hash_size is not NULL, the length of hash is stored in *hash_size
* (in bytes).
*
* Returns:
* Return:
* 1: OK
* 0: error
*/
@@ -514,10 +514,10 @@ hmac_end:
}
/*
* Generates a Time-based One-Time Password (TOTP), as described
* Generate a Time-based One-Time Password (TOTP), as described
* in the RFC 6238.
*
* Returns:
* Return:
* 1: OK
* 0: error
*/
@@ -556,10 +556,10 @@ weecrypto_totp_generate_internal (const char *secret, int length_secret,
}
/*
* Generates a Time-based One-Time Password (TOTP), as described
* Generate a Time-based One-Time Password (TOTP), as described
* in the RFC 6238.
*
* Returns the password as string, NULL if error.
* Return the password as string, NULL if error.
*
* Note: result must be freed after use.
*/
@@ -615,9 +615,9 @@ error:
}
/*
* Validates a Time-based One-Time Password (TOTP).
* Validate a Time-based One-Time Password (TOTP).
*
* Returns:
* Return:
* 1: OTP is OK
* 0: OTP is invalid
*/
+15 -16
View File
@@ -91,7 +91,7 @@ long long debug_long_callbacks = 0; /* callbacks taking more than */
/*
* Displays build information on stdout.
* Display build information on stdout.
*/
void
@@ -149,7 +149,7 @@ debug_build_info (void)
}
/*
* Writes dump of data to WeeChat log file.
* Write dump of data to WeeChat log file.
*/
void
@@ -226,7 +226,7 @@ debug_dump_cb (const void *pointer, void *data,
/*
* Callback for system signal SIGSEGV handler.
*
* Writes dump of data and backtrace to WeeChat log file, then exit.
* Write dump of data and backtrace to WeeChat log file, then exit.
*/
void
@@ -271,7 +271,7 @@ debug_sigsegv_cb (int signo)
}
/*
* Displays tree of windows (this function must not be called directly).
* Display tree of windows (this function must not be called directly).
*/
void
@@ -341,7 +341,7 @@ debug_windows_tree_display (struct t_gui_window_tree *tree, int indent)
}
/*
* Displays tree of windows.
* Display tree of windows.
*/
void
@@ -353,7 +353,7 @@ debug_windows_tree (void)
}
/*
* Displays information about dynamic memory allocation.
* Display information about dynamic memory allocation.
*/
void
@@ -499,7 +499,7 @@ debug_hdata_map_cb (void *data,
}
/*
* Displays a list of hdata in memory.
* Display a list of hdata in memory.
*/
void
@@ -517,7 +517,7 @@ debug_hdata (void)
}
/*
* Displays info about hooks.
* Display info about hooks.
*/
void
@@ -538,7 +538,7 @@ debug_hooks (void)
}
/*
* Displays info about hooks for one or multiple plugins matching a mask.
* Display info about hooks for one or multiple plugins matching a mask.
*/
void
@@ -657,7 +657,7 @@ debug_hooks_plugin_types (const char *plugin_mask, const char **hook_types)
}
/*
* Displays a list of infolists in memory.
* Display a list of infolists in memory.
*/
void
@@ -748,7 +748,7 @@ debug_infolists (void)
}
/*
* Callback for signal "debug_libs": displays infos about external libraries
* Callback for signal "debug_libs": display infos about external libraries
* used (called when command "/debug libs" is issued).
*
* Note: this function displays libraries for WeeChat core only: plugins can
@@ -821,7 +821,7 @@ debug_libs_cb (const void *pointer, void *data,
}
/*
* Displays WeeChat directories.
* Display WeeChat directories.
*/
void
@@ -859,8 +859,7 @@ debug_directories (void)
/*
* Display time elapsed between two times.
*
* If display is 1, the message is displayed in core buffer, otherwise it's
* written in log file.
* If display is 1, display message in core buffer, otherwise write in log file.
*/
void
@@ -1032,7 +1031,7 @@ debug_unicode (const char *string)
}
/*
* Initializes debug.
* Initialize debug.
*/
void
@@ -1048,7 +1047,7 @@ debug_init (void)
}
/*
* Ends debug.
* End debug.
*/
void
+41 -41
View File
@@ -57,7 +57,7 @@
/*
* Returns the path to a temporary directory, the first valid directory in
* Return the path to a temporary directory, the first valid directory in
* this list:
* - content of environment variable "TMPDIR"
* - P_tmpdir (from stdio.h)
@@ -100,9 +100,9 @@ dir_get_temp_dir (void)
}
/*
* Creates a directory in WeeChat home.
* Create a directory in WeeChat home.
*
* Returns:
* Return:
* 1: OK
* 0: error
*/
@@ -175,9 +175,9 @@ end:
}
/*
* Creates a directory.
* Create a directory.
*
* Returns:
* Return:
* 1: OK
* 0: error
*/
@@ -198,9 +198,9 @@ dir_mkdir (const char *directory, int mode)
}
/*
* Creates a directory and makes parent directories as needed.
* Create a directory and make parent directories as needed.
*
* Returns:
* Return:
* 1: OK
* 0: error
*/
@@ -257,9 +257,9 @@ dir_mkdir_parents (const char *directory, int mode)
}
/*
* Unlinks a file or directory; callback called by function dir_rmtree().
* Unlink a file or directory; callback called by function dir_rmtree().
*
* Returns the return code of remove():
* Return the return code of remove():
* 0: OK
* -1: error
*/
@@ -277,9 +277,9 @@ dir_unlink_cb (const char *fpath, const struct stat *sb, int typeflag,
}
/*
* Removes a directory and all files inside recursively.
* Remove a directory and all files inside recursively.
*
* Returns:
* Return:
* 1: OK
* 0: error
*/
@@ -298,12 +298,12 @@ dir_rmtree (const char *directory)
}
/*
* Uses one or four different paths for WeeChat home directories.
* Use one or four different paths for WeeChat home directories.
*
* If 4 paths are given, they must be separated by colons and given in this
* order: config, data, cache, runtime.
*
* Returns:
* Return:
* 1: OK
* 0: error
*/
@@ -374,9 +374,9 @@ end:
}
/*
* Creates WeeChat temporary home directory (deleted on exit).
* Create WeeChat temporary home directory (deleted on exit).
*
* Returns:
* Return:
* 1: OK
* 0: error
*/
@@ -435,9 +435,9 @@ end:
}
/*
* Finds XDG directories.
* Find XDG directories.
*
* Returns:
* Return:
* 1: OK
* 0: error
*/
@@ -592,10 +592,10 @@ error:
}
/*
* Finds WeeChat home directories: it can be either XDG directories or the
* Find WeeChat home directories: it can be either XDG directories or the
* same directory for all files (like the legacy directory ~/.weechat).
*
* Returns:
* Return:
* 1: OK
* 0: error
*/
@@ -673,7 +673,7 @@ use_xdg:
}
/*
* Removes trailing separators in path, which is modified in place
* Remove trailing separators in path, which is modified in place
* (each trailing separator is replaced by NUL char).
*
* Example on Linux: "/home/xxx/" => "/home/xxx".
@@ -696,9 +696,9 @@ dir_remove_trailing_separators (char *path)
}
/*
* Creates a home directory.
* Create a home directory.
*
* Returns:
* Return:
* 1: OK
* 0: error
*/
@@ -733,7 +733,7 @@ dir_create_home_dir (char *path)
}
/*
* Creates WeeChat home directories.
* Create WeeChat home directories.
*
* Any error in this function (or a sub function called) is fatal: WeeChat
* cannot run at all without the home directories.
@@ -770,7 +770,7 @@ error:
}
/*
* Removes WeeChat home directories (called when -t / --temp-dir is given).
* Remove WeeChat home directories (called when -t / --temp-dir is given).
*/
void
@@ -788,7 +788,7 @@ dir_remove_home_dirs (void)
}
/*
* Returns a string with home directories separated by colons, in this order:
* Return a string with home directories separated by colons, in this order:
* config_dir, data_dir, state_dir, cache_dir, runtime_dir.
*
* Example of value returned:
@@ -815,7 +815,7 @@ dir_get_string_home_dirs (void)
}
/*
* Finds files in a directory and executes a function on each file.
* Find files in a directory and execute a function on each file.
*/
void
@@ -863,10 +863,10 @@ dir_exec_on_files (const char *directory, int recurse_subdirs,
}
/*
* Searches for the full name of a WeeChat library with name and extension
* Search for the full name of a WeeChat library with name and extension
* (searches first in WeeChat user's dir, then WeeChat global lib directory).
*
* Returns name of library found, NULL if not found.
* Return name of library found, NULL if not found.
*
* Note: result must be freed after use (if not NULL).
*/
@@ -933,7 +933,7 @@ dir_search_full_lib_name_ext (const char *filename, const char *extension,
}
/*
* Searches for the full name of a WeeChat library with name.
* Search for the full name of a WeeChat library with name.
*
* All extensions listed in option "weechat.plugin.extension" are tested.
*
@@ -986,9 +986,9 @@ dir_search_full_lib_name (const char *filename, const char *plugins_dir)
}
/*
* Reads content of a file.
* Read content of a file.
*
* Returns an allocated buffer with the content of file, NULL if error.
* Return an allocated buffer with the content of file, NULL if error.
*
* Note: result must be freed after use.
*/
@@ -1042,9 +1042,9 @@ error:
}
/*
* Copies a file to another location.
* Copy a file to another location.
*
* Returns:
* Return:
* 1: OK
* 0: error
*/
@@ -1097,13 +1097,13 @@ end:
}
/*
* Compresses a file with gzip.
* Compress a file with gzip.
*
* Notes:
* - the output file must not exist
* - compression_level is an integer between 1 and 9
*
* Returns:
* Return:
* 1: OK
* 0: error
*/
@@ -1203,13 +1203,13 @@ end:
}
/*
* Compresses a file with zstandard.
* Compress a file with zstandard.
*
* Notes:
* - the output file must not exist
* - compression_level is an integer between 1 and 19
*
* Returns:
* Return:
* 1: OK
* 0: error
*/
@@ -1387,7 +1387,7 @@ end:
}
/*
* Compresses a file with gzip or zstandard.
* Compress a file with gzip or zstandard.
*
* The output file must not exist.
*
@@ -1398,7 +1398,7 @@ end:
* Parameter "compression_level" is the compression level as percentage:
* from 1 (fast, low compression) to 100 (slow, best compression).
*
* Returns:
* Return:
* 1: OK
* 0: error
*/
@@ -1433,14 +1433,14 @@ dir_file_compress (const char *filename_input,
}
/*
* Compares the content of two files (the attributes of the files like the
* Compare the content of two files (the attributes of the files like the
* permissions or timestamp are ignored).
*
* Comparison is done like this:
* 1. if sizes are different, return 1 (different content)
* 2. if sizes are the same, read both files until a difference is found
*
* Returns:
* Return:
* 0: both files exist and their content is exactly the same
* 1: content is different
* 2: other error (file not found, read error)
+52 -52
View File
@@ -61,7 +61,7 @@ char *string_escaped[32];
/*
* Escapes a string to display in a table: replace "|" by "\|".
* Escape a string to display in a table: replace "|" by "\|".
*/
char *
@@ -74,7 +74,7 @@ doc_gen_escape_table (const char *message)
}
/*
* Escapes a string to be used as anchor link: replace ",", "@" and "*" by "-".
* Escape a string to be used as anchor link: replace ",", "@" and "*" by "-".
*/
char *
@@ -94,13 +94,13 @@ doc_gen_escape_anchor_link (const char *message)
}
/*
* Opens a file for write using:
* Open a file for write using:
* - path
* - doc: "api" or "user"
* - name
* - language (eg: "fr")
*
* Returns the file opened, NULL if error.
* Return the file opened, NULL if error.
*/
FILE *
@@ -135,13 +135,13 @@ doc_gen_open_file (const char *path, const char *doc, const char *name,
}
/*
* Closes the file and renames it without ".temp" suffix, if the target name
* Close the file and rename it without ".temp" suffix, if the target name
* does not exist or if it exists with a different (obsolete) content.
*
* If the target name exists with same content it's kept as-is (so the
* timestamp does not change) and the temporary file is just deleted.
* If the target name exists with same content, keep it as-is (so the
* timestamp does not change) and just delete the temporary file.
*
* Returns:
* Return:
* 1: target file has been updated
* 0: target file unchanged
* -1: error
@@ -183,7 +183,7 @@ doc_gen_close_file (const char *path, const char *doc, const char *name,
}
/*
* Checks if a command must be documented or not: all commands are documented
* Check if a command must be documented or not: all commands are documented
* except the default aliases (that create commands).
*/
@@ -195,7 +195,7 @@ doc_gen_check_command (const char *plugin, const char *command)
}
/*
* Compares two hooks "command" to sort by plugin / command.
* Compare two hooks "command" to sort by plugin / command.
*/
int
@@ -221,9 +221,9 @@ doc_gen_hook_command_cmp_cb (void *data, struct t_arraylist *arraylist,
}
/*
* Generates files with commands.
* Generate files with commands.
*
* Returns:
* Return:
* 1: OK, target file updated
* 0: OK, target file unchanged
* -1: error
@@ -366,7 +366,7 @@ doc_gen_user_commands (const char *path, const char *lang)
}
/*
* Checks if an option must be documented or not.
* Check if an option must be documented or not.
*/
int
@@ -395,7 +395,7 @@ doc_gen_check_option (struct t_config_option *option)
}
/*
* Compares two options to sort by plugin / command.
* Compare two options to sort by plugin / command.
*/
int
@@ -425,9 +425,9 @@ doc_gen_option_cmp_cb (void *data, struct t_arraylist *arraylist,
}
/*
* Generates files with commands.
* Generate files with commands.
*
* Returns:
* Return:
* 1: OK, target file updated
* 0: OK, target file unchanged
* -1: error
@@ -588,9 +588,9 @@ doc_gen_user_options (const char *path, const char *lang)
}
/*
* Generates files with default aliases.
* Generate files with default aliases.
*
* Returns:
* Return:
* 1: OK, target file updated
* 0: OK, target file unchanged
* -1: error
@@ -638,9 +638,9 @@ doc_gen_user_default_aliases (const char *path, const char *lang)
}
/*
* Generates files with IRC colors.
* Generate files with IRC colors.
*
* Returns:
* Return:
* 1: OK, target file updated
* 0: OK, target file unchanged
* -1: error
@@ -684,7 +684,7 @@ doc_gen_user_irc_colors (const char *path, const char *lang)
}
/*
* Compares two hooks "info" to sort by plugin / info.
* Compare two hooks "info" to sort by plugin / info.
*/
int
@@ -710,9 +710,9 @@ doc_gen_hook_info_cmp_cb (void *data, struct t_arraylist *arraylist,
}
/*
* Generates files with infos.
* Generate files with infos.
*
* Returns:
* Return:
* 1: OK, target file updated
* 0: OK, target file unchanged
* -1: error
@@ -773,7 +773,7 @@ doc_gen_api_infos (const char *path, const char *lang)
}
/*
* Compares two hooks "info_hashtable" to sort by plugin / info.
* Compare two hooks "info_hashtable" to sort by plugin / info.
*/
int
@@ -799,9 +799,9 @@ doc_gen_hook_info_hashtable_cmp_cb (void *data, struct t_arraylist *arraylist,
}
/*
* Generates files with infos_hashtable.
* Generate files with infos_hashtable.
*
* Returns:
* Return:
* 1: OK, target file updated
* 0: OK, target file unchanged
* -1: error
@@ -864,7 +864,7 @@ doc_gen_api_infos_hashtable (const char *path, const char *lang)
}
/*
* Compares two hooks "infolist" to sort by plugin / infolist.
* Compare two hooks "infolist" to sort by plugin / infolist.
*/
int
@@ -890,9 +890,9 @@ doc_gen_hook_infolist_cmp_cb (void *data, struct t_arraylist *arraylist,
}
/*
* Generates files with infolists.
* Generate files with infolists.
*
* Returns:
* Return:
* 1: OK, target file updated
* 0: OK, target file unchanged
* -1: error
@@ -955,7 +955,7 @@ doc_gen_api_infolists (const char *path, const char *lang)
}
/*
* Compares two hooks "hdata" to sort by plugin / hdata.
* Compare two hooks "hdata" to sort by plugin / hdata.
*/
int
@@ -981,7 +981,7 @@ doc_gen_hook_hdata_cmp_cb (void *data, struct t_arraylist *arraylist,
}
/*
* Compares two hooks lists to sort by name (and lists beginning with "last_"
* Compare two hooks lists to sort by name (and lists beginning with "last_"
* at the end).
*/
@@ -1009,7 +1009,7 @@ doc_gen_hdata_list_cmp_cb (void *data, struct t_arraylist *arraylist,
}
/*
* Compares two hooks hdata keys to sort by offset.
* Compare two hooks hdata keys to sort by offset.
*/
int
@@ -1030,7 +1030,7 @@ doc_gen_hdata_key_cmp_cb (void *data, struct t_arraylist *arraylist,
}
/*
* Generates content of a hdata.
* Generate content of a hdata.
*/
void
@@ -1172,9 +1172,9 @@ doc_gen_api_hdata_content (FILE *file, struct t_hdata *hdata)
}
/*
* Generates files with hdata.
* Generate files with hdata.
*
* Returns:
* Return:
* 1: OK, target file updated
* 0: OK, target file unchanged
* -1: error
@@ -1250,7 +1250,7 @@ doc_gen_api_hdata (const char *path, const char *lang)
}
/*
* Compares two hooks "completion" to sort by plugin / completion.
* Compare two hooks "completion" to sort by plugin / completion.
*/
int
@@ -1276,9 +1276,9 @@ doc_gen_hook_completion_cmp_cb (void *data, struct t_arraylist *arraylist,
}
/*
* Generates files with completions.
* Generate files with completions.
*
* Returns:
* Return:
* 1: OK, target file updated
* 0: OK, target file unchanged
* -1: error
@@ -1337,9 +1337,9 @@ doc_gen_api_completions (const char *path, const char *lang)
}
/*
* Generates files with URL options.
* Generate files with URL options.
*
* Returns:
* Return:
* 1: OK, target file updated
* 0: OK, target file unchanged
* -1: error
@@ -1397,7 +1397,7 @@ doc_gen_api_url_options (const char *path, const char *lang)
}
/*
* Compares two plugins to sort by priority (descending).
* Compare two plugins to sort by priority (descending).
*/
int
@@ -1421,9 +1421,9 @@ doc_gen_plugin_cmp_cb (void *data, struct t_arraylist *arraylist,
}
/*
* Generates files with plugins priority.
* Generate files with plugins priority.
*
* Returns:
* Return:
* 1: OK, target file updated
* 0: OK, target file unchanged
* -1: error
@@ -1483,7 +1483,7 @@ doc_gen_api_plugins_priority (const char *path, const char *lang)
}
/*
* Compares two configurations to sort by priority (descending).
* Compare two configurations to sort by priority (descending).
*/
int
@@ -1507,9 +1507,9 @@ doc_gen_config_cmp_cb (void *data, struct t_arraylist *arraylist,
}
/*
* Generates files with config priority.
* Generate files with config priority.
*
* Returns:
* Return:
* 1: OK, target file updated
* 0: OK, target file unchanged
* -1: error
@@ -1569,9 +1569,9 @@ doc_gen_api_config_priority (const char *path, const char *lang)
}
/*
* Generates files with scripting API functions.
* Generate files with scripting API functions.
*
* Returns:
* Return:
* 1: OK, target file updated
* 0: OK, target file unchanged
* -1: error
@@ -1602,9 +1602,9 @@ doc_gen_scripting_functions (const char *path, const char *lang)
}
/*
* Generates files with scripting API constants.
* Generate files with scripting API constants.
*
* Returns:
* Return:
* 1: OK, target file updated
* 0: OK, target file unchanged
* -1: error
@@ -1664,9 +1664,9 @@ doc_gen_scripting_constants (const char *path, const char *lang)
}
/*
* Generates WeeChat files used to build documentation.
* Generate WeeChat files used to build documentation.
*
* Returns:
* Return:
* 1: OK
* 0: error
*/
+43 -43
View File
@@ -96,7 +96,7 @@ char *eval_expression_condition (const char *expr,
/*
* Adds a debug message in the debug output.
* Add a debug message in the debug output.
*/
void
@@ -142,7 +142,7 @@ eval_debug_message (struct t_eval_context *eval_context, int debug_id,
/*
* Adds a debug message in the debug output, with variable arguments.
* Add a debug message in the debug output, with variable arguments.
*/
void
@@ -159,10 +159,10 @@ eval_debug_message_vargs (struct t_eval_context *eval_context, int debug_id,
}
/*
* Checks if a value is true: a value is true if string is non-NULL, non-empty
* Check if a value is true: a value is true if string is non-NULL, non-empty
* and different from "0".
*
* Returns:
* Return:
* 1: value is true
* 0: value is false
*/
@@ -174,7 +174,7 @@ eval_is_true (const char *value)
}
/*
* Searches a string in another at same level (skip sub-expressions between
* Search a string in another at same level (skip sub-expressions between
* prefix/suffix).
*
* If escape is 1, the prefix can be escaped with '\' (and then is ignored).
@@ -184,7 +184,7 @@ eval_is_true (const char *value)
* will return a pointer on "|| z" (because the first "||" is
* in a sub-expression, which is skipped).
*
* Returns pointer to string found, or NULL if not found.
* Return pointer to string found, or NULL if not found.
*/
const char *
@@ -267,7 +267,7 @@ end:
}
/*
* Evaluates a condition and returns boolean result:
* Evaluate a condition and return boolean result:
* "0" if false
* "1" if true
*
@@ -287,7 +287,7 @@ eval_string_eval_cond (const char *text, struct t_eval_context *eval_context)
}
/*
* Adds range of chars.
* Add range of chars.
*
* Note: result must be freed after use.
*/
@@ -350,7 +350,7 @@ end:
}
/*
* Hides chars in a string.
* Hide chars in a string.
*
* Note: result must be freed after use.
*/
@@ -391,7 +391,7 @@ eval_string_hide (const char *text)
}
/*
* Cuts string.
* Cut string.
*
* Note: result must be freed after use.
*/
@@ -444,7 +444,7 @@ eval_string_cut (const char *text, int screen)
}
/*
* Repeats string.
* Repeat string.
*
* Note: result must be freed after use.
*/
@@ -477,12 +477,12 @@ eval_string_repeat (const char *text)
}
/*
* Splits string.
* Split string.
*
* Format: number,separators,flags,string
*
* If number == "count", returns the number of items after split.
* If number == "random", returns a random item.
* If number == "count", return the number of items after split.
* If number == "random", return a random item.
* If number > 0, return this index (empty string if not enough items).
* If number < 0, return this index starting from the end (-1 = last item,
* -2 = penultimate item, etc.).
@@ -642,12 +642,12 @@ end:
}
/*
* Splits shell arguments.
* Split shell arguments.
*
* Format: number,string
*
* If number == "count", returns the number of arguments.
* If number == "random", returns a random argument.
* If number == "count", return the number of arguments.
* If number == "random", return a random argument.
* If number > 0, return this index (empty string if not enough arguments).
* If number < 0, return this index starting from the end (-1 = last argument,
* -2 = penultimate argument, etc.).
@@ -738,7 +738,7 @@ end:
}
/*
* Returns a regex group captured.
* Return a regex group captured.
*
* Note: result must be freed after use.
*/
@@ -790,7 +790,7 @@ eval_string_regex_group (const char *text, struct t_eval_context *eval_context)
}
/*
* Returns a string with color code.
* Return a string with color code.
*
* Note: result must be freed after use.
*/
@@ -809,7 +809,7 @@ eval_string_color (const char *text)
}
/*
* Returns a string modified by a modifier.
* Return a string modified by a modifier.
*
* Note: result must be freed after use.
*/
@@ -844,7 +844,7 @@ eval_string_modifier (const char *text)
}
/*
* Returns an info.
* Return an info.
*
* Note: result must be freed after use.
*/
@@ -878,7 +878,7 @@ eval_string_info (const char *text)
}
/*
* Encodes a string in base 16, 32, or 64.
* Encode a string in base 16, 32, or 64.
*
* Note: result must be freed after use.
*/
@@ -921,7 +921,7 @@ end:
}
/*
* Decodes a string encoded in base 16, 32, or 64.
* Decode a string encoded in base 16, 32, or 64.
*
* Note: result must be freed after use.
*/
@@ -962,7 +962,7 @@ end:
}
/*
* Returns a date.
* Return a date.
*
* Note: result must be freed after use.
*/
@@ -982,7 +982,7 @@ eval_string_date (const char *text)
}
/*
* Evaluates a condition and returns evaluated if/else clause.
* Evaluate a condition and return evaluated if/else clause.
*
* Note: result must be freed after use.
*/
@@ -1050,7 +1050,7 @@ eval_string_if (const char *text, struct t_eval_context *eval_context)
}
/*
* Returns a random integer number.
* Return a random integer number.
*
* Note: result must be freed after use.
*/
@@ -1103,7 +1103,7 @@ error:
}
/*
* Translates text.
* Translate text.
*
* Note: result must be freed after use.
*/
@@ -1122,7 +1122,7 @@ eval_string_translate (const char *text)
}
/*
* Defines a variable.
* Define a variable.
*/
void
@@ -1144,7 +1144,7 @@ eval_string_define (const char *text, struct t_eval_context *eval_context)
}
/*
* Returns count of items in a hdata, as a string.
* Return count of items in a hdata, as a string.
*
* Note: result must be freed after use.
*/
@@ -1218,7 +1218,7 @@ end:
}
/*
* Gets value of hdata using "path" to a variable.
* Get value of hdata using "path" to a variable.
*
* Note: result must be freed after use.
*/
@@ -1411,7 +1411,7 @@ end:
}
/*
* Returns a string using hdata.
* Return a string using hdata.
*
* Note: result must be freed after use.
*/
@@ -1519,7 +1519,7 @@ end:
}
/*
* Returns text with syntax highlighting (using markers, to be replaced by
* Return text with syntax highlighting (using markers, to be replaced by
* colors later).
*
* Note: result must be freed after use.
@@ -1546,7 +1546,7 @@ eval_syntax_highlight_add_markers (const char *prefix, const char *text,
}
/*
* Replaces raw highlight markers with color codes defined in option
* Replace raw highlight markers with color codes defined in option
* weechat.color.eval_syntax_colors.
*
* Note: result must be freed after use.
@@ -1603,7 +1603,7 @@ eval_syntax_highlight_colorize (const char *value)
}
/*
* Adds syntax highlighting in text.
* Add syntax highlighting in text.
*
* Note: result must be freed after use.
*/
@@ -1625,7 +1625,7 @@ eval_syntax_highlight (const char *text, struct t_eval_context *eval_context)
}
/*
* Replaces variables, which can be, by order of priority:
* Replace variables, which can be, by order of priority:
* - ${raw_hl:string}: the string itself without evaluation but with syntax highlighting
* - ${raw:string}: the string itself without evaluation
* - ${hl:string}: the string with syntax highlighting
@@ -2088,7 +2088,7 @@ end:
}
/*
* Replaces variables in a string.
* Replace variables in a string.
*
* Note: result must be freed after use.
*/
@@ -2131,15 +2131,15 @@ eval_replace_vars (const char *expr, struct t_eval_context *eval_context)
}
/*
* Compares two expressions.
* Compare two expressions.
*
* Returns:
* Return:
* "1": comparison is true
* "0": comparison is false
*
* Examples:
* "15 > 2": returns "1"
* "abc == def": returns "0"
* "15 > 2": return "1"
* "abc == def": return "0"
*
* Note: result must be freed after use.
*/
@@ -2275,7 +2275,7 @@ end:
}
/*
* Evaluates a condition (this function must not be called directly).
* Evaluate a condition (this function must not be called directly).
*
* For return value, see function eval_expression().
*
@@ -2498,7 +2498,7 @@ end:
}
/*
* Replaces text in a string using a regular expression and replacement text.
* Replace text in a string using a regular expression and replacement text.
*
* The argument "regex" is a pointer to a regex compiled with WeeChat function
* string_regcomp (or function regcomp).
@@ -2637,7 +2637,7 @@ end:
}
/*
* Evaluates an expression.
* Evaluate an expression.
*
* The hashtable "pointers" must have string for keys, pointer for values.
* The hashtable "extra_vars" must have string for keys and values.
+53 -53
View File
@@ -50,9 +50,9 @@ char *hashtable_type_string[HASHTABLE_NUM_TYPES] =
/*
* Searches for a hashtable type.
* Search for a hashtable type.
*
* Returns index of type in enum t_hashtable_type, -1 if type is not found.
* Return index of type in enum t_hashtable_type, -1 if type is not found.
*/
int
@@ -74,9 +74,9 @@ hashtable_get_type (const char *type)
}
/*
* Hashes a string using a variant of djb2 hash.
* Hash a string using a variant of djb2 hash.
*
* Returns the hash of the string.
* Return the hash of the string.
*/
unsigned long long
@@ -98,9 +98,9 @@ hashtable_hash_key_djb2 (const char *string)
}
/*
* Hashes a key (default callback).
* Hash a key (default callback).
*
* Returns the hash of the key, depending on the type.
* Return the hash of the key, depending on the type.
*/
unsigned long long
@@ -135,9 +135,9 @@ hashtable_hash_key_default_cb (struct t_hashtable *hashtable, const void *key)
}
/*
* Compares two keys (default callback).
* Compare two keys (default callback).
*
* Returns:
* Return:
* < 0: key1 < key2
* 0: key1 == key2
* > 0: key1 > key2
@@ -200,14 +200,14 @@ hashtable_keycmp_default_cb (struct t_hashtable *hashtable,
}
/*
* Creates a new hashtable.
* Create a new hashtable.
*
* The size is NOT a limit for number of items in hashtable. It is the size of
* internal array to store hashed keys: a high value uses more memory, but has
* better performance because this reduces the collisions of hashed keys and
* then reduces length of linked lists.
* then reduce length of linked lists.
*
* Returns pointer to new hashtable, NULL if error.
* Return pointer to new hashtable, NULL if error.
*/
struct t_hashtable *
@@ -266,7 +266,7 @@ hashtable_new (int size,
}
/*
* Allocates space for a key or value.
* Allocate space for a key or value.
*/
void
@@ -334,7 +334,7 @@ hashtable_alloc_type (enum t_hashtable_type type,
}
/*
* Frees space used by a key.
* Free space used by a key.
*/
void
@@ -366,7 +366,7 @@ hashtable_free_key (struct t_hashtable *hashtable,
}
/*
* Frees space used by a value.
* Free space used by a value.
*/
void
@@ -399,11 +399,11 @@ hashtable_free_value (struct t_hashtable *hashtable,
}
/*
* Sets value for a key in hashtable.
* Set value for a key in hashtable.
*
* The size arguments are used only for type "buffer".
*
* Returns pointer to item created/updated, NULL if error.
* Return pointer to item created/updated, NULL if error.
*/
struct t_hashtable_item *
@@ -490,12 +490,12 @@ hashtable_set_with_size (struct t_hashtable *hashtable,
}
/*
* Sets value for a key in hashtable.
* Set value for a key in hashtable.
*
* Note: this function can be called *only* if key AND value are *not* of type
* "buffer".
*
* Returns pointer to item created/updated, NULL if error.
* Return pointer to item created/updated, NULL if error.
*/
struct t_hashtable_item *
@@ -506,9 +506,9 @@ hashtable_set (struct t_hashtable *hashtable,
}
/*
* Searches for an item in hashtable.
* Search for an item in hashtable.
*
* If hash is non NULL, then it is set with hash value of key (even if key is
* If hash is non NULL, then set it with hash value of key (even if key is
* not found).
*/
@@ -541,9 +541,9 @@ hashtable_get_item (struct t_hashtable *hashtable, const void *key,
}
/*
* Gets value for a key in hashtable.
* Get value for a key in hashtable.
*
* Returns pointer to value for key, NULL if key is not found.
* Return pointer to value for key, NULL if key is not found.
*/
void *
@@ -557,9 +557,9 @@ hashtable_get (struct t_hashtable *hashtable, const void *key)
}
/*
* Checks if a key exists in the hashtable.
* Check if a key exists in the hashtable.
*
* Returns:
* Return:
* 1: key exists
* 0: key does not exist
*/
@@ -571,9 +571,9 @@ hashtable_has_key (struct t_hashtable *hashtable, const void *key)
}
/*
* Converts a value (from any type) to a string.
* Convert a value (from any type) to a string.
*
* Returns pointer to a static buffer (for type string, returns pointer to
* Return pointer to a static buffer (for type string, return pointer to
* string itself), which must be used immediately, it is overwritten by
* subsequent calls to this function.
*/
@@ -611,7 +611,7 @@ hashtable_to_string (enum t_hashtable_type type, const void *value)
}
/*
* Calls a function on all hashtable entries.
* Call a function on all hashtable entries.
*/
void
@@ -639,7 +639,7 @@ hashtable_map (struct t_hashtable *hashtable,
}
/*
* Calls a function on all hashtable entries (sends keys and values as strings).
* Call a function on all hashtable entries (sends keys and values as strings).
*/
void
@@ -680,7 +680,7 @@ hashtable_map_string (struct t_hashtable *hashtable,
}
/*
* Duplicates key/value in another hashtable (callback called for each variable
* Duplicate key/value in another hashtable (callback called for each variable
* in hashtable).
*/
@@ -700,9 +700,9 @@ hashtable_duplicate_map_cb (void *data,
}
/*
* Duplicates a hashtable.
* Duplicate a hashtable.
*
* Returns pointer to new hashtable, NULL if error.
* Return pointer to new hashtable, NULL if error.
*/
struct t_hashtable *
@@ -731,7 +731,7 @@ hashtable_dup (struct t_hashtable *hashtable)
}
/*
* Builds sorted list of keys (callback called for each variable in hashtable).
* Build sorted list of keys (callback called for each variable in hashtable).
*/
void
@@ -752,7 +752,7 @@ hashtable_get_list_keys_map_cb (void *data,
}
/*
* Gets list with sorted keys of hashtable.
* Get list with sorted keys of hashtable.
*
* Note: list must be freed after use.
*/
@@ -772,7 +772,7 @@ hashtable_get_list_keys (struct t_hashtable *hashtable)
}
/*
* Gets a hashtable property as integer.
* Get a hashtable property as integer.
*/
int
@@ -790,7 +790,7 @@ hashtable_get_integer (struct t_hashtable *hashtable, const char *property)
}
/*
* Computes length of all keys (callback called for each variable in hashtable).
* Compute length of all keys (callback called for each variable in hashtable).
*/
void
@@ -812,7 +812,7 @@ hashtable_compute_length_keys_cb (void *data,
}
/*
* Computes length of all values (callback called for each variable in
* Compute length of all values (callback called for each variable in
* hashtable).
*/
@@ -842,7 +842,7 @@ hashtable_compute_length_values_cb (void *data,
}
/*
* Computes length of all keys + values (callback called for each variable in
* Compute length of all keys + values (callback called for each variable in
* hashtable).
*/
@@ -856,7 +856,7 @@ hashtable_compute_length_keys_values_cb (void *data,
}
/*
* Builds a string with all keys (callback called for each variable in
* Build a string with all keys (callback called for each variable in
* hashtable).
*/
@@ -882,7 +882,7 @@ hashtable_build_string_keys_cb (void *data,
}
/*
* Builds a string with all values (callback called for each variable in
* Build a string with all values (callback called for each variable in
* hashtable).
*/
@@ -915,7 +915,7 @@ hashtable_build_string_values_cb (void *data,
}
/*
* Builds a string with all keys + values (callback called for each variable in
* Build a string with all keys + values (callback called for each variable in
* hashtable).
*/
@@ -951,9 +951,9 @@ hashtable_build_string_keys_values_cb (void *data,
}
/*
* Gets keys and/or values of hashtable as string.
* Get keys and/or values of hashtable as string.
*
* Returns a string with one of these formats:
* Return a string with one of these formats:
* if keys == 1 and values == 0: "key1,key2,key3"
* if keys == 0 and values == 1: "value1,value2,value3"
* if keys == 1 and values == 1: "key1:value1,key2:value2,key3:value3"
@@ -1028,7 +1028,7 @@ hashtable_get_keys_values (struct t_hashtable *hashtable,
}
/*
* Gets a hashtable property as string.
* Get a hashtable property as string.
*/
const char *
@@ -1056,7 +1056,7 @@ hashtable_get_string (struct t_hashtable *hashtable, const char *property)
}
/*
* Sets a hashtable property (pointer).
* Set a hashtable property (pointer).
*/
void
@@ -1073,9 +1073,9 @@ hashtable_set_pointer (struct t_hashtable *hashtable, const char *property,
}
/*
* Adds hashtable keys and values in an infolist.
* Add hashtable keys and values in an infolist.
*
* Returns:
* Return:
* 1: OK
* 0: error
*/
@@ -1148,9 +1148,9 @@ hashtable_add_to_infolist (struct t_hashtable *hashtable,
}
/*
* Adds hashtable keys and values from an infolist.
* Add hashtable keys and values from an infolist.
*
* Returns:
* Return:
* 1: OK
* 0: error
*/
@@ -1238,7 +1238,7 @@ hashtable_add_from_infolist (struct t_hashtable *hashtable,
}
/*
* Removes an item from hashtable.
* Remove an item from hashtable.
*/
void
@@ -1277,7 +1277,7 @@ hashtable_remove_item (struct t_hashtable *hashtable,
}
/*
* Removes an item from hashtable (searches it with key).
* Remove an item from hashtable (searches it with key).
*/
void
@@ -1295,7 +1295,7 @@ hashtable_remove (struct t_hashtable *hashtable, const void *key)
}
/*
* Removes all items from hashtable.
* Remove all items from hashtable.
*/
void
@@ -1316,7 +1316,7 @@ hashtable_remove_all (struct t_hashtable *hashtable)
}
/*
* Frees a hashtable: removes all items and frees hashtable.
* Free a hashtable: removes all items and frees hashtable.
*/
void
@@ -1332,7 +1332,7 @@ hashtable_free (struct t_hashtable *hashtable)
}
/*
* Prints hashtable in WeeChat log file (usually for crash dump).
* Print hashtable in WeeChat log file (usually for crash dump).
*/
void
+55 -55
View File
@@ -46,7 +46,7 @@ char *hdata_type_string[WEECHAT_NUM_HDATA_TYPES] =
/*
* Frees a hdata variable.
* Free a hdata variable.
*/
void
@@ -68,7 +68,7 @@ hdata_free_var_cb (struct t_hashtable *hashtable, const void *key, void *value)
}
/*
* Frees a hdata list.
* Free a hdata list.
*/
void
@@ -82,9 +82,9 @@ hdata_free_list_cb (struct t_hashtable *hashtable, const void *key, void *value)
}
/*
* Creates a new hdata.
* Create a new hdata.
*
* Returns pointer to new hdata, NULL if error.
* Return pointer to new hdata, NULL if error.
*/
struct t_hdata *
@@ -133,7 +133,7 @@ hdata_new (struct t_weechat_plugin *plugin, const char *hdata_name,
}
/*
* Adds a new variable in a hdata.
* Add a new variable in a hdata.
*/
void
@@ -172,7 +172,7 @@ hdata_new_var (struct t_hdata *hdata, const char *name, int offset, int type,
}
/*
* Adds a new list pointer in a hdata.
* Add a new list pointer in a hdata.
*/
void
@@ -194,7 +194,7 @@ hdata_new_list (struct t_hdata *hdata, const char *name, void *pointer,
}
/*
* Gets offset of variable in hdata.
* Get offset of variable in hdata.
*/
int
@@ -213,7 +213,7 @@ hdata_get_var_offset (struct t_hdata *hdata, const char *name)
}
/*
* Gets type of variable in hdata (as integer).
* Get type of variable in hdata (as integer).
*/
int
@@ -232,7 +232,7 @@ hdata_get_var_type (struct t_hdata *hdata, const char *name)
}
/*
* Gets type of variable in hdata (as string).
* Get type of variable in hdata (as string).
*/
const char *
@@ -251,9 +251,9 @@ hdata_get_var_type_string (struct t_hdata *hdata, const char *name)
}
/*
* Gets size of array for a variable (if variable is an array).
* Get size of array for a variable (if variable is an array).
*
* Returns size of array, -1 if variable is not an array (or if error).
* Return size of array, -1 if variable is not an array (or if error).
*/
int
@@ -351,7 +351,7 @@ hdata_get_var_array_size (struct t_hdata *hdata, void *pointer,
}
/*
* Gets size of array for variable as string.
* Get size of array for variable as string.
*/
const char *
@@ -374,9 +374,9 @@ hdata_get_var_array_size_string (struct t_hdata *hdata, void *pointer,
}
/*
* Gets hdata name for a variable.
* Get hdata name for a variable.
*
* Returns hdata name, NULL if variable has no hdata.
* Return hdata name, NULL if variable has no hdata.
*/
const char *
@@ -395,7 +395,7 @@ hdata_get_var_hdata (struct t_hdata *hdata, const char *name)
}
/*
* Gets pointer to content of variable using hdata variable name.
* Get pointer to content of variable using hdata variable name.
*/
void *
@@ -414,7 +414,7 @@ hdata_get_var (struct t_hdata *hdata, void *pointer, const char *name)
}
/*
* Gets pointer to content of variable using hdata variable offset.
* Get pointer to content of variable using hdata variable offset.
*/
void *
@@ -427,7 +427,7 @@ hdata_get_var_at_offset (struct t_hdata *hdata, void *pointer, int offset)
}
/*
* Gets a list pointer in hdata.
* Get a list pointer in hdata.
*/
void *
@@ -446,9 +446,9 @@ hdata_get_list (struct t_hdata *hdata, const char *name)
}
/*
* Checks if a pointer is in the list.
* Check if a pointer is in the list.
*
* Returns:
* Return:
* 1: pointer exists in list
* 0: pointer does not exist
*/
@@ -476,7 +476,7 @@ hdata_check_pointer_in_list (struct t_hdata *hdata, void *list, void *pointer)
}
/*
* Checks if a pointer is in a list with flag "check_pointers".
* Check if a pointer is in a list with flag "check_pointers".
*/
void
@@ -513,14 +513,14 @@ hdata_check_pointer_map_cb (void *data, struct t_hashtable *hashtable,
}
/*
* Checks if a pointer is valid for a given hdata/list.
* Check if a pointer is valid for a given hdata/list.
*
* If argument "list" is NULL, the check is made with all lists in hdata
* that have flag "check_pointers". If no list is defined with this flag,
* the pointer is considered valid (so this function returns 1); if the
* pointer is not found in any list, this function returns 0.
* the pointer is considered valid (so this function return 1); if the
* pointer is not found in any list, this function return 0.
*
* Returns:
* Return:
* 1: pointer exists in the given list (or a list with check_pointers flag)
* 0: pointer does not exist
*/
@@ -553,7 +553,7 @@ hdata_check_pointer (struct t_hdata *hdata, void *list, void *pointer)
}
/*
* Moves pointer to another element in list.
* Move pointer to another element in list.
*/
void *
@@ -579,9 +579,9 @@ hdata_move (struct t_hdata *hdata, void *pointer, int count)
}
/*
* Searches for an element in list using expression.
* Search for an element in list using expression.
*
* Returns pointer to element found, NULL if not found.
* Return pointer to element found, NULL if not found.
*/
void *
@@ -659,7 +659,7 @@ end:
}
/*
* Returns number of item in this hdata, starting at "pointer".
* Return number of item in this hdata, starting at "pointer".
*/
int
@@ -680,7 +680,7 @@ hdata_count (struct t_hdata *hdata, void *pointer)
}
/*
* Extracts index from name of a variable.
* Extract index from name of a variable.
*
* A name can contain index with this format: "NNN|name" (where NNN is an
* integer >= 0).
@@ -723,7 +723,7 @@ hdata_get_index_and_name (const char *name, int *index, const char **ptr_name)
}
/*
* Gets char value of a variable in hdata.
* Get char value of a variable in hdata.
*/
char
@@ -757,7 +757,7 @@ hdata_char (struct t_hdata *hdata, void *pointer, const char *name)
}
/*
* Gets integer value of a variable in hdata.
* Get integer value of a variable in hdata.
*/
int
@@ -791,7 +791,7 @@ hdata_integer (struct t_hdata *hdata, void *pointer, const char *name)
}
/*
* Gets long value of a variable in hdata.
* Get long value of a variable in hdata.
*/
long
@@ -825,7 +825,7 @@ hdata_long (struct t_hdata *hdata, void *pointer, const char *name)
}
/*
* Gets "long long" value of a variable in hdata.
* Get "long long" value of a variable in hdata.
*/
long long
@@ -859,7 +859,7 @@ hdata_longlong (struct t_hdata *hdata, void *pointer, const char *name)
}
/*
* Gets string value of a variable in hdata.
* Get string value of a variable in hdata.
*/
const char *
@@ -896,7 +896,7 @@ hdata_string (struct t_hdata *hdata, void *pointer, const char *name)
}
/*
* Gets pointer value of a variable in hdata.
* Get pointer value of a variable in hdata.
*/
void *
@@ -930,7 +930,7 @@ hdata_pointer (struct t_hdata *hdata, void *pointer, const char *name)
}
/*
* Gets time value of a variable in hdata.
* Get time value of a variable in hdata.
*/
time_t
@@ -964,7 +964,7 @@ hdata_time (struct t_hdata *hdata, void *pointer, const char *name)
}
/*
* Gets hashtable value of a variable in hdata.
* Get hashtable value of a variable in hdata.
*/
struct t_hashtable *
@@ -998,11 +998,11 @@ hdata_hashtable (struct t_hdata *hdata, void *pointer, const char *name)
}
/*
* Compares a hdata variable of two objects.
* Compare a hdata variable of two objects.
*
* If case_sensitive == 1, the comparison of strings is case-sensitive.
*
* Returns:
* Return:
* -1: variable1 < variable2
* 0: variable1 == variable2
* 1: variable1 > variable2
@@ -1230,13 +1230,13 @@ end:
}
/*
* Sets value for a variable in hdata.
* Set value for a variable in hdata.
*
* WARNING: this is dangerous, and only some variables can be set by this
* function (this depends on hdata, see API doc for more info) and this
* function can be called *ONLY* in an "update" callback (in hdata).
*
* Returns:
* Return:
* 1: OK (value set)
* 0: error (or not allowed)
*/
@@ -1338,7 +1338,7 @@ hdata_set (struct t_hdata *hdata, void *pointer, const char *name,
}
/*
* Updates some data in hdata.
* Update some data in hdata.
*
* The hashtable contains keys with new values.
* A special key "__delete" can be used to delete the whole structure at
@@ -1347,8 +1347,8 @@ hdata_set (struct t_hdata *hdata, void *pointer, const char *name,
* WARNING: this is dangerous, and only some data can be updated by this
* function (this depends on hdata, see API doc for more info).
*
* Returns number of variables updated, 0 if nothing has been updated.
* In case of deletion, returns 1 if OK, 0 if error.
* Return number of variables updated, 0 if nothing has been updated.
* In case of deletion, return 1 if OK, 0 if error.
*/
int
@@ -1390,7 +1390,7 @@ hdata_update (struct t_hdata *hdata, void *pointer,
}
/*
* Gets a hdata property as string.
* Get a hdata property as string.
*/
const char *
@@ -1420,7 +1420,7 @@ hdata_get_string (struct t_hdata *hdata, const char *property)
}
/*
* Frees a hdata.
* Free a hdata.
*/
void
@@ -1439,7 +1439,7 @@ hdata_free (struct t_hdata *hdata)
}
/*
* Frees hdata for a plugin (callback called for each hdata in memory).
* Free hdata for a plugin (callback called for each hdata in memory).
*/
void
@@ -1455,7 +1455,7 @@ hdata_free_all_plugin_map_cb (void *data, struct t_hashtable *hashtable,
}
/*
* Frees all hdata created by a plugin.
* Free all hdata created by a plugin.
*/
void
@@ -1465,7 +1465,7 @@ hdata_free_all_plugin (struct t_weechat_plugin *plugin)
}
/*
* Frees all hdata.
* Free all hdata.
*/
void
@@ -1475,7 +1475,7 @@ hdata_free_all (void)
}
/*
* Prints variable of a hdata in WeeChat log file (callback called for each
* Print variable of a hdata in WeeChat log file (callback called for each
* variable in hdata).
*/
@@ -1501,7 +1501,7 @@ hdata_print_log_var_map_cb (void *data, struct t_hashtable *hashtable,
}
/*
* Prints hdata in WeeChat log file (callback called for each hdata in memory).
* Print hdata in WeeChat log file (callback called for each hdata in memory).
*/
void
@@ -1538,7 +1538,7 @@ hdata_print_log_map_cb (void *data, struct t_hashtable *hashtable,
}
/*
* Prints hdata in WeeChat log file (usually for crash dump).
* Print hdata in WeeChat log file (usually for crash dump).
*/
void
@@ -1548,7 +1548,7 @@ hdata_print_log (void)
}
/*
* Frees a hdata in hashtable "weechat_hdata".
* Free a hdata in hashtable "weechat_hdata".
*/
void
@@ -1563,7 +1563,7 @@ hdata_free_hdata_cb (struct t_hashtable *hashtable,
}
/*
* Initializes hdata: creates a hashtable with hdata.
* Initialize hdata: creates a hashtable with hdata.
*/
void
@@ -1578,7 +1578,7 @@ hdata_init (void)
}
/*
* Frees all hdata and hashtable with hdata.
* Free all hdata and hashtable with hdata.
*/
void
+27 -27
View File
@@ -158,7 +158,7 @@ t_callback_hook *hook_callback_print_log[HOOK_NUM_TYPES] =
/*
* Initializes hooks.
* Initialize hooks.
*/
void
@@ -214,9 +214,9 @@ hook_init (void)
}
/*
* Searches for a hook type.
* Search for a hook type.
*
* Returns index of type in enum t_hook_type, -1 if type is not found.
* Return index of type in enum t_hook_type, -1 if type is not found.
*/
int
@@ -238,7 +238,7 @@ hook_search_type (const char *type)
}
/*
* Searches for position of hook in list (to keep hooks sorted).
* Search for position of hook in list (to keep hooks sorted).
*
* Hooks are sorted by priority, except commands which are sorted by command
* name, and then priority.
@@ -283,7 +283,7 @@ hook_find_pos (struct t_hook *hook)
}
/*
* Adds a hook to list.
* Add a hook to list.
*/
void
@@ -330,7 +330,7 @@ hook_add_to_list (struct t_hook *new_hook)
}
/*
* Removes a hook from list.
* Remove a hook from list.
*/
void
@@ -366,7 +366,7 @@ hook_remove_from_list (struct t_hook *hook)
}
/*
* Removes hooks marked as "deleted" from list.
* Remove hooks marked as "deleted" from list.
*/
void
@@ -395,7 +395,7 @@ hook_remove_deleted (void)
}
/*
* Initializes a new hook with default values.
* Initialize a new hook with default values.
*/
void
@@ -426,9 +426,9 @@ hook_init_data (struct t_hook *hook, struct t_weechat_plugin *plugin,
}
/*
* Checks if a hook pointer is valid.
* Check if a hook pointer is valid.
*
* Returns:
* Return:
* 1: hook exists
* 0: hook does not exist
*/
@@ -457,7 +457,7 @@ hook_valid (struct t_hook *hook)
}
/*
* Starts a hook exec.
* Start a hook exec.
*/
void
@@ -467,7 +467,7 @@ hook_exec_start (void)
}
/*
* Ends a hook_exec.
* End a hook_exec.
*/
void
@@ -481,7 +481,7 @@ hook_exec_end (void)
}
/*
* Starts execution of a hook callback.
* Start execution of a hook callback.
*/
void
@@ -504,7 +504,7 @@ hook_callback_start (struct t_hook *hook, struct t_hook_exec_cb *hook_exec_cb)
}
/*
* Ends execution of a hook callback.
* End execution of a hook callback.
*/
void
@@ -541,7 +541,7 @@ hook_callback_end (struct t_hook *hook, struct t_hook_exec_cb *hook_exec_cb)
}
/*
* Returns description of hook.
* Return description of hook.
*
* Note: result must be freed after use.
*/
@@ -553,7 +553,7 @@ hook_get_description (struct t_hook *hook)
}
/*
* Sets a hook property (string).
* Set a hook property (string).
*/
void
@@ -691,7 +691,7 @@ hook_schedule_clean_process (pid_t pid)
}
/*
* Unhooks something.
* Unhook something.
*/
void
@@ -743,7 +743,7 @@ unhook (struct t_hook *hook)
}
/*
* Unhooks everything for a plugin/subplugin.
* Unhook everything for a plugin/subplugin.
*/
void
@@ -773,7 +773,7 @@ unhook_all_plugin (struct t_weechat_plugin *plugin, const char *subplugin)
}
/*
* Unhooks everything.
* Unhook everything.
*/
void
@@ -795,7 +795,7 @@ unhook_all (void)
}
/*
* Returns hdata for hook.
* Return hdata for hook.
*/
struct t_hdata *
@@ -839,9 +839,9 @@ hook_hdata_hook_cb (const void *pointer, void *data, const char *hdata_name)
}
/*
* Adds a hook in an infolist.
* Add a hook in an infolist.
*
* Returns:
* Return:
* 1: OK
* 0: error
*/
@@ -890,9 +890,9 @@ hook_add_to_infolist_pointer (struct t_infolist *infolist, struct t_hook *hook)
}
/*
* Adds hooks of a type in an infolist.
* Add hooks of a type in an infolist.
*
* Returns:
* Return:
* 1: OK
* 0: error
*/
@@ -930,11 +930,11 @@ hook_add_to_infolist_type (struct t_infolist *infolist, int type,
}
/*
* Adds hooks in an infolist.
* Add hooks in an infolist.
*
* Argument "arguments" can be a hook type with optional comma + name after.
*
* Returns:
* Return:
* 1: OK
* 0: error
*/
@@ -982,7 +982,7 @@ hook_add_to_infolist (struct t_infolist *infolist, struct t_hook *pointer,
}
/*
* Prints hooks in WeeChat log file (usually for crash dump).
* Print hooks in WeeChat log file (usually for crash dump).
*/
void
+33 -33
View File
@@ -43,9 +43,9 @@ char *infolist_type_char_string[INFOLIST_NUM_TYPES] = {
/*
* Creates a new infolist.
* Create a new infolist.
*
* Returns pointer to infolist, NULL if error.
* Return pointer to infolist, NULL if error.
*/
struct t_infolist *
@@ -74,9 +74,9 @@ infolist_new (struct t_weechat_plugin *plugin)
}
/*
* Checks if an infolist pointer is valid.
* Check if an infolist pointer is valid.
*
* Returns:
* Return:
* 1: infolist exists
* 0: infolist is not found
*/
@@ -101,9 +101,9 @@ infolist_valid (struct t_infolist *infolist)
}
/*
* Creates a new item in an infolist.
* Create a new item in an infolist.
*
* Returns pointer to new item, NULL if error.
* Return pointer to new item, NULL if error.
*/
struct t_infolist_item *
@@ -131,9 +131,9 @@ infolist_new_item (struct t_infolist *infolist)
}
/*
* Creates a new integer variable in an item.
* Create a new integer variable in an item.
*
* Returns pointer to new variable, NULL if error.
* Return pointer to new variable, NULL if error.
*/
struct t_infolist_var *
@@ -168,9 +168,9 @@ infolist_new_var_integer (struct t_infolist_item *item,
}
/*
* Creates a new string variable in an item.
* Create a new string variable in an item.
*
* Returns pointer to new variable, NULL if error.
* Return pointer to new variable, NULL if error.
*/
struct t_infolist_var *
@@ -203,9 +203,9 @@ infolist_new_var_string (struct t_infolist_item *item,
}
/*
* Creates a new pointer variable in an item.
* Create a new pointer variable in an item.
*
* Returns pointer to new variable, NULL if error.
* Return pointer to new variable, NULL if error.
*/
struct t_infolist_var *
@@ -238,9 +238,9 @@ infolist_new_var_pointer (struct t_infolist_item *item,
}
/*
* Creates a new buffer variable in an item.
* Create a new buffer variable in an item.
*
* Returns pointer to new variable, NULL if error.
* Return pointer to new variable, NULL if error.
*/
struct t_infolist_var *
@@ -285,9 +285,9 @@ infolist_new_var_buffer (struct t_infolist_item *item,
}
/*
* Creates a new time variable in an item.
* Create a new time variable in an item.
*
* Returns pointer to new variable, NULL if error.
* Return pointer to new variable, NULL if error.
*/
struct t_infolist_var *
@@ -322,9 +322,9 @@ infolist_new_var_time (struct t_infolist_item *item,
}
/*
* Gets next item for an infolist.
* Get next item for an infolist.
*
* If pointer is NULL, returns first item of infolist.
* If pointer is NULL, return first item of infolist.
*/
struct t_infolist_item *
@@ -343,9 +343,9 @@ infolist_next (struct t_infolist *infolist)
}
/*
* Gets previous item for an infolist.
* Get previous item for an infolist.
*
* If pointer is NULL, returns last item of infolist.
* If pointer is NULL, return last item of infolist.
*/
struct t_infolist_item *
@@ -364,7 +364,7 @@ infolist_prev (struct t_infolist *infolist)
}
/*
* Resets pointer to current item in infolist.
* Reset pointer to current item in infolist.
*/
void
@@ -377,7 +377,7 @@ infolist_reset_item_cursor (struct t_infolist *infolist)
}
/*
* Searches for a variable in current infolist item.
* Search for a variable in current infolist item.
*/
struct t_infolist_var *
@@ -400,7 +400,7 @@ infolist_search_var (struct t_infolist *infolist, const char *name)
}
/*
* Gets list of fields for current infolist item.
* Get list of fields for current infolist item.
*/
const char *
@@ -434,7 +434,7 @@ infolist_fields (struct t_infolist *infolist)
}
/*
* Gets integer value for a variable in current infolist item.
* Get integer value for a variable in current infolist item.
*/
int
@@ -462,7 +462,7 @@ infolist_integer (struct t_infolist *infolist, const char *var)
}
/*
* Gets string value for a variable in current infolist item.
* Get string value for a variable in current infolist item.
*/
const char *
@@ -490,7 +490,7 @@ infolist_string (struct t_infolist *infolist, const char *var)
}
/*
* Gets pointer value for a variable in current infolist item.
* Get pointer value for a variable in current infolist item.
*/
void *
@@ -518,7 +518,7 @@ infolist_pointer (struct t_infolist *infolist, const char *var)
}
/*
* Gets buffer value for a variable in current infolist item.
* Get buffer value for a variable in current infolist item.
*
* Argument "size" is set with the size of buffer.
*/
@@ -552,7 +552,7 @@ infolist_buffer (struct t_infolist *infolist, const char *var,
}
/*
* Gets time value for a variable in current infolist item.
* Get time value for a variable in current infolist item.
*/
time_t
@@ -580,7 +580,7 @@ infolist_time (struct t_infolist *infolist, const char *var)
}
/*
* Frees a variable in item.
* Free a variable in item.
*/
void
@@ -623,7 +623,7 @@ infolist_var_free (struct t_infolist_item *item,
}
/*
* Frees an item in infolist.
* Free an item in infolist.
*/
void
@@ -662,7 +662,7 @@ infolist_item_free (struct t_infolist *infolist,
}
/*
* Frees an infolist.
* Free an infolist.
*/
void
@@ -699,7 +699,7 @@ infolist_free (struct t_infolist *infolist)
}
/*
* Frees all infolists created by a plugin.
* Free all infolists created by a plugin.
*/
void
@@ -718,7 +718,7 @@ infolist_free_all_plugin (struct t_weechat_plugin *plugin)
}
/*
* Prints infolists in WeeChat log file (usually for crash dump).
* Print infolists in WeeChat log file (usually for crash dump).
*/
void
+8 -8
View File
@@ -45,9 +45,9 @@ char **input_commands_allowed = NULL;
/*
* Sends data to buffer input callback.
* Send data to buffer input callback.
*
* Returns the return code of buffer callback, or WEECHAT_RC_ERROR if the
* Return the return code of buffer callback, or WEECHAT_RC_ERROR if the
* buffer has no input callback.
*/
@@ -72,9 +72,9 @@ input_exec_data (struct t_gui_buffer *buffer, const char *data)
}
/*
* Executes a command.
* Execute a command.
*
* Returns:
* Return:
* WEECHAT_RC_OK: command executed
* WEECHAT_RC_ERROR: error, command not executed
*/
@@ -228,12 +228,12 @@ end:
}
/*
* Sends data to a buffer's callback.
* Send data to a buffer's callback.
*
* If split_newline = 1 and if buffer input_multiline = 0, the string
* is split on "\n" and multiple commands can then be executed.
*
* Returns:
* Return:
* WEECHAT_RC_OK: data properly sent (or command executed successfully)
* WEECHAT_RC_ERROR: error
*/
@@ -399,12 +399,12 @@ input_data_timer_cb (const void *pointer, void *data, int remaining_calls)
}
/*
* Sends data to a buffer's callback with an optional delay (in milliseconds).
* Send data to a buffer's callback with an optional delay (in milliseconds).
*
* If delay < 1, the command is executed immediately.
* If delay >= 1, the command is scheduled for execution in this number of ms.
*
* Returns:
* Return:
* WEECHAT_RC_OK: data properly sent or scheduled for execution
* WEECHAT_RC_ERROR: error
*/
+27 -27
View File
@@ -36,9 +36,9 @@
/*
* Creates a new list.
* Create a new list.
*
* Returns pointer to new list, NULL if error.
* Return pointer to new list, NULL if error.
*/
struct t_weelist *
@@ -57,7 +57,7 @@ weelist_new (void)
}
/*
* Searches for position of data (to keep list sorted).
* Search for position of data (to keep list sorted).
*/
struct t_weelist_item *
@@ -79,7 +79,7 @@ weelist_find_pos (struct t_weelist *weelist, const char *data)
}
/*
* Inserts an element in the list (keeping list sorted).
* Insert an element in the list (keeping list sorted).
*/
void
@@ -140,9 +140,9 @@ weelist_insert (struct t_weelist *weelist, struct t_weelist_item *item,
}
/*
* Creates new data and add it to the list.
* Create new data and add it to the list.
*
* Returns pointer to new item, NULL if error.
* Return pointer to new item, NULL if error.
*/
struct t_weelist_item *
@@ -166,9 +166,9 @@ weelist_add (struct t_weelist *weelist, const char *data, const char *where,
}
/*
* Searches for data in a list (case-sensitive).
* Search for data in a list (case-sensitive).
*
* Returns pointer to item found, NULL if not found.
* Return pointer to item found, NULL if not found.
*/
struct t_weelist_item *
@@ -190,9 +190,9 @@ weelist_search (struct t_weelist *weelist, const char *data)
}
/*
* Searches for data in a list (case-sensitive).
* Search for data in a list (case-sensitive).
*
* Returns position of item found (>= 0), -1 if not found.
* Return position of item found (>= 0), -1 if not found.
*/
int
@@ -217,9 +217,9 @@ weelist_search_pos (struct t_weelist *weelist, const char *data)
}
/*
* Searches for data in a list (case-insensitive).
* Search for data in a list (case-insensitive).
*
* Returns pointer to item found, NULL if not found.
* Return pointer to item found, NULL if not found.
*/
struct t_weelist_item *
@@ -241,9 +241,9 @@ weelist_casesearch (struct t_weelist *weelist, const char *data)
}
/*
* Searches for data in a list (case-insensitive).
* Search for data in a list (case-insensitive).
*
* Returns position of item found (>= 0), -1 if not found.
* Return position of item found (>= 0), -1 if not found.
*/
int
@@ -268,7 +268,7 @@ weelist_casesearch_pos (struct t_weelist *weelist, const char *data)
}
/*
* Gets an item in a list by position (0 is first element).
* Get an item in a list by position (0 is first element).
*/
struct t_weelist_item *
@@ -294,7 +294,7 @@ weelist_get (struct t_weelist *weelist, int position)
}
/*
* Sets a new value for an item.
* Set a new value for an item.
*/
void
@@ -308,9 +308,9 @@ weelist_set (struct t_weelist_item *item, const char *value)
}
/*
* Gets next item.
* Get next item.
*
* Returns NULL if end of list has been reached.
* Return NULL if end of list has been reached.
*/
struct t_weelist_item *
@@ -323,9 +323,9 @@ weelist_next (struct t_weelist_item *item)
}
/*
* Gets previous item.
* Get previous item.
*
* Returns NULL if beginning of list has been reached.
* Return NULL if beginning of list has been reached.
*/
struct t_weelist_item *
@@ -338,7 +338,7 @@ weelist_prev (struct t_weelist_item *item)
}
/*
* Gets string pointer to item data.
* Get string pointer to item data.
*/
const char *
@@ -351,7 +351,7 @@ weelist_string (struct t_weelist_item *item)
}
/*
* Gets user data pointer to item data.
* Get user data pointer to item data.
*/
void *
@@ -364,7 +364,7 @@ weelist_user_data (struct t_weelist_item *item)
}
/*
* Gets size of list.
* Get size of list.
*/
int
@@ -377,7 +377,7 @@ weelist_size (struct t_weelist *weelist)
}
/*
* Removes an item from a list.
* Remove an item from a list.
*/
void
@@ -411,7 +411,7 @@ weelist_remove (struct t_weelist *weelist, struct t_weelist_item *item)
}
/*
* Removes all items from a list.
* Remove all items from a list.
*/
void
@@ -427,7 +427,7 @@ weelist_remove_all (struct t_weelist *weelist)
}
/*
* Frees a list.
* Free a list.
*/
void
@@ -441,7 +441,7 @@ weelist_free (struct t_weelist *weelist)
}
/*
* Prints list in WeeChat log file (usually for crash dump).
* Print list in WeeChat log file (usually for crash dump).
*/
void
+7 -7
View File
@@ -54,9 +54,9 @@ int weechat_log_use_time = 1; /* 0 to temporary disable time in log, */
/*
* Opens the WeeChat log file.
* Open the WeeChat log file.
*
* Returns:
* Return:
* 1: OK
* 0: error
*/
@@ -116,7 +116,7 @@ log_open (const char *filename, const char *mode)
}
/*
* Initializes the WeeChat log file.
* Initialize the WeeChat log file.
*/
void
@@ -140,7 +140,7 @@ log_init (void)
}
/*
* Writes a message in WeeChat log file.
* Write a message in WeeChat log file.
*/
void
@@ -193,7 +193,7 @@ log_printf (const char *message, ...)
}
/*
* Dumps a string as hexa data in WeeChat log file.
* Dump a string as hexa data in WeeChat log file.
*/
void
@@ -227,7 +227,7 @@ log_printf_hexa (const char *spaces, const char *string)
}
/*
* Closes the WeeChat log file.
* Close the WeeChat log file.
*/
void
@@ -252,7 +252,7 @@ log_close (void)
}
/*
* Renames the WeeChat log file (when crashing).
* Rename the WeeChat log file (when crashing).
*
* The file "weechat.log" is renamed to "weechat_crash_YYYYMMDD_NNNN.log",
* where YYYYMMDD is the current date and NNNN the PID of WeeChat process.
+32 -32
View File
@@ -72,7 +72,7 @@ gnutls_certificate_credentials_t gnutls_xcred; /* GnuTLS client credentials */
/*
* Initializes gcrypt.
* Initialize gcrypt.
*/
void
@@ -87,7 +87,7 @@ network_init_gcrypt (void)
}
/*
* Allocates credentials structure.
* Allocate credentials structure.
*/
void
@@ -101,9 +101,9 @@ network_allocate_credentials (void)
}
/*
* Loads system's default trusted certificate authorities.
* Load system's default trusted certificate authorities.
*
* Returns the number of certificates loaded.
* Return the number of certificates loaded.
*/
int
@@ -143,7 +143,7 @@ network_load_system_ca_file (int force_display)
}
/*
* Loads user's trusted certificate authorities.
* Load user's trusted certificate authorities.
*/
int
@@ -229,7 +229,7 @@ end:
}
/*
* Loads system's default and user's trusted certificate authorities.
* Load system's default and user's trusted certificate authorities.
*/
void
@@ -247,7 +247,7 @@ network_load_ca_files (int force_display)
}
/*
* Reloads system's default and user's trusted certificate authorities.
* Reload system's default and user's trusted certificate authorities.
*/
void
@@ -271,7 +271,7 @@ network_reload_ca_files (int force_display)
}
/*
* Initializes GnuTLS.
* Initialize GnuTLS.
*/
void
@@ -288,7 +288,7 @@ network_init_gnutls (void)
}
/*
* Ends network.
* End network.
*/
void
@@ -306,9 +306,9 @@ network_end (void)
}
/*
* Checks if a string contains a valid IP address (IPv4 or IPv6).
* Check if a string contains a valid IP address (IPv4 or IPv6).
*
* Returns:
* Return:
* 1: string is a valid IPv4 or IPv6
* 0: string is not a valid IP address
*/
@@ -335,12 +335,12 @@ network_is_ip_address (const char *address)
}
/*
* Sends data on a socket with retry.
* Send data on a socket with retry.
*
* WARNING: this function is blocking, it must be called only in a forked
* process.
*
* Returns number of bytes sent, -1 if error.
* Return number of bytes sent, -1 if error.
*/
int
@@ -367,12 +367,12 @@ network_send_with_retry (int sock, const void *buffer, int length, int flags)
}
/*
* Receives data on a socket with retry.
* Receive data on a socket with retry.
*
* WARNING: this function is blocking, it must be called only in a forked
* process.
*
* Returns number of bytes received, -1 if error.
* Return number of bytes received, -1 if error.
*/
int
@@ -399,12 +399,12 @@ network_recv_with_retry (int sock, void *buffer, int length, int flags)
}
/*
* Establishes a connection and authenticates with a HTTP proxy.
* Establish a connection and authenticates with a HTTP proxy.
*
* WARNING: this function is blocking, it must be called only in a forked
* process.
*
* Returns:
* Return:
* 1: OK
* 0: error
*/
@@ -463,9 +463,9 @@ network_pass_httpproxy (struct t_proxy *proxy, int sock, const char *address,
}
/*
* Resolves a hostname to its IP address (works with IPv4 and IPv6).
* Resolve a hostname to its IP address (works with IPv4 and IPv6).
*
* Returns:
* Return:
* 1: OK
* 0: error
*/
@@ -510,14 +510,14 @@ network_resolve (const char *hostname, char *ip, int *version)
}
/*
* Establishes a connection and authenticates with a socks4 proxy.
* Establish a connection and authenticates with a socks4 proxy.
*
* The socks4 protocol is explained here: https://en.wikipedia.org/wiki/SOCKS
*
* WARNING: this function is blocking, it must be called only in a forked
* process.
*
* Returns:
* Return:
* 1: OK
* 0: error
*/
@@ -563,7 +563,7 @@ network_pass_socks4proxy (struct t_proxy *proxy, int sock, const char *address,
}
/*
* Establishes a connection and authenticates with a socks5 proxy.
* Establish a connection and authenticates with a socks5 proxy.
*
* The socks5 protocol is explained in RFC 1928.
* The socks5 authentication with username/pass is explained in RFC 1929.
@@ -571,7 +571,7 @@ network_pass_socks4proxy (struct t_proxy *proxy, int sock, const char *address,
* WARNING: this function is blocking, it must be called only in a forked
* process.
*
* Returns:
* Return:
* 1: OK
* 0: error
*/
@@ -734,12 +734,12 @@ network_pass_socks5proxy (struct t_proxy *proxy, int sock, const char *address,
}
/*
* Establishes a connection and authenticates with a proxy.
* Establish a connection and authenticates with a proxy.
*
* WARNING: this function is blocking, it must be called only in a forked
* process.
*
* Returns:
* Return:
* 1: OK
* 0: error
*/
@@ -772,12 +772,12 @@ network_pass_proxy (const char *proxy, int sock, const char *address, int port)
}
/*
* Connects to a remote host and wait for connection if socket is non blocking.
* Connect to a remote host and wait for connection if socket is non blocking.
*
* WARNING: this function is blocking, it must be called only in a forked
* process.
*
* Returns:
* Return:
* 1: OK
* 0: error
*/
@@ -822,12 +822,12 @@ network_connect (int sock, const struct sockaddr *addr, socklen_t addrlen)
}
/*
* Connects to a remote host.
* Connect to a remote host.
*
* WARNING: this function is blocking, it must be called only in a forked
* process.
*
* Returns:
* Return:
* >= 0: connected socket fd
* -1: error
*/
@@ -913,7 +913,7 @@ error:
}
/*
* Connects to peer in a child process.
* Connect to peer in a child process.
*/
void
@@ -1563,7 +1563,7 @@ network_connect_gnutls_handshake_timer_cb (const void *pointer,
}
/*
* Reads connection progress from child process.
* Read connection progress from child process.
*/
int
@@ -1784,7 +1784,7 @@ network_connect_child_read_cb (const void *pointer, void *data, int fd)
}
/*
* Connects with fork (called by hook_connect() only!).
* Connect with fork (called by hook_connect() only!).
*/
void
+27 -27
View File
@@ -56,9 +56,9 @@ struct t_proxy *last_weechat_temp_proxy = NULL; /* reading configuration */
/*
* Searches for a proxy option.
* Search for a proxy option.
*
* Returns index of option in enum t_proxy_option, -1 if option is not found.
* Return index of option in enum t_proxy_option, -1 if option is not found.
*/
int
@@ -80,9 +80,9 @@ proxy_search_option (const char *option_name)
}
/*
* Searches for a proxy type.
* Search for a proxy type.
*
* Returns index of option in enum t_proxy_type, -1 if type is not found.
* Return index of option in enum t_proxy_type, -1 if type is not found.
*/
int
@@ -104,9 +104,9 @@ proxy_search_type (const char *type)
}
/*
* Checks if a proxy pointer is valid.
* Check if a proxy pointer is valid.
*
* Returns:
* Return:
* 1: proxy exists
* 0: proxy does not exist
*/
@@ -131,9 +131,9 @@ proxy_valid (struct t_proxy *proxy)
}
/*
* Searches for a proxy by name.
* Search for a proxy by name.
*
* Returns pointer to proxy found, NULL if not found.
* Return pointer to proxy found, NULL if not found.
*/
struct t_proxy *
@@ -156,7 +156,7 @@ proxy_search (const char *name)
}
/*
* Sets name for a proxy.
* Set name for a proxy.
*/
void
@@ -193,9 +193,9 @@ proxy_set_name (struct t_proxy *proxy, const char *name)
}
/*
* Sets a property for a proxy.
* Set a property for a proxy.
*
* Returns:
* Return:
* 1: OK
* 0: error
*/
@@ -246,9 +246,9 @@ proxy_set (struct t_proxy *proxy, const char *property, const char *value)
}
/*
* Creates an option for a proxy.
* Create an option for a proxy.
*
* Returns pointer to new option, NULL if error.
* Return pointer to new option, NULL if error.
*/
struct t_config_option *
@@ -330,7 +330,7 @@ proxy_create_option (const char *proxy_name, int index_option,
}
/*
* Creates an option for a temporary proxy (when reading configuration file).
* Create an option for a temporary proxy (when reading configuration file).
*/
void
@@ -347,9 +347,9 @@ proxy_create_option_temp (struct t_proxy *temp_proxy, int index_option,
}
/*
* Allocates and initializes a new proxy structure.
* Allocate and initialize a new proxy structure.
*
* Returns pointer to new proxy, NULL if error.
* Return pointer to new proxy, NULL if error.
*/
struct t_proxy *
@@ -374,9 +374,9 @@ proxy_alloc (const char *name)
}
/*
* Adds a new proxy with options.
* Add a new proxy with options.
*
* Returns pointer to new proxy, NULL if error.
* Return pointer to new proxy, NULL if error.
*/
struct t_proxy *
@@ -415,9 +415,9 @@ proxy_new_with_options (const char *name,
}
/*
* Adds a new proxy.
* Add a new proxy.
*
* Returns pointer to new proxy, NULL if error.
* Return pointer to new proxy, NULL if error.
*/
struct t_proxy *
@@ -470,7 +470,7 @@ proxy_new (const char *name, const char *type, const char *ipv6,
}
/*
* Uses temporary proxies (added by reading configuration file).
* Use temporary proxies (added by reading configuration file).
*/
void
@@ -532,7 +532,7 @@ proxy_use_temp_proxies (void)
}
/*
* Frees a proxy.
* Free a proxy.
*/
void
@@ -564,7 +564,7 @@ proxy_free (struct t_proxy *proxy)
}
/*
* Frees all proxies.
* Free all proxies.
*/
void
@@ -577,7 +577,7 @@ proxy_free_all (void)
}
/*
* Returns hdata for proxy.
* Return hdata for proxy.
*/
struct t_hdata *
@@ -605,9 +605,9 @@ proxy_hdata_proxy_cb (const void *pointer, void *data,
}
/*
* Adds a proxy in an infolist.
* Add a proxy in an infolist.
*
* Returns:
* Return:
* 1: OK
* 0: error
*/
@@ -645,7 +645,7 @@ proxy_add_to_infolist (struct t_infolist *infolist, struct t_proxy *proxy)
}
/*
* Prints proxies in WeeChat log file (usually for crash dump).
* Print proxies in WeeChat log file (usually for crash dump).
*/
void
+4 -4
View File
@@ -49,7 +49,7 @@ int secure_buffer_display_values = 0;
/*
* Displays a secured data.
* Display a secured data.
*/
void
@@ -83,7 +83,7 @@ secure_buffer_display_data (void *data,
}
/*
* Displays content of secured data buffer.
* Display content of secured data buffer.
*/
void
@@ -195,7 +195,7 @@ secure_buffer_close_cb (const void *pointer, void *data,
}
/*
* Assigns secured data buffer to pointer if it is not yet set.
* Assign secured data buffer to pointer if it is not yet set.
*/
void
@@ -213,7 +213,7 @@ secure_buffer_assign (void)
}
/*
* Opens a buffer to display secured data.
* Open a buffer to display secured data.
*/
void
+18 -18
View File
@@ -56,7 +56,7 @@ int secure_config_loading = 0;
/*
* Gets passphrase from user and puts it in variable "secure_passphrase".
* Get passphrase from user and put it in variable "secure_passphrase".
*/
void
@@ -103,9 +103,9 @@ secure_config_get_passphrase_from_user (const char *error)
}
/*
* Gets passphrase from a command.
* Get passphrase from a command.
*
* Returns passphrase from command output (only the first line with max length
* Return passphrase from command output (only the first line with max length
* of SECURE_PASSPHRASE_MAX_LENGTH chars), or NULL if error.
*
* Note: result must be freed after use.
@@ -144,9 +144,9 @@ secure_config_get_passphrase_from_command (const char *command)
}
/*
* Reloads secured data configuration file.
* Reload secured data configuration file.
*
* Returns:
* Return:
* WEECHAT_CONFIG_READ_OK: OK
* WEECHAT_CONFIG_READ_MEMORY_ERROR: not enough memory
* WEECHAT_CONFIG_READ_FILE_NOT_FOUND: file not found
@@ -212,7 +212,7 @@ secure_config_check_crypt_option_cb (const void *pointer, void *data,
}
/*
* Reads a data option in secured data configuration file.
* Read a data option in secured data configuration file.
*/
int
@@ -371,7 +371,7 @@ secure_config_data_read_cb (const void *pointer, void *data,
}
/*
* Encrypts data and writes it in secured data configuration file.
* Encrypt data and write it in secured data configuration file.
*/
void
@@ -464,7 +464,7 @@ secure_config_data_write_map_cb (void *data,
}
/*
* Writes already encrypted data in secured data configuration file.
* Write already encrypted data in secured data configuration file.
*/
void
@@ -484,7 +484,7 @@ secure_config_data_write_map_encrypted_cb (void *data,
}
/*
* Writes section "data" in secured data configuration file.
* Write section "data" in secured data configuration file.
*/
int
@@ -536,9 +536,9 @@ secure_config_data_write_cb (const void *pointer, void *data,
}
/*
* Creates options in secured data configuration.
* Create options in secured data configuration.
*
* Returns:
* Return:
* 1: OK
* 0: error
*/
@@ -631,9 +631,9 @@ secure_config_init_options (void)
}
/*
* Reads secured data configuration file.
* Read secured data configuration file.
*
* Returns:
* Return:
* WEECHAT_CONFIG_READ_OK: OK
* WEECHAT_CONFIG_READ_MEMORY_ERROR: not enough memory
* WEECHAT_CONFIG_READ_FILE_NOT_FOUND: file not found
@@ -654,9 +654,9 @@ secure_config_read (void)
}
/*
* Writes secured data configuration file.
* Write secured data configuration file.
*
* Returns:
* Return:
* WEECHAT_CONFIG_WRITE_OK: OK
* WEECHAT_CONFIG_WRITE_ERROR: error
* WEECHAT_CONFIG_WRITE_MEMORY_ERROR: not enough memory
@@ -669,9 +669,9 @@ secure_config_write (void)
}
/*
* Initializes secured data configuration.
* Initialize secured data configuration.
*
* Returns:
* Return:
* 1: OK
* 0: error
*/
@@ -693,7 +693,7 @@ secure_config_init (void)
}
/*
* Frees secured data file and variables.
* Free secured data file and variables.
*/
void
+13 -13
View File
@@ -56,9 +56,9 @@ int secure_data_encrypted = 0;
/*
* Derives a key from salt + passphrase (using a hash).
* Derive a key from salt + passphrase (using a hash).
*
* Returns:
* Return:
* 1: OK
* 0: error
*/
@@ -101,9 +101,9 @@ secure_derive_key (const char *salt, const char *passphrase,
}
/*
* Encrypts data using a hash algorithm + cipher + passphrase.
* Encrypt data using a hash algorithm + cipher + passphrase.
*
* Following actions are performed:
* The following actions are performed:
* 1. derive a key from the passphrase (with optional salt)
* 2. compute hash of data
* 3. store hash + data in a buffer
@@ -124,7 +124,7 @@ secure_derive_key (const char *salt, const char *passphrase,
* \_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _/
* encrypted data
*
* Returns:
* Return:
* 0: OK
* -1: not enough memory
* -2: key derive error
@@ -260,13 +260,13 @@ encrypt_end:
}
/*
* Decrypts data using a hash algorithm + cipher + passphrase.
* Decrypt data using a hash algorithm + cipher + passphrase.
*
* The buffer must contain:
* - salt (8 bytes, used to derive a key from the passphrase)
* - encrypted hash(data) + data
*
* Following actions are performed:
* The following actions are performed:
* 1. check length of buffer (it must have at least salt + hash + some data)
* 2. derive a key from the passphrase using salt (at beginning of buffer)
* 3. decrypt hash + data in a buffer
@@ -274,7 +274,7 @@ encrypt_end:
* 5. check that decrypted hash is equal to hash of data
* 6. return decrypted data
*
* Returns:
* Return:
* 0: OK
* -1: not enough memory
* -2: buffer is not long enough
@@ -410,10 +410,10 @@ decrypt_end:
}
/*
* Decrypts data still encrypted (data that could not be decrypted when reading
* Decrypt data still encrypted (data that could not be decrypted when reading
* secured data configuration file (because no passphrase was given).
*
* Returns:
* Return:
* >= 0: number of decrypted data
* -1: error decrypting data (bad passphrase)
* -2: unsupported hash algorithm
@@ -494,9 +494,9 @@ secure_decrypt_data_not_decrypted (const char *passphrase)
}
/*
* Initializes secured data.
* Initialize secured data.
*
* Returns:
* Return:
* 1: OK
* 0: error
*/
@@ -539,7 +539,7 @@ secure_init (void)
}
/*
* Frees all allocated data.
* Free all allocated data.
*/
void
+12 -12
View File
@@ -128,10 +128,10 @@ signal_sigusr2_cb (int signo)
}
/*
* Gets a signal index with a signal number; only some commonly used signal
* Get a signal index with a signal number; only some commonly used signal
* names are supported here (see declaration of signal_list[]).
*
* Returns the index of signal in structure string_signal, -1 if not found.
* Return the index of signal in structure string_signal, -1 if not found.
*/
int
@@ -150,10 +150,10 @@ signal_search_number (int signal_number)
}
/*
* Gets a signal number with a name; only some commonly used signal names are
* Get a signal number with a name; only some commonly used signal names are
* supported here (see declaration of signal_list[]).
*
* Returns the signal number, -1 if not found.
* Return the signal number, -1 if not found.
*/
int
@@ -175,7 +175,7 @@ signal_search_name (const char *name)
}
/*
* Catches a system signal.
* Catch a system signal.
*/
void
@@ -190,9 +190,9 @@ signal_catch (int signum, void (*handler)(int))
}
/*
* Sends a WeeChat signal on a system signal received.
* Send a WeeChat signal on a system signal received.
*
* Returns:
* Return:
* WEECHAT_RC_OK: the WeeChat handler must be executed
* WEECHAT_RC_OK_EAT: signal eaten, the WeeChat handler must NOT be executed
*/
@@ -215,7 +215,7 @@ signal_send_to_weechat (int signal_index)
}
/*
* Evaluates and executes the command bound to a signal.
* Evaluate and execute the command bound to a signal.
*/
void
@@ -253,7 +253,7 @@ signal_exec_command (int signal_index, const char *command)
}
/*
* Handles a specific signal received:
* Handle a specific signal received.
*/
void
@@ -278,7 +278,7 @@ signal_handle_number (int signal_number, int count, const char *command)
}
/*
* Handles signals received: sends WeeChat signal and executes the configured
* Handle signals received: sends WeeChat signal and execute the configured
* command (is signal not eaten).
*/
@@ -312,7 +312,7 @@ signal_handle (void)
}
/*
* Suspends WeeChat process.
* Suspend WeeChat process.
*/
void
@@ -323,7 +323,7 @@ signal_suspend (void)
}
/*
* Initializes signal.
* Initialize signal.
*/
void
+126 -126
View File
@@ -72,13 +72,13 @@ char **string_concat_buffer[STRING_NUM_CONCAT_BUFFERS];
/*
* Formats a message in a string allocated by the function.
* Format a message in a string allocated by the function.
*
* This function is defined for systems where the GNU function `asprintf()`
* is not available.
* The behavior is almost the same except that `*result` is set to NULL on error.
*
* Returns the number of bytes in the resulting string, negative value in case
* Return the number of bytes in the resulting string, negative value in case
* of error.
*
* Value of `*result` is allocated with the result string (NULL if error),
@@ -127,7 +127,7 @@ string_asprintf (char **result, const char *fmt, ...)
}
/*
* Defines a "strndup" function for systems where this function does not exist
* Define a "strndup" function for systems where this function does not exist
* (FreeBSD and maybe others).
*
* Note: result must be freed after use.
@@ -155,7 +155,7 @@ string_strndup (const char *string, int bytes)
}
/*
* Cuts a string after max "length" chars, adds an optional suffix
* Cut a string after max "length" chars, adds an optional suffix
* after the string if it is cut.
*
* If count_suffix == 1, the length of suffix is counted in the max length.
@@ -224,7 +224,7 @@ string_cut (const char *string, int length, int count_suffix, int screen,
}
/*
* Reverses a string.
* Reverse a string.
*
* Note: result must be freed after use.
*/
@@ -266,7 +266,7 @@ string_reverse (const char *string)
}
/*
* Reverses a string for screen: color codes are not reversed.
* Reverse a string for screen: color codes are not reversed.
* For example: reverse of "<red>test" is "test<red>" where the color code
* "<red>" is kept as-is, so it is still valid (this is not the case with
* function string_reverse).
@@ -328,7 +328,7 @@ string_reverse_screen (const char *string)
}
/*
* Repeats a string a given number of times.
* Repeat a string a given number of times.
*
* Note: result must be freed after use.
*/
@@ -371,7 +371,7 @@ string_repeat (const char *string, int count)
}
/*
* Converts string to lowercase (locale dependent).
* Convert string to lowercase (locale dependent).
*/
char *
@@ -414,7 +414,7 @@ string_tolower (const char *string)
}
/*
* Converts string to uppercase (locale dependent).
* Convert string to uppercase (locale dependent).
*/
char *
@@ -457,7 +457,7 @@ string_toupper (const char *string)
}
/*
* Converts string to lower case (using a range of chars).
* Convert string to lower case (using a range of chars).
*
* Note: result must be freed after use.
*/
@@ -489,7 +489,7 @@ string_tolower_range (const char *string, int range)
}
/*
* Converts string to upper case (using a range of char).
* Convert string to upper case (using a range of char).
*
* Note: result must be freed after use.
*/
@@ -521,9 +521,9 @@ string_toupper_range (const char *string, int range)
}
/*
* Compares two chars (case-sensitive).
* Compare two chars (case-sensitive).
*
* Returns: arithmetic result of subtracting the first UTF-8 char in string2
* Return: arithmetic result of subtracting the first UTF-8 char in string2
* from the first UTF-8 char in string1:
* < 0: string1 < string2
* 0: string1 == string2
@@ -537,9 +537,9 @@ string_charcmp (const char *string1, const char *string2)
}
/*
* Compares two chars (case-insensitive).
* Compare two chars (case-insensitive).
*
* Returns: arithmetic result of subtracting the first UTF-8 char in string2
* Return: arithmetic result of subtracting the first UTF-8 char in string2
* (converted to lowercase) from the first UTF-8 char in string1 (converted
* to lowercase):
* < 0: string1 < string2
@@ -576,7 +576,7 @@ string_charcasecmp (const char *string1, const char *string2)
}
/*
* Compares two chars (case-insensitive using a range).
* Compare two chars (case-insensitive using a range).
*
* The range is the number of chars which can be converted from upper to lower
* case. For example 26 = all letters of alphabet, 29 = all letters + 3 chars.
@@ -587,7 +587,7 @@ string_charcasecmp (const char *string1, const char *string2)
* - range = 30: A-Z [ \ ] ^ ==> a-z { | } ~
* (ranges 29 and 30 are used by some protocols like IRC)
*
* Returns: arithmetic result of subtracting the last compared UTF-8 char in
* Return: arithmetic result of subtracting the last compared UTF-8 char in
* string2 (converted to lowercase) from the last compared UTF-8 char in
* string1 (converted to lowercase):
* < 0: string1 < string2
@@ -612,9 +612,9 @@ string_charcasecmp_range (const char *string1, const char *string2, int range)
}
/*
* Compares two strings (case-sensitive).
* Compare two strings (case-sensitive).
*
* Returns: arithmetic result of subtracting the last compared UTF-8 char in
* Return: arithmetic result of subtracting the last compared UTF-8 char in
* string2 from the last compared UTF-8 char in string1:
* < 0: string1 < string2
* 0: string1 == string2
@@ -646,9 +646,9 @@ string_strcmp (const char *string1, const char *string2)
}
/*
* Compares two strings with max length (case-sensitive).
* Compare two strings with max length (case-sensitive).
*
* Returns: arithmetic result of subtracting the last compared UTF-8 char in
* Return: arithmetic result of subtracting the last compared UTF-8 char in
* string2 from the last compared UTF-8 char in string1:
* < 0: string1 < string2
* 0: string1 == string2
@@ -685,9 +685,9 @@ string_strncmp (const char *string1, const char *string2, int max)
}
/*
* Compares two strings (case-insensitive).
* Compare two strings (case-insensitive).
*
* Returns: arithmetic result of subtracting the last compared UTF-8 char in
* Return: arithmetic result of subtracting the last compared UTF-8 char in
* string2 (converted to lowercase) from the last compared UTF-8 char in
* string1 (converted to lowercase):
* < 0: string1 < string2
@@ -720,7 +720,7 @@ string_strcasecmp (const char *string1, const char *string2)
}
/*
* Compares two strings (case-insensitive using a range).
* Compare two strings (case-insensitive using a range).
*
* The range is the number of chars which can be converted from upper to lower
* case. For example 26 = all letters of alphabet, 29 = all letters + 3 chars.
@@ -731,7 +731,7 @@ string_strcasecmp (const char *string1, const char *string2)
* - range = 30: A-Z [ \ ] ^ ==> a-z { | } ~
* (ranges 29 and 30 are used by some protocols like IRC)
*
* Returns: arithmetic result of subtracting the last compared UTF-8 char in
* Return: arithmetic result of subtracting the last compared UTF-8 char in
* string2 (converted to lowercase) from the last compared UTF-8 char in
* string1 (converted to lowercase):
* < 0: string1 < string2
@@ -764,9 +764,9 @@ string_strcasecmp_range (const char *string1, const char *string2, int range)
}
/*
* Compares two strings with max length (case-insensitive).
* Compare two strings with max length (case-insensitive).
*
* Returns: arithmetic result of subtracting the last compared UTF-8 char in
* Return: arithmetic result of subtracting the last compared UTF-8 char in
* string2 (converted to lowercase) from the last compared UTF-8 char in
* string1 (converted to lowercase):
* < 0: string1 < string2
@@ -804,7 +804,7 @@ string_strncasecmp (const char *string1, const char *string2, int max)
}
/*
* Compares two strings with max length (case-insensitive using a range).
* Compare two strings with max length (case-insensitive using a range).
*
* The range is the number of chars which can be converted from upper to lower
* case. For example 26 = all letters of alphabet, 29 = all letters + 3 chars.
@@ -815,7 +815,7 @@ string_strncasecmp (const char *string1, const char *string2, int max)
* - range = 30: A-Z [ \ ] ^ ==> a-z { | } ~
* (ranges 29 and 30 are used by some protocols like IRC)
*
* Returns: arithmetic result of subtracting the last compared UTF-8 char in
* Return: arithmetic result of subtracting the last compared UTF-8 char in
* string2 (converted to lowercase) from the last compared UTF-8 char in
* string1 (converted to lowercase):
* < 0: string1 < string2
@@ -854,9 +854,9 @@ string_strncasecmp_range (const char *string1, const char *string2, int max,
}
/*
* Compares two strings, ignoring some chars.
* Compare two strings, ignoring some chars.
*
* Returns: arithmetic result of subtracting the last compared UTF-8 char in
* Return: arithmetic result of subtracting the last compared UTF-8 char in
* string2 (converted to lowercase if case_sensitive is set to 0) from the last
* compared UTF-8 char in string1 (converted to lowercase if case_sensitive is
* set to 0):
@@ -923,9 +923,9 @@ string_strcmp_ignore_chars (const char *string1, const char *string2,
}
/*
* Searches for a string in another string (locale and case independent).
* Search for a string in another string (locale and case independent).
*
* Returns pointer to string found, or NULL if not found.
* Return pointer to string found, or NULL if not found.
*/
const char *
@@ -950,12 +950,12 @@ string_strcasestr (const char *string, const char *search)
}
/*
* Checks if a string matches a mask.
* Check if a string matches a mask.
*
* The mask can contain wildcards ("*"), each wildcard matches 0 or more chars
* in the string.
*
* Returns:
* Return:
* 1: string matches mask
* 0: string does not match mask
*/
@@ -1080,7 +1080,7 @@ string_match (const char *string, const char *mask, int case_sensitive)
}
/*
* Checks if a string matches a list of masks. Negative masks are allowed
* Check if a string matches a list of masks. Negative masks are allowed
* with "!mask" to exclude this mask and have higher priority than standard
* masks.
*
@@ -1090,7 +1090,7 @@ string_match (const char *string, const char *mask, int case_sensitive)
* forbidden:
* "*", "!toto", "!abc"
*
* Returns:
* Return:
* 1: string matches list of masks
* 0: string does not match list of masks
*/
@@ -1122,7 +1122,7 @@ string_match_list (const char *string, const char **masks, int case_sensitive)
}
/*
* Expands home in a path.
* Expand home in a path.
*
* Example: "~/file.txt" => "/home/user/file.txt"
*
@@ -1158,7 +1158,7 @@ string_expand_home (const char *path)
* 2. "~" by user home directory (call to string_expand_home)
* 3. evaluated variables (see /help eval)
*
* Returns the evaluated path, NULL if error.
* Return the evaluated path, NULL if error.
*
* Note: result must be freed after use.
*/
@@ -1225,7 +1225,7 @@ end:
}
/*
* Removes quotes at beginning/end of string (ignores spaces if there are before
* Remove quotes at beginning/end of string (ignores spaces if there are before
* first quote or after last quote).
*
* Note: result must be freed after use.
@@ -1268,7 +1268,7 @@ string_remove_quotes (const char *string, const char *quotes)
}
/*
* Strips chars at beginning/end of string.
* Strip chars at beginning/end of string.
*
* Note: result must be freed after use.
*/
@@ -1311,7 +1311,7 @@ string_strip (const char *string, int left, int right, const char *chars)
}
/*
* Converts escaped chars to their values.
* Convert escaped chars to their values.
*
* Following escaped chars are supported:
* \" double quote
@@ -1472,9 +1472,9 @@ string_convert_escaped_chars (const char *string)
}
/*
* Checks if first char of string is a whitespace (space, tab, newline or carriage return).
* Check if first char of string is a whitespace (space, tab, newline or carriage return).
*
* Returns:
* Return:
* 1: first char is whitespace
* 0: first char is not whitespace
*/
@@ -1490,11 +1490,11 @@ string_is_whitespace_char (const char *string)
}
/*
* Checks if first char of string is a "word char".
* Check if first char of string is a "word char".
*
* The word chars are customizable with options "weechat.look.word_chars_*".
*
* Returns:
* Return:
* 1: first char is a word char
* 0: first char is not a word char
*/
@@ -1540,12 +1540,12 @@ string_is_word_char (const char *string,
}
/*
* Checks if first char of string is a "word char" (for highlight).
* Check if first char of string is a "word char" (for highlight).
*
* The word chars for highlights are customizable with option
* "weechat.look.word_chars_highlight".
*
* Returns:
* Return:
* 1: first char is a word char
* 0: first char is not a word char
*/
@@ -1559,12 +1559,12 @@ string_is_word_char_highlight (const char *string)
}
/*
* Checks if first char of string is a "word char" (for input).
* Check if first char of string is a "word char" (for input).
*
* The word chars for input are customizable with option
* "weechat.look.word_chars_input".
*
* Returns:
* Return:
* 1: first char is a word char
* 0: first char is not a word char
*/
@@ -1578,7 +1578,7 @@ string_is_word_char_input (const char *string)
}
/*
* Converts a mask (string with only "*" as wildcard) to a regex, paying
* Convert a mask (string with only "*" as wildcard) to a regex, paying
* attention to special chars in a regex.
*
* Note: result must be freed after use.
@@ -1630,7 +1630,7 @@ string_mask_to_regex (const char *mask)
}
/*
* Extracts flags and regex from a string.
* Extract flags and regex from a string.
*
* Format of flags is: (?eins-eins)string
* Flags are:
@@ -1706,10 +1706,10 @@ string_regex_flags (const char *regex, int default_flags, int *flags)
}
/*
* Compiles a regex using optional flags at beginning of string (for format of
* Compile a regex using optional flags at beginning of string (for format of
* flags in regex, see string_regex_flags()).
*
* Returns:
* Return:
* 0: successful compilation
* other value: compilation failed
*
@@ -1733,9 +1733,9 @@ string_regcomp (void *preg, const char *regex, int default_flags)
}
/*
* Checks if a string has a highlight (using list of words to highlight).
* Check if a string has a highlight (using list of words to highlight).
*
* Returns:
* Return:
* 1: string has a highlight
* 0: string has no highlight
*/
@@ -1840,7 +1840,7 @@ string_has_highlight (const char *string, const char *highlight_words)
}
/*
* Checks if a string has a highlight using a compiled regular expression (any
* Check if a string has a highlight using a compiled regular expression (any
* match in string must be surrounded by delimiters).
*/
@@ -1889,7 +1889,7 @@ string_has_highlight_regex_compiled (const char *string, regex_t *regex)
}
/*
* Checks if a string has a highlight using a regular expression (any match in
* Check if a string has a highlight using a regular expression (any match in
* string must be surrounded by delimiters).
*/
@@ -1913,7 +1913,7 @@ string_has_highlight_regex (const char *string, const char *regex)
}
/*
* Replaces a string by new one in a string.
* Replace a string by new one in a string.
*
* Note: result must be freed after use.
*/
@@ -2140,7 +2140,7 @@ string_replace_regex_get_replace (const char *string, regmatch_t *regex_match,
}
/*
* Replaces text in a string using a regular expression and replacement text.
* Replace text in a string using a regular expression and replacement text.
*
* The argument "regex" is a pointer to a regex compiled with WeeChat function
* string_regcomp (or function regcomp).
@@ -2262,7 +2262,7 @@ string_replace_regex (const char *string, void *regex, const char *replace,
}
/*
* Translates chars by other ones in a string.
* Translate chars by other ones in a string.
*
* Note: result must be freed after use.
*/
@@ -2314,7 +2314,7 @@ string_translate_chars (const char *string,
}
/*
* Splits a string according to separators.
* Split a string according to separators.
*
* This function must not be called directly (call string_split or
* string_split_shared instead).
@@ -2607,7 +2607,7 @@ error:
}
/*
* Splits a string according to separators.
* Split a string according to separators.
*
* For full description, see function string_split_internal.
*/
@@ -2622,7 +2622,7 @@ string_split (const char *string, const char *separators,
}
/*
* Splits a string according to separators, and use shared strings for the
* Split a string according to separators, and use shared strings for the
* strings in the array returned.
*
* For full description, see function string_split_internal.
@@ -2638,7 +2638,7 @@ string_split_shared (const char *string, const char *separators,
}
/*
* Splits a string like the shell does for a command with arguments.
* Split a string like the shell does for a command with arguments.
*
* This function is a C conversion of Python class "shlex"
* (file: Lib/shlex.py in Python repository)
@@ -2836,7 +2836,7 @@ string_split_shell (const char *string, int *num_items)
}
/*
* Frees a split string.
* Free a split string.
*/
void
@@ -2853,7 +2853,7 @@ string_free_split (char **split_string)
}
/*
* Frees a split string (using shared strings).
* Free a split string (using shared strings).
*/
void
@@ -2870,7 +2870,7 @@ string_free_split_shared (char **split_string)
}
/*
* Rebuilds a split string using a delimiter and optional index of start/end
* Rebuild a split string using a delimiter and optional index of start/end
* string.
*
* If index_end < 0, then all arguments are used until NULL is found.
@@ -2914,7 +2914,7 @@ string_rebuild_split_string (const char **split_string,
}
/*
* Splits a list of commands separated by 'separator' and escaped with '\'.
* Split a list of commands separated by 'separator' and escaped with '\'.
* Empty commands are removed, spaces on the left of each commands are stripped.
*
* Note: result must be freed after use with function
@@ -3005,7 +3005,7 @@ string_split_command (const char *command, char separator)
}
/*
* Frees a command split.
* Free a command split.
*/
void
@@ -3022,7 +3022,7 @@ string_free_split_command (char **split_command)
}
/*
* Splits tags in an array of tags.
* Split tags in an array of tags.
*
* The format of tags is a list of tags separated by commas (logical OR),
* and for each item, multiple tags can be separated by "+" (logical AND).
@@ -3074,7 +3074,7 @@ string_split_tags (const char *tags, int *num_tags)
}
/*
* Frees tags split.
* Free tags split.
*/
void
@@ -3091,7 +3091,7 @@ string_free_split_tags (char ***split_tags)
}
/*
* Converts a string to another charset.
* Convert a string to another charset.
*
* Note: result must be freed after use.
*/
@@ -3207,7 +3207,7 @@ string_iconv (int from_utf8, const char *from_code, const char *to_code,
}
/*
* Converts a string to WeeChat internal storage charset (UTF-8).
* Convert a string to WeeChat internal storage charset (UTF-8).
*
* Note: result must be freed after use.
*/
@@ -3247,7 +3247,7 @@ string_iconv_to_internal (const char *charset, const char *string)
}
/*
* Converts internal string to terminal charset, for display or write of
* Convert internal string to terminal charset, for display or write of
* configuration files.
*
* Note: result must be freed after use.
@@ -3289,9 +3289,9 @@ string_iconv_from_internal (const char *charset, const char *string)
}
/*
* Encodes a string to terminal charset and calls fprintf.
* Encode a string to terminal charset and calls fprintf.
*
* Returns:
* Return:
* 1: OK
* 0: error
*/
@@ -3321,7 +3321,7 @@ string_fprintf (FILE *file, const char *data, ...)
}
/*
* Formats a string with size and unit name (bytes, KB, MB, GB).
* Format a string with size and unit name (bytes, KB, MB, GB).
*
* Note: result must be freed after use.
*/
@@ -3375,7 +3375,7 @@ string_format_size (unsigned long long size)
}
/*
* Parses a string with a size and returns the size in bytes.
* Parse a string with a size and return the size in bytes.
*
* The format is "123" or "123x" or "123 x" where "123" is any positive
* integer number and "x" the unit, which can be one of (lower or upper case
@@ -3387,7 +3387,7 @@ string_format_size (unsigned long long size)
* g gigabytes (1g = 1000m = 1,000,000,000 bytes)
* t terabytes (1t = 1000g = 1,000,000,000,000 bytes)
*
* Returns the parsed size, 0 if error.
* Return the parsed size, 0 if error.
*/
unsigned long long
@@ -3465,12 +3465,12 @@ end:
}
/*
* Encodes a string in base16 (hexadecimal).
* Encode a string in base16 (hexadecimal).
*
* Argument "length" is number of bytes in "from" to convert (commonly
* strlen(from)).
*
* Returns length of string in "*to" (it does not count final \0),
* Return length of string in "*to" (it does not count final \0),
* -1 if error.
*/
@@ -3496,9 +3496,9 @@ string_base16_encode (const char *from, int length, char *to)
}
/*
* Decodes a base16 string (hexadecimal).
* Decode a base16 string (hexadecimal).
*
* Returns length of string in "*to" (it does not count final \0),
* Return length of string in "*to" (it does not count final \0),
* -1 if error.
*/
@@ -3543,7 +3543,7 @@ string_base16_decode (const char *from, char *to)
}
/*
* Encodes a string in base32.
* Encode a string in base32.
*
* Argument "length" is number of bytes in "from" to convert (commonly
* strlen(from)).
@@ -3568,7 +3568,7 @@ string_base16_decode (const char *from, char *to)
* See the License for the specific language governing permissions and
* limitations under the License.
*
* Returns length of string in "*to" (it does not count final \0),
* Return length of string in "*to" (it does not count final \0),
* -1 if error.
*/
@@ -3624,7 +3624,7 @@ string_base32_encode (const char *from, int length, char *to)
}
/*
* Decodes a base32 string.
* Decode a base32 string.
*
* This function is inspired by:
* https://github.com/google/google-authenticator-libpam/blob/master/src/base32.c
@@ -3647,7 +3647,7 @@ string_base32_encode (const char *from, int length, char *to)
* limitations under the License.
*
*
* Returns length of string in "*to" (it does not count final \0),
* Return length of string in "*to" (it does not count final \0),
* -1 if error.
*/
@@ -3704,7 +3704,7 @@ string_base32_decode (const char *from, char *to)
}
/*
* Converts 3 bytes of 8 bits in 4 bytes of 6 bits.
* Convert 3 bytes of 8 bits in 4 bytes of 6 bits.
*/
void
@@ -3725,7 +3725,7 @@ string_convbase64_8x3_to_6x4 (int url, const char *from, char *to)
}
/*
* Encodes a string in base64.
* Encode a string in base64.
*
* If url == 1, base64url is decoded, otherwise standard base64.
*
@@ -3737,7 +3737,7 @@ string_convbase64_8x3_to_6x4 (int url, const char *from, char *to)
* Argument "length" is number of bytes in "from" to convert (commonly
* strlen(from)).
*
* Returns length of string in "*to" (it does not count final \0),
* Return length of string in "*to" (it does not count final \0),
* -1 if error.
*/
@@ -3802,7 +3802,7 @@ string_base64_encode (int url, const char *from, int length, char *to)
}
/*
* Converts 4 bytes of 6 bits to 3 bytes of 8 bits.
* Convert 4 bytes of 6 bits to 3 bytes of 8 bits.
*/
void
@@ -3814,7 +3814,7 @@ string_convbase64_6x4_to_8x3 (const unsigned char *from, unsigned char *to)
}
/*
* Decodes a base64 string.
* Decode a base64 string.
*
* If url == 1, base64url is decoded, otherwise standard base64.
*
@@ -3823,7 +3823,7 @@ string_convbase64_6x4_to_8x3 (const unsigned char *from, unsigned char *to)
* "/" --> _ (underline)
* no padding char ("=")
*
* Returns length of string in "*to" (it does not count final \0),
* Return length of string in "*to" (it does not count final \0),
* -1 if error.
*/
@@ -3892,14 +3892,14 @@ string_base64_decode (int url, const char *from, char *to)
}
/*
* Encodes a string, according to "base" parameter:
* Encode a string, according to "base" parameter:
* - "16": base16
* - "32": base32
* - "64": base64
* - "64url": base64url: same as base64 with no padding ("="), chars replaced:
* + --> - and "/" --> _
*
* Returns length of string in "*to" (it does not count final \0),
* Return length of string in "*to" (it does not count final \0),
* -1 if error.
*/
@@ -3925,14 +3925,14 @@ string_base_encode (const char *base, const char *from, int length, char *to)
}
/*
* Decodes a string, according to "base" parameter:
* Decode a string, according to "base" parameter:
* - "16": base16
* - "32": base32
* - "64": base64
* - "64url": base64url: same as base64 with no padding ("="), chars replaced:
* + --> - and "/" --> _
*
* Returns length of string in "*to" (it does not count final \0),
* Return length of string in "*to" (it does not count final \0),
* -1 if error.
*/
@@ -3958,7 +3958,7 @@ string_base_decode (const char *base, const char *from, char *to)
}
/*
* Dumps a data buffer as hexadecimal + ascii.
* Dump a data buffer as hexadecimal + ascii.
*
* Note: result must be freed after use.
*/
@@ -4059,9 +4059,9 @@ end:
}
/*
* Checks if a string is a command.
* Check if a string is a command.
*
* Returns:
* Return:
* 1: first char of string is a command char
* 0: string is not a command
*/
@@ -4092,9 +4092,9 @@ string_is_command_char (const char *string)
}
/*
* Gets pointer to input text for buffer.
* Get pointer to input text for buffer.
*
* Returns pointer inside "string" argument or NULL if it's a command (by
* Return pointer inside "string" argument or NULL if it's a command (by
* default a command starts with a single '/').
*/
@@ -4159,7 +4159,7 @@ string_input_for_buffer (const char *string)
}
/*
* Returns the number of bytes in common between two strings (this function
* Return the number of bytes in common between two strings (this function
* works with bytes and not UTF-8 chars).
*/
@@ -4184,7 +4184,7 @@ string_get_common_bytes_count (const char *string1, const char *string2)
}
/*
* Returns the distance between two strings using the Levenshtein algorithm.
* Return the distance between two strings using the Levenshtein algorithm.
* See: https://en.wikipedia.org/wiki/Levenshtein_distance
*/
@@ -4244,7 +4244,7 @@ string_levenshtein (const char *string1, const char *string2,
}
/*
* Replaces ${vars} using a callback that returns replacement value (this value
* Replace ${vars} using a callback that return replacement value (this value
* must be newly allocated because it will be freed in this function).
*
* Nested variables are supported, for example: "${var1:${var2}}".
@@ -4425,7 +4425,7 @@ string_replace_with_callback (const char *string,
}
/*
* Extracts priority and name from a string.
* Extract priority and name from a string.
*
* String can be:
* - a simple name like "test":
@@ -4471,10 +4471,10 @@ string_get_priority_and_name (const char *string,
}
/*
* Hashes a shared string.
* Hash a shared string.
* The string starts after the reference count, which is skipped.
*
* Returns the hash of the shared string (variant of djb2).
* Return the hash of the shared string (variant of djb2).
*/
unsigned long long
@@ -4488,10 +4488,10 @@ string_shared_hash_key (struct t_hashtable *hashtable,
}
/*
* Compares two shared strings.
* Compare two shared strings.
* Each string starts after the reference count, which is skipped.
*
* Returns:
* Return:
* < 0: key1 < key2
* 0: key1 == key2
* > 0: key1 > key2
@@ -4509,7 +4509,7 @@ string_shared_keycmp (struct t_hashtable *hashtable,
}
/*
* Frees a shared string.
* Free a shared string.
*/
void
@@ -4522,7 +4522,7 @@ string_shared_free_key (struct t_hashtable *hashtable, void *key)
}
/*
* Gets a pointer to a shared string.
* Get a pointer to a shared string.
*
* A shared string is an entry in the hashtable "string_hashtable_shared", with:
* - key: reference count (unsigned integer on 32 bits) + string
@@ -4531,7 +4531,7 @@ string_shared_free_key (struct t_hashtable *hashtable, void *key)
* The initial reference count is set to 1 and is incremented each time this
* function is called for a same string (string content, not the pointer).
*
* Returns the pointer to the shared string (start of string in key, after the
* Return the pointer to the shared string (start of string in key, after the
* reference count), NULL if error.
* The string returned has exactly same content as string received in argument,
* but the pointer to the string is different.
@@ -4597,7 +4597,7 @@ string_shared_get (const char *string)
}
/*
* Frees a shared string.
* Free a shared string.
*
* The reference count of the string is decremented. If it becomes 0, then the
* shared string is removed from the hashtable (and then the string is really
@@ -4621,12 +4621,12 @@ string_shared_free (const char *string)
}
/*
* Allocates a dynamic string (with a variable length).
* Allocate a dynamic string (with a variable length).
*
* The parameter size_alloc is the initial allocated size, which must be
* greater than zero.
*
* Returns the pointer to the allocated string, which is initialized as empty
* Return the pointer to the allocated string, which is initialized as empty
* string.
*
* The string returned can be used with following restrictions:
@@ -4667,14 +4667,14 @@ string_dyn_alloc (int size_alloc)
}
/*
* Copies "new_string" into a dynamic string and replaces its current content
* Copy "new_string" into a dynamic string and replaces its current content
* (adjusts its size accordingly).
*
* 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
* size to copy the new string.
*
* Returns:
* Return:
* 1: OK
* 0: error
*/
@@ -4718,7 +4718,7 @@ string_dyn_copy (char **string, const char *new_string)
}
/*
* Concatenates a string to a dynamic string and adjusts its size accordingly.
* Concatenate 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
@@ -4728,7 +4728,7 @@ string_dyn_copy (char **string, const char *new_string)
* if the string had to be extended, or the same pointer if there was enough
* size to concatenate the new string.
*
* Returns:
* Return:
* 1: OK
* 0: error
*/
@@ -4783,7 +4783,7 @@ string_dyn_concat (char **string, const char *add, int bytes)
}
/*
* Frees a dynamic string.
* Free a dynamic string.
*
* The argument "string" is a pointer on a string returned by function
* string_dyn_alloc or a string pointer modified by string_dyn_concat.
@@ -4795,7 +4795,7 @@ string_dyn_concat (char **string, const char *add, int bytes)
* Be careful, the pointer in *string may change after this call because
* the string can be reallocated to its exact size.
*
* Returns the pointer to the string if "free_string" is 0 (string
* Return the pointer to the string if "free_string" is 0 (string
* pointer is still valid), or NULL if "free_string" is 1 (string
* has been freed).
*/
@@ -4835,7 +4835,7 @@ string_dyn_free (char **string, int free_string)
}
/*
* Concatenates strings, using a separator (which can be NULL or empty string
* Concatenate strings, using a separator (which can be NULL or empty string
* to not use any separator).
*
* Last argument must be NULL to terminate the variable list of arguments.
@@ -4882,7 +4882,7 @@ string_concat (const char *separator, ...)
}
/*
* Initializes string.
* Initialize string.
*/
void
@@ -4897,7 +4897,7 @@ string_init (void)
}
/*
* Frees all allocated data.
* Free all allocated data.
*/
void
+5 -5
View File
@@ -104,7 +104,7 @@ struct t_rlimit_resource rlimit_resource[] =
/*
* Sets resource limit.
* Set resource limit.
*/
#ifdef HAVE_SYS_RESOURCE_H
@@ -174,7 +174,7 @@ sys_setrlimit_resource (const char *resource_name, long long limit)
#endif /* HAVE_SYS_RESOURCE_H */
/*
* Sets resource limits using value of option "weechat.startup.sys_rlimit".
* Set resource limits using value of option "weechat.startup.sys_rlimit".
*/
void
@@ -220,7 +220,7 @@ sys_setrlimit (void)
}
/*
* Displays resource limits.
* Display resource limits.
*/
void
@@ -278,7 +278,7 @@ sys_display_rlimit (void)
}
/*
* Displays resource usage.
* Display resource usage.
*/
void
@@ -346,7 +346,7 @@ sys_display_rusage (void)
}
/*
* Calls waitpid() to acknowledge the end of forked processes, thus preventing
* Call waitpid() to acknowledge the end of forked processes, thus preventing
* them to become zombies.
*/
+27 -27
View File
@@ -48,7 +48,7 @@ struct t_upgrade_file *last_upgrade_file = NULL;
/*
* Displays an error with upgrade.
* Display an error with upgrade.
*/
void
@@ -85,9 +85,9 @@ upgrade_file_error (struct t_upgrade_file *upgrade_file, char *message1,
}
/*
* Writes an integer value in upgrade file.
* Write an integer value in upgrade file.
*
* Returns:
* Return:
* 1: OK
* 0: error
*/
@@ -102,9 +102,9 @@ upgrade_file_write_integer (struct t_upgrade_file *upgrade_file, int value)
}
/*
* Writes a time value in upgrade file.
* Write a time value in upgrade file.
*
* Returns:
* Return:
* 1: OK
* 0: error
*/
@@ -119,9 +119,9 @@ upgrade_file_write_time (struct t_upgrade_file *upgrade_file, time_t date)
}
/*
* Writes a string in upgrade file.
* Write a string in upgrade file.
*
* Returns:
* Return:
* 1: OK
* 0: error
*/
@@ -150,9 +150,9 @@ upgrade_file_write_string (struct t_upgrade_file *upgrade_file,
}
/*
* Writes a buffer in upgrade file.
* Write a buffer in upgrade file.
*
* Returns:
* Return:
* 1: OK
* 0: error
*/
@@ -178,11 +178,11 @@ upgrade_file_write_buffer (struct t_upgrade_file *upgrade_file, void *pointer,
}
/*
* Creates an upgrade file.
* Create an upgrade file.
*
* If write == 1, then opens in write mode, otherwise in read mode.
*
* Returns pointer to new upgrade file, NULL if error.
* Return pointer to new upgrade file, NULL if error.
*/
struct t_upgrade_file *
@@ -255,9 +255,9 @@ upgrade_file_new (const char *filename,
}
/*
* Writes an object in upgrade file.
* Write an object in upgrade file.
*
* Returns:
* Return:
* 1: OK
* 0: error
*/
@@ -414,9 +414,9 @@ upgrade_file_write_object (struct t_upgrade_file *upgrade_file, int object_id,
}
/*
* Reads an integer in upgrade file.
* Read an integer in upgrade file.
*
* Returns:
* Return:
* 1: OK
* 0: error
*/
@@ -441,9 +441,9 @@ upgrade_file_read_integer (struct t_upgrade_file *upgrade_file, int *value)
}
/*
* Reads a string in upgrade file.
* Read a string in upgrade file.
*
* Returns:
* Return:
* 1: OK
* 0: error
*/
@@ -491,9 +491,9 @@ upgrade_file_read_string (struct t_upgrade_file *upgrade_file, char **string)
}
/*
* Reads a buffer in upgrade file.
* Read a buffer in upgrade file.
*
* Returns:
* Return:
* 1: OK
* 0: error
*/
@@ -537,9 +537,9 @@ upgrade_file_read_buffer (struct t_upgrade_file *upgrade_file,
}
/*
* Reads time in upgrade file.
* Read time in upgrade file.
*
* Returns:
* Return:
* 1: OK
* 0: error
*/
@@ -565,9 +565,9 @@ upgrade_file_read_time (struct t_upgrade_file *upgrade_file, time_t *time)
}
/*
* Reads an object in upgrade file and calls read callback.
* Read an object in upgrade file and calls read callback.
*
* Returns:
* Return:
* 1: OK
* 0: error
*/
@@ -600,7 +600,7 @@ upgrade_file_read_object (struct t_upgrade_file *upgrade_file)
if (type != UPGRADE_TYPE_OBJECT_START)
{
UPGRADE_ERROR(_("read - bad object type ('object start' expected)"), "");
UPGRADE_ERROR(_("read - bad object type (\"object start\" expected)"), "");
goto end;
}
@@ -716,9 +716,9 @@ end:
}
/*
* Reads an upgrade file.
* Read an upgrade file.
*
* Returns:
* Return:
* 1: OK
* 0: error
*/
@@ -758,7 +758,7 @@ upgrade_file_read (struct t_upgrade_file *upgrade_file)
}
/*
* Closes and frees an upgrade file.
* Close and frees an upgrade file.
*/
void
+23 -23
View File
@@ -59,10 +59,10 @@ struct t_gui_layout *upgrade_layout = NULL;
/*
* Saves history in WeeChat upgrade file (from last to first, to restore it in
* Save history in WeeChat upgrade file (from last to first, to restore it in
* good order).
*
* Returns:
* Return:
* 1: OK
* 0: error
*/
@@ -113,9 +113,9 @@ upgrade_weechat_save_history (struct t_upgrade_file *upgrade_file,
}
/*
* Saves buffers in WeeChat upgrade file.
* Save buffers in WeeChat upgrade file.
*
* Returns:
* Return:
* 1: OK
* 0: error
*/
@@ -202,9 +202,9 @@ upgrade_weechat_save_buffers (struct t_upgrade_file *upgrade_file)
}
/*
* Saves miscellaneous info in WeeChat upgrade file.
* Save miscellaneous info in WeeChat upgrade file.
*
* Returns:
* Return:
* 1: OK
* 0: error
*/
@@ -251,9 +251,9 @@ upgrade_weechat_save_misc (struct t_upgrade_file *upgrade_file)
}
/*
* Saves hotlist in WeeChat upgrade file.
* Save hotlist in WeeChat upgrade file.
*
* Returns:
* Return:
* 1: OK
* 0: error
*/
@@ -288,9 +288,9 @@ upgrade_weechat_save_hotlist (struct t_upgrade_file *upgrade_file)
}
/*
* Saves tree with layout for windows in WeeChat upgrade file.
* Save tree with layout for windows in WeeChat upgrade file.
*
* Returns:
* Return:
* 1: OK
* 0: error
*/
@@ -338,9 +338,9 @@ upgrade_weechat_save_layout_window_tree (struct t_upgrade_file *upgrade_file,
}
/*
* Saves layout for windows in WeeChat upgrade file.
* Save layout for windows in WeeChat upgrade file.
*
* Returns:
* Return:
* 1: OK
* 0: error
*/
@@ -370,9 +370,9 @@ upgrade_weechat_save_layout_window (struct t_upgrade_file *upgrade_file)
}
/*
* Saves WeeChat upgrade file.
* Save WeeChat upgrade file.
*
* Returns:
* Return:
* 1: OK
* 0: error
*/
@@ -401,7 +401,7 @@ upgrade_weechat_save (void)
}
/*
* Reads a buffer from infolist.
* Read a buffer from infolist.
*/
void
@@ -647,7 +647,7 @@ upgrade_weechat_read_buffer (struct t_infolist *infolist)
}
/*
* Reads a buffer line from infolist.
* Read a buffer line from infolist.
*/
void
@@ -704,7 +704,7 @@ upgrade_weechat_read_buffer_line (struct t_infolist *infolist)
}
/*
* Reads a nicklist from infolist.
* Read a nicklist from infolist.
*/
void
@@ -781,7 +781,7 @@ upgrade_weechat_read_nicklist (struct t_infolist *infolist)
}
/*
* Reads hotlist from infolist.
* Read hotlist from infolist.
*/
void
@@ -832,7 +832,7 @@ upgrade_weechat_read_hotlist (struct t_infolist *infolist)
}
/*
* Reads WeeChat upgrade file.
* Read WeeChat upgrade file.
*/
int
@@ -898,9 +898,9 @@ upgrade_weechat_read_cb (const void *pointer, void *data,
}
/*
* Loads WeeChat upgrade file.
* Load WeeChat upgrade file.
*
* Returns:
* Return:
* 1: OK
* 0: error
*/
@@ -956,7 +956,7 @@ upgrade_weechat_load (void)
}
/*
* Removes a .upgrade file (callback called for each .upgrade file in WeeChat
* Remove a .upgrade file (callback called for each .upgrade file in WeeChat
* home directory).
*/
@@ -975,7 +975,7 @@ upgrade_weechat_remove_file_cb (void *data, const char *filename)
}
/*
* Removes *.upgrade files after upgrade and send signal "weechat_upgrade_done".
* Remove *.upgrade files after upgrade and send signal "weechat_upgrade_done".
*/
void
+19 -17
View File
@@ -89,12 +89,14 @@ struct t_url_constant url_protocols[] =
URL_DEF_CONST(PROTO, SMTP),
URL_DEF_CONST(PROTO, SMTPS),
URL_DEF_CONST(PROTO, RTSP),
#if LIBCURL_VERSION_NUM < 0x081400 /* < 8.20.0 */
URL_DEF_CONST(PROTO, RTMP),
URL_DEF_CONST(PROTO, RTMPT),
URL_DEF_CONST(PROTO, RTMPE),
URL_DEF_CONST(PROTO, RTMPTE),
URL_DEF_CONST(PROTO, RTMPS),
URL_DEF_CONST(PROTO, RTMPTS),
#endif
URL_DEF_CONST(PROTO, GOPHER),
URL_DEF_CONST(PROTO, SMB),
URL_DEF_CONST(PROTO, SMBS),
@@ -681,9 +683,9 @@ struct t_url_option url_options[] =
/*
* Searches for a constant in array of constants.
* Search for a constant in array of constants.
*
* Returns index of constant, -1 if not found.
* Return index of constant, -1 if not found.
*/
int
@@ -707,7 +709,7 @@ weeurl_search_constant (struct t_url_constant *constants, const char *name)
}
/*
* Gets value of mask using constants.
* Get value of mask using constants.
*
* Argument "string_mask" has format: "const1+const2+const3".
*/
@@ -750,9 +752,9 @@ weeurl_get_mask_value (struct t_url_constant *constants,
}
/*
* Searches for an URL option in table of options.
* Search for an URL option in table of options.
*
* Returns index of option, -1 if not found.
* Return index of option, -1 if not found.
*/
int
@@ -776,7 +778,7 @@ weeurl_search_option (const char *name)
}
/*
* Reads data from a file (callback called to read a file).
* Read data from a file (callback called to read a file).
*/
size_t
@@ -786,7 +788,7 @@ weeurl_read_stream (void *buffer, size_t size, size_t nmemb, void *stream)
}
/*
* Writes data in a file (callback called to write a file).
* Write data in a file (callback called to write a file).
*/
size_t
@@ -796,7 +798,7 @@ weeurl_write_stream (void *buffer, size_t size, size_t nmemb, void *stream)
}
/*
* Adds data to a dynamic string (callback called to catch stdout).
* Add data to a dynamic string (callback called to catch stdout).
*/
size_t
@@ -811,7 +813,7 @@ weeurl_write_string (void *buffer, size_t size, size_t nmemb, void *string)
}
/*
* Sets option in CURL easy handle (callback called for each option in hashtable
* Set option in CURL easy handle (callback called for each option in hashtable
* "options").
*/
@@ -918,7 +920,7 @@ weeurl_option_map_cb (void *data,
}
/*
* Sets proxy in CURL easy handle.
* Set proxy in CURL easy handle.
*/
void
@@ -966,7 +968,7 @@ weeurl_set_proxy (CURL *curl, struct t_proxy *proxy)
}
/*
* Downloads URL using options.
* Download URL using options.
*
* If output is not NULL, it must be a hashtable with keys and values of type
* "string". The following keys may be added in the hashtable,
@@ -980,7 +982,7 @@ weeurl_set_proxy (CURL *curl, struct t_proxy *proxy)
* error | error message (set only in case of error)
*
* If timeout is 0, the function blocks until the end of the transfer.
* If timeout (in milliseconds) is > 0, the function returns an error in the
* If timeout (in milliseconds) is > 0, the function return an error in the
* output hashtable if the timeout is reached while the transfer is still
* active.
*
@@ -988,7 +990,7 @@ weeurl_set_proxy (CURL *curl, struct t_proxy *proxy)
* pointed integer becomes different from 0 (set by the caller of this function),
* the download is immediately stopped with an error.
*
* Returns:
* Return:
* 0: OK
* 1: invalid URL
* 2: error downloading URL
@@ -1259,9 +1261,9 @@ end:
}
/*
* Adds an URL option in an infolist.
* Add an URL option in an infolist.
*
* Returns:
* Return:
* 1: OK
* 0: error
*/
@@ -1317,7 +1319,7 @@ weeurl_option_add_to_infolist (struct t_infolist *infolist,
}
/*
* Initializes URL.
* Initialize URL.
*/
void
@@ -1327,7 +1329,7 @@ weeurl_init (void)
}
/*
* Ends URL.
* End URL.
*/
void
+38 -38
View File
@@ -44,7 +44,7 @@ int local_utf8 = 0;
/*
* Initializes UTF-8 in WeeChat.
* Initialize UTF-8 in WeeChat.
*/
void
@@ -54,9 +54,9 @@ utf8_init (void)
}
/*
* Checks if a string has some 8-bit chars.
* Check if a string has some 8-bit chars.
*
* Returns:
* Return:
* 1: string has 8-bit chars
* 0: string has only 7-bit chars
*/
@@ -74,12 +74,12 @@ utf8_has_8bits (const char *string)
}
/*
* Checks if a string is UTF-8 valid.
* Check if a string is UTF-8 valid.
*
* If length is <= 0, checks whole string.
* If length is > 0, checks only this number of chars (not bytes).
*
* Returns:
* Return:
* 1: string is UTF-8 valid
* 0: string it not UTF-8 valid, and then if error is not NULL, it is set
* with first non valid UTF-8 char in string
@@ -167,7 +167,7 @@ invalid:
}
/*
* Normalizes an string: removes non UTF-8 chars and replaces them by a
* Normalize an string: removes non UTF-8 chars and replaces them by a
* "replacement" char.
*/
@@ -186,9 +186,9 @@ utf8_normalize (char *string, char replacement)
}
/*
* Gets pointer to previous UTF-8 char in a string.
* Get pointer to previous UTF-8 char in a string.
*
* Returns pointer to previous UTF-8 char, NULL if not found (for example
* Return pointer to previous UTF-8 char, NULL if not found (for example
* "string_start" was reached).
*/
@@ -234,9 +234,9 @@ utf8_prev_char (const char *string_start, const char *string)
}
/*
* Gets pointer to next UTF-8 char in a string.
* Get pointer to next UTF-8 char in a string.
*
* Returns pointer to next UTF-8 char, NULL if string was NULL.
* Return pointer to next UTF-8 char, NULL if string was NULL.
*/
const char *
@@ -277,9 +277,9 @@ utf8_next_char (const char *string)
}
/*
* Gets pointer to the beginning of the UTF-8 line in a string.
* Get pointer to the beginning of the UTF-8 line in a string.
*
* Returns pointer to the beginning of the UTF-8 line, NULL if string was NULL.
* Return pointer to the beginning of the UTF-8 line, NULL if string was NULL.
*/
const char *
@@ -300,9 +300,9 @@ utf8_beginning_of_line (const char *string_start, const char *string)
}
/*
* Gets pointer to the end of the UTF-8 line in a string.
* Get pointer to the end of the UTF-8 line in a string.
*
* Returns pointer to the end of the UTF-8 line, NULL if string was NULL.
* Return pointer to the end of the UTF-8 line, NULL if string was NULL.
*/
const char *
@@ -320,9 +320,9 @@ utf8_end_of_line (const char *string)
}
/*
* Gets UTF-8 char as an integer.
* Get UTF-8 char as an integer.
*
* Returns the UTF-8 char as integer number.
* Return the UTF-8 char as integer number.
*/
int
@@ -377,7 +377,7 @@ utf8_char_int (const char *string)
}
/*
* Converts a unicode char (as unsigned integer) to a string.
* Convert a unicode char (as unsigned integer) to a string.
*
* The string must have a size >= 5
* (4 bytes for the UTF-8 char + the final '\0').
@@ -385,7 +385,7 @@ utf8_char_int (const char *string)
* In case of error (if unicode value is > 0x1FFFFF), the string is set to an
* empty string (string[0] == '\0').
*
* Returns the number of bytes in the UTF-8 char (not counting the final '\0').
* Return the number of bytes in the UTF-8 char (not counting the final '\0').
*/
int
@@ -443,9 +443,9 @@ utf8_int_string (unsigned int unicode_value, char *string)
}
/*
* Gets size of UTF-8 char (in bytes).
* Get size of UTF-8 char (in bytes).
*
* Returns an integer between 0 and 4.
* Return an integer between 0 and 4.
*/
int
@@ -464,10 +464,10 @@ utf8_char_size (const char *string)
}
/*
* Gets length of an UTF-8 string in number of chars (not bytes).
* Get length of an UTF-8 string in number of chars (not bytes).
* Result is <= strlen (string).
*
* Returns length of string (>= 0).
* Return length of string (>= 0).
*/
int
@@ -488,9 +488,9 @@ utf8_strlen (const char *string)
}
/*
* Gets length of an UTF-8 string for N bytes max in string.
* Get length of an UTF-8 string for N bytes max in string.
*
* Returns length of string (>= 0).
* Return length of string (>= 0).
*/
int
@@ -513,9 +513,9 @@ utf8_strnlen (const char *string, int bytes)
}
/*
* Gets number of chars needed on screen to display the UTF-8 char.
* Get number of chars needed on screen to display the UTF-8 char.
*
* Returns the number of chars (>= 0).
* Return the number of chars (>= 0).
*/
int
@@ -552,9 +552,9 @@ utf8_char_size_screen (const char *string)
}
/*
* Gets number of chars needed on screen to display the UTF-8 string.
* Get number of chars needed on screen to display the UTF-8 string.
*
* Returns the number of chars (>= 0).
* Return the number of chars (>= 0).
*/
int
@@ -584,9 +584,9 @@ utf8_strlen_screen (const char *string)
}
/*
* Moves forward N chars in an UTF-8 string.
* Move forward N chars in an UTF-8 string.
*
* Returns pointer to the new position in string.
* Return pointer to the new position in string.
*/
const char *
@@ -604,13 +604,13 @@ utf8_add_offset (const char *string, int offset)
}
/*
* Gets real position in UTF-8 string, in bytes.
* Get real position in UTF-8 string, in bytes.
*
* Argument "pos" is a number of chars (not bytes).
*
* Example: ("déca", 2) returns 3.
* Example: ("déca", 2) return 3.
*
* Returns the real position (>= 0).
* Return the real position (>= 0).
*/
int
@@ -635,13 +635,13 @@ utf8_real_pos (const char *string, int pos)
}
/*
* Gets position in UTF-8 string, in chars.
* Get position in UTF-8 string, in chars.
*
* Argument "real_pos" is a number of bytes (not chars).
*
* Example: ("déca", 3) returns 2.
* Example: ("déca", 3) return 2.
*
* Returns the position in string.
* Return the position in string.
*/
int
@@ -664,7 +664,7 @@ utf8_pos (const char *string, int real_pos)
}
/*
* Duplicates an UTF-8 string, with max N chars.
* Duplicate an UTF-8 string, with max N chars.
*
* Note: result must be freed after use.
*/
@@ -688,7 +688,7 @@ utf8_strndup (const char *string, int length)
}
/*
* Copies max N chars from a string to another and adds null byte at the end.
* Copy max N chars from a string to another and adds null byte at the end.
*
* Note: the target string "dest" must be long enough.
*/
+21 -21
View File
@@ -50,12 +50,12 @@
/*
* Parses an integer.
* Parse an integer.
*
* If result is not NULL, *result is set with the parsed integer in case
* there is no error.
*
* Returns:
* Return:
* 1: OK
* 0: error
*/
@@ -88,12 +88,12 @@ util_parse_int (const char *string, int base, int *result)
}
/*
* Parses a long integer.
* Parse a long integer.
*
* If result is not NULL, *result is set with the parsed long integer in case
* there is no error.
*
* Returns:
* Return:
* 1: OK
* 0: error
*/
@@ -125,12 +125,12 @@ util_parse_long (const char *string, int base, long *result)
}
/*
* Parses a long long integer.
* Parse a long long integer.
*
* If result is not NULL, *result is set with the parsed long integer in case
* there is no error.
*
* Returns:
* Return:
* 1: OK
* 0: error
*/
@@ -162,9 +162,9 @@ util_parse_longlong (const char *string, int base, long long *result)
}
/*
* Compares two timeval structures.
* Compare two timeval structures.
*
* Returns:
* Return:
* -1: tv1 < tv2
* 0: tv1 == tv2
* 1: tv1 > tv2
@@ -188,9 +188,9 @@ util_timeval_cmp (struct timeval *tv1, struct timeval *tv2)
}
/*
* Calculates difference between two timeval structures.
* Calculate difference between two timeval structures.
*
* Returns difference in microseconds.
* Return difference in microseconds.
*/
long long
@@ -208,7 +208,7 @@ util_timeval_diff (struct timeval *tv1, struct timeval *tv2)
}
/*
* Adds interval (in microseconds) to a timeval structure.
* Add interval (in microseconds) to a timeval structure.
*/
void
@@ -231,7 +231,7 @@ util_timeval_add (struct timeval *tv, long long interval)
}
/*
* Converts microseconds to a string, using format: "H:MM:SS.mmmmmm"
* Convert microseconds to a string, using format: "H:MM:SS.mmmmmm"
* where: H=hours, MM=minutes, SS=seconds, mmmmmm=microseconds
*
* Note: result must be freed after use.
@@ -256,7 +256,7 @@ util_get_microseconds_string (unsigned long long microseconds)
}
/*
* Converts date to a string, using format of option "weechat.look.time_format"
* Convert date to a string, using format of option "weechat.look.time_format"
* (can be localized).
*/
@@ -279,7 +279,7 @@ util_get_time_string (const time_t *date)
}
/*
* Formats date and time like strftime (but with timeval structure as input)
* Format date and time like strftime (but with timeval structure as input)
* and adds extra specifiers:
* - "%@": return the date expressed in Coordinated Universal Time (UTC)
* instead of date relative to the user's specified timezone
@@ -383,7 +383,7 @@ util_strftimeval (char *string, int max, const char *format, struct timeval *tv)
}
/*
* Parses a date/time string, which can be one of these formats:
* Parse a date/time string, which can be one of these formats:
*
* Format | Example
* -------------------------------------+----------------------------------
@@ -399,7 +399,7 @@ util_strftimeval (char *string, int max, const char *format, struct timeval *tv)
* UTC time | 19:04:55.123456Z
* Timestamp date | 1756580695.123456
*
* Notes :
* Notes:
*
* - For ISO 8601, characters `T' and `Z` can be used in lower case: `t` and `z`.
* - The timezone offset format is `[+/-]hh:mm`, `[+/-]hhmm` or `[+/-]hh`.
@@ -408,7 +408,7 @@ util_strftimeval (char *string, int max, const char *format, struct timeval *tv)
* A dot (`.`) or comma (`,`) can be used to separate seconds from the other
* digits.
*
* Returns:
* Return:
* 1: OK
* 0: error
*/
@@ -676,7 +676,7 @@ util_parse_time (const char *datetime, struct timeval *tv)
}
/*
* Returns difference between two times.
* Return difference between two times.
*
* The following variables are set, if pointer is not NULL:
* - number of total seconds between the two times (basic subtraction)
@@ -705,7 +705,7 @@ util_get_time_diff (time_t time1, time_t time2,
}
/*
* Parses a string with a delay and optional unit, returns the delay in
* Parse a string with a delay and optional unit, return the delay in
* microseconds.
*
* The delay is a number followed by a unit which can be:
@@ -722,7 +722,7 @@ util_get_time_diff (time_t time1, time_t time2,
* - 60000000: minutes
* - 3600000000: hours
*
* Returns:
* Return:
* 1: OK
* 0: error
*/
@@ -794,7 +794,7 @@ util_parse_delay (const char *string_delay, unsigned long long default_factor,
}
/*
* Gets version number (integer) with a version as string.
* Get version number (integer) with a version as string.
*
* Non-digit chars like "-dev" are ignored.
*
+8 -8
View File
@@ -30,7 +30,7 @@
/*
* Returns package name ("weechat").
* Return package name ("weechat").
*/
const char *
@@ -40,7 +40,7 @@ version_get_name (void)
}
/*
* Returns the WeeChat version.
* Return the WeeChat version.
*
* Examples:
* 0.3.9-dev
@@ -55,7 +55,7 @@ version_get_version (void)
}
/*
* Returns the package name ("weechat") + WeeChat version.
* Return the package name ("weechat") + WeeChat version.
*
* Examples:
* weechat 0.3.9-dev
@@ -70,7 +70,7 @@ version_get_name_version (void)
}
/*
* Returns the output of "git describe" (non-empty only for a devel version,
* Return the output of "git describe" (non-empty only for a devel version,
* if compilation was made using the git repository, if git command was found).
*
* Example:
@@ -84,7 +84,7 @@ version_get_git (void)
}
/*
* Returns the WeeChat version + the git version (between brackets, and only if
* Return the WeeChat version + the git version (between brackets, and only if
* it is not empty).
*
* Examples:
@@ -112,7 +112,7 @@ version_get_version_with_git (void)
}
/*
* Returns date of WeeChat compilation.
* Return date of WeeChat compilation.
*
* Example:
* Dec 16 2012
@@ -125,7 +125,7 @@ version_get_compilation_date (void)
}
/*
* Returns time of WeeChat compilation.
* Return time of WeeChat compilation.
*
* Example:
* 18:10:22
@@ -138,7 +138,7 @@ version_get_compilation_time (void)
}
/*
* Returns date/time of WeeChat compilation.
* Return date/time of WeeChat compilation.
*
* Example:
* Dec 16 2012 18:10:22
+9 -9
View File
@@ -39,7 +39,7 @@
/*
* Returns description of hook.
* Return description of hook.
*
* Note: result must be freed after use.
*/
@@ -51,9 +51,9 @@ hook_command_run_get_description (struct t_hook *hook)
}
/*
* Hooks a command when it's run by WeeChat.
* Hook a command when it's run by WeeChat.
*
* Returns pointer to new hook, NULL if error.
* Return pointer to new hook, NULL if error.
*/
struct t_hook *
@@ -98,7 +98,7 @@ hook_command_run (struct t_weechat_plugin *plugin,
}
/*
* Executes a command_run hook.
* Execute a command_run hook.
*/
int
@@ -185,7 +185,7 @@ hook_command_run_exec (struct t_gui_buffer *buffer, const char *command)
}
/*
* Frees data in a command_run hook.
* Free data in a command_run hook.
*/
void
@@ -205,7 +205,7 @@ hook_command_run_free_data (struct t_hook *hook)
}
/*
* Returns hdata for command_run hook.
* Return hdata for command_run hook.
*/
struct t_hdata *
@@ -229,9 +229,9 @@ hook_command_run_hdata_hook_command_run_cb (const void *pointer, void *data,
}
/*
* Adds command_run hook data in the infolist item.
* Add command_run hook data in the infolist item.
*
* Returns:
* Return:
* 1: OK
* 0: error
*/
@@ -254,7 +254,7 @@ hook_command_run_add_to_infolist (struct t_infolist_item *item,
}
/*
* Prints command_run hook data in WeeChat log file (usually for crash dump).
* Print command_run hook data in WeeChat log file (usually for crash dump).
*/
void
+22 -22
View File
@@ -44,7 +44,7 @@
/*
* Returns description of hook.
* Return description of hook.
*
* Note: result must be freed after use.
*/
@@ -56,9 +56,9 @@ hook_command_get_description (struct t_hook *hook)
}
/*
* Searches for a command hook in list.
* Search for a command hook in list.
*
* Returns pointer to hook found, NULL if not found.
* Return pointer to hook found, NULL if not found.
*/
struct t_hook *
@@ -83,7 +83,7 @@ hook_command_search (struct t_weechat_plugin *plugin, const char *command)
}
/*
* Builds variables/arrays that will be used for completion of commands
* Build variables/arrays that will be used for completion of commands
* arguments.
*/
@@ -273,7 +273,7 @@ hook_command_build_completion (struct t_hook_command *hook_command)
}
/*
* Removes all raw markers from a string: converts "raw[xxx]" to "xxx".
* Remove all raw markers from a string: converts "raw[xxx]" to "xxx".
*
* Note: result must be freed after use.
*/
@@ -318,7 +318,7 @@ hook_command_remove_raw_markers (const char *string)
}
/*
* Frees an argument description.
* Free an argument description.
*/
void
@@ -333,7 +333,7 @@ hook_command_arraylist_arg_desc_free (void *data, struct t_arraylist *arraylist,
}
/*
* Formats and translates arguments description of a command.
* Format and translates arguments description of a command.
*
* Note: result must be freed after use.
*/
@@ -500,9 +500,9 @@ error:
}
/*
* Hooks a command.
* Hook a command.
*
* Returns pointer to new hook, NULL if error.
* Return pointer to new hook, NULL if error.
*/
struct t_hook *
@@ -576,9 +576,9 @@ hook_command (struct t_weechat_plugin *plugin, const char *command,
}
/*
* Executes a command hook.
* Execute a command hook.
*
* Returns:
* Return:
* HOOK_COMMAND_EXEC_OK: command executed successfully
* HOOK_COMMAND_EXEC_ERROR: command executed and failed
* HOOK_COMMAND_EXEC_NOT_FOUND: command not found
@@ -768,12 +768,12 @@ end:
}
/*
* Gets relevance for cmd2 (existing command) compared to cmd1 (non-existing
* Get relevance for cmd2 (existing command) compared to cmd1 (non-existing
* command).
*
* Both commands are in lower case.
*
* Returns a number based on the Levenshtein distance between two commands,
* Return a number based on the Levenshtein distance between two commands,
* lower is better.
*/
@@ -812,7 +812,7 @@ hook_command_similar_get_relevance (const char *cmd1, int length_cmd1,
}
/*
* Compares similar commands to sort them by relevance (lower number first:
* Compare similar commands to sort them by relevance (lower number first:
* best relevance).
*/
@@ -839,7 +839,7 @@ hook_command_similar_cmp_cb (void *data, struct t_arraylist *arraylist,
}
/*
* Frees a similar command.
* Free a similar command.
*/
void
@@ -854,7 +854,7 @@ hook_command_similar_free_cb (void *data, struct t_arraylist *arraylist,
}
/*
* Builds an arraylist with similar commands.
* Build an arraylist with similar commands.
*
* Note: result must be freed after use.
*/
@@ -906,7 +906,7 @@ hook_command_build_list_similar_commands (const char *command)
}
/*
* Displays an error on unknown command, with a list of existing similar
* Display an error on unknown command, with a list of existing similar
* command names.
*/
@@ -971,7 +971,7 @@ hook_command_display_error_unknown (const char *command)
}
/*
* Frees data in a command hook.
* Free data in a command hook.
*/
void
@@ -1049,7 +1049,7 @@ hook_command_free_data (struct t_hook *hook)
}
/*
* Returns hdata for command hook.
* Return hdata for command hook.
*/
struct t_hdata *
@@ -1084,9 +1084,9 @@ hook_command_hdata_hook_command_cb (const void *pointer, void *data,
}
/*
* Adds command hook data in the infolist item.
* Add command hook data in the infolist item.
*
* Returns:
* Return:
* 1: OK
* 0: error
*/
@@ -1141,7 +1141,7 @@ hook_command_add_to_infolist (struct t_infolist_item *item,
}
/*
* Prints command hook data in WeeChat log file (usually for crash dump).
* Print command hook data in WeeChat log file (usually for crash dump).
*/
void
+9 -9
View File
@@ -39,7 +39,7 @@
/*
* Returns description of hook.
* Return description of hook.
*
* Note: result must be freed after use.
*/
@@ -51,9 +51,9 @@ hook_completion_get_description (struct t_hook *hook)
}
/*
* Hooks a completion.
* Hook a completion.
*
* Returns pointer to new hook, NULL if error.
* Return pointer to new hook, NULL if error.
*/
struct t_hook *
@@ -101,7 +101,7 @@ hook_completion (struct t_weechat_plugin *plugin, const char *completion_item,
}
/*
* Executes a completion hook.
* Execute a completion hook.
*/
void
@@ -158,7 +158,7 @@ hook_completion_exec (struct t_weechat_plugin *plugin,
}
/*
* Frees data in a completion hook.
* Free data in a completion hook.
*/
void
@@ -183,7 +183,7 @@ hook_completion_free_data (struct t_hook *hook)
}
/*
* Returns hdata for completion hook.
* Return hdata for completion hook.
*/
struct t_hdata *
@@ -207,9 +207,9 @@ hook_completion_hdata_hook_completion_cb (const void *pointer, void *data,
}
/*
* Adds completion hook data in the infolist item.
* Add completion hook data in the infolist item.
*
* Returns:
* Return:
* 1: OK
* 0: error
*/
@@ -237,7 +237,7 @@ hook_completion_add_to_infolist (struct t_infolist_item *item,
}
/*
* Prints completion hook data in WeeChat log file (usually for crash dump).
* Print completion hook data in WeeChat log file (usually for crash dump).
*/
void
+9 -9
View File
@@ -38,7 +38,7 @@
/*
* Returns description of hook.
* Return description of hook.
*
* Note: result must be freed after use.
*/
@@ -50,9 +50,9 @@ hook_config_get_description (struct t_hook *hook)
}
/*
* Hooks a configuration option.
* Hook a configuration option.
*
* Returns pointer to new hook, NULL if error.
* Return pointer to new hook, NULL if error.
*/
struct t_hook *
@@ -95,7 +95,7 @@ hook_config (struct t_weechat_plugin *plugin, const char *option,
}
/*
* Executes a config hook.
* Execute a config hook.
*/
void
@@ -132,7 +132,7 @@ hook_config_exec (const char *option, const char *value)
}
/*
* Frees data in a config hook.
* Free data in a config hook.
*/
void
@@ -152,7 +152,7 @@ hook_config_free_data (struct t_hook *hook)
}
/*
* Returns hdata for config hook.
* Return hdata for config hook.
*/
struct t_hdata *
@@ -175,9 +175,9 @@ hook_config_hdata_hook_config_cb (const void *pointer, void *data,
}
/*
* Adds config hook data in the infolist item.
* Add config hook data in the infolist item.
*
* Returns:
* Return:
* 1: OK
* 0: error
*/
@@ -198,7 +198,7 @@ hook_config_add_to_infolist (struct t_infolist_item *item,
}
/*
* Prints config hook data in WeeChat log file (usually for crash dump).
* Print config hook data in WeeChat log file (usually for crash dump).
*/
void
+10 -10
View File
@@ -42,7 +42,7 @@
/*
* Returns description of hook.
* Return description of hook.
*
* Note: result must be freed after use.
*/
@@ -63,9 +63,9 @@ hook_connect_get_description (struct t_hook *hook)
}
/*
* Hooks a connection to a peer (using fork).
* Hook a connection to a peer (using fork).
*
* Returns pointer to new hook, NULL if error.
* Return pointer to new hook, NULL if error.
*/
struct t_hook *
@@ -140,7 +140,7 @@ hook_connect (struct t_weechat_plugin *plugin, const char *proxy,
}
/*
* Verifies certificates.
* Verify certificates.
*/
int
@@ -173,7 +173,7 @@ hook_connect_gnutls_verify_certificates (gnutls_session_t tls_session)
}
/*
* Sets certificates.
* Set certificates.
*/
int
@@ -210,7 +210,7 @@ hook_connect_gnutls_set_certificates (gnutls_session_t tls_session,
}
/*
* Frees data in a connect hook.
* Free data in a connect hook.
*/
void
@@ -314,7 +314,7 @@ hook_connect_free_data (struct t_hook *hook)
}
/*
* Returns hdata for connect hook.
* Return hdata for connect hook.
*/
struct t_hdata *
@@ -360,9 +360,9 @@ hook_connect_hdata_hook_connect_cb (const void *pointer, void *data,
}
/*
* Adds connect hook data in the infolist item.
* Add connect hook data in the infolist item.
*
* Returns:
* Return:
* 1: OK
* 0: error
*/
@@ -421,7 +421,7 @@ hook_connect_add_to_infolist (struct t_infolist_item *item,
}
/*
* Prints connect hook data in WeeChat log file (usually for crash dump).
* Print connect hook data in WeeChat log file (usually for crash dump).
*/
void
+14 -14
View File
@@ -45,7 +45,7 @@ int hook_fd_pollfd_count = 0; /* number of file descriptors */
/*
* Returns description of hook.
* Return description of hook.
*
* Note: result must be freed after use.
*/
@@ -67,9 +67,9 @@ hook_fd_get_description (struct t_hook *hook)
}
/*
* Searches for a fd hook in list.
* Search for a fd hook in list.
*
* Returns pointer to hook found, NULL if not found.
* Return pointer to hook found, NULL if not found.
*/
struct t_hook *
@@ -89,7 +89,7 @@ hook_fd_search (int fd)
}
/*
* Reallocates the "struct pollfd" array for poll().
* Reallocate the "struct pollfd" array for poll().
*/
void
@@ -150,9 +150,9 @@ hook_fd_remove_cb (struct t_hook *hook)
}
/*
* Hooks a fd event.
* Hook a fd event.
*
* Returns pointer to new hook, NULL if error.
* Return pointer to new hook, NULL if error.
*/
struct t_hook *
@@ -199,9 +199,9 @@ hook_fd (struct t_weechat_plugin *plugin, int fd, int flag_read,
}
/*
* Executes fd hooks:
* - poll() on fie descriptors
* - call of hook fd callbacks if needed.
* Execute fd hooks:
* - poll() on fie descriptors
* - call of hook fd callbacks if needed.
*/
void
@@ -300,7 +300,7 @@ hook_fd_exec (void)
}
/*
* Frees data in a fd hook.
* Free data in a fd hook.
*/
void
@@ -314,7 +314,7 @@ hook_fd_free_data (struct t_hook *hook)
}
/*
* Returns hdata for fd hook.
* Return hdata for fd hook.
*/
struct t_hdata *
@@ -338,9 +338,9 @@ hook_fd_hdata_hook_fd_cb (const void *pointer, void *data, const char *hdata_nam
}
/*
* Adds fd hook data in the infolist item.
* Add fd hook data in the infolist item.
*
* Returns:
* Return:
* 1: OK
* 0: error
*/
@@ -365,7 +365,7 @@ hook_fd_add_to_infolist (struct t_infolist_item *item,
}
/*
* Prints fd hook data in WeeChat log file (usually for crash dump).
* Print fd hook data in WeeChat log file (usually for crash dump).
*/
void
+11 -11
View File
@@ -39,7 +39,7 @@
/*
* Returns description of hook.
* Return description of hook.
*
* Note: result must be freed after use.
*/
@@ -51,9 +51,9 @@ hook_focus_get_description (struct t_hook *hook)
}
/*
* Hooks a focus.
* Hook a focus.
*
* Returns pointer to new hook, NULL if error.
* Return pointer to new hook, NULL if error.
*/
struct t_hook *
@@ -96,7 +96,7 @@ hook_focus (struct t_weechat_plugin *plugin,
}
/*
* Adds keys of a hashtable into another.
* Add keys of a hashtable into another.
*/
void
@@ -116,7 +116,7 @@ hook_focus_hashtable_map_cb (void *data,
}
/*
* Adds keys of a hashtable into another (adding suffix "2" to keys).
* Add keys of a hashtable into another (adding suffix "2" to keys).
*/
void
@@ -143,7 +143,7 @@ hook_focus_hashtable_map2_cb (void *data,
}
/*
* Gets data for focus on (x,y) on screen.
* Get data for focus on (x,y) on screen.
*
* Argument hashtable_focus2 is not NULL only for a mouse gesture (it's for
* point where mouse button has been released).
@@ -276,7 +276,7 @@ hook_focus_get_data (struct t_hashtable *hashtable_focus1,
}
/*
* Frees data in a focus hook.
* Free data in a focus hook.
*/
void
@@ -296,7 +296,7 @@ hook_focus_free_data (struct t_hook *hook)
}
/*
* Returns hdata for focus hook.
* Return hdata for focus hook.
*/
struct t_hdata *
@@ -319,9 +319,9 @@ hook_focus_hdata_hook_focus_cb (const void *pointer, void *data,
}
/*
* Adds focus hook data in the infolist item.
* Add focus hook data in the infolist item.
*
* Returns:
* Return:
* 1: OK
* 0: error
*/
@@ -342,7 +342,7 @@ hook_focus_add_to_infolist (struct t_infolist_item *item,
}
/*
* Prints focus hook data in WeeChat log file (usually for crash dump).
* Print focus hook data in WeeChat log file (usually for crash dump).
*/
void
+9 -9
View File
@@ -39,7 +39,7 @@
/*
* Returns description of hook.
* Return description of hook.
*
* Note: result must be freed after use.
*/
@@ -51,9 +51,9 @@ hook_hdata_get_description (struct t_hook *hook)
}
/*
* Hooks a hdata.
* Hook a hdata.
*
* Returns pointer to new hook, NULL if error.
* Return pointer to new hook, NULL if error.
*/
struct t_hook *
@@ -98,7 +98,7 @@ hook_hdata (struct t_weechat_plugin *plugin, const char *hdata_name,
}
/*
* Gets hdata via hdata hook.
* Get hdata via hdata hook.
*/
struct t_hdata *
@@ -153,7 +153,7 @@ hook_hdata_get (struct t_weechat_plugin *plugin, const char *hdata_name)
}
/*
* Frees data in a hdata hook.
* Free data in a hdata hook.
*/
void
@@ -178,7 +178,7 @@ hook_hdata_free_data (struct t_hook *hook)
}
/*
* Returns hdata for hdata hook.
* Return hdata for hdata hook.
*/
struct t_hdata *
@@ -202,9 +202,9 @@ hook_hdata_hdata_hook_hdata_cb (const void *pointer, void *data,
}
/*
* Adds hdata hook data in the infolist item.
* Add hdata hook data in the infolist item.
*
* Returns:
* Return:
* 1: OK
* 0: error
*/
@@ -232,7 +232,7 @@ hook_hdata_add_to_infolist (struct t_infolist_item *item,
}
/*
* Prints hdata hook data in WeeChat log file (usually for crash dump).
* Print hdata hook data in WeeChat log file (usually for crash dump).
*/
void
+11 -11
View File
@@ -39,7 +39,7 @@
/*
* Returns description of hook.
* Return description of hook.
*
* Note: result must be freed after use.
*/
@@ -52,9 +52,9 @@ hook_hsignal_get_description (struct t_hook *hook)
}
/*
* Hooks a hsignal (signal with hashtable).
* Hook a hsignal (signal with hashtable).
*
* Returns pointer to new hook, NULL if error.
* Return pointer to new hook, NULL if error.
*/
struct t_hook *
@@ -103,10 +103,10 @@ hook_hsignal (struct t_weechat_plugin *plugin, const char *signal,
}
/*
* Checks if a hooked hsignal matches a signal sent: it matches if at least
* Check if a hooked hsignal matches a signal sent: it matches if at least
* one of the signal masks are matching the signal sent.
*
* Returns:
* Return:
* 1: hook matches signal sent
* 0: hook does not match signal sent
*/
@@ -126,7 +126,7 @@ hook_hsignal_match (const char *signal, struct t_hook *hook)
}
/*
* Sends a hsignal (signal with hashtable).
* Send a hsignal (signal with hashtable).
*/
int
@@ -185,7 +185,7 @@ hook_hsignal_send (const char *signal, struct t_hashtable *hashtable)
}
/*
* Frees data in a hsignal hook.
* Free data in a hsignal hook.
*/
void
@@ -206,7 +206,7 @@ hook_hsignal_free_data (struct t_hook *hook)
}
/*
* Returns hdata for hsignal hook.
* Return hdata for hsignal hook.
*/
struct t_hdata *
@@ -230,9 +230,9 @@ hook_hsignal_hdata_hook_hsignal_cb (const void *pointer, void *data,
}
/*
* Adds hsignal hook data in the infolist item.
* Add hsignal hook data in the infolist item.
*
* Returns:
* Return:
* 1: OK
* 0: error
*/
@@ -264,7 +264,7 @@ hook_hsignal_add_to_infolist (struct t_infolist_item *item,
}
/*
* Prints hsignal hook data in WeeChat log file (usually for crash dump).
* Print hsignal hook data in WeeChat log file (usually for crash dump).
*/
void
+9 -9
View File
@@ -38,7 +38,7 @@
/*
* Returns description of hook.
* Return description of hook.
*
* Note: result must be freed after use.
*/
@@ -50,9 +50,9 @@ hook_info_hashtable_get_description (struct t_hook *hook)
}
/*
* Hooks an info using hashtable.
* Hook an info using hashtable.
*
* Returns pointer to new hook, NULL if error.
* Return pointer to new hook, NULL if error.
*/
struct t_hook *
@@ -102,7 +102,7 @@ hook_info_hashtable (struct t_weechat_plugin *plugin, const char *info_name,
}
/*
* Gets info (as hashtable) via info hook.
* Get info (as hashtable) via info hook.
*/
struct t_hashtable *
@@ -152,7 +152,7 @@ hook_info_get_hashtable (struct t_weechat_plugin *plugin, const char *info_name,
}
/*
* Frees data in an info_hashtable hook.
* Free data in an info_hashtable hook.
*/
void
@@ -187,7 +187,7 @@ hook_info_hashtable_free_data (struct t_hook *hook)
}
/*
* Returns hdata for info_hashtable hook.
* Return hdata for info_hashtable hook.
*/
struct t_hdata *
@@ -214,9 +214,9 @@ hook_info_hashtable_hdata_hook_info_hashtable_cb (const void *pointer,
}
/*
* Adds info_hashtable hook data in the infolist item.
* Add info_hashtable hook data in the infolist item.
*
* Returns:
* Return:
* 1: OK
* 0: error
*/
@@ -258,7 +258,7 @@ hook_info_hashtable_add_to_infolist (struct t_infolist_item *item,
}
/*
* Prints info_hashtable hook data in WeeChat log file (usually for crash dump).
* Print info_hashtable hook data in WeeChat log file (usually for crash dump).
*/
void
+9 -9
View File
@@ -38,7 +38,7 @@
/*
* Returns description of hook.
* Return description of hook.
*
* Note: result must be freed after use.
*/
@@ -50,9 +50,9 @@ hook_info_get_description (struct t_hook *hook)
}
/*
* Hooks an info.
* Hook an info.
*
* Returns pointer to new hook, NULL if error.
* Return pointer to new hook, NULL if error.
*/
struct t_hook *
@@ -99,7 +99,7 @@ hook_info (struct t_weechat_plugin *plugin, const char *info_name,
}
/*
* Gets info (as string) via info hook.
* Get info (as string) via info hook.
*
* Note: result must be freed after use.
*/
@@ -151,7 +151,7 @@ hook_info_get (struct t_weechat_plugin *plugin, const char *info_name,
}
/*
* Frees data in an info hook.
* Free data in an info hook.
*/
void
@@ -181,7 +181,7 @@ hook_info_free_data (struct t_hook *hook)
}
/*
* Returns hdata for info hook.
* Return hdata for info hook.
*/
struct t_hdata *
@@ -206,9 +206,9 @@ hook_info_hdata_hook_info_cb (const void *pointer, void *data,
}
/*
* Adds info hook data in the infolist item.
* Add info hook data in the infolist item.
*
* Returns:
* Return:
* 1: OK
* 0: error
*/
@@ -243,7 +243,7 @@ hook_info_add_to_infolist (struct t_infolist_item *item,
}
/*
* Prints info hook data in WeeChat log file (usually for crash dump).
* Print info hook data in WeeChat log file (usually for crash dump).
*/
void
+9 -9
View File
@@ -38,7 +38,7 @@
/*
* Returns description of hook.
* Return description of hook.
*
* Note: result must be freed after use.
*/
@@ -50,9 +50,9 @@ hook_infolist_get_description (struct t_hook *hook)
}
/*
* Hooks an infolist.
* Hook an infolist.
*
* Returns pointer to new hook, NULL if error.
* Return pointer to new hook, NULL if error.
*/
struct t_hook *
@@ -102,7 +102,7 @@ hook_infolist (struct t_weechat_plugin *plugin, const char *infolist_name,
}
/*
* Gets an infolist via infolist hook.
* Get an infolist via infolist hook.
*/
struct t_infolist *
@@ -153,7 +153,7 @@ hook_infolist_get (struct t_weechat_plugin *plugin, const char *infolist_name,
}
/*
* Frees data in an infolist hook.
* Free data in an infolist hook.
*/
void
@@ -188,7 +188,7 @@ hook_infolist_free_data (struct t_hook *hook)
}
/*
* Returns hdata for infolist hook.
* Return hdata for infolist hook.
*/
struct t_hdata *
@@ -214,9 +214,9 @@ hook_infolist_hdata_hook_infolist_cb (const void *pointer, void *data,
}
/*
* Adds infolist hook data in the infolist item.
* Add infolist hook data in the infolist item.
*
* Returns:
* Return:
* 1: OK
* 0: error
*/
@@ -258,7 +258,7 @@ hook_infolist_add_to_infolist (struct t_infolist_item *item,
}
/*
* Prints infolist hook data in WeeChat log file (usually for crash dump).
* Print infolist hook data in WeeChat log file (usually for crash dump).
*/
void
+9 -9
View File
@@ -41,7 +41,7 @@
/*
* Returns description of hook.
* Return description of hook.
*
* Note: result must be freed after use.
*/
@@ -61,9 +61,9 @@ hook_line_get_description (struct t_hook *hook)
}
/*
* Hooks a line added in a buffer.
* Hook a line added in a buffer.
*
* Returns pointer to new hook, NULL if error.
* Return pointer to new hook, NULL if error.
*/
struct t_hook *
@@ -121,7 +121,7 @@ hook_line (struct t_weechat_plugin *plugin, const char *buffer_type,
}
/*
* Executes a line hook and updates the line data.
* Execute a line hook and updates the line data.
*/
void
@@ -212,7 +212,7 @@ hook_line_exec (struct t_gui_line *line)
}
/*
* Frees data in a line hook.
* Free data in a line hook.
*/
void
@@ -237,7 +237,7 @@ hook_line_free_data (struct t_hook *hook)
}
/*
* Returns hdata for line hook.
* Return hdata for line hook.
*/
struct t_hdata *
@@ -264,9 +264,9 @@ hook_line_hdata_hook_line_cb (const void *pointer, void *data,
}
/*
* Adds line hook data in the infolist item.
* Add line hook data in the infolist item.
*
* Returns:
* Return:
* 1: OK
* 0: error
*/
@@ -295,7 +295,7 @@ hook_line_add_to_infolist (struct t_infolist_item *item,
}
/*
* Prints line hook data in WeeChat log file (usually for crash dump).
* Print line hook data in WeeChat log file (usually for crash dump).
*/
void
+9 -9
View File
@@ -38,7 +38,7 @@
/*
* Returns description of hook.
* Return description of hook.
*
* Note: result must be freed after use.
*/
@@ -50,9 +50,9 @@ hook_modifier_get_description (struct t_hook *hook)
}
/*
* Hooks a modifier.
* Hook a modifier.
*
* Returns pointer to new hook, NULL if error.
* Return pointer to new hook, NULL if error.
*/
struct t_hook *
@@ -94,7 +94,7 @@ hook_modifier (struct t_weechat_plugin *plugin, const char *modifier,
}
/*
* Executes a modifier hook.
* Execute a modifier hook.
*
* Note: result must be freed after use.
*/
@@ -164,7 +164,7 @@ hook_modifier_exec (struct t_weechat_plugin *plugin, const char *modifier,
}
/*
* Frees data in a modifier hook.
* Free data in a modifier hook.
*/
void
@@ -184,7 +184,7 @@ hook_modifier_free_data (struct t_hook *hook)
}
/*
* Returns hdata for modifier hook.
* Return hdata for modifier hook.
*/
struct t_hdata *
@@ -207,9 +207,9 @@ hook_modifier_hdata_hook_modifier_cb (const void *pointer, void *data,
}
/*
* Adds modifier hook data in the infolist item.
* Add modifier hook data in the infolist item.
*
* Returns:
* Return:
* 1: OK
* 0: error
*/
@@ -230,7 +230,7 @@ hook_modifier_add_to_infolist (struct t_infolist_item *item,
}
/*
* Prints modifier hook data in WeeChat log file (usually for crash dump).
* Print modifier hook data in WeeChat log file (usually for crash dump).
*/
void
+9 -9
View File
@@ -41,7 +41,7 @@
/*
* Returns description of hook.
* Return description of hook.
*
* Note: result must be freed after use.
*/
@@ -73,9 +73,9 @@ hook_print_get_description (struct t_hook *hook)
}
/*
* Hooks a message printed by WeeChat.
* Hook a message printed by WeeChat.
*
* Returns pointer to new hook, NULL if error.
* Return pointer to new hook, NULL if error.
*/
struct t_hook *
@@ -118,7 +118,7 @@ hook_print (struct t_weechat_plugin *plugin, struct t_gui_buffer *buffer,
}
/*
* Executes a print hook.
* Execute a print hook.
*/
void
@@ -190,7 +190,7 @@ hook_print_exec (struct t_gui_buffer *buffer, struct t_gui_line *line)
}
/*
* Frees data in a print hook.
* Free data in a print hook.
*/
void
@@ -215,7 +215,7 @@ hook_print_free_data (struct t_hook *hook)
}
/*
* Returns hdata for print hook.
* Return hdata for print hook.
*/
struct t_hdata *
@@ -242,9 +242,9 @@ hook_print_hdata_hook_print_cb (const void *pointer, void *data,
}
/*
* Adds print hook data in the infolist item.
* Add print hook data in the infolist item.
*
* Returns:
* Return:
* 1: OK
* 0: error
*/
@@ -273,7 +273,7 @@ hook_print_add_to_infolist (struct t_infolist_item *item,
}
/*
* Prints print hook data in WeeChat log file (usually for crash dump).
* Print print hook data in WeeChat log file (usually for crash dump).
*/
void
+20 -21
View File
@@ -53,7 +53,7 @@ void hook_process_run (struct t_hook *hook_process);
/*
* Returns description of hook.
* Return description of hook.
*
* Note: result must be freed after use.
*/
@@ -72,9 +72,9 @@ hook_process_get_description (struct t_hook *hook)
}
/*
* Hooks a process (using fork) with options in hashtable.
* Hook a process (using fork) with options in hashtable.
*
* Returns pointer to new hook, NULL if error.
* Return pointer to new hook, NULL if error.
*/
struct t_hook *
@@ -188,9 +188,9 @@ error:
}
/*
* Hooks a process (using fork).
* Hook a process (using fork).
*
* Returns pointer to new hook, NULL if error.
* Return pointer to new hook, NULL if error.
*/
struct t_hook *
@@ -206,7 +206,7 @@ hook_process (struct t_weechat_plugin *plugin,
}
/*
* Child process for hook process: executes command and returns string result
* Child process for hook process: execute command and return string result
* into pipe for WeeChat process.
*/
@@ -379,7 +379,7 @@ hook_process_child (struct t_hook *hook_process)
}
/*
* Sends buffers (stdout/stderr) to callback.
* Send buffers (stdout/stderr) to callback.
*/
void
@@ -412,7 +412,7 @@ hook_process_send_buffers (struct t_hook *hook_process, int callback_rc)
}
/*
* Adds some data to buffer (stdout or stderr).
* Add some data to buffer (stdout or stderr).
*/
void
@@ -429,7 +429,7 @@ hook_process_add_to_buffer (struct t_hook *hook_process, int index_buffer,
}
/*
* Reads process output (stdout or stderr) from child process.
* Read process output (stdout or stderr) from child process.
*/
void
@@ -462,7 +462,7 @@ hook_process_child_read (struct t_hook *hook_process, int fd,
}
/*
* Reads process output (stdout) from child process.
* Read process output (stdout) from child process.
*/
int
@@ -481,7 +481,7 @@ hook_process_child_read_stdout_cb (const void *pointer, void *data, int fd)
}
/*
* Reads process output (stderr) from child process.
* Read process output (stderr) from child process.
*/
int
@@ -500,7 +500,7 @@ hook_process_child_read_stderr_cb (const void *pointer, void *data, int fd)
}
/*
* Reads process output from child process until EOF
* Read process output from child process until EOF
* (called when the child process has ended).
*/
@@ -576,7 +576,7 @@ hook_process_child_read_until_eof (struct t_hook *hook_process)
}
/*
* Checks if child process is still alive.
* Check if child process is still alive.
*/
int
@@ -635,8 +635,7 @@ hook_process_timer_cb (const void *pointer, void *data, int remaining_calls)
}
/*
* Executes process command in child, and read data in current process,
* with fd hook.
* Execute process command in child, and read data in current process, with fd hook.
*/
void
@@ -788,7 +787,7 @@ error:
}
/*
* Executes all process commands pending.
* Execute all process commands pending.
*/
void
@@ -822,7 +821,7 @@ hook_process_exec (void)
}
/*
* Frees data in a process hook.
* Free data in a process hook.
*/
void
@@ -918,7 +917,7 @@ hook_process_free_data (struct t_hook *hook)
}
/*
* Returns hdata for process hook.
* Return hdata for process hook.
*/
struct t_hdata *
@@ -952,9 +951,9 @@ hook_process_hdata_hook_process_cb (const void *pointer, void *data,
}
/*
* Adds process hook data in the infolist item.
* Add process hook data in the infolist item.
*
* Returns:
* Return:
* 1: OK
* 0: error
*/
@@ -1003,7 +1002,7 @@ hook_process_add_to_infolist (struct t_infolist_item *item,
}
/*
* Prints process hook data in WeeChat log file (usually for crash dump).
* Print process hook data in WeeChat log file (usually for crash dump).
*/
void
+12 -12
View File
@@ -38,7 +38,7 @@
/*
* Returns description of hook.
* Return description of hook.
*
* Note: result must be freed after use.
*/
@@ -51,9 +51,9 @@ hook_signal_get_description (struct t_hook *hook)
}
/*
* Hooks a signal.
* Hook a signal.
*
* Returns pointer to new hook, NULL if error.
* Return pointer to new hook, NULL if error.
*/
struct t_hook *
@@ -102,10 +102,10 @@ hook_signal (struct t_weechat_plugin *plugin, const char *signal,
}
/*
* Checks if a hooked signal matches a signal sent: it matches if at least
* Check if a hooked signal matches a signal sent: it matches if at least
* one of the signal masks are matching the signal sent.
*
* Returns:
* Return:
* 1: hook matches signal sent
* 0: hook does not match signal sent
*/
@@ -125,7 +125,7 @@ hook_signal_match (const char *signal, struct t_hook *hook)
}
/*
* Extracts flags from signal and returns flags and pointer to start of signal.
* Extract flags from signal and return flags and pointer to start of signal.
*/
void
@@ -176,7 +176,7 @@ hook_signal_extract_flags (const char *signal, const char **ptr_signal,
}
/*
* Sends a signal.
* Send a signal.
*/
int
@@ -236,7 +236,7 @@ hook_signal_send (const char *signal, const char *type_data, void *signal_data)
}
/*
* Frees data in a signal hook.
* Free data in a signal hook.
*/
void
@@ -257,7 +257,7 @@ hook_signal_free_data (struct t_hook *hook)
}
/*
* Returns hdata for signal hook.
* Return hdata for signal hook.
*/
struct t_hdata *
@@ -281,9 +281,9 @@ hook_signal_hdata_hook_signal_cb (const void *pointer, void *data,
}
/*
* Adds signal hook data in the infolist item.
* Add signal hook data in the infolist item.
*
* Returns:
* Return:
* 1: OK
* 0: error
*/
@@ -315,7 +315,7 @@ hook_signal_add_to_infolist (struct t_infolist_item *item,
}
/*
* Prints signal hook data in WeeChat log file (usually for crash dump).
* Print signal hook data in WeeChat log file (usually for crash dump).
*/
void
+13 -13
View File
@@ -43,7 +43,7 @@ time_t hook_last_system_time = 0; /* used to detect system clock skew */
/*
* Returns description of hook.
* Return description of hook.
*
* Note: result must be freed after use.
*/
@@ -80,7 +80,7 @@ hook_timer_get_description (struct t_hook *hook)
}
/*
* Initializes a timer hook.
* Initialize a timer hook.
*/
void
@@ -136,9 +136,9 @@ hook_timer_init (struct t_hook *hook)
}
/*
* Hooks a timer.
* Hook a timer.
*
* Returns pointer to new hook, NULL if error.
* Return pointer to new hook, NULL if error.
*/
struct t_hook *
@@ -180,8 +180,8 @@ hook_timer (struct t_weechat_plugin *plugin, long interval, int align_second,
}
/*
* Checks if system clock is older than previous call to this function (that
* means new time is lower than in past). If yes, adjusts all timers to current
* Check if system clock is older than previous call to this function (that
* means new time is lower than in past). If yes, adjust all timers to current
* time.
*/
@@ -222,7 +222,7 @@ hook_timer_check_system_clock (void)
}
/*
* Returns time until next timeout (in milliseconds).
* Return time until next timeout (in milliseconds).
*/
int
@@ -300,7 +300,7 @@ end:
}
/*
* Executes timer hooks.
* Execute timer hooks.
*/
void
@@ -361,7 +361,7 @@ hook_timer_exec (void)
}
/*
* Frees data in a timer hook.
* Free data in a timer hook.
*/
void
@@ -375,7 +375,7 @@ hook_timer_free_data (struct t_hook *hook)
}
/*
* Returns hdata for timer hook.
* Return hdata for timer hook.
*/
struct t_hdata *
@@ -404,9 +404,9 @@ hook_timer_hdata_hook_timer_cb (const void *pointer, void *data,
}
/*
* Adds timer hook data in the infolist item.
* Add timer hook data in the infolist item.
*
* Returns:
* Return:
* 1: OK
* 0: error
*/
@@ -442,7 +442,7 @@ hook_timer_add_to_infolist (struct t_infolist_item *item,
}
/*
* Prints timer hook data in WeeChat log file (usually for crash dump).
* Print timer hook data in WeeChat log file (usually for crash dump).
*/
void
+12 -12
View File
@@ -47,7 +47,7 @@
/*
* Returns description of hook.
* Return description of hook.
*
* Note: result must be freed after use.
*/
@@ -66,7 +66,7 @@ hook_url_get_description (struct t_hook *hook)
}
/*
* Displays keys and values of a hashtable.
* Display keys and values of a hashtable.
*/
void
@@ -83,7 +83,7 @@ hook_url_hashtable_map_cb (void *data, struct t_hashtable *hashtable,
}
/*
* Runs callback of url hook.
* Run callback of url hook.
*/
void
@@ -154,7 +154,7 @@ hook_url_transfer_thread (void *hook_pointer)
}
/*
* Checks if thread is still alive.
* Check if thread is still alive.
*/
int
@@ -218,7 +218,7 @@ hook_url_timer_cb (const void *pointer, void *data, int remaining_calls)
}
/*
* Starts transfer for an URL hook.
* Start transfer for an URL hook.
*/
void
@@ -286,9 +286,9 @@ hook_url_transfer (struct t_hook *hook)
}
/*
* Hooks a URL.
* Hook a URL.
*
* Returns pointer to new hook, NULL if error.
* Return pointer to new hook, NULL if error.
*/
struct t_hook *
@@ -358,7 +358,7 @@ error:
}
/*
* Frees data in a url hook.
* Free data in a url hook.
*/
void
@@ -422,7 +422,7 @@ hook_url_free_data (struct t_hook *hook)
}
/*
* Returns hdata for url hook.
* Return hdata for url hook.
*/
struct t_hdata *
@@ -452,9 +452,9 @@ hook_url_hdata_hook_url_cb (const void *pointer, void *data,
}
/*
* Adds url hook data in the infolist item.
* Add url hook data in the infolist item.
*
* Returns:
* Return:
* 1: OK
* 0: error
*/
@@ -489,7 +489,7 @@ hook_url_add_to_infolist (struct t_infolist_item *item,
}
/*
* Prints url hook data in WeeChat log file (usually for crash dump).
* Print url hook data in WeeChat log file (usually for crash dump).
*/
void
+11 -286
View File
@@ -46,7 +46,6 @@
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <getopt.h>
#include <sys/stat.h>
#include <sys/time.h>
#include <sys/types.h>
@@ -58,6 +57,7 @@
#endif
#include "weechat.h"
#include "core-args.h"
#include "core-command.h"
#include "core-completion.h"
#include "core-config.h"
@@ -79,7 +79,6 @@
#include "core-url.h"
#include "core-utf8.h"
#include "core-util.h"
#include "core-version.h"
#include "../gui/gui-chat.h"
#include "../gui/gui-color.h"
#include "../gui/gui-completion.h"
@@ -90,12 +89,6 @@
#include "../plugins/plugin.h"
#include "../plugins/plugin-api.h"
/* some command line options */
#define OPTION_DOCGEN 1000
#define OPTION_NO_DLCLOSE 1001
#define OPTION_NO_GNUTLS 1002
#define OPTION_NO_GCRYPT 1003
int weechat_headless = 0; /* 1 if running headless (no GUI) */
int weechat_daemon = 0; /* 1 if daemonized (no foreground) */
int weechat_log_stdout = 0; /* 1 to log messages on stdout */
@@ -140,275 +133,7 @@ int weechat_auto_load_scripts = 1; /* auto-load scripts */
/*
* Displays WeeChat copyright on standard output.
*/
void
weechat_display_copyright (void)
{
string_fprintf (stdout, "\n");
string_fprintf (
stdout,
/* TRANSLATORS: "%s %s" after "compiled on" is date and time */
_("WeeChat %s Copyright %s, compiled on %s %s\n"
"Developed by Sébastien Helleu <flashcode@flashtux.org> "
"- %s"),
version_get_version_with_git (),
WEECHAT_COPYRIGHT_DATE,
version_get_compilation_date (),
version_get_compilation_time (),
WEECHAT_WEBSITE);
string_fprintf (stdout, "\n");
}
/*
* Displays WeeChat usage on standard output.
*/
void
weechat_display_usage (void)
{
weechat_display_copyright ();
string_fprintf (stdout, "\n");
string_fprintf (stdout,
_("Usage: %s [option...] [plugin:option...]\n"),
weechat_argv0);
string_fprintf (stdout, "\n");
string_fprintf (
stdout,
_(" -a, --no-connect disable auto-connect to servers at "
"startup\n"
" -c, --colors display default colors in terminal "
"and exit\n"
" -d, --dir <path> force a single WeeChat home directory\n"
" or 5 different directories separated "
"by colons (in this order: config, data, state, cache, runtime)\n"
" (environment variable WEECHAT_HOME is "
"read if this option is not given)\n"
" -t, --temp-dir create a temporary WeeChat home "
"directory and delete it on exit\n"
" (incompatible with option \"-d\")\n"
" -h, --help display this help and exit\n"
" -i, --build-info display build information and exit\n"
" -l, --license display WeeChat license and exit\n"
" -p, --no-plugin don't load any plugin at startup\n"
" -P, --plugins <plugins> load only these plugins at startup\n"
" (see /help weechat.plugin.autoload)\n"
" -r, --run-command <cmd> run command(s) after startup;\n"
" many commands can be separated by "
"semicolons and are evaluated,\n"
" this option can be given multiple "
"times\n"
" -s, --no-script don't load any script at startup\n"
" --upgrade upgrade WeeChat using session files "
"(see /help upgrade in WeeChat)\n"
" -v, --version display WeeChat version and exit\n"
" plugin:option option for plugin (see man weechat)\n"));
string_fprintf (stdout, "\n");
/* extra options in headless mode */
if (weechat_headless)
{
string_fprintf (stdout, _("Extra options in headless mode:\n"));
string_fprintf (
stdout,
_(" --doc-gen <path> generate files to build "
"documentation and exit\n"));
string_fprintf (
stdout,
_(" --daemon run WeeChat as a daemon (fork, "
"new process group, file descriptors closed);\n"));
string_fprintf (
stdout,
_(" (by default in headless mode "
"WeeChat is blocking and does not run in background)\n"));
string_fprintf (
stdout,
_(" --stdout display log messages on standard "
"output instead of writing them in log file\n"));
string_fprintf (
stdout,
_(" (option ignored if option "
"\"--daemon\" is given)\n"));
string_fprintf (stdout, "\n");
}
/* debug options */
string_fprintf (
stdout,
_("Debug options (for tools like valgrind, DO NOT USE IN PRODUCTION):\n"
" --no-dlclose do not call function dlclose after "
"plugins are unloaded\n"
" --no-gnutls disable init/deinit of gnutls\n"
" --no-gcrypt disable init/deinit of gcrypt\n"));
string_fprintf (stdout, "\n");
}
/*
* Parses command line arguments.
*
* Arguments argc and argv come from main() function.
*/
void
weechat_parse_args (int argc, char *argv[])
{
int opt;
struct option long_options[] = {
/* standard options */
{ "no-connect", no_argument, NULL, 'a' },
{ "colors", no_argument, NULL, 'c' },
{ "dir", required_argument, NULL, 'd' },
{ "temp-dir", no_argument, NULL, 't' },
{ "help", no_argument, NULL, 'h' },
{ "build-info", no_argument, NULL, 'i' },
{ "license", no_argument, NULL, 'l' },
{ "no-plugin", no_argument, NULL, 'p' },
{ "plugins", required_argument, NULL, 'P' },
{ "run-command", required_argument, NULL, 'r' },
{ "no-script", no_argument, NULL, 's' },
{ "upgrade", no_argument, NULL, 'u' },
{ "doc-gen", required_argument, NULL, OPTION_DOCGEN },
{ "version", no_argument, NULL, 'v' },
/* debug options */
{ "no-dlclose", no_argument, NULL, OPTION_NO_DLCLOSE },
{ "no-gnutls", no_argument, NULL, OPTION_NO_GNUTLS },
{ "no-gcrypt", no_argument, NULL, OPTION_NO_GCRYPT },
{ NULL, 0, NULL, 0 },
};
weechat_argv0 = (argv[0]) ? strdup (argv[0]) : NULL;
weechat_upgrading = 0;
weechat_home_force = NULL;
weechat_home_temp = 0;
weechat_home_delete_on_exit = 0;
weechat_server_cmd_line = 0;
weechat_force_plugin_autoload = NULL;
weechat_doc_gen = 0;
weechat_plugin_no_dlclose = 0;
optind = 0;
opterr = 0;
while ((opt = getopt_long (argc, argv,
":acd:thilpP:r:sv",
long_options, NULL)) != -1)
{
switch (opt)
{
case 'a': /* -a / --no-connect */
/* option ignored, it will be used by plugins/scripts */
break;
case 'c': /* -c / --colors */
gui_color_display_terminal_colors ();
weechat_shutdown (EXIT_SUCCESS, 0);
break;
case 'd': /* -d / --dir */
weechat_home_temp = 0;
free (weechat_home_force);
weechat_home_force = strdup (optarg);
break;
case 't': /* -t / --temp-dir */
weechat_home_temp = 1;
if (weechat_home_force)
{
free (weechat_home_force);
weechat_home_force = NULL;
}
break;
case 'h': /* -h / --help */
weechat_display_usage ();
weechat_shutdown (EXIT_SUCCESS, 0);
break;
case 'i': /* -i / --build-info */
debug_build_info ();
weechat_shutdown (EXIT_SUCCESS, 0);
break;
case 'l': /* -l / --license */
weechat_display_copyright ();
string_fprintf (stdout, "\n");
string_fprintf (stdout, "%s%s", WEECHAT_LICENSE_TEXT);
weechat_shutdown (EXIT_SUCCESS, 0);
break;
case 'p': /* -p / --no-plugin */
free (weechat_force_plugin_autoload);
weechat_force_plugin_autoload = strdup ("!*");
break;
case 'P': /* -P / --plugins */
free (weechat_force_plugin_autoload);
weechat_force_plugin_autoload = strdup (optarg);
break;
case 'r': /* -r / --run-command */
if (!weechat_startup_commands)
weechat_startup_commands = weelist_new ();
weelist_add (weechat_startup_commands, optarg,
WEECHAT_LIST_POS_END, NULL);
break;
case 's': /* -s / --no-script */
/* option ignored, it will be used by the scripting plugins */
break;
case 'u': /* --upgrade */
weechat_upgrading = 1;
break;
case OPTION_DOCGEN: /* --doc-gen */
if (weechat_headless)
{
weechat_doc_gen = 1;
weechat_doc_gen_path = strdup (optarg);
}
break;
case 'v': /* -v / --version */
string_fprintf (stdout, version_get_version ());
fprintf (stdout, "\n");
weechat_shutdown (EXIT_SUCCESS, 0);
break;
case OPTION_NO_DLCLOSE: /* --no-dlclose */
/*
* Valgrind works better when dlclose() is not done after
* plugins are unloaded, it can display stack for plugins,*
* otherwise you'll see "???" in stack for functions of
* unloaded plugins.
* This option disables the call to dlclose(),
* it must NOT be used for other purposes!
*/
weechat_plugin_no_dlclose = 1;
break;
case OPTION_NO_GNUTLS: /* --no-gnutls */
/*
* Electric-fence is not working fine when gnutls loads
* certificates and Valgrind reports many memory errors with
* gnutls.
* This option disables the init/deinit of gnutls,
* it must NOT be used for other purposes!
*/
weechat_no_gnutls = 1;
break;
case OPTION_NO_GCRYPT: /* --no-gcrypt */
/*
* Valgrind reports many memory errors with gcrypt.
* This option disables the init/deinit of gcrypt,
* it must NOT be used for other purposes!
*/
weechat_no_gcrypt = 1;
break;
case ':':
string_fprintf (stderr,
_("Error: missing argument for \"%s\" option\n"),
argv[optind - 1]);
weechat_shutdown (EXIT_FAILURE, 0);
break;
case '?':
/* ignore any unknown option; plugins can use them */
break;
default:
/* ignore any other error */
break;
}
}
}
/*
* Displays WeeChat startup message.
* Display WeeChat startup message.
*/
void
@@ -480,10 +205,10 @@ weechat_startup_message (void)
}
/*
* Displays warnings about $TERM if it is detected as wrong.
* Display warnings about $TERM if it is detected as wrong.
*
* If $TERM is different from "screen" or "screen-256color" and that $STY is
* set (GNU screen) or $TMUX is set (tmux), then a warning is displayed.
* set (GNU screen) or $TMUX is set (tmux), then display a warning.
*/
void
@@ -550,8 +275,8 @@ weechat_term_check (void)
}
/*
* Displays warning about wrong locale ($LANG and $LC_*) if they are detected
* as wrong.
* Display warning about wrong locale ($LANG and $LC_*) if they are detected as
* wrong.
*/
void
@@ -568,7 +293,7 @@ weechat_locale_check (void)
}
/*
* Shutdowns WeeChat.
* Shut down WeeChat.
*/
void
@@ -607,7 +332,7 @@ weechat_shutdown (int return_code, int crash)
}
/*
* Initializes gettext.
* Initialize gettext.
*/
void
@@ -629,7 +354,7 @@ weechat_init_gettext (void)
}
/*
* Initializes WeeChat.
* Initialize WeeChat.
*/
void
@@ -661,7 +386,7 @@ weechat_init (int argc, char *argv[], void (*gui_init_cb)(void))
weechat_shutdown (EXIT_FAILURE, 0);
if (!config_weechat_init ()) /* init WeeChat options (weechat.*) */
weechat_shutdown (EXIT_FAILURE, 0);
weechat_parse_args (argc, argv); /* parse command line args */
args_parse (argc, argv); /* parse command line args */
dir_create_home_dirs (); /* create WeeChat home directories */
log_init (); /* init log file */
plugin_api_init (); /* create some hooks (info,hdata,..)*/
@@ -701,7 +426,7 @@ weechat_init (int argc, char *argv[], void (*gui_init_cb)(void))
}
/*
* Ends WeeChat.
* End WeeChat.
*/
void
+4
View File
@@ -122,6 +122,10 @@ extern char *weechat_cache_dir;
extern char *weechat_runtime_dir;
extern int weechat_locale_ok;
extern char *weechat_local_charset;
extern int weechat_server_cmd_line;
extern char *weechat_force_plugin_autoload;
extern int weechat_doc_gen;
extern char *weechat_doc_gen_path;
extern int weechat_plugin_no_dlclose;
extern int weechat_no_gnutls;
extern int weechat_no_gcrypt;

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