mirror of
https://github.com/weechat/weechat.git
synced 2026-06-12 14:14:48 +02:00
Compare commits
68 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 43d9b3a723 | |||
| 5beb5d7052 | |||
| 0ff08e54f5 | |||
| 30e48336f4 | |||
| 2807a8374b | |||
| da934d9818 | |||
| 939b16230c | |||
| c3707bb6e1 | |||
| fa46a2fe2d | |||
| 4d696d7cc8 | |||
| c8f2ebcea3 | |||
| 72fdd689a2 | |||
| 2384dbe193 | |||
| fd72226a71 | |||
| 765d2dd277 | |||
| 8c87b7a1f0 | |||
| 07565a4aa6 | |||
| 79f71a0e1a | |||
| c016e7ea87 | |||
| bb82dbc0ec | |||
| f8403c76db | |||
| 657e659c42 | |||
| 1c5e5824e7 | |||
| b32f561f77 | |||
| 1745b78b57 | |||
| 7ce5dce8f9 | |||
| 8544d9ef0b | |||
| 3c987f3a1c | |||
| 9ccf62979f | |||
| 579af1b265 | |||
| 54b7c88553 | |||
| aac14f28dd | |||
| e25c364790 | |||
| 299f74bfef | |||
| cfd221014c | |||
| b459dab84b | |||
| 268aa631c6 | |||
| 7dd5abd625 | |||
| d53fb92a30 | |||
| fbc2438c1c | |||
| fca5a4b42c | |||
| 330d7d50d2 | |||
| 786072806b | |||
| d15db0ecbb | |||
| 45ce1d7604 | |||
| 0e1a59cbef | |||
| 1054cdf1e9 | |||
| 0cc5df6649 | |||
| 36c55f6973 | |||
| 00c34b0ba8 | |||
| 8cf56dfdf9 | |||
| 0ab44c02a4 | |||
| 6704825d7b | |||
| ec898732a1 | |||
| 9262720a65 | |||
| 26085575d5 | |||
| 7412f5815c | |||
| 00e25af470 | |||
| 6fc40fb8d4 | |||
| 3e6c8b6a88 | |||
| c002c5f77f | |||
| b69e47d0a2 | |||
| 84e30438d4 | |||
| ee3a4a1fc0 | |||
| 5bf571c60f | |||
| e0e905ca7f | |||
| 2b16036f08 | |||
| 9ef793fd65 |
@@ -39,3 +39,5 @@ labels: bug
|
||||
|
||||
- WeeChat version:
|
||||
- OS, distribution and version:
|
||||
- Terminal:
|
||||
- Terminal multiplexer (screen/tmux/…/none):
|
||||
|
||||
@@ -25,9 +25,8 @@ jobs:
|
||||
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
echo 'APT::Install-Recommends "false";' | sudo tee -a /etc/apt/apt.conf
|
||||
sudo apt-get update -qq
|
||||
sudo apt-get -y install devscripts equivs python-pip libenchant-dev autopoint cmake lcov pkg-config libncursesw5-dev gem2deb libperl-dev python-dev python3-dev libaspell-dev liblua5.3-dev tcl8.6-dev guile-2.0-dev libv8-dev libcurl4-gnutls-dev libgcrypt20-dev libgnutls28-dev zlib1g-dev curl libcpputest-dev php7.4-dev libphp7.4-embed libargon2-0-dev libsodium-dev pylint3 asciidoctor
|
||||
sudo apt-get --yes --no-install-recommends install devscripts equivs python-pip libenchant-dev autopoint cmake lcov pkg-config libncursesw5-dev gem2deb libperl-dev python-dev python3-dev libaspell-dev liblua5.3-dev tcl8.6-dev guile-2.0-dev libv8-dev libcurl4-gnutls-dev libgcrypt20-dev libgnutls28-dev zlib1g-dev curl libcpputest-dev php7.4-dev libphp7.4-embed libargon2-0-dev libsodium-dev pylint3 asciidoctor
|
||||
sudo -H pip install --ignore-installed msgcheck
|
||||
|
||||
- name: Test patches
|
||||
|
||||
+52
-15
@@ -15,6 +15,43 @@ https://weechat.org/files/releasenotes/ReleaseNotes-devel.html[release notes]
|
||||
(file _ReleaseNotes.adoc_ in sources).
|
||||
|
||||
|
||||
[[v3.0]]
|
||||
== Version 3.0 (under dev)
|
||||
|
||||
New features::
|
||||
|
||||
* api: add optional list of colors in infos "nick_color" and "nick_color_name" (issue #1565)
|
||||
* api: add argument "bytes" in function string_dyn_concat
|
||||
* api: add function string_color_code_size (issue #1547)
|
||||
* exec: add option "-oerr" to send stderr to buffer (now disabled by default) (issue #1566)
|
||||
* fset: add option fset.look.auto_refresh (issue #1553)
|
||||
* irc: add pointer to irc_nick in focus of bar item "buffer_nicklist" (issue #1535, issue #1538)
|
||||
* irc: allow to send text on buffers with commands /allchan, /allpv and /allserv
|
||||
* irc: evaluate command executed by commands /allchan, /allpv and /allserv (issue #1536)
|
||||
* script: add option script.scripts.download_enabled (issue #1548)
|
||||
* trigger: add variable "tg_argc" in data set by command trigger (issue #1576)
|
||||
* trigger: add variable "tg_trigger_name" in data set by all triggers (issue #1567, issue #1568)
|
||||
|
||||
Bug fixes::
|
||||
|
||||
* core: set "notify_level" to 3 if there is a highlight in the line (issue #1529)
|
||||
* core: do not add line with highlight and tag "notify_none" to hotlist (issue #1529)
|
||||
* irc: remove SASL timeout message displayed by error after successful SASL authentication (issue #1515)
|
||||
* irc: send all channels in a single JOIN command when reconnecting to the server (issue #1551)
|
||||
* script: do not automatically download list of scripts on startup if the file is too old (issue #1548)
|
||||
* spell: properly skip WeeChat and IRC color codes when checking words in input (issue #1547)
|
||||
* trigger: fix recursive calls to triggers using regex (issue #1546)
|
||||
* trigger: add `${tg_tags} !!- ,notify_none,` in conditions of default trigger "beep" (issue #1529)
|
||||
|
||||
Tests::
|
||||
|
||||
* core: add tests on GUI line functions
|
||||
|
||||
Build::
|
||||
|
||||
* core: disable debug by default in autotools build
|
||||
* tests: fix compilation with CppUTest ≥ 4.0
|
||||
|
||||
[[v2.9]]
|
||||
== Version 2.9 (2020-07-18)
|
||||
|
||||
@@ -136,9 +173,9 @@ Bug fixes::
|
||||
Tests::
|
||||
|
||||
* scripts: fix generation of test scripts with Python 3.8
|
||||
* unit: add tests on IRC protocol functions and callbacks
|
||||
* unit: add tests on function secure_derive_key
|
||||
* unit: add tests on functions util_get_time_diff and util_file_get_content
|
||||
* core: add tests on function secure_derive_key
|
||||
* core: add tests on functions util_get_time_diff and util_file_get_content
|
||||
* irc: add tests on IRC protocol functions and callbacks
|
||||
|
||||
Build::
|
||||
|
||||
@@ -201,7 +238,7 @@ Bug fixes::
|
||||
|
||||
Tests::
|
||||
|
||||
* unit: add tests on GUI color functions
|
||||
* core: add tests on GUI color functions
|
||||
|
||||
Build::
|
||||
|
||||
@@ -253,7 +290,7 @@ Bug fixes::
|
||||
|
||||
Tests::
|
||||
|
||||
* unit: add tests on IRC ignore, message and nick functions
|
||||
* irc: add tests on IRC ignore, message and nick functions
|
||||
|
||||
Build::
|
||||
|
||||
@@ -305,7 +342,7 @@ Bug fixes::
|
||||
|
||||
Tests::
|
||||
|
||||
* unit: add tests on function util_signal_search
|
||||
* core: add tests on function util_signal_search
|
||||
|
||||
Build::
|
||||
|
||||
@@ -350,8 +387,8 @@ Bug fixes::
|
||||
|
||||
Tests::
|
||||
|
||||
* unit: fix UTF-8 and evaluation tests on FreeBSD
|
||||
* unit: add tests on IRC configuration and protocol functions
|
||||
* core: fix UTF-8 and evaluation tests on FreeBSD
|
||||
* irc: add tests on IRC configuration and protocol functions
|
||||
|
||||
Build::
|
||||
|
||||
@@ -388,7 +425,7 @@ Bug fixes::
|
||||
|
||||
Tests::
|
||||
|
||||
* unit: add tests on line and hook functions
|
||||
* core: add tests on line and hook functions
|
||||
|
||||
Build::
|
||||
|
||||
@@ -453,7 +490,7 @@ Documentation::
|
||||
|
||||
Tests::
|
||||
|
||||
* unit, scripts: add tests on infolists
|
||||
* core, scripts: add tests on infolists
|
||||
|
||||
Build::
|
||||
|
||||
@@ -540,8 +577,8 @@ Bug fixes::
|
||||
|
||||
Tests::
|
||||
|
||||
* core: display an error if the required locale en_US.UTF-8 is not installed
|
||||
* scripts: add scripting API tests (issue #104)
|
||||
* unit: display an error if the required locale en_US.UTF-8 is not installed
|
||||
|
||||
Build::
|
||||
|
||||
@@ -809,8 +846,8 @@ Documentation::
|
||||
|
||||
Tests::
|
||||
|
||||
* unit: add a test to check if all plugins are loaded
|
||||
* unit: fix locale used to execute tests (issue #631)
|
||||
* core: add a test to check if all plugins are loaded
|
||||
* core: fix locale used to execute tests (issue #631)
|
||||
|
||||
Build::
|
||||
|
||||
@@ -1034,7 +1071,7 @@ Bug fixes::
|
||||
|
||||
Tests::
|
||||
|
||||
* unit: fix memory leak in tests launcher
|
||||
* core: fix memory leak in tests launcher
|
||||
|
||||
Build::
|
||||
|
||||
@@ -1202,7 +1239,7 @@ Build::
|
||||
|
||||
Tests::
|
||||
|
||||
* unit: add unit tests using CppUTest (issue #104)
|
||||
* core: add unit tests using CppUTest (issue #104)
|
||||
|
||||
[[v0.4.3]]
|
||||
== Version 0.4.3 (2014-02-09)
|
||||
|
||||
@@ -17,6 +17,66 @@ https://weechat.org/files/changelog/ChangeLog-devel.html[ChangeLog]
|
||||
(file _ChangeLog.adoc_ in sources).
|
||||
|
||||
|
||||
[[v3.0]]
|
||||
== Version 3.0 (under dev)
|
||||
|
||||
[[v3.0_script_option_download_enabled]]
|
||||
=== New option to enable download of scripts
|
||||
|
||||
A new option has been added to allow the script plugin to download the list of
|
||||
scripts and the scripts themselves (on weechat.org by default).
|
||||
|
||||
This option is `off` by default, so you must opt in if you want to use the
|
||||
`/script` command, even if you upgraded from an old WeeChat version:
|
||||
|
||||
----
|
||||
/set script.scripts.download_enabled on
|
||||
----
|
||||
|
||||
[NOTE]
|
||||
When this option is enabled, WeeChat can sometimes download again the list of
|
||||
scripts when you use the `/script` command, even if you don't install a script.
|
||||
|
||||
[[v3.0_irc_commands_allchan_allpv_allserv]]
|
||||
=== IRC commands /allchan, /allpv and /allserv
|
||||
|
||||
The command and arguments given to commands `/allchan`, `/allpv` and `/allserv`
|
||||
are now evaluated (see /help on the commands for more information).
|
||||
|
||||
Additionally, a breaking change has been introduced: the leading `/` is now
|
||||
required in these commands, so this allows to send text to buffers without
|
||||
using the command `/msg * xxx`.
|
||||
|
||||
So with previous releases, to say "hello" on all channels:
|
||||
|
||||
----
|
||||
/allchan msg * hello
|
||||
----
|
||||
|
||||
Now it can be done like this:
|
||||
|
||||
----
|
||||
/allchan hello
|
||||
----
|
||||
|
||||
If you want to use a command, you must add explicitly the leading `/`:
|
||||
|
||||
----
|
||||
/allchan /msg * hello
|
||||
----
|
||||
|
||||
[[v3.0_trigger_beep]]
|
||||
=== Default "beep" trigger
|
||||
|
||||
The command of "beep" trigger is now executed only if the message does NOT
|
||||
contain the tag "notify_none" (in addition to existing conditions).
|
||||
|
||||
You can restore the default "beep" trigger with the following command:
|
||||
|
||||
----
|
||||
/trigger restore beep
|
||||
----
|
||||
|
||||
[[v2.9]]
|
||||
== Version 2.9 (2020-07-18)
|
||||
|
||||
|
||||
+1
-1
@@ -166,7 +166,7 @@ AC_ARG_ENABLE(enchant, [ --enable-enchant turn on Enchant lib for S
|
||||
AC_ARG_ENABLE(trigger, [ --disable-trigger turn off Trigger plugin (default=compiled)],enable_trigger=$enableval,enable_trigger=yes)
|
||||
AC_ARG_ENABLE(xfer, [ --disable-xfer turn off Xfer (file transfer) plugin (default=compiled)],enable_xfer=$enableval,enable_xfer=yes)
|
||||
AC_ARG_WITH(tclconfig, [ --with-tclconfig=DIR directory containing tcl configuration (tclConfig.sh)],tclconfig=$withval,tclconfig='')
|
||||
AC_ARG_WITH(debug, [ --with-debug debugging: 0=no debug, 1=debug compilation (default=1)],debug=$withval,debug=1)
|
||||
AC_ARG_WITH(debug, [ --with-debug debugging: 0=no debug, 1=debug compilation (default=0)],debug=$withval,debug=0)
|
||||
AC_ARG_ENABLE(tests, [ --enable-tests turn on build of tests (default=not built)],enable_tests=$enableval,enable_tests=no)
|
||||
AC_ARG_ENABLE(man, [ --enable-man turn on build of man page (default=not built)],enable_man=$enableval,enable_man=no)
|
||||
AC_ARG_ENABLE(doc, [ --enable-doc turn on build of documentation (default=not built)],enable_doc=$enableval,enable_doc=no)
|
||||
|
||||
@@ -106,9 +106,9 @@
|
||||
|
||||
| weechat | locale | Spracheinstellung die für die übersetzten Nachrichten verwendet werden soll | -
|
||||
|
||||
| weechat | nick_color | zeigt Farbecode des Nick | Nickname
|
||||
| weechat | nick_color | zeigt Farbecode des Nick | Nickname;Farben (Farben ist eine optionale Kommata getrennte Liste von Farben die genutzt werden sollen; wenn eine Hintergrundfarbe genutzt werden muss das Format wie folgt aussehen Text:Hintergrund; sind die Farben schon vorhanden, werden die WeeChat Optionen für Nickfarben und erzwungene Nickfarben ignoriert)
|
||||
|
||||
| weechat | nick_color_name | zeigt Farbnamen des Nick | Nickname
|
||||
| weechat | nick_color_name | zeigt Farbnamen des Nick | Nickname;Farben (Farben ist eine optionale Kommata getrennte Liste von Farben die genutzt werden sollen; wenn eine Hintergrundfarbe genutzt werden muss das Format wie folgt aussehen Text:Hintergrund; sind die Farben schon vorhanden, werden die WeeChat Optionen für Nickfarben und erzwungene Nickfarben ignoriert)
|
||||
|
||||
| weechat | pid | WeeChat PID (Prozess-ID) | -
|
||||
|
||||
|
||||
@@ -17,71 +17,87 @@ target: Servername
|
||||
* `+allchan+`: führt einen Befehl aus der an alle Channels gesendet wird, die mit einem Server verbunden sind
|
||||
|
||||
----
|
||||
/allchan [-current] [-exclude=<channel>[,<channel>...]] <command> [<arguments>]
|
||||
[-current] -include=<channel>[,<channel>...] <command> [<arguments>]
|
||||
/allchan [-current] [-exclude=<channel>[,<channel>...]] <command>
|
||||
[-current] -include=<channel>[,<channel>...] <command>
|
||||
|
||||
-current: führt einen Befehl aus der an alle Channels des aktuellen Servers gesendet wird
|
||||
-exclude: dient zum Ausschluss ausgewählter Channels (Platzhalter "*" kann verwendet werden)
|
||||
-include: findet Anwendung für ausgewählte Channels (Platzhalter "*" kann verwendet werden)\n
|
||||
command: Befehl der ausgeführt werden soll
|
||||
arguments: Argumente für Befehl (Variablen die genutzt werden können und durch den entsprechenden Wert ersetzt werden: $nick, $channel und $server)
|
||||
|
||||
Argumente und Befehl werden evaluiert (siehe /help eval), folgende Variablen können genutzt werden:
|
||||
$server Name des Servers
|
||||
$channel Name des Channel
|
||||
$nick Nickname der auf dem Server genutzt wird
|
||||
${irc_server.xxx} Variable xxx von Server
|
||||
${irc_channel.xxx} Variable xxx von Channel
|
||||
|
||||
Beispiele:
|
||||
führe den Befehl '/me Ich teste gerade etwas...' für alle Channels aus:
|
||||
/allchan me Ich teste gerade etwas...
|
||||
/allchan /me Ich teste gerade etwas...
|
||||
schicke 'Hallo Welt' an jeden Channel, ausgenommen an den #weechat Channel:
|
||||
/allchan -exclude=#weechat msg * Hallo Welt
|
||||
/allchan -exclude=#weechat Hallo Welt
|
||||
schicke 'Hallo Welt' an jeden Channel, ausgenommen an den #weechat Channel und Channels die mit #linux beginnen:
|
||||
/allchan -exclude=#weechat,#linux* msg * Hallo Welt
|
||||
/allchan -exclude=#weechat,#linux* Hallo Welt
|
||||
schickt den Text 'Hallo' an alle Channels die mit #linux beginnen:
|
||||
/allchan -include=#linux* msg * Hallo
|
||||
/allchan -include=#linux* Hallo
|
||||
----
|
||||
|
||||
[[command_irc_allpv]]
|
||||
* `+allpv+`: führt einen Befehl aus der an alle privaten Buffer gesendet wird, die mit einem Server verbunden sind
|
||||
|
||||
----
|
||||
/allpv [-current] [-exclude=<nick>[,<nick>...]] <command> [<arguments>]
|
||||
[-current] -include=<nick>[,<nick>...] <command> [<arguments>]
|
||||
/allpv [-current] [-exclude=<nick>[,<nick>...]] <command>
|
||||
[-current] -include=<nick>[,<nick>...] <command>
|
||||
|
||||
-current: führt einen Befehl aus der für alle privaten Buffer, des aktuellen Servers, Anwendung findet
|
||||
-exclude: dient zum Ausschluss ausgewählter Nicks (Platzhalter "*" kann verwendet werden)
|
||||
-include: findet Anwendung für ausgewählte Nicks (Platzhalter "*" kann verwendet werden)
|
||||
command: Befehl der ausgeführt werden soll
|
||||
arguments: Argumente für Befehl (Variablen die genutzt werden können und durch den entsprechenden Wert ersetzt werden: $nick, $channel und $server)
|
||||
|
||||
Argumente und Befehl werden evaluiert (siehe /help eval), folgende Variablen können genutzt werden:
|
||||
$server Name des Servers
|
||||
$channel Name des Channel
|
||||
$nick Nickname der auf dem Server genutzt wird
|
||||
${irc_server.xxx} Variable xxx von Server
|
||||
${irc_channel.xxx} Variable xxx von Channel
|
||||
|
||||
Beispiele:
|
||||
führe den Befehl '/me Ich teste gerade etwas...' für alle privaten Buffer aus:
|
||||
/allpv me Ich teste gerade etwas...
|
||||
/allpv /me Ich teste gerade etwas...
|
||||
schicke 'Hallo' an alle, ausgenommen an Nick foo:
|
||||
/allpv -exclude=foo msg * Hallo
|
||||
/allpv -exclude=foo Hallo
|
||||
schicke den Text 'Hallo' an alle, ausgenommen für Nick foo und Nicks die mit bar beginnen:
|
||||
/allpv -exclude=foo,bar* msg * Hallo
|
||||
/allpv -exclude=foo,bar* Hallo
|
||||
schicke den Text 'Hallo' an alle Nicks die mit bar beginnen:
|
||||
/allpv -include=bar* msg * Hallo
|
||||
/allpv -include=bar* Hallo
|
||||
schließe alle privaten Buffer:
|
||||
/allpv close
|
||||
/allpv /close
|
||||
----
|
||||
|
||||
[[command_irc_allserv]]
|
||||
* `+allserv+`: führt einen Befehl aus, der zu allen verbundenen Server gesendet wird
|
||||
|
||||
----
|
||||
/allserv [-exclude=<server>[,<server>...]] <command> [<arguments>]
|
||||
-include=<server>[,<server>...] <command> [<arguments>]
|
||||
/allserv [-exclude=<server>[,<server>...]] <command>
|
||||
-include=<server>[,<server>...] <command>
|
||||
|
||||
-exclude: dient zum Ausschluss ausgewählter Server (Platzhalter "*" kann verwendet werden)
|
||||
-include: findet Anwendung für ausgewählte Server (Platzhalter "*" kann verwendet werden)
|
||||
command: Befehl der ausgeführt werden soll
|
||||
arguments: Argumente für Befehl (Variablen die genutzt werden können und durch den entsprechenden Wert ersetzt werden: $nick, $channel und $server)
|
||||
|
||||
Argumente und Befehl werden evaluiert (siehe /help eval), folgende Variablen können genutzt werden:
|
||||
$server Name des Servers
|
||||
$nick Nickname der auf dem Server genutzt wird
|
||||
${irc_server.xxx} Variable xxx von Server
|
||||
|
||||
Beispiele:
|
||||
ändere den Nick auf allen Servern:
|
||||
/allserv nick newnick
|
||||
/allserv /nick newnick
|
||||
setzt den Status, auf allen Servern, auf abwesend:
|
||||
/allserv away I'm away
|
||||
/allserv /away I'm away
|
||||
führt ein whois mit meinem nick auf allen Servern aus:
|
||||
/allserv whois $nick
|
||||
/allserv /whois $nick
|
||||
----
|
||||
|
||||
[[command_irc_ban]]
|
||||
@@ -1011,7 +1027,7 @@ Beispiele:
|
||||
Alternativbefehl "/split" wird anlegt um ein Fenster horizontal zu teilen:
|
||||
/alias add split /window splith
|
||||
Alternativbefehl "/hallo" wird angelegt um in allen Channels, außer im #weechat Channel, den Text "Hallo" auszugeben:
|
||||
/alias add hallo /allchan -exclude=#weechat msg * hallo
|
||||
/alias add hallo /allchan -exclude=#weechat hallo
|
||||
Alternativbefehl "/forcejoin" wird angelegt um den IRC Befehl "forcejoin" mit einer Vervollständigung von /sajoin auszuführen:
|
||||
/alias addcompletion %%sajoin forcejoin /quote forcejoin
|
||||
----
|
||||
@@ -2159,7 +2175,7 @@ charset: wähle neuen Zeichensatz für aktuellen Buffer
|
||||
|
||||
----
|
||||
/exec -list
|
||||
[-sh|-nosh] [-bg|-nobg] [-stdin|-nostdin] [-buffer <name>] [-l|-o|-n|-nf] [-cl|-nocl] [-sw|-nosw] [-ln|-noln] [-flush|-noflush] [-color ansi|auto|irc|weechat|strip] [-rc|-norc] [-timeout <timeout>] [-name <name>] [-pipe <command>] [-hsignal <name>] <command>
|
||||
[-sh|-nosh] [-bg|-nobg] [-stdin|-nostdin] [-buffer <name>] [-l|-o|-oc|-n|-nf] [-oerr] [-cl|-nocl] [-sw|-nosw] [-ln|-noln] [-flush|-noflush] [-color ansi|auto|irc|weechat|strip] [-rc|-norc] [-timeout <timeout>] [-name <name>] [-pipe <command>] [-hsignal <name>] <command>
|
||||
-in <id> <text>
|
||||
-inclose <id> [<text>]
|
||||
-signal <id> <signal>
|
||||
@@ -2181,6 +2197,7 @@ charset: wähle neuen Zeichensatz für aktuellen Buffer
|
||||
-oc: gibt die Ausgabe des Befehls im Buffer aus und führt diesen dann aus (betrifft Zeilen die mit "/" beginnen bzw. das benutzerdefinierte Befehlszeichen verwenden) (nicht kompatibel mit Argumenten -bg/-pipe/-hsignal)
|
||||
-n: gibt die Ausgabe des Befehls in einem neuen Buffer aus (nicht kompatibel mit Argumenten -bg/-pipe/-hsignal)
|
||||
-nf: gibt die Ausgabe des Befehls in einem neuen Buffer, mit einem freien Inhalt, aus (kein Zeilenumbruch, keine Limitierung in der Anzahl der Zeilen), aus (nicht kompatibel mit Argument -bg/-pipe/-hsignal)
|
||||
-oerr: sendet stderr (Fehlerausgabe) an den Buffer (kann nur mit den Optionen -o und -oc verwendet werden)
|
||||
-cl: der neue Buffer wird vor einer Ausgabe gelöscht
|
||||
-nocl: Ausgabe wird an neuen Buffer angehangen, ohne diesen vorher zu löschen (Standardverhalten)
|
||||
-sw: es wird zum Ausgabebuffer gewechselt (Standardverhalten)
|
||||
|
||||
@@ -3320,6 +3320,12 @@
|
||||
** Werte: -1 .. 525600
|
||||
** Standardwert: `+1440+`
|
||||
|
||||
* [[option_script.scripts.download_enabled]] *script.scripts.download_enabled*
|
||||
** Beschreibung: pass:none[Aktivieren Sie den Download von Dateien aus dem Skript-Repository, wenn der Befehl /script verwendet wird (Liste der Skripten und Skripten selbst). Die Liste der Skripten wird von der in der Option script.scripts.url angegebenen URL heruntergeladen. WeeChat lädt manchmal die Liste der Skripten erneut herunter, wenn Sie den Befehl /script verwenden, auch wenn Sie kein Skript installieren]
|
||||
** Typ: boolesch
|
||||
** Werte: on, off
|
||||
** Standardwert: `+off+`
|
||||
|
||||
* [[option_script.scripts.download_timeout]] *script.scripts.download_timeout*
|
||||
** Beschreibung: pass:none[Zeitüberschreitung (in Sekunden) beim herunterladen von Skripten und der Skriptliste]
|
||||
** Typ: integer
|
||||
@@ -3748,6 +3754,12 @@
|
||||
** Werte: beliebige Zeichenkette
|
||||
** Standardwert: `+"${marked} ${name} ${type} ${value2}${newline} ${empty_name} ${_default_value}${color:darkgray} -- ${min}..${max}${newline} ${empty_name} ${description}"+`
|
||||
|
||||
* [[option_fset.look.auto_refresh]] *fset.look.auto_refresh*
|
||||
** Beschreibung: pass:none[durch Kommata getrennte Liste von Optionen, die eine Aktualisierung des fset Buffers auslösen (falls dieser geöffnet sein sollte); "*" beschreibt alle Optionen (empfohlen). Beginnt der Name einer Option hingegen mit "!" erzeugt diese Option keine Aktualisierung des Buffers. Im Optionsnamen kann der Platzhalter "*" verwendet werden (Beispiel: "*,!plugin.section.*" )]
|
||||
** Typ: Zeichenkette
|
||||
** Werte: beliebige Zeichenkette
|
||||
** Standardwert: `+"*"+`
|
||||
|
||||
* [[option_fset.look.auto_unmark]] *fset.look.auto_unmark*
|
||||
** Beschreibung: pass:none[die Markierung wird automatisch für alle Optionen gelöscht, sobald eine Aktion bei einer markierten Option durchgeführt wird oder die Liste neu eingelesen wird]
|
||||
** Typ: boolesch
|
||||
|
||||
@@ -562,6 +562,7 @@ Liste der Skript API Funktionen:
|
||||
string_has_highlight_regex +
|
||||
string_mask_to_regex +
|
||||
string_format_size +
|
||||
string_color_code_size +
|
||||
string_remove_color +
|
||||
string_is_command_char +
|
||||
string_input_for_buffer +
|
||||
|
||||
+39
-13
@@ -382,12 +382,14 @@ Folgen Sie bitte der Anleitung zur Erstellung aus Quellpaketen (siehe <<source_p
|
||||
|
||||
Falls WeeChat abgestürzt sein sollte und Sie diesen Fehler melden möchten:
|
||||
|
||||
* kompilieren Sie WeeChat mit Debug-Information (oder installieren Sie das Binärpaket mit Debug-Information)
|
||||
* kompilieren Sie mit:
|
||||
** Debug-Information (oder installieren Sie das Binärpaket mit Debug-Information)
|
||||
** Kompilation mit Adressbereiniger (optional)
|
||||
* aktivieren Sie _core_ Dateien auf Ihrem System
|
||||
* installieren Sie gdb
|
||||
|
||||
[[debug_info]]
|
||||
==== Debug info
|
||||
[[build_debug]]
|
||||
==== Mit Debug-Optionen erstellen
|
||||
|
||||
Bei der Kompilierung mit CMake muss folgende Option gesetzt werden:
|
||||
|
||||
@@ -395,7 +397,16 @@ Bei der Kompilierung mit CMake muss folgende Option gesetzt werden:
|
||||
$ cmake .. -DCMAKE_BUILD_TYPE=Debug
|
||||
----
|
||||
|
||||
Bei der Kompilierung mit autotools ist debug standardmäßig aktiviert (`--with-debug=1`).
|
||||
Sie können zusätzlich den Adressbereiniger aktivieren, der bei Problemen sofort
|
||||
zum Absturz von WeeChat führt:
|
||||
|
||||
----
|
||||
$ cmake .. -DCMAKE_BUILD_TYPE=Debug -DCMAKE_C_FLAGS=-fsanitize=address -DCMAKE_CXX_FLAGS=-fsanitize=address -DCMAKE_EXE_LINKER_FLAGS=-fsanitize=address
|
||||
----
|
||||
|
||||
[WARNING]
|
||||
Sie sollten die Adressbereinigung nur aktivieren, wenn Sie versuchen, einen
|
||||
Absturz zu provozieren. Dies wird im produktivem Einsatz nicht empfohlen.
|
||||
|
||||
Wird ein Binärpaket genutzt dann muss zusätzlich das Paket _weechat-dbg_ installiert werden.
|
||||
|
||||
@@ -641,7 +652,7 @@ Beispiel des WeeChat-Terminals:
|
||||
│ │ │ │
|
||||
│ │ │ │
|
||||
│ │ │ │
|
||||
│ │[12:55] [5] [irc/freenode] 2:#test(+n){4}* [Act: 3:#abc(2,5), 5] │
|
||||
│ │[12:55] [5] [irc/freenode] 2:#test(+n){4}* [H: 3:#abc(2,5), 5] │
|
||||
│ │[@Flashy(i)] hi peter!█ │
|
||||
└──────────────────────────────────────────────────────────────────────────────────────┘
|
||||
▲ Bars "status" und "input" Bar "nicklist" ▲
|
||||
@@ -692,7 +703,7 @@ Die _status_-Bar besitzt als Standardeinträge:
|
||||
| buffer_filter | `+*+` | Filteranzeige: `+*+` bedeutet das Zeilen gefiltert (unterdrückt) werden. Ein leerer Eintrag zeigt an, dass alle Zeilen dargestellt werden.
|
||||
| scroll | `-MORE(50)-` | Scroll Indikator, zeigt an wie viele Zeilen unterhalb der zur Zeit dargestellten Zeile vorhanden sind.
|
||||
| lag | `[Lag: 2.5]` | Verzögerungsanzeige, in Sekunden (keine Anzeige falls Verzögerung gering).
|
||||
| hotlist | `[Act: 3:#abc(2,5), 5]` | Liste der Buffer mit Aktivität (ungelesene Nachrichten) (für das Beispiel: 2 Highlights und 5 ungelesene Nachrichten im Channel _#abc_, eine ungelesene Nachricht in Buffer #5).
|
||||
| hotlist | `[H: 3:#abc(2,5), 5]` | Liste der Buffer mit Aktivität (ungelesene Nachrichten) (für das Beispiel: 2 Highlights und 5 ungelesene Nachrichten im Channel _#abc_, eine ungelesene Nachricht in Buffer #5).
|
||||
| completion | `abc(2) def(5)` | Liste von Wörtern für Vervollständigung, die Zahl zeigt an wie viele Varianten möglich sind.
|
||||
|===
|
||||
|
||||
@@ -1124,11 +1135,11 @@ Tags die häufig verwendet werden (keine vollständige Auflistung):
|
||||
| no_filter | Zeile kann nicht gefiltert werden.
|
||||
| no_highlight | die Zeile kann nicht gehiglighted werden.
|
||||
| no_log | Zeile wird nicht in die Log-Datei geschrieben.
|
||||
| log0 ... log9 | Grad der Protokollierung (siehe `/help logger`).
|
||||
| notify_none | Buffer welche die Zeile enthält wird nicht zur Hotlist hinzufügt.
|
||||
| notify_message | Buffer welche die Zeile enthält wird mit der Stufe "message" zur Hotlist hinzugefügt.
|
||||
| notify_private | Buffer welche die Zeile enthält wird mit der Stufe "private" zur Hotlist hinzugefügt.
|
||||
| notify_highlight | Buffer welche die Zeile enthält wird mit der Stufe "highlight" zur Hotlist hinzugefügt.
|
||||
| log0 … log9 | Grad der Protokollierung (siehe `/help logger`).
|
||||
| notify_none | Diese Zeile wird erzeugt keinen Hotlist-Eintrag. ^(1)^
|
||||
| notify_message | Diese Zeile ist eine User Nachricht. ^(1)^
|
||||
| notify_private | Diese Zeile ist eine private Nachricht. ^(1)^
|
||||
| notify_highlight | Diese Zeile beinhaltet eine Highlight Nachricht. ^(1)^
|
||||
| self_msg | eigene Nachricht.
|
||||
| nick_xxx | Nachricht ist vom Nick "xxx".
|
||||
| prefix_nick_ccc | Präfix für den Nick mit der Farbe "ccc".
|
||||
@@ -1143,6 +1154,12 @@ Tags die häufig verwendet werden (keine vollständige Auflistung):
|
||||
| away_info | Nachricht mit "away" Information.
|
||||
|===
|
||||
|
||||
[NOTE]
|
||||
^(1)^ Wenn kein "notify_xxx" Tag vorhanden ist, ist die Benachrichtigungsstufe "low".
|
||||
Falls ein "notify_xxx" Tag vorhanden ist, kann die tatsächliche Benachrichtigungsstufe
|
||||
unterschiedlich sein. Wenn beispielsweise der max hotlist level für einen Nick verwendet
|
||||
wird, kann die Benachrichtigungsstufe niedriger sein als der Wert im Tag.
|
||||
|
||||
[[bars]]
|
||||
=== Bars
|
||||
|
||||
@@ -4103,6 +4120,14 @@ Monitor-Buffer zu öffnen:
|
||||
/trigger monitor
|
||||
----
|
||||
|
||||
Alle Callbacks setzen folgende Variablen in das hashtable:
|
||||
|
||||
[width="100%",cols="3m,2,14",options="header"]
|
||||
|===
|
||||
| Variable | Typ | Beschreibung
|
||||
| tg_trigger_name | string | Name des Trigger.
|
||||
|===
|
||||
|
||||
[[trigger_data_signal]]
|
||||
===== Signale
|
||||
|
||||
@@ -4272,8 +4297,9 @@ Der Callback von "command" legt folgende Variablen in der Hashtable an:
|
||||
|===
|
||||
| Variable | Typ | Beschreibung
|
||||
| buffer | pointer | Buffer.
|
||||
| tg_argvN | string | Argument #N.
|
||||
| tg_argv_eolN | string | von Argument #N bis zum Ende der Argumente.
|
||||
| tg_argc | string | Die Anzahl von Argumenten (der Befehl wird mitgezählt).
|
||||
| tg_argvN | string | Argument #N (`+tg_argv0+` ist der Befehl selber, die weiteren sind Argumente).
|
||||
| tg_argv_eolN | string | von Argument #N bis zum Ende der Argumente (`+tg_argv_eol0+` enthält den eigentlichen Befehl).
|
||||
|===
|
||||
|
||||
[[trigger_data_command_run]]
|
||||
|
||||
@@ -106,9 +106,9 @@
|
||||
|
||||
| weechat | locale | locale used for translating messages | -
|
||||
|
||||
| weechat | nick_color | get nick color code | nickname
|
||||
| weechat | nick_color | get nick color code | nickname;colors (colors is an optional comma-separated list of colors to use; background is allowed for a color with format text:background; if colors is present, WeeChat options with nick colors and forced nick colors are ignored)
|
||||
|
||||
| weechat | nick_color_name | get nick color name | nickname
|
||||
| weechat | nick_color_name | get nick color name | nickname;colors (colors is an optional comma-separated list of colors to use; background is allowed for a color with format text:background; if colors is present, WeeChat options with nick colors and forced nick colors are ignored)
|
||||
|
||||
| weechat | pid | WeeChat PID (process ID) | -
|
||||
|
||||
|
||||
@@ -17,71 +17,87 @@ target: server name
|
||||
* `+allchan+`: execute a command on all channels of all connected servers
|
||||
|
||||
----
|
||||
/allchan [-current] [-exclude=<channel>[,<channel>...]] <command> [<arguments>]
|
||||
[-current] -include=<channel>[,<channel>...] <command> [<arguments>]
|
||||
/allchan [-current] [-exclude=<channel>[,<channel>...]] <command>
|
||||
[-current] -include=<channel>[,<channel>...] <command>
|
||||
|
||||
-current: execute command for channels of current server only
|
||||
-exclude: exclude some channels (wildcard "*" is allowed)
|
||||
-include: include only some channels (wildcard "*" is allowed)
|
||||
command: command to execute
|
||||
arguments: arguments for command (special variables $nick, $channel and $server are replaced by their value)
|
||||
command: command to execute (or text to send to buffer if command does not start with '/')
|
||||
|
||||
Command and arguments are evaluated (see /help eval), the following variables are replaced:
|
||||
$server server name
|
||||
$channel channel name
|
||||
$nick nick on server
|
||||
${irc_server.xxx} variable xxx in server
|
||||
${irc_channel.xxx} variable xxx in channel
|
||||
|
||||
Examples:
|
||||
execute '/me is testing' on all channels:
|
||||
/allchan me is testing
|
||||
/allchan /me is testing
|
||||
say 'hello' everywhere but not on #weechat:
|
||||
/allchan -exclude=#weechat msg * hello
|
||||
/allchan -exclude=#weechat hello
|
||||
say 'hello' everywhere but not on #weechat and channels beginning with #linux:
|
||||
/allchan -exclude=#weechat,#linux* msg * hello
|
||||
/allchan -exclude=#weechat,#linux* hello
|
||||
say 'hello' on all channels beginning with #linux:
|
||||
/allchan -include=#linux* msg * hello
|
||||
/allchan -include=#linux* hello
|
||||
----
|
||||
|
||||
[[command_irc_allpv]]
|
||||
* `+allpv+`: execute a command on all private buffers of all connected servers
|
||||
|
||||
----
|
||||
/allpv [-current] [-exclude=<nick>[,<nick>...]] <command> [<arguments>]
|
||||
[-current] -include=<nick>[,<nick>...] <command> [<arguments>]
|
||||
/allpv [-current] [-exclude=<nick>[,<nick>...]] <command>
|
||||
[-current] -include=<nick>[,<nick>...] <command>
|
||||
|
||||
-current: execute command for private buffers of current server only
|
||||
-exclude: exclude some nicks (wildcard "*" is allowed)
|
||||
-include: include only some nicks (wildcard "*" is allowed)
|
||||
command: command to execute
|
||||
arguments: arguments for command (special variables $nick, $channel and $server are replaced by their value)
|
||||
command: command to execute (or text to send to buffer if command does not start with '/')
|
||||
|
||||
Command and arguments are evaluated (see /help eval), the following variables are replaced:
|
||||
$server server name
|
||||
$channel channel name
|
||||
$nick nick on server
|
||||
${irc_server.xxx} variable xxx in server
|
||||
${irc_channel.xxx} variable xxx in channel
|
||||
|
||||
Examples:
|
||||
execute '/me is testing' on all private buffers:
|
||||
/allpv me is testing
|
||||
/allpv /me is testing
|
||||
say 'hello' everywhere but not for nick foo:
|
||||
/allpv -exclude=foo msg * hello
|
||||
/allpv -exclude=foo hello
|
||||
say 'hello' everywhere but not for nick foo and nicks beginning with bar:
|
||||
/allpv -exclude=foo,bar* msg * hello
|
||||
/allpv -exclude=foo,bar* hello
|
||||
say 'hello' for all nicks beginning with bar:
|
||||
/allpv -include=bar* msg * hello
|
||||
/allpv -include=bar* hello
|
||||
close all private buffers:
|
||||
/allpv close
|
||||
/allpv /close
|
||||
----
|
||||
|
||||
[[command_irc_allserv]]
|
||||
* `+allserv+`: execute a command on all connected servers
|
||||
|
||||
----
|
||||
/allserv [-exclude=<server>[,<server>...]] <command> [<arguments>]
|
||||
-include=<server>[,<server>...] <command> [<arguments>]
|
||||
/allserv [-exclude=<server>[,<server>...]] <command>
|
||||
-include=<server>[,<server>...] <command>
|
||||
|
||||
-exclude: exclude some servers (wildcard "*" is allowed)
|
||||
-include: include only some servers (wildcard "*" is allowed)
|
||||
command: command to execute
|
||||
arguments: arguments for command (special variables $nick, $channel and $server are replaced by their value)
|
||||
command: command to execute (or text to send to buffer if command does not start with '/')
|
||||
|
||||
Command and arguments are evaluated (see /help eval), the following variables are replaced:
|
||||
$server server name
|
||||
$nick nick on server
|
||||
${irc_server.xxx} variable xxx in server
|
||||
|
||||
Examples:
|
||||
change nick on all servers:
|
||||
/allserv nick newnick
|
||||
/allserv /nick newnick
|
||||
set away on all servers:
|
||||
/allserv away I'm away
|
||||
/allserv /away I'm away
|
||||
do a whois on my nick on all servers:
|
||||
/allserv whois $nick
|
||||
/allserv /whois $nick
|
||||
----
|
||||
|
||||
[[command_irc_ban]]
|
||||
@@ -1011,7 +1027,7 @@ Examples:
|
||||
alias /split to split window horizontally:
|
||||
/alias add split /window splith
|
||||
alias /hello to say "hello" on all channels but not on #weechat:
|
||||
/alias add hello /allchan -exclude=#weechat msg * hello
|
||||
/alias add hello /allchan -exclude=#weechat hello
|
||||
alias /forcejoin to send IRC command "forcejoin" with completion of /sajoin:
|
||||
/alias addcompletion %%sajoin forcejoin /quote forcejoin
|
||||
----
|
||||
@@ -2159,7 +2175,7 @@ charset: new charset for current buffer
|
||||
|
||||
----
|
||||
/exec -list
|
||||
[-sh|-nosh] [-bg|-nobg] [-stdin|-nostdin] [-buffer <name>] [-l|-o|-n|-nf] [-cl|-nocl] [-sw|-nosw] [-ln|-noln] [-flush|-noflush] [-color ansi|auto|irc|weechat|strip] [-rc|-norc] [-timeout <timeout>] [-name <name>] [-pipe <command>] [-hsignal <name>] <command>
|
||||
[-sh|-nosh] [-bg|-nobg] [-stdin|-nostdin] [-buffer <name>] [-l|-o|-oc|-n|-nf] [-oerr] [-cl|-nocl] [-sw|-nosw] [-ln|-noln] [-flush|-noflush] [-color ansi|auto|irc|weechat|strip] [-rc|-norc] [-timeout <timeout>] [-name <name>] [-pipe <command>] [-hsignal <name>] <command>
|
||||
-in <id> <text>
|
||||
-inclose <id> [<text>]
|
||||
-signal <id> <signal>
|
||||
@@ -2181,6 +2197,7 @@ charset: new charset for current buffer
|
||||
-oc: send output of command to the buffer and execute commands (lines starting with "/" or another custom command char) (not compatible with options -bg/-pipe/-hsignal)
|
||||
-n: display output of command in a new buffer (not compatible with options -bg/-pipe/-hsignal)
|
||||
-nf: display output of command in a new buffer with free content (no word-wrap, no limit on number of lines) (not compatible with options -bg/-pipe/-hsignal)
|
||||
-oerr: also send stderr (error output) to the buffer (can be used only with options -o and -oc)
|
||||
-cl: clear the new buffer before displaying output
|
||||
-nocl: append to the new buffer without clear (default)
|
||||
-sw: switch to the output buffer (default)
|
||||
|
||||
@@ -3320,6 +3320,12 @@
|
||||
** values: -1 .. 525600
|
||||
** default value: `+1440+`
|
||||
|
||||
* [[option_script.scripts.download_enabled]] *script.scripts.download_enabled*
|
||||
** description: pass:none[enable download of files from the scripts repository when the /script command is used (list of scripts and scripts themselves); the list of scripts is downloaded from the URL specified in the option script.scripts.url; WeeChat will sometimes download again the list of scripts when you use the /script command, even if you don't install a script]
|
||||
** type: boolean
|
||||
** values: on, off
|
||||
** default value: `+off+`
|
||||
|
||||
* [[option_script.scripts.download_timeout]] *script.scripts.download_timeout*
|
||||
** description: pass:none[timeout (in seconds) for download of scripts and list of scripts]
|
||||
** type: integer
|
||||
@@ -3748,6 +3754,12 @@
|
||||
** values: any string
|
||||
** default value: `+"${marked} ${name} ${type} ${value2}${newline} ${empty_name} ${_default_value}${color:darkgray} -- ${min}..${max}${newline} ${empty_name} ${description}"+`
|
||||
|
||||
* [[option_fset.look.auto_refresh]] *fset.look.auto_refresh*
|
||||
** description: pass:none[comma separated list of options to automatically refresh on the fset buffer (if opened); "*" means all options (recommended), a name beginning with "!" is a negative value to prevent an option to be refreshed, wildcard "*" is allowed in names (example: "*,!plugin.section.*")]
|
||||
** type: string
|
||||
** values: any string
|
||||
** default value: `+"*"+`
|
||||
|
||||
* [[option_fset.look.auto_unmark]] *fset.look.auto_unmark*
|
||||
** description: pass:none[automatically unmark all options after an action on marked options or after a refresh]
|
||||
** type: boolean
|
||||
|
||||
@@ -419,6 +419,7 @@ WeeChat "core" is located in following directories:
|
||||
| test-irc-mode.cpp | Tests: IRC modes.
|
||||
| test-irc-nick.cpp | Tests: IRC nicks.
|
||||
| test-irc-protocol.cpp | Tests: IRC protocol.
|
||||
| test-irc-server.cpp | Tests: IRC server.
|
||||
| relay/ | Root of unit tests for Relay plugin.
|
||||
| test-relay-auth.cpp | Tests: clients authentication.
|
||||
|
||||
|
||||
@@ -1888,6 +1888,55 @@ str = weechat.string_format_size(size)
|
||||
str = weechat.string_format_size(15200) # == "15.2 KB"
|
||||
----
|
||||
|
||||
==== string_color_code_size
|
||||
|
||||
_WeeChat ≥ 3.0._
|
||||
|
||||
Return the size (in bytes) of the WeeChat color code at the beginning of
|
||||
the string.
|
||||
|
||||
Prototype:
|
||||
|
||||
[source,C]
|
||||
----
|
||||
int weechat_string_color_code_size (const char *string);
|
||||
----
|
||||
|
||||
Arguments:
|
||||
|
||||
* _string_: string
|
||||
|
||||
Return value:
|
||||
|
||||
* size (in bytes) of the WeeChat color code at the beginning of the string;
|
||||
if the string is NULL, empty or does not start with a color code, 0 is returned;
|
||||
if the string begins with multiple color codes, only the size of the first one
|
||||
is returned
|
||||
|
||||
C examples:
|
||||
|
||||
[source,C]
|
||||
----
|
||||
int size;
|
||||
|
||||
size = weechat_string_color_code_size ("test"); /* size == 0 */
|
||||
size = weechat_string_color_code_size (weechat_color ("bold")); /* size == 2 */
|
||||
size = weechat_string_color_code_size (weechat_color ("yellow,red")); /* size == 7 */
|
||||
----
|
||||
|
||||
Script (Python):
|
||||
|
||||
[source,python]
|
||||
----
|
||||
# prototype
|
||||
size = weechat.string_color_code_size(string)
|
||||
|
||||
# examples
|
||||
size = weechat.string_color_code_size("test") # size == 0
|
||||
size = weechat.string_color_code_size(weechat.color("bold")) # size == 2
|
||||
size = weechat.string_color_code_size(weechat.color("yellow,red")) # size == 7
|
||||
----
|
||||
|
||||
==== string_remove_color
|
||||
|
||||
Remove WeeChat colors from a string.
|
||||
@@ -2770,7 +2819,7 @@ This function is not available in scripting API.
|
||||
|
||||
==== string_dyn_concat
|
||||
|
||||
_WeeChat ≥ 1.8._
|
||||
_WeeChat ≥ 1.8, updated in 3.0._
|
||||
|
||||
Concatenate a string to a dynamic string.
|
||||
|
||||
@@ -2781,13 +2830,16 @@ Prototype:
|
||||
|
||||
[source,C]
|
||||
----
|
||||
int weechat_string_dyn_concat (char **string, const char *add);
|
||||
int weechat_string_dyn_concat (char **string, const char *add, int bytes);
|
||||
----
|
||||
|
||||
Arguments:
|
||||
|
||||
* _string_: pointer to dynamic string
|
||||
* _add_: the string to add
|
||||
* _bytes_: max number of bytes in _add_ to concatenate, must be lower or equal
|
||||
to length of _add_ (-1 = automatic: concatenate whole string _add_)
|
||||
_(WeeChat ≥ 3.0)_
|
||||
|
||||
Return value:
|
||||
|
||||
@@ -2800,7 +2852,7 @@ C example:
|
||||
char **string = weechat_string_dyn_alloc (256);
|
||||
if (weechat_string_dyn_copy (string, "test"))
|
||||
{
|
||||
if (weechat_string_dyn_concat (string, "abc"))
|
||||
if (weechat_string_dyn_concat (string, "abc", -1))
|
||||
{
|
||||
/* ... */
|
||||
}
|
||||
@@ -12104,8 +12156,7 @@ Content of hashtable sent to callback (keys and values are of type "string"):
|
||||
| _chat | Chat area indicator. |
|
||||
"0" or "1" | "0"
|
||||
|
||||
| _chat_line | Pointer to line +
|
||||
_(WeeChat ≥ 1.2)_. |
|
||||
| _chat_line | Pointer to line _(WeeChat ≥ 1.2)_. |
|
||||
"0x1234abcd" | ""
|
||||
|
||||
| _chat_line_x | Column in line ^(3)^. |
|
||||
@@ -12159,8 +12210,7 @@ Content of hashtable sent to callback (keys and values are of type "string"):
|
||||
| _bar_item_col | Column in bar item. |
|
||||
"0" ... "n" | "-1"
|
||||
|
||||
| _bar_window | Pointer to bar window +
|
||||
_(WeeChat ≥ 2.9)_. |
|
||||
| _bar_window | Pointer to bar window _(WeeChat ≥ 2.9)_. |
|
||||
"0x1234abcd" | ""
|
||||
|===
|
||||
|
||||
@@ -12181,6 +12231,7 @@ Extra info for bar item "buffer_nicklist":
|
||||
| nick | core | Nick name.
|
||||
| prefix | core | Prefix for nick.
|
||||
| group | core | Group name.
|
||||
| irc_nick | irc | Pointer to IRC nick _(WeeChat ≥ 3.0)_.
|
||||
| irc_host | irc | Host for nick (if known).
|
||||
|===
|
||||
|
||||
|
||||
@@ -546,6 +546,7 @@ List of functions in script API:
|
||||
string_has_highlight_regex +
|
||||
string_mask_to_regex +
|
||||
string_format_size +
|
||||
string_color_code_size +
|
||||
string_remove_color +
|
||||
string_is_command_char +
|
||||
string_input_for_buffer +
|
||||
|
||||
+42
-16
@@ -375,12 +375,14 @@ Then follow instructions for source package (see
|
||||
If you experienced crashes, or if you want to report any future WeeChat crash,
|
||||
you have to:
|
||||
|
||||
* Compile it with debug info (or install binary package with debug info).
|
||||
* Compile with:
|
||||
** debug info (or install binary package with debug info),
|
||||
** address sanitizer (optional).
|
||||
* Enable _core_ files on your system.
|
||||
* Install gdb.
|
||||
|
||||
[[debug_info]]
|
||||
==== Debug info
|
||||
[[build_debug]]
|
||||
==== Build with debug options
|
||||
|
||||
If you're compiling with CMake:
|
||||
|
||||
@@ -388,7 +390,16 @@ If you're compiling with CMake:
|
||||
$ cmake .. -DCMAKE_BUILD_TYPE=Debug
|
||||
----
|
||||
|
||||
If you're compiling with autotools, debug is default (`--with-debug=1`).
|
||||
You can additionally enable the address sanitizer, which causes WeeChat to
|
||||
crash immediately in case of problem:
|
||||
|
||||
----
|
||||
$ cmake .. -DCMAKE_BUILD_TYPE=Debug -DCMAKE_C_FLAGS=-fsanitize=address -DCMAKE_CXX_FLAGS=-fsanitize=address -DCMAKE_EXE_LINKER_FLAGS=-fsanitize=address
|
||||
----
|
||||
|
||||
[WARNING]
|
||||
You should enable address sanitizer only if you're trying to cause a crash,
|
||||
this is not recommended in production.
|
||||
|
||||
If you installed a binary package, then install package _weechat-dbg_.
|
||||
|
||||
@@ -635,7 +646,7 @@ Example of terminal with WeeChat:
|
||||
│ │ │ │
|
||||
│ │ │ │
|
||||
│ │ │ │
|
||||
│ │[12:55] [5] [irc/freenode] 2:#test(+n){4}* [Act: 3:#abc(2,5), 5] │
|
||||
│ │[12:55] [5] [irc/freenode] 2:#test(+n){4}* [H: 3:#abc(2,5), 5] │
|
||||
│ │[@Flashy(i)] hi peter!█ │
|
||||
└──────────────────────────────────────────────────────────────────────────────────────┘
|
||||
▲ bars "status" and "input" bar "nicklist" ▲
|
||||
@@ -686,7 +697,7 @@ Bar _status_ has following default items:
|
||||
| buffer_filter | `+*+` | Filtering indicator: `+*+` means some lines are filtered (hidden), empty value means all lines are displayed.
|
||||
| scroll | `-MORE(50)-` | Scroll indicator, with number of lines below last line displayed.
|
||||
| lag | `[Lag: 2.5]` | Lag indicator, in seconds (hidden if lag is low).
|
||||
| hotlist | `[Act: 3:#abc(2,5), 5]` | List of buffers with activity (unread messages) (in example, 2 highlights and 5 unread messages on _#abc_, one unread message on buffer #5).
|
||||
| hotlist | `[H: 3:#abc(2,5), 5]` | List of buffers with activity (unread messages) (in example, 2 highlights and 5 unread messages on _#abc_, one unread message on buffer #5).
|
||||
| completion | `abc(2) def(5)` | List of words for completion, with number of possible completions for each word.
|
||||
|===
|
||||
|
||||
@@ -1108,11 +1119,11 @@ Tags commonly used (non-exhaustive list):
|
||||
| no_filter | Line can not be filtered.
|
||||
| no_highlight | No highlight is possible on line.
|
||||
| no_log | Line is not written in log file.
|
||||
| log0 ... log9 | Level of log for line (see `/help logger`).
|
||||
| notify_none | Buffer with line is not added to hotlist.
|
||||
| notify_message | Buffer with line is added to hotlist with level "message".
|
||||
| notify_private | Buffer with line is added to hotlist with level "private".
|
||||
| notify_highlight | Buffer with line is added to hotlist with level "highlight".
|
||||
| log0 … log9 | Level of log for line (see `/help logger`).
|
||||
| notify_none | The line must not be added to hotlist. ^(1)^
|
||||
| notify_message | The line is a user message. ^(1)^
|
||||
| notify_private | The line is a private message. ^(1)^
|
||||
| notify_highlight | The line is a message with highlight. ^(1)^
|
||||
| self_msg | Self message.
|
||||
| nick_xxx | Message is from nick "xxx".
|
||||
| prefix_nick_ccc | Prefix is a nick with color "ccc".
|
||||
@@ -1127,6 +1138,12 @@ Tags commonly used (non-exhaustive list):
|
||||
| away_info | Message with away info.
|
||||
|===
|
||||
|
||||
[NOTE]
|
||||
^(1)^ When no tag "notify_xxx" is present, the default level is "low". If a tag
|
||||
"notify_xxx" is present, the real notify level can be different, for example
|
||||
if a max hotlist level is used for a nick, the notify level can be lower than
|
||||
the value in the tag.
|
||||
|
||||
[[bars]]
|
||||
=== Bars
|
||||
|
||||
@@ -4002,7 +4019,7 @@ can be used in following options:
|
||||
* _regex_
|
||||
* _command_
|
||||
|
||||
The content of hashtables depend on the hook type.
|
||||
The content of hashtables depends on the hook type.
|
||||
|
||||
A convenient way to see data in a trigger is to open trigger monitor buffer,
|
||||
using the command:
|
||||
@@ -4011,6 +4028,14 @@ using the command:
|
||||
/trigger monitor
|
||||
----
|
||||
|
||||
All callbacks set following variables in hashtable:
|
||||
|
||||
[width="100%",cols="3m,2,14",options="header"]
|
||||
|===
|
||||
| Variable | Type | Description
|
||||
| tg_trigger_name | string | Name of trigger.
|
||||
|===
|
||||
|
||||
[[trigger_data_signal]]
|
||||
===== Signal
|
||||
|
||||
@@ -4019,8 +4044,8 @@ The "signal" callback sets following variables in hashtable:
|
||||
[width="100%",cols="3m,2,14",options="header"]
|
||||
|===
|
||||
| Variable | Type | Description
|
||||
| tg_signal | string | Name of signal
|
||||
| tg_signal_data | string | Data sent with the signal
|
||||
| tg_signal | string | Name of signal.
|
||||
| tg_signal_data | string | Data sent with the signal.
|
||||
|===
|
||||
|
||||
If the signal contains an IRC message, the message is parsed and following data
|
||||
@@ -4180,8 +4205,9 @@ The "command" callback sets following variables in hashtable:
|
||||
|===
|
||||
| Variable | Type | Description
|
||||
| buffer | pointer | Buffer.
|
||||
| tg_argvN | string | Argument #N.
|
||||
| tg_argv_eolN | string | From argument #N until end of arguments.
|
||||
| tg_argc | string | The number of arguments (the command itself counts for one).
|
||||
| tg_argvN | string | Argument #N (`+tg_argv0+` is the command itself, the others are command arguments).
|
||||
| tg_argv_eolN | string | From argument #N until end of arguments (`+tg_argv_eol0+` includes the command itself).
|
||||
|===
|
||||
|
||||
[[trigger_data_command_run]]
|
||||
|
||||
@@ -106,9 +106,9 @@
|
||||
|
||||
| weechat | locale | locale utilisée pour la traduction des messages | -
|
||||
|
||||
| weechat | nick_color | retourne le code couleur du pseudo | pseudo
|
||||
| weechat | nick_color | retourne le code couleur du pseudo | pseudo;couleurs (couleurs est une liste de couleurs facultative, séparée par des virgules ; un fond est autorisé pour la couleur avec le format texte:fond ; si couleurs est présent, les options WeeChat avec les couleurs de pseudos et couleurs forcées de pseudos sons ignorées)
|
||||
|
||||
| weechat | nick_color_name | retourne le nom de la couleur du pseudo | pseudo
|
||||
| weechat | nick_color_name | retourne le nom de la couleur du pseudo | pseudo;couleurs (couleurs est une liste de couleurs facultative, séparée par des virgules ; un fond est autorisé pour la couleur avec le format texte:fond ; si couleurs est présent, les options WeeChat avec les couleurs de pseudos et couleurs forcées de pseudos sons ignorées)
|
||||
|
||||
| weechat | pid | PID (ID de processus) de WeeChat | -
|
||||
|
||||
|
||||
@@ -17,71 +17,87 @@ cible : nom du serveur
|
||||
* `+allchan+`: exécuter une commande sur tous les canaux de tous les serveurs connectés
|
||||
|
||||
----
|
||||
/allchan [-current] [-exclude=<canal>[,<canal>...]] <commande> [<paramètres>]
|
||||
[-current] [-include=<canal>[,<canal>...]] <commande> [<paramètres>]
|
||||
/allchan [-current] [-exclude=<canal>[,<canal>...]] <commande>
|
||||
[-current] [-include=<canal>[,<canal>...]] <commande>
|
||||
|
||||
-current : exécuter la commande pour les canaux du serveur courant seulement
|
||||
-exclude : exclure certains canaux (le caractère joker "*" est autorisé)
|
||||
-include : inclure seulement certains canaux (le caractère joker "*" est autorisé)
|
||||
commande : commande à exécuter
|
||||
paramètres : paramètres pour la commande (les variables spéciales $nick, $channel et $server sont remplacées par leur valeur)
|
||||
commande : commande à exécuter (ou texte à envoyer au tampon si la commande ne commence pas par '/')
|
||||
|
||||
La commande et les paramètres sont évalués (voir /help eval), les variables suivantes sont remplacées :
|
||||
$server nom du serveur
|
||||
$channel nom du canal
|
||||
$nick pseudo sur le serveur
|
||||
${irc_server.xxx} variable xxx dans le serveur
|
||||
${irc_channel.xxx} variable xxx dans le canal
|
||||
|
||||
Exemples :
|
||||
exécuter '/me teste' sur tous les canaux :
|
||||
/allchan me teste
|
||||
/allchan /me teste
|
||||
dire 'bonjour' partout sauf sur #weechat :
|
||||
/allchan -exclude=#weechat msg * bonjour
|
||||
/allchan -exclude=#weechat bonjour
|
||||
dire 'bonjour' partout sauf sur #weechat et les canaux commençant par #linux :
|
||||
/allchan -exclude=#weechat,#linux* msg * bonjour
|
||||
/allchan -exclude=#weechat,#linux* bonjour
|
||||
dire 'bonjour' sur tous les canaux commençant par #linux :
|
||||
/allchan -include=#linux* msg * bonjour
|
||||
/allchan -include=#linux* bonjour
|
||||
----
|
||||
|
||||
[[command_irc_allpv]]
|
||||
* `+allpv+`: exécuter une commande sur tous les tampons privés de tous les serveurs connectés
|
||||
|
||||
----
|
||||
/allpv [-current] [-exclude=<pseudo>[,<pseudo>...]] <commande> [<paramètres>]
|
||||
[-current] [-include=<pseudo>[,<pseudo>...]] <commande> [<paramètres>]
|
||||
/allpv [-current] [-exclude=<pseudo>[,<pseudo>...]] <commande>
|
||||
[-current] [-include=<pseudo>[,<pseudo>...]] <commande>
|
||||
|
||||
-current : exécuter la commande pour les tampons privés du serveur courant seulement
|
||||
-exclude : exclure certains pseudos (le caractère joker "*" est autorisé)
|
||||
-include : inclure seulement certains pseudos (le caractère joker "*" est autorisé)
|
||||
commande : commande à exécuter
|
||||
paramètres : paramètres pour la commande (les variables spéciales $nick, $channel et $server sont remplacées par leur valeur)
|
||||
commande : commande à exécuter (ou texte à envoyer au tampon si la commande ne commence pas par '/')
|
||||
|
||||
La commande et les paramètres sont évalués (voir /help eval), les variables suivantes sont remplacées :
|
||||
$server nom du serveur
|
||||
$channel nom du canal
|
||||
$nick pseudo sur le serveur
|
||||
${irc_server.xxx} variable xxx dans le serveur
|
||||
${irc_channel.xxx} variable xxx dans le canal
|
||||
|
||||
Exemples :
|
||||
exécuter '/me teste' sur tous les tampons privés :
|
||||
/allpv me teste
|
||||
/allpv /me teste
|
||||
dire 'bonjour' partout sauf sur pour le pseudo foo :
|
||||
/allpv -exclude=foo msg * bonjour
|
||||
/allpv -exclude=foo bonjour
|
||||
dire 'bonjour' partout sauf pour le pseudo foo et les pseudos commençant par bar :
|
||||
/allpv -exclude=foo,bar* msg * bonjour
|
||||
/allpv -exclude=foo,bar* bonjour
|
||||
dire 'bonjour' pour tous les pseudos commençant par bar :
|
||||
/allpv -include=bar* msg * bonjour
|
||||
/allpv -include=bar* bonjour
|
||||
fermer tous les tampons privés :
|
||||
/allpv close
|
||||
/allpv /close
|
||||
----
|
||||
|
||||
[[command_irc_allserv]]
|
||||
* `+allserv+`: exécuter une commande sur tous les serveurs connectés
|
||||
|
||||
----
|
||||
/allserv [-exclude=<serveur>[,<serveur>...]] <commande> [<paramètres>]
|
||||
[-include=<serveur>[,<serveur>...]] <commande> [<paramètres>]
|
||||
/allserv [-exclude=<serveur>[,<serveur>...]] <commande>
|
||||
[-include=<serveur>[,<serveur>...]] <commande>
|
||||
|
||||
-exclude : exclure certains serveurs (le caractère joker "*" est autorisé)
|
||||
-include : inclure seulement certains serveurs (le caractère joker "*" est autorisé)
|
||||
commande : commande à exécuter
|
||||
paramètres : paramètres pour la commande (les variables spéciales $nick, $channel et $server sont remplacées par leur valeur)
|
||||
commande : commande à exécuter (ou texte à envoyer au tampon si la commande ne commence pas par '/')
|
||||
|
||||
La commande et les paramètres sont évalués (voir /help eval), les variables suivantes sont remplacées :
|
||||
$server nom du serveur
|
||||
$nick pseudo sur le serveur
|
||||
${irc_server.xxx} variable xxx dans le serveur
|
||||
|
||||
Exemples :
|
||||
changer de pseudo sur tous les serveurs :
|
||||
/allserv nick newnick
|
||||
/allserv /nick newnick
|
||||
positionner l'absence sur tous les serveurs :
|
||||
/allserv away Je suis absent
|
||||
/allserv /away Je suis absent
|
||||
faire un whois sur mon pseudo sur tous les serveurs :
|
||||
/allserv whois $nick
|
||||
/allserv /whois $nick
|
||||
----
|
||||
|
||||
[[command_irc_ban]]
|
||||
@@ -1011,7 +1027,7 @@ Exemples :
|
||||
alias /split pour diviser la fenêtre horizontalement :
|
||||
/alias add split /window splith
|
||||
alias /hello pour dire "hello" sur tous les canaux mais pas sur #weechat :
|
||||
/alias add hello /allchan -exclude=#weechat msg * hello
|
||||
/alias add hello /allchan -exclude=#weechat hello
|
||||
alias /forcejoin pour envoyer la commande IRC "forcejoin" avec la complétion de /sajoin :
|
||||
/alias addcompletion %%sajoin forcejoin /quote forcejoin
|
||||
----
|
||||
@@ -2159,7 +2175,7 @@ charset : nouveau charset pour le tampon courant
|
||||
|
||||
----
|
||||
/exec -list
|
||||
[-sh|-nosh] [-bg|-nobg] [-stdin|-nostdin] [-buffer <nom>] [-l|-o|-n|-nf] [-cl|-nocl] [-sw|-nosw] [-ln|-noln] |-flush|-noflush] [-color ansi|auto|irc|weechat|strip] [-rc|-norc] [-timeout <délai>] [-name <nom>] [-pipe <commande>] [-hsignal <nom>] <commande>
|
||||
[-sh|-nosh] [-bg|-nobg] [-stdin|-nostdin] [-buffer <nom>] [-l|-o|-oc|-n|-nf] [-oerr] [-cl|-nocl] [-sw|-nosw] [-ln|-noln] |-flush|-noflush] [-color ansi|auto|irc|weechat|strip] [-rc|-norc] [-timeout <délai>] [-name <nom>] [-pipe <commande>] [-hsignal <nom>] <commande>
|
||||
-in <id> <texte>
|
||||
-inclose <id> [<texte>]
|
||||
-signal <id> <signal>
|
||||
@@ -2181,6 +2197,7 @@ charset : nouveau charset pour le tampon courant
|
||||
-oc : envoyer la sortie de la commande au tampon et exécuter les commandes (lignes commençant par "/" ou un caractère personnalisé de commande) (non compatible avec les options -bg/-pipe/-hsignal)
|
||||
-n : afficher la sortie de la commande dans un nouveau tampon (non compatible avec les options -bg/-pipe/-hsignal)
|
||||
-nf : afficher la sortie de la commande dans un nouveau tampon avec contenu libre (pas de coupure des mots, pas de limite sur le nombre de lignes) (non compatible avec les options -bg/-pipe/-hsignal)
|
||||
-oerr : envoyer aussi stderr (sortie d'erreur) au tampon (peut être utilisé seulement avec les options -o et -oc)
|
||||
-cl : effacer le nouveau tampon avant d'afficher la sortie
|
||||
-nocl : ajouter au nouveau tampon sans effacer (par défaut)
|
||||
-sw : basculer vers le tampon de sortie (par défaut)
|
||||
|
||||
@@ -3320,6 +3320,12 @@
|
||||
** valeurs: -1 .. 525600
|
||||
** valeur par défaut: `+1440+`
|
||||
|
||||
* [[option_script.scripts.download_enabled]] *script.scripts.download_enabled*
|
||||
** description: pass:none[activer le téléchargement des fichiers depuis le dépôt des scripts lorsque la commande /script est utilisée (liste des scripts et les scripts eux-mêmes) ; la liste des scripts est téléchargée depuis l'URL spécifiée dans l'option script.scripts.url ; WeeChat téléchargera parfois à nouveau la liste des scripts quand vous utilisez la commande /script, même si vous n'installez pas un script]
|
||||
** type: booléen
|
||||
** valeurs: on, off
|
||||
** valeur par défaut: `+off+`
|
||||
|
||||
* [[option_script.scripts.download_timeout]] *script.scripts.download_timeout*
|
||||
** description: pass:none[délai d'attente maximum (en secondes) pour le téléchargement des scripts et de la liste des scripts]
|
||||
** type: entier
|
||||
@@ -3748,6 +3754,12 @@
|
||||
** valeurs: toute chaîne
|
||||
** valeur par défaut: `+"${marked} ${name} ${type} ${value2}${newline} ${empty_name} ${_default_value}${color:darkgray} -- ${min}..${max}${newline} ${empty_name} ${description}"+`
|
||||
|
||||
* [[option_fset.look.auto_refresh]] *fset.look.auto_refresh*
|
||||
** description: pass:none[liste des options à rafraichir automatiquement sur le tampon fset (s'il est ouvert) ; "*" signifie toutes les options (recommandé), un nom commençant par "!" est une valeur négative pour empêcher une option d'être rafraichie, le caractère joker "*" est autorisé dans les noms (exemple : "*,!plugin.section.*")]
|
||||
** type: chaîne
|
||||
** valeurs: toute chaîne
|
||||
** valeur par défaut: `+"*"+`
|
||||
|
||||
* [[option_fset.look.auto_unmark]] *fset.look.auto_unmark*
|
||||
** description: pass:none[démarquer automatiquement toutes les options après une action sur les options marquées ou après un rafraichissement]
|
||||
** type: booléen
|
||||
|
||||
@@ -421,6 +421,7 @@ Le cœur de WeeChat est situé dans les répertoires suivants :
|
||||
| test-irc-mode.cpp | Tests : modes IRC.
|
||||
| test-irc-nick.cpp | Tests : pseudos IRC.
|
||||
| test-irc-protocol.cpp | Tests : protocole IRC.
|
||||
| test-irc-server.cpp | Tests : serveur IRC.
|
||||
| relay/ | Racine des tests unitaires pour l'extension Relay.
|
||||
| test-relay-auth.cpp | Tests : authentification des clients.
|
||||
|===
|
||||
|
||||
@@ -1922,6 +1922,53 @@ str = weechat.string_format_size(size)
|
||||
str = weechat.string_format_size(15200) # == "15.2 Ko"
|
||||
----
|
||||
|
||||
==== string_color_code_size
|
||||
|
||||
_WeeChat ≥ 3.0._
|
||||
|
||||
Retourner la taille (en octets) du code couleur WeeChat au début de la chaîne.
|
||||
|
||||
Prototype :
|
||||
|
||||
[source,C]
|
||||
----
|
||||
int weechat_string_color_code_size (const char *string);
|
||||
----
|
||||
|
||||
Paramètres :
|
||||
|
||||
* _string_ : chaîne
|
||||
|
||||
Valeur de retour :
|
||||
|
||||
* taille (en octets) du code couleur WeeChat au début de la chaîne ;
|
||||
si la chaîne est NULL, vide ou ne commence pas avec un code couleur, 0 est retourné ;
|
||||
si la chaîne commence par plusieurs codes couleur, seule la taille du premier est retournée
|
||||
|
||||
Exemples en C :
|
||||
|
||||
[source,C]
|
||||
----
|
||||
int size;
|
||||
|
||||
size = weechat_string_color_code_size ("test"); /* size == 0 */
|
||||
size = weechat_string_color_code_size (weechat_color ("bold")); /* size == 2 */
|
||||
size = weechat_string_color_code_size (weechat_color ("yellow,red")); /* size == 7 */
|
||||
----
|
||||
|
||||
Script (Python) :
|
||||
|
||||
[source,python]
|
||||
----
|
||||
# prototype
|
||||
size = weechat.string_color_code_size(string)
|
||||
|
||||
# exemples
|
||||
size = weechat.string_color_code_size("test") # size == 0
|
||||
size = weechat.string_color_code_size(weechat.color("bold")) # size == 2
|
||||
size = weechat.string_color_code_size(weechat.color("yellow,red")) # size == 7
|
||||
----
|
||||
|
||||
==== string_remove_color
|
||||
|
||||
Supprimer les couleurs WeeChat dans une chaîne.
|
||||
@@ -2817,7 +2864,7 @@ Cette fonction n'est pas disponible dans l'API script.
|
||||
|
||||
==== string_dyn_concat
|
||||
|
||||
_WeeChat ≥ 1.8._
|
||||
_WeeChat ≥ 1.8, mis à jour en 3.0._
|
||||
|
||||
Concaténer une chaîne dans une chaîne dynamique.
|
||||
|
||||
@@ -2828,13 +2875,16 @@ Prototype :
|
||||
|
||||
[source,C]
|
||||
----
|
||||
int weechat_string_dyn_concat (char **string, const char *add);
|
||||
int weechat_string_dyn_concat (char **string, const char *add, int bytes);
|
||||
----
|
||||
|
||||
Paramètres :
|
||||
|
||||
* _string_ : pointeur vers la chaîne dynamique
|
||||
* _add_ : la chaîne à ajouter
|
||||
* _bytes_ : nombre maximum d'octets de _add_ à concaténer, doit être inférieur
|
||||
ou égal à la longueur de _add_ (-1 = automatique : concaténer la totalité de
|
||||
la chaîne _add_) _(WeeChat ≥ 3.0)_
|
||||
|
||||
Valeur de retour :
|
||||
|
||||
@@ -2847,7 +2897,7 @@ Exemple en C :
|
||||
char **string = weechat_string_dyn_alloc (256);
|
||||
if (weechat_string_dyn_copy (string, "test"))
|
||||
{
|
||||
if (weechat_string_dyn_concat (string, "abc"))
|
||||
if (weechat_string_dyn_concat (string, "abc", -1))
|
||||
{
|
||||
/* ... */
|
||||
}
|
||||
@@ -12370,8 +12420,7 @@ valeurs sont de type "string") :
|
||||
| _chat | Indicateur zone "chat". |
|
||||
"0" ou "1" | "0"
|
||||
|
||||
| _chat_line | Pointeur vers la ligne +
|
||||
_(WeeChat ≥ 1.2)_. |
|
||||
| _chat_line | Pointeur vers la ligne _(WeeChat ≥ 1.2)_. |
|
||||
"0x1234abcd" | ""
|
||||
|
||||
| _chat_line_x | Colonne de la ligne ^(3)^. |
|
||||
@@ -12425,8 +12474,7 @@ valeurs sont de type "string") :
|
||||
| _bar_item_col | Colonne dans l'objet de barre. |
|
||||
"0" ... "n" | "-1"
|
||||
|
||||
| _bar_window | Pointeur vers la fenêtre de barre +
|
||||
_(WeeChat ≥ 2.9)_. |
|
||||
| _bar_window | Pointeur vers la fenêtre de barre _(WeeChat ≥ 2.9)_. |
|
||||
"0x1234abcd" | ""
|
||||
|===
|
||||
|
||||
@@ -12448,6 +12496,7 @@ Informations additionnelles pour l'objet de barre "buffer_nicklist" :
|
||||
| nick | core | Pseudonyme.
|
||||
| prefix | core | Préfixe du pseudonyme.
|
||||
| group | core | Nom du groupe.
|
||||
| irc_nick | irc | Pointeur vers le pseudo IRC _(WeeChat ≥ 3.0)_.
|
||||
| irc_host | irc | Nom d'hôte pour le pseudonyme (si connu).
|
||||
|===
|
||||
|
||||
|
||||
@@ -565,6 +565,7 @@ Liste des fonctions de l'API script :
|
||||
string_has_highlight_regex +
|
||||
string_mask_to_regex +
|
||||
string_format_size +
|
||||
string_color_code_size +
|
||||
string_remove_color +
|
||||
string_is_command_char +
|
||||
string_input_for_buffer +
|
||||
|
||||
+41
-14
@@ -386,13 +386,14 @@ Suivez alors les instructions du paquet source (voir
|
||||
Si vous avez eu des plantages, ou si vous souhaitez rapporter tout plantage
|
||||
futur de WeeChat, vous devez :
|
||||
|
||||
* Compiler avec les infos de debug (ou installer un paquet binaire avec les
|
||||
infos de debug).
|
||||
* Compiler avec :
|
||||
** les infos de debug (ou installer un paquet binaire avec les infos de debug),
|
||||
** la vérification des adresses (« address sanitizer ») (facultatif).
|
||||
* Activer les fichiers _core_ sur votre système.
|
||||
* Installer gdb.
|
||||
|
||||
[[debug_info]]
|
||||
==== Infos de debug
|
||||
[[build_debug]]
|
||||
==== Construction avec options de debug
|
||||
|
||||
Si vous compilez avec CMake :
|
||||
|
||||
@@ -400,7 +401,16 @@ Si vous compilez avec CMake :
|
||||
$ cmake .. -DCMAKE_BUILD_TYPE=Debug
|
||||
----
|
||||
|
||||
Si vous compilez avec les autotools, le debug est par défaut (`--with-debug=1`).
|
||||
Vous pouvez aussi activer la vérification des adresses (« address sanitizer »),
|
||||
ce qui provoquera immédiatement un plantage de WeeChat en cas de problème :
|
||||
|
||||
----
|
||||
$ cmake .. -DCMAKE_BUILD_TYPE=Debug -DCMAKE_C_FLAGS=-fsanitize=address -DCMAKE_CXX_FLAGS=-fsanitize=address -DCMAKE_EXE_LINKER_FLAGS=-fsanitize=address
|
||||
----
|
||||
|
||||
[WARNING]
|
||||
Vous ne devriez activer la vérification des adresses que si vous essayez de
|
||||
provoquer un plantage, ceci n'est pas recommandé en production.
|
||||
|
||||
Si vous avez installé un paquet binaire, alors installez le paquet
|
||||
_weechat-dbg_.
|
||||
@@ -652,7 +662,7 @@ Exemple de terminal avec WeeChat :
|
||||
│ │ │ │
|
||||
│ │ │ │
|
||||
│ │ │ │
|
||||
│ │[12:55] [5] [irc/freenode] 2:#test(+n){4}* [Act: 3:#abc(2,5), 5] │
|
||||
│ │[12:55] [5] [irc/freenode] 2:#test(+n){4}* [H: 3:#abc(2,5), 5] │
|
||||
│ │[@Flashy(i)] salut peter !█ │
|
||||
└──────────────────────────────────────────────────────────────────────────────────────┘
|
||||
▲ barres "status" et "input" barre "nicklist" ▲
|
||||
@@ -704,7 +714,7 @@ La barre _status_ contient les objets (items) suivants par défaut :
|
||||
| buffer_filter | `+*+` | Indicateur de filtrage : `+*+` signifie que des lignes sont filtrées (cachées), une valeur vide signifie que toutes les lignes sont affichées.
|
||||
| scroll | `-PLUS(50)-` | Indicateur de scroll, avec le nombre de lignes sous la dernière ligne affichée.
|
||||
| lag | `[Lag: 2.5]` | Indicateur de "lag" (ralentissements réseau), en secondes (caché si le lag est faible).
|
||||
| hotlist | `[Act: 3:#abc(2,5), 5]` | Liste des tampons où il y a de l'activité (messages non lus) (dans cet exemple, 2 highlights et 5 messages non lus sur _#abc_, un message non lu sur le tampon numéro 5).
|
||||
| hotlist | `[H: 3:#abc(2,5), 5]` | Liste des tampons où il y a de l'activité (messages non lus) (dans cet exemple, 2 highlights et 5 messages non lus sur _#abc_, un message non lu sur le tampon numéro 5).
|
||||
| completion | `abc(2) def(5)` | Liste des mots pour la complétion, avec le nombre de complétions possibles pour chaque mot.
|
||||
|===
|
||||
|
||||
@@ -1138,11 +1148,11 @@ Les étiquettes couramment utilisées (liste non exhaustive) :
|
||||
| no_filter | La ligne ne peut pas être filtrée.
|
||||
| no_highlight | Aucun highlight n'est possible sur cette ligne.
|
||||
| no_log | La ligne n'est pas écrite dans le fichier de log.
|
||||
| log0 ... log9 | Niveau de log pour la ligne (voir `/help logger`).
|
||||
| notify_none | Le tampon avec la ligne ne sera pas ajouté à la "hotlist".
|
||||
| notify_message | Le tampon avec la ligne sera ajouté à la "hotlist" avec le niveau "message".
|
||||
| notify_private | Le tampon avec la ligne sera ajouté à la "hotlist" avec le niveau "private".
|
||||
| notify_highlight | Le tampon avec la ligne sera ajouté à la "hotlist" avec le niveau "highlight".
|
||||
| log0 … log9 | Niveau de log pour la ligne (voir `/help logger`).
|
||||
| notify_none | La ligne ne doit pas être ajoutée à la "hotlist". ^(1)^
|
||||
| notify_message | La ligne est un message utilisateur. ^(1)^
|
||||
| notify_private | La ligne est un message privé. ^(1)^
|
||||
| notify_highlight | La ligne est un message avec un highlight. ^(1)^
|
||||
| self_msg | Message de soi-même.
|
||||
| nick_xxx | Le message vient du pseudo "xxx".
|
||||
| prefix_nick_ccc | Le préfixe est un pseudo avec la couleur "ccc".
|
||||
@@ -1157,6 +1167,13 @@ Les étiquettes couramment utilisées (liste non exhaustive) :
|
||||
| away_info | Message avec une info d'absence.
|
||||
|===
|
||||
|
||||
[NOTE]
|
||||
^(1)^ Lorsque aucune étiquette "notify_xxx" n'est présente, le niveau de
|
||||
notification par défaut est "low". Si une étiquette "notify_xxx" est présente,
|
||||
le niveau de notification réel peut être différent, par exemple si un niveau
|
||||
maximum de hotlist est utilisé pour un pseudo, le niveau de notification peut
|
||||
être inférieur à la valeur de l'étiquette.
|
||||
|
||||
[[bars]]
|
||||
=== Barres
|
||||
|
||||
@@ -4144,6 +4161,15 @@ moniteur des triggers :
|
||||
/trigger monitor
|
||||
----
|
||||
|
||||
Toutes les fonctions de rappel définissent les variables suivantes dans la table
|
||||
de hachage :
|
||||
|
||||
[width="100%",cols="3m,2,14",options="header"]
|
||||
|===
|
||||
| Variable | Type | Description
|
||||
| tg_trigger_name | chaîne | Nom du trigger.
|
||||
|===
|
||||
|
||||
[[trigger_data_signal]]
|
||||
===== Signal
|
||||
|
||||
@@ -4322,8 +4348,9 @@ de hachage :
|
||||
|===
|
||||
| Variable | Type | Description
|
||||
| buffer | pointeur | Tampon.
|
||||
| tg_argvN | chaîne | Paramètre n°N.
|
||||
| tg_argv_eolN | chaîne | Depuis le paramètre n°N jusqu'à la fin des paramètres.
|
||||
| tg_argc | chaîne | Nombre de paramètres (la commande elle-même compte pour un).
|
||||
| tg_argvN | chaîne | Paramètre n°N (`+tg_argv0+` est la commande elle-même, les autres sont les paramètres de la commande).
|
||||
| tg_argv_eolN | chaîne | Depuis le paramètre n°N jusqu'à la fin des paramètres (`+tg_argv_eol0+` inclut la commande elle-même).
|
||||
|===
|
||||
|
||||
[[trigger_data_command_run]]
|
||||
|
||||
@@ -106,9 +106,9 @@
|
||||
|
||||
| weechat | locale | locale usato per la traduzione dei messaggi | -
|
||||
|
||||
| weechat | nick_color | ottiene il codice del colore del nick | nick
|
||||
| weechat | nick_color | ottiene il codice del colore del nick | nickname;colors (colors is an optional comma-separated list of colors to use; background is allowed for a color with format text:background; if colors is present, WeeChat options with nick colors and forced nick colors are ignored)
|
||||
|
||||
| weechat | nick_color_name | ottiene il nome del colore del nick | nick
|
||||
| weechat | nick_color_name | ottiene il nome del colore del nick | nickname;colors (colors is an optional comma-separated list of colors to use; background is allowed for a color with format text:background; if colors is present, WeeChat options with nick colors and forced nick colors are ignored)
|
||||
|
||||
| weechat | pid | WeeChat PID (process ID) | -
|
||||
|
||||
|
||||
@@ -17,71 +17,87 @@ destinazione: nome server
|
||||
* `+allchan+`: esegue un comando su tutti i canali di tutti i server connessi
|
||||
|
||||
----
|
||||
/allchan [-current] [-exclude=<channel>[,<channel>...]] <command> [<arguments>]
|
||||
[-current] -include=<channel>[,<channel>...] <command> [<arguments>]
|
||||
/allchan [-current] [-exclude=<channel>[,<channel>...]] <command>
|
||||
[-current] -include=<channel>[,<channel>...] <command>
|
||||
|
||||
-current: execute command for channels of current server only
|
||||
-exclude: exclude some channels (wildcard "*" is allowed)
|
||||
-include: include only some channels (wildcard "*" is allowed)
|
||||
command: command to execute
|
||||
arguments: arguments for command (special variables $nick, $channel and $server are replaced by their value)
|
||||
command: command to execute (or text to send to buffer if command does not start with '/')
|
||||
|
||||
Command and arguments are evaluated (see /help eval), the following variables are replaced:
|
||||
$server server name
|
||||
$channel channel name
|
||||
$nick nick on server
|
||||
${irc_server.xxx} variable xxx in server
|
||||
${irc_channel.xxx} variable xxx in channel
|
||||
|
||||
Examples:
|
||||
execute '/me is testing' on all channels:
|
||||
/allchan me is testing
|
||||
/allchan /me is testing
|
||||
say 'hello' everywhere but not on #weechat:
|
||||
/allchan -exclude=#weechat msg * hello
|
||||
/allchan -exclude=#weechat hello
|
||||
say 'hello' everywhere but not on #weechat and channels beginning with #linux:
|
||||
/allchan -exclude=#weechat,#linux* msg * hello
|
||||
/allchan -exclude=#weechat,#linux* hello
|
||||
say 'hello' on all channels beginning with #linux:
|
||||
/allchan -include=#linux* msg * hello
|
||||
/allchan -include=#linux* hello
|
||||
----
|
||||
|
||||
[[command_irc_allpv]]
|
||||
* `+allpv+`: execute a command on all private buffers of all connected servers
|
||||
|
||||
----
|
||||
/allpv [-current] [-exclude=<nick>[,<nick>...]] <command> [<arguments>]
|
||||
[-current] -include=<nick>[,<nick>...] <command> [<arguments>]
|
||||
/allpv [-current] [-exclude=<nick>[,<nick>...]] <command>
|
||||
[-current] -include=<nick>[,<nick>...] <command>
|
||||
|
||||
-current: execute command for private buffers of current server only
|
||||
-exclude: exclude some nicks (wildcard "*" is allowed)
|
||||
-include: include only some nicks (wildcard "*" is allowed)
|
||||
command: command to execute
|
||||
arguments: arguments for command (special variables $nick, $channel and $server are replaced by their value)
|
||||
command: command to execute (or text to send to buffer if command does not start with '/')
|
||||
|
||||
Command and arguments are evaluated (see /help eval), the following variables are replaced:
|
||||
$server server name
|
||||
$channel channel name
|
||||
$nick nick on server
|
||||
${irc_server.xxx} variable xxx in server
|
||||
${irc_channel.xxx} variable xxx in channel
|
||||
|
||||
Examples:
|
||||
execute '/me is testing' on all private buffers:
|
||||
/allpv me is testing
|
||||
/allpv /me is testing
|
||||
say 'hello' everywhere but not for nick foo:
|
||||
/allpv -exclude=foo msg * hello
|
||||
/allpv -exclude=foo hello
|
||||
say 'hello' everywhere but not for nick foo and nicks beginning with bar:
|
||||
/allpv -exclude=foo,bar* msg * hello
|
||||
/allpv -exclude=foo,bar* hello
|
||||
say 'hello' for all nicks beginning with bar:
|
||||
/allpv -include=bar* msg * hello
|
||||
/allpv -include=bar* hello
|
||||
close all private buffers:
|
||||
/allpv close
|
||||
/allpv /close
|
||||
----
|
||||
|
||||
[[command_irc_allserv]]
|
||||
* `+allserv+`: esegue un comando su tutti i server connessi
|
||||
|
||||
----
|
||||
/allserv [-exclude=<server>[,<server>...]] <command> [<arguments>]
|
||||
-include=<server>[,<server>...] <command> [<arguments>]
|
||||
/allserv [-exclude=<server>[,<server>...]] <command>
|
||||
-include=<server>[,<server>...] <command>
|
||||
|
||||
-exclude: exclude some servers (wildcard "*" is allowed)
|
||||
-include: include only some servers (wildcard "*" is allowed)
|
||||
command: command to execute
|
||||
arguments: arguments for command (special variables $nick, $channel and $server are replaced by their value)
|
||||
command: command to execute (or text to send to buffer if command does not start with '/')
|
||||
|
||||
Command and arguments are evaluated (see /help eval), the following variables are replaced:
|
||||
$server server name
|
||||
$nick nick on server
|
||||
${irc_server.xxx} variable xxx in server
|
||||
|
||||
Examples:
|
||||
change nick on all servers:
|
||||
/allserv nick newnick
|
||||
/allserv /nick newnick
|
||||
set away on all servers:
|
||||
/allserv away I'm away
|
||||
/allserv /away I'm away
|
||||
do a whois on my nick on all servers:
|
||||
/allserv whois $nick
|
||||
/allserv /whois $nick
|
||||
----
|
||||
|
||||
[[command_irc_ban]]
|
||||
@@ -1011,7 +1027,7 @@ Examples:
|
||||
alias /split to split window horizontally:
|
||||
/alias add split /window splith
|
||||
alias /hello to say "hello" on all channels but not on #weechat:
|
||||
/alias add hello /allchan -exclude=#weechat msg * hello
|
||||
/alias add hello /allchan -exclude=#weechat hello
|
||||
alias /forcejoin to send IRC command "forcejoin" with completion of /sajoin:
|
||||
/alias addcompletion %%sajoin forcejoin /quote forcejoin
|
||||
----
|
||||
@@ -2159,7 +2175,7 @@ set_caratteri: nuovo set di caratteri per il buffer corrente
|
||||
|
||||
----
|
||||
/exec -list
|
||||
[-sh|-nosh] [-bg|-nobg] [-stdin|-nostdin] [-buffer <name>] [-l|-o|-n|-nf] [-cl|-nocl] [-sw|-nosw] [-ln|-noln] [-flush|-noflush] [-color ansi|auto|irc|weechat|strip] [-rc|-norc] [-timeout <timeout>] [-name <name>] [-pipe <command>] [-hsignal <name>] <command>
|
||||
[-sh|-nosh] [-bg|-nobg] [-stdin|-nostdin] [-buffer <name>] [-l|-o|-oc|-n|-nf] [-oerr] [-cl|-nocl] [-sw|-nosw] [-ln|-noln] [-flush|-noflush] [-color ansi|auto|irc|weechat|strip] [-rc|-norc] [-timeout <timeout>] [-name <name>] [-pipe <command>] [-hsignal <name>] <command>
|
||||
-in <id> <text>
|
||||
-inclose <id> [<text>]
|
||||
-signal <id> <signal>
|
||||
@@ -2181,6 +2197,7 @@ set_caratteri: nuovo set di caratteri per il buffer corrente
|
||||
-oc: send output of command to the buffer and execute commands (lines starting with "/" or another custom command char) (not compatible with options -bg/-pipe/-hsignal)
|
||||
-n: display output of command in a new buffer (not compatible with options -bg/-pipe/-hsignal)
|
||||
-nf: display output of command in a new buffer with free content (no word-wrap, no limit on number of lines) (not compatible with options -bg/-pipe/-hsignal)
|
||||
-oerr: also send stderr (error output) to the buffer (can be used only with options -o and -oc)
|
||||
-cl: clear the new buffer before displaying output
|
||||
-nocl: append to the new buffer without clear (default)
|
||||
-sw: switch to the output buffer (default)
|
||||
|
||||
@@ -3320,6 +3320,12 @@
|
||||
** valori: -1 .. 525600
|
||||
** valore predefinito: `+1440+`
|
||||
|
||||
* [[option_script.scripts.download_enabled]] *script.scripts.download_enabled*
|
||||
** descrizione: pass:none[enable download of files from the scripts repository when the /script command is used (list of scripts and scripts themselves); the list of scripts is downloaded from the URL specified in the option script.scripts.url; WeeChat will sometimes download again the list of scripts when you use the /script command, even if you don't install a script]
|
||||
** tipo: bool
|
||||
** valori: on, off
|
||||
** valore predefinito: `+off+`
|
||||
|
||||
* [[option_script.scripts.download_timeout]] *script.scripts.download_timeout*
|
||||
** descrizione: pass:none[timeout (in seconds) for download of scripts and list of scripts]
|
||||
** tipo: intero
|
||||
@@ -3748,6 +3754,12 @@
|
||||
** valori: qualsiasi stringa
|
||||
** valore predefinito: `+"${marked} ${name} ${type} ${value2}${newline} ${empty_name} ${_default_value}${color:darkgray} -- ${min}..${max}${newline} ${empty_name} ${description}"+`
|
||||
|
||||
* [[option_fset.look.auto_refresh]] *fset.look.auto_refresh*
|
||||
** descrizione: pass:none[comma separated list of options to automatically refresh on the fset buffer (if opened); "*" means all options (recommended), a name beginning with "!" is a negative value to prevent an option to be refreshed, wildcard "*" is allowed in names (example: "*,!plugin.section.*")]
|
||||
** tipo: stringa
|
||||
** valori: qualsiasi stringa
|
||||
** valore predefinito: `+"*"+`
|
||||
|
||||
* [[option_fset.look.auto_unmark]] *fset.look.auto_unmark*
|
||||
** descrizione: pass:none[automatically unmark all options after an action on marked options or after a refresh]
|
||||
** tipo: bool
|
||||
|
||||
@@ -1967,6 +1967,57 @@ str = weechat.string_format_size(size)
|
||||
str = weechat.string_format_size(15200) # == "15.2 KB"
|
||||
----
|
||||
|
||||
==== string_color_code_size
|
||||
|
||||
_WeeChat ≥ 3.0._
|
||||
|
||||
// TRANSLATION MISSING
|
||||
Return the size (in bytes) of the WeeChat color code at the beginning of
|
||||
the string.
|
||||
|
||||
Prototipo:
|
||||
|
||||
[source,C]
|
||||
----
|
||||
int weechat_string_color_code_size (const char *string);
|
||||
----
|
||||
|
||||
Argomenti:
|
||||
|
||||
* _string_: stringa
|
||||
|
||||
Valore restituito:
|
||||
|
||||
// TRANSLATION MISSING
|
||||
* size (in bytes) of the WeeChat color code at the beginning of the string;
|
||||
if the string is NULL, empty or does not start with a color code, 0 is returned;
|
||||
if the string begins with multiple color codes, only the size of the first one
|
||||
is returned
|
||||
|
||||
Esempi:
|
||||
|
||||
[source,C]
|
||||
----
|
||||
int size;
|
||||
|
||||
size = weechat_string_color_code_size ("test"); /* size == 0 */
|
||||
size = weechat_string_color_code_size (weechat_color ("bold")); /* size == 2 */
|
||||
size = weechat_string_color_code_size (weechat_color ("yellow,red")); /* size == 7 */
|
||||
----
|
||||
|
||||
Script (Python):
|
||||
|
||||
[source,python]
|
||||
----
|
||||
# prototipo
|
||||
size = weechat.string_color_code_size(string)
|
||||
|
||||
# esempio
|
||||
size = weechat.string_color_code_size("test") # size == 0
|
||||
size = weechat.string_color_code_size(weechat.color("bold")) # size == 2
|
||||
size = weechat.string_color_code_size(weechat.color("yellow,red")) # size == 7
|
||||
----
|
||||
|
||||
==== string_remove_color
|
||||
|
||||
Rimuove i colori di WeeChat da una stringa.
|
||||
@@ -2887,7 +2938,8 @@ Questa funzione non è disponibile nelle API per lo scripting.
|
||||
|
||||
==== string_dyn_concat
|
||||
|
||||
_WeeChat ≥ 1.8._
|
||||
// TRANSLATION MISSING
|
||||
_WeeChat ≥ 1.8, updated in 3.0._
|
||||
|
||||
// TRANSLATION MISSING
|
||||
Concatenate a string to a dynamic string.
|
||||
@@ -2900,7 +2952,7 @@ Prototipo:
|
||||
|
||||
[source,C]
|
||||
----
|
||||
int weechat_string_dyn_concat (char **string, const char *add);
|
||||
int weechat_string_dyn_concat (char **string, const char *add, int bytes);
|
||||
----
|
||||
|
||||
Argomenti:
|
||||
@@ -2908,6 +2960,9 @@ Argomenti:
|
||||
// TRANSLATION MISSING
|
||||
* _string_: pointer to dynamic string
|
||||
* _add_: the string to add
|
||||
* _bytes_: max number of bytes in _add_ to concatenate, must be lower or equal
|
||||
to length of _add_ (-1 = automatic: concatenate whole string _add_)
|
||||
_(WeeChat ≥ 3.0)_
|
||||
|
||||
Valore restituito:
|
||||
|
||||
@@ -2921,7 +2976,7 @@ Esempio in C:
|
||||
char **string = weechat_string_dyn_alloc (256);
|
||||
if (weechat_string_dyn_copy (string, "test"))
|
||||
{
|
||||
if (weechat_string_dyn_concat (string, "abc"))
|
||||
if (weechat_string_dyn_concat (string, "abc", -1))
|
||||
{
|
||||
/* ... */
|
||||
}
|
||||
@@ -12599,8 +12654,7 @@ Contenuto della tabella hash inviata alla callback (tasti e valori sono di tipo
|
||||
"0" o "1" | "0"
|
||||
|
||||
// TRANSLATION MISSING
|
||||
| _chat_line | Pointer to line +
|
||||
_(WeeChat ≥ 1.2)_. |
|
||||
| _chat_line | Pointer to line _(WeeChat ≥ 1.2)_. |
|
||||
"0x1234abcd" | ""
|
||||
|
||||
| _chat_line_x | Colonna nella riga ^(3)^. |
|
||||
@@ -12657,8 +12711,7 @@ Contenuto della tabella hash inviata alla callback (tasti e valori sono di tipo
|
||||
"0" ... "n" | "-1"
|
||||
|
||||
// TRANSLATION MISSING
|
||||
| _bar_window | Pointer to bar window +
|
||||
_(WeeChat ≥ 2.9)_. |
|
||||
| _bar_window | Pointer to bar window _(WeeChat ≥ 2.9)_. |
|
||||
"0x1234abcd" | ""
|
||||
|===
|
||||
|
||||
@@ -12679,6 +12732,8 @@ Informazioni aggiuntive per l'elemento barra "buffer_nicklist":
|
||||
| nick | core | Nick.
|
||||
| prefix | core | Prefisso per il nick.
|
||||
| group | core | Nome gruppo.
|
||||
// TRANSLATION MISSING
|
||||
| irc_nick | irc | Pointer to IRC nick _(WeeChat ≥ 3.0)_.
|
||||
| irc_host | irc | Host per il nick (se conosciuto).
|
||||
|===
|
||||
|
||||
|
||||
@@ -575,6 +575,7 @@ Elenco di funzioni nelle API per gli script:
|
||||
string_has_highlight_regex +
|
||||
string_mask_to_regex +
|
||||
string_format_size +
|
||||
string_color_code_size +
|
||||
string_remove_color +
|
||||
string_is_command_char +
|
||||
string_input_for_buffer +
|
||||
|
||||
+51
-14
@@ -416,13 +416,17 @@ Poi seguire le istruzioni per i sorgenti (consultare
|
||||
Nel caso in cui si verifichino errori, o si desideri segnalare qualsiasi errore
|
||||
futuro di WeeChat, è necessario:
|
||||
|
||||
* compilarlo con informazioni di debug (o installare il pacchetto binario con
|
||||
le informazioni di debug)
|
||||
// TRANSLATION MISSING
|
||||
* compile with:
|
||||
** informazioni di debug (o installare il pacchetto binario con le informazioni di debug)
|
||||
// TRANSLATION MISSING
|
||||
** address sanitizer (optional)
|
||||
* abilitare i file _core_ sul proprio sistema
|
||||
* installare gdb
|
||||
|
||||
[[debug_info]]
|
||||
==== Informazioni di debug
|
||||
// TRANSLATION MISSING
|
||||
[[build_debug]]
|
||||
==== Build with debug options
|
||||
|
||||
Se si compila con CMake:
|
||||
|
||||
@@ -430,7 +434,18 @@ Se si compila con CMake:
|
||||
$ cmake .. -DCMAKE_BUILD_TYPE=Debug
|
||||
----
|
||||
|
||||
Se compilato con gli autotools, il debug è attivato automaticamente (`--with-debug=1`).
|
||||
// TRANSLATION MISSING
|
||||
You can additionally enable the address sanitizer, which causes WeeChat to
|
||||
crash immediately in case of problem:
|
||||
|
||||
----
|
||||
$ cmake .. -DCMAKE_BUILD_TYPE=Debug -DCMAKE_C_FLAGS=-fsanitize=address -DCMAKE_CXX_FLAGS=-fsanitize=address -DCMAKE_EXE_LINKER_FLAGS=-fsanitize=address
|
||||
----
|
||||
|
||||
// TRANSLATION MISSING
|
||||
[WARNING]
|
||||
You should enable address sanitizer only if you're trying to cause a crash,
|
||||
this is not recommended in production.
|
||||
|
||||
Se è stato installato il pacchetto binario, installare il pacchetto _weechat-gdb_.
|
||||
|
||||
@@ -688,7 +703,7 @@ Esempio di terminale con WeeChat:
|
||||
│ │ │ │
|
||||
│ │ │ │
|
||||
│ │ │ │
|
||||
│ │[12:55] [5] [irc/freenode] 2:#test(+n){4}* [Act: 3:#abc(2,5), 5] │
|
||||
│ │[12:55] [5] [irc/freenode] 2:#test(+n){4}* [H: 3:#abc(2,5), 5] │
|
||||
│ │[@Flashy(i)] hi peter!█ │
|
||||
└──────────────────────────────────────────────────────────────────────────────────────┘
|
||||
▲ bars "status" and "input" bar "nicklist" ▲
|
||||
@@ -745,7 +760,7 @@ La barra _status_ ha i seguenti elementi predefiniti:
|
||||
| buffer_filter | `+*+` | Indicatore filtraggio: `+*+` significa che alcune righe sono filtrate (nascoste), valori vuoti indicano che tutte le righe sono visualizzate.
|
||||
| scroll | `-ANCORA(50)-` | Indicatore di scorrimento, con il numero di righe sotto l'ultima riga visualizzata.
|
||||
| lag | `[Ritardo: 2.5]` | Indicatore ritardo, in secondi (nascosto se il ritardo è basso).
|
||||
| hotlist | `[Act: 3:#abc(2,5), 5]` | Elenco dei buffer con attività (messaggi non letti) (nell'esempio, 2 notifiche e 5 messaggi non letti su #abc, un messaggio non letto sul buffer #5).
|
||||
| hotlist | `[H: 3:#abc(2,5), 5]` | Elenco dei buffer con attività (messaggi non letti) (nell'esempio, 2 notifiche e 5 messaggi non letti su #abc, un messaggio non letto sul buffer #5).
|
||||
| completion | `abc(2) def(5)` | Elenco di parole per il completamento, con il numero di completamenti possibili per ogni parola.
|
||||
|===
|
||||
|
||||
@@ -1188,11 +1203,15 @@ Tag usati di frequente (elenco non esaustivo):
|
||||
| no_filter | La riga non può essere filtrata.
|
||||
| no_highlight | Evidenziazione non possibile sulla riga.
|
||||
| no_log | La riga non viene scritta nel file di log.
|
||||
| log0 ... log9 | Livello di log per la riga (consultare `/help logger`).
|
||||
| notify_none | Il buffer con la riga non viene aggiunto alla hotlist.
|
||||
| notify_message | Il buffer con la riga viene aggiunto alla hotlist con il livello "message".
|
||||
| notify_private | Il buffer con la riga viene aggiunto alla hotlist con il livello "private".
|
||||
| notify_highlight | Il buffer con la riga viene aggiunto alla hotlist con il livello "higlight".
|
||||
| log0 … log9 | Livello di log per la riga (consultare `/help logger`).
|
||||
// TRANSLATION MISSING
|
||||
| notify_none | The line must not be added to hotlist. ^(1)^
|
||||
// TRANSLATION MISSING
|
||||
| notify_message | The line is a user message. ^(1)^
|
||||
// TRANSLATION MISSING
|
||||
| notify_private | The line is a private message. ^(1)^
|
||||
// TRANSLATION MISSING
|
||||
| notify_highlight | The line is a message with highlight. ^(1)^
|
||||
// TRANSLATION MISSING
|
||||
| self_msg | Self message.
|
||||
| nick_xxx | Il messaggio viene dal nick "xxx".
|
||||
@@ -1209,6 +1228,13 @@ Tag usati di frequente (elenco non esaustivo):
|
||||
| away_info | Messagio con informazioni sull'assenza.
|
||||
|===
|
||||
|
||||
// TRANSLATION MISSING
|
||||
[NOTE]
|
||||
^(1)^ When no tag "notify_xxx" is present, the default level is "low". If a tag
|
||||
"notify_xxx" is present, the real notify level can be different, for example
|
||||
if a max hotlist level is used for a nick, the notify level can be lower than
|
||||
the value in the tag.
|
||||
|
||||
// TRANSLATION MISSING
|
||||
[[bars]]
|
||||
=== Bars
|
||||
@@ -4307,6 +4333,16 @@ using the command:
|
||||
/trigger monitor
|
||||
----
|
||||
|
||||
// TRANSLATION MISSING
|
||||
All callbacks set following variables in hashtable:
|
||||
|
||||
// TRANSLATION MISSING
|
||||
[width="100%",cols="3m,2,14",options="header"]
|
||||
|===
|
||||
| Variable | Type | Description
|
||||
| tg_trigger_name | string | Name of trigger.
|
||||
|===
|
||||
|
||||
[[trigger_data_signal]]
|
||||
===== Signal
|
||||
|
||||
@@ -4477,8 +4513,9 @@ The "command" callback sets following variables in hashtable:
|
||||
|===
|
||||
| Variable | Type | Description
|
||||
| buffer | pointer | Buffer.
|
||||
| tg_argvN | string | Argument #N.
|
||||
| tg_argv_eolN | string | From argument #N until end of arguments.
|
||||
| tg_argc | string | The number of arguments (the command itself counts for one).
|
||||
| tg_argvN | string | Argument #N (`+tg_argv0+` is the command itself, the others are command arguments).
|
||||
| tg_argv_eolN | string | From argument #N until end of arguments (`+tg_argv_eol0+` includes the command itself).
|
||||
|===
|
||||
|
||||
[[trigger_data_command_run]]
|
||||
|
||||
@@ -106,9 +106,9 @@
|
||||
|
||||
| weechat | locale | 翻訳メッセージに利用するロケール | -
|
||||
|
||||
| weechat | nick_color | ニックネームの色コードを取得 | ニックネーム
|
||||
| weechat | nick_color | ニックネームの色コードを取得 | nickname;colors (colors is an optional comma-separated list of colors to use; background is allowed for a color with format text:background; if colors is present, WeeChat options with nick colors and forced nick colors are ignored)
|
||||
|
||||
| weechat | nick_color_name | ニックネームの色名を取得 | ニックネーム
|
||||
| weechat | nick_color_name | ニックネームの色名を取得 | nickname;colors (colors is an optional comma-separated list of colors to use; background is allowed for a color with format text:background; if colors is present, WeeChat options with nick colors and forced nick colors are ignored)
|
||||
|
||||
| weechat | pid | WeeChat の PID (プロセス ID) | -
|
||||
|
||||
|
||||
@@ -17,71 +17,87 @@ target: サーバ名
|
||||
* `+allchan+`: 全てのサーバ、全てのチャンネルに対してコマンドを実行
|
||||
|
||||
----
|
||||
/allchan [-current] [-exclude=<channel>[,<channel>...]] <command> [<arguments>]
|
||||
[-current] -include=<channel>[,<channel>...] <command> [<arguments>]
|
||||
/allchan [-current] [-exclude=<channel>[,<channel>...]] <command>
|
||||
[-current] -include=<channel>[,<channel>...] <command>
|
||||
|
||||
-current: 現在のサーバ上のチャンネルに対してコマンドを実行
|
||||
-exclude: 一部のチャンネルを除く全てのチャンネルに対してコマンドを実行 (ワイルドカード "*" を使うことができます)
|
||||
-include: 一部のチャンネルに対してコマンドを実行 (ワイルドカード "*" を使うことができます)
|
||||
command: 実行するコマンド
|
||||
arguments: コマンドの引数 (特殊変数 $nick、$channel、$server はそれぞれの値に置き換えられます)
|
||||
-current: execute command for channels of current server only
|
||||
-exclude: exclude some channels (wildcard "*" is allowed)
|
||||
-include: include only some channels (wildcard "*" is allowed)
|
||||
command: command to execute (or text to send to buffer if command does not start with '/')
|
||||
|
||||
例:
|
||||
全てのチャンネルに対して '/me is testing' を実行:
|
||||
/allchan me is testing
|
||||
チャンネル名が #weechat のチャンネルを除く全てのチャンネルに対して 'hello' と発言:
|
||||
/allchan -exclude=#weechat msg * hello
|
||||
チャンネル名が #weechat と #linux で始まるチャンネルを除く全てのチャンネルに対して 'hello' と発言:
|
||||
/allchan -exclude=#weechat,#linux* msg * hello
|
||||
チャンネル名が #linux で始まるチャンネルに対して 'hello' と発言:
|
||||
/allchan -include=#linux* msg * hello
|
||||
Command and arguments are evaluated (see /help eval), the following variables are replaced:
|
||||
$server server name
|
||||
$channel channel name
|
||||
$nick nick on server
|
||||
${irc_server.xxx} variable xxx in server
|
||||
${irc_channel.xxx} variable xxx in channel
|
||||
|
||||
Examples:
|
||||
execute '/me is testing' on all channels:
|
||||
/allchan /me is testing
|
||||
say 'hello' everywhere but not on #weechat:
|
||||
/allchan -exclude=#weechat hello
|
||||
say 'hello' everywhere but not on #weechat and channels beginning with #linux:
|
||||
/allchan -exclude=#weechat,#linux* hello
|
||||
say 'hello' on all channels beginning with #linux:
|
||||
/allchan -include=#linux* hello
|
||||
----
|
||||
|
||||
[[command_irc_allpv]]
|
||||
* `+allpv+`: 全ての接続済みサーバの全てのプライベートバッファに対してコマンドを実行
|
||||
|
||||
----
|
||||
/allpv [-current] [-exclude=<nick>[,<nick>...]] <command> [<arguments>]
|
||||
[-current] -include=<nick>[,<nick>...] <command> [<arguments>]
|
||||
/allpv [-current] [-exclude=<nick>[,<nick>...]] <command>
|
||||
[-current] -include=<nick>[,<nick>...] <command>
|
||||
|
||||
-current: 現在のサーバ上の全てのプライベートバッファに対してコマンドを実行
|
||||
-exclude: 一部のニックネームを除外した全てのプライベートバッファに対してコマンドを実行 (ワイルドカード "*" を使うことができます)
|
||||
-include: 一部のニックネームのプライベートバッファに対してコマンドを実行 (ワイルドカード "*" を使うことができます)
|
||||
command: 実行するコマンド
|
||||
arguments: コマンドの引数 (特殊変数 $nick、$channel、$server はそれぞれの値に置き換えられます)
|
||||
-current: execute command for private buffers of current server only
|
||||
-exclude: exclude some nicks (wildcard "*" is allowed)
|
||||
-include: include only some nicks (wildcard "*" is allowed)
|
||||
command: command to execute (or text to send to buffer if command does not start with '/')
|
||||
|
||||
例:
|
||||
全てのプライベートバッファに対して '/me is testing' を実行:
|
||||
/allpv me is testing
|
||||
ニックネーム foo を除く全てのプライベートバッファに対して 'hello' と発言:
|
||||
/allpv -exclude=foo msg * hello
|
||||
ニックネームが foo と bar で始まるニックネームを除く全てのプライベートバッファに対して 'hello' と発言:
|
||||
/allpv -exclude=foo,bar* msg * hello
|
||||
ニックネームが bar で始まるニックネームのプライベートバッファに対して 'hello' と発言:
|
||||
/allpv -include=bar* msg * hello
|
||||
全てのプライベートバッファを閉じる:
|
||||
/allpv close
|
||||
Command and arguments are evaluated (see /help eval), the following variables are replaced:
|
||||
$server server name
|
||||
$channel channel name
|
||||
$nick nick on server
|
||||
${irc_server.xxx} variable xxx in server
|
||||
${irc_channel.xxx} variable xxx in channel
|
||||
|
||||
Examples:
|
||||
execute '/me is testing' on all private buffers:
|
||||
/allpv /me is testing
|
||||
say 'hello' everywhere but not for nick foo:
|
||||
/allpv -exclude=foo hello
|
||||
say 'hello' everywhere but not for nick foo and nicks beginning with bar:
|
||||
/allpv -exclude=foo,bar* hello
|
||||
say 'hello' for all nicks beginning with bar:
|
||||
/allpv -include=bar* hello
|
||||
close all private buffers:
|
||||
/allpv /close
|
||||
----
|
||||
|
||||
[[command_irc_allserv]]
|
||||
* `+allserv+`: 全ての接続済みサーバでコマンドを実行
|
||||
|
||||
----
|
||||
/allserv [-exclude=<server>[,<server>...]] <command> [<arguments>]
|
||||
-include=<server>[,<server>...] <command> [<arguments>]
|
||||
/allserv [-exclude=<server>[,<server>...]] <command>
|
||||
-include=<server>[,<server>...] <command>
|
||||
|
||||
-exclude: 一部のサーバを除く全てのサーバに対してコマンドを実行 (ワイルドカード "*" を使うことができます)
|
||||
-include: 一部のサーバのみに対してコマンドを実行 (ワイルドカード "*" を使うことができます)
|
||||
command: 実行するコマンド
|
||||
arguments: コマンドの引数 (特殊変数 $nick、$channel、$server はそれぞれの値に置き換えられます)
|
||||
-exclude: exclude some servers (wildcard "*" is allowed)
|
||||
-include: include only some servers (wildcard "*" is allowed)
|
||||
command: command to execute (or text to send to buffer if command does not start with '/')
|
||||
|
||||
例:
|
||||
全てのサーバに対してニックネーム変更:
|
||||
/allserv nick newnick
|
||||
全てのサーバに対して離席状態を変更:
|
||||
/allserv away I'm away
|
||||
全てのサーバに対して自分のニックネームに関する whois を実行:
|
||||
/allserv whois $nick
|
||||
Command and arguments are evaluated (see /help eval), the following variables are replaced:
|
||||
$server server name
|
||||
$nick nick on server
|
||||
${irc_server.xxx} variable xxx in server
|
||||
|
||||
Examples:
|
||||
change nick on all servers:
|
||||
/allserv /nick newnick
|
||||
set away on all servers:
|
||||
/allserv /away I'm away
|
||||
do a whois on my nick on all servers:
|
||||
/allserv /whois $nick
|
||||
----
|
||||
|
||||
[[command_irc_ban]]
|
||||
@@ -988,31 +1004,31 @@ target: マスクに一致するものだけを返す
|
||||
addcompletion <completion> <alias> [<command>[;<command>...]]
|
||||
del <alias> [<alias>...]
|
||||
|
||||
list: 別名をリストアップ (引数を与えなかった場合、このリストが表示されます)
|
||||
add: 別名を追加
|
||||
addcompletion: カスタム補完を指定して別名を追加
|
||||
del: 別名を削除
|
||||
completion: 別名の補完: デフォルトでは対象のコマンドに対する補完が行われます
|
||||
注意: %%command で既存のコマンドに対する補完を利用可能です
|
||||
alias: 別名の名前
|
||||
command: 引数を含めたコマンド名 (セミコロンで分割すれば複数のコマンドを指定できます)
|
||||
list: list aliases (without argument, this list is displayed)
|
||||
add: add an alias
|
||||
addcompletion: add an alias with a custom completion
|
||||
del: delete an alias
|
||||
completion: completion for alias: by default completion is done with target command
|
||||
note: you can use %%command to use completion of an existing command
|
||||
alias: name of alias
|
||||
command: command name with arguments (many commands can be separated by semicolons)
|
||||
|
||||
注意: command の中に含まれる特殊変数は置換されます:
|
||||
$n: 'n' 番目の引数 (1 から 9)
|
||||
$-m: 1 から 'm' 番目の引数
|
||||
$n-: 'n' 番目から最後の引数
|
||||
$n-m: 'n' から 'm' 番目の引数
|
||||
$*: 全ての引数
|
||||
$~: 最後の引数
|
||||
$var: ここで "var" とはバッファの局所変数 (/buffer localvar を参照してください)
|
||||
例: $nick、$channel、$server、$plugin、$name
|
||||
Note: in command, special variables are replaced:
|
||||
$n: argument 'n' (between 1 and 9)
|
||||
$-m: arguments from 1 to 'm'
|
||||
$n-: arguments from 'n' to last
|
||||
$n-m: arguments from 'n' to 'm'
|
||||
$*: all arguments
|
||||
$~: last argument
|
||||
$var: where "var" is a local variable of buffer (see /buffer localvar)
|
||||
examples: $nick, $channel, $server, $plugin, $name
|
||||
|
||||
例:
|
||||
/split をウィンドウを水平方向に分割する別名と定義:
|
||||
Examples:
|
||||
alias /split to split window horizontally:
|
||||
/alias add split /window splith
|
||||
/hello を #weechat を除く全てのチャンネルで "hello" と発言する別名と定義:
|
||||
/alias add hello /allchan -exclude=#weechat msg * hello
|
||||
/forcejoin を /sajoin の補完候補を使い IRC コマンド "forcejoin" を送信する別名と定義:
|
||||
alias /hello to say "hello" on all channels but not on #weechat:
|
||||
/alias add hello /allchan -exclude=#weechat hello
|
||||
alias /forcejoin to send IRC command "forcejoin" with completion of /sajoin:
|
||||
/alias addcompletion %%sajoin forcejoin /quote forcejoin
|
||||
----
|
||||
// end::alias_commands[]
|
||||
@@ -2159,7 +2175,7 @@ charset: 現在のバッファの新しい文字セット
|
||||
|
||||
----
|
||||
/exec -list
|
||||
[-sh|-nosh] [-bg|-nobg] [-stdin|-nostdin] [-buffer <name>] [-l|-o|-n|-nf] [-cl|-nocl] [-sw|-nosw] [-ln|-noln] [-flush|-noflush] [-color ansi|auto|irc|weechat|strip] [-rc|-norc] [-timeout <timeout>] [-name <name>] [-pipe <command>] [-hsignal <name>] <command>
|
||||
[-sh|-nosh] [-bg|-nobg] [-stdin|-nostdin] [-buffer <name>] [-l|-o|-oc|-n|-nf] [-oerr] [-cl|-nocl] [-sw|-nosw] [-ln|-noln] [-flush|-noflush] [-color ansi|auto|irc|weechat|strip] [-rc|-norc] [-timeout <timeout>] [-name <name>] [-pipe <command>] [-hsignal <name>] <command>
|
||||
-in <id> <text>
|
||||
-inclose <id> [<text>]
|
||||
-signal <id> <signal>
|
||||
@@ -2168,55 +2184,56 @@ charset: 現在のバッファの新しい文字セット
|
||||
-set <id> <property> <value>
|
||||
-del <id>|-all [<id>...]
|
||||
|
||||
-list: コマンドをリストアップ
|
||||
-sh: コマンドを実行する際にシェルを使う、複数のコマンドをパイプすることも可能 (警告: このオプションを使えるのは、全ての引数が安全な場合だけです、オプション -nosh を参照してください)
|
||||
-nosh: コマンドを実行する際にシェルを使わない (コマンドに安全でないデータが含まれる場合に必要、例えば他のユーザからのメッセージの内容) (デフォルト)
|
||||
-bg: プロセスをバックグラウンド実行: プロセスの出力およびリターンコードを表示しない (オプション -o/-oc/-n/-nf/-pipe/-hsignal と同時に利用できません)
|
||||
-nobg: プロセスの出力を受け取り、リターンコードを表示する (デフォルト)
|
||||
-stdin: プロセスにデータを送信するパイプを作成する (/exec -in/-inclose を使う)
|
||||
-nostdin: 標準入力用にパイプを作成しない (デフォルト)
|
||||
-buffer: コマンドの出力をこのバッファに表示 / 送信する (バッファが見つからない場合、新しいバッファ "exec.exec.xxx" が作られます)
|
||||
-l: コマンドの出力をカレントバッファに表示 (デフォルト)
|
||||
-o: コマンドの出力をカレントバッファに送信、カレントバッファは受信した内容をコマンドとして実行しません (オプション -bg/-pipe/-hsignal と同時に利用できません)
|
||||
-oc: コマンドの出力をカレントバッファに送信、カレントバッファは受信した内容 (先頭に "/" もしくはそれ以外のコマンド開始文字を含む行) をコマンドとして実行します (オプション -bg/-pipe/-hsignal と同時に利用できません)
|
||||
-n: コマンドの出力を新しいバッファに表示 (オプション -bg/-pipe/-hsignal と同時に利用できません)
|
||||
-nf: コマンドの出力を自由内容 (禁則処理なし、行数制限なし) の新しいバッファに表示 (オプション -bg/-pipe/-hsignal と同時に利用できません)
|
||||
-cl: 出力を表示する前に新しいバッファをクリア
|
||||
-nocl: 新しいバッファをクリアせずに追加 (デフォルト)
|
||||
-sw: 出力バッファに移動 (デフォルト)
|
||||
-nosw: 出力バッファに移動しない
|
||||
-ln: 行数を表示 (新しいバッファに表示する場合はデフォルト)
|
||||
-noln: 行数を表示しない
|
||||
-flush: コマンドの出力をすぐに表示 (デフォルト)
|
||||
-noflush: コマンドの出力をコマンドの終了後に表示
|
||||
-color: 出力に含まれる ANSI 色に対する挙動:
|
||||
ansi: ANSI 色をそのままにする
|
||||
auto: ANSI 色を WeeChat/IRC 色に変換 (デフォルト)
|
||||
irc: ANSI 色を IRC 色に変換
|
||||
weechat: ANSI 色を WeeChat 色に変換
|
||||
strip: ANSI 色を削除
|
||||
-rc: リターンコードを表示 (デフォルト)
|
||||
-norc: リターンコードを表示しない
|
||||
-timeout: コマンドのタイムアウトを設定 (秒単位)
|
||||
-name: コマンドの名前を設定 (後から名前を付けるには /exec を使う)
|
||||
-pipe: WeeChat およびプラグインコマンドに出力を送信 (1 行ごと); コマンドおよび引数に空白が含まれる場合、2 重引用符で囲ってください; 引数 $line はその行で置換されます (デフォルトではコマンドの後ろに空白を付けてから行を追加します) (オプション -bg/-o/-oc/-n/-nf と同時に利用できません)
|
||||
-hsignal: hsignal として出力を送信 (例えばトリガで使われます) (オプション -bg/-o/-oc/-n/-nf と同時に利用できません)
|
||||
command: 実行するコマンド; "url:" で始まる場合、シェルは無効化され、URL の内容がダウンロードされ、出力として送信されます
|
||||
id: コマンド識別子: 番号か名前 ("-name xxx" で設定した場合) のどちらか一方
|
||||
-in: プロセスの標準入力にテキストを送信
|
||||
-inclose: -in と同じ、ただし使用後に標準入力を閉じる (テキストは任意: テキストが無い場合、標準入力をすぐに閉じる)
|
||||
-signal: プロセスにシグナルを送信; シグナルは整数値または次の名前の 1 つ: hup、int、quit、kill、term、usr1、usr2
|
||||
-kill: "-signal <id> kill" のエイリアス
|
||||
-killall: 全ての実行中プロセスを kill する
|
||||
-set: フックプロパティを設定 (プラグイン API リファレンスの hook_set 関数を参照してください)
|
||||
property: フックプロパティ
|
||||
value: フックプロパティの新しい値
|
||||
-del: 中断されたコマンドを削除
|
||||
-all: 全ての中断されたコマンドを削除
|
||||
-list: list commands
|
||||
-sh: use the shell to execute the command, many commands can be piped (WARNING: use this option ONLY if all arguments are safe, see option -nosh)
|
||||
-nosh: do not use the shell to execute the command (required if the command has some unsafe data, for example the content of a message from another user) (default)
|
||||
-bg: run process in background: do not display process output neither return code (not compatible with options -o/-oc/-n/-nf/-pipe/-hsignal)
|
||||
-nobg: catch process output and display return code (default)
|
||||
-stdin: create a pipe for sending data to the process (with /exec -in/-inclose)
|
||||
-nostdin: do not create a pipe for stdin (default)
|
||||
-buffer: display/send output of command on this buffer (if the buffer is not found, a new buffer with name "exec.exec.xxx" is created)
|
||||
-l: display locally output of command on buffer (default)
|
||||
-o: send output of command to the buffer without executing commands (not compatible with options -bg/-pipe/-hsignal)
|
||||
-oc: send output of command to the buffer and execute commands (lines starting with "/" or another custom command char) (not compatible with options -bg/-pipe/-hsignal)
|
||||
-n: display output of command in a new buffer (not compatible with options -bg/-pipe/-hsignal)
|
||||
-nf: display output of command in a new buffer with free content (no word-wrap, no limit on number of lines) (not compatible with options -bg/-pipe/-hsignal)
|
||||
-oerr: also send stderr (error output) to the buffer (can be used only with options -o and -oc)
|
||||
-cl: clear the new buffer before displaying output
|
||||
-nocl: append to the new buffer without clear (default)
|
||||
-sw: switch to the output buffer (default)
|
||||
-nosw: don't switch to the output buffer
|
||||
-ln: display line numbers (default in new buffer only)
|
||||
-noln: don't display line numbers
|
||||
-flush: display output of command in real time (default)
|
||||
-noflush: display output of command after its end
|
||||
-color: action on ANSI colors in output:
|
||||
ansi: keep ANSI codes as-is
|
||||
auto: convert ANSI colors to WeeChat/IRC (default)
|
||||
irc: convert ANSI colors to IRC colors
|
||||
weechat: convert ANSI colors to WeeChat colors
|
||||
strip: remove ANSI colors
|
||||
-rc: display return code (default)
|
||||
-norc: don't display return code
|
||||
-timeout: set a timeout for the command (in seconds)
|
||||
-name: set a name for the command (to name it later with /exec)
|
||||
-pipe: send the output to a WeeChat/plugin command (line by line); if there are spaces in command/arguments, enclose them with double quotes; variable $line is replaced by the line (by default the line is added after the command, separated by a space) (not compatible with options -bg/-o/-oc/-n/-nf)
|
||||
-hsignal: send the output as a hsignal (to be used for example in a trigger) (not compatible with options -bg/-o/-oc/-n/-nf)
|
||||
command: the command to execute; if beginning with "url:", the shell is disabled and the content of URL is downloaded and sent as output
|
||||
id: command identifier: either its number or name (if set with "-name xxx")
|
||||
-in: send text on standard input of process
|
||||
-inclose: same as -in, but stdin is closed after (and text is optional: without text, the stdin is just closed)
|
||||
-signal: send a signal to the process; the signal can be an integer or one of these names: hup, int, quit, kill, term, usr1, usr2
|
||||
-kill: alias of "-signal <id> kill"
|
||||
-killall: kill all running processes
|
||||
-set: set a hook property (see function hook_set in plugin API reference)
|
||||
property: hook property
|
||||
value: new value for hook property
|
||||
-del: delete a terminated command
|
||||
-all: delete all terminated commands
|
||||
|
||||
オプション exec.command.default_options でデフォルトオプションの設定が可能です。
|
||||
Default options can be set in the option exec.command.default_options.
|
||||
|
||||
例:
|
||||
Examples:
|
||||
/exec -n ls -l /tmp
|
||||
/exec -sh -n ps xu | grep weechat
|
||||
/exec -n -norc url:https://pastebin.com/raw.php?i=xxxxxxxx
|
||||
|
||||
@@ -3320,6 +3320,12 @@
|
||||
** 値: -1 .. 525600
|
||||
** デフォルト値: `+1440+`
|
||||
|
||||
* [[option_script.scripts.download_enabled]] *script.scripts.download_enabled*
|
||||
** 説明: pass:none[enable download of files from the scripts repository when the /script command is used (list of scripts and scripts themselves); the list of scripts is downloaded from the URL specified in the option script.scripts.url; WeeChat will sometimes download again the list of scripts when you use the /script command, even if you don't install a script]
|
||||
** タイプ: ブール
|
||||
** 値: on, off
|
||||
** デフォルト値: `+off+`
|
||||
|
||||
* [[option_script.scripts.download_timeout]] *script.scripts.download_timeout*
|
||||
** 説明: pass:none[スクリプトのダウンロードとスクリプトのリストに対するタイムアウト時間 (秒単位)]
|
||||
** タイプ: 整数
|
||||
@@ -3748,6 +3754,12 @@
|
||||
** 値: 未制約文字列
|
||||
** デフォルト値: `+"${marked} ${name} ${type} ${value2}${newline} ${empty_name} ${_default_value}${color:darkgray} -- ${min}..${max}${newline} ${empty_name} ${description}"+`
|
||||
|
||||
* [[option_fset.look.auto_refresh]] *fset.look.auto_refresh*
|
||||
** 説明: pass:none[comma separated list of options to automatically refresh on the fset buffer (if opened); "*" means all options (recommended), a name beginning with "!" is a negative value to prevent an option to be refreshed, wildcard "*" is allowed in names (example: "*,!plugin.section.*")]
|
||||
** タイプ: 文字列
|
||||
** 値: 未制約文字列
|
||||
** デフォルト値: `+"*"+`
|
||||
|
||||
* [[option_fset.look.auto_unmark]] *fset.look.auto_unmark*
|
||||
** 説明: pass:none[マーク済みオプションに対する操作の後または再読込の後に自動的にすべてのオプションをアンマーク]
|
||||
** タイプ: ブール
|
||||
|
||||
@@ -439,6 +439,8 @@ WeeChat "core" は以下のディレクトリに配置されています:
|
||||
| test-irc-nick.cpp | Tests: IRC nicks.
|
||||
| test-irc-protocol.cpp | テスト: IRC プロトコル
|
||||
// TRANSLATION MISSING
|
||||
| test-irc-server.cpp | Tests: IRC server.
|
||||
// TRANSLATION MISSING
|
||||
| relay/ | Root of unit tests for Relay plugin.
|
||||
// TRANSLATION MISSING
|
||||
| test-relay-auth.cpp | Tests: clients authentication.
|
||||
|
||||
@@ -1900,6 +1900,57 @@ str = weechat.string_format_size(size)
|
||||
str = weechat.string_format_size(15200) # == "15.2 KB"
|
||||
----
|
||||
|
||||
==== string_color_code_size
|
||||
|
||||
_WeeChat ≥ 3.0._
|
||||
|
||||
// TRANSLATION MISSING
|
||||
Return the size (in bytes) of the WeeChat color code at the beginning of
|
||||
the string.
|
||||
|
||||
プロトタイプ:
|
||||
|
||||
[source,C]
|
||||
----
|
||||
int weechat_string_color_code_size (const char *string);
|
||||
----
|
||||
|
||||
引数:
|
||||
|
||||
* _string_: 文字列
|
||||
|
||||
戻り値:
|
||||
|
||||
// TRANSLATION MISSING
|
||||
* size (in bytes) of the WeeChat color code at the beginning of the string;
|
||||
if the string is NULL, empty or does not start with a color code, 0 is returned;
|
||||
if the string begins with multiple color codes, only the size of the first one
|
||||
is returned
|
||||
|
||||
C 言語での使用例:
|
||||
|
||||
[source,C]
|
||||
----
|
||||
int size;
|
||||
|
||||
size = weechat_string_color_code_size ("test"); /* size == 0 */
|
||||
size = weechat_string_color_code_size (weechat_color ("bold")); /* size == 2 */
|
||||
size = weechat_string_color_code_size (weechat_color ("yellow,red")); /* size == 7 */
|
||||
----
|
||||
|
||||
スクリプト (Python) での使用例:
|
||||
|
||||
[source,python]
|
||||
----
|
||||
# プロトタイプ
|
||||
size = weechat.string_color_code_size(string)
|
||||
|
||||
# 例
|
||||
size = weechat.string_color_code_size("test") # size == 0
|
||||
size = weechat.string_color_code_size(weechat.color("bold")) # size == 2
|
||||
size = weechat.string_color_code_size(weechat.color("yellow,red")) # size == 7
|
||||
----
|
||||
|
||||
==== string_remove_color
|
||||
|
||||
文字列から WeeChat 色コードを削除。
|
||||
@@ -2797,7 +2848,8 @@ else
|
||||
|
||||
==== string_dyn_concat
|
||||
|
||||
_WeeChat バージョン 1.8 以上で利用可_
|
||||
// TRANSLATION MISSING
|
||||
_WeeChat バージョン 1.8 以上で利用可, updated in 3.0_
|
||||
|
||||
動的文字列に文字列を連結します。
|
||||
|
||||
@@ -2808,13 +2860,17 @@ _WeeChat バージョン 1.8 以上で利用可_
|
||||
|
||||
[source,C]
|
||||
----
|
||||
int weechat_string_dyn_concat (char **string, const char *add);
|
||||
int weechat_string_dyn_concat (char **string, const char *add, int bytes);
|
||||
----
|
||||
|
||||
引数:
|
||||
|
||||
* _string_: 動的文字列へのポインタ
|
||||
* _add_: 連結する文字列
|
||||
// TRANSLATION MISSING
|
||||
* _bytes_: max number of bytes in _add_ to concatenate, must be lower or equal
|
||||
to length of _add_ (-1 = automatic: concatenate whole string _add_)
|
||||
_(WeeChat ≥ 3.0)_
|
||||
|
||||
戻り値:
|
||||
|
||||
@@ -2827,7 +2883,7 @@ C 言語での使用例:
|
||||
char **string = weechat_string_dyn_alloc (256);
|
||||
if (weechat_string_dyn_copy (string, "test"))
|
||||
{
|
||||
if (weechat_string_dyn_concat (string, "abc"))
|
||||
if (weechat_string_dyn_concat (string, "abc", -1))
|
||||
{
|
||||
/* ... */
|
||||
}
|
||||
@@ -12109,8 +12165,7 @@ info を使う前にエリアが一致していることを確認して下さい
|
||||
| _chat | チャットエリアインジケータ |
|
||||
"0" または "1" | "0"
|
||||
|
||||
| _chat_line | 行へのポインタ +
|
||||
_(WeeChat バージョン 1.2 以上で利用可)_ |
|
||||
| _chat_line | 行へのポインタ _(WeeChat バージョン 1.2 以上で利用可)_ |
|
||||
"0x1234abcd" | ""
|
||||
|
||||
| _chat_line_x | 行中の列番号 ^(3)^ |
|
||||
@@ -12167,8 +12222,7 @@ info を使う前にエリアが一致していることを確認して下さい
|
||||
"0" ... "n" | "-1"
|
||||
|
||||
// TRANSLATION MISSING
|
||||
| _bar_window | Pointer to bar window +
|
||||
_(WeeChat ≥ 2.9)_. |
|
||||
| _bar_window | Pointer to bar window _(WeeChat ≥ 2.9)_. |
|
||||
"0x1234abcd" | ""
|
||||
|===
|
||||
|
||||
@@ -12189,6 +12243,8 @@ info を使う前にエリアが一致していることを確認して下さい
|
||||
| nick | core | ニックネーム
|
||||
| prefix | core | ニックネームのプレフィックス
|
||||
| group | core | グループ名
|
||||
// TRANSLATION MISSING
|
||||
| irc_nick | irc | Pointer to IRC nick _(WeeChat ≥ 3.0)_.
|
||||
| irc_host | irc | ニックネームのホスト名 (判る場合)
|
||||
|===
|
||||
|
||||
|
||||
@@ -567,6 +567,7 @@ link:weechat_plugin_api.ja.html[WeeChat プラグイン API リファレンス]
|
||||
string_has_highlight_regex +
|
||||
string_mask_to_regex +
|
||||
string_format_size +
|
||||
string_color_code_size +
|
||||
string_remove_color +
|
||||
string_is_command_char +
|
||||
string_input_for_buffer +
|
||||
|
||||
+53
-13
@@ -383,12 +383,16 @@ $ git clone https://github.com/weechat/weechat.git
|
||||
WeeChat がクラッシュした場合、または WeeChat
|
||||
をクラッシュさせる操作を報告する場合、以下の手順に従ってください:
|
||||
|
||||
* デバッグを有効化してコンパイル (またはデバック情報を含んだバイナリパッケージをインストール)
|
||||
// TRANSLATION MISSING
|
||||
* Compile with:
|
||||
** debug info (or install binary package with debug info),
|
||||
** address sanitizer (optional).
|
||||
* システムの _core_ ファイルを有効化
|
||||
* gdb のインストール
|
||||
|
||||
[[debug_info]]
|
||||
==== デバッグ情報
|
||||
// TRANSLATION MISSING
|
||||
[[build_debug]]
|
||||
==== Build with debug options
|
||||
|
||||
CMake でコンパイルする場合:
|
||||
|
||||
@@ -396,7 +400,18 @@ CMake でコンパイルする場合:
|
||||
$ cmake .. -DCMAKE_BUILD_TYPE=Debug
|
||||
----
|
||||
|
||||
autotools でコンパイルする場合は、デバックはデフォルトで有効化されています (`--with-debug=1`)。
|
||||
// TRANSLATION MISSING
|
||||
You can additionally enable the address sanitizer, which causes WeeChat to
|
||||
crash immediately in case of problem:
|
||||
|
||||
----
|
||||
$ cmake .. -DCMAKE_BUILD_TYPE=Debug -DCMAKE_C_FLAGS=-fsanitize=address -DCMAKE_CXX_FLAGS=-fsanitize=address -DCMAKE_EXE_LINKER_FLAGS=-fsanitize=address
|
||||
----
|
||||
|
||||
// TRANSLATION MISSING
|
||||
[WARNING]
|
||||
You should enable address sanitizer only if you're trying to cause a crash,
|
||||
this is not recommended in production.
|
||||
|
||||
バイナリパッケージをインストールする場合は、_weechat-dbg_ パッケージをインストールしてください。
|
||||
|
||||
@@ -645,7 +660,7 @@ WeeChat を起動した端末の例:
|
||||
│ │ │ │
|
||||
│ │ │ │
|
||||
│ │ │ │
|
||||
│ │[12:55] [5] [irc/freenode] 2:#test(+n){4}* [Act: 3:#abc(2,5), 5] │
|
||||
│ │[12:55] [5] [irc/freenode] 2:#test(+n){4}* [H: 3:#abc(2,5), 5] │
|
||||
│ │[@Flashy(i)] hi peter!█ │
|
||||
└──────────────────────────────────────────────────────────────────────────────────────┘
|
||||
▲ "status" と "input" バー "nicklist" バー ▲
|
||||
@@ -697,7 +712,7 @@ WeeChat を起動した端末の例:
|
||||
| buffer_filter | `+*+` | フィルタ表示: `+*+` の場合いくつかの行がフィルタされ (隠され) ます、空の場合すべての行が表示されます。
|
||||
| scroll | `-MORE(50)-` | スクロール表示、最後の行が表示されてから追加された行数を含む。
|
||||
| lag | `[Lag: 2.5]` | 遅延秒表示 (遅延が短い場合は非表示)
|
||||
| hotlist | `[Act: 3:#abc(2,5), 5]` | 変化のあったバッファのリスト (未読メッセージ) (例では、_#abc_ に 2 個のハイライトと 5 個の未読メッセージ、5 番目のバッファに 1 個の未読メッセージがあることを意味します。)
|
||||
| hotlist | `[H: 3:#abc(2,5), 5]` | 変化のあったバッファのリスト (未読メッセージ) (例では、_#abc_ に 2 個のハイライトと 5 個の未読メッセージ、5 番目のバッファに 1 個の未読メッセージがあることを意味します。)
|
||||
| completion | `abc(2) def(5)` | 補完候補の単語リスト、各単語に対して適応される補完候補の数を含む。
|
||||
|===
|
||||
|
||||
@@ -1123,11 +1138,15 @@ WeeChat は様々な目的で各行にタグを付けます:
|
||||
| no_filter | フィルタできない行
|
||||
| no_highlight | ハイライトできない行
|
||||
| no_log | ログファイルに書き込まれない行
|
||||
| log0 ... log9 | 行に対するログレベル (`/help logger` を参照)
|
||||
| notify_none | この行を含むバッファはホットリストに追加されません
|
||||
| notify_message | この行を含むバッファは "message" レベルでホットリストに追加されます
|
||||
| notify_private | この行を含むバッファは "private" レベルでホットリストに追加されます
|
||||
| notify_highlight | この行を含むバッファは "highlight" レベルでホットリストに追加されます
|
||||
| log0 … log9 | 行に対するログレベル (`/help logger` を参照)
|
||||
// TRANSLATION MISSING
|
||||
| notify_none | The line must not be added to hotlist. ^(1)^
|
||||
// TRANSLATION MISSING
|
||||
| notify_message | The line is a user message. ^(1)^
|
||||
// TRANSLATION MISSING
|
||||
| notify_private | The line is a private message. ^(1)^
|
||||
// TRANSLATION MISSING
|
||||
| notify_highlight | The line is a message with highlight. ^(1)^
|
||||
| self_msg | 自分のメッセージ
|
||||
| nick_xxx | ニックネーム "xxx" からのメッセージ
|
||||
| prefix_nick_ccc | プレフィックスを色 "ccc" のニックネームにします
|
||||
@@ -1142,6 +1161,13 @@ WeeChat は様々な目的で各行にタグを付けます:
|
||||
| away_info | 離席状態のメッセージ
|
||||
|===
|
||||
|
||||
// TRANSLATION MISSING
|
||||
[NOTE]
|
||||
^(1)^ When no tag "notify_xxx" is present, the default level is "low". If a tag
|
||||
"notify_xxx" is present, the real notify level can be different, for example
|
||||
if a max hotlist level is used for a nick, the notify level can be lower than
|
||||
the value in the tag.
|
||||
|
||||
[[bars]]
|
||||
=== バー
|
||||
|
||||
@@ -4042,6 +4068,16 @@ WeeChat によって使われる値に影響を及ぼします
|
||||
/trigger monitor
|
||||
----
|
||||
|
||||
// TRANSLATION MISSING
|
||||
All callbacks set following variables in hashtable:
|
||||
|
||||
[width="100%",cols="3m,2,14",options="header"]
|
||||
|===
|
||||
| 変数 | 型 | 説明
|
||||
// TRANSLATION MISSING
|
||||
| tg_trigger_name | string | Name of trigger.
|
||||
|===
|
||||
|
||||
[[trigger_data_signal]]
|
||||
===== Signal
|
||||
|
||||
@@ -4212,8 +4248,12 @@ _weechat_print_ 修飾子では、メッセージタグを使う変数 (下の
|
||||
|===
|
||||
| 変数 | 型 | 説明
|
||||
| buffer | pointer | バッファ
|
||||
| tg_argvN | string | N 番目の引数
|
||||
| tg_argv_eolN | string | N 番目の引数から最後の引数まで
|
||||
// TRANSLATION MISSING
|
||||
| tg_argc | string | The number of arguments (the command itself counts for one).
|
||||
// TRANSLATION MISSING
|
||||
| tg_argvN | string | N 番目の引数 (`+tg_argv0+` is the command itself, the others are command arguments).
|
||||
// TRANSLATION MISSING
|
||||
| tg_argv_eolN | string | N 番目の引数から最後の引数まで (`+tg_argv_eol0+` includes the command itself).
|
||||
|===
|
||||
|
||||
[[trigger_data_command_run]]
|
||||
|
||||
@@ -106,9 +106,9 @@
|
||||
|
||||
| weechat | locale | zestaw znaków użyty do tłumaczenia wiadomości | -
|
||||
|
||||
| weechat | nick_color | pobiera kod koloru nicka | nazwa użytkownika
|
||||
| weechat | nick_color | pobiera kod koloru nicka | nickname;colors (colors is an optional comma-separated list of colors to use; background is allowed for a color with format text:background; if colors is present, WeeChat options with nick colors and forced nick colors are ignored)
|
||||
|
||||
| weechat | nick_color_name | pobiera nazwę koloru nicka | nazwa użytkownika
|
||||
| weechat | nick_color_name | pobiera nazwę koloru nicka | nickname;colors (colors is an optional comma-separated list of colors to use; background is allowed for a color with format text:background; if colors is present, WeeChat options with nick colors and forced nick colors are ignored)
|
||||
|
||||
| weechat | pid | WeeChat PID (ID procesu) | -
|
||||
|
||||
|
||||
@@ -17,71 +17,87 @@ cel: nazwa serwera
|
||||
* `+allchan+`: wykonuje komendę na wszystkich kanałach na połączonych serwerach
|
||||
|
||||
----
|
||||
/allchan [-current] [-exclude=<kanał>[,<kanał>...]] <komenda> [<argumenty>]
|
||||
[-current] -include=<kanał>[,<kanał>...] <komenda> [<argumenty>]
|
||||
/allchan [-current] [-exclude=<channel>[,<channel>...]] <command>
|
||||
[-current] -include=<channel>[,<channel>...] <command>
|
||||
|
||||
-current: wykonuje komendę tylko na kanałach obecnego serwera
|
||||
-exclude: wyklucza niektóre kanały (wildcard "*" jest dozwolony)
|
||||
-include: uwzględnia tylko niektóre znaki (wildcard "*" est dozwolony)
|
||||
komenda: komenda do wykonania
|
||||
argumenty: argumenty dla komendy (specjalne zmienne $nick, $channel i $server są zamieniane na odpowiednie wartości)
|
||||
-current: execute command for channels of current server only
|
||||
-exclude: exclude some channels (wildcard "*" is allowed)
|
||||
-include: include only some channels (wildcard "*" is allowed)
|
||||
command: command to execute (or text to send to buffer if command does not start with '/')
|
||||
|
||||
Przykłady:
|
||||
wykonuje '/me testuje' na wszystkich kanałach:
|
||||
/allchan me testuje
|
||||
wysyła 'witam' wszędzie tylko nie na #weechat:
|
||||
/allchan -exclude=#weechat msg * witam
|
||||
wysyła 'witam' wszędzie poza #weechat oraz kanałami zaczynającymi się od #linux:
|
||||
/allchan -exclude=#weechat,#linux* msg * witam
|
||||
wysyła 'witam' na wszytkich kanałach zaczynających się od #linux:
|
||||
/allchan -include=#linux* msg * witam
|
||||
Command and arguments are evaluated (see /help eval), the following variables are replaced:
|
||||
$server server name
|
||||
$channel channel name
|
||||
$nick nick on server
|
||||
${irc_server.xxx} variable xxx in server
|
||||
${irc_channel.xxx} variable xxx in channel
|
||||
|
||||
Examples:
|
||||
execute '/me is testing' on all channels:
|
||||
/allchan /me is testing
|
||||
say 'hello' everywhere but not on #weechat:
|
||||
/allchan -exclude=#weechat hello
|
||||
say 'hello' everywhere but not on #weechat and channels beginning with #linux:
|
||||
/allchan -exclude=#weechat,#linux* hello
|
||||
say 'hello' on all channels beginning with #linux:
|
||||
/allchan -include=#linux* hello
|
||||
----
|
||||
|
||||
[[command_irc_allpv]]
|
||||
* `+allpv+`: wykonuje komendę na wszystkich prywatnych buforach wszystkich połączonych serwerów
|
||||
|
||||
----
|
||||
/allpv [-current] [-exclude=<nick>[,<nick>...]] <komenda> [<argumenty>]
|
||||
[-current] -include=<nick>[,<nick>...] <komenda> [<argumenty>]
|
||||
/allpv [-current] [-exclude=<nick>[,<nick>...]] <command>
|
||||
[-current] -include=<nick>[,<nick>...] <command>
|
||||
|
||||
-current: wykonuje komendę tylko na prywatnych buforach obecnego serwera
|
||||
-exclude: wyklucza niektóre nicki (wildcard "*" jest dozwolony)
|
||||
-include: uwzględnia tylko niektóre znaki (wildcard "*" est dozwolony)
|
||||
komenda: komenda do wykonania
|
||||
argumenty: argumenty dla komendy (specjalne zmienne $nick, $channel i $server są zamieniane na odpowiednie wartości)
|
||||
-current: execute command for private buffers of current server only
|
||||
-exclude: exclude some nicks (wildcard "*" is allowed)
|
||||
-include: include only some nicks (wildcard "*" is allowed)
|
||||
command: command to execute (or text to send to buffer if command does not start with '/')
|
||||
|
||||
Przykłady:
|
||||
wykonuje '/me testuje' we wszystkich prywatnych buforach:
|
||||
/allpv me is testing
|
||||
wysyła wszędzie 'hello' tylko nie nickowi foo:
|
||||
/allpv -exclude=foo msg * hello
|
||||
wysyła wszędzie 'hello' tylko nie nickowi foo i nickom zaczynającym się od bar:
|
||||
/allpv -exclude=foo,bar* msg * hello
|
||||
wysyła 'witam' do wszystkich nicków zaczynających się od bar:
|
||||
/allpv -include=bar* msg * witam
|
||||
zamyka wszystkie prywatne bufory:
|
||||
/allpv close
|
||||
Command and arguments are evaluated (see /help eval), the following variables are replaced:
|
||||
$server server name
|
||||
$channel channel name
|
||||
$nick nick on server
|
||||
${irc_server.xxx} variable xxx in server
|
||||
${irc_channel.xxx} variable xxx in channel
|
||||
|
||||
Examples:
|
||||
execute '/me is testing' on all private buffers:
|
||||
/allpv /me is testing
|
||||
say 'hello' everywhere but not for nick foo:
|
||||
/allpv -exclude=foo hello
|
||||
say 'hello' everywhere but not for nick foo and nicks beginning with bar:
|
||||
/allpv -exclude=foo,bar* hello
|
||||
say 'hello' for all nicks beginning with bar:
|
||||
/allpv -include=bar* hello
|
||||
close all private buffers:
|
||||
/allpv /close
|
||||
----
|
||||
|
||||
[[command_irc_allserv]]
|
||||
* `+allserv+`: wykonuje komendę na wszystkich połączonych serwerach
|
||||
|
||||
----
|
||||
/allserv [-exclude=<serwer>[,<serwer>...]] <komenda> [<argumenty>]
|
||||
-include=<serwer>[,<serwer>...] <komenda> [<argumenty>]
|
||||
/allserv [-exclude=<server>[,<server>...]] <command>
|
||||
-include=<server>[,<server>...] <command>
|
||||
|
||||
-exclude: wyklucza niektóre serwery (wildcard "*" jest dozwolony)
|
||||
-include: uwzględnia tylko niektóre znaki (wildcard "*" est dozwolony)
|
||||
komenda: komenda do wykonania
|
||||
argumenty: argumenty dla komendy (specjalne zmienne $nick, $channel i $server są zamieniane na odpowiednie wartości)
|
||||
-exclude: exclude some servers (wildcard "*" is allowed)
|
||||
-include: include only some servers (wildcard "*" is allowed)
|
||||
command: command to execute (or text to send to buffer if command does not start with '/')
|
||||
|
||||
Przykłady:
|
||||
zmienia nick na wszystkich serwerach:
|
||||
/allserv nick nowy_nick
|
||||
ustawia stan nieobecności na wszystkich serwerach:
|
||||
/allserv away Jestem nieobecny
|
||||
wykonuje whois na własnym nicku na wszystkich serwerach:
|
||||
/allserv whois $nick
|
||||
Command and arguments are evaluated (see /help eval), the following variables are replaced:
|
||||
$server server name
|
||||
$nick nick on server
|
||||
${irc_server.xxx} variable xxx in server
|
||||
|
||||
Examples:
|
||||
change nick on all servers:
|
||||
/allserv /nick newnick
|
||||
set away on all servers:
|
||||
/allserv /away I'm away
|
||||
do a whois on my nick on all servers:
|
||||
/allserv /whois $nick
|
||||
----
|
||||
|
||||
[[command_irc_ban]]
|
||||
@@ -987,32 +1003,32 @@ cel: odpowiedź powinna pasować do maski
|
||||
addcompletion <dopełnienie> <alias> [<komenda>[;<komenda>...]]
|
||||
del <alias> [<alias>...]
|
||||
|
||||
list: lista aliasów (ta lista wyświetlana jest jeśli nie zostanie podany argument)
|
||||
add: dodaje alias
|
||||
addcompletion: dodaje alias z niestandardowym dopełnieniem
|
||||
del: usuwa alias
|
||||
completion: dopełnienie dla aliasu: domyślnie dopełnienie wykonuje się z docelową komendą
|
||||
uwaga: można użyć %%komenda w celu użycia dopełnień dla istniejących komend
|
||||
alias: nazwa aliasu
|
||||
komenda: nazwa komendy (wiele komend można oddzielić za pomocą średnika)
|
||||
list: list aliases (without argument, this list is displayed)
|
||||
add: add an alias
|
||||
addcompletion: add an alias with a custom completion
|
||||
del: delete an alias
|
||||
completion: completion for alias: by default completion is done with target command
|
||||
note: you can use %%command to use completion of an existing command
|
||||
alias: name of alias
|
||||
command: command name with arguments (many commands can be separated by semicolons)
|
||||
|
||||
Ważne: dla komend specjalne zmienne są zastępowane odpowiednimi wartościami:
|
||||
$n: argument 'n' (pomiędzy 1 i 9)
|
||||
$-m: argumenty od 1 do 'm'
|
||||
$n-: argumenty od 'n' do ostatniego
|
||||
$n-m: argumenty od 'n' od 'm'
|
||||
$*: wszystkie argumenty
|
||||
$~: ostatni argument
|
||||
$var: gdzie "var" to zmienna lokalna buforu (zobacz /buffer localvar)
|
||||
przykłady: $nick, $channel, $server, $plugin, $name
|
||||
Note: in command, special variables are replaced:
|
||||
$n: argument 'n' (between 1 and 9)
|
||||
$-m: arguments from 1 to 'm'
|
||||
$n-: arguments from 'n' to last
|
||||
$n-m: arguments from 'n' to 'm'
|
||||
$*: all arguments
|
||||
$~: last argument
|
||||
$var: where "var" is a local variable of buffer (see /buffer localvar)
|
||||
examples: $nick, $channel, $server, $plugin, $name
|
||||
|
||||
Przykłady:
|
||||
alias /split do poziomego podziału okna:
|
||||
/alias split /window splith
|
||||
alias /hello pisze "hello" na wszystkich kanałach poza #weechat:
|
||||
/alias hello /allchan -exclude=#weechat msg * hello
|
||||
alias /forcejoin wysyłający komende IRC "forcejoin" z dopełnieniem dla /sajoin:
|
||||
/alias -completion %%sajoin forcejoin /quote forcejoin
|
||||
Examples:
|
||||
alias /split to split window horizontally:
|
||||
/alias add split /window splith
|
||||
alias /hello to say "hello" on all channels but not on #weechat:
|
||||
/alias add hello /allchan -exclude=#weechat hello
|
||||
alias /forcejoin to send IRC command "forcejoin" with completion of /sajoin:
|
||||
/alias addcompletion %%sajoin forcejoin /quote forcejoin
|
||||
----
|
||||
// end::alias_commands[]
|
||||
|
||||
@@ -2158,67 +2174,68 @@ kodowanie: nowe kodowanie dla obecnego bufora
|
||||
|
||||
----
|
||||
/exec -list
|
||||
[-sh|-nosh] [-bg|-nobg] [-stdin|-nostdin] [-buffer <nazwa>] [-l|-o|-n|-nf] [-cl|-nocl] [-sw|-nosw] [-ln|-noln] [-flush|-noflush] [-color ansi|auto|irc|weechat|strip] [-rc|-norc] [-timeout <czas>] [-name <nazwa>] [-pipe <komenda>] [-hsignal <nazwa>] <komenda>
|
||||
-in <id> <tekst>
|
||||
-inclose <id> [<tekst>]
|
||||
-signal <id> <sygnał>
|
||||
[-sh|-nosh] [-bg|-nobg] [-stdin|-nostdin] [-buffer <name>] [-l|-o|-oc|-n|-nf] [-oerr] [-cl|-nocl] [-sw|-nosw] [-ln|-noln] [-flush|-noflush] [-color ansi|auto|irc|weechat|strip] [-rc|-norc] [-timeout <timeout>] [-name <name>] [-pipe <command>] [-hsignal <name>] <command>
|
||||
-in <id> <text>
|
||||
-inclose <id> [<text>]
|
||||
-signal <id> <signal>
|
||||
-kill <id>
|
||||
-killall
|
||||
-set <id> <właściwość> <wartość>
|
||||
-set <id> <property> <value>
|
||||
-del <id>|-all [<id>...]
|
||||
|
||||
-list: wyświetla komendy
|
||||
-sh: użyj powłoki do wykonania komendy (UWAGA: użyj tej opcji TYLKO jeśli wszystkie argumenty są bezpieczne, zobacz opcję -nosh)
|
||||
-nosh: nie używaj powłoki do wykonania komendy (wymagane jeśli komenda posiada niebezpieczne dane, na przykład zawartość wiadomości od innego użytkownika) (domyślne)
|
||||
-bg: uruchom proces w tle: nie wyświetlaj wyjścia z procesu ani zwracanego kodu (nie kompatybilne z opcjami -o/-n)
|
||||
-nobg: przechwyć całość wyjścia z procesu i wyświetl kod wyjścia (domyślne)
|
||||
-stdin: tworzy strumień do wysyłania danych do procesu (za pomocą /exec -in/-inclose)
|
||||
-nostdin: nie twórz strumienia dla stdin (domyślne)
|
||||
-buffer: wyświetl/wyślij wyjście komendy do tego bufora (jeśli bufor nie zostanie znaleziony zostanie utworzony nowy bufor o nazwie "exec.exec.xxx")
|
||||
-l: wyświetl lokalnie wyście z komendy w buforze (domyślne)
|
||||
-o: wyślij wyjście z komendy do bufora (nie kompatybilne z opcjami -bg/-pipe/-hsignal)
|
||||
-oc: wysyła wyjście komendy do bufora i wykonuje komendy (linie zaczynające się od "/" lub własnego znaku komendy) (nie kompatybilne z opcjami -bg/-pipe/-hsignal)
|
||||
-n: wyświetl wyjście komendy w nowym buforze (nie kompatybilne z opcjami -bg/-pipe/-hsignal)
|
||||
-nf: wyświetl wyjście komendy w nowym buforze z wolna zawartością (brak zawijania słów, bez limitu ilości linii) (nie kompatybilne z opcjami -bg/-pipe/-hsignal)
|
||||
-cl: wyczyść nowy bufor przed wyświetleniem wyjścia
|
||||
-nocl: dodaj do nowego bufora bez czyszczenia zawartości (domyślne)
|
||||
-sw: przełącz na bufor wyjściowy (domyślne)
|
||||
-nosw: nie przełączaj na bufor wyjściowy
|
||||
-ln: wyświetl numery linii (domyślne tylko w nowym buforze)
|
||||
-noln: nie wyświetlaj numerów linii
|
||||
-flush: wyświetl wyjście z komendy w czasie rzeczywistym (domyślne)
|
||||
-noflush: wyświetl wyjście z komendy po jej zakończeniu
|
||||
-color: akcja na kolorach ANSI w wyjściu:
|
||||
ansi: zachowaj kody ANSI
|
||||
auto: konwertuj kolory ANSI na WeeChat/IRC (domyślne)
|
||||
irc: konwertuj kolory ANSI na kolory IRC
|
||||
weechat: konwertuj kolory ANSI na kolory WeeChat
|
||||
strip: usuń kolory ANSI
|
||||
-rc: wyświetl kod wyjścia (domyślne)
|
||||
-norc: nie wyświetlaj kodu wyjścia
|
||||
-timeout: ustaw timeout dla komendy (w sekundach)
|
||||
-name: ustaw nazwę dla komendy (do wywołania później za pomocą /exec)
|
||||
-pipe: wyślij wyjście do WeeChat/wtyczki (linia po linii); jeśli występują spacje w komendzie/argumentach, otocz je cudzysłowem; zmienna $line jest zastępowana przez linie (domyślnie linia jest dodawana za komendą, oddzielona spacją) (nie kompatybilne z opcjami -bg/-o/-oc/-n/-nf)
|
||||
-hsignal: wyślij wyjście jako hsignal (w celu użycia na przykład w triggerze) (nie kompatybilne z opcjami -bg/-o/-oc/-n/-nf)
|
||||
komenda: komenda do wykonania; jeśli zaczyna się od "url:", powłoka jest wyłączana i zawartość URLa jest pobierana i wysyłana jako wyjście
|
||||
id: identyfikator komendy: numer lub nazwa (jeśli ustawiona przez "-name xxx")
|
||||
-in: wyślij tekst na standardowe wejście procesu
|
||||
-inclose: to samo co -in, ale stdin jest zamykane (tekst jest opcjonalny: bez niego stdin jest po prostu zamykane)
|
||||
-signal: wysyła sygnał do procesu; sygnał może być liczbą całkowitą lub jedna z nazw: hup, int, quit, kill, term, usr1, usr2
|
||||
-kill: alias dla "-signal <id> kill"
|
||||
-killall: zabija wszystkie działające procesy
|
||||
-set: ustawia przypisaną właściwość (zobacz funkcję hook_set w opisie API wtyczek)
|
||||
właściwość: przypisana właściwość
|
||||
wartość: nowa wartość
|
||||
-del: usuń zakończoną komendę
|
||||
-all: usuń wszystkie zakończone komendy
|
||||
-list: list commands
|
||||
-sh: use the shell to execute the command, many commands can be piped (WARNING: use this option ONLY if all arguments are safe, see option -nosh)
|
||||
-nosh: do not use the shell to execute the command (required if the command has some unsafe data, for example the content of a message from another user) (default)
|
||||
-bg: run process in background: do not display process output neither return code (not compatible with options -o/-oc/-n/-nf/-pipe/-hsignal)
|
||||
-nobg: catch process output and display return code (default)
|
||||
-stdin: create a pipe for sending data to the process (with /exec -in/-inclose)
|
||||
-nostdin: do not create a pipe for stdin (default)
|
||||
-buffer: display/send output of command on this buffer (if the buffer is not found, a new buffer with name "exec.exec.xxx" is created)
|
||||
-l: display locally output of command on buffer (default)
|
||||
-o: send output of command to the buffer without executing commands (not compatible with options -bg/-pipe/-hsignal)
|
||||
-oc: send output of command to the buffer and execute commands (lines starting with "/" or another custom command char) (not compatible with options -bg/-pipe/-hsignal)
|
||||
-n: display output of command in a new buffer (not compatible with options -bg/-pipe/-hsignal)
|
||||
-nf: display output of command in a new buffer with free content (no word-wrap, no limit on number of lines) (not compatible with options -bg/-pipe/-hsignal)
|
||||
-oerr: also send stderr (error output) to the buffer (can be used only with options -o and -oc)
|
||||
-cl: clear the new buffer before displaying output
|
||||
-nocl: append to the new buffer without clear (default)
|
||||
-sw: switch to the output buffer (default)
|
||||
-nosw: don't switch to the output buffer
|
||||
-ln: display line numbers (default in new buffer only)
|
||||
-noln: don't display line numbers
|
||||
-flush: display output of command in real time (default)
|
||||
-noflush: display output of command after its end
|
||||
-color: action on ANSI colors in output:
|
||||
ansi: keep ANSI codes as-is
|
||||
auto: convert ANSI colors to WeeChat/IRC (default)
|
||||
irc: convert ANSI colors to IRC colors
|
||||
weechat: convert ANSI colors to WeeChat colors
|
||||
strip: remove ANSI colors
|
||||
-rc: display return code (default)
|
||||
-norc: don't display return code
|
||||
-timeout: set a timeout for the command (in seconds)
|
||||
-name: set a name for the command (to name it later with /exec)
|
||||
-pipe: send the output to a WeeChat/plugin command (line by line); if there are spaces in command/arguments, enclose them with double quotes; variable $line is replaced by the line (by default the line is added after the command, separated by a space) (not compatible with options -bg/-o/-oc/-n/-nf)
|
||||
-hsignal: send the output as a hsignal (to be used for example in a trigger) (not compatible with options -bg/-o/-oc/-n/-nf)
|
||||
command: the command to execute; if beginning with "url:", the shell is disabled and the content of URL is downloaded and sent as output
|
||||
id: command identifier: either its number or name (if set with "-name xxx")
|
||||
-in: send text on standard input of process
|
||||
-inclose: same as -in, but stdin is closed after (and text is optional: without text, the stdin is just closed)
|
||||
-signal: send a signal to the process; the signal can be an integer or one of these names: hup, int, quit, kill, term, usr1, usr2
|
||||
-kill: alias of "-signal <id> kill"
|
||||
-killall: kill all running processes
|
||||
-set: set a hook property (see function hook_set in plugin API reference)
|
||||
property: hook property
|
||||
value: new value for hook property
|
||||
-del: delete a terminated command
|
||||
-all: delete all terminated commands
|
||||
|
||||
Domyślne opcje mogą być ustawione za pomocą opcji exec.command.default_options.
|
||||
Default options can be set in the option exec.command.default_options.
|
||||
|
||||
Przykłady:
|
||||
Examples:
|
||||
/exec -n ls -l /tmp
|
||||
/exec -sh -n ps xu | grep weechat
|
||||
/exec -n -norc url:http://pastebin.com/raw.php?i=xxxxxxxx
|
||||
/exec -n -norc url:https://pastebin.com/raw.php?i=xxxxxxxx
|
||||
/exec -nf -noln links -dump https://weechat.org/files/doc/devel/weechat_user.en.html
|
||||
/exec -o uptime
|
||||
/exec -pipe "/print Machine uptime:" uptime
|
||||
|
||||
@@ -3320,6 +3320,12 @@
|
||||
** wartości: -1 .. 525600
|
||||
** domyślna wartość: `+1440+`
|
||||
|
||||
* [[option_script.scripts.download_enabled]] *script.scripts.download_enabled*
|
||||
** opis: pass:none[enable download of files from the scripts repository when the /script command is used (list of scripts and scripts themselves); the list of scripts is downloaded from the URL specified in the option script.scripts.url; WeeChat will sometimes download again the list of scripts when you use the /script command, even if you don't install a script]
|
||||
** typ: bool
|
||||
** wartości: on, off
|
||||
** domyślna wartość: `+off+`
|
||||
|
||||
* [[option_script.scripts.download_timeout]] *script.scripts.download_timeout*
|
||||
** opis: pass:none[czas oczekiwania (w sekundach) na pobranie skryptu i listy skryptów]
|
||||
** typ: liczba
|
||||
@@ -3748,6 +3754,12 @@
|
||||
** wartości: dowolny ciąg
|
||||
** domyślna wartość: `+"${marked} ${name} ${type} ${value2}${newline} ${empty_name} ${_default_value}${color:darkgray} -- ${min}..${max}${newline} ${empty_name} ${description}"+`
|
||||
|
||||
* [[option_fset.look.auto_refresh]] *fset.look.auto_refresh*
|
||||
** opis: pass:none[comma separated list of options to automatically refresh on the fset buffer (if opened); "*" means all options (recommended), a name beginning with "!" is a negative value to prevent an option to be refreshed, wildcard "*" is allowed in names (example: "*,!plugin.section.*")]
|
||||
** typ: ciąg
|
||||
** wartości: dowolny ciąg
|
||||
** domyślna wartość: `+"*"+`
|
||||
|
||||
* [[option_fset.look.auto_unmark]] *fset.look.auto_unmark*
|
||||
** opis: pass:none[automatycznie odznacza wszystkie opcje po akcji na zaznaczonych opcjach lub po odświerzeniu]
|
||||
** typ: bool
|
||||
|
||||
@@ -553,6 +553,7 @@ Lista funkcji w API skryptów:
|
||||
string_has_highlight_regex +
|
||||
string_mask_to_regex +
|
||||
string_format_size +
|
||||
string_color_code_size +
|
||||
string_remove_color +
|
||||
string_is_command_char +
|
||||
string_input_for_buffer +
|
||||
|
||||
+53
-15
@@ -382,13 +382,16 @@ Następnie postępuj zgodnie z instrukcjami dla pakietów źródłowych (zobacz
|
||||
|
||||
Jeśli doświadczyłeś awarii, lub chcesz zgłosić przyszłą awarię WeeChat, należy:
|
||||
|
||||
* skompilować WeeChat z informacjami diagnostycznymi (lub zainstalować
|
||||
odpowiedni pakiet)
|
||||
// TRANSLATION MISSING
|
||||
* compile with:
|
||||
** debug info (or install binary package with debug info)
|
||||
** address sanitizer (optional)
|
||||
* włączyć obsługę plików _core_ w systemie
|
||||
* zainstalować gdb
|
||||
|
||||
[[debug_info]]
|
||||
==== Informacje diagnostyczne
|
||||
// TRANSLATION MISSING
|
||||
[[build_debug]]
|
||||
==== Build with debug options
|
||||
|
||||
Jeśli kompilujesz z użyciem CMake:
|
||||
|
||||
@@ -396,8 +399,18 @@ Jeśli kompilujesz z użyciem CMake:
|
||||
$ cmake .. -DCMAKE_BUILD_TYPE=Debug
|
||||
----
|
||||
|
||||
Jeśli kompilujesz z użyciem autotools, debugowanie jest domyślnie włączone
|
||||
(`--with-debug=1`).
|
||||
// TRANSLATION MISSING
|
||||
You can additionally enable the address sanitizer, which causes WeeChat to
|
||||
crash immediately in case of problem:
|
||||
|
||||
----
|
||||
$ cmake .. -DCMAKE_BUILD_TYPE=Debug -DCMAKE_C_FLAGS=-fsanitize=address -DCMAKE_CXX_FLAGS=-fsanitize=address -DCMAKE_EXE_LINKER_FLAGS=-fsanitize=address
|
||||
----
|
||||
|
||||
// TRANSLATION MISSING
|
||||
[WARNING]
|
||||
You should enable address sanitizer only if you're trying to cause a crash,
|
||||
this is not recommended in production.
|
||||
|
||||
Jeśli zainstalowałeś pakiet binarny, doinstaluj paczkę _weechat-dbg_.
|
||||
|
||||
@@ -642,7 +655,7 @@ Przykład terminala z WeeChat:
|
||||
│ │ │ │
|
||||
│ │ │ │
|
||||
│ │ │ │
|
||||
│ │[12:55] [5] [irc/freenode] 2:#test(+n){4}* [Act: 3:#abc(2,5), 5] │
|
||||
│ │[12:55] [5] [irc/freenode] 2:#test(+n){4}* [H: 3:#abc(2,5), 5] │
|
||||
│ │[@Flashy(i)] hi peter!█ │
|
||||
└──────────────────────────────────────────────────────────────────────────────────────┘
|
||||
▲ bars "status" and "input" bar "nicklist" ▲
|
||||
@@ -694,7 +707,7 @@ Pasek _status_ posiada następujące domyślne elementy:
|
||||
| buffer_filter | `+*+` | Wskaźnik filtrowania: `+*+` oznacza, że niektóre linie zostały odfiltrowywane (ukryte), pusta wartość oznacza, że wszystkie linie są wyświetlane.
|
||||
| scroll | `-Więcej(50)-` | Wskaźnik przewijania, z numerem linii poniżej ostatniej wyświetlanej.
|
||||
| lag | `[Lag: 2.5]` | Wskaźnik opóźnienia, w sekundach (ukryty dla niskich opóźnień).
|
||||
| hotlist | `[Act: 3:#abc(2,5), 5]` | Lista buforów z aktywnością (nieprzeczytane wiadomości) (w przykładzie, 2 podświetlenia i 5 nieprzeczytanych wiadomości w _#abc_, jedna wiadomość w buforze #5).
|
||||
| hotlist | `[H: 3:#abc(2,5), 5]` | Lista buforów z aktywnością (nieprzeczytane wiadomości) (w przykładzie, 2 podświetlenia i 5 nieprzeczytanych wiadomości w _#abc_, jedna wiadomość w buforze #5).
|
||||
| completion | `abc(2) def(5)` | Lista słów do dopełnienia, z ilością możliwych dopełnień dla każdego słowa.
|
||||
|===
|
||||
|
||||
@@ -1117,11 +1130,15 @@ Popularnie używane tagi (niepełna lista):
|
||||
| no_filter | Linia nie może być filtrowana.
|
||||
| no_highlight | Podświetlenia nie są dozwolone w tej linii.
|
||||
| no_log | Linia nie jest zapisywana w logu.
|
||||
| log0 ... log9 | Poziom logowania dla linii (zobacz `/help logger`).
|
||||
| notify_none | Bufor z linią nie dodana do hotlisty.
|
||||
| notify_message | Bufor z linia dodaną do hotlisty z poziomem "message".
|
||||
| notify_private | Bufor z linia dodaną do hotlisty z poziomem "private".
|
||||
| notify_highlight | Bufor z linia dodaną do hotlisty z poziomem "highlight".
|
||||
| log0 … log9 | Poziom logowania dla linii (zobacz `/help logger`).
|
||||
// TRANSLATION MISSING
|
||||
| notify_none | The line must not be added to hotlist. ^(1)^
|
||||
// TRANSLATION MISSING
|
||||
| notify_message | The line is a user message. ^(1)^
|
||||
// TRANSLATION MISSING
|
||||
| notify_private | The line is a private message. ^(1)^
|
||||
// TRANSLATION MISSING
|
||||
| notify_highlight | The line is a message with highlight. ^(1)^
|
||||
| self_msg | Własna wiadomość.
|
||||
| nick_xxx | Wiadomość od nicku "xxx".
|
||||
| prefix_nick_ccc | Prefiks to nick o kolorze "ccc".
|
||||
@@ -1136,6 +1153,13 @@ Popularnie używane tagi (niepełna lista):
|
||||
| away_info | Wiadomość z powodem nieobecności.
|
||||
|===
|
||||
|
||||
// TRANSLATION MISSING
|
||||
[NOTE]
|
||||
^(1)^ When no tag "notify_xxx" is present, the default level is "low". If a tag
|
||||
"notify_xxx" is present, the real notify level can be different, for example
|
||||
if a max hotlist level is used for a nick, the notify level can be lower than
|
||||
the value in the tag.
|
||||
|
||||
[[bars]]
|
||||
=== Paski
|
||||
|
||||
@@ -4041,6 +4065,16 @@ monitorującego, za pomocą komendy:
|
||||
/trigger monitor
|
||||
----
|
||||
|
||||
// TRANSLATION MISSING
|
||||
All callbacks set following variables in hashtable:
|
||||
|
||||
[width="100%",cols="3m,2,14",options="header"]
|
||||
|===
|
||||
| Zmienna | Typ | Opis
|
||||
// TRANSLATION MISSING
|
||||
| tg_trigger_name | ciąg | Name of trigger.
|
||||
|===
|
||||
|
||||
[[trigger_data_signal]]
|
||||
===== Sygnał
|
||||
|
||||
@@ -4210,8 +4244,12 @@ Callback "command" ustawia następujące zmienne w tablicy hashy:
|
||||
|===
|
||||
| Zmienna | Typ | Opis
|
||||
| buffer | wskaźnik | Bufor.
|
||||
| tg_argvN | ciąg | Argument #N.
|
||||
| tg_argv_eolN | ciąg | Od argumentu #N do końca argumentów.
|
||||
// TRANSLATION MISSING
|
||||
| tg_argc | ciąg | The number of arguments (the command itself counts for one).
|
||||
// TRANSLATION MISSING
|
||||
| tg_argvN | ciąg | Argument #N (`+tg_argv0+` is the command itself, the others are command arguments).
|
||||
// TRANSLATION MISSING
|
||||
| tg_argv_eolN | ciąg | Od argumentu #N do końca argumentów (`+tg_argv_eol0+` includes the command itself).
|
||||
|===
|
||||
|
||||
[[trigger_data_command_run]]
|
||||
|
||||
@@ -21,7 +21,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WeeChat\n"
|
||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||
"POT-Creation-Date: 2020-06-21 18:56+0200\n"
|
||||
"POT-Creation-Date: 2020-10-11 16:22+0200\n"
|
||||
"PO-Revision-Date: 2020-04-28 16:40+0200\n"
|
||||
"Last-Translator: Ondřej Súkup <mimi.vx@gmail.com>\n"
|
||||
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
|
||||
@@ -4720,11 +4720,9 @@ msgstr "Ladění vypnuto pro \"%s\""
|
||||
msgid "verbose"
|
||||
msgstr "upovídaný"
|
||||
|
||||
#, fuzzy
|
||||
msgid "normal"
|
||||
msgid_plural "normals"
|
||||
msgstr[0] "normální"
|
||||
msgstr[1] "normální"
|
||||
msgstr[2] "normálních"
|
||||
msgstr "normální"
|
||||
|
||||
#, fuzzy
|
||||
msgid "Debug disabled for cursor mode"
|
||||
@@ -4864,7 +4862,7 @@ msgid ""
|
||||
" alias /split to split window horizontally:\n"
|
||||
" /alias add split /window splith\n"
|
||||
" alias /hello to say \"hello\" on all channels but not on #weechat:\n"
|
||||
" /alias add hello /allchan -exclude=#weechat msg * hello\n"
|
||||
" /alias add hello /allchan -exclude=#weechat hello\n"
|
||||
" alias /forcejoin to send IRC command \"forcejoin\" with completion of /"
|
||||
"sajoin:\n"
|
||||
" /alias addcompletion %%sajoin forcejoin /quote forcejoin"
|
||||
@@ -5302,11 +5300,11 @@ msgstr "Spouštění externích příkazů v WeeChatu"
|
||||
|
||||
msgid ""
|
||||
"-list || [-sh|-nosh] [-bg|-nobg] [-stdin|-nostdin] [-buffer <name>] [-l|-o|-"
|
||||
"n|-nf] [-cl|-nocl] [-sw|-nosw] [-ln|-noln] [-flush|-noflush] [-color ansi|"
|
||||
"auto|irc|weechat|strip] [-rc|-norc] [-timeout <timeout>] [-name <name>] [-"
|
||||
"pipe <command>] [-hsignal <name>] <command> || -in <id> <text> || -inclose "
|
||||
"<id> [<text>] || -signal <id> <signal> || -kill <id> || -killall || -set "
|
||||
"<id> <property> <value> || -del <id>|-all [<id>...]"
|
||||
"oc|-n|-nf] [-oerr] [-cl|-nocl] [-sw|-nosw] [-ln|-noln] [-flush|-noflush] [-"
|
||||
"color ansi|auto|irc|weechat|strip] [-rc|-norc] [-timeout <timeout>] [-name "
|
||||
"<name>] [-pipe <command>] [-hsignal <name>] <command> || -in <id> <text> || -"
|
||||
"inclose <id> [<text>] || -signal <id> <signal> || -kill <id> || -killall || -"
|
||||
"set <id> <property> <value> || -del <id>|-all [<id>...]"
|
||||
msgstr ""
|
||||
|
||||
msgid ""
|
||||
@@ -5335,6 +5333,8 @@ msgid ""
|
||||
" -nf: display output of command in a new buffer with free content (no "
|
||||
"word-wrap, no limit on number of lines) (not compatible with options -bg/-"
|
||||
"pipe/-hsignal)\n"
|
||||
" -oerr: also send stderr (error output) to the buffer (can be used only "
|
||||
"with options -o and -oc)\n"
|
||||
" -cl: clear the new buffer before displaying output\n"
|
||||
" -nocl: append to the new buffer without clear (default)\n"
|
||||
" -sw: switch to the output buffer (default)\n"
|
||||
@@ -5731,6 +5731,18 @@ msgstr ""
|
||||
msgid "configuration files, sections, options and words of options"
|
||||
msgstr "konfigurační soubor \"%s\" (nastavení %s.*)"
|
||||
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
"comma separated list of options to automatically refresh on the fset buffer "
|
||||
"(if opened); \"*\" means all options (recommended), a name beginning with \"!"
|
||||
"\" is a negative value to prevent an option to be refreshed, wildcard \"*\" "
|
||||
"is allowed in names (example: \"*,!plugin.section.*\")"
|
||||
msgstr ""
|
||||
"čárkou rozdělený seznam pluginů pro automatické načtení při spuštění \"*\" "
|
||||
"znamená všechny nalezené pluginy, jméno začínající \"!\" je negativní "
|
||||
"hodnota k zabránění načtení pluginu, jména mohou začínat nebo končit \"*\" "
|
||||
"pro vybrání několika pluginů (příklady: \"*\" nebo \"*,!lua,!tcl\")"
|
||||
|
||||
msgid ""
|
||||
"automatically unmark all options after an action on marked options or after "
|
||||
"a refresh"
|
||||
@@ -6524,8 +6536,8 @@ msgstr "vykonat příkaz na všech kanálech všech připojených serverů"
|
||||
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
"[-current] [-exclude=<channel>[,<channel>...]] <command> [<arguments>] || [-"
|
||||
"current] -include=<channel>[,<channel>...] <command> [<arguments>]"
|
||||
"[-current] [-exclude=<channel>[,<channel>...]] <command> || [-current] -"
|
||||
"include=<channel>[,<channel>...] <command>"
|
||||
msgstr "[-current] [-exclude=<kanál>[,<kanál>...]] <příkaz> [<argumenty>]"
|
||||
|
||||
#, fuzzy
|
||||
@@ -6533,20 +6545,27 @@ msgid ""
|
||||
" -current: execute command for channels of current server only\n"
|
||||
" -exclude: exclude some channels (wildcard \"*\" is allowed)\n"
|
||||
" -include: include only some channels (wildcard \"*\" is allowed)\n"
|
||||
" command: command to execute\n"
|
||||
"arguments: arguments for command (special variables $nick, $channel and "
|
||||
"$server are replaced by their value)\n"
|
||||
" command: command to execute (or text to send to buffer if command does not "
|
||||
"start with '/')\n"
|
||||
"\n"
|
||||
"Command and arguments are evaluated (see /help eval), the following "
|
||||
"variables are replaced:\n"
|
||||
" $server server name\n"
|
||||
" $channel channel name\n"
|
||||
" $nick nick on server\n"
|
||||
" ${irc_server.xxx} variable xxx in server\n"
|
||||
" ${irc_channel.xxx} variable xxx in channel\n"
|
||||
"\n"
|
||||
"Examples:\n"
|
||||
" execute '/me is testing' on all channels:\n"
|
||||
" /allchan me is testing\n"
|
||||
" /allchan /me is testing\n"
|
||||
" say 'hello' everywhere but not on #weechat:\n"
|
||||
" /allchan -exclude=#weechat msg * hello\n"
|
||||
" /allchan -exclude=#weechat hello\n"
|
||||
" say 'hello' everywhere but not on #weechat and channels beginning with "
|
||||
"#linux:\n"
|
||||
" /allchan -exclude=#weechat,#linux* msg * hello\n"
|
||||
" /allchan -exclude=#weechat,#linux* hello\n"
|
||||
" say 'hello' on all channels beginning with #linux:\n"
|
||||
" /allchan -include=#linux* msg * hello"
|
||||
" /allchan -include=#linux* hello"
|
||||
msgstr ""
|
||||
" -current: vynechat příkaz pouze pro kanály aktuálního serveru\n"
|
||||
" -exclude: vynechat některé kanály ('*' je povolená na začátku nebo konci "
|
||||
@@ -6568,8 +6587,8 @@ msgstr "vykonat příkaz na všech kanálech všech připojených serverů"
|
||||
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
"[-current] [-exclude=<nick>[,<nick>...]] <command> [<arguments>] || [-"
|
||||
"current] -include=<nick>[,<nick>...] <command> [<arguments>]"
|
||||
"[-current] [-exclude=<nick>[,<nick>...]] <command> || [-current] -"
|
||||
"include=<nick>[,<nick>...] <command>"
|
||||
msgstr "[-current] [-exclude=<kanál>[,<kanál>...]] <příkaz> [<argumenty>]"
|
||||
|
||||
#, fuzzy
|
||||
@@ -6577,21 +6596,28 @@ msgid ""
|
||||
" -current: execute command for private buffers of current server only\n"
|
||||
" -exclude: exclude some nicks (wildcard \"*\" is allowed)\n"
|
||||
" -include: include only some nicks (wildcard \"*\" is allowed)\n"
|
||||
" command: command to execute\n"
|
||||
"arguments: arguments for command (special variables $nick, $channel and "
|
||||
"$server are replaced by their value)\n"
|
||||
" command: command to execute (or text to send to buffer if command does not "
|
||||
"start with '/')\n"
|
||||
"\n"
|
||||
"Command and arguments are evaluated (see /help eval), the following "
|
||||
"variables are replaced:\n"
|
||||
" $server server name\n"
|
||||
" $channel channel name\n"
|
||||
" $nick nick on server\n"
|
||||
" ${irc_server.xxx} variable xxx in server\n"
|
||||
" ${irc_channel.xxx} variable xxx in channel\n"
|
||||
"\n"
|
||||
"Examples:\n"
|
||||
" execute '/me is testing' on all private buffers:\n"
|
||||
" /allpv me is testing\n"
|
||||
" /allpv /me is testing\n"
|
||||
" say 'hello' everywhere but not for nick foo:\n"
|
||||
" /allpv -exclude=foo msg * hello\n"
|
||||
" /allpv -exclude=foo hello\n"
|
||||
" say 'hello' everywhere but not for nick foo and nicks beginning with bar:\n"
|
||||
" /allpv -exclude=foo,bar* msg * hello\n"
|
||||
" /allpv -exclude=foo,bar* hello\n"
|
||||
" say 'hello' for all nicks beginning with bar:\n"
|
||||
" /allpv -include=bar* msg * hello\n"
|
||||
" /allpv -include=bar* hello\n"
|
||||
" close all private buffers:\n"
|
||||
" /allpv close"
|
||||
" /allpv /close"
|
||||
msgstr ""
|
||||
" -current: vynechat příkaz pouze pro kanály aktuálního serveru\n"
|
||||
" -exclude: vynechat některé kanály ('*' je povolená na začátku nebo konci "
|
||||
@@ -6612,25 +6638,30 @@ msgstr "vykonat příkaz na všech připojených serverech"
|
||||
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
"[-exclude=<server>[,<server>...]] <command> [<arguments>] || -"
|
||||
"include=<server>[,<server>...] <command> [<arguments>]"
|
||||
"[-exclude=<server>[,<server>...]] <command> || -include=<server>[,"
|
||||
"<server>...] <command>"
|
||||
msgstr "[-exclude=<server>[,<server>...]] <příkaz> [<argumenty>]"
|
||||
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
" -exclude: exclude some servers (wildcard \"*\" is allowed)\n"
|
||||
" -include: include only some servers (wildcard \"*\" is allowed)\n"
|
||||
" command: command to execute\n"
|
||||
"arguments: arguments for command (special variables $nick, $channel and "
|
||||
"$server are replaced by their value)\n"
|
||||
" command: command to execute (or text to send to buffer if command does not "
|
||||
"start with '/')\n"
|
||||
"\n"
|
||||
"Command and arguments are evaluated (see /help eval), the following "
|
||||
"variables are replaced:\n"
|
||||
" $server server name\n"
|
||||
" $nick nick on server\n"
|
||||
" ${irc_server.xxx} variable xxx in server\n"
|
||||
"\n"
|
||||
"Examples:\n"
|
||||
" change nick on all servers:\n"
|
||||
" /allserv nick newnick\n"
|
||||
" /allserv /nick newnick\n"
|
||||
" set away on all servers:\n"
|
||||
" /allserv away I'm away\n"
|
||||
" /allserv /away I'm away\n"
|
||||
" do a whois on my nick on all servers:\n"
|
||||
" /allserv whois $nick"
|
||||
" /allserv /whois $nick"
|
||||
msgstr ""
|
||||
" -exclude: vynechat některé servery (pro vynechání více serverů je dovoleno "
|
||||
"'*' na začátku nebo konci jména serveru)\n"
|
||||
@@ -9367,6 +9398,14 @@ msgstr[0] "voiců"
|
||||
msgstr[1] "voice"
|
||||
msgstr[2] "voiců"
|
||||
|
||||
#. TRANSLATORS: number of "normal" nicks on a channel (ie no op/voice), for example: "56 normals"
|
||||
#, c-format
|
||||
msgid "%s%s%d%s normal"
|
||||
msgid_plural "%s%s%d%s normals"
|
||||
msgstr[0] ""
|
||||
msgstr[1] ""
|
||||
msgstr[2] ""
|
||||
|
||||
#, fuzzy, c-format
|
||||
msgid "%sChannel %s%s%s: %s%d%s %s %s(%s%s)"
|
||||
msgstr "%sMód %s%s %s[%s%s%s]%s od %s%s"
|
||||
@@ -10295,6 +10334,16 @@ msgstr "rgb,limit (limit je volitelný a nastaven na výchozí hodnotu 256)"
|
||||
msgid "get nick color code"
|
||||
msgstr "získat kód barvy přezdívky"
|
||||
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
"nickname;colors (colors is an optional comma-separated list of colors to "
|
||||
"use; background is allowed for a color with format text:background; if "
|
||||
"colors is present, WeeChat options with nick colors and forced nick colors "
|
||||
"are ignored)"
|
||||
msgstr ""
|
||||
"barva textu pro přezdívky (čárkou oddělený seznam barev, pozadí je povoleno "
|
||||
"ve formátu: \"fg:bg\", například: \"lightred:blue\")"
|
||||
|
||||
msgid "get nick color name"
|
||||
msgstr "získat jméno barvy přezdívky"
|
||||
|
||||
@@ -11569,6 +11618,12 @@ msgstr "Skripty"
|
||||
msgid "Script manager"
|
||||
msgstr "Správce skriptů"
|
||||
|
||||
#, c-format
|
||||
msgid ""
|
||||
"%s%s: download of scripts is disabled by default; see /help script.scripts."
|
||||
"download_enabled"
|
||||
msgstr ""
|
||||
|
||||
#, fuzzy
|
||||
msgid "WeeChat script manager"
|
||||
msgstr "správce skriptů WeeChatu"
|
||||
@@ -11904,6 +11959,14 @@ msgid ""
|
||||
"expire)"
|
||||
msgstr ""
|
||||
|
||||
msgid ""
|
||||
"enable download of files from the scripts repository when the /script "
|
||||
"command is used (list of scripts and scripts themselves); the list of "
|
||||
"scripts is downloaded from the URL specified in the option script.scripts."
|
||||
"url; WeeChat will sometimes download again the list of scripts when you use "
|
||||
"the /script command, even if you don't install a script"
|
||||
msgstr ""
|
||||
|
||||
#, fuzzy
|
||||
msgid "timeout (in seconds) for download of scripts and list of scripts"
|
||||
msgstr "časový limit (v sekundách) pro gnutls handshake"
|
||||
|
||||
@@ -24,8 +24,8 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WeeChat\n"
|
||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||
"POT-Creation-Date: 2020-06-21 18:56+0200\n"
|
||||
"PO-Revision-Date: 2020-07-04 14:06+0200\n"
|
||||
"POT-Creation-Date: 2020-10-11 16:22+0200\n"
|
||||
"PO-Revision-Date: 2020-10-16 16:30+0200\n"
|
||||
"Last-Translator: Nils Görs <weechatter@arcor.de>\n"
|
||||
"Language-Team: German <kde-i18n-de@kde.org>\n"
|
||||
"Language: de\n"
|
||||
@@ -33,7 +33,7 @@ msgstr ""
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||
"X-Generator: Poedit 2.2.4\n"
|
||||
"X-Generator: Poedit 2.3\n"
|
||||
"X-Poedit-Bookmarks: -1,-1,180,-1,-1,-1,-1,-1,-1,-1\n"
|
||||
"X-Poedit-SourceCharset: utf-8\n"
|
||||
|
||||
@@ -5690,9 +5690,7 @@ msgid "verbose"
|
||||
msgstr "ausführlich"
|
||||
|
||||
msgid "normal"
|
||||
msgid_plural "normals"
|
||||
msgstr[0] "normal"
|
||||
msgstr[1] "normale"
|
||||
msgstr "normal"
|
||||
|
||||
msgid "Debug disabled for cursor mode"
|
||||
msgstr "Debug für Cursor Modus deaktiviert"
|
||||
@@ -5832,7 +5830,7 @@ msgid ""
|
||||
" alias /split to split window horizontally:\n"
|
||||
" /alias add split /window splith\n"
|
||||
" alias /hello to say \"hello\" on all channels but not on #weechat:\n"
|
||||
" /alias add hello /allchan -exclude=#weechat msg * hello\n"
|
||||
" /alias add hello /allchan -exclude=#weechat hello\n"
|
||||
" alias /forcejoin to send IRC command \"forcejoin\" with completion of /"
|
||||
"sajoin:\n"
|
||||
" /alias addcompletion %%sajoin forcejoin /quote forcejoin"
|
||||
@@ -5869,7 +5867,7 @@ msgstr ""
|
||||
" /alias add split /window splith\n"
|
||||
" Alternativbefehl \"/hallo\" wird angelegt um in allen Channels, außer im "
|
||||
"#weechat Channel, den Text \"Hallo\" auszugeben:\n"
|
||||
" /alias add hallo /allchan -exclude=#weechat msg * hallo\n"
|
||||
" /alias add hallo /allchan -exclude=#weechat hallo\n"
|
||||
" Alternativbefehl \"/forcejoin\" wird angelegt um den IRC Befehl \"forcejoin"
|
||||
"\" mit einer Vervollständigung von /sajoin auszuführen:\n"
|
||||
" /alias addcompletion %%sajoin forcejoin /quote forcejoin"
|
||||
@@ -6429,18 +6427,18 @@ msgstr "führe externe Befehle aus"
|
||||
|
||||
msgid ""
|
||||
"-list || [-sh|-nosh] [-bg|-nobg] [-stdin|-nostdin] [-buffer <name>] [-l|-o|-"
|
||||
"n|-nf] [-cl|-nocl] [-sw|-nosw] [-ln|-noln] [-flush|-noflush] [-color ansi|"
|
||||
"auto|irc|weechat|strip] [-rc|-norc] [-timeout <timeout>] [-name <name>] [-"
|
||||
"pipe <command>] [-hsignal <name>] <command> || -in <id> <text> || -inclose "
|
||||
"<id> [<text>] || -signal <id> <signal> || -kill <id> || -killall || -set "
|
||||
"<id> <property> <value> || -del <id>|-all [<id>...]"
|
||||
"oc|-n|-nf] [-oerr] [-cl|-nocl] [-sw|-nosw] [-ln|-noln] [-flush|-noflush] [-"
|
||||
"color ansi|auto|irc|weechat|strip] [-rc|-norc] [-timeout <timeout>] [-name "
|
||||
"<name>] [-pipe <command>] [-hsignal <name>] <command> || -in <id> <text> || -"
|
||||
"inclose <id> [<text>] || -signal <id> <signal> || -kill <id> || -killall || -"
|
||||
"set <id> <property> <value> || -del <id>|-all [<id>...]"
|
||||
msgstr ""
|
||||
"-list || [-sh|-nosh] [-bg|-nobg] [-stdin|-nostdin] [-buffer <name>] [-l|-o|-"
|
||||
"n|-nf] [-cl|-nocl] [-sw|-nosw] [-ln|-noln] [-flush|-noflush] [-color ansi|"
|
||||
"auto|irc|weechat|strip] [-rc|-norc] [-timeout <timeout>] [-name <name>] [-"
|
||||
"pipe <command>] [-hsignal <name>] <command> || -in <id> <text> || -inclose "
|
||||
"<id> [<text>] || -signal <id> <signal> || -kill <id> || -killall || -set "
|
||||
"<id> <property> <value> || -del <id>|-all [<id>...]"
|
||||
"oc|-n|-nf] [-oerr] [-cl|-nocl] [-sw|-nosw] [-ln|-noln] [-flush|-noflush] [-"
|
||||
"color ansi|auto|irc|weechat|strip] [-rc|-norc] [-timeout <timeout>] [-name "
|
||||
"<name>] [-pipe <command>] [-hsignal <name>] <command> || -in <id> <text> || -"
|
||||
"inclose <id> [<text>] || -signal <id> <signal> || -kill <id> || -killall || -"
|
||||
"set <id> <property> <value> || -del <id>|-all [<id>...]"
|
||||
|
||||
msgid ""
|
||||
" -list: list commands\n"
|
||||
@@ -6468,6 +6466,8 @@ msgid ""
|
||||
" -nf: display output of command in a new buffer with free content (no "
|
||||
"word-wrap, no limit on number of lines) (not compatible with options -bg/-"
|
||||
"pipe/-hsignal)\n"
|
||||
" -oerr: also send stderr (error output) to the buffer (can be used only "
|
||||
"with options -o and -oc)\n"
|
||||
" -cl: clear the new buffer before displaying output\n"
|
||||
" -nocl: append to the new buffer without clear (default)\n"
|
||||
" -sw: switch to the output buffer (default)\n"
|
||||
@@ -6555,6 +6555,8 @@ msgstr ""
|
||||
" -nf: gibt die Ausgabe des Befehls in einem neuen Buffer, mit einem "
|
||||
"freien Inhalt, aus (kein Zeilenumbruch, keine Limitierung in der Anzahl der "
|
||||
"Zeilen), aus (nicht kompatibel mit Argument -bg/-pipe/-hsignal)\n"
|
||||
" -oerr: sendet stderr (Fehlerausgabe) an den Buffer (kann nur mit den "
|
||||
"Optionen -o und -oc verwendet werden)\n"
|
||||
" -cl: der neue Buffer wird vor einer Ausgabe gelöscht\n"
|
||||
" -nocl: Ausgabe wird an neuen Buffer angehangen, ohne diesen vorher zu "
|
||||
"löschen (Standardverhalten)\n"
|
||||
@@ -7198,6 +7200,18 @@ msgstr ""
|
||||
msgid "configuration files, sections, options and words of options"
|
||||
msgstr "Konfigurationsdateien, Sektionen, Optionen und Worte von Optionen"
|
||||
|
||||
msgid ""
|
||||
"comma separated list of options to automatically refresh on the fset buffer "
|
||||
"(if opened); \"*\" means all options (recommended), a name beginning with \"!"
|
||||
"\" is a negative value to prevent an option to be refreshed, wildcard \"*\" "
|
||||
"is allowed in names (example: \"*,!plugin.section.*\")"
|
||||
msgstr ""
|
||||
"durch Kommata getrennte Liste von Optionen, die eine Aktualisierung des fset "
|
||||
"Buffers auslösen (falls dieser geöffnet sein sollte); \"*\" beschreibt alle "
|
||||
"Optionen (empfohlen). Beginnt der Name einer Option hingegen mit \"!\" "
|
||||
"erzeugt diese Option keine Aktualisierung des Buffers. Im Optionsnamen kann "
|
||||
"der Platzhalter \"*\" verwendet werden (Beispiel: \"*,!plugin.section.*\" )"
|
||||
|
||||
msgid ""
|
||||
"automatically unmark all options after an action on marked options or after "
|
||||
"a refresh"
|
||||
@@ -8025,30 +8039,37 @@ msgstr ""
|
||||
"Server verbunden sind"
|
||||
|
||||
msgid ""
|
||||
"[-current] [-exclude=<channel>[,<channel>...]] <command> [<arguments>] || [-"
|
||||
"current] -include=<channel>[,<channel>...] <command> [<arguments>]"
|
||||
"[-current] [-exclude=<channel>[,<channel>...]] <command> || [-current] -"
|
||||
"include=<channel>[,<channel>...] <command>"
|
||||
msgstr ""
|
||||
"[-current] [-exclude=<channel>[,<channel>...]] <command> [<arguments>] || [-"
|
||||
"current] -include=<channel>[,<channel>...] <command> [<arguments>]"
|
||||
"[-current] [-exclude=<channel>[,<channel>...]] <command> || [-current] -"
|
||||
"include=<channel>[,<channel>...] <command>"
|
||||
|
||||
msgid ""
|
||||
" -current: execute command for channels of current server only\n"
|
||||
" -exclude: exclude some channels (wildcard \"*\" is allowed)\n"
|
||||
" -include: include only some channels (wildcard \"*\" is allowed)\n"
|
||||
" command: command to execute\n"
|
||||
"arguments: arguments for command (special variables $nick, $channel and "
|
||||
"$server are replaced by their value)\n"
|
||||
" command: command to execute (or text to send to buffer if command does not "
|
||||
"start with '/')\n"
|
||||
"\n"
|
||||
"Command and arguments are evaluated (see /help eval), the following "
|
||||
"variables are replaced:\n"
|
||||
" $server server name\n"
|
||||
" $channel channel name\n"
|
||||
" $nick nick on server\n"
|
||||
" ${irc_server.xxx} variable xxx in server\n"
|
||||
" ${irc_channel.xxx} variable xxx in channel\n"
|
||||
"\n"
|
||||
"Examples:\n"
|
||||
" execute '/me is testing' on all channels:\n"
|
||||
" /allchan me is testing\n"
|
||||
" /allchan /me is testing\n"
|
||||
" say 'hello' everywhere but not on #weechat:\n"
|
||||
" /allchan -exclude=#weechat msg * hello\n"
|
||||
" /allchan -exclude=#weechat hello\n"
|
||||
" say 'hello' everywhere but not on #weechat and channels beginning with "
|
||||
"#linux:\n"
|
||||
" /allchan -exclude=#weechat,#linux* msg * hello\n"
|
||||
" /allchan -exclude=#weechat,#linux* hello\n"
|
||||
" say 'hello' on all channels beginning with #linux:\n"
|
||||
" /allchan -include=#linux* msg * hello"
|
||||
" /allchan -include=#linux* hello"
|
||||
msgstr ""
|
||||
" -current: führt einen Befehl aus der an alle Channels des aktuellen Servers "
|
||||
"gesendet wird\n"
|
||||
@@ -8057,20 +8078,26 @@ msgstr ""
|
||||
" -include: findet Anwendung für ausgewählte Channels (Platzhalter \"*\" kann "
|
||||
"verwendet werden)\\n\n"
|
||||
" command: Befehl der ausgeführt werden soll\n"
|
||||
"arguments: Argumente für Befehl (Variablen die genutzt werden können und "
|
||||
"durch den entsprechenden Wert ersetzt werden: $nick, $channel und $server)\n"
|
||||
"\n"
|
||||
"Argumente und Befehl werden evaluiert (siehe /help eval), folgende Variablen "
|
||||
"können genutzt werden:\n"
|
||||
" $server Name des Servers\n"
|
||||
" $channel Name des Channel\n"
|
||||
" $nick Nickname der auf dem Server genutzt wird\n"
|
||||
" ${irc_server.xxx} Variable xxx von Server\n"
|
||||
" ${irc_channel.xxx} Variable xxx von Channel\n"
|
||||
"\n"
|
||||
"Beispiele:\n"
|
||||
" führe den Befehl '/me Ich teste gerade etwas...' für alle Channels aus:\n"
|
||||
" /allchan me Ich teste gerade etwas...\n"
|
||||
" /allchan /me Ich teste gerade etwas...\n"
|
||||
" schicke 'Hallo Welt' an jeden Channel, ausgenommen an den #weechat "
|
||||
"Channel:\n"
|
||||
" /allchan -exclude=#weechat msg * Hallo Welt\n"
|
||||
" /allchan -exclude=#weechat Hallo Welt\n"
|
||||
" schicke 'Hallo Welt' an jeden Channel, ausgenommen an den #weechat Channel "
|
||||
"und Channels die mit #linux beginnen:\n"
|
||||
" /allchan -exclude=#weechat,#linux* msg * Hallo Welt\n"
|
||||
" /allchan -exclude=#weechat,#linux* Hallo Welt\n"
|
||||
" schickt den Text 'Hallo' an alle Channels die mit #linux beginnen:\n"
|
||||
" /allchan -include=#linux* msg * Hallo"
|
||||
" /allchan -include=#linux* Hallo"
|
||||
|
||||
msgid "execute a command on all private buffers of all connected servers"
|
||||
msgstr ""
|
||||
@@ -8078,31 +8105,38 @@ msgstr ""
|
||||
"einem Server verbunden sind"
|
||||
|
||||
msgid ""
|
||||
"[-current] [-exclude=<nick>[,<nick>...]] <command> [<arguments>] || [-"
|
||||
"current] -include=<nick>[,<nick>...] <command> [<arguments>]"
|
||||
"[-current] [-exclude=<nick>[,<nick>...]] <command> || [-current] -"
|
||||
"include=<nick>[,<nick>...] <command>"
|
||||
msgstr ""
|
||||
"[-current] [-exclude=<nick>[,<nick>...]] <command> [<arguments>] || [-"
|
||||
"current] -include=<nick>[,<nick>...] <command> [<arguments>]"
|
||||
"[-current] [-exclude=<nick>[,<nick>...]] <command> || [-current] -"
|
||||
"include=<nick>[,<nick>...] <command>"
|
||||
|
||||
msgid ""
|
||||
" -current: execute command for private buffers of current server only\n"
|
||||
" -exclude: exclude some nicks (wildcard \"*\" is allowed)\n"
|
||||
" -include: include only some nicks (wildcard \"*\" is allowed)\n"
|
||||
" command: command to execute\n"
|
||||
"arguments: arguments for command (special variables $nick, $channel and "
|
||||
"$server are replaced by their value)\n"
|
||||
" command: command to execute (or text to send to buffer if command does not "
|
||||
"start with '/')\n"
|
||||
"\n"
|
||||
"Command and arguments are evaluated (see /help eval), the following "
|
||||
"variables are replaced:\n"
|
||||
" $server server name\n"
|
||||
" $channel channel name\n"
|
||||
" $nick nick on server\n"
|
||||
" ${irc_server.xxx} variable xxx in server\n"
|
||||
" ${irc_channel.xxx} variable xxx in channel\n"
|
||||
"\n"
|
||||
"Examples:\n"
|
||||
" execute '/me is testing' on all private buffers:\n"
|
||||
" /allpv me is testing\n"
|
||||
" /allpv /me is testing\n"
|
||||
" say 'hello' everywhere but not for nick foo:\n"
|
||||
" /allpv -exclude=foo msg * hello\n"
|
||||
" /allpv -exclude=foo hello\n"
|
||||
" say 'hello' everywhere but not for nick foo and nicks beginning with bar:\n"
|
||||
" /allpv -exclude=foo,bar* msg * hello\n"
|
||||
" /allpv -exclude=foo,bar* hello\n"
|
||||
" say 'hello' for all nicks beginning with bar:\n"
|
||||
" /allpv -include=bar* msg * hello\n"
|
||||
" /allpv -include=bar* hello\n"
|
||||
" close all private buffers:\n"
|
||||
" /allpv close"
|
||||
" /allpv /close"
|
||||
msgstr ""
|
||||
" -current: führt einen Befehl aus der für alle privaten Buffer, des "
|
||||
"aktuellen Servers, Anwendung findet\n"
|
||||
@@ -8111,63 +8145,78 @@ msgstr ""
|
||||
" -include: findet Anwendung für ausgewählte Nicks (Platzhalter \"*\" kann "
|
||||
"verwendet werden)\n"
|
||||
" command: Befehl der ausgeführt werden soll\n"
|
||||
"arguments: Argumente für Befehl (Variablen die genutzt werden können und "
|
||||
"durch den entsprechenden Wert ersetzt werden: $nick, $channel und $server)\n"
|
||||
"\n"
|
||||
"Argumente und Befehl werden evaluiert (siehe /help eval), folgende Variablen "
|
||||
"können genutzt werden:\n"
|
||||
" $server Name des Servers\n"
|
||||
" $channel Name des Channel\n"
|
||||
" $nick Nickname der auf dem Server genutzt wird\n"
|
||||
" ${irc_server.xxx} Variable xxx von Server\n"
|
||||
" ${irc_channel.xxx} Variable xxx von Channel\n"
|
||||
"\n"
|
||||
"Beispiele:\n"
|
||||
" führe den Befehl '/me Ich teste gerade etwas...' für alle privaten Buffer "
|
||||
"aus:\n"
|
||||
" /allpv me Ich teste gerade etwas...\n"
|
||||
" /allpv /me Ich teste gerade etwas...\n"
|
||||
" schicke 'Hallo' an alle, ausgenommen an Nick foo:\n"
|
||||
" /allpv -exclude=foo msg * Hallo\n"
|
||||
" /allpv -exclude=foo Hallo\n"
|
||||
" schicke den Text 'Hallo' an alle, ausgenommen für Nick foo und Nicks die "
|
||||
"mit bar beginnen:\n"
|
||||
" /allpv -exclude=foo,bar* msg * Hallo\n"
|
||||
" /allpv -exclude=foo,bar* Hallo\n"
|
||||
" schicke den Text 'Hallo' an alle Nicks die mit bar beginnen:\n"
|
||||
" /allpv -include=bar* msg * Hallo\n"
|
||||
" /allpv -include=bar* Hallo\n"
|
||||
" schließe alle privaten Buffer:\n"
|
||||
" /allpv close"
|
||||
" /allpv /close"
|
||||
|
||||
msgid "execute a command on all connected servers"
|
||||
msgstr "führt einen Befehl aus, der zu allen verbundenen Server gesendet wird"
|
||||
|
||||
msgid ""
|
||||
"[-exclude=<server>[,<server>...]] <command> [<arguments>] || -"
|
||||
"include=<server>[,<server>...] <command> [<arguments>]"
|
||||
"[-exclude=<server>[,<server>...]] <command> || -include=<server>[,"
|
||||
"<server>...] <command>"
|
||||
msgstr ""
|
||||
"[-exclude=<server>[,<server>...]] <command> [<arguments>] || -"
|
||||
"include=<server>[,<server>...] <command> [<arguments>]"
|
||||
"[-exclude=<server>[,<server>...]] <command> || -include=<server>[,"
|
||||
"<server>...] <command>"
|
||||
|
||||
msgid ""
|
||||
" -exclude: exclude some servers (wildcard \"*\" is allowed)\n"
|
||||
" -include: include only some servers (wildcard \"*\" is allowed)\n"
|
||||
" command: command to execute\n"
|
||||
"arguments: arguments for command (special variables $nick, $channel and "
|
||||
"$server are replaced by their value)\n"
|
||||
" command: command to execute (or text to send to buffer if command does not "
|
||||
"start with '/')\n"
|
||||
"\n"
|
||||
"Command and arguments are evaluated (see /help eval), the following "
|
||||
"variables are replaced:\n"
|
||||
" $server server name\n"
|
||||
" $nick nick on server\n"
|
||||
" ${irc_server.xxx} variable xxx in server\n"
|
||||
"\n"
|
||||
"Examples:\n"
|
||||
" change nick on all servers:\n"
|
||||
" /allserv nick newnick\n"
|
||||
" /allserv /nick newnick\n"
|
||||
" set away on all servers:\n"
|
||||
" /allserv away I'm away\n"
|
||||
" /allserv /away I'm away\n"
|
||||
" do a whois on my nick on all servers:\n"
|
||||
" /allserv whois $nick"
|
||||
" /allserv /whois $nick"
|
||||
msgstr ""
|
||||
" -exclude: dient zum Ausschluss ausgewählter Server (Platzhalter \"*\" kann "
|
||||
"verwendet werden)\n"
|
||||
" -include: findet Anwendung für ausgewählte Server (Platzhalter \"*\" kann "
|
||||
"verwendet werden)\n"
|
||||
" command: Befehl der ausgeführt werden soll\n"
|
||||
"arguments: Argumente für Befehl (Variablen die genutzt werden können und "
|
||||
"durch den entsprechenden Wert ersetzt werden: $nick, $channel und $server)\n"
|
||||
"\n"
|
||||
"Argumente und Befehl werden evaluiert (siehe /help eval), folgende Variablen "
|
||||
"können genutzt werden:\n"
|
||||
" $server Name des Servers\n"
|
||||
" $nick Nickname der auf dem Server genutzt wird\n"
|
||||
" ${irc_server.xxx} Variable xxx von Server\n"
|
||||
"\n"
|
||||
"Beispiele:\n"
|
||||
" ändere den Nick auf allen Servern:\n"
|
||||
" /allserv nick newnick\n"
|
||||
" /allserv /nick newnick\n"
|
||||
" setzt den Status, auf allen Servern, auf abwesend:\n"
|
||||
" /allserv away I'm away\n"
|
||||
" /allserv /away I'm away\n"
|
||||
" führt ein whois mit meinem nick auf allen Servern aus:\n"
|
||||
" /allserv whois $nick"
|
||||
" /allserv /whois $nick"
|
||||
|
||||
msgid "ban nicks or hosts"
|
||||
msgstr "Nicknamen oder Hosts sperren/verbannen"
|
||||
@@ -11218,6 +11267,13 @@ msgid_plural "voices"
|
||||
msgstr[0] "ge-voice-ter"
|
||||
msgstr[1] "ge-voice-te"
|
||||
|
||||
#. TRANSLATORS: number of "normal" nicks on a channel (ie no op/voice), for example: "56 normals"
|
||||
#, c-format
|
||||
msgid "%s%s%d%s normal"
|
||||
msgid_plural "%s%s%d%s normals"
|
||||
msgstr[0] "%s%s%d%s normal"
|
||||
msgstr[1] "%s%s%d%s normale"
|
||||
|
||||
#, c-format
|
||||
msgid "%sChannel %s%s%s: %s%d%s %s %s(%s%s)"
|
||||
msgstr "%sChannel %s%s%s: %s%d%s %s %s(%s%s)"
|
||||
@@ -12188,6 +12244,18 @@ msgstr "RGB,limit (Obergrenze ist optional und ist Standardmäßig 256)"
|
||||
msgid "get nick color code"
|
||||
msgstr "zeigt Farbecode des Nick"
|
||||
|
||||
msgid ""
|
||||
"nickname;colors (colors is an optional comma-separated list of colors to "
|
||||
"use; background is allowed for a color with format text:background; if "
|
||||
"colors is present, WeeChat options with nick colors and forced nick colors "
|
||||
"are ignored)"
|
||||
msgstr ""
|
||||
"Nickname;Farben (Farben ist eine optionale Kommata getrennte Liste von "
|
||||
"Farben die genutzt werden sollen; wenn eine Hintergrundfarbe genutzt werden "
|
||||
"muss das Format wie folgt aussehen Text:Hintergrund; sind die Farben schon "
|
||||
"vorhanden, werden die WeeChat Optionen für Nickfarben und erzwungene "
|
||||
"Nickfarben ignoriert)"
|
||||
|
||||
msgid "get nick color name"
|
||||
msgstr "zeigt Farbnamen des Nick"
|
||||
|
||||
@@ -13606,6 +13674,14 @@ msgstr "Skripten"
|
||||
msgid "Script manager"
|
||||
msgstr "Skriptmanager"
|
||||
|
||||
#, c-format
|
||||
msgid ""
|
||||
"%s%s: download of scripts is disabled by default; see /help script.scripts."
|
||||
"download_enabled"
|
||||
msgstr ""
|
||||
"%s%s: Das Herunterladen von Skripten ist standardmäßig deaktiviert. siehe / "
|
||||
"help script.scripts.download_enabled"
|
||||
|
||||
msgid "WeeChat script manager"
|
||||
msgstr "WeeChat Skriptmanager"
|
||||
|
||||
@@ -13981,6 +14057,20 @@ msgstr ""
|
||||
"Ablaufdatum des lokalen Caches, in Minuten (-1 = ohne Ablaufdatum, 0 = "
|
||||
"umgehend)"
|
||||
|
||||
msgid ""
|
||||
"enable download of files from the scripts repository when the /script "
|
||||
"command is used (list of scripts and scripts themselves); the list of "
|
||||
"scripts is downloaded from the URL specified in the option script.scripts."
|
||||
"url; WeeChat will sometimes download again the list of scripts when you use "
|
||||
"the /script command, even if you don't install a script"
|
||||
msgstr ""
|
||||
"Aktivieren Sie den Download von Dateien aus dem Skript-Repository, wenn der "
|
||||
"Befehl /script verwendet wird (Liste der Skripten und Skripten selbst). Die "
|
||||
"Liste der Skripten wird von der in der Option script.scripts.url angegebenen "
|
||||
"URL heruntergeladen. WeeChat lädt manchmal die Liste der Skripten erneut "
|
||||
"herunter, wenn Sie den Befehl /script verwenden, auch wenn Sie kein Skript "
|
||||
"installieren"
|
||||
|
||||
msgid "timeout (in seconds) for download of scripts and list of scripts"
|
||||
msgstr ""
|
||||
"Zeitüberschreitung (in Sekunden) beim herunterladen von Skripten und der "
|
||||
|
||||
@@ -22,7 +22,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WeeChat\n"
|
||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||
"POT-Creation-Date: 2020-06-21 18:56+0200\n"
|
||||
"POT-Creation-Date: 2020-10-11 16:22+0200\n"
|
||||
"PO-Revision-Date: 2020-04-28 16:40+0200\n"
|
||||
"Last-Translator: Elián Hanisch <lambdae2@gmail.com>\n"
|
||||
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
|
||||
@@ -4914,10 +4914,9 @@ msgstr "Depurado para modo cursor activado (%s)"
|
||||
msgid "verbose"
|
||||
msgstr "detallado"
|
||||
|
||||
#, fuzzy
|
||||
msgid "normal"
|
||||
msgid_plural "normals"
|
||||
msgstr[0] "normal"
|
||||
msgstr[1] "normales"
|
||||
msgstr "normal"
|
||||
|
||||
msgid "Debug disabled for cursor mode"
|
||||
msgstr "Depurado para el modo cursor desactivado"
|
||||
@@ -5058,7 +5057,7 @@ msgid ""
|
||||
" alias /split to split window horizontally:\n"
|
||||
" /alias add split /window splith\n"
|
||||
" alias /hello to say \"hello\" on all channels but not on #weechat:\n"
|
||||
" /alias add hello /allchan -exclude=#weechat msg * hello\n"
|
||||
" /alias add hello /allchan -exclude=#weechat hello\n"
|
||||
" alias /forcejoin to send IRC command \"forcejoin\" with completion of /"
|
||||
"sajoin:\n"
|
||||
" /alias addcompletion %%sajoin forcejoin /quote forcejoin"
|
||||
@@ -5504,11 +5503,11 @@ msgstr "ejecuta un comando silenciosamente"
|
||||
|
||||
msgid ""
|
||||
"-list || [-sh|-nosh] [-bg|-nobg] [-stdin|-nostdin] [-buffer <name>] [-l|-o|-"
|
||||
"n|-nf] [-cl|-nocl] [-sw|-nosw] [-ln|-noln] [-flush|-noflush] [-color ansi|"
|
||||
"auto|irc|weechat|strip] [-rc|-norc] [-timeout <timeout>] [-name <name>] [-"
|
||||
"pipe <command>] [-hsignal <name>] <command> || -in <id> <text> || -inclose "
|
||||
"<id> [<text>] || -signal <id> <signal> || -kill <id> || -killall || -set "
|
||||
"<id> <property> <value> || -del <id>|-all [<id>...]"
|
||||
"oc|-n|-nf] [-oerr] [-cl|-nocl] [-sw|-nosw] [-ln|-noln] [-flush|-noflush] [-"
|
||||
"color ansi|auto|irc|weechat|strip] [-rc|-norc] [-timeout <timeout>] [-name "
|
||||
"<name>] [-pipe <command>] [-hsignal <name>] <command> || -in <id> <text> || -"
|
||||
"inclose <id> [<text>] || -signal <id> <signal> || -kill <id> || -killall || -"
|
||||
"set <id> <property> <value> || -del <id>|-all [<id>...]"
|
||||
msgstr ""
|
||||
|
||||
msgid ""
|
||||
@@ -5537,6 +5536,8 @@ msgid ""
|
||||
" -nf: display output of command in a new buffer with free content (no "
|
||||
"word-wrap, no limit on number of lines) (not compatible with options -bg/-"
|
||||
"pipe/-hsignal)\n"
|
||||
" -oerr: also send stderr (error output) to the buffer (can be used only "
|
||||
"with options -o and -oc)\n"
|
||||
" -cl: clear the new buffer before displaying output\n"
|
||||
" -nocl: append to the new buffer without clear (default)\n"
|
||||
" -sw: switch to the output buffer (default)\n"
|
||||
@@ -5933,6 +5934,18 @@ msgstr ""
|
||||
msgid "configuration files, sections, options and words of options"
|
||||
msgstr "opciones de configuración"
|
||||
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
"comma separated list of options to automatically refresh on the fset buffer "
|
||||
"(if opened); \"*\" means all options (recommended), a name beginning with \"!"
|
||||
"\" is a negative value to prevent an option to be refreshed, wildcard \"*\" "
|
||||
"is allowed in names (example: \"*,!plugin.section.*\")"
|
||||
msgstr ""
|
||||
"lista de plugins separados por comas para cargar automáticamente al iniciar, "
|
||||
"\"*\" significa todos los plugins encontrados, un nombre empezando con \"!\" "
|
||||
"previene que el plugin se cargue, nombres pueden empezar o terminar con \"*"
|
||||
"\" para indicar varios plugins (ejemplo: \"*\" o \"*,!lua,!tcl\")"
|
||||
|
||||
msgid ""
|
||||
"automatically unmark all options after an action on marked options or after "
|
||||
"a refresh"
|
||||
@@ -6737,8 +6750,8 @@ msgstr ""
|
||||
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
"[-current] [-exclude=<channel>[,<channel>...]] <command> [<arguments>] || [-"
|
||||
"current] -include=<channel>[,<channel>...] <command> [<arguments>]"
|
||||
"[-current] [-exclude=<channel>[,<channel>...]] <command> || [-current] -"
|
||||
"include=<channel>[,<channel>...] <command>"
|
||||
msgstr "[-current] [-exclude=<canal>[,<canal>...]] <comando> [<argumentos>]"
|
||||
|
||||
#, fuzzy
|
||||
@@ -6746,20 +6759,27 @@ msgid ""
|
||||
" -current: execute command for channels of current server only\n"
|
||||
" -exclude: exclude some channels (wildcard \"*\" is allowed)\n"
|
||||
" -include: include only some channels (wildcard \"*\" is allowed)\n"
|
||||
" command: command to execute\n"
|
||||
"arguments: arguments for command (special variables $nick, $channel and "
|
||||
"$server are replaced by their value)\n"
|
||||
" command: command to execute (or text to send to buffer if command does not "
|
||||
"start with '/')\n"
|
||||
"\n"
|
||||
"Command and arguments are evaluated (see /help eval), the following "
|
||||
"variables are replaced:\n"
|
||||
" $server server name\n"
|
||||
" $channel channel name\n"
|
||||
" $nick nick on server\n"
|
||||
" ${irc_server.xxx} variable xxx in server\n"
|
||||
" ${irc_channel.xxx} variable xxx in channel\n"
|
||||
"\n"
|
||||
"Examples:\n"
|
||||
" execute '/me is testing' on all channels:\n"
|
||||
" /allchan me is testing\n"
|
||||
" /allchan /me is testing\n"
|
||||
" say 'hello' everywhere but not on #weechat:\n"
|
||||
" /allchan -exclude=#weechat msg * hello\n"
|
||||
" /allchan -exclude=#weechat hello\n"
|
||||
" say 'hello' everywhere but not on #weechat and channels beginning with "
|
||||
"#linux:\n"
|
||||
" /allchan -exclude=#weechat,#linux* msg * hello\n"
|
||||
" /allchan -exclude=#weechat,#linux* hello\n"
|
||||
" say 'hello' on all channels beginning with #linux:\n"
|
||||
" /allchan -include=#linux* msg * hello"
|
||||
" /allchan -include=#linux* hello"
|
||||
msgstr ""
|
||||
" -current: ejecuta comando para los canales del servidor actual solamente\n"
|
||||
" -exclude: excluye algunos canales ('*' está permitido al principio o final "
|
||||
@@ -6783,8 +6803,8 @@ msgstr ""
|
||||
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
"[-current] [-exclude=<nick>[,<nick>...]] <command> [<arguments>] || [-"
|
||||
"current] -include=<nick>[,<nick>...] <command> [<arguments>]"
|
||||
"[-current] [-exclude=<nick>[,<nick>...]] <command> || [-current] -"
|
||||
"include=<nick>[,<nick>...] <command>"
|
||||
msgstr "[-current] [-exclude=<canal>[,<canal>...]] <comando> [<argumentos>]"
|
||||
|
||||
#, fuzzy
|
||||
@@ -6792,21 +6812,28 @@ msgid ""
|
||||
" -current: execute command for private buffers of current server only\n"
|
||||
" -exclude: exclude some nicks (wildcard \"*\" is allowed)\n"
|
||||
" -include: include only some nicks (wildcard \"*\" is allowed)\n"
|
||||
" command: command to execute\n"
|
||||
"arguments: arguments for command (special variables $nick, $channel and "
|
||||
"$server are replaced by their value)\n"
|
||||
" command: command to execute (or text to send to buffer if command does not "
|
||||
"start with '/')\n"
|
||||
"\n"
|
||||
"Command and arguments are evaluated (see /help eval), the following "
|
||||
"variables are replaced:\n"
|
||||
" $server server name\n"
|
||||
" $channel channel name\n"
|
||||
" $nick nick on server\n"
|
||||
" ${irc_server.xxx} variable xxx in server\n"
|
||||
" ${irc_channel.xxx} variable xxx in channel\n"
|
||||
"\n"
|
||||
"Examples:\n"
|
||||
" execute '/me is testing' on all private buffers:\n"
|
||||
" /allpv me is testing\n"
|
||||
" /allpv /me is testing\n"
|
||||
" say 'hello' everywhere but not for nick foo:\n"
|
||||
" /allpv -exclude=foo msg * hello\n"
|
||||
" /allpv -exclude=foo hello\n"
|
||||
" say 'hello' everywhere but not for nick foo and nicks beginning with bar:\n"
|
||||
" /allpv -exclude=foo,bar* msg * hello\n"
|
||||
" /allpv -exclude=foo,bar* hello\n"
|
||||
" say 'hello' for all nicks beginning with bar:\n"
|
||||
" /allpv -include=bar* msg * hello\n"
|
||||
" /allpv -include=bar* hello\n"
|
||||
" close all private buffers:\n"
|
||||
" /allpv close"
|
||||
" /allpv /close"
|
||||
msgstr ""
|
||||
" -current: ejecuta comando para los canales del servidor actual solamente\n"
|
||||
" -exclude: excluye algunos canales ('*' está permitido al principio o final "
|
||||
@@ -6828,25 +6855,30 @@ msgstr "ejecuta un comando en todos los servidores conectados"
|
||||
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
"[-exclude=<server>[,<server>...]] <command> [<arguments>] || -"
|
||||
"include=<server>[,<server>...] <command> [<arguments>]"
|
||||
"[-exclude=<server>[,<server>...]] <command> || -include=<server>[,"
|
||||
"<server>...] <command>"
|
||||
msgstr "[-exclude=<servidor>[,<servidor>...]] <comando> [<argumentos>]"
|
||||
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
" -exclude: exclude some servers (wildcard \"*\" is allowed)\n"
|
||||
" -include: include only some servers (wildcard \"*\" is allowed)\n"
|
||||
" command: command to execute\n"
|
||||
"arguments: arguments for command (special variables $nick, $channel and "
|
||||
"$server are replaced by their value)\n"
|
||||
" command: command to execute (or text to send to buffer if command does not "
|
||||
"start with '/')\n"
|
||||
"\n"
|
||||
"Command and arguments are evaluated (see /help eval), the following "
|
||||
"variables are replaced:\n"
|
||||
" $server server name\n"
|
||||
" $nick nick on server\n"
|
||||
" ${irc_server.xxx} variable xxx in server\n"
|
||||
"\n"
|
||||
"Examples:\n"
|
||||
" change nick on all servers:\n"
|
||||
" /allserv nick newnick\n"
|
||||
" /allserv /nick newnick\n"
|
||||
" set away on all servers:\n"
|
||||
" /allserv away I'm away\n"
|
||||
" /allserv /away I'm away\n"
|
||||
" do a whois on my nick on all servers:\n"
|
||||
" /allserv whois $nick"
|
||||
" /allserv /whois $nick"
|
||||
msgstr ""
|
||||
" -exclude: excluye algunos servidores ('*' está permitido al principio o "
|
||||
"final del nombre del servidor, para excluir varios servidores)\n"
|
||||
@@ -9675,6 +9707,13 @@ msgid_plural "voices"
|
||||
msgstr[0] "voz"
|
||||
msgstr[1] "voces"
|
||||
|
||||
#. TRANSLATORS: number of "normal" nicks on a channel (ie no op/voice), for example: "56 normals"
|
||||
#, c-format
|
||||
msgid "%s%s%d%s normal"
|
||||
msgid_plural "%s%s%d%s normals"
|
||||
msgstr[0] ""
|
||||
msgstr[1] ""
|
||||
|
||||
# dunno what reop means
|
||||
#, fuzzy, c-format
|
||||
msgid "%sChannel %s%s%s: %s%d%s %s %s(%s%s)"
|
||||
@@ -10607,6 +10646,16 @@ msgstr ""
|
||||
msgid "get nick color code"
|
||||
msgstr "obtiene el código del color del apodo"
|
||||
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
"nickname;colors (colors is an optional comma-separated list of colors to "
|
||||
"use; background is allowed for a color with format text:background; if "
|
||||
"colors is present, WeeChat options with nick colors and forced nick colors "
|
||||
"are ignored)"
|
||||
msgstr ""
|
||||
"color para los apodos (lista de colores separadas por comas, color de fondo "
|
||||
"es permitido siguiendo el formato \"fg:bg\", por ejemplo: \"lightred:blue\")"
|
||||
|
||||
msgid "get nick color name"
|
||||
msgstr "obtiene el nombre del color del apodo"
|
||||
|
||||
@@ -11911,6 +11960,12 @@ msgstr ""
|
||||
msgid "Script manager"
|
||||
msgstr "Administración de scripts"
|
||||
|
||||
#, c-format
|
||||
msgid ""
|
||||
"%s%s: download of scripts is disabled by default; see /help script.scripts."
|
||||
"download_enabled"
|
||||
msgstr ""
|
||||
|
||||
#, fuzzy
|
||||
msgid "WeeChat script manager"
|
||||
msgstr "Administrador de scripts de WeeChat"
|
||||
@@ -12162,6 +12217,14 @@ msgid ""
|
||||
"expire)"
|
||||
msgstr ""
|
||||
|
||||
msgid ""
|
||||
"enable download of files from the scripts repository when the /script "
|
||||
"command is used (list of scripts and scripts themselves); the list of "
|
||||
"scripts is downloaded from the URL specified in the option script.scripts."
|
||||
"url; WeeChat will sometimes download again the list of scripts when you use "
|
||||
"the /script command, even if you don't install a script"
|
||||
msgstr ""
|
||||
|
||||
#, fuzzy
|
||||
msgid "timeout (in seconds) for download of scripts and list of scripts"
|
||||
msgstr ""
|
||||
|
||||
@@ -21,8 +21,8 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WeeChat\n"
|
||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||
"POT-Creation-Date: 2020-06-21 18:56+0200\n"
|
||||
"PO-Revision-Date: 2020-06-21 18:57+0200\n"
|
||||
"POT-Creation-Date: 2020-10-11 16:22+0200\n"
|
||||
"PO-Revision-Date: 2020-10-11 16:24+0200\n"
|
||||
"Last-Translator: Sébastien Helleu <flashcode@flashtux.org>\n"
|
||||
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
|
||||
"Language: fr\n"
|
||||
@@ -5557,9 +5557,7 @@ msgid "verbose"
|
||||
msgstr "verbeux"
|
||||
|
||||
msgid "normal"
|
||||
msgid_plural "normals"
|
||||
msgstr[0] "normal"
|
||||
msgstr[1] "normaux"
|
||||
msgstr "normal"
|
||||
|
||||
msgid "Debug disabled for cursor mode"
|
||||
msgstr "Debug désactivé pour le mode curseur"
|
||||
@@ -5699,7 +5697,7 @@ msgid ""
|
||||
" alias /split to split window horizontally:\n"
|
||||
" /alias add split /window splith\n"
|
||||
" alias /hello to say \"hello\" on all channels but not on #weechat:\n"
|
||||
" /alias add hello /allchan -exclude=#weechat msg * hello\n"
|
||||
" /alias add hello /allchan -exclude=#weechat hello\n"
|
||||
" alias /forcejoin to send IRC command \"forcejoin\" with completion of /"
|
||||
"sajoin:\n"
|
||||
" /alias addcompletion %%sajoin forcejoin /quote forcejoin"
|
||||
@@ -5733,7 +5731,7 @@ msgstr ""
|
||||
" /alias add split /window splith\n"
|
||||
" alias /hello pour dire \"hello\" sur tous les canaux mais pas sur "
|
||||
"#weechat :\n"
|
||||
" /alias add hello /allchan -exclude=#weechat msg * hello\n"
|
||||
" /alias add hello /allchan -exclude=#weechat hello\n"
|
||||
" alias /forcejoin pour envoyer la commande IRC \"forcejoin\" avec la "
|
||||
"complétion de /sajoin :\n"
|
||||
" /alias addcompletion %%sajoin forcejoin /quote forcejoin"
|
||||
@@ -6283,18 +6281,18 @@ msgstr "exécuter des commandes externes"
|
||||
|
||||
msgid ""
|
||||
"-list || [-sh|-nosh] [-bg|-nobg] [-stdin|-nostdin] [-buffer <name>] [-l|-o|-"
|
||||
"n|-nf] [-cl|-nocl] [-sw|-nosw] [-ln|-noln] [-flush|-noflush] [-color ansi|"
|
||||
"auto|irc|weechat|strip] [-rc|-norc] [-timeout <timeout>] [-name <name>] [-"
|
||||
"pipe <command>] [-hsignal <name>] <command> || -in <id> <text> || -inclose "
|
||||
"<id> [<text>] || -signal <id> <signal> || -kill <id> || -killall || -set "
|
||||
"<id> <property> <value> || -del <id>|-all [<id>...]"
|
||||
"oc|-n|-nf] [-oerr] [-cl|-nocl] [-sw|-nosw] [-ln|-noln] [-flush|-noflush] [-"
|
||||
"color ansi|auto|irc|weechat|strip] [-rc|-norc] [-timeout <timeout>] [-name "
|
||||
"<name>] [-pipe <command>] [-hsignal <name>] <command> || -in <id> <text> || -"
|
||||
"inclose <id> [<text>] || -signal <id> <signal> || -kill <id> || -killall || -"
|
||||
"set <id> <property> <value> || -del <id>|-all [<id>...]"
|
||||
msgstr ""
|
||||
"-list || [-sh|-nosh] [-bg|-nobg] [-stdin|-nostdin] [-buffer <nom>] [-l|-o|-"
|
||||
"n|-nf] [-cl|-nocl] [-sw|-nosw] [-ln|-noln] |-flush|-noflush] [-color ansi|"
|
||||
"auto|irc|weechat|strip] [-rc|-norc] [-timeout <délai>] [-name <nom>] [-pipe "
|
||||
"<commande>] [-hsignal <nom>] <commande> || -in <id> <texte> || -inclose <id> "
|
||||
"[<texte>] || -signal <id> <signal> || -kill <id> || -killall || -set <id> "
|
||||
"<propriété> <valeur> || -del <id>|-all [<id>...]"
|
||||
"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 "
|
||||
"|| -set <id> <propriété> <valeur> || -del <id>|-all [<id>...]"
|
||||
|
||||
msgid ""
|
||||
" -list: list commands\n"
|
||||
@@ -6322,6 +6320,8 @@ msgid ""
|
||||
" -nf: display output of command in a new buffer with free content (no "
|
||||
"word-wrap, no limit on number of lines) (not compatible with options -bg/-"
|
||||
"pipe/-hsignal)\n"
|
||||
" -oerr: also send stderr (error output) to the buffer (can be used only "
|
||||
"with options -o and -oc)\n"
|
||||
" -cl: clear the new buffer before displaying output\n"
|
||||
" -nocl: append to the new buffer without clear (default)\n"
|
||||
" -sw: switch to the output buffer (default)\n"
|
||||
@@ -6408,6 +6408,8 @@ msgstr ""
|
||||
" -nf : afficher la sortie de la commande dans un nouveau tampon avec "
|
||||
"contenu libre (pas de coupure des mots, pas de limite sur le nombre de "
|
||||
"lignes) (non compatible avec les options -bg/-pipe/-hsignal)\n"
|
||||
" -oerr : envoyer aussi stderr (sortie d'erreur) au tampon (peut être "
|
||||
"utilisé seulement avec les options -o et -oc)\n"
|
||||
" -cl : effacer le nouveau tampon avant d'afficher la sortie\n"
|
||||
" -nocl : ajouter au nouveau tampon sans effacer (par défaut)\n"
|
||||
" -sw : basculer vers le tampon de sortie (par défaut)\n"
|
||||
@@ -7048,6 +7050,18 @@ msgstr ""
|
||||
msgid "configuration files, sections, options and words of options"
|
||||
msgstr "fichiers de configuration, section, options et mots des options"
|
||||
|
||||
msgid ""
|
||||
"comma separated list of options to automatically refresh on the fset buffer "
|
||||
"(if opened); \"*\" means all options (recommended), a name beginning with \"!"
|
||||
"\" is a negative value to prevent an option to be refreshed, wildcard \"*\" "
|
||||
"is allowed in names (example: \"*,!plugin.section.*\")"
|
||||
msgstr ""
|
||||
"liste des options à rafraichir automatiquement sur le tampon fset (s'il est "
|
||||
"ouvert) ; \"*\" signifie toutes les options (recommandé), un nom commençant "
|
||||
"par \"!\" est une valeur négative pour empêcher une option d'être "
|
||||
"rafraichie, le caractère joker \"*\" est autorisé dans les noms (exemple : "
|
||||
"\"*,!plugin.section.*\")"
|
||||
|
||||
msgid ""
|
||||
"automatically unmark all options after an action on marked options or after "
|
||||
"a refresh"
|
||||
@@ -7855,30 +7869,37 @@ msgstr ""
|
||||
"exécuter une commande sur tous les canaux de tous les serveurs connectés"
|
||||
|
||||
msgid ""
|
||||
"[-current] [-exclude=<channel>[,<channel>...]] <command> [<arguments>] || [-"
|
||||
"current] -include=<channel>[,<channel>...] <command> [<arguments>]"
|
||||
"[-current] [-exclude=<channel>[,<channel>...]] <command> || [-current] -"
|
||||
"include=<channel>[,<channel>...] <command>"
|
||||
msgstr ""
|
||||
"[-current] [-exclude=<canal>[,<canal>...]] <commande> [<paramètres>] || [-"
|
||||
"current] [-include=<canal>[,<canal>...]] <commande> [<paramètres>]"
|
||||
"[-current] [-exclude=<canal>[,<canal>...]] <commande> || [-current] [-"
|
||||
"include=<canal>[,<canal>...]] <commande>"
|
||||
|
||||
msgid ""
|
||||
" -current: execute command for channels of current server only\n"
|
||||
" -exclude: exclude some channels (wildcard \"*\" is allowed)\n"
|
||||
" -include: include only some channels (wildcard \"*\" is allowed)\n"
|
||||
" command: command to execute\n"
|
||||
"arguments: arguments for command (special variables $nick, $channel and "
|
||||
"$server are replaced by their value)\n"
|
||||
" command: command to execute (or text to send to buffer if command does not "
|
||||
"start with '/')\n"
|
||||
"\n"
|
||||
"Command and arguments are evaluated (see /help eval), the following "
|
||||
"variables are replaced:\n"
|
||||
" $server server name\n"
|
||||
" $channel channel name\n"
|
||||
" $nick nick on server\n"
|
||||
" ${irc_server.xxx} variable xxx in server\n"
|
||||
" ${irc_channel.xxx} variable xxx in channel\n"
|
||||
"\n"
|
||||
"Examples:\n"
|
||||
" execute '/me is testing' on all channels:\n"
|
||||
" /allchan me is testing\n"
|
||||
" /allchan /me is testing\n"
|
||||
" say 'hello' everywhere but not on #weechat:\n"
|
||||
" /allchan -exclude=#weechat msg * hello\n"
|
||||
" /allchan -exclude=#weechat hello\n"
|
||||
" say 'hello' everywhere but not on #weechat and channels beginning with "
|
||||
"#linux:\n"
|
||||
" /allchan -exclude=#weechat,#linux* msg * hello\n"
|
||||
" /allchan -exclude=#weechat,#linux* hello\n"
|
||||
" say 'hello' on all channels beginning with #linux:\n"
|
||||
" /allchan -include=#linux* msg * hello"
|
||||
" /allchan -include=#linux* hello"
|
||||
msgstr ""
|
||||
" -current : exécuter la commande pour les canaux du serveur courant "
|
||||
"seulement\n"
|
||||
@@ -7886,20 +7907,27 @@ msgstr ""
|
||||
"autorisé)\n"
|
||||
" -include : inclure seulement certains canaux (le caractère joker \"*\" est "
|
||||
"autorisé)\n"
|
||||
" commande : commande à exécuter\n"
|
||||
"paramètres : paramètres pour la commande (les variables spéciales $nick, "
|
||||
"$channel et $server sont remplacées par leur valeur)\n"
|
||||
" commande : commande à exécuter (ou texte à envoyer au tampon si la "
|
||||
"commande ne commence pas par '/')\n"
|
||||
"\n"
|
||||
"La commande et les paramètres sont évalués (voir /help eval), les variables "
|
||||
"suivantes sont remplacées :\n"
|
||||
" $server nom du serveur\n"
|
||||
" $channel nom du canal\n"
|
||||
" $nick pseudo sur le serveur\n"
|
||||
" ${irc_server.xxx} variable xxx dans le serveur\n"
|
||||
" ${irc_channel.xxx} variable xxx dans le canal\n"
|
||||
"\n"
|
||||
"Exemples :\n"
|
||||
" exécuter '/me teste' sur tous les canaux :\n"
|
||||
" /allchan me teste\n"
|
||||
" /allchan /me teste\n"
|
||||
" dire 'bonjour' partout sauf sur #weechat :\n"
|
||||
" /allchan -exclude=#weechat msg * bonjour\n"
|
||||
" /allchan -exclude=#weechat bonjour\n"
|
||||
" dire 'bonjour' partout sauf sur #weechat et les canaux commençant par "
|
||||
"#linux :\n"
|
||||
" /allchan -exclude=#weechat,#linux* msg * bonjour\n"
|
||||
" /allchan -exclude=#weechat,#linux* bonjour\n"
|
||||
" dire 'bonjour' sur tous les canaux commençant par #linux :\n"
|
||||
" /allchan -include=#linux* msg * bonjour"
|
||||
" /allchan -include=#linux* bonjour"
|
||||
|
||||
msgid "execute a command on all private buffers of all connected servers"
|
||||
msgstr ""
|
||||
@@ -7907,31 +7935,38 @@ msgstr ""
|
||||
"connectés"
|
||||
|
||||
msgid ""
|
||||
"[-current] [-exclude=<nick>[,<nick>...]] <command> [<arguments>] || [-"
|
||||
"current] -include=<nick>[,<nick>...] <command> [<arguments>]"
|
||||
"[-current] [-exclude=<nick>[,<nick>...]] <command> || [-current] -"
|
||||
"include=<nick>[,<nick>...] <command>"
|
||||
msgstr ""
|
||||
"[-current] [-exclude=<pseudo>[,<pseudo>...]] <commande> [<paramètres>] || [-"
|
||||
"current] [-include=<pseudo>[,<pseudo>...]] <commande> [<paramètres>]"
|
||||
"[-current] [-exclude=<pseudo>[,<pseudo>...]] <commande> || [-current] [-"
|
||||
"include=<pseudo>[,<pseudo>...]] <commande>"
|
||||
|
||||
msgid ""
|
||||
" -current: execute command for private buffers of current server only\n"
|
||||
" -exclude: exclude some nicks (wildcard \"*\" is allowed)\n"
|
||||
" -include: include only some nicks (wildcard \"*\" is allowed)\n"
|
||||
" command: command to execute\n"
|
||||
"arguments: arguments for command (special variables $nick, $channel and "
|
||||
"$server are replaced by their value)\n"
|
||||
" command: command to execute (or text to send to buffer if command does not "
|
||||
"start with '/')\n"
|
||||
"\n"
|
||||
"Command and arguments are evaluated (see /help eval), the following "
|
||||
"variables are replaced:\n"
|
||||
" $server server name\n"
|
||||
" $channel channel name\n"
|
||||
" $nick nick on server\n"
|
||||
" ${irc_server.xxx} variable xxx in server\n"
|
||||
" ${irc_channel.xxx} variable xxx in channel\n"
|
||||
"\n"
|
||||
"Examples:\n"
|
||||
" execute '/me is testing' on all private buffers:\n"
|
||||
" /allpv me is testing\n"
|
||||
" /allpv /me is testing\n"
|
||||
" say 'hello' everywhere but not for nick foo:\n"
|
||||
" /allpv -exclude=foo msg * hello\n"
|
||||
" /allpv -exclude=foo hello\n"
|
||||
" say 'hello' everywhere but not for nick foo and nicks beginning with bar:\n"
|
||||
" /allpv -exclude=foo,bar* msg * hello\n"
|
||||
" /allpv -exclude=foo,bar* hello\n"
|
||||
" say 'hello' for all nicks beginning with bar:\n"
|
||||
" /allpv -include=bar* msg * hello\n"
|
||||
" /allpv -include=bar* hello\n"
|
||||
" close all private buffers:\n"
|
||||
" /allpv close"
|
||||
" /allpv /close"
|
||||
msgstr ""
|
||||
" -current : exécuter la commande pour les tampons privés du serveur courant "
|
||||
"seulement\n"
|
||||
@@ -7939,63 +7974,80 @@ msgstr ""
|
||||
"autorisé)\n"
|
||||
" -include : inclure seulement certains pseudos (le caractère joker \"*\" "
|
||||
"est autorisé)\n"
|
||||
" commande : commande à exécuter\n"
|
||||
"paramètres : paramètres pour la commande (les variables spéciales $nick, "
|
||||
"$channel et $server sont remplacées par leur valeur)\n"
|
||||
" commande : commande à exécuter (ou texte à envoyer au tampon si la "
|
||||
"commande ne commence pas par '/')\n"
|
||||
"\n"
|
||||
"La commande et les paramètres sont évalués (voir /help eval), les variables "
|
||||
"suivantes sont remplacées :\n"
|
||||
" $server nom du serveur\n"
|
||||
" $channel nom du canal\n"
|
||||
" $nick pseudo sur le serveur\n"
|
||||
" ${irc_server.xxx} variable xxx dans le serveur\n"
|
||||
" ${irc_channel.xxx} variable xxx dans le canal\n"
|
||||
"\n"
|
||||
"Exemples :\n"
|
||||
" exécuter '/me teste' sur tous les tampons privés :\n"
|
||||
" /allpv me teste\n"
|
||||
" /allpv /me teste\n"
|
||||
" dire 'bonjour' partout sauf sur pour le pseudo foo :\n"
|
||||
" /allpv -exclude=foo msg * bonjour\n"
|
||||
" /allpv -exclude=foo bonjour\n"
|
||||
" dire 'bonjour' partout sauf pour le pseudo foo et les pseudos commençant "
|
||||
"par bar :\n"
|
||||
" /allpv -exclude=foo,bar* msg * bonjour\n"
|
||||
" /allpv -exclude=foo,bar* bonjour\n"
|
||||
" dire 'bonjour' pour tous les pseudos commençant par bar :\n"
|
||||
" /allpv -include=bar* msg * bonjour\n"
|
||||
" /allpv -include=bar* bonjour\n"
|
||||
" fermer tous les tampons privés :\n"
|
||||
" /allpv close"
|
||||
" /allpv /close"
|
||||
|
||||
msgid "execute a command on all connected servers"
|
||||
msgstr "exécuter une commande sur tous les serveurs connectés"
|
||||
|
||||
msgid ""
|
||||
"[-exclude=<server>[,<server>...]] <command> [<arguments>] || -"
|
||||
"include=<server>[,<server>...] <command> [<arguments>]"
|
||||
"[-exclude=<server>[,<server>...]] <command> || -include=<server>[,"
|
||||
"<server>...] <command>"
|
||||
msgstr ""
|
||||
"[-exclude=<serveur>[,<serveur>...]] <commande> [<paramètres>] || [-"
|
||||
"include=<serveur>[,<serveur>...]] <commande> [<paramètres>]"
|
||||
"[-exclude=<serveur>[,<serveur>...]] <commande> || [-include=<serveur>[,"
|
||||
"<serveur>...]] <commande>"
|
||||
|
||||
msgid ""
|
||||
" -exclude: exclude some servers (wildcard \"*\" is allowed)\n"
|
||||
" -include: include only some servers (wildcard \"*\" is allowed)\n"
|
||||
" command: command to execute\n"
|
||||
"arguments: arguments for command (special variables $nick, $channel and "
|
||||
"$server are replaced by their value)\n"
|
||||
" command: command to execute (or text to send to buffer if command does not "
|
||||
"start with '/')\n"
|
||||
"\n"
|
||||
"Command and arguments are evaluated (see /help eval), the following "
|
||||
"variables are replaced:\n"
|
||||
" $server server name\n"
|
||||
" $nick nick on server\n"
|
||||
" ${irc_server.xxx} variable xxx in server\n"
|
||||
"\n"
|
||||
"Examples:\n"
|
||||
" change nick on all servers:\n"
|
||||
" /allserv nick newnick\n"
|
||||
" /allserv /nick newnick\n"
|
||||
" set away on all servers:\n"
|
||||
" /allserv away I'm away\n"
|
||||
" /allserv /away I'm away\n"
|
||||
" do a whois on my nick on all servers:\n"
|
||||
" /allserv whois $nick"
|
||||
" /allserv /whois $nick"
|
||||
msgstr ""
|
||||
" -exclude : exclure certains serveurs (le caractère joker \"*\" est "
|
||||
"autorisé)\n"
|
||||
" -include : inclure seulement certains serveurs (le caractère joker \"*\" "
|
||||
"est autorisé)\n"
|
||||
" commande : commande à exécuter\n"
|
||||
"paramètres : paramètres pour la commande (les variables spéciales $nick, "
|
||||
"$channel et $server sont remplacées par leur valeur)\n"
|
||||
" commande : commande à exécuter (ou texte à envoyer au tampon si la "
|
||||
"commande ne commence pas par '/')\n"
|
||||
"\n"
|
||||
"La commande et les paramètres sont évalués (voir /help eval), les variables "
|
||||
"suivantes sont remplacées :\n"
|
||||
" $server nom du serveur\n"
|
||||
" $nick pseudo sur le serveur\n"
|
||||
" ${irc_server.xxx} variable xxx dans le serveur\n"
|
||||
"\n"
|
||||
"Exemples :\n"
|
||||
" changer de pseudo sur tous les serveurs :\n"
|
||||
" /allserv nick newnick\n"
|
||||
" /allserv /nick newnick\n"
|
||||
" positionner l'absence sur tous les serveurs :\n"
|
||||
" /allserv away Je suis absent\n"
|
||||
" /allserv /away Je suis absent\n"
|
||||
" faire un whois sur mon pseudo sur tous les serveurs :\n"
|
||||
" /allserv whois $nick"
|
||||
" /allserv /whois $nick"
|
||||
|
||||
msgid "ban nicks or hosts"
|
||||
msgstr "bannir des pseudos ou hôtes"
|
||||
@@ -10964,6 +11016,13 @@ msgid_plural "voices"
|
||||
msgstr[0] "voice"
|
||||
msgstr[1] "voices"
|
||||
|
||||
#. TRANSLATORS: number of "normal" nicks on a channel (ie no op/voice), for example: "56 normals"
|
||||
#, c-format
|
||||
msgid "%s%s%d%s normal"
|
||||
msgid_plural "%s%s%d%s normals"
|
||||
msgstr[0] "%s%s%d%s normal"
|
||||
msgstr[1] "%s%s%d%s normaux"
|
||||
|
||||
#, c-format
|
||||
msgid "%sChannel %s%s%s: %s%d%s %s %s(%s%s)"
|
||||
msgstr "%sCanal %s%s%s : %s%d%s %s %s(%s%s)"
|
||||
@@ -11912,6 +11971,17 @@ msgstr "rgb,limite (la limite est optionnelle et vaut 256 par défaut)"
|
||||
msgid "get nick color code"
|
||||
msgstr "retourne le code couleur du pseudo"
|
||||
|
||||
msgid ""
|
||||
"nickname;colors (colors is an optional comma-separated list of colors to "
|
||||
"use; background is allowed for a color with format text:background; if "
|
||||
"colors is present, WeeChat options with nick colors and forced nick colors "
|
||||
"are ignored)"
|
||||
msgstr ""
|
||||
"pseudo;couleurs (couleurs est une liste de couleurs facultative, séparée par "
|
||||
"des virgules ; un fond est autorisé pour la couleur avec le format texte:"
|
||||
"fond ; si couleurs est présent, les options WeeChat avec les couleurs de "
|
||||
"pseudos et couleurs forcées de pseudos sons ignorées)"
|
||||
|
||||
msgid "get nick color name"
|
||||
msgstr "retourne le nom de la couleur du pseudo"
|
||||
|
||||
@@ -13320,6 +13390,14 @@ msgstr "Scripts"
|
||||
msgid "Script manager"
|
||||
msgstr "Gestionnaire de scripts"
|
||||
|
||||
#, c-format
|
||||
msgid ""
|
||||
"%s%s: download of scripts is disabled by default; see /help script.scripts."
|
||||
"download_enabled"
|
||||
msgstr ""
|
||||
"%s%s : le téléchargement des scripts est désactivé par défaut ; voir /help "
|
||||
"script.scripts.download_enabled"
|
||||
|
||||
msgid "WeeChat script manager"
|
||||
msgstr "Gestionnaire de scripts WeeChat"
|
||||
|
||||
@@ -13681,6 +13759,20 @@ msgstr ""
|
||||
"temps d'expiration du cache local, en minutes (-1 = n'expire jamais, 0 = "
|
||||
"expire toujours)"
|
||||
|
||||
msgid ""
|
||||
"enable download of files from the scripts repository when the /script "
|
||||
"command is used (list of scripts and scripts themselves); the list of "
|
||||
"scripts is downloaded from the URL specified in the option script.scripts."
|
||||
"url; WeeChat will sometimes download again the list of scripts when you use "
|
||||
"the /script command, even if you don't install a script"
|
||||
msgstr ""
|
||||
"activer le téléchargement des fichiers depuis le dépôt des scripts lorsque "
|
||||
"la commande /script est utilisée (liste des scripts et les scripts eux-"
|
||||
"mêmes) ; la liste des scripts est téléchargée depuis l'URL spécifiée dans "
|
||||
"l'option script.scripts.url ; WeeChat téléchargera parfois à nouveau la "
|
||||
"liste des scripts quand vous utilisez la commande /script, même si vous "
|
||||
"n'installez pas un script"
|
||||
|
||||
msgid "timeout (in seconds) for download of scripts and list of scripts"
|
||||
msgstr ""
|
||||
"délai d'attente maximum (en secondes) pour le téléchargement des scripts et "
|
||||
|
||||
@@ -20,7 +20,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WeeChat\n"
|
||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||
"POT-Creation-Date: 2020-06-21 18:56+0200\n"
|
||||
"POT-Creation-Date: 2020-10-11 16:22+0200\n"
|
||||
"PO-Revision-Date: 2020-04-28 16:40+0200\n"
|
||||
"Last-Translator: Andras Voroskoi <voroskoi@frugalware.org>\n"
|
||||
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
|
||||
@@ -4274,9 +4274,7 @@ msgstr ""
|
||||
|
||||
#, fuzzy
|
||||
msgid "normal"
|
||||
msgid_plural "normals"
|
||||
msgstr[0] "normál"
|
||||
msgstr[1] "normál"
|
||||
msgstr "normál"
|
||||
|
||||
msgid "Debug disabled for cursor mode"
|
||||
msgstr ""
|
||||
@@ -4419,7 +4417,7 @@ msgid ""
|
||||
" alias /split to split window horizontally:\n"
|
||||
" /alias add split /window splith\n"
|
||||
" alias /hello to say \"hello\" on all channels but not on #weechat:\n"
|
||||
" /alias add hello /allchan -exclude=#weechat msg * hello\n"
|
||||
" /alias add hello /allchan -exclude=#weechat hello\n"
|
||||
" alias /forcejoin to send IRC command \"forcejoin\" with completion of /"
|
||||
"sajoin:\n"
|
||||
" /alias addcompletion %%sajoin forcejoin /quote forcejoin"
|
||||
@@ -4839,11 +4837,11 @@ msgstr "%s belső parancsok:\n"
|
||||
|
||||
msgid ""
|
||||
"-list || [-sh|-nosh] [-bg|-nobg] [-stdin|-nostdin] [-buffer <name>] [-l|-o|-"
|
||||
"n|-nf] [-cl|-nocl] [-sw|-nosw] [-ln|-noln] [-flush|-noflush] [-color ansi|"
|
||||
"auto|irc|weechat|strip] [-rc|-norc] [-timeout <timeout>] [-name <name>] [-"
|
||||
"pipe <command>] [-hsignal <name>] <command> || -in <id> <text> || -inclose "
|
||||
"<id> [<text>] || -signal <id> <signal> || -kill <id> || -killall || -set "
|
||||
"<id> <property> <value> || -del <id>|-all [<id>...]"
|
||||
"oc|-n|-nf] [-oerr] [-cl|-nocl] [-sw|-nosw] [-ln|-noln] [-flush|-noflush] [-"
|
||||
"color ansi|auto|irc|weechat|strip] [-rc|-norc] [-timeout <timeout>] [-name "
|
||||
"<name>] [-pipe <command>] [-hsignal <name>] <command> || -in <id> <text> || -"
|
||||
"inclose <id> [<text>] || -signal <id> <signal> || -kill <id> || -killall || -"
|
||||
"set <id> <property> <value> || -del <id>|-all [<id>...]"
|
||||
msgstr ""
|
||||
|
||||
msgid ""
|
||||
@@ -4872,6 +4870,8 @@ msgid ""
|
||||
" -nf: display output of command in a new buffer with free content (no "
|
||||
"word-wrap, no limit on number of lines) (not compatible with options -bg/-"
|
||||
"pipe/-hsignal)\n"
|
||||
" -oerr: also send stderr (error output) to the buffer (can be used only "
|
||||
"with options -o and -oc)\n"
|
||||
" -cl: clear the new buffer before displaying output\n"
|
||||
" -nocl: append to the new buffer without clear (default)\n"
|
||||
" -sw: switch to the output buffer (default)\n"
|
||||
@@ -5266,6 +5266,17 @@ msgstr ""
|
||||
msgid "configuration files, sections, options and words of options"
|
||||
msgstr "Nem található az opció\n"
|
||||
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
"comma separated list of options to automatically refresh on the fset buffer "
|
||||
"(if opened); \"*\" means all options (recommended), a name beginning with \"!"
|
||||
"\" is a negative value to prevent an option to be refreshed, wildcard \"*\" "
|
||||
"is allowed in names (example: \"*,!plugin.section.*\")"
|
||||
msgstr ""
|
||||
"automatikusan betöltendő modulok vesszővel elválasztott listája, \"*\" "
|
||||
"esetén az összes fellelt modul (az elnevezés lehet részleges, például a "
|
||||
"\"perl\" elegendő \"libperl.so\" helyett)"
|
||||
|
||||
msgid ""
|
||||
"automatically unmark all options after an action on marked options or after "
|
||||
"a refresh"
|
||||
@@ -6044,28 +6055,35 @@ msgstr "CTCP üzenet küldése az összes csatlakoztatott szerver összes szobá
|
||||
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
"[-current] [-exclude=<channel>[,<channel>...]] <command> [<arguments>] || [-"
|
||||
"current] -include=<channel>[,<channel>...] <command> [<arguments>]"
|
||||
"[-current] [-exclude=<channel>[,<channel>...]] <command> || [-current] -"
|
||||
"include=<channel>[,<channel>...] <command>"
|
||||
msgstr "[alias_név [parancs [paraméterek]]]"
|
||||
|
||||
msgid ""
|
||||
" -current: execute command for channels of current server only\n"
|
||||
" -exclude: exclude some channels (wildcard \"*\" is allowed)\n"
|
||||
" -include: include only some channels (wildcard \"*\" is allowed)\n"
|
||||
" command: command to execute\n"
|
||||
"arguments: arguments for command (special variables $nick, $channel and "
|
||||
"$server are replaced by their value)\n"
|
||||
" command: command to execute (or text to send to buffer if command does not "
|
||||
"start with '/')\n"
|
||||
"\n"
|
||||
"Command and arguments are evaluated (see /help eval), the following "
|
||||
"variables are replaced:\n"
|
||||
" $server server name\n"
|
||||
" $channel channel name\n"
|
||||
" $nick nick on server\n"
|
||||
" ${irc_server.xxx} variable xxx in server\n"
|
||||
" ${irc_channel.xxx} variable xxx in channel\n"
|
||||
"\n"
|
||||
"Examples:\n"
|
||||
" execute '/me is testing' on all channels:\n"
|
||||
" /allchan me is testing\n"
|
||||
" /allchan /me is testing\n"
|
||||
" say 'hello' everywhere but not on #weechat:\n"
|
||||
" /allchan -exclude=#weechat msg * hello\n"
|
||||
" /allchan -exclude=#weechat hello\n"
|
||||
" say 'hello' everywhere but not on #weechat and channels beginning with "
|
||||
"#linux:\n"
|
||||
" /allchan -exclude=#weechat,#linux* msg * hello\n"
|
||||
" /allchan -exclude=#weechat,#linux* hello\n"
|
||||
" say 'hello' on all channels beginning with #linux:\n"
|
||||
" /allchan -include=#linux* msg * hello"
|
||||
" /allchan -include=#linux* hello"
|
||||
msgstr ""
|
||||
|
||||
#, fuzzy
|
||||
@@ -6074,29 +6092,36 @@ msgstr "CTCP üzenet küldése az összes csatlakoztatott szerver összes szobá
|
||||
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
"[-current] [-exclude=<nick>[,<nick>...]] <command> [<arguments>] || [-"
|
||||
"current] -include=<nick>[,<nick>...] <command> [<arguments>]"
|
||||
"[-current] [-exclude=<nick>[,<nick>...]] <command> || [-current] -"
|
||||
"include=<nick>[,<nick>...] <command>"
|
||||
msgstr "[alias_név [parancs [paraméterek]]]"
|
||||
|
||||
msgid ""
|
||||
" -current: execute command for private buffers of current server only\n"
|
||||
" -exclude: exclude some nicks (wildcard \"*\" is allowed)\n"
|
||||
" -include: include only some nicks (wildcard \"*\" is allowed)\n"
|
||||
" command: command to execute\n"
|
||||
"arguments: arguments for command (special variables $nick, $channel and "
|
||||
"$server are replaced by their value)\n"
|
||||
" command: command to execute (or text to send to buffer if command does not "
|
||||
"start with '/')\n"
|
||||
"\n"
|
||||
"Command and arguments are evaluated (see /help eval), the following "
|
||||
"variables are replaced:\n"
|
||||
" $server server name\n"
|
||||
" $channel channel name\n"
|
||||
" $nick nick on server\n"
|
||||
" ${irc_server.xxx} variable xxx in server\n"
|
||||
" ${irc_channel.xxx} variable xxx in channel\n"
|
||||
"\n"
|
||||
"Examples:\n"
|
||||
" execute '/me is testing' on all private buffers:\n"
|
||||
" /allpv me is testing\n"
|
||||
" /allpv /me is testing\n"
|
||||
" say 'hello' everywhere but not for nick foo:\n"
|
||||
" /allpv -exclude=foo msg * hello\n"
|
||||
" /allpv -exclude=foo hello\n"
|
||||
" say 'hello' everywhere but not for nick foo and nicks beginning with bar:\n"
|
||||
" /allpv -exclude=foo,bar* msg * hello\n"
|
||||
" /allpv -exclude=foo,bar* hello\n"
|
||||
" say 'hello' for all nicks beginning with bar:\n"
|
||||
" /allpv -include=bar* msg * hello\n"
|
||||
" /allpv -include=bar* hello\n"
|
||||
" close all private buffers:\n"
|
||||
" /allpv close"
|
||||
" /allpv /close"
|
||||
msgstr ""
|
||||
|
||||
#, fuzzy
|
||||
@@ -6104,24 +6129,29 @@ msgid "execute a command on all connected servers"
|
||||
msgstr "üzenet küldése az összes csatlakoztatott szerver összes szobájába"
|
||||
|
||||
msgid ""
|
||||
"[-exclude=<server>[,<server>...]] <command> [<arguments>] || -"
|
||||
"include=<server>[,<server>...] <command> [<arguments>]"
|
||||
"[-exclude=<server>[,<server>...]] <command> || -include=<server>[,"
|
||||
"<server>...] <command>"
|
||||
msgstr ""
|
||||
|
||||
msgid ""
|
||||
" -exclude: exclude some servers (wildcard \"*\" is allowed)\n"
|
||||
" -include: include only some servers (wildcard \"*\" is allowed)\n"
|
||||
" command: command to execute\n"
|
||||
"arguments: arguments for command (special variables $nick, $channel and "
|
||||
"$server are replaced by their value)\n"
|
||||
" command: command to execute (or text to send to buffer if command does not "
|
||||
"start with '/')\n"
|
||||
"\n"
|
||||
"Command and arguments are evaluated (see /help eval), the following "
|
||||
"variables are replaced:\n"
|
||||
" $server server name\n"
|
||||
" $nick nick on server\n"
|
||||
" ${irc_server.xxx} variable xxx in server\n"
|
||||
"\n"
|
||||
"Examples:\n"
|
||||
" change nick on all servers:\n"
|
||||
" /allserv nick newnick\n"
|
||||
" /allserv /nick newnick\n"
|
||||
" set away on all servers:\n"
|
||||
" /allserv away I'm away\n"
|
||||
" /allserv /away I'm away\n"
|
||||
" do a whois on my nick on all servers:\n"
|
||||
" /allserv whois $nick"
|
||||
" /allserv /whois $nick"
|
||||
msgstr ""
|
||||
|
||||
#, fuzzy
|
||||
@@ -8767,6 +8797,13 @@ msgid_plural "voices"
|
||||
msgstr[0] "voice"
|
||||
msgstr[1] "voice"
|
||||
|
||||
#. TRANSLATORS: number of "normal" nicks on a channel (ie no op/voice), for example: "56 normals"
|
||||
#, c-format
|
||||
msgid "%s%s%d%s normal"
|
||||
msgid_plural "%s%s%d%s normals"
|
||||
msgstr[0] ""
|
||||
msgstr[1] ""
|
||||
|
||||
#, fuzzy, c-format
|
||||
msgid "%sChannel %s%s%s: %s%d%s %s %s(%s%s)"
|
||||
msgstr "%s szoba: %s> %s"
|
||||
@@ -9651,6 +9688,14 @@ msgstr ""
|
||||
msgid "get nick color code"
|
||||
msgstr "üzenetek színe"
|
||||
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
"nickname;colors (colors is an optional comma-separated list of colors to "
|
||||
"use; background is allowed for a color with format text:background; if "
|
||||
"colors is present, WeeChat options with nick colors and forced nick colors "
|
||||
"are ignored)"
|
||||
msgstr "idő színe a beszédablakban"
|
||||
|
||||
#, fuzzy
|
||||
msgid "get nick color name"
|
||||
msgstr "üzenetek színe"
|
||||
@@ -10907,6 +10952,12 @@ msgstr ""
|
||||
msgid "Script manager"
|
||||
msgstr "WeeChat szlogen"
|
||||
|
||||
#, c-format
|
||||
msgid ""
|
||||
"%s%s: download of scripts is disabled by default; see /help script.scripts."
|
||||
"download_enabled"
|
||||
msgstr ""
|
||||
|
||||
#, fuzzy
|
||||
msgid "WeeChat script manager"
|
||||
msgstr "WeeChat szlogen"
|
||||
@@ -11170,6 +11221,14 @@ msgid ""
|
||||
"expire)"
|
||||
msgstr ""
|
||||
|
||||
msgid ""
|
||||
"enable download of files from the scripts repository when the /script "
|
||||
"command is used (list of scripts and scripts themselves); the list of "
|
||||
"scripts is downloaded from the URL specified in the option script.scripts."
|
||||
"url; WeeChat will sometimes download again the list of scripts when you use "
|
||||
"the /script command, even if you don't install a script"
|
||||
msgstr ""
|
||||
|
||||
#, fuzzy
|
||||
msgid "timeout (in seconds) for download of scripts and list of scripts"
|
||||
msgstr "SSL használata a a kapcsolathoz"
|
||||
|
||||
@@ -20,7 +20,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WeeChat\n"
|
||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||
"POT-Creation-Date: 2020-06-21 18:56+0200\n"
|
||||
"POT-Creation-Date: 2020-10-11 16:22+0200\n"
|
||||
"PO-Revision-Date: 2020-04-28 16:40+0200\n"
|
||||
"Last-Translator: Esteban I. Ruiz Moreno <exio4.com@gmail.com>\n"
|
||||
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
|
||||
@@ -5047,10 +5047,9 @@ msgstr "Debug abilitato per la modalità cursore (%s)"
|
||||
msgid "verbose"
|
||||
msgstr "dettagliato"
|
||||
|
||||
#, fuzzy
|
||||
msgid "normal"
|
||||
msgid_plural "normals"
|
||||
msgstr[0] "normale"
|
||||
msgstr[1] "normali"
|
||||
msgstr "normale"
|
||||
|
||||
msgid "Debug disabled for cursor mode"
|
||||
msgstr "Debug disabilitato per la modalità cursore"
|
||||
@@ -5191,7 +5190,7 @@ msgid ""
|
||||
" alias /split to split window horizontally:\n"
|
||||
" /alias add split /window splith\n"
|
||||
" alias /hello to say \"hello\" on all channels but not on #weechat:\n"
|
||||
" /alias add hello /allchan -exclude=#weechat msg * hello\n"
|
||||
" /alias add hello /allchan -exclude=#weechat hello\n"
|
||||
" alias /forcejoin to send IRC command \"forcejoin\" with completion of /"
|
||||
"sajoin:\n"
|
||||
" /alias addcompletion %%sajoin forcejoin /quote forcejoin"
|
||||
@@ -5669,11 +5668,11 @@ msgstr "esegue un comando in silenzio"
|
||||
|
||||
msgid ""
|
||||
"-list || [-sh|-nosh] [-bg|-nobg] [-stdin|-nostdin] [-buffer <name>] [-l|-o|-"
|
||||
"n|-nf] [-cl|-nocl] [-sw|-nosw] [-ln|-noln] [-flush|-noflush] [-color ansi|"
|
||||
"auto|irc|weechat|strip] [-rc|-norc] [-timeout <timeout>] [-name <name>] [-"
|
||||
"pipe <command>] [-hsignal <name>] <command> || -in <id> <text> || -inclose "
|
||||
"<id> [<text>] || -signal <id> <signal> || -kill <id> || -killall || -set "
|
||||
"<id> <property> <value> || -del <id>|-all [<id>...]"
|
||||
"oc|-n|-nf] [-oerr] [-cl|-nocl] [-sw|-nosw] [-ln|-noln] [-flush|-noflush] [-"
|
||||
"color ansi|auto|irc|weechat|strip] [-rc|-norc] [-timeout <timeout>] [-name "
|
||||
"<name>] [-pipe <command>] [-hsignal <name>] <command> || -in <id> <text> || -"
|
||||
"inclose <id> [<text>] || -signal <id> <signal> || -kill <id> || -killall || -"
|
||||
"set <id> <property> <value> || -del <id>|-all [<id>...]"
|
||||
msgstr ""
|
||||
|
||||
msgid ""
|
||||
@@ -5702,6 +5701,8 @@ msgid ""
|
||||
" -nf: display output of command in a new buffer with free content (no "
|
||||
"word-wrap, no limit on number of lines) (not compatible with options -bg/-"
|
||||
"pipe/-hsignal)\n"
|
||||
" -oerr: also send stderr (error output) to the buffer (can be used only "
|
||||
"with options -o and -oc)\n"
|
||||
" -cl: clear the new buffer before displaying output\n"
|
||||
" -nocl: append to the new buffer without clear (default)\n"
|
||||
" -sw: switch to the output buffer (default)\n"
|
||||
@@ -6099,6 +6100,19 @@ msgstr ""
|
||||
msgid "configuration files, sections, options and words of options"
|
||||
msgstr "file di configurazione \"%s\" (opzioni %s.*)"
|
||||
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
"comma separated list of options to automatically refresh on the fset buffer "
|
||||
"(if opened); \"*\" means all options (recommended), a name beginning with \"!"
|
||||
"\" is a negative value to prevent an option to be refreshed, wildcard \"*\" "
|
||||
"is allowed in names (example: \"*,!plugin.section.*\")"
|
||||
msgstr ""
|
||||
"elenco separato da virgole di plugin da caricare automaticamente all'avvio, "
|
||||
"\"*\" equivale a tutti i plugin trovati. un nome che comincia con \"!\" è un "
|
||||
"valore negativo per impedire il caricamento di un plugin, i nomi possono "
|
||||
"iniziare o finire con \"*\" per corrispondere a più plugin (esempi: \"*\" "
|
||||
"oppure \"*,!lua,!tcl\")"
|
||||
|
||||
msgid ""
|
||||
"automatically unmark all options after an action on marked options or after "
|
||||
"a refresh"
|
||||
@@ -6908,8 +6922,8 @@ msgstr "esegue un comando su tutti i canali di tutti i server connessi"
|
||||
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
"[-current] [-exclude=<channel>[,<channel>...]] <command> [<arguments>] || [-"
|
||||
"current] -include=<channel>[,<channel>...] <command> [<arguments>]"
|
||||
"[-current] [-exclude=<channel>[,<channel>...]] <command> || [-current] -"
|
||||
"include=<channel>[,<channel>...] <command>"
|
||||
msgstr "[-current] [-exclude=<canale>[,<canale>...]] <comando> [<argomenti>]"
|
||||
|
||||
#, fuzzy
|
||||
@@ -6917,20 +6931,27 @@ msgid ""
|
||||
" -current: execute command for channels of current server only\n"
|
||||
" -exclude: exclude some channels (wildcard \"*\" is allowed)\n"
|
||||
" -include: include only some channels (wildcard \"*\" is allowed)\n"
|
||||
" command: command to execute\n"
|
||||
"arguments: arguments for command (special variables $nick, $channel and "
|
||||
"$server are replaced by their value)\n"
|
||||
" command: command to execute (or text to send to buffer if command does not "
|
||||
"start with '/')\n"
|
||||
"\n"
|
||||
"Command and arguments are evaluated (see /help eval), the following "
|
||||
"variables are replaced:\n"
|
||||
" $server server name\n"
|
||||
" $channel channel name\n"
|
||||
" $nick nick on server\n"
|
||||
" ${irc_server.xxx} variable xxx in server\n"
|
||||
" ${irc_channel.xxx} variable xxx in channel\n"
|
||||
"\n"
|
||||
"Examples:\n"
|
||||
" execute '/me is testing' on all channels:\n"
|
||||
" /allchan me is testing\n"
|
||||
" /allchan /me is testing\n"
|
||||
" say 'hello' everywhere but not on #weechat:\n"
|
||||
" /allchan -exclude=#weechat msg * hello\n"
|
||||
" /allchan -exclude=#weechat hello\n"
|
||||
" say 'hello' everywhere but not on #weechat and channels beginning with "
|
||||
"#linux:\n"
|
||||
" /allchan -exclude=#weechat,#linux* msg * hello\n"
|
||||
" /allchan -exclude=#weechat,#linux* hello\n"
|
||||
" say 'hello' on all channels beginning with #linux:\n"
|
||||
" /allchan -include=#linux* msg * hello"
|
||||
" /allchan -include=#linux* hello"
|
||||
msgstr ""
|
||||
" -current: esegue il comando solo per i canali del server corrente\n"
|
||||
" -exclude: esclude alcunu canali ('*' è consentito all'inizio o alla fine "
|
||||
@@ -6953,8 +6974,8 @@ msgstr "esegue un comando su tutti i canali di tutti i server connessi"
|
||||
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
"[-current] [-exclude=<nick>[,<nick>...]] <command> [<arguments>] || [-"
|
||||
"current] -include=<nick>[,<nick>...] <command> [<arguments>]"
|
||||
"[-current] [-exclude=<nick>[,<nick>...]] <command> || [-current] -"
|
||||
"include=<nick>[,<nick>...] <command>"
|
||||
msgstr "[-current] [-exclude=<canale>[,<canale>...]] <comando> [<argomenti>]"
|
||||
|
||||
#, fuzzy
|
||||
@@ -6962,21 +6983,28 @@ msgid ""
|
||||
" -current: execute command for private buffers of current server only\n"
|
||||
" -exclude: exclude some nicks (wildcard \"*\" is allowed)\n"
|
||||
" -include: include only some nicks (wildcard \"*\" is allowed)\n"
|
||||
" command: command to execute\n"
|
||||
"arguments: arguments for command (special variables $nick, $channel and "
|
||||
"$server are replaced by their value)\n"
|
||||
" command: command to execute (or text to send to buffer if command does not "
|
||||
"start with '/')\n"
|
||||
"\n"
|
||||
"Command and arguments are evaluated (see /help eval), the following "
|
||||
"variables are replaced:\n"
|
||||
" $server server name\n"
|
||||
" $channel channel name\n"
|
||||
" $nick nick on server\n"
|
||||
" ${irc_server.xxx} variable xxx in server\n"
|
||||
" ${irc_channel.xxx} variable xxx in channel\n"
|
||||
"\n"
|
||||
"Examples:\n"
|
||||
" execute '/me is testing' on all private buffers:\n"
|
||||
" /allpv me is testing\n"
|
||||
" /allpv /me is testing\n"
|
||||
" say 'hello' everywhere but not for nick foo:\n"
|
||||
" /allpv -exclude=foo msg * hello\n"
|
||||
" /allpv -exclude=foo hello\n"
|
||||
" say 'hello' everywhere but not for nick foo and nicks beginning with bar:\n"
|
||||
" /allpv -exclude=foo,bar* msg * hello\n"
|
||||
" /allpv -exclude=foo,bar* hello\n"
|
||||
" say 'hello' for all nicks beginning with bar:\n"
|
||||
" /allpv -include=bar* msg * hello\n"
|
||||
" /allpv -include=bar* hello\n"
|
||||
" close all private buffers:\n"
|
||||
" /allpv close"
|
||||
" /allpv /close"
|
||||
msgstr ""
|
||||
" -current: esegue il comando solo per i canali del server corrente\n"
|
||||
" -exclude: esclude alcunu canali ('*' è consentito all'inizio o alla fine "
|
||||
@@ -6998,25 +7026,30 @@ msgstr "esegue un comando su tutti i server connessi"
|
||||
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
"[-exclude=<server>[,<server>...]] <command> [<arguments>] || -"
|
||||
"include=<server>[,<server>...] <command> [<arguments>]"
|
||||
"[-exclude=<server>[,<server>...]] <command> || -include=<server>[,"
|
||||
"<server>...] <command>"
|
||||
msgstr "[-exclude=<server>[,<server>...]] <comando> [<argomenti>]"
|
||||
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
" -exclude: exclude some servers (wildcard \"*\" is allowed)\n"
|
||||
" -include: include only some servers (wildcard \"*\" is allowed)\n"
|
||||
" command: command to execute\n"
|
||||
"arguments: arguments for command (special variables $nick, $channel and "
|
||||
"$server are replaced by their value)\n"
|
||||
" command: command to execute (or text to send to buffer if command does not "
|
||||
"start with '/')\n"
|
||||
"\n"
|
||||
"Command and arguments are evaluated (see /help eval), the following "
|
||||
"variables are replaced:\n"
|
||||
" $server server name\n"
|
||||
" $nick nick on server\n"
|
||||
" ${irc_server.xxx} variable xxx in server\n"
|
||||
"\n"
|
||||
"Examples:\n"
|
||||
" change nick on all servers:\n"
|
||||
" /allserv nick newnick\n"
|
||||
" /allserv /nick newnick\n"
|
||||
" set away on all servers:\n"
|
||||
" /allserv away I'm away\n"
|
||||
" /allserv /away I'm away\n"
|
||||
" do a whois on my nick on all servers:\n"
|
||||
" /allserv whois $nick"
|
||||
" /allserv /whois $nick"
|
||||
msgstr ""
|
||||
" -exclude: esclude alcuni server ('*' è consentito all'inizio o alla fine "
|
||||
"del nome server, per escludere più server)\n"
|
||||
@@ -9868,6 +9901,13 @@ msgid_plural "voices"
|
||||
msgstr[0] "voice"
|
||||
msgstr[1] "voice"
|
||||
|
||||
#. TRANSLATORS: number of "normal" nicks on a channel (ie no op/voice), for example: "56 normals"
|
||||
#, c-format
|
||||
msgid "%s%s%d%s normal"
|
||||
msgid_plural "%s%s%d%s normals"
|
||||
msgstr[0] ""
|
||||
msgstr[1] ""
|
||||
|
||||
#, c-format
|
||||
msgid "%sChannel %s%s%s: %s%d%s %s %s(%s%s)"
|
||||
msgstr "%sCanale %s%s%s: %s%d%s %s %s(%s%s)"
|
||||
@@ -10792,6 +10832,16 @@ msgstr ""
|
||||
msgid "get nick color code"
|
||||
msgstr "ottiene il codice del colore del nick"
|
||||
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
"nickname;colors (colors is an optional comma-separated list of colors to "
|
||||
"use; background is allowed for a color with format text:background; if "
|
||||
"colors is present, WeeChat options with nick colors and forced nick colors "
|
||||
"are ignored)"
|
||||
msgstr ""
|
||||
"colore del testo per i nick (elenco separato da virgole di colori, quello di "
|
||||
"sfondo è consentito con il formato \"fg:bg\", ad esempio: \"lightred:blue\")"
|
||||
|
||||
msgid "get nick color name"
|
||||
msgstr "ottiene il nome del colore del nick"
|
||||
|
||||
@@ -12123,6 +12173,12 @@ msgstr "Script"
|
||||
msgid "Script manager"
|
||||
msgstr "Gestore script"
|
||||
|
||||
#, c-format
|
||||
msgid ""
|
||||
"%s%s: download of scripts is disabled by default; see /help script.scripts."
|
||||
"download_enabled"
|
||||
msgstr ""
|
||||
|
||||
#, fuzzy
|
||||
msgid "WeeChat script manager"
|
||||
msgstr "Gestore script di WeeChat"
|
||||
@@ -12381,6 +12437,14 @@ msgid ""
|
||||
"expire)"
|
||||
msgstr ""
|
||||
|
||||
msgid ""
|
||||
"enable download of files from the scripts repository when the /script "
|
||||
"command is used (list of scripts and scripts themselves); the list of "
|
||||
"scripts is downloaded from the URL specified in the option script.scripts."
|
||||
"url; WeeChat will sometimes download again the list of scripts when you use "
|
||||
"the /script command, even if you don't install a script"
|
||||
msgstr ""
|
||||
|
||||
#, fuzzy
|
||||
msgid "timeout (in seconds) for download of scripts and list of scripts"
|
||||
msgstr ""
|
||||
|
||||
@@ -20,7 +20,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WeeChat\n"
|
||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||
"POT-Creation-Date: 2020-06-21 18:56+0200\n"
|
||||
"POT-Creation-Date: 2020-10-11 16:22+0200\n"
|
||||
"PO-Revision-Date: 2020-04-28 16:40+0200\n"
|
||||
"Last-Translator: AYANOKOUZI, Ryuunosuke <i38w7i3@yahoo.co.jp>\n"
|
||||
"Language-Team: Japanese <https://github.com/l/weechat/tree/master/"
|
||||
@@ -5275,9 +5275,9 @@ msgstr "カーソルモード (%s) のデバッグを有効化"
|
||||
msgid "verbose"
|
||||
msgstr "詳細"
|
||||
|
||||
#, fuzzy
|
||||
msgid "normal"
|
||||
msgid_plural "normals"
|
||||
msgstr[0] "通常"
|
||||
msgstr "通常"
|
||||
|
||||
msgid "Debug disabled for cursor mode"
|
||||
msgstr "カーソルモードのデバッグを無効化"
|
||||
@@ -5388,7 +5388,7 @@ msgstr ""
|
||||
"list [<alias>] || add <alias> [<command>[;<command>...]] || addcompletion "
|
||||
"<completion> <alias> [<command>[;<command>...]] || del <alias> [<alias>...]"
|
||||
|
||||
#, no-c-format
|
||||
#, fuzzy, no-c-format
|
||||
msgid ""
|
||||
" list: list aliases (without argument, this list is displayed)\n"
|
||||
" add: add an alias\n"
|
||||
@@ -5417,7 +5417,7 @@ msgid ""
|
||||
" alias /split to split window horizontally:\n"
|
||||
" /alias add split /window splith\n"
|
||||
" alias /hello to say \"hello\" on all channels but not on #weechat:\n"
|
||||
" /alias add hello /allchan -exclude=#weechat msg * hello\n"
|
||||
" /alias add hello /allchan -exclude=#weechat hello\n"
|
||||
" alias /forcejoin to send IRC command \"forcejoin\" with completion of /"
|
||||
"sajoin:\n"
|
||||
" /alias addcompletion %%sajoin forcejoin /quote forcejoin"
|
||||
@@ -5983,13 +5983,14 @@ msgstr "コマンド \"%s\" を削除"
|
||||
msgid "execute external commands"
|
||||
msgstr "外部コマンドを実行"
|
||||
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
"-list || [-sh|-nosh] [-bg|-nobg] [-stdin|-nostdin] [-buffer <name>] [-l|-o|-"
|
||||
"n|-nf] [-cl|-nocl] [-sw|-nosw] [-ln|-noln] [-flush|-noflush] [-color ansi|"
|
||||
"auto|irc|weechat|strip] [-rc|-norc] [-timeout <timeout>] [-name <name>] [-"
|
||||
"pipe <command>] [-hsignal <name>] <command> || -in <id> <text> || -inclose "
|
||||
"<id> [<text>] || -signal <id> <signal> || -kill <id> || -killall || -set "
|
||||
"<id> <property> <value> || -del <id>|-all [<id>...]"
|
||||
"oc|-n|-nf] [-oerr] [-cl|-nocl] [-sw|-nosw] [-ln|-noln] [-flush|-noflush] [-"
|
||||
"color ansi|auto|irc|weechat|strip] [-rc|-norc] [-timeout <timeout>] [-name "
|
||||
"<name>] [-pipe <command>] [-hsignal <name>] <command> || -in <id> <text> || -"
|
||||
"inclose <id> [<text>] || -signal <id> <signal> || -kill <id> || -killall || -"
|
||||
"set <id> <property> <value> || -del <id>|-all [<id>...]"
|
||||
msgstr ""
|
||||
"-list || [-sh|-nosh] [-bg|-nobg] [-stdin|-nostdin] [-buffer <name>] [-l|-o|-"
|
||||
"n|-nf] [-cl|-nocl] [-sw|-nosw] [-ln|-noln] [-flush|-noflush] [-color ansi|"
|
||||
@@ -5998,6 +5999,7 @@ msgstr ""
|
||||
"<id> [<text>] || -signal <id> <signal> || -kill <id> || -killall || -set "
|
||||
"<id> <property> <value> || -del <id>|-all [<id>...]"
|
||||
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
" -list: list commands\n"
|
||||
" -sh: use the shell to execute the command, many commands can be piped "
|
||||
@@ -6024,6 +6026,8 @@ msgid ""
|
||||
" -nf: display output of command in a new buffer with free content (no "
|
||||
"word-wrap, no limit on number of lines) (not compatible with options -bg/-"
|
||||
"pipe/-hsignal)\n"
|
||||
" -oerr: also send stderr (error output) to the buffer (can be used only "
|
||||
"with options -o and -oc)\n"
|
||||
" -cl: clear the new buffer before displaying output\n"
|
||||
" -nocl: append to the new buffer without clear (default)\n"
|
||||
" -sw: switch to the output buffer (default)\n"
|
||||
@@ -6711,6 +6715,17 @@ msgstr ""
|
||||
msgid "configuration files, sections, options and words of options"
|
||||
msgstr "設定ファイル、セクション、オプションの名前、オプションの値"
|
||||
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
"comma separated list of options to automatically refresh on the fset buffer "
|
||||
"(if opened); \"*\" means all options (recommended), a name beginning with \"!"
|
||||
"\" is a negative value to prevent an option to be refreshed, wildcard \"*\" "
|
||||
"is allowed in names (example: \"*,!plugin.section.*\")"
|
||||
msgstr ""
|
||||
"スタートアップ時にロードするプラグインのコンマ区切りリスト、\"*\" は見つかっ"
|
||||
"た全てのプラグイン、\"!\" から始まる名前はロードしないプラグイン、名前にワイ"
|
||||
"ルドカード \"*\" を使うことができます (例: \"*\" または \"*,!lua,!tcl\")"
|
||||
|
||||
msgid ""
|
||||
"automatically unmark all options after an action on marked options or after "
|
||||
"a refresh"
|
||||
@@ -7491,31 +7506,40 @@ msgstr "target: サーバ名"
|
||||
msgid "execute a command on all channels of all connected servers"
|
||||
msgstr "全てのサーバ、全てのチャンネルに対してコマンドを実行"
|
||||
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
"[-current] [-exclude=<channel>[,<channel>...]] <command> [<arguments>] || [-"
|
||||
"current] -include=<channel>[,<channel>...] <command> [<arguments>]"
|
||||
"[-current] [-exclude=<channel>[,<channel>...]] <command> || [-current] -"
|
||||
"include=<channel>[,<channel>...] <command>"
|
||||
msgstr ""
|
||||
"[-current] [-exclude=<channel>[,<channel>...]] <command> [<arguments>] || [-"
|
||||
"current] -include=<channel>[,<channel>...] <command> [<arguments>]"
|
||||
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
" -current: execute command for channels of current server only\n"
|
||||
" -exclude: exclude some channels (wildcard \"*\" is allowed)\n"
|
||||
" -include: include only some channels (wildcard \"*\" is allowed)\n"
|
||||
" command: command to execute\n"
|
||||
"arguments: arguments for command (special variables $nick, $channel and "
|
||||
"$server are replaced by their value)\n"
|
||||
" command: command to execute (or text to send to buffer if command does not "
|
||||
"start with '/')\n"
|
||||
"\n"
|
||||
"Command and arguments are evaluated (see /help eval), the following "
|
||||
"variables are replaced:\n"
|
||||
" $server server name\n"
|
||||
" $channel channel name\n"
|
||||
" $nick nick on server\n"
|
||||
" ${irc_server.xxx} variable xxx in server\n"
|
||||
" ${irc_channel.xxx} variable xxx in channel\n"
|
||||
"\n"
|
||||
"Examples:\n"
|
||||
" execute '/me is testing' on all channels:\n"
|
||||
" /allchan me is testing\n"
|
||||
" /allchan /me is testing\n"
|
||||
" say 'hello' everywhere but not on #weechat:\n"
|
||||
" /allchan -exclude=#weechat msg * hello\n"
|
||||
" /allchan -exclude=#weechat hello\n"
|
||||
" say 'hello' everywhere but not on #weechat and channels beginning with "
|
||||
"#linux:\n"
|
||||
" /allchan -exclude=#weechat,#linux* msg * hello\n"
|
||||
" /allchan -exclude=#weechat,#linux* hello\n"
|
||||
" say 'hello' on all channels beginning with #linux:\n"
|
||||
" /allchan -include=#linux* msg * hello"
|
||||
" /allchan -include=#linux* hello"
|
||||
msgstr ""
|
||||
" -current: 現在のサーバ上のチャンネルに対してコマンドを実行\n"
|
||||
" -exclude: 一部のチャンネルを除く全てのチャンネルに対してコマンドを実行 (ワイ"
|
||||
@@ -7541,32 +7565,41 @@ msgstr ""
|
||||
msgid "execute a command on all private buffers of all connected servers"
|
||||
msgstr "全ての接続済みサーバの全てのプライベートバッファに対してコマンドを実行"
|
||||
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
"[-current] [-exclude=<nick>[,<nick>...]] <command> [<arguments>] || [-"
|
||||
"current] -include=<nick>[,<nick>...] <command> [<arguments>]"
|
||||
"[-current] [-exclude=<nick>[,<nick>...]] <command> || [-current] -"
|
||||
"include=<nick>[,<nick>...] <command>"
|
||||
msgstr ""
|
||||
"[-current] [-exclude=<nick>[,<nick>...]] <command> [<arguments>] || [-"
|
||||
"current] -include=<nick>[,<nick>...] <command> [<arguments>]"
|
||||
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
" -current: execute command for private buffers of current server only\n"
|
||||
" -exclude: exclude some nicks (wildcard \"*\" is allowed)\n"
|
||||
" -include: include only some nicks (wildcard \"*\" is allowed)\n"
|
||||
" command: command to execute\n"
|
||||
"arguments: arguments for command (special variables $nick, $channel and "
|
||||
"$server are replaced by their value)\n"
|
||||
" command: command to execute (or text to send to buffer if command does not "
|
||||
"start with '/')\n"
|
||||
"\n"
|
||||
"Command and arguments are evaluated (see /help eval), the following "
|
||||
"variables are replaced:\n"
|
||||
" $server server name\n"
|
||||
" $channel channel name\n"
|
||||
" $nick nick on server\n"
|
||||
" ${irc_server.xxx} variable xxx in server\n"
|
||||
" ${irc_channel.xxx} variable xxx in channel\n"
|
||||
"\n"
|
||||
"Examples:\n"
|
||||
" execute '/me is testing' on all private buffers:\n"
|
||||
" /allpv me is testing\n"
|
||||
" /allpv /me is testing\n"
|
||||
" say 'hello' everywhere but not for nick foo:\n"
|
||||
" /allpv -exclude=foo msg * hello\n"
|
||||
" /allpv -exclude=foo hello\n"
|
||||
" say 'hello' everywhere but not for nick foo and nicks beginning with bar:\n"
|
||||
" /allpv -exclude=foo,bar* msg * hello\n"
|
||||
" /allpv -exclude=foo,bar* hello\n"
|
||||
" say 'hello' for all nicks beginning with bar:\n"
|
||||
" /allpv -include=bar* msg * hello\n"
|
||||
" /allpv -include=bar* hello\n"
|
||||
" close all private buffers:\n"
|
||||
" /allpv close"
|
||||
" /allpv /close"
|
||||
msgstr ""
|
||||
" -current: 現在のサーバ上の全てのプライベートバッファに対してコマンドを実行\n"
|
||||
" -exclude: 一部のニックネームを除外した全てのプライベートバッファに対してコマ"
|
||||
@@ -7594,27 +7627,34 @@ msgstr ""
|
||||
msgid "execute a command on all connected servers"
|
||||
msgstr "全ての接続済みサーバでコマンドを実行"
|
||||
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
"[-exclude=<server>[,<server>...]] <command> [<arguments>] || -"
|
||||
"include=<server>[,<server>...] <command> [<arguments>]"
|
||||
"[-exclude=<server>[,<server>...]] <command> || -include=<server>[,"
|
||||
"<server>...] <command>"
|
||||
msgstr ""
|
||||
"[-exclude=<server>[,<server>...]] <command> [<arguments>] || -"
|
||||
"include=<server>[,<server>...] <command> [<arguments>]"
|
||||
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
" -exclude: exclude some servers (wildcard \"*\" is allowed)\n"
|
||||
" -include: include only some servers (wildcard \"*\" is allowed)\n"
|
||||
" command: command to execute\n"
|
||||
"arguments: arguments for command (special variables $nick, $channel and "
|
||||
"$server are replaced by their value)\n"
|
||||
" command: command to execute (or text to send to buffer if command does not "
|
||||
"start with '/')\n"
|
||||
"\n"
|
||||
"Command and arguments are evaluated (see /help eval), the following "
|
||||
"variables are replaced:\n"
|
||||
" $server server name\n"
|
||||
" $nick nick on server\n"
|
||||
" ${irc_server.xxx} variable xxx in server\n"
|
||||
"\n"
|
||||
"Examples:\n"
|
||||
" change nick on all servers:\n"
|
||||
" /allserv nick newnick\n"
|
||||
" /allserv /nick newnick\n"
|
||||
" set away on all servers:\n"
|
||||
" /allserv away I'm away\n"
|
||||
" /allserv /away I'm away\n"
|
||||
" do a whois on my nick on all servers:\n"
|
||||
" /allserv whois $nick"
|
||||
" /allserv /whois $nick"
|
||||
msgstr ""
|
||||
" -exclude: 一部のサーバを除く全てのサーバに対してコマンドを実行 (ワイルドカー"
|
||||
"ド \"*\" を使うことができます)\n"
|
||||
@@ -10494,6 +10534,12 @@ msgid "voice"
|
||||
msgid_plural "voices"
|
||||
msgstr[0] "発言"
|
||||
|
||||
#. TRANSLATORS: number of "normal" nicks on a channel (ie no op/voice), for example: "56 normals"
|
||||
#, c-format
|
||||
msgid "%s%s%d%s normal"
|
||||
msgid_plural "%s%s%d%s normals"
|
||||
msgstr[0] ""
|
||||
|
||||
#, c-format
|
||||
msgid "%sChannel %s%s%s: %s%d%s %s %s(%s%s)"
|
||||
msgstr "%sチャンネル %s%s%s: %s%d%s %s %s(%s%s)"
|
||||
@@ -11423,6 +11469,16 @@ msgstr "rgb,limit (limit は任意でデフォルトでは 256 に設定)"
|
||||
msgid "get nick color code"
|
||||
msgstr "ニックネームの色コードを取得"
|
||||
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
"nickname;colors (colors is an optional comma-separated list of colors to "
|
||||
"use; background is allowed for a color with format text:background; if "
|
||||
"colors is present, WeeChat options with nick colors and forced nick colors "
|
||||
"are ignored)"
|
||||
msgstr ""
|
||||
"ニックネームのテキスト色 (コンマ区切りの色リスト、背景色は以下の書式で指定: "
|
||||
"\"fg:bg\"、例: \"lightred:blue\")"
|
||||
|
||||
msgid "get nick color name"
|
||||
msgstr "ニックネームの色名を取得"
|
||||
|
||||
@@ -12775,6 +12831,12 @@ msgstr "スクリプト"
|
||||
msgid "Script manager"
|
||||
msgstr "スクリプトマネージャ"
|
||||
|
||||
#, c-format
|
||||
msgid ""
|
||||
"%s%s: download of scripts is disabled by default; see /help script.scripts."
|
||||
"download_enabled"
|
||||
msgstr ""
|
||||
|
||||
msgid "WeeChat script manager"
|
||||
msgstr "WeeChat スクリプトマネージャ"
|
||||
|
||||
@@ -13112,6 +13174,14 @@ msgstr ""
|
||||
"ローカルキャッシュが無効になる時間、分単位 (-1 = 再取得しない、0 = 常に再取"
|
||||
"得)"
|
||||
|
||||
msgid ""
|
||||
"enable download of files from the scripts repository when the /script "
|
||||
"command is used (list of scripts and scripts themselves); the list of "
|
||||
"scripts is downloaded from the URL specified in the option script.scripts."
|
||||
"url; WeeChat will sometimes download again the list of scripts when you use "
|
||||
"the /script command, even if you don't install a script"
|
||||
msgstr ""
|
||||
|
||||
msgid "timeout (in seconds) for download of scripts and list of scripts"
|
||||
msgstr ""
|
||||
"スクリプトのダウンロードとスクリプトのリストに対するタイムアウト時間 (秒単位)"
|
||||
|
||||
@@ -22,7 +22,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WeeChat\n"
|
||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||
"POT-Creation-Date: 2020-06-21 18:56+0200\n"
|
||||
"POT-Creation-Date: 2020-10-11 16:22+0200\n"
|
||||
"PO-Revision-Date: 2020-04-28 16:40+0200\n"
|
||||
"Last-Translator: Krzysztof Korościk <soltys@soltys.info>\n"
|
||||
"Language-Team: Polish <kde-i18n-doc@kde.org>\n"
|
||||
@@ -5406,11 +5406,9 @@ msgstr "Debugowanie włączone dla trybu kursora (%s)"
|
||||
msgid "verbose"
|
||||
msgstr "verbose"
|
||||
|
||||
#, fuzzy
|
||||
msgid "normal"
|
||||
msgid_plural "normals"
|
||||
msgstr[0] "normalny"
|
||||
msgstr[1] "normalnych"
|
||||
msgstr[2] "normalnych"
|
||||
msgstr "normalny"
|
||||
|
||||
msgid "Debug disabled for cursor mode"
|
||||
msgstr "Debugowanie wyłączone dla trybu kursora"
|
||||
@@ -5521,7 +5519,7 @@ msgstr ""
|
||||
"list [<alias>] || add <alias> [<komenda>[;<komenda>...]] || addcompletion "
|
||||
"<dopełnienie> <alias> [<komenda>[;<komenda>...]] || del <alias> [<alias>...]"
|
||||
|
||||
#, no-c-format
|
||||
#, fuzzy, no-c-format
|
||||
msgid ""
|
||||
" list: list aliases (without argument, this list is displayed)\n"
|
||||
" add: add an alias\n"
|
||||
@@ -5550,7 +5548,7 @@ msgid ""
|
||||
" alias /split to split window horizontally:\n"
|
||||
" /alias add split /window splith\n"
|
||||
" alias /hello to say \"hello\" on all channels but not on #weechat:\n"
|
||||
" /alias add hello /allchan -exclude=#weechat msg * hello\n"
|
||||
" /alias add hello /allchan -exclude=#weechat hello\n"
|
||||
" alias /forcejoin to send IRC command \"forcejoin\" with completion of /"
|
||||
"sajoin:\n"
|
||||
" /alias addcompletion %%sajoin forcejoin /quote forcejoin"
|
||||
@@ -6119,13 +6117,14 @@ msgstr "Komenda \"%s\" została usunięta"
|
||||
msgid "execute external commands"
|
||||
msgstr "wykonywanie zewnętrznych komend"
|
||||
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
"-list || [-sh|-nosh] [-bg|-nobg] [-stdin|-nostdin] [-buffer <name>] [-l|-o|-"
|
||||
"n|-nf] [-cl|-nocl] [-sw|-nosw] [-ln|-noln] [-flush|-noflush] [-color ansi|"
|
||||
"auto|irc|weechat|strip] [-rc|-norc] [-timeout <timeout>] [-name <name>] [-"
|
||||
"pipe <command>] [-hsignal <name>] <command> || -in <id> <text> || -inclose "
|
||||
"<id> [<text>] || -signal <id> <signal> || -kill <id> || -killall || -set "
|
||||
"<id> <property> <value> || -del <id>|-all [<id>...]"
|
||||
"oc|-n|-nf] [-oerr] [-cl|-nocl] [-sw|-nosw] [-ln|-noln] [-flush|-noflush] [-"
|
||||
"color ansi|auto|irc|weechat|strip] [-rc|-norc] [-timeout <timeout>] [-name "
|
||||
"<name>] [-pipe <command>] [-hsignal <name>] <command> || -in <id> <text> || -"
|
||||
"inclose <id> [<text>] || -signal <id> <signal> || -kill <id> || -killall || -"
|
||||
"set <id> <property> <value> || -del <id>|-all [<id>...]"
|
||||
msgstr ""
|
||||
"-list || [-sh|-nosh] [-bg|-nobg] [-stdin|-nostdin] [-buffer <nazwa>] [-l|-o|-"
|
||||
"n|-nf] [-cl|-nocl] [-sw|-nosw] [-ln|-noln] [-flush|-noflush] [-color ansi|"
|
||||
@@ -6134,6 +6133,7 @@ msgstr ""
|
||||
"[<tekst>] || -signal <id> <sygnał> || -kill <id> || -killall || -set <id> "
|
||||
"<właściwość> <wartość> || -del <id>|-all [<id>...]"
|
||||
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
" -list: list commands\n"
|
||||
" -sh: use the shell to execute the command, many commands can be piped "
|
||||
@@ -6160,6 +6160,8 @@ msgid ""
|
||||
" -nf: display output of command in a new buffer with free content (no "
|
||||
"word-wrap, no limit on number of lines) (not compatible with options -bg/-"
|
||||
"pipe/-hsignal)\n"
|
||||
" -oerr: also send stderr (error output) to the buffer (can be used only "
|
||||
"with options -o and -oc)\n"
|
||||
" -cl: clear the new buffer before displaying output\n"
|
||||
" -nocl: append to the new buffer without clear (default)\n"
|
||||
" -sw: switch to the output buffer (default)\n"
|
||||
@@ -6853,6 +6855,18 @@ msgstr ""
|
||||
msgid "configuration files, sections, options and words of options"
|
||||
msgstr "pliki konfiguracyjne, sekcje, opcje i slowa w opcjach"
|
||||
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
"comma separated list of options to automatically refresh on the fset buffer "
|
||||
"(if opened); \"*\" means all options (recommended), a name beginning with \"!"
|
||||
"\" is a negative value to prevent an option to be refreshed, wildcard \"*\" "
|
||||
"is allowed in names (example: \"*,!plugin.section.*\")"
|
||||
msgstr ""
|
||||
"oddzielona przecinkami lista wtyczek do automatycznego załadowania podczas "
|
||||
"startu, \"*\" oznacza wszystkie znalezione wtyczki, nazwa zaczynająca się od "
|
||||
"\"!\" powoduje nie ładowanie tej wtyczki, wildcard \"*\" jest dozwolony w "
|
||||
"nazwach (przykłady: \"*\" lub \"*,!lua,!tcl\")"
|
||||
|
||||
msgid ""
|
||||
"automatically unmark all options after an action on marked options or after "
|
||||
"a refresh"
|
||||
@@ -7644,31 +7658,40 @@ msgstr "cel: nazwa serwera"
|
||||
msgid "execute a command on all channels of all connected servers"
|
||||
msgstr "wykonuje komendę na wszystkich kanałach na połączonych serwerach"
|
||||
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
"[-current] [-exclude=<channel>[,<channel>...]] <command> [<arguments>] || [-"
|
||||
"current] -include=<channel>[,<channel>...] <command> [<arguments>]"
|
||||
"[-current] [-exclude=<channel>[,<channel>...]] <command> || [-current] -"
|
||||
"include=<channel>[,<channel>...] <command>"
|
||||
msgstr ""
|
||||
"[-current] [-exclude=<kanał>[,<kanał>...]] <komenda> [<argumenty>] || [-"
|
||||
"current] -include=<kanał>[,<kanał>...] <komenda> [<argumenty>]"
|
||||
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
" -current: execute command for channels of current server only\n"
|
||||
" -exclude: exclude some channels (wildcard \"*\" is allowed)\n"
|
||||
" -include: include only some channels (wildcard \"*\" is allowed)\n"
|
||||
" command: command to execute\n"
|
||||
"arguments: arguments for command (special variables $nick, $channel and "
|
||||
"$server are replaced by their value)\n"
|
||||
" command: command to execute (or text to send to buffer if command does not "
|
||||
"start with '/')\n"
|
||||
"\n"
|
||||
"Command and arguments are evaluated (see /help eval), the following "
|
||||
"variables are replaced:\n"
|
||||
" $server server name\n"
|
||||
" $channel channel name\n"
|
||||
" $nick nick on server\n"
|
||||
" ${irc_server.xxx} variable xxx in server\n"
|
||||
" ${irc_channel.xxx} variable xxx in channel\n"
|
||||
"\n"
|
||||
"Examples:\n"
|
||||
" execute '/me is testing' on all channels:\n"
|
||||
" /allchan me is testing\n"
|
||||
" /allchan /me is testing\n"
|
||||
" say 'hello' everywhere but not on #weechat:\n"
|
||||
" /allchan -exclude=#weechat msg * hello\n"
|
||||
" /allchan -exclude=#weechat hello\n"
|
||||
" say 'hello' everywhere but not on #weechat and channels beginning with "
|
||||
"#linux:\n"
|
||||
" /allchan -exclude=#weechat,#linux* msg * hello\n"
|
||||
" /allchan -exclude=#weechat,#linux* hello\n"
|
||||
" say 'hello' on all channels beginning with #linux:\n"
|
||||
" /allchan -include=#linux* msg * hello"
|
||||
" /allchan -include=#linux* hello"
|
||||
msgstr ""
|
||||
" -current: wykonuje komendę tylko na kanałach obecnego serwera\n"
|
||||
" -exclude: wyklucza niektóre kanały (wildcard \"*\" jest dozwolony)\n"
|
||||
@@ -7693,32 +7716,41 @@ msgstr ""
|
||||
"wykonuje komendę na wszystkich prywatnych buforach wszystkich połączonych "
|
||||
"serwerów"
|
||||
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
"[-current] [-exclude=<nick>[,<nick>...]] <command> [<arguments>] || [-"
|
||||
"current] -include=<nick>[,<nick>...] <command> [<arguments>]"
|
||||
"[-current] [-exclude=<nick>[,<nick>...]] <command> || [-current] -"
|
||||
"include=<nick>[,<nick>...] <command>"
|
||||
msgstr ""
|
||||
"[-current] [-exclude=<nick>[,<nick>...]] <komenda> [<argumenty>] || [-"
|
||||
"current] -include=<nick>[,<nick>...] <komenda> [<argumenty>]"
|
||||
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
" -current: execute command for private buffers of current server only\n"
|
||||
" -exclude: exclude some nicks (wildcard \"*\" is allowed)\n"
|
||||
" -include: include only some nicks (wildcard \"*\" is allowed)\n"
|
||||
" command: command to execute\n"
|
||||
"arguments: arguments for command (special variables $nick, $channel and "
|
||||
"$server are replaced by their value)\n"
|
||||
" command: command to execute (or text to send to buffer if command does not "
|
||||
"start with '/')\n"
|
||||
"\n"
|
||||
"Command and arguments are evaluated (see /help eval), the following "
|
||||
"variables are replaced:\n"
|
||||
" $server server name\n"
|
||||
" $channel channel name\n"
|
||||
" $nick nick on server\n"
|
||||
" ${irc_server.xxx} variable xxx in server\n"
|
||||
" ${irc_channel.xxx} variable xxx in channel\n"
|
||||
"\n"
|
||||
"Examples:\n"
|
||||
" execute '/me is testing' on all private buffers:\n"
|
||||
" /allpv me is testing\n"
|
||||
" /allpv /me is testing\n"
|
||||
" say 'hello' everywhere but not for nick foo:\n"
|
||||
" /allpv -exclude=foo msg * hello\n"
|
||||
" /allpv -exclude=foo hello\n"
|
||||
" say 'hello' everywhere but not for nick foo and nicks beginning with bar:\n"
|
||||
" /allpv -exclude=foo,bar* msg * hello\n"
|
||||
" /allpv -exclude=foo,bar* hello\n"
|
||||
" say 'hello' for all nicks beginning with bar:\n"
|
||||
" /allpv -include=bar* msg * hello\n"
|
||||
" /allpv -include=bar* hello\n"
|
||||
" close all private buffers:\n"
|
||||
" /allpv close"
|
||||
" /allpv /close"
|
||||
msgstr ""
|
||||
" -current: wykonuje komendę tylko na prywatnych buforach obecnego serwera\n"
|
||||
" -exclude: wyklucza niektóre nicki (wildcard \"*\" jest dozwolony)\n"
|
||||
@@ -7743,27 +7775,34 @@ msgstr ""
|
||||
msgid "execute a command on all connected servers"
|
||||
msgstr "wykonuje komendę na wszystkich połączonych serwerach"
|
||||
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
"[-exclude=<server>[,<server>...]] <command> [<arguments>] || -"
|
||||
"include=<server>[,<server>...] <command> [<arguments>]"
|
||||
"[-exclude=<server>[,<server>...]] <command> || -include=<server>[,"
|
||||
"<server>...] <command>"
|
||||
msgstr ""
|
||||
"[-exclude=<serwer>[,<serwer>...]] <komenda> [<argumenty>] || -"
|
||||
"include=<serwer>[,<serwer>...] <komenda> [<argumenty>]"
|
||||
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
" -exclude: exclude some servers (wildcard \"*\" is allowed)\n"
|
||||
" -include: include only some servers (wildcard \"*\" is allowed)\n"
|
||||
" command: command to execute\n"
|
||||
"arguments: arguments for command (special variables $nick, $channel and "
|
||||
"$server are replaced by their value)\n"
|
||||
" command: command to execute (or text to send to buffer if command does not "
|
||||
"start with '/')\n"
|
||||
"\n"
|
||||
"Command and arguments are evaluated (see /help eval), the following "
|
||||
"variables are replaced:\n"
|
||||
" $server server name\n"
|
||||
" $nick nick on server\n"
|
||||
" ${irc_server.xxx} variable xxx in server\n"
|
||||
"\n"
|
||||
"Examples:\n"
|
||||
" change nick on all servers:\n"
|
||||
" /allserv nick newnick\n"
|
||||
" /allserv /nick newnick\n"
|
||||
" set away on all servers:\n"
|
||||
" /allserv away I'm away\n"
|
||||
" /allserv /away I'm away\n"
|
||||
" do a whois on my nick on all servers:\n"
|
||||
" /allserv whois $nick"
|
||||
" /allserv /whois $nick"
|
||||
msgstr ""
|
||||
" -exclude: wyklucza niektóre serwery (wildcard \"*\" jest dozwolony)\n"
|
||||
" -include: uwzględnia tylko niektóre znaki (wildcard \"*\" est dozwolony)\n"
|
||||
@@ -10707,6 +10746,14 @@ msgstr[0] "voice"
|
||||
msgstr[1] "voice"
|
||||
msgstr[2] "voice"
|
||||
|
||||
#. TRANSLATORS: number of "normal" nicks on a channel (ie no op/voice), for example: "56 normals"
|
||||
#, c-format
|
||||
msgid "%s%s%d%s normal"
|
||||
msgid_plural "%s%s%d%s normals"
|
||||
msgstr[0] ""
|
||||
msgstr[1] ""
|
||||
msgstr[2] ""
|
||||
|
||||
#, c-format
|
||||
msgid "%sChannel %s%s%s: %s%d%s %s %s(%s%s)"
|
||||
msgstr "%sKanał %s%s%s: %s%d%s %s %s(%s%s)"
|
||||
@@ -11636,6 +11683,16 @@ msgstr "rgb,limit (limit jest opcjonalny i ustawiony domyślnie na 256)"
|
||||
msgid "get nick color code"
|
||||
msgstr "pobiera kod koloru nicka"
|
||||
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
"nickname;colors (colors is an optional comma-separated list of colors to "
|
||||
"use; background is allowed for a color with format text:background; if "
|
||||
"colors is present, WeeChat options with nick colors and forced nick colors "
|
||||
"are ignored)"
|
||||
msgstr ""
|
||||
"kolor tekstu nicków (oddzielona przecinkami lista kolorów, tło jest "
|
||||
"dozwolone za pomocą formatu: \"fg:bg\" na przykład: \"lightred:blue\")"
|
||||
|
||||
msgid "get nick color name"
|
||||
msgstr "pobiera nazwę koloru nicka"
|
||||
|
||||
@@ -13009,6 +13066,12 @@ msgstr "Skrypty"
|
||||
msgid "Script manager"
|
||||
msgstr "Manager skryptów"
|
||||
|
||||
#, c-format
|
||||
msgid ""
|
||||
"%s%s: download of scripts is disabled by default; see /help script.scripts."
|
||||
"download_enabled"
|
||||
msgstr ""
|
||||
|
||||
msgid "WeeChat script manager"
|
||||
msgstr "Manager skryptów WeeChat"
|
||||
|
||||
@@ -13355,6 +13418,14 @@ msgstr ""
|
||||
"lokalnie zapisany czas wygaśnięcia, w minutach (-1 = nigdy nie wygasa, 0 = "
|
||||
"zawsze wygasa)"
|
||||
|
||||
msgid ""
|
||||
"enable download of files from the scripts repository when the /script "
|
||||
"command is used (list of scripts and scripts themselves); the list of "
|
||||
"scripts is downloaded from the URL specified in the option script.scripts."
|
||||
"url; WeeChat will sometimes download again the list of scripts when you use "
|
||||
"the /script command, even if you don't install a script"
|
||||
msgstr ""
|
||||
|
||||
msgid "timeout (in seconds) for download of scripts and list of scripts"
|
||||
msgstr "czas oczekiwania (w sekundach) na pobranie skryptu i listy skryptów"
|
||||
|
||||
|
||||
@@ -20,7 +20,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WeeChat\n"
|
||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||
"POT-Creation-Date: 2020-06-21 18:56+0200\n"
|
||||
"POT-Creation-Date: 2020-10-11 16:22+0200\n"
|
||||
"PO-Revision-Date: 2020-04-28 16:40+0200\n"
|
||||
"Last-Translator: Vasco Almeida <vascomalmeida@sapo.pt>\n"
|
||||
"Language-Team: Portuguese <>\n"
|
||||
@@ -5327,10 +5327,9 @@ msgstr "Depuração ativada para o modo de cursor (%s)"
|
||||
msgid "verbose"
|
||||
msgstr "verboso"
|
||||
|
||||
#, fuzzy
|
||||
msgid "normal"
|
||||
msgid_plural "normals"
|
||||
msgstr[0] "normal"
|
||||
msgstr[1] "normais"
|
||||
msgstr "normal"
|
||||
|
||||
msgid "Debug disabled for cursor mode"
|
||||
msgstr "Depuração desativada para o modo de cursor"
|
||||
@@ -5442,7 +5441,7 @@ msgstr ""
|
||||
"list [<alias>] || add <alias> [<comando>[;<comando>...]] || addcompletion "
|
||||
"<completação> <alias> [<comando>[;<comando>...]] || del <alias> [<alias>...]"
|
||||
|
||||
#, no-c-format
|
||||
#, fuzzy, no-c-format
|
||||
msgid ""
|
||||
" list: list aliases (without argument, this list is displayed)\n"
|
||||
" add: add an alias\n"
|
||||
@@ -5471,7 +5470,7 @@ msgid ""
|
||||
" alias /split to split window horizontally:\n"
|
||||
" /alias add split /window splith\n"
|
||||
" alias /hello to say \"hello\" on all channels but not on #weechat:\n"
|
||||
" /alias add hello /allchan -exclude=#weechat msg * hello\n"
|
||||
" /alias add hello /allchan -exclude=#weechat hello\n"
|
||||
" alias /forcejoin to send IRC command \"forcejoin\" with completion of /"
|
||||
"sajoin:\n"
|
||||
" /alias addcompletion %%sajoin forcejoin /quote forcejoin"
|
||||
@@ -5933,13 +5932,14 @@ msgstr "Comando \"%s\" removido"
|
||||
msgid "execute external commands"
|
||||
msgstr "executar comandos externos"
|
||||
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
"-list || [-sh|-nosh] [-bg|-nobg] [-stdin|-nostdin] [-buffer <name>] [-l|-o|-"
|
||||
"n|-nf] [-cl|-nocl] [-sw|-nosw] [-ln|-noln] [-flush|-noflush] [-color ansi|"
|
||||
"auto|irc|weechat|strip] [-rc|-norc] [-timeout <timeout>] [-name <name>] [-"
|
||||
"pipe <command>] [-hsignal <name>] <command> || -in <id> <text> || -inclose "
|
||||
"<id> [<text>] || -signal <id> <signal> || -kill <id> || -killall || -set "
|
||||
"<id> <property> <value> || -del <id>|-all [<id>...]"
|
||||
"oc|-n|-nf] [-oerr] [-cl|-nocl] [-sw|-nosw] [-ln|-noln] [-flush|-noflush] [-"
|
||||
"color ansi|auto|irc|weechat|strip] [-rc|-norc] [-timeout <timeout>] [-name "
|
||||
"<name>] [-pipe <command>] [-hsignal <name>] <command> || -in <id> <text> || -"
|
||||
"inclose <id> [<text>] || -signal <id> <signal> || -kill <id> || -killall || -"
|
||||
"set <id> <property> <value> || -del <id>|-all [<id>...]"
|
||||
msgstr ""
|
||||
"-list || [-sh|-nosh] [-bg|-nobg] [-stdin|-nostdin] [-buffer <nome>] [-l|-o|-"
|
||||
"n|-nf] [-cl|-nocl] [-sw|-nosw] [-ln|-noln] [-flush|-noflush] [-color ansi|"
|
||||
@@ -5975,6 +5975,8 @@ msgid ""
|
||||
" -nf: display output of command in a new buffer with free content (no "
|
||||
"word-wrap, no limit on number of lines) (not compatible with options -bg/-"
|
||||
"pipe/-hsignal)\n"
|
||||
" -oerr: also send stderr (error output) to the buffer (can be used only "
|
||||
"with options -o and -oc)\n"
|
||||
" -cl: clear the new buffer before displaying output\n"
|
||||
" -nocl: append to the new buffer without clear (default)\n"
|
||||
" -sw: switch to the output buffer (default)\n"
|
||||
@@ -6475,6 +6477,19 @@ msgstr ""
|
||||
msgid "configuration files, sections, options and words of options"
|
||||
msgstr "ficheiro de configuração \"%s\" (opções %s.*)"
|
||||
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
"comma separated list of options to automatically refresh on the fset buffer "
|
||||
"(if opened); \"*\" means all options (recommended), a name beginning with \"!"
|
||||
"\" is a negative value to prevent an option to be refreshed, wildcard \"*\" "
|
||||
"is allowed in names (example: \"*,!plugin.section.*\")"
|
||||
msgstr ""
|
||||
"lista de plugins separados por vírgula para carregar automaticamente ao "
|
||||
"iniciar, \"*\" significa todos os plugins encontrados, um nome começado com "
|
||||
"\"!\" serve de valor negativo para impedir que o plugin seja carregado, pode-"
|
||||
"se usar o caráter universal \"*\" nos nomes (exemplos: \"*\" ou \"*,!lua,!tcl"
|
||||
"\")"
|
||||
|
||||
msgid ""
|
||||
"automatically unmark all options after an action on marked options or after "
|
||||
"a refresh"
|
||||
@@ -7280,8 +7295,8 @@ msgstr ""
|
||||
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
"[-current] [-exclude=<channel>[,<channel>...]] <command> [<arguments>] || [-"
|
||||
"current] -include=<channel>[,<channel>...] <command> [<arguments>]"
|
||||
"[-current] [-exclude=<channel>[,<channel>...]] <command> || [-current] -"
|
||||
"include=<channel>[,<channel>...] <command>"
|
||||
msgstr "[-current] [-exclude=<canal>[,<canal>...]] <comando> [<argumentos>]"
|
||||
|
||||
#, fuzzy
|
||||
@@ -7289,20 +7304,27 @@ msgid ""
|
||||
" -current: execute command for channels of current server only\n"
|
||||
" -exclude: exclude some channels (wildcard \"*\" is allowed)\n"
|
||||
" -include: include only some channels (wildcard \"*\" is allowed)\n"
|
||||
" command: command to execute\n"
|
||||
"arguments: arguments for command (special variables $nick, $channel and "
|
||||
"$server are replaced by their value)\n"
|
||||
" command: command to execute (or text to send to buffer if command does not "
|
||||
"start with '/')\n"
|
||||
"\n"
|
||||
"Command and arguments are evaluated (see /help eval), the following "
|
||||
"variables are replaced:\n"
|
||||
" $server server name\n"
|
||||
" $channel channel name\n"
|
||||
" $nick nick on server\n"
|
||||
" ${irc_server.xxx} variable xxx in server\n"
|
||||
" ${irc_channel.xxx} variable xxx in channel\n"
|
||||
"\n"
|
||||
"Examples:\n"
|
||||
" execute '/me is testing' on all channels:\n"
|
||||
" /allchan me is testing\n"
|
||||
" /allchan /me is testing\n"
|
||||
" say 'hello' everywhere but not on #weechat:\n"
|
||||
" /allchan -exclude=#weechat msg * hello\n"
|
||||
" /allchan -exclude=#weechat hello\n"
|
||||
" say 'hello' everywhere but not on #weechat and channels beginning with "
|
||||
"#linux:\n"
|
||||
" /allchan -exclude=#weechat,#linux* msg * hello\n"
|
||||
" /allchan -exclude=#weechat,#linux* hello\n"
|
||||
" say 'hello' on all channels beginning with #linux:\n"
|
||||
" /allchan -include=#linux* msg * hello"
|
||||
" /allchan -include=#linux* hello"
|
||||
msgstr ""
|
||||
" -current: executar o comando só nos canais do servidor atual\n"
|
||||
" -exclude: excluir alguns canais (o caráter universal \"*\" é permitido)\n"
|
||||
@@ -7325,8 +7347,8 @@ msgstr ""
|
||||
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
"[-current] [-exclude=<nick>[,<nick>...]] <command> [<arguments>] || [-"
|
||||
"current] -include=<nick>[,<nick>...] <command> [<arguments>]"
|
||||
"[-current] [-exclude=<nick>[,<nick>...]] <command> || [-current] -"
|
||||
"include=<nick>[,<nick>...] <command>"
|
||||
msgstr "[-current] [-exclude=<nick>[,<nick>...]] <comando> [<argumentos>]"
|
||||
|
||||
#, fuzzy
|
||||
@@ -7334,21 +7356,28 @@ msgid ""
|
||||
" -current: execute command for private buffers of current server only\n"
|
||||
" -exclude: exclude some nicks (wildcard \"*\" is allowed)\n"
|
||||
" -include: include only some nicks (wildcard \"*\" is allowed)\n"
|
||||
" command: command to execute\n"
|
||||
"arguments: arguments for command (special variables $nick, $channel and "
|
||||
"$server are replaced by their value)\n"
|
||||
" command: command to execute (or text to send to buffer if command does not "
|
||||
"start with '/')\n"
|
||||
"\n"
|
||||
"Command and arguments are evaluated (see /help eval), the following "
|
||||
"variables are replaced:\n"
|
||||
" $server server name\n"
|
||||
" $channel channel name\n"
|
||||
" $nick nick on server\n"
|
||||
" ${irc_server.xxx} variable xxx in server\n"
|
||||
" ${irc_channel.xxx} variable xxx in channel\n"
|
||||
"\n"
|
||||
"Examples:\n"
|
||||
" execute '/me is testing' on all private buffers:\n"
|
||||
" /allpv me is testing\n"
|
||||
" /allpv /me is testing\n"
|
||||
" say 'hello' everywhere but not for nick foo:\n"
|
||||
" /allpv -exclude=foo msg * hello\n"
|
||||
" /allpv -exclude=foo hello\n"
|
||||
" say 'hello' everywhere but not for nick foo and nicks beginning with bar:\n"
|
||||
" /allpv -exclude=foo,bar* msg * hello\n"
|
||||
" /allpv -exclude=foo,bar* hello\n"
|
||||
" say 'hello' for all nicks beginning with bar:\n"
|
||||
" /allpv -include=bar* msg * hello\n"
|
||||
" /allpv -include=bar* hello\n"
|
||||
" close all private buffers:\n"
|
||||
" /allpv close"
|
||||
" /allpv /close"
|
||||
msgstr ""
|
||||
" -current: executar o comando só nos buffers privados do servidor atual\n"
|
||||
" -exclude: excluir alguns nicks (o caráter universal \"*\" é permitido)\n"
|
||||
@@ -7371,25 +7400,30 @@ msgstr "executar um comando em todos os servidores conectados"
|
||||
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
"[-exclude=<server>[,<server>...]] <command> [<arguments>] || -"
|
||||
"include=<server>[,<server>...] <command> [<arguments>]"
|
||||
"[-exclude=<server>[,<server>...]] <command> || -include=<server>[,"
|
||||
"<server>...] <command>"
|
||||
msgstr "[-exclude=<servidor>[,<servidor>...]] <comando> [<argumentos>]"
|
||||
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
" -exclude: exclude some servers (wildcard \"*\" is allowed)\n"
|
||||
" -include: include only some servers (wildcard \"*\" is allowed)\n"
|
||||
" command: command to execute\n"
|
||||
"arguments: arguments for command (special variables $nick, $channel and "
|
||||
"$server are replaced by their value)\n"
|
||||
" command: command to execute (or text to send to buffer if command does not "
|
||||
"start with '/')\n"
|
||||
"\n"
|
||||
"Command and arguments are evaluated (see /help eval), the following "
|
||||
"variables are replaced:\n"
|
||||
" $server server name\n"
|
||||
" $nick nick on server\n"
|
||||
" ${irc_server.xxx} variable xxx in server\n"
|
||||
"\n"
|
||||
"Examples:\n"
|
||||
" change nick on all servers:\n"
|
||||
" /allserv nick newnick\n"
|
||||
" /allserv /nick newnick\n"
|
||||
" set away on all servers:\n"
|
||||
" /allserv away I'm away\n"
|
||||
" /allserv /away I'm away\n"
|
||||
" do a whois on my nick on all servers:\n"
|
||||
" /allserv whois $nick"
|
||||
" /allserv /whois $nick"
|
||||
msgstr ""
|
||||
" -exclude: excluir alguns servidores (o caráter universal \"*\" é "
|
||||
"permitido)\n"
|
||||
@@ -10323,6 +10357,13 @@ msgid_plural "voices"
|
||||
msgstr[0] "voz"
|
||||
msgstr[1] "vozes"
|
||||
|
||||
#. TRANSLATORS: number of "normal" nicks on a channel (ie no op/voice), for example: "56 normals"
|
||||
#, c-format
|
||||
msgid "%s%s%d%s normal"
|
||||
msgid_plural "%s%s%d%s normals"
|
||||
msgstr[0] ""
|
||||
msgstr[1] ""
|
||||
|
||||
#, c-format
|
||||
msgid "%sChannel %s%s%s: %s%d%s %s %s(%s%s)"
|
||||
msgstr "%sCanal %s%s%s: %s%d%s %s %s(%s%s)"
|
||||
@@ -11253,6 +11294,16 @@ msgstr "rgb,limite (o limite é opcional e está definido como 256 por omissão)
|
||||
msgid "get nick color code"
|
||||
msgstr "obter código de cor do nick"
|
||||
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
"nickname;colors (colors is an optional comma-separated list of colors to "
|
||||
"use; background is allowed for a color with format text:background; if "
|
||||
"colors is present, WeeChat options with nick colors and forced nick colors "
|
||||
"are ignored)"
|
||||
msgstr ""
|
||||
"cor do texto dos nicks (lista de cores separadas por vírgula, o fundo pode "
|
||||
"ser indicado com o formato: \"texto:fundo\", por exemplo: \"lightred:blue\")"
|
||||
|
||||
msgid "get nick color name"
|
||||
msgstr "obter nome da cor do nick"
|
||||
|
||||
@@ -12589,6 +12640,12 @@ msgstr "Scripts"
|
||||
msgid "Script manager"
|
||||
msgstr "Gestor de scripts"
|
||||
|
||||
#, c-format
|
||||
msgid ""
|
||||
"%s%s: download of scripts is disabled by default; see /help script.scripts."
|
||||
"download_enabled"
|
||||
msgstr ""
|
||||
|
||||
#, fuzzy
|
||||
msgid "WeeChat script manager"
|
||||
msgstr "Gestor de scripts do WeeChat"
|
||||
@@ -12934,6 +12991,14 @@ msgstr ""
|
||||
"data de expiração da cache local, em minutos (-1 = nunca expirar, 0 = "
|
||||
"expirar sempre)"
|
||||
|
||||
msgid ""
|
||||
"enable download of files from the scripts repository when the /script "
|
||||
"command is used (list of scripts and scripts themselves); the list of "
|
||||
"scripts is downloaded from the URL specified in the option script.scripts."
|
||||
"url; WeeChat will sometimes download again the list of scripts when you use "
|
||||
"the /script command, even if you don't install a script"
|
||||
msgstr ""
|
||||
|
||||
msgid "timeout (in seconds) for download of scripts and list of scripts"
|
||||
msgstr "tempo limite (em segundo) para transferir scripts e a lista de scripts"
|
||||
|
||||
|
||||
+103
-38
@@ -21,7 +21,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WeeChat\n"
|
||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||
"POT-Creation-Date: 2020-06-21 18:56+0200\n"
|
||||
"POT-Creation-Date: 2020-10-11 16:22+0200\n"
|
||||
"PO-Revision-Date: 2020-04-18 11:34+0200\n"
|
||||
"Last-Translator: Eduardo Elias <camponez@gmail.com>\n"
|
||||
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
|
||||
@@ -4897,10 +4897,9 @@ msgstr "Depuração habilitada para modo cursor (%s)"
|
||||
msgid "verbose"
|
||||
msgstr ""
|
||||
|
||||
#, fuzzy
|
||||
msgid "normal"
|
||||
msgid_plural "normals"
|
||||
msgstr[0] "normal"
|
||||
msgstr[1] "normais"
|
||||
msgstr "normal"
|
||||
|
||||
msgid "Debug disabled for cursor mode"
|
||||
msgstr "Depuração desabilitada para modo cursor"
|
||||
@@ -5041,7 +5040,7 @@ msgid ""
|
||||
" alias /split to split window horizontally:\n"
|
||||
" /alias add split /window splith\n"
|
||||
" alias /hello to say \"hello\" on all channels but not on #weechat:\n"
|
||||
" /alias add hello /allchan -exclude=#weechat msg * hello\n"
|
||||
" /alias add hello /allchan -exclude=#weechat hello\n"
|
||||
" alias /forcejoin to send IRC command \"forcejoin\" with completion of /"
|
||||
"sajoin:\n"
|
||||
" /alias addcompletion %%sajoin forcejoin /quote forcejoin"
|
||||
@@ -5478,11 +5477,11 @@ msgstr "executa um comando externo"
|
||||
|
||||
msgid ""
|
||||
"-list || [-sh|-nosh] [-bg|-nobg] [-stdin|-nostdin] [-buffer <name>] [-l|-o|-"
|
||||
"n|-nf] [-cl|-nocl] [-sw|-nosw] [-ln|-noln] [-flush|-noflush] [-color ansi|"
|
||||
"auto|irc|weechat|strip] [-rc|-norc] [-timeout <timeout>] [-name <name>] [-"
|
||||
"pipe <command>] [-hsignal <name>] <command> || -in <id> <text> || -inclose "
|
||||
"<id> [<text>] || -signal <id> <signal> || -kill <id> || -killall || -set "
|
||||
"<id> <property> <value> || -del <id>|-all [<id>...]"
|
||||
"oc|-n|-nf] [-oerr] [-cl|-nocl] [-sw|-nosw] [-ln|-noln] [-flush|-noflush] [-"
|
||||
"color ansi|auto|irc|weechat|strip] [-rc|-norc] [-timeout <timeout>] [-name "
|
||||
"<name>] [-pipe <command>] [-hsignal <name>] <command> || -in <id> <text> || -"
|
||||
"inclose <id> [<text>] || -signal <id> <signal> || -kill <id> || -killall || -"
|
||||
"set <id> <property> <value> || -del <id>|-all [<id>...]"
|
||||
msgstr ""
|
||||
|
||||
msgid ""
|
||||
@@ -5511,6 +5510,8 @@ msgid ""
|
||||
" -nf: display output of command in a new buffer with free content (no "
|
||||
"word-wrap, no limit on number of lines) (not compatible with options -bg/-"
|
||||
"pipe/-hsignal)\n"
|
||||
" -oerr: also send stderr (error output) to the buffer (can be used only "
|
||||
"with options -o and -oc)\n"
|
||||
" -cl: clear the new buffer before displaying output\n"
|
||||
" -nocl: append to the new buffer without clear (default)\n"
|
||||
" -sw: switch to the output buffer (default)\n"
|
||||
@@ -5906,6 +5907,19 @@ msgstr ""
|
||||
msgid "configuration files, sections, options and words of options"
|
||||
msgstr "configuração do arquivo \"%s\" (opções %s.*)"
|
||||
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
"comma separated list of options to automatically refresh on the fset buffer "
|
||||
"(if opened); \"*\" means all options (recommended), a name beginning with \"!"
|
||||
"\" is a negative value to prevent an option to be refreshed, wildcard \"*\" "
|
||||
"is allowed in names (example: \"*,!plugin.section.*\")"
|
||||
msgstr ""
|
||||
"lista separada por vírgulas dos plugins para carregar automaticamente "
|
||||
"nainicialização, \"*\" significa todos os plugins encontrados, um nome "
|
||||
"começando com \"!\" é um valor negativo para prevenir um plugin de ser "
|
||||
"carrgado, nomes podem começar ou terminar com \"*\" para casar com vários "
|
||||
"plugins (exemplos: \"*\" ou \"*,!lua,!tcl\")"
|
||||
|
||||
msgid ""
|
||||
"automatically unmark all options after an action on marked options or after "
|
||||
"a refresh"
|
||||
@@ -6682,29 +6696,37 @@ msgstr ""
|
||||
msgid "execute a command on all channels of all connected servers"
|
||||
msgstr ""
|
||||
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
"[-current] [-exclude=<channel>[,<channel>...]] <command> [<arguments>] || [-"
|
||||
"current] -include=<channel>[,<channel>...] <command> [<arguments>]"
|
||||
msgstr ""
|
||||
"[-current] [-exclude=<channel>[,<channel>...]] <command> || [-current] -"
|
||||
"include=<channel>[,<channel>...] <command>"
|
||||
msgstr "<apelido>[,<apelido>...] [<contador> [<target>]]"
|
||||
|
||||
msgid ""
|
||||
" -current: execute command for channels of current server only\n"
|
||||
" -exclude: exclude some channels (wildcard \"*\" is allowed)\n"
|
||||
" -include: include only some channels (wildcard \"*\" is allowed)\n"
|
||||
" command: command to execute\n"
|
||||
"arguments: arguments for command (special variables $nick, $channel and "
|
||||
"$server are replaced by their value)\n"
|
||||
" command: command to execute (or text to send to buffer if command does not "
|
||||
"start with '/')\n"
|
||||
"\n"
|
||||
"Command and arguments are evaluated (see /help eval), the following "
|
||||
"variables are replaced:\n"
|
||||
" $server server name\n"
|
||||
" $channel channel name\n"
|
||||
" $nick nick on server\n"
|
||||
" ${irc_server.xxx} variable xxx in server\n"
|
||||
" ${irc_channel.xxx} variable xxx in channel\n"
|
||||
"\n"
|
||||
"Examples:\n"
|
||||
" execute '/me is testing' on all channels:\n"
|
||||
" /allchan me is testing\n"
|
||||
" /allchan /me is testing\n"
|
||||
" say 'hello' everywhere but not on #weechat:\n"
|
||||
" /allchan -exclude=#weechat msg * hello\n"
|
||||
" /allchan -exclude=#weechat hello\n"
|
||||
" say 'hello' everywhere but not on #weechat and channels beginning with "
|
||||
"#linux:\n"
|
||||
" /allchan -exclude=#weechat,#linux* msg * hello\n"
|
||||
" /allchan -exclude=#weechat,#linux* hello\n"
|
||||
" say 'hello' on all channels beginning with #linux:\n"
|
||||
" /allchan -include=#linux* msg * hello"
|
||||
" /allchan -include=#linux* hello"
|
||||
msgstr ""
|
||||
|
||||
msgid "execute a command on all private buffers of all connected servers"
|
||||
@@ -6712,53 +6734,65 @@ msgstr ""
|
||||
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
"[-current] [-exclude=<nick>[,<nick>...]] <command> [<arguments>] || [-"
|
||||
"current] -include=<nick>[,<nick>...] <command> [<arguments>]"
|
||||
"[-current] [-exclude=<nick>[,<nick>...]] <command> || [-current] -"
|
||||
"include=<nick>[,<nick>...] <command>"
|
||||
msgstr "<apelido>[,<apelido>...] [<contador> [<target>]]"
|
||||
|
||||
msgid ""
|
||||
" -current: execute command for private buffers of current server only\n"
|
||||
" -exclude: exclude some nicks (wildcard \"*\" is allowed)\n"
|
||||
" -include: include only some nicks (wildcard \"*\" is allowed)\n"
|
||||
" command: command to execute\n"
|
||||
"arguments: arguments for command (special variables $nick, $channel and "
|
||||
"$server are replaced by their value)\n"
|
||||
" command: command to execute (or text to send to buffer if command does not "
|
||||
"start with '/')\n"
|
||||
"\n"
|
||||
"Command and arguments are evaluated (see /help eval), the following "
|
||||
"variables are replaced:\n"
|
||||
" $server server name\n"
|
||||
" $channel channel name\n"
|
||||
" $nick nick on server\n"
|
||||
" ${irc_server.xxx} variable xxx in server\n"
|
||||
" ${irc_channel.xxx} variable xxx in channel\n"
|
||||
"\n"
|
||||
"Examples:\n"
|
||||
" execute '/me is testing' on all private buffers:\n"
|
||||
" /allpv me is testing\n"
|
||||
" /allpv /me is testing\n"
|
||||
" say 'hello' everywhere but not for nick foo:\n"
|
||||
" /allpv -exclude=foo msg * hello\n"
|
||||
" /allpv -exclude=foo hello\n"
|
||||
" say 'hello' everywhere but not for nick foo and nicks beginning with bar:\n"
|
||||
" /allpv -exclude=foo,bar* msg * hello\n"
|
||||
" /allpv -exclude=foo,bar* hello\n"
|
||||
" say 'hello' for all nicks beginning with bar:\n"
|
||||
" /allpv -include=bar* msg * hello\n"
|
||||
" /allpv -include=bar* hello\n"
|
||||
" close all private buffers:\n"
|
||||
" /allpv close"
|
||||
" /allpv /close"
|
||||
msgstr ""
|
||||
|
||||
msgid "execute a command on all connected servers"
|
||||
msgstr ""
|
||||
|
||||
msgid ""
|
||||
"[-exclude=<server>[,<server>...]] <command> [<arguments>] || -"
|
||||
"include=<server>[,<server>...] <command> [<arguments>]"
|
||||
"[-exclude=<server>[,<server>...]] <command> || -include=<server>[,"
|
||||
"<server>...] <command>"
|
||||
msgstr ""
|
||||
|
||||
msgid ""
|
||||
" -exclude: exclude some servers (wildcard \"*\" is allowed)\n"
|
||||
" -include: include only some servers (wildcard \"*\" is allowed)\n"
|
||||
" command: command to execute\n"
|
||||
"arguments: arguments for command (special variables $nick, $channel and "
|
||||
"$server are replaced by their value)\n"
|
||||
" command: command to execute (or text to send to buffer if command does not "
|
||||
"start with '/')\n"
|
||||
"\n"
|
||||
"Command and arguments are evaluated (see /help eval), the following "
|
||||
"variables are replaced:\n"
|
||||
" $server server name\n"
|
||||
" $nick nick on server\n"
|
||||
" ${irc_server.xxx} variable xxx in server\n"
|
||||
"\n"
|
||||
"Examples:\n"
|
||||
" change nick on all servers:\n"
|
||||
" /allserv nick newnick\n"
|
||||
" /allserv /nick newnick\n"
|
||||
" set away on all servers:\n"
|
||||
" /allserv away I'm away\n"
|
||||
" /allserv /away I'm away\n"
|
||||
" do a whois on my nick on all servers:\n"
|
||||
" /allserv whois $nick"
|
||||
" /allserv /whois $nick"
|
||||
msgstr ""
|
||||
|
||||
msgid "ban nicks or hosts"
|
||||
@@ -9192,6 +9226,13 @@ msgid_plural "voices"
|
||||
msgstr[0] ""
|
||||
msgstr[1] ""
|
||||
|
||||
#. TRANSLATORS: number of "normal" nicks on a channel (ie no op/voice), for example: "56 normals"
|
||||
#, c-format
|
||||
msgid "%s%s%d%s normal"
|
||||
msgid_plural "%s%s%d%s normals"
|
||||
msgstr[0] ""
|
||||
msgstr[1] ""
|
||||
|
||||
#, fuzzy, c-format
|
||||
msgid "%sChannel %s%s%s: %s%d%s %s %s(%s%s)"
|
||||
msgstr "%sresposta CTCP para %s%s%s: %s%s%s%s%s"
|
||||
@@ -10092,6 +10133,16 @@ msgstr ""
|
||||
msgid "get nick color code"
|
||||
msgstr "obter código de cor do apelido"
|
||||
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
"nickname;colors (colors is an optional comma-separated list of colors to "
|
||||
"use; background is allowed for a color with format text:background; if "
|
||||
"colors is present, WeeChat options with nick colors and forced nick colors "
|
||||
"are ignored)"
|
||||
msgstr ""
|
||||
"cor do texto para apelidos (lista de cores separada por vírgulas, fundo é "
|
||||
"permitido com o formato: \"fg:bg\", por exemplo: \"lightred:blue\")"
|
||||
|
||||
msgid "get nick color name"
|
||||
msgstr "obter nome da cor do apelido"
|
||||
|
||||
@@ -11367,6 +11418,12 @@ msgstr ""
|
||||
msgid "Script manager"
|
||||
msgstr "site do WeeChat"
|
||||
|
||||
#, c-format
|
||||
msgid ""
|
||||
"%s%s: download of scripts is disabled by default; see /help script.scripts."
|
||||
"download_enabled"
|
||||
msgstr ""
|
||||
|
||||
#, fuzzy
|
||||
msgid "WeeChat script manager"
|
||||
msgstr "site do WeeChat"
|
||||
@@ -11630,6 +11687,14 @@ msgid ""
|
||||
"expire)"
|
||||
msgstr ""
|
||||
|
||||
msgid ""
|
||||
"enable download of files from the scripts repository when the /script "
|
||||
"command is used (list of scripts and scripts themselves); the list of "
|
||||
"scripts is downloaded from the URL specified in the option script.scripts."
|
||||
"url; WeeChat will sometimes download again the list of scripts when you use "
|
||||
"the /script command, even if you don't install a script"
|
||||
msgstr ""
|
||||
|
||||
# better not translate handshake
|
||||
#, fuzzy
|
||||
msgid "timeout (in seconds) for download of scripts and list of scripts"
|
||||
|
||||
@@ -21,7 +21,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WeeChat\n"
|
||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||
"POT-Creation-Date: 2020-06-21 18:56+0200\n"
|
||||
"POT-Creation-Date: 2020-10-11 16:22+0200\n"
|
||||
"PO-Revision-Date: 2020-04-28 16:40+0200\n"
|
||||
"Last-Translator: Aleksey V Zapparov AKA ixti <ixti@member.fsf.org>\n"
|
||||
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
|
||||
@@ -4311,10 +4311,7 @@ msgstr ""
|
||||
|
||||
#, fuzzy
|
||||
msgid "normal"
|
||||
msgid_plural "normals"
|
||||
msgstr[0] "обычные"
|
||||
msgstr[1] "обычные"
|
||||
msgstr[2] "обычные"
|
||||
msgstr "обычные"
|
||||
|
||||
msgid "Debug disabled for cursor mode"
|
||||
msgstr ""
|
||||
@@ -4457,7 +4454,7 @@ msgid ""
|
||||
" alias /split to split window horizontally:\n"
|
||||
" /alias add split /window splith\n"
|
||||
" alias /hello to say \"hello\" on all channels but not on #weechat:\n"
|
||||
" /alias add hello /allchan -exclude=#weechat msg * hello\n"
|
||||
" /alias add hello /allchan -exclude=#weechat hello\n"
|
||||
" alias /forcejoin to send IRC command \"forcejoin\" with completion of /"
|
||||
"sajoin:\n"
|
||||
" /alias addcompletion %%sajoin forcejoin /quote forcejoin"
|
||||
@@ -4876,11 +4873,11 @@ msgstr "Внутренние команды %s:\n"
|
||||
|
||||
msgid ""
|
||||
"-list || [-sh|-nosh] [-bg|-nobg] [-stdin|-nostdin] [-buffer <name>] [-l|-o|-"
|
||||
"n|-nf] [-cl|-nocl] [-sw|-nosw] [-ln|-noln] [-flush|-noflush] [-color ansi|"
|
||||
"auto|irc|weechat|strip] [-rc|-norc] [-timeout <timeout>] [-name <name>] [-"
|
||||
"pipe <command>] [-hsignal <name>] <command> || -in <id> <text> || -inclose "
|
||||
"<id> [<text>] || -signal <id> <signal> || -kill <id> || -killall || -set "
|
||||
"<id> <property> <value> || -del <id>|-all [<id>...]"
|
||||
"oc|-n|-nf] [-oerr] [-cl|-nocl] [-sw|-nosw] [-ln|-noln] [-flush|-noflush] [-"
|
||||
"color ansi|auto|irc|weechat|strip] [-rc|-norc] [-timeout <timeout>] [-name "
|
||||
"<name>] [-pipe <command>] [-hsignal <name>] <command> || -in <id> <text> || -"
|
||||
"inclose <id> [<text>] || -signal <id> <signal> || -kill <id> || -killall || -"
|
||||
"set <id> <property> <value> || -del <id>|-all [<id>...]"
|
||||
msgstr ""
|
||||
|
||||
msgid ""
|
||||
@@ -4909,6 +4906,8 @@ msgid ""
|
||||
" -nf: display output of command in a new buffer with free content (no "
|
||||
"word-wrap, no limit on number of lines) (not compatible with options -bg/-"
|
||||
"pipe/-hsignal)\n"
|
||||
" -oerr: also send stderr (error output) to the buffer (can be used only "
|
||||
"with options -o and -oc)\n"
|
||||
" -cl: clear the new buffer before displaying output\n"
|
||||
" -nocl: append to the new buffer without clear (default)\n"
|
||||
" -sw: switch to the output buffer (default)\n"
|
||||
@@ -5303,6 +5302,17 @@ msgstr ""
|
||||
msgid "configuration files, sections, options and words of options"
|
||||
msgstr "Не найден параметр\n"
|
||||
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
"comma separated list of options to automatically refresh on the fset buffer "
|
||||
"(if opened); \"*\" means all options (recommended), a name beginning with \"!"
|
||||
"\" is a negative value to prevent an option to be refreshed, wildcard \"*\" "
|
||||
"is allowed in names (example: \"*,!plugin.section.*\")"
|
||||
msgstr ""
|
||||
"разделённый запятыми список автоматически загружаемых при запуске plug-"
|
||||
"in'ов , \"*\" означает все найденные plug-in'ы (имена могут быть не полными, "
|
||||
"например \"perl\" успешно загрузит \"libperl.so\")"
|
||||
|
||||
msgid ""
|
||||
"automatically unmark all options after an action on marked options or after "
|
||||
"a refresh"
|
||||
@@ -6085,28 +6095,35 @@ msgstr "отправить действие на все каналы всех п
|
||||
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
"[-current] [-exclude=<channel>[,<channel>...]] <command> [<arguments>] || [-"
|
||||
"current] -include=<channel>[,<channel>...] <command> [<arguments>]"
|
||||
"[-current] [-exclude=<channel>[,<channel>...]] <command> || [-current] -"
|
||||
"include=<channel>[,<channel>...] <command>"
|
||||
msgstr "[сокращение [команда [аргументы]]]"
|
||||
|
||||
msgid ""
|
||||
" -current: execute command for channels of current server only\n"
|
||||
" -exclude: exclude some channels (wildcard \"*\" is allowed)\n"
|
||||
" -include: include only some channels (wildcard \"*\" is allowed)\n"
|
||||
" command: command to execute\n"
|
||||
"arguments: arguments for command (special variables $nick, $channel and "
|
||||
"$server are replaced by their value)\n"
|
||||
" command: command to execute (or text to send to buffer if command does not "
|
||||
"start with '/')\n"
|
||||
"\n"
|
||||
"Command and arguments are evaluated (see /help eval), the following "
|
||||
"variables are replaced:\n"
|
||||
" $server server name\n"
|
||||
" $channel channel name\n"
|
||||
" $nick nick on server\n"
|
||||
" ${irc_server.xxx} variable xxx in server\n"
|
||||
" ${irc_channel.xxx} variable xxx in channel\n"
|
||||
"\n"
|
||||
"Examples:\n"
|
||||
" execute '/me is testing' on all channels:\n"
|
||||
" /allchan me is testing\n"
|
||||
" /allchan /me is testing\n"
|
||||
" say 'hello' everywhere but not on #weechat:\n"
|
||||
" /allchan -exclude=#weechat msg * hello\n"
|
||||
" /allchan -exclude=#weechat hello\n"
|
||||
" say 'hello' everywhere but not on #weechat and channels beginning with "
|
||||
"#linux:\n"
|
||||
" /allchan -exclude=#weechat,#linux* msg * hello\n"
|
||||
" /allchan -exclude=#weechat,#linux* hello\n"
|
||||
" say 'hello' on all channels beginning with #linux:\n"
|
||||
" /allchan -include=#linux* msg * hello"
|
||||
" /allchan -include=#linux* hello"
|
||||
msgstr ""
|
||||
|
||||
#, fuzzy
|
||||
@@ -6115,29 +6132,36 @@ msgstr "отправить действие на все каналы всех п
|
||||
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
"[-current] [-exclude=<nick>[,<nick>...]] <command> [<arguments>] || [-"
|
||||
"current] -include=<nick>[,<nick>...] <command> [<arguments>]"
|
||||
"[-current] [-exclude=<nick>[,<nick>...]] <command> || [-current] -"
|
||||
"include=<nick>[,<nick>...] <command>"
|
||||
msgstr "[сокращение [команда [аргументы]]]"
|
||||
|
||||
msgid ""
|
||||
" -current: execute command for private buffers of current server only\n"
|
||||
" -exclude: exclude some nicks (wildcard \"*\" is allowed)\n"
|
||||
" -include: include only some nicks (wildcard \"*\" is allowed)\n"
|
||||
" command: command to execute\n"
|
||||
"arguments: arguments for command (special variables $nick, $channel and "
|
||||
"$server are replaced by their value)\n"
|
||||
" command: command to execute (or text to send to buffer if command does not "
|
||||
"start with '/')\n"
|
||||
"\n"
|
||||
"Command and arguments are evaluated (see /help eval), the following "
|
||||
"variables are replaced:\n"
|
||||
" $server server name\n"
|
||||
" $channel channel name\n"
|
||||
" $nick nick on server\n"
|
||||
" ${irc_server.xxx} variable xxx in server\n"
|
||||
" ${irc_channel.xxx} variable xxx in channel\n"
|
||||
"\n"
|
||||
"Examples:\n"
|
||||
" execute '/me is testing' on all private buffers:\n"
|
||||
" /allpv me is testing\n"
|
||||
" /allpv /me is testing\n"
|
||||
" say 'hello' everywhere but not for nick foo:\n"
|
||||
" /allpv -exclude=foo msg * hello\n"
|
||||
" /allpv -exclude=foo hello\n"
|
||||
" say 'hello' everywhere but not for nick foo and nicks beginning with bar:\n"
|
||||
" /allpv -exclude=foo,bar* msg * hello\n"
|
||||
" /allpv -exclude=foo,bar* hello\n"
|
||||
" say 'hello' for all nicks beginning with bar:\n"
|
||||
" /allpv -include=bar* msg * hello\n"
|
||||
" /allpv -include=bar* hello\n"
|
||||
" close all private buffers:\n"
|
||||
" /allpv close"
|
||||
" /allpv /close"
|
||||
msgstr ""
|
||||
|
||||
#, fuzzy
|
||||
@@ -6145,24 +6169,29 @@ msgid "execute a command on all connected servers"
|
||||
msgstr "отправить сообщение на все каналы всех поключенных серверов"
|
||||
|
||||
msgid ""
|
||||
"[-exclude=<server>[,<server>...]] <command> [<arguments>] || -"
|
||||
"include=<server>[,<server>...] <command> [<arguments>]"
|
||||
"[-exclude=<server>[,<server>...]] <command> || -include=<server>[,"
|
||||
"<server>...] <command>"
|
||||
msgstr ""
|
||||
|
||||
msgid ""
|
||||
" -exclude: exclude some servers (wildcard \"*\" is allowed)\n"
|
||||
" -include: include only some servers (wildcard \"*\" is allowed)\n"
|
||||
" command: command to execute\n"
|
||||
"arguments: arguments for command (special variables $nick, $channel and "
|
||||
"$server are replaced by their value)\n"
|
||||
" command: command to execute (or text to send to buffer if command does not "
|
||||
"start with '/')\n"
|
||||
"\n"
|
||||
"Command and arguments are evaluated (see /help eval), the following "
|
||||
"variables are replaced:\n"
|
||||
" $server server name\n"
|
||||
" $nick nick on server\n"
|
||||
" ${irc_server.xxx} variable xxx in server\n"
|
||||
"\n"
|
||||
"Examples:\n"
|
||||
" change nick on all servers:\n"
|
||||
" /allserv nick newnick\n"
|
||||
" /allserv /nick newnick\n"
|
||||
" set away on all servers:\n"
|
||||
" /allserv away I'm away\n"
|
||||
" /allserv /away I'm away\n"
|
||||
" do a whois on my nick on all servers:\n"
|
||||
" /allserv whois $nick"
|
||||
" /allserv /whois $nick"
|
||||
msgstr ""
|
||||
|
||||
#, fuzzy
|
||||
@@ -8807,6 +8836,14 @@ msgstr[0] "войс"
|
||||
msgstr[1] "войс"
|
||||
msgstr[2] "войс"
|
||||
|
||||
#. TRANSLATORS: number of "normal" nicks on a channel (ie no op/voice), for example: "56 normals"
|
||||
#, c-format
|
||||
msgid "%s%s%d%s normal"
|
||||
msgid_plural "%s%s%d%s normals"
|
||||
msgstr[0] ""
|
||||
msgstr[1] ""
|
||||
msgstr[2] ""
|
||||
|
||||
#, fuzzy, c-format
|
||||
msgid "%sChannel %s%s%s: %s%d%s %s %s(%s%s)"
|
||||
msgstr "Реоп канала %s%s%s: %s%s\n"
|
||||
@@ -9687,6 +9724,14 @@ msgstr ""
|
||||
msgid "get nick color code"
|
||||
msgstr "цвет чата"
|
||||
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
"nickname;colors (colors is an optional comma-separated list of colors to "
|
||||
"use; background is allowed for a color with format text:background; if "
|
||||
"colors is present, WeeChat options with nick colors and forced nick colors "
|
||||
"are ignored)"
|
||||
msgstr "цвет времени в окне чата"
|
||||
|
||||
#, fuzzy
|
||||
msgid "get nick color name"
|
||||
msgstr "цвет чата"
|
||||
@@ -10943,6 +10988,12 @@ msgstr ""
|
||||
msgid "Script manager"
|
||||
msgstr "слоган WeeChat"
|
||||
|
||||
#, c-format
|
||||
msgid ""
|
||||
"%s%s: download of scripts is disabled by default; see /help script.scripts."
|
||||
"download_enabled"
|
||||
msgstr ""
|
||||
|
||||
#, fuzzy
|
||||
msgid "WeeChat script manager"
|
||||
msgstr "слоган WeeChat"
|
||||
@@ -11206,6 +11257,14 @@ msgid ""
|
||||
"expire)"
|
||||
msgstr ""
|
||||
|
||||
msgid ""
|
||||
"enable download of files from the scripts repository when the /script "
|
||||
"command is used (list of scripts and scripts themselves); the list of "
|
||||
"scripts is downloaded from the URL specified in the option script.scripts."
|
||||
"url; WeeChat will sometimes download again the list of scripts when you use "
|
||||
"the /script command, even if you don't install a script"
|
||||
msgstr ""
|
||||
|
||||
#, fuzzy
|
||||
msgid "timeout (in seconds) for download of scripts and list of scripts"
|
||||
msgstr "использовать SSL при связи с сервером"
|
||||
|
||||
@@ -20,7 +20,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WeeChat\n"
|
||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||
"POT-Creation-Date: 2020-06-21 18:56+0200\n"
|
||||
"POT-Creation-Date: 2020-10-11 16:22+0200\n"
|
||||
"PO-Revision-Date: 2019-11-03 08:38+0100\n"
|
||||
"Last-Translator: Hasan Kiran <sunder67@hotmail.com>\n"
|
||||
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
|
||||
@@ -3898,8 +3898,7 @@ msgid "verbose"
|
||||
msgstr ""
|
||||
|
||||
msgid "normal"
|
||||
msgid_plural "normals"
|
||||
msgstr[0] ""
|
||||
msgstr ""
|
||||
|
||||
msgid "Debug disabled for cursor mode"
|
||||
msgstr ""
|
||||
@@ -4040,7 +4039,7 @@ msgid ""
|
||||
" alias /split to split window horizontally:\n"
|
||||
" /alias add split /window splith\n"
|
||||
" alias /hello to say \"hello\" on all channels but not on #weechat:\n"
|
||||
" /alias add hello /allchan -exclude=#weechat msg * hello\n"
|
||||
" /alias add hello /allchan -exclude=#weechat hello\n"
|
||||
" alias /forcejoin to send IRC command \"forcejoin\" with completion of /"
|
||||
"sajoin:\n"
|
||||
" /alias addcompletion %%sajoin forcejoin /quote forcejoin"
|
||||
@@ -4431,11 +4430,11 @@ msgstr "weechat komutları"
|
||||
|
||||
msgid ""
|
||||
"-list || [-sh|-nosh] [-bg|-nobg] [-stdin|-nostdin] [-buffer <name>] [-l|-o|-"
|
||||
"n|-nf] [-cl|-nocl] [-sw|-nosw] [-ln|-noln] [-flush|-noflush] [-color ansi|"
|
||||
"auto|irc|weechat|strip] [-rc|-norc] [-timeout <timeout>] [-name <name>] [-"
|
||||
"pipe <command>] [-hsignal <name>] <command> || -in <id> <text> || -inclose "
|
||||
"<id> [<text>] || -signal <id> <signal> || -kill <id> || -killall || -set "
|
||||
"<id> <property> <value> || -del <id>|-all [<id>...]"
|
||||
"oc|-n|-nf] [-oerr] [-cl|-nocl] [-sw|-nosw] [-ln|-noln] [-flush|-noflush] [-"
|
||||
"color ansi|auto|irc|weechat|strip] [-rc|-norc] [-timeout <timeout>] [-name "
|
||||
"<name>] [-pipe <command>] [-hsignal <name>] <command> || -in <id> <text> || -"
|
||||
"inclose <id> [<text>] || -signal <id> <signal> || -kill <id> || -killall || -"
|
||||
"set <id> <property> <value> || -del <id>|-all [<id>...]"
|
||||
msgstr ""
|
||||
|
||||
msgid ""
|
||||
@@ -4464,6 +4463,8 @@ msgid ""
|
||||
" -nf: display output of command in a new buffer with free content (no "
|
||||
"word-wrap, no limit on number of lines) (not compatible with options -bg/-"
|
||||
"pipe/-hsignal)\n"
|
||||
" -oerr: also send stderr (error output) to the buffer (can be used only "
|
||||
"with options -o and -oc)\n"
|
||||
" -cl: clear the new buffer before displaying output\n"
|
||||
" -nocl: append to the new buffer without clear (default)\n"
|
||||
" -sw: switch to the output buffer (default)\n"
|
||||
@@ -4854,6 +4855,13 @@ msgstr ""
|
||||
msgid "configuration files, sections, options and words of options"
|
||||
msgstr "yapılandırma seçenekleri"
|
||||
|
||||
msgid ""
|
||||
"comma separated list of options to automatically refresh on the fset buffer "
|
||||
"(if opened); \"*\" means all options (recommended), a name beginning with \"!"
|
||||
"\" is a negative value to prevent an option to be refreshed, wildcard \"*\" "
|
||||
"is allowed in names (example: \"*,!plugin.section.*\")"
|
||||
msgstr ""
|
||||
|
||||
msgid ""
|
||||
"automatically unmark all options after an action on marked options or after "
|
||||
"a refresh"
|
||||
@@ -5594,28 +5602,35 @@ msgstr ""
|
||||
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
"[-current] [-exclude=<channel>[,<channel>...]] <command> [<arguments>] || [-"
|
||||
"current] -include=<channel>[,<channel>...] <command> [<arguments>]"
|
||||
"[-current] [-exclude=<channel>[,<channel>...]] <command> || [-current] -"
|
||||
"include=<channel>[,<channel>...] <command>"
|
||||
msgstr "[-current] [-exclude=<kanal>[,<kanal>...]] <komut> [<argümanlar>]"
|
||||
|
||||
msgid ""
|
||||
" -current: execute command for channels of current server only\n"
|
||||
" -exclude: exclude some channels (wildcard \"*\" is allowed)\n"
|
||||
" -include: include only some channels (wildcard \"*\" is allowed)\n"
|
||||
" command: command to execute\n"
|
||||
"arguments: arguments for command (special variables $nick, $channel and "
|
||||
"$server are replaced by their value)\n"
|
||||
" command: command to execute (or text to send to buffer if command does not "
|
||||
"start with '/')\n"
|
||||
"\n"
|
||||
"Command and arguments are evaluated (see /help eval), the following "
|
||||
"variables are replaced:\n"
|
||||
" $server server name\n"
|
||||
" $channel channel name\n"
|
||||
" $nick nick on server\n"
|
||||
" ${irc_server.xxx} variable xxx in server\n"
|
||||
" ${irc_channel.xxx} variable xxx in channel\n"
|
||||
"\n"
|
||||
"Examples:\n"
|
||||
" execute '/me is testing' on all channels:\n"
|
||||
" /allchan me is testing\n"
|
||||
" /allchan /me is testing\n"
|
||||
" say 'hello' everywhere but not on #weechat:\n"
|
||||
" /allchan -exclude=#weechat msg * hello\n"
|
||||
" /allchan -exclude=#weechat hello\n"
|
||||
" say 'hello' everywhere but not on #weechat and channels beginning with "
|
||||
"#linux:\n"
|
||||
" /allchan -exclude=#weechat,#linux* msg * hello\n"
|
||||
" /allchan -exclude=#weechat,#linux* hello\n"
|
||||
" say 'hello' on all channels beginning with #linux:\n"
|
||||
" /allchan -include=#linux* msg * hello"
|
||||
" /allchan -include=#linux* hello"
|
||||
msgstr ""
|
||||
|
||||
msgid "execute a command on all private buffers of all connected servers"
|
||||
@@ -5623,29 +5638,36 @@ msgstr ""
|
||||
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
"[-current] [-exclude=<nick>[,<nick>...]] <command> [<arguments>] || [-"
|
||||
"current] -include=<nick>[,<nick>...] <command> [<arguments>]"
|
||||
"[-current] [-exclude=<nick>[,<nick>...]] <command> || [-current] -"
|
||||
"include=<nick>[,<nick>...] <command>"
|
||||
msgstr "[-current] [-exclude=<kanal>[,<kanal>...]] <komut> [<argümanlar>]"
|
||||
|
||||
msgid ""
|
||||
" -current: execute command for private buffers of current server only\n"
|
||||
" -exclude: exclude some nicks (wildcard \"*\" is allowed)\n"
|
||||
" -include: include only some nicks (wildcard \"*\" is allowed)\n"
|
||||
" command: command to execute\n"
|
||||
"arguments: arguments for command (special variables $nick, $channel and "
|
||||
"$server are replaced by their value)\n"
|
||||
" command: command to execute (or text to send to buffer if command does not "
|
||||
"start with '/')\n"
|
||||
"\n"
|
||||
"Command and arguments are evaluated (see /help eval), the following "
|
||||
"variables are replaced:\n"
|
||||
" $server server name\n"
|
||||
" $channel channel name\n"
|
||||
" $nick nick on server\n"
|
||||
" ${irc_server.xxx} variable xxx in server\n"
|
||||
" ${irc_channel.xxx} variable xxx in channel\n"
|
||||
"\n"
|
||||
"Examples:\n"
|
||||
" execute '/me is testing' on all private buffers:\n"
|
||||
" /allpv me is testing\n"
|
||||
" /allpv /me is testing\n"
|
||||
" say 'hello' everywhere but not for nick foo:\n"
|
||||
" /allpv -exclude=foo msg * hello\n"
|
||||
" /allpv -exclude=foo hello\n"
|
||||
" say 'hello' everywhere but not for nick foo and nicks beginning with bar:\n"
|
||||
" /allpv -exclude=foo,bar* msg * hello\n"
|
||||
" /allpv -exclude=foo,bar* hello\n"
|
||||
" say 'hello' for all nicks beginning with bar:\n"
|
||||
" /allpv -include=bar* msg * hello\n"
|
||||
" /allpv -include=bar* hello\n"
|
||||
" close all private buffers:\n"
|
||||
" /allpv close"
|
||||
" /allpv /close"
|
||||
msgstr ""
|
||||
|
||||
msgid "execute a command on all connected servers"
|
||||
@@ -5653,24 +5675,29 @@ msgstr ""
|
||||
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
"[-exclude=<server>[,<server>...]] <command> [<arguments>] || -"
|
||||
"include=<server>[,<server>...] <command> [<arguments>]"
|
||||
"[-exclude=<server>[,<server>...]] <command> || -include=<server>[,"
|
||||
"<server>...] <command>"
|
||||
msgstr "[-exclude=<sunucu>[,<sunucu>...]] <komut> [<argümanlar>]"
|
||||
|
||||
msgid ""
|
||||
" -exclude: exclude some servers (wildcard \"*\" is allowed)\n"
|
||||
" -include: include only some servers (wildcard \"*\" is allowed)\n"
|
||||
" command: command to execute\n"
|
||||
"arguments: arguments for command (special variables $nick, $channel and "
|
||||
"$server are replaced by their value)\n"
|
||||
" command: command to execute (or text to send to buffer if command does not "
|
||||
"start with '/')\n"
|
||||
"\n"
|
||||
"Command and arguments are evaluated (see /help eval), the following "
|
||||
"variables are replaced:\n"
|
||||
" $server server name\n"
|
||||
" $nick nick on server\n"
|
||||
" ${irc_server.xxx} variable xxx in server\n"
|
||||
"\n"
|
||||
"Examples:\n"
|
||||
" change nick on all servers:\n"
|
||||
" /allserv nick newnick\n"
|
||||
" /allserv /nick newnick\n"
|
||||
" set away on all servers:\n"
|
||||
" /allserv away I'm away\n"
|
||||
" /allserv /away I'm away\n"
|
||||
" do a whois on my nick on all servers:\n"
|
||||
" /allserv whois $nick"
|
||||
" /allserv /whois $nick"
|
||||
msgstr ""
|
||||
|
||||
msgid "ban nicks or hosts"
|
||||
@@ -7981,6 +8008,12 @@ msgid "voice"
|
||||
msgid_plural "voices"
|
||||
msgstr[0] ""
|
||||
|
||||
#. TRANSLATORS: number of "normal" nicks on a channel (ie no op/voice), for example: "56 normals"
|
||||
#, c-format
|
||||
msgid "%s%s%d%s normal"
|
||||
msgid_plural "%s%s%d%s normals"
|
||||
msgstr[0] ""
|
||||
|
||||
#, fuzzy, c-format
|
||||
msgid "%sChannel %s%s%s: %s%d%s %s %s(%s%s)"
|
||||
msgstr ""
|
||||
@@ -8811,6 +8844,13 @@ msgstr ""
|
||||
msgid "get nick color code"
|
||||
msgstr "rumuz renk kodu al"
|
||||
|
||||
msgid ""
|
||||
"nickname;colors (colors is an optional comma-separated list of colors to "
|
||||
"use; background is allowed for a color with format text:background; if "
|
||||
"colors is present, WeeChat options with nick colors and forced nick colors "
|
||||
"are ignored)"
|
||||
msgstr ""
|
||||
|
||||
msgid "get nick color name"
|
||||
msgstr "rumuz renk ismi al"
|
||||
|
||||
@@ -9967,6 +10007,12 @@ msgstr "Betikler"
|
||||
msgid "Script manager"
|
||||
msgstr "Betik yöneticisi"
|
||||
|
||||
#, c-format
|
||||
msgid ""
|
||||
"%s%s: download of scripts is disabled by default; see /help script.scripts."
|
||||
"download_enabled"
|
||||
msgstr ""
|
||||
|
||||
#, fuzzy
|
||||
msgid "WeeChat script manager"
|
||||
msgstr "WeeChat betik yöneticisi"
|
||||
@@ -10212,6 +10258,14 @@ msgid ""
|
||||
"expire)"
|
||||
msgstr ""
|
||||
|
||||
msgid ""
|
||||
"enable download of files from the scripts repository when the /script "
|
||||
"command is used (list of scripts and scripts themselves); the list of "
|
||||
"scripts is downloaded from the URL specified in the option script.scripts."
|
||||
"url; WeeChat will sometimes download again the list of scripts when you use "
|
||||
"the /script command, even if you don't install a script"
|
||||
msgstr ""
|
||||
|
||||
msgid "timeout (in seconds) for download of scripts and list of scripts"
|
||||
msgstr ""
|
||||
|
||||
|
||||
+91
-37
@@ -21,7 +21,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WeeChat\n"
|
||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||
"POT-Creation-Date: 2020-06-21 18:56+0200\n"
|
||||
"POT-Creation-Date: 2020-10-11 16:22+0200\n"
|
||||
"PO-Revision-Date: 2014-08-16 10:27+0200\n"
|
||||
"Last-Translator: Sébastien Helleu <flashcode@flashtux.org>\n"
|
||||
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
|
||||
@@ -3888,9 +3888,7 @@ msgid "verbose"
|
||||
msgstr ""
|
||||
|
||||
msgid "normal"
|
||||
msgid_plural "normals"
|
||||
msgstr[0] ""
|
||||
msgstr[1] ""
|
||||
msgstr ""
|
||||
|
||||
msgid "Debug disabled for cursor mode"
|
||||
msgstr ""
|
||||
@@ -4026,7 +4024,7 @@ msgid ""
|
||||
" alias /split to split window horizontally:\n"
|
||||
" /alias add split /window splith\n"
|
||||
" alias /hello to say \"hello\" on all channels but not on #weechat:\n"
|
||||
" /alias add hello /allchan -exclude=#weechat msg * hello\n"
|
||||
" /alias add hello /allchan -exclude=#weechat hello\n"
|
||||
" alias /forcejoin to send IRC command \"forcejoin\" with completion of /"
|
||||
"sajoin:\n"
|
||||
" /alias addcompletion %%sajoin forcejoin /quote forcejoin"
|
||||
@@ -4411,11 +4409,11 @@ msgstr ""
|
||||
|
||||
msgid ""
|
||||
"-list || [-sh|-nosh] [-bg|-nobg] [-stdin|-nostdin] [-buffer <name>] [-l|-o|-"
|
||||
"n|-nf] [-cl|-nocl] [-sw|-nosw] [-ln|-noln] [-flush|-noflush] [-color ansi|"
|
||||
"auto|irc|weechat|strip] [-rc|-norc] [-timeout <timeout>] [-name <name>] [-"
|
||||
"pipe <command>] [-hsignal <name>] <command> || -in <id> <text> || -inclose "
|
||||
"<id> [<text>] || -signal <id> <signal> || -kill <id> || -killall || -set "
|
||||
"<id> <property> <value> || -del <id>|-all [<id>...]"
|
||||
"oc|-n|-nf] [-oerr] [-cl|-nocl] [-sw|-nosw] [-ln|-noln] [-flush|-noflush] [-"
|
||||
"color ansi|auto|irc|weechat|strip] [-rc|-norc] [-timeout <timeout>] [-name "
|
||||
"<name>] [-pipe <command>] [-hsignal <name>] <command> || -in <id> <text> || -"
|
||||
"inclose <id> [<text>] || -signal <id> <signal> || -kill <id> || -killall || -"
|
||||
"set <id> <property> <value> || -del <id>|-all [<id>...]"
|
||||
msgstr ""
|
||||
|
||||
msgid ""
|
||||
@@ -4444,6 +4442,8 @@ msgid ""
|
||||
" -nf: display output of command in a new buffer with free content (no "
|
||||
"word-wrap, no limit on number of lines) (not compatible with options -bg/-"
|
||||
"pipe/-hsignal)\n"
|
||||
" -oerr: also send stderr (error output) to the buffer (can be used only "
|
||||
"with options -o and -oc)\n"
|
||||
" -cl: clear the new buffer before displaying output\n"
|
||||
" -nocl: append to the new buffer without clear (default)\n"
|
||||
" -sw: switch to the output buffer (default)\n"
|
||||
@@ -4828,6 +4828,13 @@ msgstr ""
|
||||
msgid "configuration files, sections, options and words of options"
|
||||
msgstr ""
|
||||
|
||||
msgid ""
|
||||
"comma separated list of options to automatically refresh on the fset buffer "
|
||||
"(if opened); \"*\" means all options (recommended), a name beginning with \"!"
|
||||
"\" is a negative value to prevent an option to be refreshed, wildcard \"*\" "
|
||||
"is allowed in names (example: \"*,!plugin.section.*\")"
|
||||
msgstr ""
|
||||
|
||||
msgid ""
|
||||
"automatically unmark all options after an action on marked options or after "
|
||||
"a refresh"
|
||||
@@ -5536,81 +5543,100 @@ msgid "execute a command on all channels of all connected servers"
|
||||
msgstr ""
|
||||
|
||||
msgid ""
|
||||
"[-current] [-exclude=<channel>[,<channel>...]] <command> [<arguments>] || [-"
|
||||
"current] -include=<channel>[,<channel>...] <command> [<arguments>]"
|
||||
"[-current] [-exclude=<channel>[,<channel>...]] <command> || [-current] -"
|
||||
"include=<channel>[,<channel>...] <command>"
|
||||
msgstr ""
|
||||
|
||||
msgid ""
|
||||
" -current: execute command for channels of current server only\n"
|
||||
" -exclude: exclude some channels (wildcard \"*\" is allowed)\n"
|
||||
" -include: include only some channels (wildcard \"*\" is allowed)\n"
|
||||
" command: command to execute\n"
|
||||
"arguments: arguments for command (special variables $nick, $channel and "
|
||||
"$server are replaced by their value)\n"
|
||||
" command: command to execute (or text to send to buffer if command does not "
|
||||
"start with '/')\n"
|
||||
"\n"
|
||||
"Command and arguments are evaluated (see /help eval), the following "
|
||||
"variables are replaced:\n"
|
||||
" $server server name\n"
|
||||
" $channel channel name\n"
|
||||
" $nick nick on server\n"
|
||||
" ${irc_server.xxx} variable xxx in server\n"
|
||||
" ${irc_channel.xxx} variable xxx in channel\n"
|
||||
"\n"
|
||||
"Examples:\n"
|
||||
" execute '/me is testing' on all channels:\n"
|
||||
" /allchan me is testing\n"
|
||||
" /allchan /me is testing\n"
|
||||
" say 'hello' everywhere but not on #weechat:\n"
|
||||
" /allchan -exclude=#weechat msg * hello\n"
|
||||
" /allchan -exclude=#weechat hello\n"
|
||||
" say 'hello' everywhere but not on #weechat and channels beginning with "
|
||||
"#linux:\n"
|
||||
" /allchan -exclude=#weechat,#linux* msg * hello\n"
|
||||
" /allchan -exclude=#weechat,#linux* hello\n"
|
||||
" say 'hello' on all channels beginning with #linux:\n"
|
||||
" /allchan -include=#linux* msg * hello"
|
||||
" /allchan -include=#linux* hello"
|
||||
msgstr ""
|
||||
|
||||
msgid "execute a command on all private buffers of all connected servers"
|
||||
msgstr ""
|
||||
|
||||
msgid ""
|
||||
"[-current] [-exclude=<nick>[,<nick>...]] <command> [<arguments>] || [-"
|
||||
"current] -include=<nick>[,<nick>...] <command> [<arguments>]"
|
||||
"[-current] [-exclude=<nick>[,<nick>...]] <command> || [-current] -"
|
||||
"include=<nick>[,<nick>...] <command>"
|
||||
msgstr ""
|
||||
|
||||
msgid ""
|
||||
" -current: execute command for private buffers of current server only\n"
|
||||
" -exclude: exclude some nicks (wildcard \"*\" is allowed)\n"
|
||||
" -include: include only some nicks (wildcard \"*\" is allowed)\n"
|
||||
" command: command to execute\n"
|
||||
"arguments: arguments for command (special variables $nick, $channel and "
|
||||
"$server are replaced by their value)\n"
|
||||
" command: command to execute (or text to send to buffer if command does not "
|
||||
"start with '/')\n"
|
||||
"\n"
|
||||
"Command and arguments are evaluated (see /help eval), the following "
|
||||
"variables are replaced:\n"
|
||||
" $server server name\n"
|
||||
" $channel channel name\n"
|
||||
" $nick nick on server\n"
|
||||
" ${irc_server.xxx} variable xxx in server\n"
|
||||
" ${irc_channel.xxx} variable xxx in channel\n"
|
||||
"\n"
|
||||
"Examples:\n"
|
||||
" execute '/me is testing' on all private buffers:\n"
|
||||
" /allpv me is testing\n"
|
||||
" /allpv /me is testing\n"
|
||||
" say 'hello' everywhere but not for nick foo:\n"
|
||||
" /allpv -exclude=foo msg * hello\n"
|
||||
" /allpv -exclude=foo hello\n"
|
||||
" say 'hello' everywhere but not for nick foo and nicks beginning with bar:\n"
|
||||
" /allpv -exclude=foo,bar* msg * hello\n"
|
||||
" /allpv -exclude=foo,bar* hello\n"
|
||||
" say 'hello' for all nicks beginning with bar:\n"
|
||||
" /allpv -include=bar* msg * hello\n"
|
||||
" /allpv -include=bar* hello\n"
|
||||
" close all private buffers:\n"
|
||||
" /allpv close"
|
||||
" /allpv /close"
|
||||
msgstr ""
|
||||
|
||||
msgid "execute a command on all connected servers"
|
||||
msgstr ""
|
||||
|
||||
msgid ""
|
||||
"[-exclude=<server>[,<server>...]] <command> [<arguments>] || -"
|
||||
"include=<server>[,<server>...] <command> [<arguments>]"
|
||||
"[-exclude=<server>[,<server>...]] <command> || -include=<server>[,"
|
||||
"<server>...] <command>"
|
||||
msgstr ""
|
||||
|
||||
msgid ""
|
||||
" -exclude: exclude some servers (wildcard \"*\" is allowed)\n"
|
||||
" -include: include only some servers (wildcard \"*\" is allowed)\n"
|
||||
" command: command to execute\n"
|
||||
"arguments: arguments for command (special variables $nick, $channel and "
|
||||
"$server are replaced by their value)\n"
|
||||
" command: command to execute (or text to send to buffer if command does not "
|
||||
"start with '/')\n"
|
||||
"\n"
|
||||
"Command and arguments are evaluated (see /help eval), the following "
|
||||
"variables are replaced:\n"
|
||||
" $server server name\n"
|
||||
" $nick nick on server\n"
|
||||
" ${irc_server.xxx} variable xxx in server\n"
|
||||
"\n"
|
||||
"Examples:\n"
|
||||
" change nick on all servers:\n"
|
||||
" /allserv nick newnick\n"
|
||||
" /allserv /nick newnick\n"
|
||||
" set away on all servers:\n"
|
||||
" /allserv away I'm away\n"
|
||||
" /allserv /away I'm away\n"
|
||||
" do a whois on my nick on all servers:\n"
|
||||
" /allserv whois $nick"
|
||||
" /allserv /whois $nick"
|
||||
msgstr ""
|
||||
|
||||
msgid "ban nicks or hosts"
|
||||
@@ -7842,6 +7868,13 @@ msgid_plural "voices"
|
||||
msgstr[0] ""
|
||||
msgstr[1] ""
|
||||
|
||||
#. TRANSLATORS: number of "normal" nicks on a channel (ie no op/voice), for example: "56 normals"
|
||||
#, c-format
|
||||
msgid "%s%s%d%s normal"
|
||||
msgid_plural "%s%s%d%s normals"
|
||||
msgstr[0] ""
|
||||
msgstr[1] ""
|
||||
|
||||
#, c-format
|
||||
msgid "%sChannel %s%s%s: %s%d%s %s %s(%s%s)"
|
||||
msgstr ""
|
||||
@@ -8671,6 +8704,13 @@ msgstr ""
|
||||
msgid "get nick color code"
|
||||
msgstr ""
|
||||
|
||||
msgid ""
|
||||
"nickname;colors (colors is an optional comma-separated list of colors to "
|
||||
"use; background is allowed for a color with format text:background; if "
|
||||
"colors is present, WeeChat options with nick colors and forced nick colors "
|
||||
"are ignored)"
|
||||
msgstr ""
|
||||
|
||||
msgid "get nick color name"
|
||||
msgstr ""
|
||||
|
||||
@@ -9826,6 +9866,12 @@ msgstr ""
|
||||
msgid "Script manager"
|
||||
msgstr ""
|
||||
|
||||
#, c-format
|
||||
msgid ""
|
||||
"%s%s: download of scripts is disabled by default; see /help script.scripts."
|
||||
"download_enabled"
|
||||
msgstr ""
|
||||
|
||||
msgid "WeeChat script manager"
|
||||
msgstr ""
|
||||
|
||||
@@ -10063,6 +10109,14 @@ msgid ""
|
||||
"expire)"
|
||||
msgstr ""
|
||||
|
||||
msgid ""
|
||||
"enable download of files from the scripts repository when the /script "
|
||||
"command is used (list of scripts and scripts themselves); the list of "
|
||||
"scripts is downloaded from the URL specified in the option script.scripts."
|
||||
"url; WeeChat will sometimes download again the list of scripts when you use "
|
||||
"the /script command, even if you don't install a script"
|
||||
msgstr ""
|
||||
|
||||
msgid "timeout (in seconds) for download of scripts and list of scripts"
|
||||
msgstr ""
|
||||
|
||||
|
||||
+2
-2
@@ -80,8 +80,8 @@ eval_debug_message (struct t_eval_context *eval_context, char *message, ...)
|
||||
return;
|
||||
|
||||
if (*(eval_context->debug)[0])
|
||||
string_dyn_concat (eval_context->debug, "\n");
|
||||
string_dyn_concat (eval_context->debug, vbuffer);
|
||||
string_dyn_concat (eval_context->debug, "\n", -1);
|
||||
string_dyn_concat (eval_context->debug, vbuffer, -1);
|
||||
|
||||
free (vbuffer);
|
||||
}
|
||||
|
||||
+11
-3
@@ -3978,6 +3978,10 @@ string_dyn_copy (char **string, const char *new_string)
|
||||
/*
|
||||
* Concatenates a string to a dynamic string and adjusts its size accordingly.
|
||||
*
|
||||
* The parameter "bytes" is the max number of bytes to concatenate
|
||||
* (a terminating null byte '\0' is automatically added); value -1 means
|
||||
* automatic: whole string "add" is concatenated.
|
||||
*
|
||||
* The string pointer (*string) is updated with the new allocated string
|
||||
* if the string had to be extended, or the same pointer if there was enough
|
||||
* size to concatenate the new string.
|
||||
@@ -3988,7 +3992,7 @@ string_dyn_copy (char **string, const char *new_string)
|
||||
*/
|
||||
|
||||
int
|
||||
string_dyn_concat (char **string, const char *add)
|
||||
string_dyn_concat (char **string, const char *add, int bytes)
|
||||
{
|
||||
struct t_string_dyn *ptr_string_dyn;
|
||||
char *string_realloc;
|
||||
@@ -3997,12 +4001,15 @@ string_dyn_concat (char **string, const char *add)
|
||||
if (!string || !*string)
|
||||
return 0;
|
||||
|
||||
if (!add || !add[0])
|
||||
if (!add || !add[0] || (bytes == 0))
|
||||
return 1;
|
||||
|
||||
ptr_string_dyn = (struct t_string_dyn *)string;
|
||||
|
||||
length_add = strlen (add);
|
||||
if ((bytes >= 0) && (bytes < (int)length_add))
|
||||
length_add = bytes;
|
||||
|
||||
new_size = ptr_string_dyn->size + length_add;
|
||||
|
||||
if (new_size > ptr_string_dyn->size_alloc)
|
||||
@@ -4027,8 +4034,9 @@ string_dyn_concat (char **string, const char *add)
|
||||
/* concatenate "add" after "string" */
|
||||
memmove (ptr_string_dyn->string + ptr_string_dyn->size - 1,
|
||||
add,
|
||||
length_add + 1);
|
||||
length_add);
|
||||
ptr_string_dyn->size = new_size;
|
||||
ptr_string_dyn->string[new_size - 1] = '\0';
|
||||
|
||||
return 1;
|
||||
}
|
||||
|
||||
@@ -134,7 +134,7 @@ extern const char *string_shared_get (const char *string);
|
||||
extern void string_shared_free (const char *string);
|
||||
extern char **string_dyn_alloc (int size_alloc);
|
||||
extern int string_dyn_copy (char **string, const char *new_string);
|
||||
extern int string_dyn_concat (char **string, const char *add);
|
||||
extern int string_dyn_concat (char **string, const char *add, int bytes);
|
||||
extern char *string_dyn_free (char **string, int free_string);
|
||||
extern void string_end ();
|
||||
|
||||
|
||||
@@ -614,8 +614,6 @@ gui_color_build (int number, int foreground, int background)
|
||||
void
|
||||
gui_color_init_vars ()
|
||||
{
|
||||
int size;
|
||||
|
||||
gui_color_term_has_colors = (has_colors ()) ? 1 : 0;
|
||||
gui_color_term_colors = 0;
|
||||
gui_color_term_color_pairs = 0;
|
||||
@@ -637,12 +635,9 @@ gui_color_init_vars ()
|
||||
/* TODO: ncurses may support 65536, but short type used for pairs supports only 32768? */
|
||||
gui_color_num_pairs = (gui_color_term_color_pairs >= 32768) ?
|
||||
32767 : gui_color_term_color_pairs - 1;
|
||||
size = (gui_color_term_colors + 2)
|
||||
* (gui_color_term_colors + 2)
|
||||
* sizeof (gui_color_pairs[0]);
|
||||
gui_color_pairs = malloc (size);
|
||||
if (gui_color_pairs)
|
||||
memset (gui_color_pairs, 0, size);
|
||||
gui_color_pairs = calloc (
|
||||
(gui_color_term_colors + 2) * (gui_color_term_colors + 2),
|
||||
sizeof (gui_color_pairs[0]));
|
||||
gui_color_pairs_used = 0;
|
||||
|
||||
/* reserved for future usage */
|
||||
@@ -667,10 +662,7 @@ gui_color_init_vars ()
|
||||
gui_color_term_color_pairs = 1;
|
||||
gui_color_term_can_change_color = 0;
|
||||
gui_color_num_pairs = 1;
|
||||
size = sizeof (gui_color_pairs[0]);
|
||||
gui_color_pairs = malloc (size);
|
||||
if (gui_color_pairs)
|
||||
memset (gui_color_pairs, 0, size);
|
||||
gui_color_pairs = calloc (1, sizeof (gui_color_pairs[0]));
|
||||
gui_color_pairs_used = 0;
|
||||
}
|
||||
}
|
||||
|
||||
+20
-17
@@ -1440,11 +1440,7 @@ gui_bar_item_hotlist_cb (const void *pointer, void *data,
|
||||
|
||||
buffer_without_name_displayed = NULL;
|
||||
if (CONFIG_BOOLEAN(config_look_hotlist_unique_numbers) && last_gui_buffer)
|
||||
{
|
||||
buffer_without_name_displayed = malloc (last_gui_buffer->number);
|
||||
if (buffer_without_name_displayed)
|
||||
memset (buffer_without_name_displayed, 0, last_gui_buffer->number);
|
||||
}
|
||||
buffer_without_name_displayed = calloc (last_gui_buffer->number, 1);
|
||||
|
||||
numbers_count = 0;
|
||||
names_count = 0;
|
||||
@@ -1773,7 +1769,7 @@ gui_bar_item_buffer_nicklist_cb (const void *pointer, void *data,
|
||||
&& ptr_group->visible))
|
||||
{
|
||||
if (*nicklist[0])
|
||||
string_dyn_concat (nicklist, "\n");
|
||||
string_dyn_concat (nicklist, "\n", -1);
|
||||
|
||||
if (ptr_nick)
|
||||
{
|
||||
@@ -1781,7 +1777,7 @@ gui_bar_item_buffer_nicklist_cb (const void *pointer, void *data,
|
||||
{
|
||||
for (i = 0; i < ptr_nick->group->level; i++)
|
||||
{
|
||||
string_dyn_concat (nicklist, " ");
|
||||
string_dyn_concat (nicklist, " ", -1);
|
||||
}
|
||||
}
|
||||
if (ptr_nick->prefix_color)
|
||||
@@ -1797,18 +1793,20 @@ gui_bar_item_buffer_nicklist_cb (const void *pointer, void *data,
|
||||
nicklist,
|
||||
gui_color_get_custom (
|
||||
gui_color_get_name (
|
||||
CONFIG_COLOR(ptr_option))));
|
||||
CONFIG_COLOR(ptr_option))),
|
||||
-1);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
string_dyn_concat (nicklist,
|
||||
gui_color_get_custom (
|
||||
ptr_nick->prefix_color));
|
||||
ptr_nick->prefix_color),
|
||||
-1);
|
||||
}
|
||||
}
|
||||
if (ptr_nick->prefix)
|
||||
string_dyn_concat (nicklist, ptr_nick->prefix);
|
||||
string_dyn_concat (nicklist, ptr_nick->prefix, -1);
|
||||
if (ptr_nick->color)
|
||||
{
|
||||
if (strchr (ptr_nick->color, '.'))
|
||||
@@ -1822,23 +1820,25 @@ gui_bar_item_buffer_nicklist_cb (const void *pointer, void *data,
|
||||
nicklist,
|
||||
gui_color_get_custom (
|
||||
gui_color_get_name (
|
||||
CONFIG_COLOR(ptr_option))));
|
||||
CONFIG_COLOR(ptr_option))),
|
||||
-1);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
string_dyn_concat (nicklist,
|
||||
gui_color_get_custom (
|
||||
ptr_nick->color));
|
||||
ptr_nick->color),
|
||||
-1);
|
||||
}
|
||||
}
|
||||
string_dyn_concat (nicklist, ptr_nick->name);
|
||||
string_dyn_concat (nicklist, ptr_nick->name, -1);
|
||||
}
|
||||
else
|
||||
{
|
||||
for (i = 0; i < ptr_group->level - 1; i++)
|
||||
{
|
||||
string_dyn_concat (nicklist, " ");
|
||||
string_dyn_concat (nicklist, " ", -1);
|
||||
}
|
||||
if (ptr_group->color)
|
||||
{
|
||||
@@ -1853,19 +1853,22 @@ gui_bar_item_buffer_nicklist_cb (const void *pointer, void *data,
|
||||
nicklist,
|
||||
gui_color_get_custom (
|
||||
gui_color_get_name (
|
||||
CONFIG_COLOR(ptr_option))));
|
||||
CONFIG_COLOR(ptr_option))),
|
||||
-1);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
string_dyn_concat (nicklist,
|
||||
gui_color_get_custom (
|
||||
ptr_group->color));
|
||||
ptr_group->color),
|
||||
-1);
|
||||
}
|
||||
}
|
||||
string_dyn_concat (nicklist,
|
||||
gui_nicklist_get_group_start (
|
||||
ptr_group->name));
|
||||
ptr_group->name),
|
||||
-1);
|
||||
}
|
||||
}
|
||||
gui_nicklist_get_next_item (buffer, &ptr_group, &ptr_nick);
|
||||
|
||||
@@ -717,7 +717,7 @@ gui_buffer_new (struct t_weechat_plugin *plugin,
|
||||
new_buffer->title = NULL;
|
||||
|
||||
/* chat content */
|
||||
new_buffer->own_lines = gui_lines_alloc ();
|
||||
new_buffer->own_lines = gui_line_lines_alloc ();
|
||||
new_buffer->mixed_lines = NULL;
|
||||
new_buffer->lines = new_buffer->own_lines;
|
||||
new_buffer->time_for_each_line = 1;
|
||||
@@ -3659,7 +3659,7 @@ gui_buffer_unmerge (struct t_gui_buffer *buffer, int number)
|
||||
{
|
||||
/* only one buffer will remain, so it will not be merged any more */
|
||||
gui_line_mixed_free_all (buffer);
|
||||
gui_lines_free (buffer->mixed_lines);
|
||||
gui_line_lines_free (buffer->mixed_lines);
|
||||
for (ptr_buffer = gui_buffers; ptr_buffer;
|
||||
ptr_buffer = ptr_buffer->next_buffer)
|
||||
{
|
||||
|
||||
+2
-2
@@ -906,9 +906,9 @@ gui_chat_add_line_waiting_buffer (const char *message)
|
||||
}
|
||||
|
||||
if (*gui_chat_lines_waiting_buffer[0])
|
||||
string_dyn_concat (gui_chat_lines_waiting_buffer, "\n");
|
||||
string_dyn_concat (gui_chat_lines_waiting_buffer, "\n", -1);
|
||||
|
||||
string_dyn_concat (gui_chat_lines_waiting_buffer, message);
|
||||
string_dyn_concat (gui_chat_lines_waiting_buffer, message, -1);
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
+206
-35
@@ -562,6 +562,179 @@ gui_color_convert_rgb_to_term (int rgb, int limit)
|
||||
return best_color;
|
||||
}
|
||||
|
||||
/*
|
||||
* Returns the size (in bytes) of the WeeChat color code at the beginning
|
||||
* of "string".
|
||||
*
|
||||
* If "string" is NULL, empty or does not start with a color code,
|
||||
* it returns 0.
|
||||
*
|
||||
* If "string" begins with multiple color codes, only the size of the first
|
||||
* one is returned.
|
||||
*/
|
||||
|
||||
int
|
||||
gui_color_code_size (const char *string)
|
||||
{
|
||||
const char *ptr_string;
|
||||
|
||||
if (!string)
|
||||
return 0;
|
||||
|
||||
ptr_string = string;
|
||||
|
||||
switch (ptr_string[0])
|
||||
{
|
||||
case GUI_COLOR_COLOR_CHAR:
|
||||
ptr_string++;
|
||||
switch (ptr_string[0])
|
||||
{
|
||||
case GUI_COLOR_FG_CHAR:
|
||||
ptr_string++;
|
||||
if (ptr_string[0] == GUI_COLOR_EXTENDED_CHAR)
|
||||
{
|
||||
ptr_string++;
|
||||
while (gui_color_attr_get_flag (ptr_string[0]) > 0)
|
||||
{
|
||||
ptr_string++;
|
||||
}
|
||||
if (ptr_string[0] && ptr_string[1] && ptr_string[2]
|
||||
&& ptr_string[3] && ptr_string[4])
|
||||
{
|
||||
ptr_string += 5;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
while (gui_color_attr_get_flag (ptr_string[0]) > 0)
|
||||
{
|
||||
ptr_string++;
|
||||
}
|
||||
if (ptr_string[0] && ptr_string[1])
|
||||
ptr_string += 2;
|
||||
}
|
||||
break;
|
||||
case GUI_COLOR_BG_CHAR:
|
||||
ptr_string++;
|
||||
if (ptr_string[0] == GUI_COLOR_EXTENDED_CHAR)
|
||||
{
|
||||
ptr_string++;
|
||||
if (ptr_string[0] && ptr_string[1] && ptr_string[2]
|
||||
&& ptr_string[3] && ptr_string[4])
|
||||
{
|
||||
ptr_string += 5;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
if (ptr_string[0] && ptr_string[1])
|
||||
ptr_string += 2;
|
||||
}
|
||||
break;
|
||||
case GUI_COLOR_FG_BG_CHAR:
|
||||
ptr_string++;
|
||||
if (ptr_string[0] == GUI_COLOR_EXTENDED_CHAR)
|
||||
{
|
||||
ptr_string++;
|
||||
while (gui_color_attr_get_flag (ptr_string[0]) > 0)
|
||||
{
|
||||
ptr_string++;
|
||||
}
|
||||
if (ptr_string[0] && ptr_string[1] && ptr_string[2]
|
||||
&& ptr_string[3] && ptr_string[4])
|
||||
{
|
||||
ptr_string += 5;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
while (gui_color_attr_get_flag (ptr_string[0]) > 0)
|
||||
{
|
||||
ptr_string++;
|
||||
}
|
||||
if (ptr_string[0] && ptr_string[1])
|
||||
ptr_string += 2;
|
||||
}
|
||||
/*
|
||||
* note: the comma is an old separator not used any
|
||||
* more (since WeeChat 2.6), but we still use it here
|
||||
* so in case of/upgrade this will not break colors in
|
||||
* old messages
|
||||
*/
|
||||
if ((ptr_string[0] == ',') || (ptr_string[0] == '~'))
|
||||
{
|
||||
if (ptr_string[1] == GUI_COLOR_EXTENDED_CHAR)
|
||||
{
|
||||
ptr_string += 2;
|
||||
if (ptr_string[0] && ptr_string[1]
|
||||
&& ptr_string[2] && ptr_string[3]
|
||||
&& ptr_string[4])
|
||||
{
|
||||
ptr_string += 5;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
ptr_string++;
|
||||
if (ptr_string[0] && ptr_string[1])
|
||||
ptr_string += 2;
|
||||
}
|
||||
}
|
||||
break;
|
||||
case GUI_COLOR_EXTENDED_CHAR:
|
||||
ptr_string++;
|
||||
if ((isdigit (ptr_string[0])) && (isdigit (ptr_string[1]))
|
||||
&& (isdigit (ptr_string[2])) && (isdigit (ptr_string[3]))
|
||||
&& (isdigit (ptr_string[4])))
|
||||
{
|
||||
ptr_string += 5;
|
||||
}
|
||||
break;
|
||||
case GUI_COLOR_EMPHASIS_CHAR:
|
||||
ptr_string++;
|
||||
break;
|
||||
case GUI_COLOR_BAR_CHAR:
|
||||
ptr_string++;
|
||||
switch (ptr_string[0])
|
||||
{
|
||||
case GUI_COLOR_BAR_FG_CHAR:
|
||||
case GUI_COLOR_BAR_BG_CHAR:
|
||||
case GUI_COLOR_BAR_DELIM_CHAR:
|
||||
case GUI_COLOR_BAR_START_INPUT_CHAR:
|
||||
case GUI_COLOR_BAR_START_INPUT_HIDDEN_CHAR:
|
||||
case GUI_COLOR_BAR_MOVE_CURSOR_CHAR:
|
||||
case GUI_COLOR_BAR_START_ITEM:
|
||||
case GUI_COLOR_BAR_START_LINE_ITEM:
|
||||
ptr_string++;
|
||||
break;
|
||||
}
|
||||
break;
|
||||
case GUI_COLOR_RESET_CHAR:
|
||||
ptr_string++;
|
||||
break;
|
||||
default:
|
||||
if (isdigit (ptr_string[0]) && isdigit (ptr_string[1]))
|
||||
ptr_string += 2;
|
||||
break;
|
||||
}
|
||||
return ptr_string - string;
|
||||
break;
|
||||
case GUI_COLOR_SET_ATTR_CHAR:
|
||||
case GUI_COLOR_REMOVE_ATTR_CHAR:
|
||||
ptr_string++;
|
||||
if (ptr_string[0])
|
||||
ptr_string++;
|
||||
return ptr_string - string;
|
||||
break;
|
||||
case GUI_COLOR_RESET_CHAR:
|
||||
ptr_string++;
|
||||
return ptr_string - string;
|
||||
break;
|
||||
}
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
/*
|
||||
* Removes WeeChat color codes from a message.
|
||||
*
|
||||
@@ -1019,16 +1192,16 @@ gui_color_add_ansi_flag (char **output, int flag)
|
||||
switch (flag)
|
||||
{
|
||||
case GUI_COLOR_EXTENDED_BOLD_FLAG:
|
||||
string_dyn_concat (output, "\x1B[1m");
|
||||
string_dyn_concat (output, "\x1B[1m", -1);
|
||||
break;
|
||||
case GUI_COLOR_EXTENDED_REVERSE_FLAG:
|
||||
string_dyn_concat (output, "\x1B[7m");
|
||||
string_dyn_concat (output, "\x1B[7m", -1);
|
||||
break;
|
||||
case GUI_COLOR_EXTENDED_ITALIC_FLAG:
|
||||
string_dyn_concat (output, "\x1B[3m");
|
||||
string_dyn_concat (output, "\x1B[3m", -1);
|
||||
break;
|
||||
case GUI_COLOR_EXTENDED_UNDERLINE_FLAG:
|
||||
string_dyn_concat (output, "\x1B[4m");
|
||||
string_dyn_concat (output, "\x1B[4m", -1);
|
||||
break;
|
||||
case GUI_COLOR_EXTENDED_KEEPATTR_FLAG:
|
||||
/* nothing to do here (really? not sure) */
|
||||
@@ -1111,7 +1284,7 @@ gui_color_encode_ansi (const char *string)
|
||||
snprintf (str_concat, sizeof (str_concat),
|
||||
"\x1B[38;5;%dm",
|
||||
color);
|
||||
string_dyn_concat (out, str_concat);
|
||||
string_dyn_concat (out, str_concat, -1);
|
||||
}
|
||||
ptr_string += 5;
|
||||
}
|
||||
@@ -1138,7 +1311,7 @@ gui_color_encode_ansi (const char *string)
|
||||
"\x1B[%dm",
|
||||
(ansi_color < 8) ?
|
||||
ansi_color + 30 : ansi_color - 8 + 90);
|
||||
string_dyn_concat (out, str_concat);
|
||||
string_dyn_concat (out, str_concat, -1);
|
||||
}
|
||||
}
|
||||
ptr_string += 2;
|
||||
@@ -1162,7 +1335,7 @@ gui_color_encode_ansi (const char *string)
|
||||
snprintf (str_concat, sizeof (str_concat),
|
||||
"\x1B[48;5;%dm",
|
||||
color);
|
||||
string_dyn_concat (out, str_concat);
|
||||
string_dyn_concat (out, str_concat, -1);
|
||||
}
|
||||
ptr_string += 5;
|
||||
}
|
||||
@@ -1184,7 +1357,7 @@ gui_color_encode_ansi (const char *string)
|
||||
"\x1B[%dm",
|
||||
(ansi_color < 8) ?
|
||||
ansi_color + 40 : ansi_color - 8 + 100);
|
||||
string_dyn_concat (out, str_concat);
|
||||
string_dyn_concat (out, str_concat, -1);
|
||||
}
|
||||
}
|
||||
ptr_string += 2;
|
||||
@@ -1213,7 +1386,7 @@ gui_color_encode_ansi (const char *string)
|
||||
snprintf (str_concat, sizeof (str_concat),
|
||||
"\x1B[38;5;%dm",
|
||||
color);
|
||||
string_dyn_concat (out, str_concat);
|
||||
string_dyn_concat (out, str_concat, -1);
|
||||
}
|
||||
ptr_string += 5;
|
||||
}
|
||||
@@ -1240,7 +1413,7 @@ gui_color_encode_ansi (const char *string)
|
||||
"\x1B[%dm",
|
||||
(ansi_color < 8) ?
|
||||
ansi_color + 30 : ansi_color - 8 + 90);
|
||||
string_dyn_concat (out, str_concat);
|
||||
string_dyn_concat (out, str_concat, -1);
|
||||
}
|
||||
}
|
||||
ptr_string += 2;
|
||||
@@ -1270,7 +1443,7 @@ gui_color_encode_ansi (const char *string)
|
||||
snprintf (str_concat, sizeof (str_concat),
|
||||
"\x1B[48;5;%dm",
|
||||
color);
|
||||
string_dyn_concat (out, str_concat);
|
||||
string_dyn_concat (out, str_concat, -1);
|
||||
}
|
||||
ptr_string += 5;
|
||||
}
|
||||
@@ -1293,7 +1466,7 @@ gui_color_encode_ansi (const char *string)
|
||||
"\x1B[%dm",
|
||||
(ansi_color < 8) ?
|
||||
ansi_color + 40 : ansi_color - 8 + 100);
|
||||
string_dyn_concat (out, str_concat);
|
||||
string_dyn_concat (out, str_concat, -1);
|
||||
}
|
||||
}
|
||||
ptr_string += 2;
|
||||
@@ -1316,7 +1489,7 @@ gui_color_encode_ansi (const char *string)
|
||||
snprintf (str_concat, sizeof (str_concat),
|
||||
"\x1B[38;5;%dm",
|
||||
color);
|
||||
string_dyn_concat (out, str_concat);
|
||||
string_dyn_concat (out, str_concat, -1);
|
||||
}
|
||||
ptr_string += 5;
|
||||
}
|
||||
@@ -1342,7 +1515,7 @@ gui_color_encode_ansi (const char *string)
|
||||
break;
|
||||
case GUI_COLOR_RESET_CHAR:
|
||||
ptr_string++;
|
||||
string_dyn_concat (out, "\x1B[39m\x1B[49m");
|
||||
string_dyn_concat (out, "\x1B[39m\x1B[49m", -1);
|
||||
break;
|
||||
default:
|
||||
if (isdigit (ptr_string[0]) && isdigit (ptr_string[1]))
|
||||
@@ -1359,40 +1532,40 @@ gui_color_encode_ansi (const char *string)
|
||||
bg = gui_color[color]->background;
|
||||
attrs = gui_color_get_extended_flags (
|
||||
gui_color[color]->attributes);
|
||||
string_dyn_concat (out, "\x1B[0m");
|
||||
string_dyn_concat (out, "\x1B[0m", -1);
|
||||
if (attrs & GUI_COLOR_EXTENDED_BOLD_FLAG)
|
||||
string_dyn_concat (out, "\x1B[1m");
|
||||
string_dyn_concat (out, "\x1B[1m", -1);
|
||||
if (attrs & GUI_COLOR_EXTENDED_REVERSE_FLAG)
|
||||
string_dyn_concat (out, "\x1B[7m");
|
||||
string_dyn_concat (out, "\x1B[7m", -1);
|
||||
if (attrs & GUI_COLOR_EXTENDED_ITALIC_FLAG)
|
||||
string_dyn_concat (out, "\x1B[3m");
|
||||
string_dyn_concat (out, "\x1B[3m", -1);
|
||||
if (attrs & GUI_COLOR_EXTENDED_UNDERLINE_FLAG)
|
||||
string_dyn_concat (out, "\x1B[4m");
|
||||
string_dyn_concat (out, "\x1B[4m", -1);
|
||||
if ((fg > 0) && (fg & GUI_COLOR_EXTENDED_FLAG))
|
||||
fg &= GUI_COLOR_EXTENDED_MASK;
|
||||
if ((bg > 0) && (bg & GUI_COLOR_EXTENDED_FLAG))
|
||||
bg &= GUI_COLOR_EXTENDED_MASK;
|
||||
if (fg < 0)
|
||||
{
|
||||
string_dyn_concat (out, "\x1B[39m");
|
||||
string_dyn_concat (out, "\x1B[39m", -1);
|
||||
}
|
||||
else
|
||||
{
|
||||
snprintf (str_concat, sizeof (str_concat),
|
||||
"\x1B[38;5;%dm",
|
||||
fg);
|
||||
string_dyn_concat (out, str_concat);
|
||||
string_dyn_concat (out, str_concat, -1);
|
||||
}
|
||||
if (bg < 0)
|
||||
{
|
||||
string_dyn_concat (out, "\x1B[49m");
|
||||
string_dyn_concat (out, "\x1B[49m", -1);
|
||||
}
|
||||
else
|
||||
{
|
||||
snprintf (str_concat, sizeof (str_concat),
|
||||
"\x1B[48;5;%dm",
|
||||
bg);
|
||||
string_dyn_concat (out, str_concat);
|
||||
string_dyn_concat (out, str_concat, -1);
|
||||
}
|
||||
}
|
||||
ptr_string += 2;
|
||||
@@ -1407,16 +1580,16 @@ gui_color_encode_ansi (const char *string)
|
||||
switch (ptr_string[0])
|
||||
{
|
||||
case GUI_COLOR_ATTR_BOLD_CHAR:
|
||||
string_dyn_concat (out, "\x1B[1m");
|
||||
string_dyn_concat (out, "\x1B[1m", -1);
|
||||
break;
|
||||
case GUI_COLOR_ATTR_REVERSE_CHAR:
|
||||
string_dyn_concat (out, "\x1B[7m");
|
||||
string_dyn_concat (out, "\x1B[7m", -1);
|
||||
break;
|
||||
case GUI_COLOR_ATTR_ITALIC_CHAR:
|
||||
string_dyn_concat (out, "\x1B[3m");
|
||||
string_dyn_concat (out, "\x1B[3m", -1);
|
||||
break;
|
||||
case GUI_COLOR_ATTR_UNDERLINE_CHAR:
|
||||
string_dyn_concat (out, "\x1B[4m");
|
||||
string_dyn_concat (out, "\x1B[4m", -1);
|
||||
break;
|
||||
}
|
||||
ptr_string++;
|
||||
@@ -1429,32 +1602,30 @@ gui_color_encode_ansi (const char *string)
|
||||
switch (ptr_string[0])
|
||||
{
|
||||
case GUI_COLOR_ATTR_BOLD_CHAR:
|
||||
string_dyn_concat (out, "\x1B[21m");
|
||||
string_dyn_concat (out, "\x1B[21m", -1);
|
||||
break;
|
||||
case GUI_COLOR_ATTR_REVERSE_CHAR:
|
||||
string_dyn_concat (out, "\x1B[27m");
|
||||
string_dyn_concat (out, "\x1B[27m", -1);
|
||||
break;
|
||||
case GUI_COLOR_ATTR_ITALIC_CHAR:
|
||||
string_dyn_concat (out, "\x1B[23m");
|
||||
string_dyn_concat (out, "\x1B[23m", -1);
|
||||
break;
|
||||
case GUI_COLOR_ATTR_UNDERLINE_CHAR:
|
||||
string_dyn_concat (out, "\x1B[24m");
|
||||
string_dyn_concat (out, "\x1B[24m", -1);
|
||||
break;
|
||||
}
|
||||
ptr_string++;
|
||||
}
|
||||
break;
|
||||
case GUI_COLOR_RESET_CHAR:
|
||||
string_dyn_concat (out, "\x1B[0m");
|
||||
string_dyn_concat (out, "\x1B[0m", -1);
|
||||
ptr_string++;
|
||||
break;
|
||||
default:
|
||||
length = utf8_char_size ((char *)ptr_string);
|
||||
if (length == 0)
|
||||
length = 1;
|
||||
memcpy (str_concat, ptr_string, length);
|
||||
str_concat[length] = '\0';
|
||||
string_dyn_concat (out, str_concat);
|
||||
string_dyn_concat (out, (const char *)ptr_string, length);
|
||||
ptr_string += length;
|
||||
break;
|
||||
}
|
||||
|
||||
@@ -186,6 +186,7 @@ extern void gui_color_attr_build_string (int color, char *str_attr);
|
||||
extern const char *gui_color_get_custom (const char *color_name);
|
||||
extern int gui_color_convert_term_to_rgb (int color);
|
||||
extern int gui_color_convert_rgb_to_term (int rgb, int limit);
|
||||
extern int gui_color_code_size (const char *string);
|
||||
extern char *gui_color_decode (const char *string, const char *replacement);
|
||||
extern char *gui_color_decode_ansi (const char *string, int keep_colors);
|
||||
extern char *gui_color_encode_ansi (const char *string);
|
||||
|
||||
+91
-55
@@ -54,7 +54,7 @@
|
||||
*/
|
||||
|
||||
struct t_gui_lines *
|
||||
gui_lines_alloc ()
|
||||
gui_line_lines_alloc ()
|
||||
{
|
||||
struct t_gui_lines *new_lines;
|
||||
|
||||
@@ -81,7 +81,7 @@ gui_lines_alloc ()
|
||||
*/
|
||||
|
||||
void
|
||||
gui_lines_free (struct t_gui_lines *lines)
|
||||
gui_line_lines_free (struct t_gui_lines *lines)
|
||||
{
|
||||
if (!lines)
|
||||
return;
|
||||
@@ -96,6 +96,9 @@ gui_lines_free (struct t_gui_lines *lines)
|
||||
void
|
||||
gui_line_tags_alloc (struct t_gui_line_data *line_data, const char *tags)
|
||||
{
|
||||
if (!line_data)
|
||||
return;
|
||||
|
||||
if (tags)
|
||||
{
|
||||
line_data->tags_array = string_split_shared (tags, ",", NULL, 0, 0,
|
||||
@@ -380,6 +383,9 @@ gui_line_get_align (struct t_gui_buffer *buffer, struct t_gui_line *line,
|
||||
int
|
||||
gui_line_is_displayed (struct t_gui_line *line)
|
||||
{
|
||||
if (!line)
|
||||
return 0;
|
||||
|
||||
/* line is hidden if filters are enabled and flag "displayed" is not set */
|
||||
if (gui_filters_enabled && !line->data->displayed)
|
||||
return 0;
|
||||
@@ -620,6 +626,9 @@ gui_line_has_tag_no_filter (struct t_gui_line_data *line_data)
|
||||
{
|
||||
int i;
|
||||
|
||||
if (!line_data)
|
||||
return 0;
|
||||
|
||||
for (i = 0; i < line_data->tags_count; i++)
|
||||
{
|
||||
if (strcmp (line_data->tags_array[i], GUI_FILTER_TAG_NO_FILTER) == 0)
|
||||
@@ -727,6 +736,9 @@ gui_line_get_nick_tag (struct t_gui_line *line)
|
||||
{
|
||||
const char *tag;
|
||||
|
||||
if (!line)
|
||||
return NULL;
|
||||
|
||||
tag = gui_line_search_tag_starting_with (line, "nick_");
|
||||
if (!tag)
|
||||
return NULL;
|
||||
@@ -1229,77 +1241,80 @@ gui_line_free_all (struct t_gui_buffer *buffer)
|
||||
}
|
||||
|
||||
/*
|
||||
* Gets notify level for a line.
|
||||
* Gets max notify level for a line, according to the nick.
|
||||
*
|
||||
* Returns notify level of line, -1 if tag "notify_none" is found (meaning no
|
||||
* notify at all for line).
|
||||
* Returns max notify level, between -1 and GUI_HOTLIST_HIGHLIGHT.
|
||||
*/
|
||||
|
||||
int
|
||||
gui_line_get_notify_level (struct t_gui_line *line)
|
||||
gui_line_get_max_notify_level (struct t_gui_line *line)
|
||||
{
|
||||
int i, notify_level, *max_notify_level;
|
||||
int max_notify_level, *ptr_max_notify_level;
|
||||
const char *nick;
|
||||
|
||||
notify_level = GUI_HOTLIST_LOW;
|
||||
max_notify_level = GUI_HOTLIST_HIGHLIGHT;
|
||||
|
||||
nick = gui_line_get_nick_tag (line);
|
||||
if (nick)
|
||||
{
|
||||
ptr_max_notify_level = hashtable_get (
|
||||
line->data->buffer->hotlist_max_level_nicks,
|
||||
nick);
|
||||
if (ptr_max_notify_level)
|
||||
max_notify_level = *ptr_max_notify_level;
|
||||
}
|
||||
|
||||
return max_notify_level;
|
||||
}
|
||||
|
||||
/*
|
||||
* Sets the notify level in a line:
|
||||
* -1: no notify at all
|
||||
* 0: low (GUI_HOTLIST_LOW)
|
||||
* 1: message (GUI_HOTLIST_MESSAGE)
|
||||
* 2: private message (GUI_HOTLIST_PRIVATE)
|
||||
* 3: message with highlight (GUI_HOTLIST_HIGHLIGHT)
|
||||
*/
|
||||
|
||||
void
|
||||
gui_line_set_notify_level (struct t_gui_line *line, int max_notify_level)
|
||||
{
|
||||
int i;
|
||||
|
||||
line->data->notify_level = GUI_HOTLIST_LOW;
|
||||
|
||||
for (i = 0; i < line->data->tags_count; i++)
|
||||
{
|
||||
if (string_strcasecmp (line->data->tags_array[i], "notify_none") == 0)
|
||||
notify_level = -1;
|
||||
if (string_strcasecmp (line->data->tags_array[i], "notify_highlight") == 0)
|
||||
notify_level = GUI_HOTLIST_HIGHLIGHT;
|
||||
if (string_strcasecmp (line->data->tags_array[i], "notify_private") == 0)
|
||||
notify_level = GUI_HOTLIST_PRIVATE;
|
||||
line->data->notify_level = -1;
|
||||
if (string_strcasecmp (line->data->tags_array[i], "notify_message") == 0)
|
||||
notify_level = GUI_HOTLIST_MESSAGE;
|
||||
line->data->notify_level = GUI_HOTLIST_MESSAGE;
|
||||
if (string_strcasecmp (line->data->tags_array[i], "notify_private") == 0)
|
||||
line->data->notify_level = GUI_HOTLIST_PRIVATE;
|
||||
if (string_strcasecmp (line->data->tags_array[i], "notify_highlight") == 0)
|
||||
line->data->notify_level = GUI_HOTLIST_HIGHLIGHT;
|
||||
}
|
||||
|
||||
max_notify_level = NULL;
|
||||
nick = gui_line_get_nick_tag (line);
|
||||
if (nick)
|
||||
{
|
||||
max_notify_level = hashtable_get (line->data->buffer->hotlist_max_level_nicks,
|
||||
nick);
|
||||
}
|
||||
if (max_notify_level && (*max_notify_level < notify_level))
|
||||
notify_level = *max_notify_level;
|
||||
|
||||
return notify_level;
|
||||
if (line->data->notify_level > max_notify_level)
|
||||
line->data->notify_level = max_notify_level;
|
||||
}
|
||||
|
||||
/*
|
||||
* Gets highlight flag for a line, using the notify level in the line.
|
||||
*
|
||||
* Returns 1 for highlight otherwise 0.
|
||||
* Sets highlight flag in a line:
|
||||
* 0: no highlight
|
||||
* 1: highlight
|
||||
*/
|
||||
|
||||
int
|
||||
gui_line_get_highlight (struct t_gui_line *line)
|
||||
void
|
||||
gui_line_set_highlight (struct t_gui_line *line, int max_notify_level)
|
||||
{
|
||||
int highlight, *max_notify_level;
|
||||
const char *nick;
|
||||
|
||||
if (line->data->notify_level == GUI_HOTLIST_HIGHLIGHT)
|
||||
{
|
||||
highlight = 1;
|
||||
}
|
||||
line->data->highlight = 1;
|
||||
else
|
||||
{
|
||||
max_notify_level = NULL;
|
||||
nick = gui_line_get_nick_tag (line);
|
||||
if (nick)
|
||||
{
|
||||
max_notify_level = hashtable_get (line->data->buffer->hotlist_max_level_nicks,
|
||||
nick);
|
||||
}
|
||||
if (max_notify_level && (*max_notify_level < GUI_HOTLIST_HIGHLIGHT))
|
||||
highlight = 0;
|
||||
else
|
||||
highlight = gui_line_has_highlight (line);
|
||||
line->data->highlight = (max_notify_level == GUI_HOTLIST_HIGHLIGHT) ?
|
||||
gui_line_has_highlight (line) : 0;
|
||||
}
|
||||
|
||||
return highlight;
|
||||
}
|
||||
|
||||
/*
|
||||
@@ -1313,6 +1328,7 @@ gui_line_new (struct t_gui_buffer *buffer, int y, time_t date,
|
||||
{
|
||||
struct t_gui_line *new_line;
|
||||
struct t_gui_line_data *new_line_data;
|
||||
int max_notify_level;
|
||||
|
||||
/* create new line */
|
||||
new_line = malloc (sizeof (*new_line));
|
||||
@@ -1344,8 +1360,11 @@ gui_line_new (struct t_gui_buffer *buffer, int y, time_t date,
|
||||
(char *)string_shared_get (prefix) : ((date != 0) ? (char *)string_shared_get ("") : NULL);
|
||||
new_line->data->prefix_length = (prefix) ?
|
||||
gui_chat_strlen_screen (prefix) : 0;
|
||||
new_line->data->notify_level = gui_line_get_notify_level (new_line);
|
||||
new_line->data->highlight = gui_line_get_highlight (new_line);
|
||||
max_notify_level = gui_line_get_max_notify_level (new_line);
|
||||
gui_line_set_notify_level (new_line, max_notify_level);
|
||||
gui_line_set_highlight (new_line, max_notify_level);
|
||||
if (new_line->data->highlight && (new_line->data->notify_level >= 0))
|
||||
new_line->data->notify_level = GUI_HOTLIST_HIGHLIGHT;
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -1386,6 +1405,7 @@ gui_line_hook_update (struct t_gui_line *line,
|
||||
long value;
|
||||
char *error;
|
||||
int rc, tags_updated, notify_level_updated, highlight_updated;
|
||||
int max_notify_level;
|
||||
|
||||
tags_updated = 0;
|
||||
notify_level_updated = 0;
|
||||
@@ -1531,16 +1551,31 @@ gui_line_hook_update (struct t_gui_line *line,
|
||||
line->data->message = (ptr_value2) ? strdup (ptr_value2) : NULL;
|
||||
}
|
||||
|
||||
max_notify_level = gui_line_get_max_notify_level (line);
|
||||
|
||||
/* if tags were updated but not notify_level, adjust notify level */
|
||||
if (tags_updated && !notify_level_updated)
|
||||
line->data->notify_level = gui_line_get_notify_level (line);
|
||||
gui_line_set_notify_level (line, max_notify_level);
|
||||
|
||||
/* adjust flag "displayed" if tags were updated */
|
||||
if (tags_updated)
|
||||
line->data->displayed = gui_filter_check_line (line->data);
|
||||
|
||||
if ((tags_updated || notify_level_updated) && !highlight_updated)
|
||||
line->data->highlight = gui_line_get_highlight (line);
|
||||
{
|
||||
gui_line_set_highlight (line, max_notify_level);
|
||||
if (line->data->highlight && !notify_level_updated
|
||||
&& (line->data->notify_level >= 0))
|
||||
{
|
||||
line->data->notify_level = GUI_HOTLIST_HIGHLIGHT;
|
||||
}
|
||||
}
|
||||
|
||||
if (!notify_level_updated && highlight_updated && line->data->highlight
|
||||
&& (line->data->notify_level >= 0))
|
||||
{
|
||||
line->data->notify_level = GUI_HOTLIST_HIGHLIGHT;
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
@@ -1581,7 +1616,8 @@ gui_line_add (struct t_gui_line *line)
|
||||
/* update hotlist and/or send signals for line */
|
||||
if (line->data->displayed)
|
||||
{
|
||||
if (line->data->highlight)
|
||||
if ((line->data->notify_level >= GUI_HOTLIST_MIN)
|
||||
&& line->data->highlight)
|
||||
{
|
||||
(void) gui_hotlist_add (line->data->buffer,
|
||||
GUI_HOTLIST_HIGHLIGHT, NULL);
|
||||
@@ -1786,7 +1822,7 @@ gui_line_mix_buffers (struct t_gui_buffer *buffer)
|
||||
return;
|
||||
|
||||
/* mix all lines (sorting by date) to a new structure "new_lines" */
|
||||
new_lines = gui_lines_alloc ();
|
||||
new_lines = gui_line_lines_alloc ();
|
||||
if (!new_lines)
|
||||
return;
|
||||
ptr_line1 = ptr_buffer_found->lines->first_line;
|
||||
|
||||
+7
-3
@@ -69,8 +69,8 @@ struct t_gui_lines
|
||||
|
||||
/* line functions */
|
||||
|
||||
extern struct t_gui_lines *gui_lines_alloc ();
|
||||
extern void gui_lines_free (struct t_gui_lines *lines);
|
||||
extern struct t_gui_lines *gui_line_lines_alloc ();
|
||||
extern void gui_line_lines_free (struct t_gui_lines *lines);
|
||||
extern void gui_line_tags_alloc (struct t_gui_line_data *line_data,
|
||||
const char *tags);
|
||||
extern void gui_line_tags_free (struct t_gui_line_data *line_data);
|
||||
@@ -107,7 +107,11 @@ extern void gui_line_free_data (struct t_gui_line *line);
|
||||
extern void gui_line_free (struct t_gui_buffer *buffer,
|
||||
struct t_gui_line *line);
|
||||
extern void gui_line_free_all (struct t_gui_buffer *buffer);
|
||||
extern int gui_line_get_notify_level (struct t_gui_line *line);
|
||||
extern int gui_line_get_max_notify_level (struct t_gui_line *line);
|
||||
extern void gui_line_set_notify_level (struct t_gui_line *line,
|
||||
int max_notify_level);
|
||||
extern void gui_line_set_highlight (struct t_gui_line *line,
|
||||
int max_notify_level);
|
||||
extern struct t_gui_line *gui_line_new (struct t_gui_buffer *buffer,
|
||||
int y,
|
||||
time_t date,
|
||||
|
||||
+87
-76
@@ -105,12 +105,15 @@ gui_nick_hash_sum_32 (const char *nickname, uint32_t *color_32)
|
||||
/*
|
||||
* Hashes a nickname to find color.
|
||||
*
|
||||
* Returns a number which is the index of color in the nicks colors of option
|
||||
* Returns a number which is between 0 and num_colors - 1 (inclusive).
|
||||
*
|
||||
* num_colors is commonly the number of colors in the option
|
||||
* "weechat.color.chat_nick_colors".
|
||||
* If num_colors is < 0, the hash itself is returned (64-bit unsigned number).
|
||||
*/
|
||||
|
||||
int
|
||||
gui_nick_hash_color (const char *nickname)
|
||||
uint64_t
|
||||
gui_nick_hash_color (const char *nickname, int num_colors)
|
||||
{
|
||||
const char *ptr_salt;
|
||||
uint64_t color_64;
|
||||
@@ -119,10 +122,7 @@ gui_nick_hash_color (const char *nickname)
|
||||
if (!nickname || !nickname[0])
|
||||
return 0;
|
||||
|
||||
if (!config_nick_colors)
|
||||
config_set_nick_colors ();
|
||||
|
||||
if (config_num_nick_colors == 0)
|
||||
if (num_colors == 0)
|
||||
return 0;
|
||||
|
||||
ptr_salt = CONFIG_STRING(config_look_nick_color_hash_salt);
|
||||
@@ -132,26 +132,26 @@ gui_nick_hash_color (const char *nickname)
|
||||
switch (CONFIG_INTEGER(config_look_nick_color_hash))
|
||||
{
|
||||
case CONFIG_LOOK_NICK_COLOR_HASH_DJB2:
|
||||
/* variant of djb2 hash */
|
||||
/* variant of djb2 hash, using 64-bit integer */
|
||||
color_64 = 5381;
|
||||
gui_nick_hash_djb2_64 (ptr_salt, &color_64);
|
||||
gui_nick_hash_djb2_64 (nickname, &color_64);
|
||||
break;
|
||||
case CONFIG_LOOK_NICK_COLOR_HASH_SUM:
|
||||
/* sum of letters */
|
||||
/* sum of letters, using 64-bit integer */
|
||||
color_64 = 0;
|
||||
gui_nick_hash_sum_64 (ptr_salt, &color_64);
|
||||
gui_nick_hash_sum_64 (nickname, &color_64);
|
||||
break;
|
||||
case CONFIG_LOOK_NICK_COLOR_HASH_DJB2_32:
|
||||
/* variant of djb2 hash (using 32-bit integer) */
|
||||
/* variant of djb2 hash, using 32-bit integer */
|
||||
color_32 = 5381;
|
||||
gui_nick_hash_djb2_32 (ptr_salt, &color_32);
|
||||
gui_nick_hash_djb2_32 (nickname, &color_32);
|
||||
color_64 = color_32;
|
||||
break;
|
||||
case CONFIG_LOOK_NICK_COLOR_HASH_SUM_32:
|
||||
/* sum of letters (using 32-bit integer) */
|
||||
/* sum of letters, using 32-bit integer */
|
||||
color_32 = 0;
|
||||
gui_nick_hash_sum_32 (ptr_salt, &color_32);
|
||||
gui_nick_hash_sum_32 (nickname, &color_32);
|
||||
@@ -159,7 +159,7 @@ gui_nick_hash_color (const char *nickname)
|
||||
break;
|
||||
}
|
||||
|
||||
return (color_64 % config_num_nick_colors);
|
||||
return (num_colors > 0) ? color_64 % num_colors : color_64;
|
||||
}
|
||||
|
||||
/*
|
||||
@@ -242,95 +242,106 @@ gui_nick_strdup_for_color (const char *nickname)
|
||||
}
|
||||
|
||||
/*
|
||||
* Finds a color code for a nick (according to nick letters).
|
||||
* Finds a color name for a nick (according to nick letters).
|
||||
*
|
||||
* Returns a WeeChat color code (that can be used for display).
|
||||
* If colors is NULL (most common case), the color returned is either a forced
|
||||
* color (from option "weechat.look.nick_color_force") or a color from option
|
||||
* "weechat.color.chat_nick_colors".
|
||||
*
|
||||
* If colors is set and not empty, a color from this list is returned
|
||||
* (format of argument: comma-separated list of colors, a background is
|
||||
* allowed with format "fg:bg", for example: "blue,yellow:red" for blue and
|
||||
* yellow on red).
|
||||
*
|
||||
* Returns the name of a color (for example: "green").
|
||||
*
|
||||
* Note: result must be freed after use.
|
||||
*/
|
||||
|
||||
const char *
|
||||
gui_nick_find_color (const char *nickname)
|
||||
char *
|
||||
gui_nick_find_color_name (const char *nickname, const char *colors)
|
||||
{
|
||||
int color;
|
||||
char *nickname2;
|
||||
const char *forced_color, *str_color;
|
||||
int color, num_colors;
|
||||
char *nickname2, **list_colors, *result;
|
||||
const char *forced_color, *ptr_result;
|
||||
static char *default_color = "default";
|
||||
|
||||
list_colors = NULL;
|
||||
num_colors = 0;
|
||||
nickname2 = NULL;
|
||||
ptr_result = NULL;
|
||||
|
||||
if (!nickname || !nickname[0])
|
||||
return gui_color_get_custom ("default");
|
||||
goto end;
|
||||
|
||||
if (!config_nick_colors)
|
||||
config_set_nick_colors ();
|
||||
|
||||
if (config_num_nick_colors == 0)
|
||||
return gui_color_get_custom ("default");
|
||||
if (colors && colors[0])
|
||||
{
|
||||
list_colors = string_split (colors, ",", NULL, 0, 0, &num_colors);
|
||||
if (!list_colors || (num_colors == 0))
|
||||
goto end;
|
||||
}
|
||||
|
||||
nickname2 = gui_nick_strdup_for_color (nickname);
|
||||
|
||||
/* look if color is forced */
|
||||
forced_color = gui_nick_get_forced_color (
|
||||
(nickname2) ? nickname2 : nickname);
|
||||
if (forced_color)
|
||||
if (!list_colors)
|
||||
{
|
||||
forced_color = gui_color_get_custom (forced_color);
|
||||
if (forced_color && forced_color[0])
|
||||
/* look if color is forced for the nick */
|
||||
forced_color = gui_nick_get_forced_color (
|
||||
(nickname2) ? nickname2 : nickname);
|
||||
if (forced_color)
|
||||
{
|
||||
if (nickname2)
|
||||
free (nickname2);
|
||||
return forced_color;
|
||||
ptr_result = forced_color;
|
||||
goto end;
|
||||
}
|
||||
/* ensure nick colors are properly set */
|
||||
if (!config_nick_colors)
|
||||
config_set_nick_colors ();
|
||||
if (config_num_nick_colors == 0)
|
||||
goto end;
|
||||
}
|
||||
|
||||
/* hash nickname to get color */
|
||||
color = gui_nick_hash_color ((nickname2) ? nickname2 : nickname);
|
||||
color = gui_nick_hash_color (
|
||||
(nickname2) ? nickname2 : nickname,
|
||||
(list_colors) ? num_colors : config_num_nick_colors);
|
||||
ptr_result = (list_colors) ?
|
||||
list_colors[color] : config_nick_colors[color];
|
||||
|
||||
end:
|
||||
result = strdup ((ptr_result) ? ptr_result : default_color);
|
||||
if (list_colors)
|
||||
string_free_split (list_colors);
|
||||
if (nickname2)
|
||||
free (nickname2);
|
||||
|
||||
/* return color */
|
||||
str_color = gui_color_get_custom (config_nick_colors[color]);
|
||||
return (str_color[0]) ? str_color : gui_color_get_custom ("default");
|
||||
return result;
|
||||
}
|
||||
|
||||
/*
|
||||
* Finds a color name for a nick (according to nick letters).
|
||||
* Finds a color code for a nick (according to nick letters).
|
||||
*
|
||||
* Returns the name of a color (for example: "green").
|
||||
* If colors is NULL (most common case), the color returned is either a forced
|
||||
* color (from option "weechat.look.nick_color_force") or a color from option
|
||||
* "weechat.color.chat_nick_colors".
|
||||
*
|
||||
* If colors is set and not empty, a color from this list is returned
|
||||
* (format of argument: comma-separated list of colors, a background is
|
||||
* allowed with format "fg:bg", for example: "blue,yellow:red" for blue and
|
||||
* yellow on red).
|
||||
*
|
||||
* Returns a WeeChat color code (that can be used for display).
|
||||
*
|
||||
* Note: result must be freed after use.
|
||||
*/
|
||||
|
||||
const char *
|
||||
gui_nick_find_color_name (const char *nickname)
|
||||
char *
|
||||
gui_nick_find_color (const char *nickname, const char *colors)
|
||||
{
|
||||
int color;
|
||||
char *nickname2;
|
||||
const char *forced_color;
|
||||
static char *default_color = "default";
|
||||
char *color;
|
||||
const char *ptr_result;
|
||||
|
||||
if (!nickname || !nickname[0])
|
||||
return default_color;
|
||||
|
||||
if (!config_nick_colors)
|
||||
config_set_nick_colors ();
|
||||
|
||||
if (config_num_nick_colors == 0)
|
||||
return default_color;
|
||||
|
||||
nickname2 = gui_nick_strdup_for_color (nickname);
|
||||
|
||||
/* look if color is forced */
|
||||
forced_color = gui_nick_get_forced_color (
|
||||
(nickname2) ? nickname2 : nickname);
|
||||
if (forced_color)
|
||||
{
|
||||
if (nickname2)
|
||||
free (nickname2);
|
||||
return forced_color;
|
||||
}
|
||||
|
||||
/* hash nickname to get color */
|
||||
color = gui_nick_hash_color ((nickname2) ? nickname2 : nickname);
|
||||
|
||||
if (nickname2)
|
||||
free (nickname2);
|
||||
|
||||
/* return color name */
|
||||
return config_nick_colors[color];
|
||||
color = gui_nick_find_color_name (nickname, colors);
|
||||
ptr_result = gui_color_get_custom (color);
|
||||
if (color)
|
||||
free (color);
|
||||
return (ptr_result) ? strdup (ptr_result) : NULL;
|
||||
}
|
||||
|
||||
+4
-2
@@ -20,7 +20,9 @@
|
||||
#ifndef WEECHAT_GUI_NICK_H
|
||||
#define WEECHAT_GUI_NICK_H
|
||||
|
||||
extern const char *gui_nick_find_color (const char *nickname);
|
||||
extern const char *gui_nick_find_color_name (const char *nickname);
|
||||
extern char *gui_nick_find_color_name (const char *nickname,
|
||||
const char *colors);
|
||||
extern char *gui_nick_find_color (const char *nickname,
|
||||
const char *colors);
|
||||
|
||||
#endif /* WEECHAT_GUI_NICK_H */
|
||||
|
||||
@@ -282,7 +282,7 @@ alias_command_init ()
|
||||
" /alias add split /window splith\n"
|
||||
" alias /hello to say \"hello\" on all channels but not on "
|
||||
"#weechat:\n"
|
||||
" /alias add hello /allchan -exclude=#weechat msg * hello\n"
|
||||
" /alias add hello /allchan -exclude=#weechat hello\n"
|
||||
" alias /forcejoin to send IRC command \"forcejoin\" with "
|
||||
"completion of /sajoin:\n"
|
||||
" /alias addcompletion %%sajoin forcejoin /quote forcejoin"),
|
||||
|
||||
@@ -542,15 +542,19 @@ buflist_bar_item_buflist_cb (const void *pointer, void *data,
|
||||
weechat_string_dyn_concat (
|
||||
hotlist,
|
||||
weechat_config_string (
|
||||
buflist_config_format_hotlist_separator));
|
||||
buflist_config_format_hotlist_separator),
|
||||
-1);
|
||||
}
|
||||
weechat_string_dyn_concat (
|
||||
hotlist,
|
||||
weechat_config_string (
|
||||
buflist_config_format_hotlist_level[j]));
|
||||
buflist_config_format_hotlist_level[j]),
|
||||
-1);
|
||||
snprintf (str_hotlist_count, sizeof (str_hotlist_count),
|
||||
"%d", count);
|
||||
weechat_string_dyn_concat (hotlist, str_hotlist_count);
|
||||
weechat_string_dyn_concat (hotlist,
|
||||
str_hotlist_count,
|
||||
-1);
|
||||
}
|
||||
}
|
||||
str_hotlist = *hotlist;
|
||||
@@ -606,7 +610,7 @@ buflist_bar_item_buflist_cb (const void *pointer, void *data,
|
||||
if (weechat_config_boolean (buflist_config_look_add_newline)
|
||||
&& *buflist[0])
|
||||
{
|
||||
if (!weechat_string_dyn_concat (buflist, "\n"))
|
||||
if (!weechat_string_dyn_concat (buflist, "\n", -1))
|
||||
goto error;
|
||||
}
|
||||
|
||||
@@ -618,7 +622,7 @@ buflist_bar_item_buflist_cb (const void *pointer, void *data,
|
||||
NULL);
|
||||
|
||||
/* concatenate string */
|
||||
rc = weechat_string_dyn_concat (buflist, line);
|
||||
rc = weechat_string_dyn_concat (buflist, line, -1);
|
||||
free (line);
|
||||
if (!rc)
|
||||
goto error;
|
||||
|
||||
@@ -151,18 +151,19 @@ buflist_config_hook_signals_refresh ()
|
||||
ptr_signals_refresh = weechat_config_string (
|
||||
buflist_config_look_signals_refresh);
|
||||
|
||||
weechat_string_dyn_concat (all_signals, BUFLIST_CONFIG_SIGNALS_REFRESH);
|
||||
weechat_string_dyn_concat (all_signals, BUFLIST_CONFIG_SIGNALS_REFRESH, -1);
|
||||
if (ptr_signals_refresh && ptr_signals_refresh[0])
|
||||
{
|
||||
weechat_string_dyn_concat (all_signals, ",");
|
||||
weechat_string_dyn_concat (all_signals, ptr_signals_refresh);
|
||||
weechat_string_dyn_concat (all_signals, ",", -1);
|
||||
weechat_string_dyn_concat (all_signals, ptr_signals_refresh, -1);
|
||||
}
|
||||
if (weechat_config_boolean (buflist_config_look_nick_prefix))
|
||||
{
|
||||
weechat_string_dyn_concat (all_signals, ",");
|
||||
weechat_string_dyn_concat (all_signals, ",", -1);
|
||||
weechat_string_dyn_concat (
|
||||
all_signals,
|
||||
BUFLIST_CONFIG_SIGNALS_REFRESH_NICK_PREFIX);
|
||||
BUFLIST_CONFIG_SIGNALS_REFRESH_NICK_PREFIX,
|
||||
-1);
|
||||
}
|
||||
|
||||
signals = weechat_string_split (*all_signals, ",", NULL,
|
||||
|
||||
@@ -244,6 +244,10 @@ exec_command_parse_options (struct t_exec_cmd_options *cmd_options,
|
||||
cmd_options->output_to_buffer_exec_cmd = 1;
|
||||
cmd_options->new_buffer = 0;
|
||||
}
|
||||
else if (weechat_strcasecmp (argv[i], "-oerr") == 0)
|
||||
{
|
||||
cmd_options->output_to_buffer_stderr = 1;
|
||||
}
|
||||
else if (weechat_strcasecmp (argv[i], "-n") == 0)
|
||||
{
|
||||
cmd_options->output_to_buffer = 0;
|
||||
@@ -426,6 +430,7 @@ exec_command_run (struct t_gui_buffer *buffer,
|
||||
cmd_options.ptr_buffer = buffer;
|
||||
cmd_options.output_to_buffer = 0;
|
||||
cmd_options.output_to_buffer_exec_cmd = 0;
|
||||
cmd_options.output_to_buffer_stderr = 0;
|
||||
cmd_options.new_buffer = 0;
|
||||
cmd_options.new_buffer_clear = 0;
|
||||
cmd_options.switch_to_buffer = 1;
|
||||
@@ -585,6 +590,7 @@ exec_command_run (struct t_gui_buffer *buffer,
|
||||
}
|
||||
new_exec_cmd->output_to_buffer = cmd_options.output_to_buffer;
|
||||
new_exec_cmd->output_to_buffer_exec_cmd = cmd_options.output_to_buffer_exec_cmd;
|
||||
new_exec_cmd->output_to_buffer_stderr = cmd_options.output_to_buffer_stderr;
|
||||
new_exec_cmd->line_numbers = (cmd_options.line_numbers < 0) ?
|
||||
cmd_options.new_buffer : cmd_options.line_numbers;
|
||||
new_exec_cmd->color = cmd_options.color;
|
||||
@@ -831,7 +837,7 @@ exec_command_init ()
|
||||
N_("execute external commands"),
|
||||
N_("-list"
|
||||
" || [-sh|-nosh] [-bg|-nobg] [-stdin|-nostdin] [-buffer <name>] "
|
||||
"[-l|-o|-n|-nf] [-cl|-nocl] [-sw|-nosw] [-ln|-noln] "
|
||||
"[-l|-o|-oc|-n|-nf] [-oerr] [-cl|-nocl] [-sw|-nosw] [-ln|-noln] "
|
||||
"[-flush|-noflush] [-color ansi|auto|irc|weechat|strip] [-rc|-norc] "
|
||||
"[-timeout <timeout>] [-name <name>] [-pipe <command>] "
|
||||
"[-hsignal <name>] <command>"
|
||||
@@ -870,6 +876,8 @@ exec_command_init ()
|
||||
" -nf: display output of command in a new buffer with free "
|
||||
"content (no word-wrap, no limit on number of lines) (not compatible "
|
||||
"with options -bg/-pipe/-hsignal)\n"
|
||||
" -oerr: also send stderr (error output) to the buffer (can be "
|
||||
"used only with options -o and -oc)\n"
|
||||
" -cl: clear the new buffer before displaying output\n"
|
||||
" -nocl: append to the new buffer without clear (default)\n"
|
||||
" -sw: switch to the output buffer (default)\n"
|
||||
|
||||
@@ -31,6 +31,7 @@ struct t_exec_cmd_options
|
||||
struct t_gui_buffer *ptr_buffer; /* pointer to buffer */
|
||||
int output_to_buffer; /* 1 if output is sent to buffer */
|
||||
int output_to_buffer_exec_cmd; /* execute commands found */
|
||||
int output_to_buffer_stderr; /* 1 if stderr is sent to buffer */
|
||||
int new_buffer; /* 1=new buffer, 2=new buf. free cont*/
|
||||
int new_buffer_clear; /* 1 to clear buffer before output */
|
||||
int switch_to_buffer; /* switch to the output buffer */
|
||||
|
||||
@@ -131,6 +131,7 @@ exec_add ()
|
||||
new_exec_cmd->end_time = 0;
|
||||
new_exec_cmd->output_to_buffer = 0;
|
||||
new_exec_cmd->output_to_buffer_exec_cmd = 0;
|
||||
new_exec_cmd->output_to_buffer_stderr = 0;
|
||||
new_exec_cmd->buffer_full_name = NULL;
|
||||
new_exec_cmd->line_numbers = 0;
|
||||
new_exec_cmd->display_rc = 0;
|
||||
@@ -253,6 +254,13 @@ exec_display_line (struct t_exec_cmd *exec_cmd, struct t_gui_buffer *buffer,
|
||||
if (exec_cmd->output_to_buffer && !exec_cmd->pipe_command && !buffer)
|
||||
return;
|
||||
|
||||
/* if output is sent to the buffer, we send stderr only if it was asked */
|
||||
if (exec_cmd->output_to_buffer && (out == EXEC_STDERR)
|
||||
&& !exec_cmd->output_to_buffer_stderr)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
/* decode colors */
|
||||
line_color = exec_decode_color (exec_cmd, line);
|
||||
if (!line_color)
|
||||
@@ -683,6 +691,7 @@ exec_print_log ()
|
||||
weechat_log_printf (" end_time. . . . . . . . . : %lld", (long long)ptr_exec_cmd->end_time);
|
||||
weechat_log_printf (" output_to_buffer. . . . . : %d", ptr_exec_cmd->output_to_buffer);
|
||||
weechat_log_printf (" output_to_buffer_exec_cmd : %d", ptr_exec_cmd->output_to_buffer_exec_cmd);
|
||||
weechat_log_printf (" output_to_buffer_stderr . : %d", ptr_exec_cmd->output_to_buffer_stderr);
|
||||
weechat_log_printf (" buffer_full_name. . . . . : '%s'", ptr_exec_cmd->buffer_full_name);
|
||||
weechat_log_printf (" line_numbers. . . . . . . : %d", ptr_exec_cmd->line_numbers);
|
||||
weechat_log_printf (" display_rc. . . . . . . . : %d", ptr_exec_cmd->display_rc);
|
||||
|
||||
@@ -55,6 +55,7 @@ struct t_exec_cmd
|
||||
/* display */
|
||||
int output_to_buffer; /* 1 if output is sent to buffer */
|
||||
int output_to_buffer_exec_cmd; /* 1 if commands are executed */
|
||||
int output_to_buffer_stderr; /* 1 if stderr is sent to buffer */
|
||||
char *buffer_full_name; /* buffer where output is displayed */
|
||||
int line_numbers; /* 1 if lines numbers are displayed */
|
||||
int color; /* what to do with ANSI colors */
|
||||
|
||||
@@ -81,8 +81,8 @@ fset_bar_item_fset_cb (const void *pointer, void *data,
|
||||
if (!default_and_values)
|
||||
return NULL;
|
||||
|
||||
weechat_string_dyn_concat (default_and_values, weechat_color ("bar_fg"));
|
||||
weechat_string_dyn_concat (default_and_values, _("default: "));
|
||||
weechat_string_dyn_concat (default_and_values, weechat_color ("bar_fg"), -1);
|
||||
weechat_string_dyn_concat (default_and_values, _("default: "), -1);
|
||||
if (ptr_fset_option->default_value)
|
||||
{
|
||||
if (ptr_fset_option->type == FSET_OPTION_TYPE_STRING)
|
||||
@@ -90,29 +90,37 @@ fset_bar_item_fset_cb (const void *pointer, void *data,
|
||||
weechat_string_dyn_concat (default_and_values,
|
||||
weechat_color (
|
||||
weechat_config_string (
|
||||
fset_config_color_help_quotes)));
|
||||
weechat_string_dyn_concat (default_and_values, "\"");
|
||||
fset_config_color_help_quotes)),
|
||||
-1);
|
||||
weechat_string_dyn_concat (default_and_values, "\"", -1);
|
||||
}
|
||||
weechat_string_dyn_concat (
|
||||
default_and_values,
|
||||
weechat_color (weechat_config_string (fset_config_color_help_default_value)));
|
||||
weechat_color (weechat_config_string (fset_config_color_help_default_value)),
|
||||
-1);
|
||||
weechat_string_dyn_concat (default_and_values,
|
||||
ptr_fset_option->default_value);
|
||||
ptr_fset_option->default_value,
|
||||
-1);
|
||||
if (ptr_fset_option->type == FSET_OPTION_TYPE_STRING)
|
||||
{
|
||||
weechat_string_dyn_concat (default_and_values,
|
||||
weechat_color (
|
||||
weechat_config_string (
|
||||
fset_config_color_help_quotes)));
|
||||
weechat_string_dyn_concat (default_and_values, "\"");
|
||||
fset_config_color_help_quotes)),
|
||||
-1);
|
||||
weechat_string_dyn_concat (default_and_values, "\"", -1);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
weechat_string_dyn_concat (
|
||||
default_and_values,
|
||||
weechat_color (weechat_config_string (fset_config_color_help_default_value)));
|
||||
weechat_string_dyn_concat (default_and_values, FSET_OPTION_VALUE_NULL);
|
||||
weechat_color (weechat_config_string (fset_config_color_help_default_value)),
|
||||
-1);
|
||||
weechat_string_dyn_concat (
|
||||
default_and_values,
|
||||
FSET_OPTION_VALUE_NULL,
|
||||
-1);
|
||||
}
|
||||
|
||||
if ((ptr_fset_option->string_values && ptr_fset_option->string_values[0])
|
||||
@@ -131,10 +139,11 @@ fset_bar_item_fset_cb (const void *pointer, void *data,
|
||||
|| (ptr_fset_option->type == FSET_OPTION_TYPE_INTEGER))
|
||||
{
|
||||
weechat_string_dyn_concat (default_and_values,
|
||||
weechat_color ("bar_fg"));
|
||||
weechat_string_dyn_concat (default_and_values, ", ");
|
||||
weechat_string_dyn_concat (default_and_values, _("values:"));
|
||||
weechat_string_dyn_concat (default_and_values, " ");
|
||||
weechat_color ("bar_fg"),
|
||||
-1);
|
||||
weechat_string_dyn_concat (default_and_values, ", ", -1);
|
||||
weechat_string_dyn_concat (default_and_values, _("values:"), -1);
|
||||
weechat_string_dyn_concat (default_and_values, " ", -1);
|
||||
if (ptr_string_values)
|
||||
{
|
||||
for (i = 0; ptr_string_values[i]; i++)
|
||||
@@ -142,16 +151,21 @@ fset_bar_item_fset_cb (const void *pointer, void *data,
|
||||
if (i > 0)
|
||||
{
|
||||
weechat_string_dyn_concat (default_and_values,
|
||||
weechat_color ("bar_fg"));
|
||||
weechat_string_dyn_concat (default_and_values, ", ");
|
||||
weechat_color ("bar_fg"),
|
||||
-1);
|
||||
weechat_string_dyn_concat (default_and_values,
|
||||
", ",
|
||||
-1);
|
||||
}
|
||||
weechat_string_dyn_concat (
|
||||
default_and_values,
|
||||
weechat_color (
|
||||
weechat_config_string (
|
||||
fset_config_color_help_values)));
|
||||
fset_config_color_help_values)),
|
||||
-1);
|
||||
weechat_string_dyn_concat (default_and_values,
|
||||
ptr_string_values[i]);
|
||||
ptr_string_values[i],
|
||||
-1);
|
||||
}
|
||||
}
|
||||
else
|
||||
@@ -160,19 +174,24 @@ fset_bar_item_fset_cb (const void *pointer, void *data,
|
||||
default_and_values,
|
||||
weechat_color (
|
||||
weechat_config_string (
|
||||
fset_config_color_help_values)));
|
||||
fset_config_color_help_values)),
|
||||
-1);
|
||||
weechat_string_dyn_concat (default_and_values,
|
||||
ptr_fset_option->min);
|
||||
ptr_fset_option->min,
|
||||
-1);
|
||||
weechat_string_dyn_concat (default_and_values,
|
||||
weechat_color ("bar_fg"));
|
||||
weechat_string_dyn_concat (default_and_values, " ... ");
|
||||
weechat_color ("bar_fg"),
|
||||
-1);
|
||||
weechat_string_dyn_concat (default_and_values, " ... ", -1);
|
||||
weechat_string_dyn_concat (
|
||||
default_and_values,
|
||||
weechat_color (
|
||||
weechat_config_string (
|
||||
fset_config_color_help_values)));
|
||||
fset_config_color_help_values)),
|
||||
-1);
|
||||
weechat_string_dyn_concat (default_and_values,
|
||||
ptr_fset_option->max);
|
||||
ptr_fset_option->max,
|
||||
-1);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -34,6 +34,7 @@ struct t_config_file *fset_config_file = NULL;
|
||||
|
||||
/* fset config, look section */
|
||||
|
||||
struct t_config_option *fset_config_look_auto_refresh;
|
||||
struct t_config_option *fset_config_look_auto_unmark;
|
||||
struct t_config_option *fset_config_look_condition_catch_set;
|
||||
struct t_config_option *fset_config_look_export_help_default;
|
||||
@@ -93,11 +94,39 @@ struct t_config_option *fset_config_color_value[2];
|
||||
struct t_config_option *fset_config_color_value_changed[2];
|
||||
struct t_config_option *fset_config_color_value_undef[2];
|
||||
|
||||
char **fset_config_auto_refresh = NULL;
|
||||
char **fset_config_sort_fields = NULL;
|
||||
int fset_config_sort_fields_count = 0;
|
||||
int fset_config_format_option_num_lines[2] = { 1, 1 };
|
||||
|
||||
|
||||
/*
|
||||
* Callback for changes on option "fset.look.auto_refresh".
|
||||
*/
|
||||
|
||||
void
|
||||
fset_config_change_auto_refresh_cb (const void *pointer, void *data,
|
||||
struct t_config_option *option)
|
||||
{
|
||||
/* make C compiler happy */
|
||||
(void) pointer;
|
||||
(void) data;
|
||||
(void) option;
|
||||
|
||||
if (fset_config_auto_refresh)
|
||||
weechat_string_free_split (fset_config_auto_refresh);
|
||||
|
||||
fset_config_auto_refresh = weechat_string_split (
|
||||
weechat_config_string (fset_config_look_auto_refresh),
|
||||
",",
|
||||
NULL,
|
||||
WEECHAT_STRING_SPLIT_STRIP_LEFT
|
||||
| WEECHAT_STRING_SPLIT_STRIP_RIGHT
|
||||
| WEECHAT_STRING_SPLIT_COLLAPSE_SEPS,
|
||||
0,
|
||||
NULL);
|
||||
}
|
||||
|
||||
/*
|
||||
* Callback for changes on option "fset.look.format_number".
|
||||
*/
|
||||
@@ -335,6 +364,18 @@ fset_config_init ()
|
||||
return 0;
|
||||
}
|
||||
|
||||
fset_config_look_auto_refresh = weechat_config_new_option (
|
||||
fset_config_file, ptr_section,
|
||||
"auto_refresh", "string",
|
||||
N_("comma separated list of options to automatically refresh on the "
|
||||
"fset buffer (if opened); \"*\" means all options (recommended), "
|
||||
"a name beginning with \"!\" is a negative value to prevent an "
|
||||
"option to be refreshed, wildcard \"*\" is allowed in names "
|
||||
"(example: \"*,!plugin.section.*\")"),
|
||||
NULL, 0, 0, "*", NULL, 0,
|
||||
NULL, NULL, NULL,
|
||||
&fset_config_change_auto_refresh_cb, NULL, NULL,
|
||||
NULL, NULL, NULL);
|
||||
fset_config_look_auto_unmark = weechat_config_new_option (
|
||||
fset_config_file, ptr_section,
|
||||
"auto_unmark", "boolean",
|
||||
@@ -1067,6 +1108,7 @@ fset_config_read ()
|
||||
|
||||
if (rc == WEECHAT_CONFIG_READ_OK)
|
||||
{
|
||||
fset_config_change_auto_refresh_cb (NULL, NULL, NULL);
|
||||
fset_config_change_sort_cb (NULL, NULL, NULL);
|
||||
fset_config_change_format_cb (NULL, NULL, NULL);
|
||||
}
|
||||
@@ -1093,6 +1135,11 @@ fset_config_free ()
|
||||
{
|
||||
weechat_config_free (fset_config_file);
|
||||
|
||||
if (fset_config_auto_refresh)
|
||||
{
|
||||
weechat_string_free_split (fset_config_auto_refresh);
|
||||
fset_config_auto_refresh = NULL;
|
||||
}
|
||||
if (fset_config_sort_fields)
|
||||
{
|
||||
weechat_string_free_split (fset_config_sort_fields);
|
||||
|
||||
@@ -24,6 +24,7 @@
|
||||
|
||||
extern struct t_config_file *fset_config_file;
|
||||
|
||||
extern struct t_config_option *fset_config_look_auto_refresh;
|
||||
extern struct t_config_option *fset_config_look_auto_unmark;
|
||||
extern struct t_config_option *fset_config_look_condition_catch_set;
|
||||
extern struct t_config_option *fset_config_look_export_help_default;
|
||||
@@ -79,6 +80,7 @@ extern struct t_config_option *fset_config_color_value[2];
|
||||
extern struct t_config_option *fset_config_color_value_changed[2];
|
||||
extern struct t_config_option *fset_config_color_value_undef[2];
|
||||
|
||||
extern char **fset_config_auto_refresh;
|
||||
extern char **fset_config_sort_fields;
|
||||
extern int fset_config_sort_fields_count;
|
||||
extern int fset_config_format_option_num_lines[2];
|
||||
|
||||
@@ -1550,6 +1550,12 @@ fset_option_config_cb (const void *pointer,
|
||||
if (!fset_buffer)
|
||||
return WEECHAT_RC_OK;
|
||||
|
||||
/* do nothing if auto-refresh is disabled for this option */
|
||||
if (!weechat_string_match_list (option,
|
||||
(const char **)fset_config_auto_refresh,
|
||||
0))
|
||||
return WEECHAT_RC_OK;
|
||||
|
||||
/* do nothing if WeeChat is upgrading */
|
||||
info = weechat_info_get ("weechat_upgrading", NULL);
|
||||
if (info && (strcmp (info, "1") == 0))
|
||||
|
||||
@@ -428,6 +428,20 @@ weechat_guile_api_string_format_size (SCM size)
|
||||
API_RETURN_STRING_FREE(result);
|
||||
}
|
||||
|
||||
SCM
|
||||
weechat_guile_api_string_color_code_size (SCM string)
|
||||
{
|
||||
int size;
|
||||
|
||||
API_INIT_FUNC(1, "string_color_code_size", API_RETURN_INT(0));
|
||||
if (!scm_is_string (string))
|
||||
API_WRONG_ARGS(API_RETURN_INT(0));
|
||||
|
||||
size = weechat_string_color_code_size (API_SCM_TO_STRING(string));
|
||||
|
||||
API_RETURN_INT(size);
|
||||
}
|
||||
|
||||
SCM
|
||||
weechat_guile_api_string_remove_color (SCM string, SCM replacement)
|
||||
{
|
||||
@@ -5012,6 +5026,7 @@ weechat_guile_api_module_init (void *data)
|
||||
API_DEF_FUNC(string_has_highlight_regex, 2);
|
||||
API_DEF_FUNC(string_mask_to_regex, 1);
|
||||
API_DEF_FUNC(string_format_size, 1);
|
||||
API_DEF_FUNC(string_color_code_size, 1);
|
||||
API_DEF_FUNC(string_remove_color, 2);
|
||||
API_DEF_FUNC(string_is_command_char, 1);
|
||||
API_DEF_FUNC(string_input_for_buffer, 1);
|
||||
|
||||
@@ -1180,13 +1180,13 @@ weechat_guile_port_write (SCM port, SCM src, size_t start, size_t count)
|
||||
ptr_data = data2;
|
||||
while ((ptr_newline = strchr (ptr_data, '\n')) != NULL)
|
||||
{
|
||||
ptr_newline[0] = '\0';
|
||||
weechat_string_dyn_concat (guile_buffer_output, ptr_data);
|
||||
weechat_string_dyn_concat (guile_buffer_output,
|
||||
ptr_data,
|
||||
ptr_newline - ptr_data);
|
||||
weechat_guile_output_flush ();
|
||||
ptr_newline[0] = '\n';
|
||||
ptr_data = ++ptr_newline;
|
||||
}
|
||||
weechat_string_dyn_concat (guile_buffer_output, ptr_data);
|
||||
weechat_string_dyn_concat (guile_buffer_output, ptr_data, -1);
|
||||
|
||||
free (data2);
|
||||
|
||||
@@ -1212,13 +1212,13 @@ weechat_guile_port_write (SCM port, const void *data, size_t size)
|
||||
ptr_data = data2;
|
||||
while ((ptr_newline = strchr (ptr_data, '\n')) != NULL)
|
||||
{
|
||||
ptr_newline[0] = '\0';
|
||||
weechat_string_dyn_concat (guile_buffer_output, ptr_data);
|
||||
weechat_string_dyn_concat (guile_buffer_output,
|
||||
ptr_data,
|
||||
ptr_newline - ptr_data);
|
||||
weechat_guile_output_flush ();
|
||||
ptr_newline[0] = '\n';
|
||||
ptr_data = ++ptr_newline;
|
||||
}
|
||||
weechat_string_dyn_concat (guile_buffer_output, ptr_data);
|
||||
weechat_string_dyn_concat (guile_buffer_output, ptr_data, -1);
|
||||
|
||||
free (data2);
|
||||
}
|
||||
|
||||
@@ -656,6 +656,7 @@ irc_bar_item_focus_buffer_nicklist (const void *pointer, void *data,
|
||||
struct t_gui_buffer *buffer;
|
||||
struct t_irc_nick *ptr_nick;
|
||||
const char *str_buffer, *nick;
|
||||
char str_value[128];
|
||||
|
||||
str_buffer = weechat_hashtable_get (info, "_buffer");
|
||||
if (!str_buffer || !str_buffer[0])
|
||||
@@ -679,9 +680,15 @@ irc_bar_item_focus_buffer_nicklist (const void *pointer, void *data,
|
||||
if (nick)
|
||||
{
|
||||
ptr_nick = irc_nick_search (ptr_server, ptr_channel, nick);
|
||||
if (ptr_nick && ptr_nick->host)
|
||||
if (ptr_nick)
|
||||
{
|
||||
weechat_hashtable_set (info, "irc_host", ptr_nick->host);
|
||||
snprintf (str_value, sizeof (str_value),
|
||||
"0x%lx", (unsigned long)ptr_nick);
|
||||
weechat_hashtable_set (info, "irc_nick", str_value);
|
||||
|
||||
if (ptr_nick->host)
|
||||
weechat_hashtable_set (info, "irc_host", ptr_nick->host);
|
||||
|
||||
return info;
|
||||
}
|
||||
}
|
||||
|
||||
+31
-24
@@ -178,6 +178,7 @@ irc_color_decode (const char *string, int keep_colors)
|
||||
str_bg[0] = '\0';
|
||||
if (isdigit (ptr_string[0]))
|
||||
{
|
||||
/* foreground */
|
||||
str_fg[0] = ptr_string[0];
|
||||
str_fg[1] = '\0';
|
||||
ptr_string++;
|
||||
@@ -190,6 +191,7 @@ irc_color_decode (const char *string, int keep_colors)
|
||||
}
|
||||
if ((ptr_string[0] == ',') && (isdigit (ptr_string[1])))
|
||||
{
|
||||
/* background */
|
||||
ptr_string++;
|
||||
str_bg[0] = ptr_string[0];
|
||||
str_bg[1] = '\0';
|
||||
@@ -266,7 +268,7 @@ irc_color_decode (const char *string, int keep_colors)
|
||||
}
|
||||
/* add "str_to_add" (if not empty) to "out" */
|
||||
if (str_to_add[0])
|
||||
weechat_string_dyn_concat (out, str_to_add);
|
||||
weechat_string_dyn_concat (out, str_to_add, -1);
|
||||
}
|
||||
|
||||
result = *out;
|
||||
@@ -287,7 +289,7 @@ irc_color_decode (const char *string, int keep_colors)
|
||||
char *
|
||||
irc_color_encode (const char *string, int keep_colors)
|
||||
{
|
||||
char **out, *result, str_to_add[2], utf_char[16];
|
||||
char **out, *result;
|
||||
unsigned char *ptr_string;
|
||||
int length;
|
||||
|
||||
@@ -306,54 +308,59 @@ irc_color_encode (const char *string, int keep_colors)
|
||||
{
|
||||
case 0x02: /* ^B */
|
||||
if (keep_colors)
|
||||
weechat_string_dyn_concat (out, IRC_COLOR_BOLD_STR);
|
||||
weechat_string_dyn_concat (out, IRC_COLOR_BOLD_STR, -1);
|
||||
ptr_string++;
|
||||
break;
|
||||
case 0x03: /* ^C */
|
||||
if (keep_colors)
|
||||
weechat_string_dyn_concat (out, IRC_COLOR_COLOR_STR);
|
||||
weechat_string_dyn_concat (out, IRC_COLOR_COLOR_STR, -1);
|
||||
ptr_string++;
|
||||
if (isdigit (ptr_string[0]))
|
||||
{
|
||||
/* foreground */
|
||||
if (keep_colors)
|
||||
{
|
||||
str_to_add[0] = ptr_string[0];
|
||||
str_to_add[1] = '\0';
|
||||
weechat_string_dyn_concat (out, str_to_add);
|
||||
weechat_string_dyn_concat (out,
|
||||
(const char *)ptr_string,
|
||||
1);
|
||||
}
|
||||
ptr_string++;
|
||||
if (isdigit (ptr_string[0]))
|
||||
{
|
||||
if (keep_colors)
|
||||
{
|
||||
str_to_add[0] = ptr_string[0];
|
||||
str_to_add[1] = '\0';
|
||||
weechat_string_dyn_concat (out, str_to_add);
|
||||
weechat_string_dyn_concat (
|
||||
out,
|
||||
(const char *)ptr_string,
|
||||
1);
|
||||
}
|
||||
ptr_string++;
|
||||
}
|
||||
}
|
||||
if (ptr_string[0] == ',')
|
||||
{
|
||||
/* background */
|
||||
if (keep_colors)
|
||||
weechat_string_dyn_concat (out, ",");
|
||||
weechat_string_dyn_concat (out, ",", -1);
|
||||
ptr_string++;
|
||||
if (isdigit (ptr_string[0]))
|
||||
{
|
||||
if (keep_colors)
|
||||
{
|
||||
str_to_add[0] = ptr_string[0];
|
||||
str_to_add[1] = '\0';
|
||||
weechat_string_dyn_concat (out, str_to_add);
|
||||
weechat_string_dyn_concat (
|
||||
out,
|
||||
(const char *)ptr_string,
|
||||
1);
|
||||
}
|
||||
ptr_string++;
|
||||
if (isdigit (ptr_string[0]))
|
||||
{
|
||||
if (keep_colors)
|
||||
{
|
||||
str_to_add[0] = ptr_string[0];
|
||||
str_to_add[1] = '\0';
|
||||
weechat_string_dyn_concat (out, str_to_add);
|
||||
weechat_string_dyn_concat (
|
||||
out,
|
||||
(const char *)ptr_string,
|
||||
1);
|
||||
}
|
||||
ptr_string++;
|
||||
}
|
||||
@@ -362,31 +369,31 @@ irc_color_encode (const char *string, int keep_colors)
|
||||
break;
|
||||
case 0x0F: /* ^O */
|
||||
if (keep_colors)
|
||||
weechat_string_dyn_concat (out, IRC_COLOR_RESET_STR);
|
||||
weechat_string_dyn_concat (out, IRC_COLOR_RESET_STR, -1);
|
||||
ptr_string++;
|
||||
break;
|
||||
case 0x16: /* ^V */
|
||||
if (keep_colors)
|
||||
weechat_string_dyn_concat (out, IRC_COLOR_REVERSE_STR);
|
||||
weechat_string_dyn_concat (out, IRC_COLOR_REVERSE_STR, -1);
|
||||
ptr_string++;
|
||||
break;
|
||||
case 0x1D: /* ^] */
|
||||
if (keep_colors)
|
||||
weechat_string_dyn_concat (out, IRC_COLOR_ITALIC_STR);
|
||||
weechat_string_dyn_concat (out, IRC_COLOR_ITALIC_STR, -1);
|
||||
ptr_string++;
|
||||
break;
|
||||
case 0x1F: /* ^_ */
|
||||
if (keep_colors)
|
||||
weechat_string_dyn_concat (out, IRC_COLOR_UNDERLINE_STR);
|
||||
weechat_string_dyn_concat (out, IRC_COLOR_UNDERLINE_STR, -1);
|
||||
ptr_string++;
|
||||
break;
|
||||
default:
|
||||
length = weechat_utf8_char_size ((char *)ptr_string);
|
||||
if (length == 0)
|
||||
length = 1;
|
||||
memcpy (utf_char, ptr_string, length);
|
||||
utf_char[length] = '\0';
|
||||
weechat_string_dyn_concat (out, utf_char);
|
||||
weechat_string_dyn_concat (out,
|
||||
(const char *)ptr_string,
|
||||
length);
|
||||
ptr_string += length;
|
||||
}
|
||||
}
|
||||
|
||||
+120
-114
@@ -381,6 +381,72 @@ IRC_COMMAND_CALLBACK(admin)
|
||||
return WEECHAT_RC_OK;
|
||||
}
|
||||
|
||||
/*
|
||||
* Executes a command on a list of IRC buffers.
|
||||
*/
|
||||
|
||||
void
|
||||
irc_command_exec_buffers (struct t_weelist *list_buffers,
|
||||
const char *command)
|
||||
{
|
||||
struct t_irc_server *ptr_server;
|
||||
struct t_irc_channel *ptr_channel;
|
||||
struct t_gui_buffer *ptr_buffer;
|
||||
struct t_hashtable *pointers;
|
||||
const char *ptr_buffer_name;
|
||||
char *cmd_vars_replaced, *cmd_eval;
|
||||
int i, list_size;
|
||||
|
||||
list_size = weechat_list_size (list_buffers);
|
||||
if (list_size < 1)
|
||||
return;
|
||||
|
||||
pointers = weechat_hashtable_new (32,
|
||||
WEECHAT_HASHTABLE_STRING,
|
||||
WEECHAT_HASHTABLE_POINTER,
|
||||
NULL,
|
||||
NULL);
|
||||
if (!pointers)
|
||||
return;
|
||||
|
||||
for (i = 0; i < list_size; i++)
|
||||
{
|
||||
ptr_buffer_name = weechat_list_string (
|
||||
weechat_list_get (list_buffers, i));
|
||||
ptr_buffer = weechat_buffer_search ("==", ptr_buffer_name);
|
||||
if (!ptr_buffer)
|
||||
continue;
|
||||
irc_buffer_get_server_and_channel (ptr_buffer,
|
||||
&ptr_server, &ptr_channel);
|
||||
if (!ptr_server)
|
||||
continue;
|
||||
weechat_hashtable_set (pointers, "buffer", ptr_buffer);
|
||||
weechat_hashtable_set (pointers, "irc_server", ptr_server);
|
||||
if (ptr_channel)
|
||||
weechat_hashtable_set (pointers, "irc_channel", ptr_channel);
|
||||
else
|
||||
weechat_hashtable_remove (pointers, "irc_channel");
|
||||
cmd_vars_replaced = irc_message_replace_vars (
|
||||
ptr_server,
|
||||
(ptr_channel) ? ptr_channel->name : NULL,
|
||||
command);
|
||||
cmd_eval = weechat_string_eval_expression (
|
||||
(cmd_vars_replaced) ? cmd_vars_replaced : command,
|
||||
pointers,
|
||||
NULL,
|
||||
NULL);
|
||||
weechat_command (
|
||||
(ptr_channel) ? ptr_channel->buffer : ptr_server->buffer,
|
||||
(cmd_eval) ? cmd_eval : ((cmd_vars_replaced) ? cmd_vars_replaced : command));
|
||||
if (cmd_vars_replaced)
|
||||
free (cmd_vars_replaced);
|
||||
if (cmd_eval)
|
||||
free (cmd_eval);
|
||||
}
|
||||
|
||||
weechat_hashtable_free (pointers);
|
||||
}
|
||||
|
||||
/*
|
||||
* Executes a command on all channels (or queries).
|
||||
*
|
||||
@@ -398,26 +464,12 @@ irc_command_exec_all_channels (struct t_irc_server *server,
|
||||
struct t_irc_server *ptr_server, *next_server;
|
||||
struct t_irc_channel *ptr_channel, *next_channel;
|
||||
struct t_weelist *list_buffers;
|
||||
struct t_gui_buffer *ptr_buffer;
|
||||
char **channels, *str_command, *cmd_vars_replaced;
|
||||
const char *ptr_buffer_name;
|
||||
int num_channels, length, picked, i, list_size;
|
||||
char **channels;
|
||||
int num_channels, picked, i;
|
||||
|
||||
if (!command || !command[0])
|
||||
return;
|
||||
|
||||
if (!weechat_string_is_command_char (command))
|
||||
{
|
||||
length = 1 + strlen (command) + 1;
|
||||
str_command = malloc (length);
|
||||
snprintf (str_command, length, "/%s", command);
|
||||
}
|
||||
else
|
||||
str_command = strdup (command);
|
||||
|
||||
if (!str_command)
|
||||
return;
|
||||
|
||||
channels = (str_channels && str_channels[0]) ?
|
||||
weechat_string_split (str_channels, ",", NULL,
|
||||
WEECHAT_STRING_SPLIT_STRIP_LEFT
|
||||
@@ -477,32 +529,10 @@ irc_command_exec_all_channels (struct t_irc_server *server,
|
||||
ptr_server = next_server;
|
||||
}
|
||||
|
||||
/* execute the command on all buffers */
|
||||
list_size = weechat_list_size (list_buffers);
|
||||
for (i = 0; i < list_size; i++)
|
||||
{
|
||||
ptr_buffer_name = weechat_list_string (
|
||||
weechat_list_get (list_buffers, i));
|
||||
ptr_buffer = weechat_buffer_search ("==", ptr_buffer_name);
|
||||
if (ptr_buffer)
|
||||
{
|
||||
irc_buffer_get_server_and_channel (ptr_buffer,
|
||||
&ptr_server, &ptr_channel);
|
||||
if (ptr_server && ptr_channel)
|
||||
{
|
||||
cmd_vars_replaced = irc_message_replace_vars (
|
||||
ptr_server, ptr_channel->name, str_command);
|
||||
weechat_command (ptr_channel->buffer,
|
||||
(cmd_vars_replaced) ?
|
||||
cmd_vars_replaced : str_command);
|
||||
if (cmd_vars_replaced)
|
||||
free (cmd_vars_replaced);
|
||||
}
|
||||
}
|
||||
}
|
||||
/* execute the command on channel/pv buffers */
|
||||
irc_command_exec_buffers (list_buffers, command);
|
||||
|
||||
weechat_list_free (list_buffers);
|
||||
free (str_command);
|
||||
if (channels)
|
||||
weechat_string_free_split (channels);
|
||||
}
|
||||
@@ -655,28 +685,13 @@ void
|
||||
irc_command_exec_all_servers (int inclusive, const char *str_servers, const char *command)
|
||||
{
|
||||
struct t_irc_server *ptr_server, *next_server;
|
||||
struct t_irc_channel *ptr_channel;
|
||||
struct t_weelist *list_buffers;
|
||||
struct t_gui_buffer *ptr_buffer;
|
||||
char **servers, *str_command, *cmd_vars_replaced;
|
||||
const char *ptr_buffer_name;
|
||||
int num_servers, length, picked, i, list_size;
|
||||
char **servers;
|
||||
int num_servers, picked, i;
|
||||
|
||||
if (!command || !command[0])
|
||||
return;
|
||||
|
||||
if (!weechat_string_is_command_char (command))
|
||||
{
|
||||
length = 1 + strlen (command) + 1;
|
||||
str_command = malloc (length);
|
||||
snprintf (str_command, length, "/%s", command);
|
||||
}
|
||||
else
|
||||
str_command = strdup (command);
|
||||
|
||||
if (!str_command)
|
||||
return;
|
||||
|
||||
servers = (str_servers && str_servers[0]) ?
|
||||
weechat_string_split (str_servers, ",", NULL,
|
||||
WEECHAT_STRING_SPLIT_STRIP_LEFT
|
||||
@@ -722,33 +737,10 @@ irc_command_exec_all_servers (int inclusive, const char *str_servers, const char
|
||||
ptr_server = next_server;
|
||||
}
|
||||
|
||||
/* execute the command on all buffers */
|
||||
list_size = weechat_list_size (list_buffers);
|
||||
for (i = 0; i < list_size; i++)
|
||||
{
|
||||
ptr_buffer_name = weechat_list_string (
|
||||
weechat_list_get (list_buffers, i));
|
||||
ptr_buffer = weechat_buffer_search ("==", ptr_buffer_name);
|
||||
if (ptr_buffer)
|
||||
{
|
||||
irc_buffer_get_server_and_channel (ptr_buffer,
|
||||
&ptr_server, &ptr_channel);
|
||||
if (ptr_server && !ptr_channel)
|
||||
{
|
||||
cmd_vars_replaced = irc_message_replace_vars (ptr_server,
|
||||
NULL,
|
||||
str_command);
|
||||
weechat_command (ptr_server->buffer,
|
||||
(cmd_vars_replaced) ?
|
||||
cmd_vars_replaced : str_command);
|
||||
if (cmd_vars_replaced)
|
||||
free (cmd_vars_replaced);
|
||||
}
|
||||
}
|
||||
}
|
||||
/* execute the command on server buffers */
|
||||
irc_command_exec_buffers (list_buffers, command);
|
||||
|
||||
weechat_list_free (list_buffers);
|
||||
free (str_command);
|
||||
if (servers)
|
||||
weechat_string_free_split (servers);
|
||||
}
|
||||
@@ -6378,76 +6370,90 @@ irc_command_init ()
|
||||
weechat_hook_command (
|
||||
"allchan",
|
||||
N_("execute a command on all channels of all connected servers"),
|
||||
N_("[-current] [-exclude=<channel>[,<channel>...]] <command> "
|
||||
"[<arguments>]"
|
||||
" || [-current] -include=<channel>[,<channel>...] <command> "
|
||||
"[<arguments>]"),
|
||||
N_("[-current] [-exclude=<channel>[,<channel>...]] <command>"
|
||||
" || [-current] -include=<channel>[,<channel>...] <command>"),
|
||||
N_(" -current: execute command for channels of current server only\n"
|
||||
" -exclude: exclude some channels (wildcard \"*\" is allowed)\n"
|
||||
" -include: include only some channels (wildcard \"*\" is allowed)\n"
|
||||
" command: command to execute\n"
|
||||
"arguments: arguments for command (special variables $nick, $channel "
|
||||
"and $server are replaced by their value)\n"
|
||||
" command: command to execute (or text to send to buffer if "
|
||||
"command does not start with '/')\n"
|
||||
"\n"
|
||||
"Command and arguments are evaluated (see /help eval), the following "
|
||||
"variables are replaced:\n"
|
||||
" $server server name\n"
|
||||
" $channel channel name\n"
|
||||
" $nick nick on server\n"
|
||||
" ${irc_server.xxx} variable xxx in server\n"
|
||||
" ${irc_channel.xxx} variable xxx in channel\n"
|
||||
"\n"
|
||||
"Examples:\n"
|
||||
" execute '/me is testing' on all channels:\n"
|
||||
" /allchan me is testing\n"
|
||||
" /allchan /me is testing\n"
|
||||
" say 'hello' everywhere but not on #weechat:\n"
|
||||
" /allchan -exclude=#weechat msg * hello\n"
|
||||
" /allchan -exclude=#weechat hello\n"
|
||||
" say 'hello' everywhere but not on #weechat and channels beginning "
|
||||
"with #linux:\n"
|
||||
" /allchan -exclude=#weechat,#linux* msg * hello\n"
|
||||
" /allchan -exclude=#weechat,#linux* hello\n"
|
||||
" say 'hello' on all channels beginning with #linux:\n"
|
||||
" /allchan -include=#linux* msg * hello"),
|
||||
" /allchan -include=#linux* hello"),
|
||||
"-current", &irc_command_allchan, NULL, NULL);
|
||||
weechat_hook_command (
|
||||
"allpv",
|
||||
N_("execute a command on all private buffers of all connected servers"),
|
||||
N_("[-current] [-exclude=<nick>[,<nick>...]] <command> "
|
||||
"[<arguments>]"
|
||||
" || [-current] -include=<nick>[,<nick>...] <command> "
|
||||
"[<arguments>]"),
|
||||
N_("[-current] [-exclude=<nick>[,<nick>...]] <command>"
|
||||
" || [-current] -include=<nick>[,<nick>...] <command>"),
|
||||
N_(" -current: execute command for private buffers of current server "
|
||||
"only\n"
|
||||
" -exclude: exclude some nicks (wildcard \"*\" is allowed)\n"
|
||||
" -include: include only some nicks (wildcard \"*\" is allowed)\n"
|
||||
" command: command to execute\n"
|
||||
"arguments: arguments for command (special variables $nick, $channel "
|
||||
"and $server are replaced by their value)\n"
|
||||
" command: command to execute (or text to send to buffer if "
|
||||
"command does not start with '/')\n"
|
||||
"\n"
|
||||
"Command and arguments are evaluated (see /help eval), the following "
|
||||
"variables are replaced:\n"
|
||||
" $server server name\n"
|
||||
" $channel channel name\n"
|
||||
" $nick nick on server\n"
|
||||
" ${irc_server.xxx} variable xxx in server\n"
|
||||
" ${irc_channel.xxx} variable xxx in channel\n"
|
||||
"\n"
|
||||
"Examples:\n"
|
||||
" execute '/me is testing' on all private buffers:\n"
|
||||
" /allpv me is testing\n"
|
||||
" /allpv /me is testing\n"
|
||||
" say 'hello' everywhere but not for nick foo:\n"
|
||||
" /allpv -exclude=foo msg * hello\n"
|
||||
" /allpv -exclude=foo hello\n"
|
||||
" say 'hello' everywhere but not for nick foo and nicks beginning "
|
||||
"with bar:\n"
|
||||
" /allpv -exclude=foo,bar* msg * hello\n"
|
||||
" /allpv -exclude=foo,bar* hello\n"
|
||||
" say 'hello' for all nicks beginning with bar:\n"
|
||||
" /allpv -include=bar* msg * hello\n"
|
||||
" /allpv -include=bar* hello\n"
|
||||
" close all private buffers:\n"
|
||||
" /allpv close"),
|
||||
" /allpv /close"),
|
||||
"-current", &irc_command_allpv, NULL, NULL);
|
||||
weechat_hook_command (
|
||||
"allserv",
|
||||
N_("execute a command on all connected servers"),
|
||||
N_("[-exclude=<server>[,<server>...]] "
|
||||
"<command> [<arguments>]"
|
||||
N_("[-exclude=<server>[,<server>...]] <command>"
|
||||
" || -include=<server>[,<server>...] "
|
||||
"<command> [<arguments>]"),
|
||||
"<command>"),
|
||||
N_(" -exclude: exclude some servers (wildcard \"*\" is allowed)\n"
|
||||
" -include: include only some servers (wildcard \"*\" is allowed)\n"
|
||||
" command: command to execute\n"
|
||||
"arguments: arguments for command (special variables $nick, $channel "
|
||||
"and $server are replaced by their value)\n"
|
||||
" command: command to execute (or text to send to buffer if "
|
||||
"command does not start with '/')\n"
|
||||
"\n"
|
||||
"Command and arguments are evaluated (see /help eval), the following "
|
||||
"variables are replaced:\n"
|
||||
" $server server name\n"
|
||||
" $nick nick on server\n"
|
||||
" ${irc_server.xxx} variable xxx in server\n"
|
||||
"\n"
|
||||
"Examples:\n"
|
||||
" change nick on all servers:\n"
|
||||
" /allserv nick newnick\n"
|
||||
" /allserv /nick newnick\n"
|
||||
" set away on all servers:\n"
|
||||
" /allserv away I'm away\n"
|
||||
" /allserv /away I'm away\n"
|
||||
" do a whois on my nick on all servers:\n"
|
||||
" /allserv whois $nick"),
|
||||
" /allserv /whois $nick"),
|
||||
NULL, &irc_command_allserv, NULL, NULL);
|
||||
weechat_hook_command_run ("/away", &irc_command_run_away, NULL, NULL);
|
||||
weechat_hook_command (
|
||||
|
||||
@@ -515,12 +515,12 @@ irc_protocol_cap_print_cb (void *data,
|
||||
str_caps = (char **)data;
|
||||
|
||||
if (*str_caps[0])
|
||||
weechat_string_dyn_concat (str_caps, " ");
|
||||
weechat_string_dyn_concat (str_caps, key);
|
||||
weechat_string_dyn_concat (str_caps, " ", -1);
|
||||
weechat_string_dyn_concat (str_caps, key, -1);
|
||||
if (value)
|
||||
{
|
||||
weechat_string_dyn_concat (str_caps, "=");
|
||||
weechat_string_dyn_concat (str_caps, value);
|
||||
weechat_string_dyn_concat (str_caps, "=", -1);
|
||||
weechat_string_dyn_concat (str_caps, value, -1);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -837,9 +837,10 @@ IRC_PROTOCOL_CALLBACK(cap)
|
||||
if (caps_supported[i][0] == '-')
|
||||
{
|
||||
if (*str_caps_disabled[0])
|
||||
weechat_string_dyn_concat (str_caps_disabled, " ");
|
||||
weechat_string_dyn_concat (str_caps_disabled, " ", -1);
|
||||
weechat_string_dyn_concat (str_caps_disabled,
|
||||
caps_supported[i] + 1);
|
||||
caps_supported[i] + 1,
|
||||
-1);
|
||||
|
||||
weechat_hashtable_remove (server->cap_list,
|
||||
caps_supported[i] + 1);
|
||||
@@ -847,9 +848,10 @@ IRC_PROTOCOL_CALLBACK(cap)
|
||||
else
|
||||
{
|
||||
if (*str_caps_enabled[0])
|
||||
weechat_string_dyn_concat (str_caps_enabled, " ");
|
||||
weechat_string_dyn_concat (str_caps_enabled, " ", -1);
|
||||
weechat_string_dyn_concat (str_caps_enabled,
|
||||
caps_supported[i]);
|
||||
caps_supported[i],
|
||||
-1);
|
||||
|
||||
weechat_hashtable_set (server->cap_list,
|
||||
caps_supported[i], NULL);
|
||||
@@ -5420,12 +5422,12 @@ IRC_PROTOCOL_CALLBACK(366)
|
||||
length = strlen (str_nicks_count);
|
||||
snprintf (str_nicks_count + length,
|
||||
sizeof (str_nicks_count) - length,
|
||||
"%s%s%d%s %s",
|
||||
/* TRANSLATORS: number of "normal" nicks on a channel (ie no op/voice), for example: "56 normals" */
|
||||
NG_("%s%s%d%s normal", "%s%s%d%s normals", num_normal),
|
||||
(str_nicks_count[0]) ? ", " : "",
|
||||
IRC_COLOR_CHAT_CHANNEL,
|
||||
num_normal,
|
||||
IRC_COLOR_RESET,
|
||||
NG_("normal", "normals", num_normal));
|
||||
IRC_COLOR_RESET);
|
||||
weechat_printf_date_tags (
|
||||
irc_msgbuffer_get_target_buffer (
|
||||
server, NULL, command, "names", ptr_channel->buffer),
|
||||
@@ -6370,6 +6372,12 @@ IRC_PROTOCOL_CALLBACK(901)
|
||||
|
||||
IRC_PROTOCOL_CALLBACK(sasl_end_ok)
|
||||
{
|
||||
if (server->hook_timer_sasl)
|
||||
{
|
||||
weechat_unhook (server->hook_timer_sasl);
|
||||
server->hook_timer_sasl = NULL;
|
||||
}
|
||||
|
||||
irc_protocol_cb_numeric (server,
|
||||
date, nick, address, host, command,
|
||||
ignored, argc, argv, argv_eol);
|
||||
@@ -6391,6 +6399,12 @@ IRC_PROTOCOL_CALLBACK(sasl_end_fail)
|
||||
{
|
||||
int sasl_fail;
|
||||
|
||||
if (server->hook_timer_sasl)
|
||||
{
|
||||
weechat_unhook (server->hook_timer_sasl);
|
||||
server->hook_timer_sasl = NULL;
|
||||
}
|
||||
|
||||
irc_protocol_cb_numeric (server,
|
||||
date, nick, address, host, command,
|
||||
ignored, argc, argv, argv_eol);
|
||||
|
||||
@@ -478,10 +478,8 @@ irc_sasl_mechanism_dh_blowfish (const char *data_base64,
|
||||
/* create password buffers (clear and crypted) */
|
||||
length_password = strlen (sasl_password) +
|
||||
((8 - (strlen (sasl_password) % 8)) % 8);
|
||||
password_clear = malloc (length_password);
|
||||
password_crypted = malloc (length_password);
|
||||
memset (password_clear, 0, length_password);
|
||||
memset (password_crypted, 0, length_password);
|
||||
password_clear = calloc (1, length_password);
|
||||
password_crypted = calloc (1, length_password);
|
||||
memcpy (password_clear, sasl_password, strlen (sasl_password));
|
||||
|
||||
/* crypt password using blowfish */
|
||||
@@ -604,10 +602,9 @@ irc_sasl_mechanism_dh_aes (const char *data_base64,
|
||||
length_password = strlen (sasl_password) + 1;
|
||||
length_userpass = length_username + length_password +
|
||||
((16 - ((length_username + length_password) % 16)) % 16);
|
||||
ptr_userpass = userpass_clear = malloc (length_userpass);
|
||||
userpass_crypted = malloc (length_userpass);
|
||||
memset (userpass_clear, 0, length_password);
|
||||
memset (userpass_crypted, 0, length_password);
|
||||
userpass_clear = calloc (1, length_userpass);
|
||||
ptr_userpass = userpass_clear;
|
||||
userpass_crypted = calloc (1, length_userpass);
|
||||
memcpy (ptr_userpass, sasl_username, length_username);
|
||||
ptr_userpass += length_username;
|
||||
memcpy (ptr_userpass, sasl_password, length_password);
|
||||
|
||||
+100
-21
@@ -5310,6 +5310,99 @@ irc_server_autojoin_create_buffers (struct t_irc_server *server)
|
||||
free (autojoin);
|
||||
}
|
||||
|
||||
/*
|
||||
* Build the arguments for JOIN command using channels in server, only if the
|
||||
* channel is not in "part" state (/part command issued).
|
||||
*
|
||||
* The arguments have the following format, where keys are optional (this is
|
||||
* the syntax of JOIN command in IRC protocol):
|
||||
*
|
||||
* #channel1,#channel2,#channel3 key1,key2
|
||||
*
|
||||
* Note: result must be freed after use.
|
||||
*/
|
||||
|
||||
char *
|
||||
irc_server_build_autojoin (struct t_irc_server *server)
|
||||
{
|
||||
struct t_irc_channel *ptr_channel;
|
||||
char **channels_with_key, **channels_others, **keys;
|
||||
|
||||
channels_with_key = NULL;
|
||||
channels_others = NULL;
|
||||
keys = NULL;
|
||||
|
||||
channels_with_key = weechat_string_dyn_alloc (1024);
|
||||
if (!channels_with_key)
|
||||
goto error;
|
||||
channels_others = weechat_string_dyn_alloc (1024);
|
||||
if (!channels_others)
|
||||
goto error;
|
||||
keys = weechat_string_dyn_alloc (1024);
|
||||
if (!keys)
|
||||
goto error;
|
||||
|
||||
for (ptr_channel = server->channels; ptr_channel;
|
||||
ptr_channel = ptr_channel->next_channel)
|
||||
{
|
||||
if ((ptr_channel->type == IRC_CHANNEL_TYPE_CHANNEL)
|
||||
&& !ptr_channel->part)
|
||||
{
|
||||
if (ptr_channel->key)
|
||||
{
|
||||
/* add channel with key and the key */
|
||||
if (*channels_with_key[0])
|
||||
weechat_string_dyn_concat (channels_with_key, ",", -1);
|
||||
weechat_string_dyn_concat (channels_with_key,
|
||||
ptr_channel->name,
|
||||
-1);
|
||||
if (*keys[0])
|
||||
weechat_string_dyn_concat (keys, ",", -1);
|
||||
weechat_string_dyn_concat (keys, ptr_channel->key, -1);
|
||||
}
|
||||
else
|
||||
{
|
||||
/* add channel without key */
|
||||
if (*channels_others[0])
|
||||
weechat_string_dyn_concat (channels_others, ",", -1);
|
||||
weechat_string_dyn_concat (channels_others,
|
||||
ptr_channel->name,
|
||||
-1);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* concatenate channels_with_key + channels_others + keys
|
||||
* into channels_with_key
|
||||
*/
|
||||
if (*channels_others[0])
|
||||
{
|
||||
if (*channels_with_key[0])
|
||||
weechat_string_dyn_concat (channels_with_key, ",", -1);
|
||||
weechat_string_dyn_concat (channels_with_key, *channels_others, -1);
|
||||
}
|
||||
if (*keys[0])
|
||||
{
|
||||
weechat_string_dyn_concat (channels_with_key, " ", -1);
|
||||
weechat_string_dyn_concat (channels_with_key, *keys, -1);
|
||||
}
|
||||
|
||||
weechat_string_dyn_free (channels_others, 1);
|
||||
weechat_string_dyn_free (keys, 1);
|
||||
|
||||
return weechat_string_dyn_free (channels_with_key, 0);
|
||||
|
||||
error:
|
||||
if (channels_with_key)
|
||||
weechat_string_dyn_free (channels_with_key, 1);
|
||||
if (channels_others)
|
||||
weechat_string_dyn_free (channels_others, 1);
|
||||
if (keys)
|
||||
weechat_string_dyn_free (keys, 1);
|
||||
return NULL;
|
||||
}
|
||||
|
||||
/*
|
||||
* Autojoins (or auto-rejoins) channels.
|
||||
*/
|
||||
@@ -5317,33 +5410,19 @@ irc_server_autojoin_create_buffers (struct t_irc_server *server)
|
||||
void
|
||||
irc_server_autojoin_channels (struct t_irc_server *server)
|
||||
{
|
||||
struct t_irc_channel *ptr_channel;
|
||||
char *autojoin;
|
||||
|
||||
/* auto-join after disconnection (only rejoins opened channels) */
|
||||
if (!server->disable_autojoin && server->reconnect_join && server->channels)
|
||||
{
|
||||
for (ptr_channel = server->channels; ptr_channel;
|
||||
ptr_channel = ptr_channel->next_channel)
|
||||
autojoin = irc_server_build_autojoin (server);
|
||||
if (autojoin)
|
||||
{
|
||||
if ((ptr_channel->type == IRC_CHANNEL_TYPE_CHANNEL)
|
||||
&& !ptr_channel->part)
|
||||
{
|
||||
if (ptr_channel->key)
|
||||
{
|
||||
irc_server_sendf (server,
|
||||
IRC_SERVER_SEND_OUTQ_PRIO_HIGH, NULL,
|
||||
"JOIN %s %s",
|
||||
ptr_channel->name, ptr_channel->key);
|
||||
}
|
||||
else
|
||||
{
|
||||
irc_server_sendf (server,
|
||||
IRC_SERVER_SEND_OUTQ_PRIO_HIGH, NULL,
|
||||
"JOIN %s",
|
||||
ptr_channel->name);
|
||||
}
|
||||
}
|
||||
irc_server_sendf (server,
|
||||
IRC_SERVER_SEND_OUTQ_PRIO_HIGH, NULL,
|
||||
"JOIN %s",
|
||||
autojoin);
|
||||
free (autojoin);
|
||||
}
|
||||
server->reconnect_join = 0;
|
||||
}
|
||||
|
||||
@@ -376,6 +376,19 @@ API_FUNC(string_format_size)
|
||||
API_RETURN_STRING_FREE(result);
|
||||
}
|
||||
|
||||
API_FUNC(string_color_code_size)
|
||||
{
|
||||
int size;
|
||||
|
||||
API_INIT_FUNC(1, "string_color_code_size", "s", API_RETURN_INT(0));
|
||||
|
||||
v8::String::Utf8Value string(args[0]);
|
||||
|
||||
size = weechat_string_color_code_size (*string);
|
||||
|
||||
API_RETURN_INT(size);
|
||||
}
|
||||
|
||||
API_FUNC(string_remove_color)
|
||||
{
|
||||
char *result;
|
||||
@@ -4945,6 +4958,7 @@ WeechatJsV8::loadLibs()
|
||||
API_DEF_FUNC(string_has_highlight_regex);
|
||||
API_DEF_FUNC(string_mask_to_regex);
|
||||
API_DEF_FUNC(string_format_size);
|
||||
API_DEF_FUNC(string_color_code_size);
|
||||
API_DEF_FUNC(string_remove_color);
|
||||
API_DEF_FUNC(string_is_command_char);
|
||||
API_DEF_FUNC(string_input_for_buffer);
|
||||
|
||||
@@ -423,6 +423,22 @@ API_FUNC(string_format_size)
|
||||
API_RETURN_STRING_FREE(result);
|
||||
}
|
||||
|
||||
API_FUNC(string_color_code_size)
|
||||
{
|
||||
const char *string;
|
||||
int size;
|
||||
|
||||
API_INIT_FUNC(1, "string_color_code_size", API_RETURN_INT(0));
|
||||
if (lua_gettop (L) < 1)
|
||||
API_WRONG_ARGS(API_RETURN_INT(0));
|
||||
|
||||
string = lua_tostring (L, -1);
|
||||
|
||||
size = weechat_string_color_code_size (string);
|
||||
|
||||
API_RETURN_INT(size);
|
||||
}
|
||||
|
||||
API_FUNC(string_remove_color)
|
||||
{
|
||||
const char *string, *replacement;
|
||||
@@ -5309,6 +5325,7 @@ const struct luaL_Reg weechat_lua_api_funcs[] = {
|
||||
API_DEF_FUNC(string_has_highlight_regex),
|
||||
API_DEF_FUNC(string_mask_to_regex),
|
||||
API_DEF_FUNC(string_format_size),
|
||||
API_DEF_FUNC(string_color_code_size),
|
||||
API_DEF_FUNC(string_remove_color),
|
||||
API_DEF_FUNC(string_is_command_char),
|
||||
API_DEF_FUNC(string_input_for_buffer),
|
||||
|
||||
@@ -258,7 +258,6 @@ int
|
||||
weechat_lua_output (lua_State *L)
|
||||
{
|
||||
const char *msg, *ptr_msg, *ptr_newline;
|
||||
char *message;
|
||||
|
||||
if (lua_gettop (L) < 1)
|
||||
return 0;
|
||||
@@ -267,14 +266,13 @@ weechat_lua_output (lua_State *L)
|
||||
ptr_msg = msg;
|
||||
while ((ptr_newline = strchr (ptr_msg, '\n')) != NULL)
|
||||
{
|
||||
message = weechat_strndup (ptr_msg, ptr_newline - ptr_msg);
|
||||
weechat_string_dyn_concat (lua_buffer_output, message);
|
||||
if (message)
|
||||
free (message);
|
||||
weechat_string_dyn_concat (lua_buffer_output,
|
||||
ptr_msg,
|
||||
ptr_newline - ptr_msg);
|
||||
weechat_lua_output_flush ();
|
||||
ptr_msg = ++ptr_newline;
|
||||
}
|
||||
weechat_string_dyn_concat (lua_buffer_output, ptr_msg);
|
||||
weechat_string_dyn_concat (lua_buffer_output, ptr_msg, -1);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
@@ -383,6 +383,20 @@ API_FUNC(string_format_size)
|
||||
API_RETURN_STRING_FREE(result);
|
||||
}
|
||||
|
||||
API_FUNC(string_color_code_size)
|
||||
{
|
||||
int size;
|
||||
dXSARGS;
|
||||
|
||||
API_INIT_FUNC(1, "string_color_code_size", API_RETURN_INT(0));
|
||||
if (items < 1)
|
||||
API_WRONG_ARGS(API_RETURN_INT(0));
|
||||
|
||||
size = weechat_string_color_code_size (SvPV_nolen (ST (0))); /* string */
|
||||
|
||||
API_RETURN_INT(size);
|
||||
}
|
||||
|
||||
API_FUNC(string_remove_color)
|
||||
{
|
||||
char *result, *string, *replacement;
|
||||
@@ -5266,6 +5280,7 @@ weechat_perl_api_init (pTHX)
|
||||
API_DEF_FUNC(string_has_highlight_regex);
|
||||
API_DEF_FUNC(string_mask_to_regex);
|
||||
API_DEF_FUNC(string_format_size);
|
||||
API_DEF_FUNC(string_color_code_size);
|
||||
API_DEF_FUNC(string_remove_color);
|
||||
API_DEF_FUNC(string_is_command_char);
|
||||
API_DEF_FUNC(string_input_for_buffer);
|
||||
|
||||
@@ -292,7 +292,7 @@ weechat_perl_output_flush ()
|
||||
|
||||
XS (weechat_perl_output)
|
||||
{
|
||||
char *msg, *ptr_msg, *ptr_newline, *message;
|
||||
char *msg, *ptr_msg, *ptr_newline;
|
||||
dXSARGS;
|
||||
|
||||
if (items < 1)
|
||||
@@ -302,14 +302,13 @@ XS (weechat_perl_output)
|
||||
ptr_msg = msg;
|
||||
while ((ptr_newline = strchr (ptr_msg, '\n')) != NULL)
|
||||
{
|
||||
message = weechat_strndup (ptr_msg, ptr_newline - ptr_msg);
|
||||
weechat_string_dyn_concat (perl_buffer_output, message);
|
||||
if (message)
|
||||
free (message);
|
||||
weechat_string_dyn_concat (perl_buffer_output,
|
||||
ptr_msg,
|
||||
ptr_newline - ptr_msg);
|
||||
weechat_perl_output_flush ();
|
||||
ptr_msg = ++ptr_newline;
|
||||
}
|
||||
weechat_string_dyn_concat (perl_buffer_output, ptr_msg);
|
||||
weechat_string_dyn_concat (perl_buffer_output, ptr_msg, -1);
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
@@ -497,6 +497,23 @@ API_FUNC(string_format_size)
|
||||
API_RETURN_STRING_FREE(result);
|
||||
}
|
||||
|
||||
API_FUNC(string_color_code_size)
|
||||
{
|
||||
zend_string *z_string;
|
||||
char *string;
|
||||
int result;
|
||||
|
||||
API_INIT_FUNC(1, "string_color_code_size", API_RETURN_INT(0));
|
||||
if (zend_parse_parameters (ZEND_NUM_ARGS(), "S", &z_string) == FAILURE)
|
||||
API_WRONG_ARGS(API_RETURN_INT(0));
|
||||
|
||||
string = ZSTR_VAL(z_string);
|
||||
|
||||
result = weechat_string_color_code_size ((const char *)string);
|
||||
|
||||
API_RETURN_INT(result);
|
||||
}
|
||||
|
||||
API_FUNC(string_remove_color)
|
||||
{
|
||||
zend_string *z_string, *z_replacement;
|
||||
|
||||
@@ -59,6 +59,7 @@ PHP_FUNCTION(weechat_string_has_highlight);
|
||||
PHP_FUNCTION(weechat_string_has_highlight_regex);
|
||||
PHP_FUNCTION(weechat_string_mask_to_regex);
|
||||
PHP_FUNCTION(weechat_string_format_size);
|
||||
PHP_FUNCTION(weechat_string_color_code_size);
|
||||
PHP_FUNCTION(weechat_string_remove_color);
|
||||
PHP_FUNCTION(weechat_string_is_command_char);
|
||||
PHP_FUNCTION(weechat_string_input_for_buffer);
|
||||
|
||||
@@ -112,6 +112,7 @@ const zend_function_entry weechat_functions[] = {
|
||||
PHP_FE(weechat_string_has_highlight_regex, NULL)
|
||||
PHP_FE(weechat_string_mask_to_regex, NULL)
|
||||
PHP_FE(weechat_string_format_size, NULL)
|
||||
PHP_FE(weechat_string_color_code_size, NULL)
|
||||
PHP_FE(weechat_string_remove_color, NULL)
|
||||
PHP_FE(weechat_string_is_command_char, NULL)
|
||||
PHP_FE(weechat_string_input_for_buffer, NULL)
|
||||
|
||||
@@ -665,15 +665,24 @@ plugin_api_info_nick_color_cb (const void *pointer, void *data,
|
||||
const char *info_name,
|
||||
const char *arguments)
|
||||
{
|
||||
const char *ptr_color;
|
||||
char **items, *result;
|
||||
int num_items;
|
||||
|
||||
/* make C compiler happy */
|
||||
(void) pointer;
|
||||
(void) data;
|
||||
(void) info_name;
|
||||
|
||||
ptr_color = gui_nick_find_color (arguments);
|
||||
return (ptr_color) ? strdup (ptr_color) : NULL;
|
||||
items = string_split (arguments, ";", NULL, 0, 2, &num_items);
|
||||
|
||||
result = gui_nick_find_color (
|
||||
(num_items >= 1) ? items[0] : NULL,
|
||||
(num_items >= 2) ? items[1] : NULL);
|
||||
|
||||
if (items)
|
||||
string_free_split (items);
|
||||
|
||||
return result;
|
||||
}
|
||||
|
||||
/*
|
||||
@@ -685,15 +694,24 @@ plugin_api_info_nick_color_name_cb (const void *pointer, void *data,
|
||||
const char *info_name,
|
||||
const char *arguments)
|
||||
{
|
||||
const char *ptr_color;
|
||||
char **items, *result;
|
||||
int num_items;
|
||||
|
||||
/* make C compiler happy */
|
||||
(void) pointer;
|
||||
(void) data;
|
||||
(void) info_name;
|
||||
|
||||
ptr_color = gui_nick_find_color_name (arguments);
|
||||
return (ptr_color) ? strdup (ptr_color) : NULL;
|
||||
items = string_split (arguments, ";", NULL, 0, 2, &num_items);
|
||||
|
||||
result = gui_nick_find_color_name (
|
||||
(num_items >= 1) ? items[0] : NULL,
|
||||
(num_items >= 2) ? items[1] : NULL);
|
||||
|
||||
if (items)
|
||||
string_free_split (items);
|
||||
|
||||
return result;
|
||||
}
|
||||
|
||||
/*
|
||||
@@ -1835,11 +1853,19 @@ plugin_api_info_init ()
|
||||
&plugin_api_info_color_rgb2term_cb, NULL, NULL);
|
||||
hook_info (NULL, "nick_color",
|
||||
N_("get nick color code"),
|
||||
N_("nickname"),
|
||||
N_("nickname;colors (colors is an optional comma-separated "
|
||||
"list of colors to use; background is allowed for a color "
|
||||
"with format text:background; if colors is present, WeeChat "
|
||||
"options with nick colors and forced nick colors are "
|
||||
"ignored)"),
|
||||
&plugin_api_info_nick_color_cb, NULL, NULL);
|
||||
hook_info (NULL, "nick_color_name",
|
||||
N_("get nick color name"),
|
||||
N_("nickname"),
|
||||
N_("nickname;colors (colors is an optional comma-separated "
|
||||
"list of colors to use; background is allowed for a color "
|
||||
"with format text:background; if colors is present, WeeChat "
|
||||
"options with nick colors and forced nick colors are "
|
||||
"ignored)"),
|
||||
&plugin_api_info_nick_color_name_cb, NULL, NULL);
|
||||
hook_info (NULL, "uptime",
|
||||
N_("WeeChat uptime (format: \"days:hh:mm:ss\")"),
|
||||
|
||||
@@ -632,6 +632,7 @@ plugin_load (const char *filename, int init_plugin, int argc, char **argv)
|
||||
new_plugin->string_split_command = &string_split_command;
|
||||
new_plugin->string_free_split_command = &string_free_split_command;
|
||||
new_plugin->string_format_size = &string_format_size;
|
||||
new_plugin->string_color_code_size = &gui_color_code_size;
|
||||
new_plugin->string_remove_color = &gui_color_decode;
|
||||
new_plugin->string_base_encode = &string_base_encode;
|
||||
new_plugin->string_base_decode = &string_base_decode;
|
||||
|
||||
@@ -369,6 +369,21 @@ API_FUNC(string_format_size)
|
||||
API_RETURN_STRING_FREE(result);
|
||||
}
|
||||
|
||||
API_FUNC(string_color_code_size)
|
||||
{
|
||||
char *string;
|
||||
int size;
|
||||
|
||||
API_INIT_FUNC(1, "string_color_code_size", API_RETURN_INT(0));
|
||||
string = NULL;
|
||||
if (!PyArg_ParseTuple (args, "s", &string))
|
||||
API_WRONG_ARGS(API_RETURN_INT(0));
|
||||
|
||||
size = weechat_string_color_code_size (string);
|
||||
|
||||
API_RETURN_INT(size);
|
||||
}
|
||||
|
||||
API_FUNC(string_remove_color)
|
||||
{
|
||||
char *string, *replacement, *result;
|
||||
@@ -5217,6 +5232,7 @@ PyMethodDef weechat_python_funcs[] =
|
||||
API_DEF_FUNC(string_has_highlight_regex),
|
||||
API_DEF_FUNC(string_mask_to_regex),
|
||||
API_DEF_FUNC(string_format_size),
|
||||
API_DEF_FUNC(string_color_code_size),
|
||||
API_DEF_FUNC(string_remove_color),
|
||||
API_DEF_FUNC(string_is_command_char),
|
||||
API_DEF_FUNC(string_input_for_buffer),
|
||||
|
||||
@@ -444,13 +444,13 @@ weechat_python_output (PyObject *self, PyObject *args)
|
||||
ptr_msg = msg;
|
||||
while ((ptr_newline = strchr (ptr_msg, '\n')) != NULL)
|
||||
{
|
||||
ptr_newline[0] = '\0';
|
||||
weechat_string_dyn_concat (python_buffer_output, ptr_msg);
|
||||
weechat_string_dyn_concat (python_buffer_output,
|
||||
ptr_msg,
|
||||
ptr_newline - ptr_msg);
|
||||
weechat_python_output_flush ();
|
||||
ptr_newline[0] = '\n';
|
||||
ptr_msg = ++ptr_newline;
|
||||
}
|
||||
weechat_string_dyn_concat (python_buffer_output, ptr_msg);
|
||||
weechat_string_dyn_concat (python_buffer_output, ptr_msg, -1);
|
||||
}
|
||||
|
||||
Py_INCREF(Py_None);
|
||||
|
||||
@@ -448,6 +448,25 @@ weechat_ruby_api_string_format_size (VALUE class, VALUE size)
|
||||
API_RETURN_STRING_FREE(result);
|
||||
}
|
||||
|
||||
static VALUE
|
||||
weechat_ruby_api_string_color_code_size (VALUE class, VALUE string)
|
||||
{
|
||||
char *c_string;
|
||||
int size;
|
||||
|
||||
API_INIT_FUNC(1, "string_color_code_size", API_RETURN_INT(0));
|
||||
if (NIL_P (string))
|
||||
API_WRONG_ARGS(API_RETURN_INT(0));
|
||||
|
||||
Check_Type (string, T_STRING);
|
||||
|
||||
c_string = StringValuePtr (string);
|
||||
|
||||
size = weechat_string_color_code_size (c_string);
|
||||
|
||||
API_RETURN_INT(size);
|
||||
}
|
||||
|
||||
static VALUE
|
||||
weechat_ruby_api_string_remove_color (VALUE class, VALUE string,
|
||||
VALUE replacement)
|
||||
@@ -6424,6 +6443,7 @@ weechat_ruby_api_init (VALUE ruby_mWeechat)
|
||||
API_DEF_FUNC(string_has_highlight_regex, 2);
|
||||
API_DEF_FUNC(string_mask_to_regex, 1);
|
||||
API_DEF_FUNC(string_format_size, 1);
|
||||
API_DEF_FUNC(string_color_code_size, 1);
|
||||
API_DEF_FUNC(string_remove_color, 2);
|
||||
API_DEF_FUNC(string_is_command_char, 1);
|
||||
API_DEF_FUNC(string_input_for_buffer, 1);
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user