1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-07 10:13:12 +02:00

Compare commits

...

42 Commits

Author SHA1 Message Date
Sébastien Helleu 78e5b399b2 ruby: add detection of Ruby 2.2
(cherry picked from commit 515e8b7b1a)
2015-06-10 23:20:46 +02:00
Sébastien Helleu 66abd51786 Version 1.2 2015-05-10 09:24:50 +02:00
Sébastien Helleu 43fa9df6c2 doc: update Polish auto-generated files 2015-05-09 19:20:16 +02:00
Krzysztof Korościk 4667366888 Update polih translations 2015-05-09 14:00:23 +02:00
Krzysztof Korościk 36e18efa75 Polish translation update 2015-05-09 12:11:58 +02:00
Sébastien Helleu 0e75ad742b core: sort languages alphabetically in build 2015-05-09 09:39:26 +02:00
Nils Görs cae3e25906 core: update German translations 2015-05-09 09:26:20 +02:00
Sébastien Helleu e2310a4264 irc: display a warning when the option irc.look.display_away is set to "channel" 2015-05-07 07:07:09 +02:00
Sébastien Helleu c4e260c992 doc: harmonize size of bar filling examples (user's guide) 2015-05-05 20:41:15 +02:00
Sébastien Helleu 241a999bd6 Merge pull request #417 from l/translation_ja
core: update Japanese translations
2015-05-02 23:43:43 +02:00
AYANOKOUZI, Ryuunosuke ee37063ce1 core: update Japanese translations 2015-05-03 05:24:38 +09:00
Sébastien Helleu dc8b3f977f Version 1.2-rc2 2015-05-02 08:44:55 +02:00
Sébastien Helleu e9c8e70e35 doc: merge min/max version columns into a single column in dependencies (user's guide) 2015-05-01 15:07:06 +02:00
Sébastien Helleu 8d25cd5d34 core: fix compilation on Cygwin
The header sys/select.h is now required for select() function.
2015-05-01 09:54:07 +02:00
Sébastien Helleu 90bd568a61 core: add missing completions in command /input 2015-05-01 08:47:11 +02:00
Sébastien Helleu d8d44d6138 core: add signals "signal_sigterm" and "signal_sigquit" (closes #114) 2015-05-01 08:33:52 +02:00
Sébastien Helleu 71dd64678c core: add comments after some #endif 2015-04-30 21:15:30 +02:00
Sébastien Helleu 499f36a7cf irc: optimize search of a nick in nicklist (up to 3x faster) 2015-04-29 21:20:08 +02:00
Nils Görs 9793649e79 doc: update German documentation 2015-04-28 22:20:42 +02:00
Sébastien Helleu b7b06c252c doc: update Japanese auto-generated file 2015-04-28 20:33:32 +02:00
Sébastien Helleu e852a1b775 Merge pull request #414 from l/translation_ja
core: update Japanese translations
2015-04-28 20:25:31 +02:00
AYANOKOUZI, Ryuunosuke 5bdc256911 core: update Japanese translations 2015-04-29 02:58:12 +09:00
Sébastien Helleu 5ef79b58a3 doc: update German auto-generated file 2015-04-26 17:07:08 +02:00
Sébastien Helleu 908bde8ac2 core: remove extra spaces in function gui_bar_item_default_mouse_status 2015-04-26 17:06:39 +02:00
Nils Görs a06ce8da05 core: update German translations 2015-04-26 13:13:15 +02:00
Nils Görs fb66b2d998 core: update German translations 2015-04-26 12:48:01 +02:00
Sébastien Helleu 6b2c9d2cb8 api: add support of environment variables in function string_eval_expression() and command /eval (issue #388) 2015-04-26 11:50:39 +02:00
Sébastien Helleu 80f446a4b4 doc: fix French translations in function string_eval_expression (plugin API reference) 2015-04-26 10:52:30 +02:00
Sébastien Helleu b3cfd93374 doc: fix typo in function string_eval_expression (plugin API reference) 2015-04-26 10:42:50 +02:00
Sébastien Helleu d322389e04 core: add support of full color option name in command /eval and API function string_eval_expression() 2015-04-26 10:29:30 +02:00
Sébastien Helleu 0f333ee630 api: add support of full color option name in function color() 2015-04-26 10:29:22 +02:00
Sébastien Helleu ccc6cdace1 irc: fix color of new nick in nick changes messages when option irc.look.color_nicks_in_server_messages is off 2015-04-25 20:38:03 +02:00
Nils Görs b5fbea7993 core: update German translations 2015-04-25 16:46:26 +02:00
Sébastien Helleu ac0486bdc4 core: add contributor in AUTHORS.asciidoc 2015-04-25 13:09:43 +02:00
Sébastien Helleu 3f3e8e743d core: update ChangeLog 2015-04-25 13:08:40 +02:00
Sébastien Helleu c3c12a1315 doc: add environment variable WEECHAT_HOME in command line options 2015-04-25 13:07:43 +02:00
Sébastien Helleu f7ff3bcadd core: add environment variable WEECHAT_HOME in "weechat --help" 2015-04-25 13:01:36 +02:00
Sébastien Helleu ae1211d4ab core: rename function and argument to set home path 2015-04-25 12:56:44 +02:00
Sébastien Helleu da184957b9 Merge remote-tracking branch 'origin/pr/391' 2015-04-25 12:34:29 +02:00
Sébastien Helleu 4695b26a57 irc: fix crash when setting an invalid regex with "/list -re" during a /list server response (closes #412) 2015-04-25 08:54:48 +02:00
Sébastien Helleu 6c4c4a37fd core: display the welcome message immediately after the startup message, move source code to weechat.c 2015-04-25 08:38:44 +02:00
Karthik K 1eaf0e36e8 core: Respect environment variable WEECHAT_HOME
If environment variable WEECHAT_HOME is set to a non-empty value, this
is taken as the path for Weechat home directory.

"--dir" command-line switch has higher precedence over this
environment variable.
2015-04-17 22:09:43 +05:30
110 changed files with 1988 additions and 1522 deletions
+1
View File
@@ -47,6 +47,7 @@ Alphabetically:
* Jim Ramsay (lack) * Jim Ramsay (lack)
* Jiri Golembiovsky (GolemJ) * Jiri Golembiovsky (GolemJ)
* Julien Louis (ptitlouis) * Julien Louis (ptitlouis)
* Karthik K
* Koka El Kiwi (KiwiDash) * Koka El Kiwi (KiwiDash)
* Krzysztof Koroscik (soltys) * Krzysztof Koroscik (soltys)
* Kyle Fuller (kylef) * Kyle Fuller (kylef)
+1 -1
View File
@@ -35,7 +35,7 @@ endif()
# version # version
set(VERSION_MAJOR "1") set(VERSION_MAJOR "1")
set(VERSION_MINOR "2-rc1") set(VERSION_MINOR "2")
set(VERSION_PATCH "") set(VERSION_PATCH "")
if(VERSION_PATCH STREQUAL "") if(VERSION_PATCH STREQUAL "")
set(VERSION ${VERSION_MAJOR}.${VERSION_MINOR}) set(VERSION ${VERSION_MAJOR}.${VERSION_MINOR})
+15 -1
View File
@@ -15,10 +15,12 @@ https://weechat.org/files/releasenotes/ReleaseNotes-devel.html[release notes]
(file 'ReleaseNotes.asciidoc' in sources). (file 'ReleaseNotes.asciidoc' in sources).
== Version 1.2 (under dev) == Version 1.2 (2015-05-10)
=== New features === New features
* core: add signals "signal_sigterm" and "signal_sigquit" (closes #114)
* core: use environment variable WEECHAT_HOME on startup (closes #391)
* core: remove WeeChat version from config files (closes #407) * core: remove WeeChat version from config files (closes #407)
* core: add options weechat.look.quote_{nick_prefix|nick_suffix|time_format} to * core: add options weechat.look.quote_{nick_prefix|nick_suffix|time_format} to
customize quoted messages in cursor mode (closes #403) customize quoted messages in cursor mode (closes #403)
@@ -31,7 +33,14 @@ https://weechat.org/files/releasenotes/ReleaseNotes-devel.html[release notes]
* core: add option "-s" in command /eval to split expression before evaluating * core: add option "-s" in command /eval to split expression before evaluating
it (no more split by default) (closes #324) it (no more split by default) (closes #324)
* core: add priority in plugins to initialize them in order * core: add priority in plugins to initialize them in order
* api: add support of environment variables in function
string_eval_expression() and command /eval
* api: add support of full color option name in functions color() and
string_eval_expression() and in command /eval
* api: add "_chat_line" (line pointer) in hashtable of hook_focus * api: add "_chat_line" (line pointer) in hashtable of hook_focus
* irc: display a warning when the option irc.look.display_away is set to
"channel"
* irc: optimize search of a nick in nicklist (up to 3x faster)
* irc: add support of SHA-256 and SHA-512 algorithms in server option * irc: add support of SHA-256 and SHA-512 algorithms in server option
"ssl_fingerprint" (closes #281) "ssl_fingerprint" (closes #281)
* irc: add option "-noswitch" in command /query (closes #394) * irc: add option "-noswitch" in command /query (closes #394)
@@ -44,10 +53,15 @@ https://weechat.org/files/releasenotes/ReleaseNotes-devel.html[release notes]
=== Bugs fixed === Bugs fixed
* core: add missing completions in command /input
* guile: fix value returned in case of error in functions: * guile: fix value returned in case of error in functions:
config_option_reset, config_color, config_color_default, config_write, config_option_reset, config_color, config_color_default, config_write,
config_read, config_reload, hook_command, buffer_string_replace_local_var, config_read, config_reload, hook_command, buffer_string_replace_local_var,
command command
* irc: fix color of new nick in nick changes messages when option
irc.look.color_nicks_in_server_messages is off
* irc: fix crash when setting an invalid regex with "/list -re" during a /list
server response (closes #412)
* irc: fix display of PART messages on channels with +a (anonymous flag) * irc: fix display of PART messages on channels with +a (anonymous flag)
(closes #396) (closes #396)
* irc: remove useless rename of channel buffer on JOIN received with different * irc: remove useless rename of channel buffer on JOIN received with different
+1 -1
View File
@@ -17,7 +17,7 @@ https://weechat.org/files/changelog/ChangeLog-devel.html[ChangeLog]
(file 'ChangeLog.asciidoc' in sources). (file 'ChangeLog.asciidoc' in sources).
== Version 1.2 (under dev) == Version 1.2 (2015-05-10)
The word chars are now customizable with two options: The word chars are now customizable with two options:
+1 -1
View File
@@ -33,7 +33,7 @@ endif()
find_package(PkgConfig) find_package(PkgConfig)
if(PKG_CONFIG_FOUND) if(PKG_CONFIG_FOUND)
pkg_search_module(RUBY ruby-2.1 ruby-2.0 ruby-1.9 ruby-1.8) pkg_search_module(RUBY ruby-2.2 ruby-2.1 ruby-2.0 ruby-1.9 ruby-1.8)
endif() endif()
if(RUBY_FOUND) if(RUBY_FOUND)
+2 -2
View File
@@ -24,7 +24,7 @@
# Process this file with autoconf to produce a configure script. # Process this file with autoconf to produce a configure script.
AC_PREREQ(2.56) AC_PREREQ(2.56)
AC_INIT(WeeChat, 1.2-rc1, flashcode@flashtux.org) AC_INIT(WeeChat, 1.2, flashcode@flashtux.org)
AC_CONFIG_SRCDIR([configure.ac]) AC_CONFIG_SRCDIR([configure.ac])
AM_CONFIG_HEADER(config.h) AM_CONFIG_HEADER(config.h)
AM_INIT_AUTOMAKE([foreign]) AM_INIT_AUTOMAKE([foreign])
@@ -58,7 +58,7 @@ solaris*)
esac esac
# Gettext # Gettext
ALL_LINGUAS="fr es cs hu de ru pl it ja pt_BR tr" ALL_LINGUAS="cs de es fr hu it ja pl pt_BR ru tr"
AM_GNU_GETTEXT AM_GNU_GETTEXT
AM_GNU_GETTEXT_VERSION([0.18]) AM_GNU_GETTEXT_VERSION([0.18])
+12 -10
View File
@@ -280,9 +280,10 @@ Einige Variablen werden im Ausdruck, mittels der Formatierung ${Variable}, erset
2. Zeichen welche in einer Zeichenkette nicht dargestellt werden sollen (Format: "hide:Zeichen,Zeichenkette") 2. Zeichen welche in einer Zeichenkette nicht dargestellt werden sollen (Format: "hide:Zeichen,Zeichenkette")
3. eine Farbe (Format: color:xxx) 3. eine Farbe (Format: color:xxx)
4. eine Info (Format: "info:name,arguments", Argumente sind optional) 4. eine Info (Format: "info:name,arguments", Argumente sind optional)
5. der Name einer Einstellung (Format: file.section.option) 5. eine Umgebungsvariable (Format: "env:XXX")
6. der Name einer lokalen Variablen eines Buffer 6. der Name einer Programmoption (Format: file.section.option)
7. ein hdata Name/Variable (der Wert wird automatisch als Zeichenkette konvertiert), standardmäßig wird für "window" und "buffer" das aktuelle Fenster/Buffer verwendet. 7. der Name einer lokalen Variablen eines Buffer
8. ein hdata Name/Variable (der Wert wird automatisch als Zeichenkette konvertiert), standardmäßig wird für "window" und "buffer" das aktuelle Fenster/Buffer verwendet.
Das Format für hdata kann wie folgt aufgebaut sein: Das Format für hdata kann wie folgt aufgebaut sein:
hdata.var1.var2...: startet mit hdata (der Pointer muss bekannt sein) und fragt eine Variable nach der anderen ab (weitere hdata können folgen) hdata.var1.var2...: startet mit hdata (der Pointer muss bekannt sein) und fragt eine Variable nach der anderen ab (weitere hdata können folgen)
hdata[list].var1.var2...: startet hdata mittels einer Liste, zum Beispiel: hdata[list].var1.var2...: startet hdata mittels einer Liste, zum Beispiel:
@@ -291,13 +292,14 @@ Das Format für hdata kann wie folgt aufgebaut sein:
Die vorhandenen Namen für hdata und Variablen sind in der "Anleitung für API Erweiterung", Bereich "weechat_hdata_get". beschrieben Die vorhandenen Namen für hdata und Variablen sind in der "Anleitung für API Erweiterung", Bereich "weechat_hdata_get". beschrieben
Beispiele (einfache Zeichenketten): Beispiele (einfache Zeichenketten):
/eval -n ${info:version} ==> 0.4.3 /eval -n ${info:version} ==> 0.4.3
/eval -n ${weechat.look.scroll_amount} ==> 3 /eval -n ${env:HOME} ==> /home/user
/eval -n ${window} ==> 0x2549aa0 /eval -n ${weechat.look.scroll_amount} ==> 3
/eval -n ${window.buffer} ==> 0x2549320 /eval -n ${window} ==> 0x2549aa0
/eval -n ${window.buffer.full_name} ==> core.weechat /eval -n ${window.buffer} ==> 0x2549320
/eval -n ${window.buffer.number} ==> 1 /eval -n ${window.buffer.full_name} ==> core.weechat
/eval -n ${\t} ==> <tab> /eval -n ${window.buffer.number} ==> 1
/eval -n ${\t} ==> <tab>
/eval -n ${hide:-,${relay.network.password}} ==> -------- /eval -n ${hide:-,${relay.network.password}} ==> --------
Beispiele (Bedingungen): Beispiele (Bedingungen):
+7 -5
View File
@@ -2,12 +2,14 @@
deaktiviert das automatische Verbinden mit den Servern beim Start von WeeChat. deaktiviert das automatische Verbinden mit den Servern beim Start von WeeChat.
*-c*, *--colors*:: *-c*, *--colors*::
Zeigt die Standardfarben im Terminal an. zeigt die Standardfarben im Terminal an.
*-d*, *--dir* '<path>':: *-d*, *--dir* '<path>'::
legt den Konfigurationsordner für WeeChat fest (Voreinstellung: ~/.weechat) in legt den Konfigurationsordner für WeeChat fest in welchem die Erweiterungen,
dem die Erweiterungen, Skripten, Protokolldateien etc.pp. gesichert werden. Skripten, Protokolldateien etc.pp. gesichert werden (Voreinstellung: ~/.weechat).
Sollte das Verzeichnis nicht existieren wird es beim Start angelegt. Sollte das Verzeichnis nicht existieren wird es beim Start angelegt.
Wird diese Option nicht genutzt, wird die Umgebungsvariable WEECHAT_HOME genutzt
(sofern diese vorhanden ist).
*-h*, *--help*:: *-h*, *--help*::
zeigt einen Hilfstext an. zeigt einen Hilfstext an.
@@ -19,14 +21,14 @@
unterbindet das Laden der Erweiterungen beim Programmstart. unterbindet das Laden der Erweiterungen beim Programmstart.
*-r*, *--run-command* '<command>':: *-r*, *--run-command* '<command>'::
startet einen oder mehrere Befehle, nachdem WeeChat gestartet wurde führt einen oder mehrere Befehle aus, nachdem WeeChat gestartet wurde
(mehrere Befehle müssen durch Kommata voneinander getrennt werden). (mehrere Befehle müssen durch Kommata voneinander getrennt werden).
*-s*, *--no-script*:: *-s*, *--no-script*::
Skripten werden beim Programmstart nicht geladen. Skripten werden beim Programmstart nicht geladen.
*--upgrade*:: *--upgrade*::
führt ein WeeChat Upgrade mittels Sitzungsdateien, die mit dem Befehl `/upgrade -quit` erstellt wurden, durch. führt ein WeeChat Upgrade mit Sitzungsdateien durch, die mittels dem Befehl `/upgrade -quit` erstellt wurden.
*-v*, *--version*:: *-v*, *--version*::
zeigt die Version von WeeChat an. zeigt die Version von WeeChat an.
+62 -62
View File
@@ -92,78 +92,78 @@ Unter OS X kann http://brew.sh/[Homebrew] verwendet werden:
folgende Tabelle beschreibt, welche Pakete zwingend notwendig sind um WeeChat folgende Tabelle beschreibt, welche Pakete zwingend notwendig sind um WeeChat
zu kompilieren und welche Pakete optional genutzt werden können. zu kompilieren und welche Pakete optional genutzt werden können.
[width="100%",cols="5,^3,^3,^3,.^13",options="header"] [width="100%",cols="5,^3,^3,.^13",options="header"]
|=== |===
| Paket ^(1)^ | Min Version | Max Version | benötigt | Funktion | Paket ^(1)^ | Version | benötigt | Funktion
| cmake | | | *ja* | | cmake | | *ja* |
Zum kompilieren (autotools ist möglich. cmake wird aber empfohlen) Zum kompilieren (autotools ist möglich. cmake wird aber empfohlen)
| pkg-config | | | *ja* | | pkg-config | | *ja* |
entdeckt installierte Bibliotheken entdeckt installierte Bibliotheken
| libncursesw5-dev ^(2)^ | | | *ja* | | libncursesw5-dev ^(2)^ | | *ja* |
Ncurses Oberfläche Ncurses Oberfläche
| libcurl4-gnutls-dev | | | *ja* | | libcurl4-gnutls-dev | | *ja* |
URL Transfer URL Transfer
| zlib1g-dev | | | *ja* | | zlib1g-dev | | *ja* |
Kompression für Pakete, die mittels Relay- (WeeChat Protokoll), Kompression für Pakete, die mittels Relay- (WeeChat Protokoll),
Script-Erweiterung übertragen werden Script-Erweiterung übertragen werden
| libgcrypt20-dev | | | *ja* | | libgcrypt20-dev | | *ja* |
Geschützte Daten, IRC SASL Authentifikation (DH-BLOWFISH/DH-AES), Geschützte Daten, IRC SASL Authentifikation (DH-BLOWFISH/DH-AES),
Skript-Erweiterung Skript-Erweiterung
| libgnutls28-dev | 2.2.0 ^(3)^ | | | | libgnutls28-dev | 2.2.0 ^(3)^ | |
SSL Verbindung zu einem IRC Server, Unterstützung von SSL in der SSL Verbindung zu einem IRC Server, Unterstützung von SSL in der
Relay-Erweiterung, IRC SASL Authentifikation (ECDSA-NIST256P-CHALLENGE) Relay-Erweiterung, IRC SASL Authentifikation (ECDSA-NIST256P-CHALLENGE)
| gettext | | | | | gettext | | |
Internationalisierung (Übersetzung der Mitteilungen; Hauptsprache ist Internationalisierung (Übersetzung der Mitteilungen; Hauptsprache ist
englisch) englisch)
| ca-certificates | | | | | ca-certificates | | |
Zertifikate für SSL Verbindungen Zertifikate für SSL Verbindungen
| libaspell-dev oder libenchant-dev | | | | | libaspell-dev oder libenchant-dev | | |
Aspell Erweiterung Aspell Erweiterung
| python-dev | 2.5 ^(4)^ | | | | python-dev | 2.5 ^(4)^ | |
Python Erweiterung Python Erweiterung
| libperl-dev | | | | | libperl-dev | | |
Perl Erweiterung Perl Erweiterung
| ruby2.1-dev | 1.8 | | | | ruby2.1-dev | 1.8 | |
Ruby Erweiterung Ruby Erweiterung
| liblua5.2-dev | | | | | liblua5.2-dev | | |
Lua Erweiterung Lua Erweiterung
| tcl-dev | 8.5 | | | | tcl-dev | 8.5 | |
Tcl Erweiterung Tcl Erweiterung
| guile-2.0-dev | 2.0 | | | | guile-2.0-dev | 2.0 | |
Guile (scheme) Erweiterung Guile (scheme) Erweiterung
| libv8-dev | | 3.24.3 | | | libv8-dev | 3.24.3 | |
Javascript Erweiterung Javascript Erweiterung
| asciidoc | 8.5.0 | | | | asciidoc | 8.5.0 | |
Zum Erstellen der man page und der Dokumentation Zum Erstellen der man page und der Dokumentation
| source-highlight | | | | | source-highlight | | |
Syntax Highlight für Quelltext in Dokumentation Syntax Highlight für Quelltext in Dokumentation
| xsltproc, docbook-xml, docbook-xsl | | | | | xsltproc, docbook-xml, docbook-xsl | | |
Erstellt man page Erstellt man page
| libcpputest-dev | 3.4 | | | | libcpputest-dev | 3.4 | |
Testlauf Testlauf
| C++ compiler | | | | | C++ compiler | | |
Testlauf, javascript Erweiterung Testlauf, javascript Erweiterung
|=== |===
@@ -857,45 +857,45 @@ Darstellung und die Standard-Bar 'nicklist' nutzt eine 'vertical' Darstellung.
Einige Beispiele, wie die Bar 'nicklist' dargestellt werden kann: Einige Beispiele, wie die Bar 'nicklist' dargestellt werden kann:
.... ....
┌──────────────────────────────────────────────────┐ ┌───────────────────────────────────────────────────────────────────────
│Welcome to #test, this is a test channel │ │Welcome to #test, this is a test channel
│12:54:15 peter | hey! │@carl │ │12:54:15 peter | hey! │@carl │
│12:55:01 +Max | hello │@jessika│ │12:55:01 +Max | hello │@jessika│
│ │@maddy │ │@maddy │
│ │%Diego │ │%Diego │
│ │%Melody │ │%Melody │
│ │+Max │ │+Max │
│ │ celia │ │ celia │
│ │ Eva │ │ Eva │
│ │ freddy │ │ freddy │
│ │ Harold^│ │ Harold^│
│ │ henry4 │ │ henry4 │
│ │ jimmy17│ │ jimmy17│
│ │ jodie ▼│ │ jodie ▼│
│[12:55] [6] [irc/freenode] 3:#test(+n){24} │ │[12:55] [6] [irc/freenode] 3:#test(+n){24}
│[@carl] █ │ │[@carl] █
└──────────────────────────────────────────────────┘ └───────────────────────────────────────────────────────────────────────
filling_left_right = vertical ▲ filling_left_right = vertical ▲
┌──────────────────────────────────────────────────┐ ┌───────────────────────────────────────────────────────────────────────
│Welcome to #test, this is a test channel │ │Welcome to #test, this is a test channel
│12:54:15 peter | hey! │@carl lee │ │12:54:15 peter | hey! │@carl lee │
│12:55:01 +Max | hello │@jessika louise │ │12:55:01 +Max | hello │@jessika louise │
│ │@maddy mario │ │@maddy mario │
│ │%Diego mark │ │%Diego mark │
│ │%Melody peter │ │%Melody peter │
│ │+Max Rachel │ │+Max Rachel │
│ │ celia richard│ │ celia richard│
│ │ Eva sheryl │ │ Eva sheryl │
│ │ freddy Vince │ │ freddy Vince │
│ │ Harold^ warren │ │ Harold^ warren │
│ │ henry4 zack │ │ henry4 zack │
│ │ jimmy17 │ │ jimmy17 │
│ │ jodie │ │ jodie │
│[12:55] [6] [irc/freenode] 3:#test(+n){24} │ │[12:55] [6] [irc/freenode] 3:#test(+n){24}
│[@carl] █ │ │[@carl] █
└──────────────────────────────────────────────────┘ └───────────────────────────────────────────────────────────────────────
filling_left_right = columns_vertical ▲ filling_left_right = columns_vertical ▲
┌───────────────────────────────────────────────────────────────────────┐ ┌───────────────────────────────────────────────────────────────────────┐
│@carl %Diego celia Harold^ jodie mario Rachel Vince │ │@carl %Diego celia Harold^ jodie mario Rachel Vince │
@@ -280,9 +280,10 @@ Some variables are replaced in expression, using the format ${variable}, variabl
2. a string with chars to hide (format: "hide:char,string") 2. a string with chars to hide (format: "hide:char,string")
3. a color (format: "color:xxx") 3. a color (format: "color:xxx")
4. an info (format: "info:name,arguments", arguments are optional) 4. an info (format: "info:name,arguments", arguments are optional)
5. an option (format: "file.section.option") 5. an environment variable (format: "env:XXX")
6. a local variable in buffer 6. an option (format: "file.section.option")
7. a hdata name/variable (the value is automatically converted to string), by default "window" and "buffer" point to current window/buffer. 7. a local variable in buffer
8. a hdata name/variable (the value is automatically converted to string), by default "window" and "buffer" point to current window/buffer.
Format for hdata can be one of following: Format for hdata can be one of following:
hdata.var1.var2...: start with a hdata (pointer must be known), and ask variables one after one (other hdata can be followed) hdata.var1.var2...: start with a hdata (pointer must be known), and ask variables one after one (other hdata can be followed)
hdata[list].var1.var2...: start with a hdata using a list, for example: hdata[list].var1.var2...: start with a hdata using a list, for example:
@@ -292,6 +293,7 @@ For name of hdata and variables, please look at "Plugin API reference", function
Examples (simple strings): Examples (simple strings):
/eval -n ${info:version} ==> 0.4.3 /eval -n ${info:version} ==> 0.4.3
/eval -n ${env:HOME} ==> /home/user
/eval -n ${weechat.look.scroll_amount} ==> 3 /eval -n ${weechat.look.scroll_amount} ==> 3
/eval -n ${window} ==> 0x2549aa0 /eval -n ${window} ==> 0x2549aa0
/eval -n ${window.buffer} ==> 0x2549320 /eval -n ${window.buffer} ==> 0x2549320
+2
View File
@@ -8,6 +8,8 @@
Set path as home for WeeChat (used for configuration files, logs, user Set path as home for WeeChat (used for configuration files, logs, user
plugins and scripts), default value is '~/.weechat' (note: directory is plugins and scripts), default value is '~/.weechat' (note: directory is
created if not found by WeeChat). created if not found by WeeChat).
If this option is not given, the environment variable WEECHAT_HOME is used
(if not empty).
*-h*, *--help*:: *-h*, *--help*::
Display help. Display help.
+23 -3
View File
@@ -1922,14 +1922,15 @@ expanded to last):
`test` `test`
| `${color:name}` | | `${color:name}` |
WeeChat color code (the name of color has optional attributes) | WeeChat color code (the name of color has optional attributes),
see function <<_color,weechat_color>> for supported formats |
`${color:red}red text` + `${color:red}red text` +
`${color:*214}bold orange text` | `${color:*214}bold orange text` |
`red text` (in red) + `red text` (in red) +
`bold orange text` (in bold orange) `bold orange text` (in bold orange)
| `${info:name}` + | `${info:name}` +
`${indo:name,arguments}` | `${info:name,arguments}` |
Info from WeeChat or a plugin, see function Info from WeeChat or a plugin, see function
<<_info_get,weechat_info_get>> | <<_info_get,weechat_info_get>> |
`${info:version}` + `${info:version}` +
@@ -1937,6 +1938,12 @@ expanded to last):
`1.0` + `1.0` +
`lightblue` `lightblue`
| `${env:NAME}` +
(_WeeChat ≥ 1.2_) |
Value of the environment variable `NAME` |
`${env:HOME}` |
`/home/user`
| `${sec.data.name}` | | `${sec.data.name}` |
Value of the secured data `name` | Value of the secured data `name` |
`${sec.data.freenode_pass}` | `${sec.data.freenode_pass}` |
@@ -6491,7 +6498,10 @@ const char *weechat_color (const char *color_name);
Arguments: Arguments:
* 'color_name': name of color, one of: * 'color_name': name of color, one of:
** WeeChat option name (from weechat.color.xxx), for example 'chat_delimiters' ** WeeChat color option name (from weechat.color.xxx), for example
'chat_delimiters'
** option name (format: file.section.option), for example
'irc.color.message_quit' (_WeeChat ≥ 1.2_)
** color with optional attributes/background (see below) ** color with optional attributes/background (see below)
** attribute: ** attribute:
*** 'bold': set bold *** 'bold': set bold
@@ -8378,6 +8388,16 @@ List of signals sent by WeeChat and plugins:
String: arguments for /quit | String: arguments for /quit |
Command `/quit` issued by user Command `/quit` issued by user
| weechat | signal_sigquit +
_(WeeChat ≥ 1.2)_ |
- |
Signal SIGQUIT received (quit request with core dump)
| weechat | signal_sigterm +
_(WeeChat ≥ 1.2)_ |
- |
Signal SIGTERM received (graceful termination of WeeChat process)
| weechat | signal_sigwinch + | weechat | signal_sigwinch +
_(WeeChat ≥ 0.4.3)_ | _(WeeChat ≥ 0.4.3)_ |
- | - |
+62 -62
View File
@@ -86,75 +86,75 @@ On OS X, you can use http://brew.sh/[Homebrew]:
Following table shows list of packages that are required or optional to Following table shows list of packages that are required or optional to
compile WeeChat. compile WeeChat.
[width="100%",cols="5,^3,^3,^3,.^13",options="header"] [width="100%",cols="5,^3,^3,.^13",options="header"]
|=== |===
| Package ^(1)^ | Min version | Max version | Required | Feature | Package ^(1)^ | Version | Required | Feature
| cmake | | | *yes* | | cmake | | *yes* |
Build (autotools still possible, but cmake is recommended) Build (autotools still possible, but cmake is recommended)
| pkg-config | | | *yes* | | pkg-config | | *yes* |
Detect installed libraries Detect installed libraries
| libncursesw5-dev ^(2)^ | | | *yes* | | libncursesw5-dev ^(2)^ | | *yes* |
Ncurses interface Ncurses interface
| libcurl4-gnutls-dev | | | *yes* | | libcurl4-gnutls-dev | | *yes* |
URL transfer URL transfer
| zlib1g-dev | | | *yes* | | zlib1g-dev | | *yes* |
Compression of packets in relay plugin (weechat protocol), script plugin Compression of packets in relay plugin (weechat protocol), script plugin
| libgcrypt20-dev | | | *yes* | | libgcrypt20-dev | | *yes* |
Secured data, IRC SASL authentication (DH-BLOWFISH/DH-AES), script plugin Secured data, IRC SASL authentication (DH-BLOWFISH/DH-AES), script plugin
| libgnutls28-dev | 2.2.0 ^(3)^ | | | | libgnutls28-dev | 2.2.0 ^(3)^ | |
SSL connection to IRC server, support of SSL in relay plugin, SSL connection to IRC server, support of SSL in relay plugin,
IRC SASL authentication (ECDSA-NIST256P-CHALLENGE) IRC SASL authentication (ECDSA-NIST256P-CHALLENGE)
| gettext | | | | | gettext | | |
Internationalization (translation of messages; base language is English) Internationalization (translation of messages; base language is English)
| ca-certificates | | | | | ca-certificates | | |
Certificates for SSL connections Certificates for SSL connections
| libaspell-dev or libenchant-dev | | | | | libaspell-dev or libenchant-dev | | |
Aspell plugin Aspell plugin
| python-dev | 2.5 ^(4)^ | | | | python-dev | 2.5 ^(4)^ | |
Python plugin Python plugin
| libperl-dev | | | | | libperl-dev | | |
Perl plugin Perl plugin
| ruby2.1-dev | 1.8 | | | | ruby2.1-dev | 1.8 | |
Ruby plugin Ruby plugin
| liblua5.2-dev | | | | | liblua5.2-dev | | |
Lua plugin Lua plugin
| tcl-dev | 8.5 | | | | tcl-dev | 8.5 | |
Tcl plugin Tcl plugin
| guile-2.0-dev | 2.0 | | | | guile-2.0-dev | 2.0 | |
Guile (scheme) plugin Guile (scheme) plugin
| libv8-dev | | 3.24.3 | | | libv8-dev | 3.24.3 | |
Javascript plugin Javascript plugin
| asciidoc | 8.5.0 | | | | asciidoc | 8.5.0 | |
Build man page and documentation Build man page and documentation
| source-highlight | | | | | source-highlight | | |
Syntax highlight for sources in documentation Syntax highlight for sources in documentation
| xsltproc, docbook-xml, docbook-xsl | | | | | xsltproc, docbook-xml, docbook-xsl | | |
Build of man page Build of man page
| libcpputest-dev | 3.4 | | | | libcpputest-dev | 3.4 | |
Run tests Run tests
| C++ compiler | | | | | C++ compiler | | |
Run tests, javascript plugin Run tests, javascript plugin
|=== |===
@@ -841,45 +841,45 @@ default bar 'nicklist' has 'vertical' filling.
Some examples of filling for bar 'nicklist': Some examples of filling for bar 'nicklist':
.... ....
┌──────────────────────────────────────────────────┐ ┌───────────────────────────────────────────────────────────────────────
│Welcome to #test, this is a test channel │ │Welcome to #test, this is a test channel
│12:54:15 peter | hey! │@carl │ │12:54:15 peter | hey! │@carl │
│12:55:01 +Max | hello │@jessika│ │12:55:01 +Max | hello │@jessika│
│ │@maddy │ │@maddy │
│ │%Diego │ │%Diego │
│ │%Melody │ │%Melody │
│ │+Max │ │+Max │
│ │ celia │ │ celia │
│ │ Eva │ │ Eva │
│ │ freddy │ │ freddy │
│ │ Harold^│ │ Harold^│
│ │ henry4 │ │ henry4 │
│ │ jimmy17│ │ jimmy17│
│ │ jodie ▼│ │ jodie ▼│
│[12:55] [6] [irc/freenode] 3:#test(+n){24} │ │[12:55] [6] [irc/freenode] 3:#test(+n){24}
│[@carl] █ │ │[@carl] █
└──────────────────────────────────────────────────┘ └───────────────────────────────────────────────────────────────────────
filling_left_right = vertical ▲ filling_left_right = vertical ▲
┌──────────────────────────────────────────────────┐ ┌───────────────────────────────────────────────────────────────────────
│Welcome to #test, this is a test channel │ │Welcome to #test, this is a test channel
│12:54:15 peter | hey! │@carl lee │ │12:54:15 peter | hey! │@carl lee │
│12:55:01 +Max | hello │@jessika louise │ │12:55:01 +Max | hello │@jessika louise │
│ │@maddy mario │ │@maddy mario │
│ │%Diego mark │ │%Diego mark │
│ │%Melody peter │ │%Melody peter │
│ │+Max Rachel │ │+Max Rachel │
│ │ celia richard│ │ celia richard│
│ │ Eva sheryl │ │ Eva sheryl │
│ │ freddy Vince │ │ freddy Vince │
│ │ Harold^ warren │ │ Harold^ warren │
│ │ henry4 zack │ │ henry4 zack │
│ │ jimmy17 │ │ jimmy17 │
│ │ jodie │ │ jodie │
│[12:55] [6] [irc/freenode] 3:#test(+n){24} │ │[12:55] [6] [irc/freenode] 3:#test(+n){24}
│[@carl] █ │ │[@carl] █
└──────────────────────────────────────────────────┘ └───────────────────────────────────────────────────────────────────────
filling_left_right = columns_vertical ▲ filling_left_right = columns_vertical ▲
┌───────────────────────────────────────────────────────────────────────┐ ┌───────────────────────────────────────────────────────────────────────┐
│@carl %Diego celia Harold^ jodie mario Rachel Vince │ │@carl %Diego celia Harold^ jodie mario Rachel Vince │
@@ -280,9 +280,10 @@ Des variables sont remplacées dans l'expression, en utilisant le format ${varia
2. une chaîne avec des caractères à cacher (format : "hide:caractère,chaîne") 2. une chaîne avec des caractères à cacher (format : "hide:caractère,chaîne")
3. une couleur (format : "color:xxx") 3. une couleur (format : "color:xxx")
4. une info (format : "info:nom,paramètres", les paramètres sont optionnels) 4. une info (format : "info:nom,paramètres", les paramètres sont optionnels)
5. une option (format : "fichier.section.option") 5. une variable d'environnement (format : "env:XXX")
6. une variable locale du tampon 6. une option (format : "fichier.section.option")
7. un hdata/variable (la valeur est automatiquement convertie en chaîne), par défaut "window" et "buffer" pointent vers la fenêtre et le tampon courants. 7. une variable locale du tampon
8. un hdata/variable (la valeur est automatiquement convertie en chaîne), par défaut "window" et "buffer" pointent vers la fenêtre et le tampon courants.
Le format du hdata peut être le suivant : Le format du hdata peut être le suivant :
hdata.var1.var2... : démarrer avec un hdata (le pointeur doit être connu), et demander les variables l'une après l'autre (d'autres hdata peuvent être suivis) hdata.var1.var2... : démarrer avec un hdata (le pointeur doit être connu), et demander les variables l'une après l'autre (d'autres hdata peuvent être suivis)
hdata[list].var1.var2... : démarrer avec un hdata en utilisant une liste, par exemple : hdata[list].var1.var2... : démarrer avec un hdata en utilisant une liste, par exemple :
@@ -292,6 +293,7 @@ Pour le nom du hdata et des variables, voir la "Référence API extension", fonc
Exemples (chaînes simples) : Exemples (chaînes simples) :
/eval -n ${info:version} ==> 0.4.3 /eval -n ${info:version} ==> 0.4.3
/eval -n ${env:HOME} ==> /home/user
/eval -n ${weechat.look.scroll_amount} ==> 3 /eval -n ${weechat.look.scroll_amount} ==> 3
/eval -n ${window} ==> 0x2549aa0 /eval -n ${window} ==> 0x2549aa0
/eval -n ${window.buffer} ==> 0x2549320 /eval -n ${window.buffer} ==> 0x2549320
+2
View File
@@ -9,6 +9,8 @@
(utilisé pour les fichiers de configuration, logs, extensions (utilisé pour les fichiers de configuration, logs, extensions
et scripts de l'utilisateur), la valeur par défaut est '~/.weechat' (note : et scripts de l'utilisateur), la valeur par défaut est '~/.weechat' (note :
le répertoire est créé s'il n'est pas trouvé par WeeChat). le répertoire est créé s'il n'est pas trouvé par WeeChat).
Si cette option n'est pas donnée, la variable d'environnement WEECHAT_HOME
est utilisée (si non vide).
*-h*, *--help*:: *-h*, *--help*::
Afficher l'aide. Afficher l'aide.
+25 -5
View File
@@ -1962,14 +1962,15 @@ première étendue à la dernière) :
`test` `test`
| `${color:nom}` | | `${color:nom}` |
Code couleur WeeChat (le nom de couleur a des attributs facultatifs) | Code couleur WeeChat (le nom de couleur a des attributs facultatifs),
voir la fonction <<_color,weechat_color>> pour les formats supportés |
`${color:red}texte rouge` + `${color:red}texte rouge` +
`${color:*214}texte orange gras` | `${color:*214}texte orange gras` |
`texte rouge` (en rouge) + `texte rouge` (en rouge) +
`texte orange gras` (en orange gras) `texte orange gras` (en orange gras)
| `${info:name}` + | `${info:nom}` +
`${indo:name,arguments}` | `${info:nom,paramètres}` |
Info de WeeChat ou d'une extension, voir la fonction Info de WeeChat ou d'une extension, voir la fonction
<<_info_get,weechat_info_get>> | <<_info_get,weechat_info_get>> |
`${info:version}` + `${info:version}` +
@@ -1977,12 +1978,18 @@ première étendue à la dernière) :
`1.0` + `1.0` +
`lightblue` `lightblue`
| `${env:NOM}` +
(_WeeChat ≥ 1.2_) |
Valeur de la variable d'environnement `NOM` |
`${env:HOME}` |
`/home/user`
| `${sec.data.nom}` | | `${sec.data.nom}` |
Valeur de la donnée sécurisée `nom` | Valeur de la donnée sécurisée `nom` |
`${sec.data.freenode_pass}` | `${sec.data.freenode_pass}` |
`mon_mot_de_passe` `mon_mot_de_passe`
| `${file.section.option}` | | `${fichier.section.option}` |
Valeur de l'option | Valeur de l'option |
`${weechat.look.buffer_time_format}` | `${weechat.look.buffer_time_format}` |
`%H:%M:%S` `%H:%M:%S`
@@ -6587,7 +6594,10 @@ const char *weechat_color (const char *color_name);
Paramètres : Paramètres :
* 'color_name' : nom de la couleur, parmi : * 'color_name' : nom de la couleur, parmi :
** une option WeeChat (de weechat.color.xxx), par exemple 'chat_delimiters' ** le nom d'une option de couleur WeeChat (de weechat.color.xxx), par exemple
'chat_delimiters'
** le nom d'une option (format: fichier.section.option), par exemple
'irc.color.message_quit' (_WeeChat ≥ 1.2_)
** une couleur avec des attributs/fond optionnels (voir ci-dessous) ** une couleur avec des attributs/fond optionnels (voir ci-dessous)
** un attribut : ** un attribut :
*** 'bold' : activer le gras *** 'bold' : activer le gras
@@ -8525,6 +8535,16 @@ Liste des signaux envoyés par WeeChat et les extensions :
Chaîne : paramètres pour le /quit | Chaîne : paramètres pour le /quit |
La commande `/quit` a été exécutée par l'utilisateur La commande `/quit` a été exécutée par l'utilisateur
| weechat | signal_sigquit +
_(WeeChat ≥ 1.2)_ |
- |
Signal SIGQUIT reçu (requête pour quitter avec une copie de la mémoire)
| weechat | signal_sigterm +
_(WeeChat ≥ 1.2)_ |
- |
Signal SIGTERM reçu (arrêt propre du processus WeeChat)
| weechat | signal_sigwinch + | weechat | signal_sigwinch +
_(WeeChat ≥ 0.4.3)_ | _(WeeChat ≥ 0.4.3)_ |
- | - |
+62 -62
View File
@@ -88,78 +88,78 @@ Sous OS X, vous pouvez utiliser http://brew.sh/[Homebrew] :
Le tableau suivant liste les paquets qui sont requis ou optionnels pour Le tableau suivant liste les paquets qui sont requis ou optionnels pour
compiler WeeChat. compiler WeeChat.
[width="100%",cols="5,^3,^3,^3,.^13",options="header"] [width="100%",cols="5,^3,^3,.^13",options="header"]
|=== |===
| Paquet ^(1)^ | Version min | Version max | Requis | Fonctionnalité | Paquet ^(1)^ | Version | Requis | Fonctionnalité
| cmake | | | *oui* | | cmake | | *oui* |
Construction (autotools toujours possible, mais cmake est recommandé) Construction (autotools toujours possible, mais cmake est recommandé)
| pkg-config | | | *oui* | | pkg-config | | *oui* |
Détection des bibliothèques installées Détection des bibliothèques installées
| libncursesw5-dev ^(2)^ | | | *oui* | | libncursesw5-dev ^(2)^ | | *oui* |
Interface ncurses Interface ncurses
| libcurl4-gnutls-dev | | | *oui* | | libcurl4-gnutls-dev | | *oui* |
Transfert d'URL Transfert d'URL
| zlib1g-dev | | | *oui* | | zlib1g-dev | | *oui* |
Compression des paquets dans l'extension relay (protocole weechat), Compression des paquets dans l'extension relay (protocole weechat),
extension script extension script
| libgcrypt20-dev | | | *oui* | | libgcrypt20-dev | | *oui* |
Données sécurisées, authentification IRC SASL (DH-BLOWFISH/DH-AES), Données sécurisées, authentification IRC SASL (DH-BLOWFISH/DH-AES),
extension script extension script
| libgnutls28-dev | 2.2.0 ^(3)^ | | | | libgnutls28-dev | 2.2.0 ^(3)^ | |
Connexion SSL au serveur IRC, support SSL dans l'extension relay, Connexion SSL au serveur IRC, support SSL dans l'extension relay,
authentification IRC SASL (ECDSA-NIST256P-CHALLENGE) authentification IRC SASL (ECDSA-NIST256P-CHALLENGE)
| gettext | | | | | gettext | | |
Internationalisation (traduction des messages; la langue de base est Internationalisation (traduction des messages; la langue de base est
l'anglais) l'anglais)
| ca-certificates | | | | | ca-certificates | | |
Certificats pour les connexions SSL Certificats pour les connexions SSL
| libaspell-dev ou libenchant-dev | | | | | libaspell-dev ou libenchant-dev | | |
Extension aspell Extension aspell
| python-dev | 2.5 ^(4)^ | | | | python-dev | 2.5 ^(4)^ | |
Extension python Extension python
| libperl-dev | | | | | libperl-dev | | |
Extension perl Extension perl
| ruby2.1-dev | 1.8 | | | | ruby2.1-dev | 1.8 | |
Extension ruby Extension ruby
| liblua5.2-dev | | | | | liblua5.2-dev | | |
Extension lua Extension lua
| tcl-dev | 8.5 | | | | tcl-dev | 8.5 | |
Extension tcl Extension tcl
| guile-2.0-dev | 2.0 | | | | guile-2.0-dev | 2.0 | |
Extension guile (scheme) Extension guile (scheme)
| libv8-dev | | 3.24.3 | | | libv8-dev | 3.24.3 | |
Extension javascript Extension javascript
| asciidoc | 8.5.0 | | | | asciidoc | 8.5.0 | |
Construction de la page man et de la documentation Construction de la page man et de la documentation
| source-highlight | | | | | source-highlight | | |
Coloration des sources dans la documentation Coloration des sources dans la documentation
| xsltproc, docbook-xml, docbook-xsl | | | | | xsltproc, docbook-xml, docbook-xsl | | |
Construction de la page de manuel Construction de la page de manuel
| libcpputest-dev | 3.4 | | | | libcpputest-dev | 3.4 | |
Lancement des tests Lancement des tests
| C++ compiler | | | | | C++ compiler | | |
Lancement des tests, extension javascript Lancement des tests, extension javascript
|=== |===
@@ -865,45 +865,45 @@ Les barres par défaut 'title', 'status' et 'input' ont un remplissage
Quelques exemples de remplissage pour la barre 'nicklist' : Quelques exemples de remplissage pour la barre 'nicklist' :
.... ....
┌──────────────────────────────────────────────────┐ ┌───────────────────────────────────────────────────────────────────────
│Welcome to #test, this is a test channel │ │Welcome to #test, this is a test channel
│12:54:15 peter | hey! │@carl │ │12:54:15 peter | hey! │@carl │
│12:55:01 +Max | hello │@jessika│ │12:55:01 +Max | hello │@jessika│
│ │@maddy │ │@maddy │
│ │%Diego │ │%Diego │
│ │%Melody │ │%Melody │
│ │+Max │ │+Max │
│ │ celia │ │ celia │
│ │ Eva │ │ Eva │
│ │ freddy │ │ freddy │
│ │ Harold^│ │ Harold^│
│ │ henry4 │ │ henry4 │
│ │ jimmy17│ │ jimmy17│
│ │ jodie ▼│ │ jodie ▼│
│[12:55] [6] [irc/freenode] 3:#test(+n){24} │ │[12:55] [6] [irc/freenode] 3:#test(+n){24}
│[@carl] █ │ │[@carl] █
└──────────────────────────────────────────────────┘ └───────────────────────────────────────────────────────────────────────
filling_left_right = vertical ▲ filling_left_right = vertical ▲
┌──────────────────────────────────────────────────┐ ┌───────────────────────────────────────────────────────────────────────
│Welcome to #test, this is a test channel │ │Welcome to #test, this is a test channel
│12:54:15 peter | hey! │@carl lee │ │12:54:15 peter | hey! │@carl lee │
│12:55:01 +Max | hello │@jessika louise │ │12:55:01 +Max | hello │@jessika louise │
│ │@maddy mario │ │@maddy mario │
│ │%Diego mark │ │%Diego mark │
│ │%Melody peter │ │%Melody peter │
│ │+Max Rachel │ │+Max Rachel │
│ │ celia richard│ │ celia richard│
│ │ Eva sheryl │ │ Eva sheryl │
│ │ freddy Vince │ │ freddy Vince │
│ │ Harold^ warren │ │ Harold^ warren │
│ │ henry4 zack │ │ henry4 zack │
│ │ jimmy17 │ │ jimmy17 │
│ │ jodie │ │ jodie │
│[12:55] [6] [irc/freenode] 3:#test(+n){24} │ │[12:55] [6] [irc/freenode] 3:#test(+n){24}
│[@carl] █ │ │[@carl] █
└──────────────────────────────────────────────────┘ └───────────────────────────────────────────────────────────────────────
filling_left_right = columns_vertical ▲ filling_left_right = columns_vertical ▲
┌───────────────────────────────────────────────────────────────────────┐ ┌───────────────────────────────────────────────────────────────────────┐
│@carl %Diego celia Harold^ jodie mario Rachel Vince │ │@carl %Diego celia Harold^ jodie mario Rachel Vince │
@@ -280,9 +280,10 @@ Some variables are replaced in expression, using the format ${variable}, variabl
2. a string with chars to hide (format: "hide:char,string") 2. a string with chars to hide (format: "hide:char,string")
3. a color (format: "color:xxx") 3. a color (format: "color:xxx")
4. an info (format: "info:name,arguments", arguments are optional) 4. an info (format: "info:name,arguments", arguments are optional)
5. an option (format: "file.section.option") 5. an environment variable (format: "env:XXX")
6. a local variable in buffer 6. an option (format: "file.section.option")
7. a hdata name/variable (the value is automatically converted to string), by default "window" and "buffer" point to current window/buffer. 7. a local variable in buffer
8. a hdata name/variable (the value is automatically converted to string), by default "window" and "buffer" point to current window/buffer.
Format for hdata can be one of following: Format for hdata can be one of following:
hdata.var1.var2...: start with a hdata (pointer must be known), and ask variables one after one (other hdata can be followed) hdata.var1.var2...: start with a hdata (pointer must be known), and ask variables one after one (other hdata can be followed)
hdata[list].var1.var2...: start with a hdata using a list, for example: hdata[list].var1.var2...: start with a hdata using a list, for example:
@@ -292,6 +293,7 @@ For name of hdata and variables, please look at "Plugin API reference", function
Examples (simple strings): Examples (simple strings):
/eval -n ${info:version} ==> 0.4.3 /eval -n ${info:version} ==> 0.4.3
/eval -n ${env:HOME} ==> /home/user
/eval -n ${weechat.look.scroll_amount} ==> 3 /eval -n ${weechat.look.scroll_amount} ==> 3
/eval -n ${window} ==> 0x2549aa0 /eval -n ${window} ==> 0x2549aa0
/eval -n ${window.buffer} ==> 0x2549320 /eval -n ${window.buffer} ==> 0x2549320
+3
View File
@@ -4,10 +4,13 @@
*-c*, *--colors*:: *-c*, *--colors*::
Mostra i colori prefefiniti nel terminale. Mostra i colori prefefiniti nel terminale.
// TRANSLATION MISSING
*-d*, *--dir* '<path>':: *-d*, *--dir* '<path>'::
Imposta una directory come home per WeeChat (utilizzata per i file di Imposta una directory come home per WeeChat (utilizzata per i file di
configurazione, log, plugin e script dell'utente), il valore predefinito configurazione, log, plugin e script dell'utente), il valore predefinito
è ~/.weechat (nota: directory viene creata se non trovata da WeeChat). è ~/.weechat (nota: directory viene creata se non trovata da WeeChat).
If this option is not given, the environment variable WEECHAT_HOME is used
(if not empty).
*-h*, *--help*:: *-h*, *--help*::
Mostra l'aiuto. Mostra l'aiuto.
+27 -3
View File
@@ -1990,14 +1990,15 @@ expanded to last):
`test` `test`
| `${color:name}` | | `${color:name}` |
WeeChat color code (the name of color has optional attributes) | WeeChat color code (the name of color has optional attributes),
see function <<_color,weechat_color>> for supported formats |
`${color:red}red text` + `${color:red}red text` +
`${color:*214}bold orange text` | `${color:*214}bold orange text` |
`red text` (in red) + `red text` (in red) +
`bold orange text` (in bold orange) `bold orange text` (in bold orange)
| `${info:name}` + | `${info:name}` +
`${indo:name,arguments}` | `${info:name,arguments}` |
Info from WeeChat or a plugin, see function Info from WeeChat or a plugin, see function
<<_info_get,weechat_info_get>> | <<_info_get,weechat_info_get>> |
`${info:version}` + `${info:version}` +
@@ -2005,6 +2006,12 @@ expanded to last):
`1.0` + `1.0` +
`lightblue` `lightblue`
| `${env:NAME}` +
(_WeeChat ≥ 1.2_) |
Value of the environment variable `NAME` |
`${env:HOME}` |
`/home/user`
| `${sec.data.name}` | | `${sec.data.name}` |
Value of the secured data `name` | Value of the secured data `name` |
`${sec.data.freenode_pass}` | `${sec.data.freenode_pass}` |
@@ -6614,7 +6621,12 @@ const char *weechat_color (const char *color_name);
Argomenti: Argomenti:
* 'color_name': nome del colore, uno di: * 'color_name': nome del colore, uno di:
** nome opzione di WeeChat (da weechat.color.xxx), ad esempio 'chat_delimiters' // TRANSLATION MISSING
** WeeChat color option name (from weechat.color.xxx), for example
'chat_delimiters'
// TRANSLATION MISSING
** option name (format: file.section.option), for example
'irc.color.message_quit' (_WeeChat ≥ 1.2_)
** colore con attributi/sfondo opzionali (vedi sotto) ** colore con attributi/sfondo opzionali (vedi sotto)
** attributo: ** attributo:
*** 'bold': imposta grassetto *** 'bold': imposta grassetto
@@ -8613,6 +8625,18 @@ List of signals sent by WeeChat and plugins:
String: argomenti per /quit | String: argomenti per /quit |
Comando `/quit` digitato dall'utente Comando `/quit` digitato dall'utente
// TRANSLATION MISSING
| weechat | signal_sigquit +
_(WeeChat ≥ 1.2)_ |
- |
Signal SIGQUIT received (quit request with core dump)
// TRANSLATION MISSING
| weechat | signal_sigterm +
_(WeeChat ≥ 1.2)_ |
- |
Signal SIGTERM received (graceful termination of WeeChat process)
// TRANSLATION MISSING // TRANSLATION MISSING
| weechat | signal_sigwinch + | weechat | signal_sigwinch +
_(WeeChat ≥ 0.4.3)_ | _(WeeChat ≥ 0.4.3)_ |
+62 -63
View File
@@ -99,84 +99,83 @@ On OS X, you can use http://brew.sh/[Homebrew]:
La seguente tabella mostra l'elenco di pacchetti richiesti o opzionali per La seguente tabella mostra l'elenco di pacchetti richiesti o opzionali per
compilare WeeChat. compilare WeeChat.
// TRANSLATION MISSING [width="100%",cols="5,^3,^3,.^13",options="header"]
[width="100%",cols="5,^3,^3,^3,.^13",options="header"]
|=== |===
| Pacchetto ^(1)^ | Min version | Max version | Richiesto | Caratteristica | Pacchetto ^(1)^ | Versione | Richiesto | Caratteristica
| cmake | | | *sì* | | cmake | | *sì* |
Compilazione (ancora possibile con autotools, ma si raccomanda cmake) Compilazione (ancora possibile con autotools, ma si raccomanda cmake)
// TRANSLATION MISSING // TRANSLATION MISSING
| pkg-config | | | *sì* | | pkg-config | | *sì* |
Detect installed libraries Detect installed libraries
| libncursesw5-dev ^(2)^ | | | *sì* | | libncursesw5-dev ^(2)^ | | *sì* |
Interfaccia ncurses Interfaccia ncurses
| libcurl4-gnutls-dev | | | *sì* | | libcurl4-gnutls-dev | | *sì* |
Trasferimento URL Trasferimento URL
// TRANSLATION MISSING // TRANSLATION MISSING
| zlib1g-dev | | | *sì* | | zlib1g-dev | | *sì* |
Compression of packets in relay plugin (weechat protocol), script plugin Compression of packets in relay plugin (weechat protocol), script plugin
// TRANSLATION MISSING // TRANSLATION MISSING
| libgcrypt20-dev | | | *sì* | | libgcrypt20-dev | | *sì* |
Secured data, IRC SASL authentication (DH-BLOWFISH/DH-AES), script plugin Secured data, IRC SASL authentication (DH-BLOWFISH/DH-AES), script plugin
// TRANSLATION MISSING // TRANSLATION MISSING
| libgnutls28-dev | 2.2.0 ^(3)^ | | | | libgnutls28-dev | 2.2.0 ^(3)^ | |
Connessione SSL al server IRC, support of SSL in relay plugin, IRC SASL Connessione SSL al server IRC, support of SSL in relay plugin, IRC SASL
authentication (ECDSA-NIST256P-CHALLENGE) authentication (ECDSA-NIST256P-CHALLENGE)
| gettext | | | | | gettext | | |
Internazionalizzazione (traduzione dei messaggi; la lingua base è l'inglese) Internazionalizzazione (traduzione dei messaggi; la lingua base è l'inglese)
| ca-certificates | | | | | ca-certificates | | |
Certificati per le connessioni SSL Certificati per le connessioni SSL
| libaspell-dev o libenchant-dev | | | | | libaspell-dev o libenchant-dev | | |
Plugin aspell Plugin aspell
| python-dev | 2.5 ^(4)^ | | | | python-dev | 2.5 ^(4)^ | |
Plugin python Plugin python
| libperl-dev | | | | | libperl-dev | | |
Plugin perl Plugin perl
| ruby2.1-dev | 1.8 | | | | ruby2.1-dev | 1.8 | |
Plugin ruby Plugin ruby
| liblua5.2-dev | | | | | liblua5.2-dev | | |
Plugin lua Plugin lua
| tcl-dev | 8.5 | | | | tcl-dev | 8.5 | |
Plugin tcl Plugin tcl
| guile-2.0-dev | 2.0 | | | | guile-2.0-dev | 2.0 | |
Plugin guile (scheme) Plugin guile (scheme)
| libv8-dev | | 3.24.3 | | | libv8-dev | 3.24.3 | |
Plugin Javascript Plugin Javascript
// TRANSLATION MISSING // TRANSLATION MISSING
| asciidoc | 8.5.0 | | | | asciidoc | 8.5.0 | |
Build man page and documentation Build man page and documentation
| source-highlight | | | | | source-highlight | | |
Evidenziazione della sintassi per i sorgenti nella documentazione Evidenziazione della sintassi per i sorgenti nella documentazione
// TRANSLATION MISSING // TRANSLATION MISSING
| xsltproc, docbook-xml, docbook-xsl | | | | | xsltproc, docbook-xml, docbook-xsl | | |
Build of man page Build of man page
// TRANSLATION MISSING // TRANSLATION MISSING
| libcpputest-dev | 3.4 | | | | libcpputest-dev | 3.4 | |
Run tests Run tests
// TRANSLATION MISSING // TRANSLATION MISSING
| C++ compiler | | | | | C++ compiler | | |
Run tests, plugin Javascript Run tests, plugin Javascript
|=== |===
@@ -890,45 +889,45 @@ default bar 'nicklist' has 'vertical' filling.
Some examples of filling for bar 'nicklist': Some examples of filling for bar 'nicklist':
.... ....
┌──────────────────────────────────────────────────┐ ┌───────────────────────────────────────────────────────────────────────
│Welcome to #test, this is a test channel │ │Welcome to #test, this is a test channel
│12:54:15 peter | hey! │@carl │ │12:54:15 peter | hey! │@carl │
│12:55:01 +Max | hello │@jessika│ │12:55:01 +Max | hello │@jessika│
│ │@maddy │ │@maddy │
│ │%Diego │ │%Diego │
│ │%Melody │ │%Melody │
│ │+Max │ │+Max │
│ │ celia │ │ celia │
│ │ Eva │ │ Eva │
│ │ freddy │ │ freddy │
│ │ Harold^│ │ Harold^│
│ │ henry4 │ │ henry4 │
│ │ jimmy17│ │ jimmy17│
│ │ jodie ▼│ │ jodie ▼│
│[12:55] [6] [irc/freenode] 3:#test(+n){24} │ │[12:55] [6] [irc/freenode] 3:#test(+n){24}
│[@carl] █ │ │[@carl] █
└──────────────────────────────────────────────────┘ └───────────────────────────────────────────────────────────────────────
filling_left_right = vertical ▲ filling_left_right = vertical ▲
┌──────────────────────────────────────────────────┐ ┌───────────────────────────────────────────────────────────────────────
│Welcome to #test, this is a test channel │ │Welcome to #test, this is a test channel
│12:54:15 peter | hey! │@carl lee │ │12:54:15 peter | hey! │@carl lee │
│12:55:01 +Max | hello │@jessika louise │ │12:55:01 +Max | hello │@jessika louise │
│ │@maddy mario │ │@maddy mario │
│ │%Diego mark │ │%Diego mark │
│ │%Melody peter │ │%Melody peter │
│ │+Max Rachel │ │+Max Rachel │
│ │ celia richard│ │ celia richard│
│ │ Eva sheryl │ │ Eva sheryl │
│ │ freddy Vince │ │ freddy Vince │
│ │ Harold^ warren │ │ Harold^ warren │
│ │ henry4 zack │ │ henry4 zack │
│ │ jimmy17 │ │ jimmy17 │
│ │ jodie │ │ jodie │
│[12:55] [6] [irc/freenode] 3:#test(+n){24} │ │[12:55] [6] [irc/freenode] 3:#test(+n){24}
│[@carl] █ │ │[@carl] █
└──────────────────────────────────────────────────┘ └───────────────────────────────────────────────────────────────────────
filling_left_right = columns_vertical ▲ filling_left_right = columns_vertical ▲
┌───────────────────────────────────────────────────────────────────────┐ ┌───────────────────────────────────────────────────────────────────────┐
│@carl %Diego celia Harold^ jodie mario Rachel Vince │ │@carl %Diego celia Harold^ jodie mario Rachel Vince │
@@ -280,9 +280,10 @@ expression: 評価する式、フォーマット、${variable} 型のフォー
2. 隠す文字を含む文字列 (フォーマット: "hide:char,string") 2. 隠す文字を含む文字列 (フォーマット: "hide:char,string")
3. 色 (フォーマット: "color:xxx") 3. 色 (フォーマット: "color:xxx")
4. 情報 (フォーマット: "info:name,arguments"、arguments は任意) 4. 情報 (フォーマット: "info:name,arguments"、arguments は任意)
5. オプション (フォーマット: "file.section.option") 5. 環境変数 (フォーマット: "env:XXX")
6. バッファのローカル変数 6. オプション (フォーマット: "file.section.option")
7. hdata の名前/変数 (値は自動的に文字列に変換されます)、デフォルトでは "window" と "buffer" は現在のウィンドウ/バッファを指します。 7. バッファのローカル変数
8. hdata の名前/変数 (値は自動的に文字列に変換されます)、デフォルトでは "window" と "buffer" は現在のウィンドウ/バッファを指します。
hdata のフォーマットは以下の 1 つです: hdata のフォーマットは以下の 1 つです:
hdata.var1.var2...: hdata (ポインタは既知) で始まり、1 個ずつ変数を続ける (他の hdata を続けることも可能) hdata.var1.var2...: hdata (ポインタは既知) で始まり、1 個ずつ変数を続ける (他の hdata を続けることも可能)
hdata(list).var1.var2...: リストを使って hdata を始める、例: hdata(list).var1.var2...: リストを使って hdata を始める、例:
@@ -292,6 +293,7 @@ hdata と変数の名前については、"プラグイン API リファレン
例 (単純な文字列): 例 (単純な文字列):
/eval -n ${info:version} ==> 0.4.3 /eval -n ${info:version} ==> 0.4.3
/eval -n ${env:HOME} ==> /home/user
/eval -n ${weechat.look.scroll_amount} ==> 3 /eval -n ${weechat.look.scroll_amount} ==> 3
/eval -n ${window} ==> 0x2549aa0 /eval -n ${window} ==> 0x2549aa0
/eval -n ${window.buffer} ==> 0x2549320 /eval -n ${window.buffer} ==> 0x2549320
+2
View File
@@ -8,6 +8,8 @@
WeeChat のホームディレクトリを path に設定 (設定ファイル、ログ、 WeeChat のホームディレクトリを path に設定 (設定ファイル、ログ、
ユーザプラグイン、スクリプトに利用される)、初期値は '~/.weechat' 。 ユーザプラグイン、スクリプトに利用される)、初期値は '~/.weechat' 。
(注意: パスが存在しない場合は WeeChat がディレクトリを作成します) (注意: パスが存在しない場合は WeeChat がディレクトリを作成します)
このオプションを指定しなかった場合、環境変数 WEECHAT_HOME を使います
(空でない限り)。
*-h*, *--help*:: *-h*, *--help*::
ヘルプを表示 ヘルプを表示
+23 -3
View File
@@ -1923,14 +1923,15 @@ char *weechat_string_eval_expression (const char *expr,
`test` `test`
| `${color:name}` | | `${color:name}` |
WeeChat 色コード (色名部分はオプション属性をとることも可能です) | WeeChat 色コード (色名部分はオプション属性をとることも可能です),
フォーマットを確認するには関数 <<_color,weechat_color>> をご確認ください |
`${color:red}red text` + `${color:red}red text` +
`${color:*214}bold orange text` | `${color:*214}bold orange text` |
`red text` (赤色で) + `red text` (赤色で) +
`bold orange text` (太字オレンジ色で) `bold orange text` (太字オレンジ色で)
| `${info:name}` + | `${info:name}` +
`${indo:name,arguments}` | `${info:name,arguments}` |
WeeChat またはプラグインのインフォ、<<_info_get,weechat_info_get>> WeeChat またはプラグインのインフォ、<<_info_get,weechat_info_get>>
を参照 | を参照 |
`${info:version}` + `${info:version}` +
@@ -1938,6 +1939,12 @@ char *weechat_string_eval_expression (const char *expr,
`1.0` + `1.0` +
`lightblue` `lightblue`
| `${env:NAME}` +
(_WeeChat バージョン 1.2 以上で利用可_) |
Value of the environment variable `NAME` |
`${env:HOME}` |
`/home/user`
| `${sec.data.name}` | | `${sec.data.name}` |
セキュアデータ `name` の値 | セキュアデータ `name` の値 |
`${sec.data.freenode_pass}` | `${sec.data.freenode_pass}` |
@@ -6492,7 +6499,10 @@ const char *weechat_color (const char *color_name);
引数: 引数:
* 'color_name': 色の名前、以下の中から 1 つ: * 'color_name': 色の名前、以下の中から 1 つ:
** WeeChat オプション名 (weechat.color.xxx の xxx)、例えば 'chat_delimiters' ** WeeChat オプション名 (weechat.color.xxx の xxx)、例えば
'chat_delimiters'
** オプション名 (フォーマット: file.section.option)、例えば
'irc.color.message_quit' (_WeeChat バージョン 1.2 以上で利用可_)
** 任意で属性や背景色を指定した色 (以下を参照) ** 任意で属性や背景色を指定した色 (以下を参照)
** 属性: ** 属性:
*** 'bold': 太字を有効 *** 'bold': 太字を有効
@@ -8377,6 +8387,16 @@ WeeChat とプラグインが送信するシグナルのリスト:
String: /quit の引数 | String: /quit の引数 |
ユーザがコマンド `/quit` を実行 ユーザがコマンド `/quit` を実行
| weechat | signal_sigquit +
_(WeeChat バージョン 1.2 以上で利用可)_ |
- |
SIGQUIT シグナルを受信 (コアダンプ付きで終了要求)
| weechat | signal_sigterm +
_(WeeChat バージョン 1.2 以上で利用可)_ |
- |
SIGTERM シグナルを受信 (WeeChat プロセスを正常に終了させる)
| weechat | signal_sigwinch + | weechat | signal_sigwinch +
_(WeeChat バージョン 0.4.3 以上で利用可)_ | _(WeeChat バージョン 0.4.3 以上で利用可)_ |
- | - |
+62 -62
View File
@@ -91,74 +91,74 @@ OS X では、http://brew.sh/[Homebrew] を使ってください:
以下の表は WeeChat 以下の表は WeeChat
のコンパイルに必須または任意で必要なパッケージのリストです。 のコンパイルに必須または任意で必要なパッケージのリストです。
[width="100%",cols="5,^3,^3,3^,.^13",options="header"] [width="100%",cols="5,^3,^3,.^13",options="header"]
|=== |===
| パッケージ ^(1)^ | 最小バージョン | 最大バージョン | 要件 | 機能 | パッケージ ^(1)^ | バージョン | 要件 | 機能
| cmake | | | *必須* | | cmake | | *必須* |
ビルド (autotools でも可能ですが、cmake を推奨します) ビルド (autotools でも可能ですが、cmake を推奨します)
| pkg-config | | | *必須* | | pkg-config | | *必須* |
インストール済みライブラリを検出 インストール済みライブラリを検出
| libncursesw5-dev ^(2)^ | | | *必須* | | libncursesw5-dev ^(2)^ | | *必須* |
ncurses インターフェイス ncurses インターフェイス
| libcurl4-gnutls-dev | | | *必須* | | libcurl4-gnutls-dev | | *必須* |
URL 転送 URL 転送
| zlib1g-dev | | | *必須* | | zlib1g-dev | | *必須* |
relay プラグインでパケットを圧縮 (weechat プロトコル)、スクリプトプラグイン relay プラグインでパケットを圧縮 (weechat プロトコル)、スクリプトプラグイン
| libgcrypt20-dev | | | *必須* | | libgcrypt20-dev | | *必須* |
保護データ、IRC SASL 認証 (DH-BLOWFISH/DH-AES)、スクリプトプラグイン 保護データ、IRC SASL 認証 (DH-BLOWFISH/DH-AES)、スクリプトプラグイン
| libgnutls28-dev | 2.2.0 ^(3)^ | | | | libgnutls28-dev | 2.2.0 ^(3)^ | |
IRC サーバへの SSL 接続、IRC SASL 認証 (ECDSA-NIST256P-CHALLENGE) IRC サーバへの SSL 接続、IRC SASL 認証 (ECDSA-NIST256P-CHALLENGE)
| gettext | | | | | gettext | | |
国際化 (メッセージの翻訳; ベース言語は英語です) 国際化 (メッセージの翻訳; ベース言語は英語です)
| ca-certificates | | | | | ca-certificates | | |
SSL 接続に必要な証明書、relay プラグインで SSL サポート SSL 接続に必要な証明書、relay プラグインで SSL サポート
| libaspell-dev または libenchant-dev | | | | | libaspell-dev または libenchant-dev | | |
aspell プラグイン aspell プラグイン
| python-dev | 2.5 ^(4)^ | | | | python-dev | 2.5 ^(4)^ | |
python プラグイン python プラグイン
| libperl-dev | | | | | libperl-dev | | |
perl プラグイン perl プラグイン
| ruby2.1-dev | 1.8 | | | | ruby2.1-dev | 1.8 | |
ruby プラグイン ruby プラグイン
| liblua5.2-dev | | | | | liblua5.2-dev | | |
lua プラグイン lua プラグイン
| tcl-dev | 8.5 | | | | tcl-dev | 8.5 | |
tcl プラグイン tcl プラグイン
| guile-2.0-dev | 2.0 | | | | guile-2.0-dev | 2.0 | |
guile (scheme) プラグイン guile (scheme) プラグイン
| libv8-dev | | 3.24.3 | | | libv8-dev | 3.24.3 | |
javascript プラグイン javascript プラグイン
| asciidoc | 8.5.0 | | | | asciidoc | 8.5.0 | |
man ページと文書のビルド man ページと文書のビルド
| source-highlight | | | | | source-highlight | | |
文書中のソースに対するシンタックスハイライト 文書中のソースに対するシンタックスハイライト
| xsltproc, docbook-xml, docbook-xsl | | | | | xsltproc, docbook-xml, docbook-xsl | | |
man ページのビルド man ページのビルド
| libcpputest-dev | 3.4 | | | | libcpputest-dev | 3.4 | |
テストの実行 テストの実行
| C++ コンパイラ | | | | | C++ コンパイラ | | |
テスト実行、javascript プラグイン テスト実行、javascript プラグイン
|=== |===
@@ -844,45 +844,45 @@ WeeChat を起動したターミナルの例:
'nicklist' バーに対するフィリングの例: 'nicklist' バーに対するフィリングの例:
.... ....
┌──────────────────────────────────────────────────┐ ┌───────────────────────────────────────────────────────────────────────
│Welcome to #test, this is a test channel │ │Welcome to #test, this is a test channel
│12:54:15 peter | hey! │@carl │ │12:54:15 peter | hey! │@carl │
│12:55:01 +Max | hello │@jessika│ │12:55:01 +Max | hello │@jessika│
│ │@maddy │ │@maddy │
│ │%Diego │ │%Diego │
│ │%Melody │ │%Melody │
│ │+Max │ │+Max │
│ │ celia │ │ celia │
│ │ Eva │ │ Eva │
│ │ freddy │ │ freddy │
│ │ Harold^│ │ Harold^│
│ │ henry4 │ │ henry4 │
│ │ jimmy17│ │ jimmy17│
│ │ jodie ▼│ │ jodie ▼│
│[12:55] [6] [irc/freenode] 3:#test(+n){24} │ │[12:55] [6] [irc/freenode] 3:#test(+n){24}
│[@carl] █ │ │[@carl] █
└──────────────────────────────────────────────────┘ └───────────────────────────────────────────────────────────────────────
filling_left_right = vertical ▲ filling_left_right = vertical ▲
┌──────────────────────────────────────────────────┐ ┌───────────────────────────────────────────────────────────────────────
│Welcome to #test, this is a test channel │ │Welcome to #test, this is a test channel
│12:54:15 peter | hey! │@carl lee │ │12:54:15 peter | hey! │@carl lee │
│12:55:01 +Max | hello │@jessika louise │ │12:55:01 +Max | hello │@jessika louise │
│ │@maddy mario │ │@maddy mario │
│ │%Diego mark │ │%Diego mark │
│ │%Melody peter │ │%Melody peter │
│ │+Max Rachel │ │+Max Rachel │
│ │ celia richard│ │ celia richard│
│ │ Eva sheryl │ │ Eva sheryl │
│ │ freddy Vince │ │ freddy Vince │
│ │ Harold^ warren │ │ Harold^ warren │
│ │ henry4 zack │ │ henry4 zack │
│ │ jimmy17 │ │ jimmy17 │
│ │ jodie │ │ jodie │
│[12:55] [6] [irc/freenode] 3:#test(+n){24} │ │[12:55] [6] [irc/freenode] 3:#test(+n){24}
│[@carl] █ │ │[@carl] █
└──────────────────────────────────────────────────┘ └───────────────────────────────────────────────────────────────────────
filling_left_right = columns_vertical ▲ filling_left_right = columns_vertical ▲
┌───────────────────────────────────────────────────────────────────────┐ ┌───────────────────────────────────────────────────────────────────────┐
│@carl %Diego celia Harold^ jodie mario Rachel Vince │ │@carl %Diego celia Harold^ jodie mario Rachel Vince │
+11 -11
View File
@@ -12,22 +12,22 @@
deldict deldict
addword [<język>] <słowo> addword [<język>] <słowo>
enable: enable aspell enable: włącza aspell
disable: disable aspell disable: wyłącza aspell
toggle: toggle aspell toggle: przełącza aspell
listdict: show installed dictionaries listdict: pokazuje zainstalowane słowniki
setdict: set dictionary for current buffer (multiple dictionaries can be separated by a comma) setdict: ustawia słownik dla obecnego buforu (kilka słowników może być podanych po przecinku)
deldict: delete dictionary used on current buffer deldict: usuwa słownik używany w obecnym buforze
addword: add a word in personal aspell dictionary addword: dodaje słowo do osobistego słownika aspell
Input line beginning with a '/' is not checked, except for some commands (see /set aspell.check.commands). Jeśli wprowadzany tekst zaczyna się od '/' nie będzie on sprawdzany, za wyjątkiem kilku komend (zobacz /set aspell.check.commands).
To enable aspell on all buffers, use option "default_dict", then enable aspell, for example: W celu włączenia aspell dla wszystkich buforów, należy użyć opcji "default_dict", następnie włączyć aspell, na przykład:
/set aspell.check.default_dict "en" /set aspell.check.default_dict "en"
/aspell enable /aspell enable
To display a list of suggestions in a bar, use item "aspell_suggest". W celu wyświetlenia listy sugestii na pasku, użyj elementu "aspell_suggest".
Default key to toggle aspell is alt-s. Domyślny skrót klawiszowy przełączający aspell to alt-s.
---- ----
+21 -21
View File
@@ -551,12 +551,12 @@ demon2: prześlij do tego demona
[command]*`query`* wysyła prywatną wiadomość do użytkownika:: [command]*`query`* wysyła prywatną wiadomość do użytkownika::
---- ----
/query [-noswitch] [-server <server>] <nick>[,<nick>...] [<text>] /query [-noswitch] [-server <serwer>] <nick>[,<nick>...] [<tekst>]
-noswitch: do not switch to new buffer -noswitch: nie przełączaj do nowego bufora
server: send to this server (internal name) serwer: wyślij do tego serwera (nazwa wewnętrzna)
nick: nick nick: nick
text: text to send tekst: wiadomość do wysłania
---- ----
[[command_irc_quiet]] [[command_irc_quiet]]
@@ -683,24 +683,24 @@ powód: powód
del|keep <serwer>] del|keep <serwer>]
deloutq|jump|raw deloutq|jump|raw
list: list servers (without argument, this list is displayed) list: wyświetla listę serwerów (bez argumentu wyświetlana jest ta lista)
listfull: list servers with detailed info for each server listfull: wyświetla listę serwerów ze szczegółowymi informacjami dla każdego serwera
add: create a new server add: tworzy nowy serwer
server: server name, for internal and display use serwer: nazwa serwera, do użytku wewnętrznego i wyświetlania
hostname: name or IP address of server, with optional port (default: 6667), many addresses can be separated by a comma host: nazwa albo adres IP serwera, z opcjonalnym numerem portu (domyślnie: 6667), wiele adresów należy rozdzielić przecinkiem
temp: create temporary server (not saved) temp: tworzy serwer tymczasowy (nie zapisany)
option: set option for server (for boolean option, value can be omitted) opcja: ustawia opcję dla serwera (dla opcji boolowskich wartość może zostać pominięta)
nooption: set boolean option to 'off' (for example: -nossl) noopcja: ustawia opcje boolowskie na 'off' (na przykład: -nossl)
copy: duplicate a server copy: duplikuje serwer
rename: rename a server rename: zmienia nazwę serwera
reorder: reorder list of servers reorder: zmienia kolejność na liście serwerów
keep: keep server in config file (for temporary servers only) keep: zachowuje serwer w pliku konfiguracyjnym (tylko dla serwerów tymczasowych)
del: delete a server del: usuwa serwer
deloutq: delete messages out queue for all servers (all messages WeeChat is currently sending) deloutq: usuń wiadomości z kolejki dla wszystkich serwerów (wszystkie wiadomości jakie WeeChat obecnie wysyła)
jump: jump to server buffer jump: przechodzi do bufora serwera
raw: open buffer with raw IRC data raw: otwiera bufor z nieprzetworzonymi danymi IRC
Examples: Przykłady:
/server listfull /server listfull
/server add freenode chat.freenode.net /server add freenode chat.freenode.net
/server add freenode chat.freenode.net/6697 -ssl -autoconnect /server add freenode chat.freenode.net/6697 -ssl -autoconnect
+6 -6
View File
@@ -498,7 +498,7 @@
** wartości: 0 .. 1000000 (domyślna wartość: `25`) ** wartości: 0 .. 1000000 (domyślna wartość: `25`)
* [[option_irc.server_default.capabilities]] *irc.server_default.capabilities* * [[option_irc.server_default.capabilities]] *irc.server_default.capabilities*
** opis: `comma-separated list of client capabilities to enable for server if they are available; capabilities supported by WeeChat are: account-notify, away-notify, extended-join, multi-prefix, server-time, userhost-in-names (example: "away-notify,multi-prefix")` ** opis: `oddzielona przecinkami lista opcji klienta do włączenia dla serwera, jeśli są dostępne; opcje wspierane przez WeeChat: account-notify, away-notify, extended-join, multi-prefix, server-time, userhost-in-names (przykład: "away-notify,multi-prefix")`
** typ: ciąg ** typ: ciąg
** wartości: dowolny ciąg (domyślna wartość: `""`) ** wartości: dowolny ciąg (domyślna wartość: `""`)
@@ -573,17 +573,17 @@
** wartości: continue, reconnect, disconnect (domyślna wartość: `continue`) ** wartości: continue, reconnect, disconnect (domyślna wartość: `continue`)
* [[option_irc.server_default.sasl_key]] *irc.server_default.sasl_key* * [[option_irc.server_default.sasl_key]] *irc.server_default.sasl_key*
** opis: `file with ECC private key for mechanism "ecdsa-nist256p-challenge" ("%h" will be replaced by WeeChat home, "~/.weechat" by default)` ** opis: `plik z kluczem prywatnym ECC dla mechanizmu "ecdsa-nist256p-challenge" ("%h" zostanie zastąpione katalogiem domowym WeeChat, domyślnie "~/.weechat")`
** typ: ciąg ** typ: ciąg
** wartości: dowolny ciąg (domyślna wartość: `""`) ** wartości: dowolny ciąg (domyślna wartość: `""`)
* [[option_irc.server_default.sasl_mechanism]] *irc.server_default.sasl_mechanism* * [[option_irc.server_default.sasl_mechanism]] *irc.server_default.sasl_mechanism*
** opis: `mechanism for SASL authentication: "plain" for plain text password, "ecdsa-nist256p-challenge" for key-based challenge authentication, "external" for authentication using client side SSL cert, "dh-blowfish" for blowfish crypted password (insecure, not recommended), "dh-aes" for AES crypted password (insecure, not recommended)` ** opis: `mechanizm autentykacji SASL: "plain" dla hasła w czystym tekście, "ecdsa-nist256p-challenge" uwierzytelnianie na podstawie pary kluczy, "external" dla uwierzytelnienia za pomocą certyfikatu SSL po stronie klienta", "dh-blowfish" dla hasła szyfrowanego za pomocą blowfish (mało bezpieczne, niepolecane), "dh-aes" dla hasła szyfrowanego za pomocą AES (mało bezpieczne, niepolecane)`
** typ: liczba ** typ: liczba
** wartości: plain, ecdsa-nist256p-challenge, external, dh-blowfish, dh-aes (domyślna wartość: `plain`) ** wartości: plain, ecdsa-nist256p-challenge, external, dh-blowfish, dh-aes (domyślna wartość: `plain`)
* [[option_irc.server_default.sasl_password]] *irc.server_default.sasl_password* * [[option_irc.server_default.sasl_password]] *irc.server_default.sasl_password*
** opis: `password for SASL authentication; this option is not used for mechanisms "ecdsa-nist256p-challenge" and "external" (note: content is evaluated, see /help eval)` ** opis: `hasło dla uwierzytelniania SASL; ta opcja nie jest używana dla mechanizmów "ecdsa-nist256p-challenge" oraz "external" (uwaga: zawartość jest przetwarzana, zobacz /help eval)`
** typ: ciąg ** typ: ciąg
** wartości: dowolny ciąg (domyślna wartość: `""`) ** wartości: dowolny ciąg (domyślna wartość: `""`)
@@ -593,7 +593,7 @@
** wartości: 1 .. 3600 (domyślna wartość: `15`) ** wartości: 1 .. 3600 (domyślna wartość: `15`)
* [[option_irc.server_default.sasl_username]] *irc.server_default.sasl_username* * [[option_irc.server_default.sasl_username]] *irc.server_default.sasl_username*
** opis: `username for SASL authentication; this option is not used for mechanism "external" (note: content is evaluated, see /help eval)` ** opis: `nazwa użytkownika dla uwierzytelniania SASL; ta opcja nie jest używana dla mechanizmów "ecdsa-nist256p-challenge" oraz "external" (uwaga: zawartość jest przetwarzana, zobacz /help eval)`
** typ: ciąg ** typ: ciąg
** wartości: dowolny ciąg (domyślna wartość: `""`) ** wartości: dowolny ciąg (domyślna wartość: `""`)
@@ -613,7 +613,7 @@
** wartości: 0 .. 2147483647 (domyślna wartość: `2048`) ** wartości: 0 .. 2147483647 (domyślna wartość: `2048`)
* [[option_irc.server_default.ssl_fingerprint]] *irc.server_default.ssl_fingerprint* * [[option_irc.server_default.ssl_fingerprint]] *irc.server_default.ssl_fingerprint*
** opis: `fingerprint of certificate which is trusted and accepted for the server; only hexadecimal digits are allowed (0-9, a-f): 64 chars for SHA-512, 32 chars for SHA-256, 20 chars for SHA-1 (insecure, not recommended); many fingerprints can be separated by commas; if this option is set, the other checks on certificates are NOT performed (option "ssl_verify")` ** opis: `skrót certyfikatu, który jest zaufany i akceptowany dla serwera; tylko cyfry heksadecymalne są dozwolone (0-9, a-f): 64 znaki dla SHA-512, 32 znaki dla SHA-256, 20 znaków dla SHA-1 (mało bezpieczne, nie zalecane); wiele skrótów można oddzielić przecinkami; jeśli ta opcja jest ustawiona, certyfikat NIE jest dalej sprawdzany (opcja "ssl_verify")`
** typ: ciąg ** typ: ciąg
** wartości: dowolny ciąg (domyślna wartość: `""`) ** wartości: dowolny ciąg (domyślna wartość: `""`)
+1 -1
View File
@@ -83,7 +83,7 @@
** wartości: 0 .. 65535 (domyślna wartość: `256`) ** wartości: 0 .. 65535 (domyślna wartość: `256`)
* [[option_relay.network.allowed_ips]] *relay.network.allowed_ips* * [[option_relay.network.allowed_ips]] *relay.network.allowed_ips*
** opis: `POSIX extended regular expression with IPs allowed to use relay (case insensitive, use "(?-i)" at beginning to make it case sensitive), example: "^(123.45.67.89|192.160.*)$"` ** opis: `rozszerzone wyrażenia regularne POSIX z adresami IP dozwolonymi dla pośrednika (nie wrażliwe na wielkość znaków, umieszczenie "(?-i)" na początku sprawi, że wielość znaków będzie miała znaczenie), przykład: "^(123.45.67.89|192.160.*)$"`
** typ: ciąg ** typ: ciąg
** wartości: dowolny ciąg (domyślna wartość: `""`) ** wartości: dowolny ciąg (domyślna wartość: `""`)
+1 -1
View File
@@ -193,7 +193,7 @@
** wartości: dowolny ciąg (domyślna wartość: `""`) ** wartości: dowolny ciąg (domyślna wartość: `""`)
* [[option_script.scripts.url]] *script.scripts.url* * [[option_script.scripts.url]] *script.scripts.url*
** opis: `URL for file with list of scripts; by default HTTPS is forced, see option script.scripts.url_force_https` ** opis: `adres pliku z listą skryptów; domyśłnie wymuszany jest protokół HTTPS, zobacz opcje script.scripts.url_force_https`
** typ: ciąg ** typ: ciąg
** wartości: dowolny ciąg (domyślna wartość: `"http://weechat.org/files/plugins.xml.gz"`) ** wartości: dowolny ciąg (domyślna wartość: `"http://weechat.org/files/plugins.xml.gz"`)
+134 -132
View File
@@ -17,50 +17,50 @@ wiadomość: powód nieobecności (jeśli nie podano wiadomości status nieobecn
---- ----
/bar list|listfull|listitems /bar list|listfull|listitems
add <name> <type>[,<conditions>] <position> <size> <separator> <item1>[,<item2>...] add <nazwa> <typ>[,<warunek>] <pozycja> <rozmiar> <separator> <element1>[,<element2>...]
default [input|title|status|nicklist] default [input|title|status|nicklist]
del <name>|-all del <nazwa>|-all
set <name> <option> <value> set <nazwa> <opcja> <wartość>
hide|show|toggle <name> hide|show|toggle <nazwa>
scroll <name> <window> <scroll_value> scroll <nazwa> <okno> <wartość_przewinięcia>
list: list all bars list: lista wszystkich pasków
listfull: list all bars (verbose) listfull: lista wszystkich pasków (z polami)
listitems: list all bar items listitems: lista wszystkich elementów pasków
add: add a new bar add: dodaj nowy pasek
name: name of bar (must be unique) nazwa: nazwa paska (musi b unikalna)
type: root: outside windows, typ: root: poza oknami,
window: inside windows, with optional conditions (see below) window: wewnątrz okien, z opcjonalnymi warunkami (patrz niżej)
conditions: the conditions to display the bar: warunek: warunek(i) dla wyświetlenia paska (tylko dla typu "window"):
active: on active window active: w aktywnym oknie
inactive: on inactive windows inactive: w nieaktywnym oknie
nicklist: on windows with nicklist nicklist: w oknach z listą nicków
other condition: see /help weechat.bar.xxx.conditions and /help eval inne warunki: zobacz /help weechat.bar.xxx.conditions oraz /help eval
without conditions, the bar is always displayed bez warunku pasek jest zawsze wyświetlany
position: bottom, top, left or right pozycja: dół (bottom), góra (top), lewo (left) lub prawo (right)
size: size of bar (in chars) rozmiar: rozmiar paska (w znakach)
separator: 1 for using separator (line), 0 or nothing means no separator separator: 1 dla użycia separatora (linia), 0 - brak separatora
item1,...: items for this bar (items can be separated by comma (space between items) or "+" (glued items)) element1,...: elementy dla tego paska (elementy mogą być oddzielone przecinkiem (przerwa między elementami) lub "+" (sklejone elementy))
default: create a default bar (all default bars if no bar name is given) default: tworzy domyślne paski (wszystkie domyślne paski, jeśli nie podamy nazwy)
del: delete a bar (or all bars with -all) del: usuwa pasek (lub wszystkie z użyciem -all)
set: set a value for a bar property set: ustawia wartość dla właściwości paska
option: option to change (for options list, look at /set weechat.bar.<barname>.*) opcja: opcja do zmiany (listę opcji można zobaczyć dzięki /set weechat.bar.<nazwa paska>.*)
value: new value for option wartość: nowa wartość opcji
hide: hide a bar hide: ukrywa pasek
show: show an hidden bar show: pokazuje ukryty pasek
toggle: hide/show a bar toggle: ukrywa/pokazuje pasek
scroll: scroll bar scroll: przewija pasek
window: window number (use '*' for current window or for root bars) okno: numer okna ('*' oznacza obecne okno lub pasek typu root)
scroll_value: value for scroll: 'x' or 'y' (optional), followed by '+', '-', 'b' (beginning) or 'e' (end), value (for +/-), and optional % (to scroll by % of width/height, otherwise value is number of chars) wartość_przewinięcia: wartość dla przewinięcia: 'x' lub 'y' (opcjonalne), następnie '+', '-', 'b' (początek) lub 'e' (koniec), wartość (dla +/-), oraz opcjonalnie % (w celu przesunięcia % szerokości/wysokości, w przeciwnym wypadku wartość jest ilością znaków)
Examples: Przykłady:
create a bar with time, buffer number + name, and completion: tworzy pasek z czasem, numerem + nazwą bufora i dopełnianiem:
/bar add mybar root bottom 1 0 [time],buffer_number+:+buffer_name,completion /bar add mybar root bottom 1 0 [time],buffer_number+:+buffer_name,completion
hide a bar: ukrywa pasek:
/bar hide mybar /bar hide mybar
scroll nicklist 10 lines down on current buffer: przewija listę nicków a obecnym buforze o 10 linii w dół :
/bar scroll nicklist * y+10 /bar scroll nicklist * y+10
scroll to end of nicklist on current buffer: przewija do końca listę nicków w obecnym buforze:
/bar scroll nicklist * ye /bar scroll nicklist * ye
---- ----
@@ -186,30 +186,30 @@ komenda: komenda do wywołania ( '/' jest automatycznie dodawane jeśli nie wyst
move up|down|left|right|area_up|area_down|area_left|area_right move up|down|left|right|area_up|area_down|area_left|area_right
stop stop
go: move cursor to chat area, a bar (using bar name) or coordinates "x,y" go: przesuwa kursor do obszaru rozmowy, paska (używając nazwy paska) lub położenia "x,y"
move: move cursor with direction move: przesuwa kursor w kierunku
stop: stop cursor mode stop: wyłącza tryb kursora
Without argument, this command toggles cursor mode. Bez argumentu komenda przełącza obsługę kursora.
When mouse is enabled (see /help mouse), by default a middle click will start cursor mode at this point. Kiedy obsługa myszy jest włączona (zobacz /help mouse), domyślnie wciśnięcie środkowego przycisku włącza tryb kursora we wskazanym punkcie.
Default keys in cursor mode on chat messages: Domyślne skróty dla trybu kursora w oknie rozmowy:
m quote message m cytuj wiadomość
q quote prefix + message q cytuj prefiks + wiadomość
Q quote time + prefix + message Q cytuj czas + prefiks + wiadomość
Default keys in cursor mode on nicklist: Domyślne skróty dla trybu kursora na liście nicków:
b ban nick (/ban) b zbanuj nick (/ban)
k kick nick (/kick) k wykop nick (/kick)
K kick and ban nick (/kickban) K wykop i zbanuj nick (/kickban)
q open query with nick (/query) q otworz okno prywatnej rozmowy (/query)
w query information about user (/whois) w zapytaj o informacje o użytkowniku (/whois)
Examples: Przykłady:
go to nicklist: przejdź do listy nicków:
/cursor go nicklist /cursor go nicklist
go to coordinates x=10, y=5: przejdź do współrzędnych x=10, y=5:
/cursor go 10,5 /cursor go 10,5
---- ----
@@ -248,50 +248,52 @@ infolists: wyświetla informacje o infolistach
[command]*`eval`* przetwórz wyrażenie:: [command]*`eval`* przetwórz wyrażenie::
---- ----
/eval [-n|-s] <expression> /eval [-n|-s] <wyrażenie>
[-n] -c <expression1> <operator> <expression2> [-n] -c <wyrażenie1> <operator> <wyrażenie2>
-n: display result without sending it to buffer (debug mode) -n: wyświetla wynik bez wysyłania go do buforu (tryb debugowania)
-s: split expression before evaluating it (many commands can be separated by semicolons) -s: podziel wyażenie przed przetworzeniem go (wiele komend może być oddzielonych średnikami)
-c: evaluate as condition: use operators and parentheses, return a boolean value ("0" or "1") -c: przetwarza jako warunek: użyj operatorów i nawiasów, zwraca wartość logiczną ("0" lub "1")
expression: expression to evaluate, variables with format ${variable} are replaced (see below); many commands can be separated by semicolons wyrażenie: wyrażenie do przetworzenia, zmienne o formacie ${zmienna} są zastępowane (zobacz niżej); wiele komend można oddzielić średnikami
operator: a logical or comparison operator: operator: operator logiczny lub porównania:
- logical operators: - operatory logiczne:
&& boolean "and" && boolowskie "i"
|| boolean "or" || boolowskie "lub"
- comparison operators: - operatory porównania:
== equal == równy
!= not equal != różny
<= less or equal <= mniejszy lub równy
< less < mniejszy
>= greater or equal >= większy lub równy
> greater > większy
=~ is matching POSIX extended regex =~ pasuje do rozszerzonego wyrażenia regularnego POSIX
!~ is NOT matching POSIX extended regex !~ NIE pasuje do rozszerzonego wyrażenia regularnego POSIX
An expression is considered as "true" if it is not NULL, not empty, and different from "0". Wyrażenie jest uznawane za "prawdziwe" jeśli nie jest NULL, nie jest puste, oraz różni się od "0".
The comparison is made using integers if the two expressions are valid integers. Porównania dokonuje się z użyciem liczb całkowitych jeśli oba wyrażenia są liczbami całkowitymi.
To force a string comparison, add double quotes around each expression, for example: W celu wymuszenia porównywania ciągów, należy umieścić każde wyrażenie w cudzysłowie, na przykład:
50 > 100 ==> 0 50 > 100 ==> 0
"50" > "100" ==> 1 "50" > "100" ==> 1
Some variables are replaced in expression, using the format ${variable}, variable can be, by order of priority: Niektóre zmienne w wyrażeniach są zamieniane, poprzez zastosowanie formatu ${zmienna}, według priorytetu zmienną może być:
1. a string with escaped chars (format: "esc:xxx" or "\xxx") 1. ciąg z wyescapowanymi znakami (format: "esc:xxx" lub "\xxx")
2. a string with chars to hide (format: "hide:char,string") 2. ciąg ze znakami do ukrycia (format: "hide:char,string")
3. a color (format: "color:xxx") 3. kolor (format color:xxx)
4. an info (format: "info:name,arguments", arguments are optional) 4. informacja (format: "info:nazwa,argumenty", argumenty są opcjonalne)
5. an option (format: "file.section.option") 5. zmienna środowiskowa (format: "env:XXX")
6. a local variable in buffer 6. opcja (format: plik.sekcja.opcja)
7. a hdata name/variable (the value is automatically converted to string), by default "window" and "buffer" point to current window/buffer. 7. zmienna lokalna w buforze
Format for hdata can be one of following: 8. nazwa hdatay/zmiennej (wartość jest automatycznie konwertowana na ciąg znaków), domyślnie "window" i "buffer" wskazują na aktualne okno/bufor.
hdata.var1.var2...: start with a hdata (pointer must be known), and ask variables one after one (other hdata can be followed) Format dla hdata może być jednym z poniższych:
hdata[list].var1.var2...: start with a hdata using a list, for example: hdata.zmienna1.zmienna2...: inicjuje hdata (wskaźnik musi być znany), następnie wypytuje zmienne jedna po drugiej (inne hdata mogą być następne)
${buffer[gui_buffers].full_name}: full name of first buffer in linked list of buffers hdata[list].zmienna1.zmienna2...: inicjuje hdata z wykorzystaniem listy, na przykład:
${plugin[weechat_plugins].name}: name of first plugin in linked list of plugins ${buffer[gui_buffers].full_name}: pełna nazwa buforu w połączonej liście buforów
For name of hdata and variables, please look at "Plugin API reference", function "weechat_hdata_get". ${plugin[weechat_plugins].name}: nazwa pierwszej wtyczki w połączonej liście wtyczek
Nazwy hdata i zmiennych, można znaleźć w "Opisie API wtyczek", fukcja "weechat_hdata_get".
Examples (simple strings): Przykłady (proste ciągi):
/eval -n ${info:version} ==> 0.4.3 /eval -n ${info:version} ==> 0.4.3
/eval -n ${env:HOME} ==> /home/user
/eval -n ${weechat.look.scroll_amount} ==> 3 /eval -n ${weechat.look.scroll_amount} ==> 3
/eval -n ${window} ==> 0x2549aa0 /eval -n ${window} ==> 0x2549aa0
/eval -n ${window.buffer} ==> 0x2549320 /eval -n ${window.buffer} ==> 0x2549320
@@ -300,7 +302,7 @@ Examples (simple strings):
/eval -n ${\t} ==> <tab> /eval -n ${\t} ==> <tab>
/eval -n ${hide:-,${relay.network.password}} ==> -------- /eval -n ${hide:-,${relay.network.password}} ==> --------
Examples (conditions): Przykłady (warunki):
/eval -n -c ${window.buffer.number} > 2 ==> 0 /eval -n -c ${window.buffer.number} > 2 ==> 0
/eval -n -c ${window.win_width} > 100 ==> 1 /eval -n -c ${window.win_width} > 100 ==> 1
/eval -n -c (8 > 12) || (5 > 2) ==> 1 /eval -n -c (8 > 12) || (5 > 2) ==> 1
@@ -321,57 +323,57 @@ Examples (conditions):
rename <nazwa> <nowa_nazwa> rename <nazwa> <nowa_nazwa>
del <nazwa>|-all del <nazwa>|-all
list: list all filters list: wyświetla wszystkie filtry
enable: enable filters (filters are enabled by default) enable: włącza filtry (filtry są domyślnie włączone)
disable: disable filters disable: wyłącza filtry
toggle: toggle filters toggle: przełącza filtry
name: filter name ("@" = enable/disable all filters in current buffer) nazwa: nazwa filtru ("@" = włącza/wyłącza wszystkie filtry w obecnym buforze)
add: add a filter add: dodaje filtr
rename: rename a filter rename: zmienia nazwę filtru
del: delete a filter del: usuwa filtr
-all: delete all filters -all: usuwa wszystkie filtry
buffer: comma separated list of buffers where filter is active: bufor: oddzielona przecinkami lisa buforów, dla których filtr jest aktywny:
- this is full name including plugin (example: "irc.freenode.#weechat" or "irc.server.freenode") - jest to pełna nazwa zawierająca wtyczkę (przykład: "irc.freenode.#weechat" lub "irc.server.freenode")
- "*" means all buffers - "*" oznacza wszystkie bufory
- a name starting with '!' is excluded - nazwa zaczynająca się od '!' jest wykluczana
- wildcard "*" is allowed - dozwolony jest znak "*"
tags: comma separated list of tags, for example "irc_join,irc_part,irc_quit" tagi: lista tagów oddzielona przecinkiem, np: "irc_join,irc_part,irc_quit"
- logical "and": use "+" between tags (for example: "nick_toto+irc_action") - logiczne "i": użyj "+" pomiędzy tagami (na przykład: "nick_toto+irc_action")
- wildcard "*" is allowed - dozwolony jest znak "*"
- if tag starts with '!', then it is excluded and must NOT be in message - jeśli tag zaczyna się od '!', wtedy jest on wykluczony i NIE może znajdować się w wiadomości
regex: POSIX extended regular expression to search in line regex: rozszerzone wyrażenie regularne POSIX do wyszukania w linii
- use '\t' to separate prefix from message, special chars like '|' must be escaped: '\|' - użyj '\t' do oddzielenia prefiksu od wiadomości, znaki specjalne jak '|' muszą zostać poprzedzone '\' np: '\|'
- if regex starts with '!', then matching result is reversed (use '\!' to start with '!') - jeśli wyrażenie zaczyna się od '!', wtedy pasujący wynik jest odwracany (użyj '\!', aby zacząć od '!')
- two regular expressions are created: one for prefix and one for message - dwa wyrażenia są tworzone: jedno dla prefiksu, drugie dla wiadomości
- regex are case insensitive, they can start by "(?-i)" to become case sensitive - wielkość znaków nie ma znaczenia dla wyrażeń, jeśli zaczynają się od "(?-i)" wielkość znaków ma znaczenie
The default key alt+'=' toggles filtering on/off. Domyślny skrót klawiszowy alt+'=' włącza/wyłącza filtrowanie.
Tags most commonly used: Najczęściej używane tagi:
no_filter, no_highlight, no_log, log0..log9 (log level), no_filter, no_highlight, no_log, log0..log9 (log level),
notify_none, notify_message, notify_private, notify_highlight, notify_none, notify_message, notify_private, notify_highlight,
nick_xxx (xxx is nick in message), prefix_nick_ccc (ccc is color of nick), nick_xxx (xxx is nick in message), prefix_nick_ccc (ccc is color of nick),
host_xxx (xxx is username + host in message), host_xxx (xxx is username + host in message),
irc_xxx (xxx is command name or number, see /server raw or /debug tags), irc_xxx (xxx is command name or number, see /server raw or /debug tags),
irc_numeric, irc_error, irc_action, irc_ctcp, irc_ctcp_reply, irc_smart_filter, away_info. irc_numeric, irc_error, irc_action, irc_ctcp, irc_ctcp_reply, irc_smart_filter, away_info.
To see tags for lines in buffers: /debug tags Aby zobaczyć listę tagów w liniach buforów wykonaj: /debug tags
Examples: Przykłady:
use IRC smart filter on all buffers: użyj inteligentnego filtru we wszystkich buforach IRC:
/filter add irc_smart * irc_smart_filter * /filter add irc_smart * irc_smart_filter *
use IRC smart filter on all buffers except those with "#weechat" in name: użyj inteligentnego filtru we wszystkich buforach IRC poza tymi zawierającymi "#weechat" w nazwie:
/filter add irc_smart *,!*#weechat* irc_smart_filter * /filter add irc_smart *,!*#weechat* irc_smart_filter *
filter all IRC join/part/quit messages: filtruj wszystkie wiadomości IRC o join/part/quit:
/filter add joinquit * irc_join,irc_part,irc_quit * /filter add joinquit * irc_join,irc_part,irc_quit *
filter nicks displayed when joining channels or with /names: filtruj nicki wyświetlane przy wejściu na kanał albo za pomocą /names:
/filter add nicks * irc_366 * /filter add nicks * irc_366 *
filter nick "toto" on IRC channel #weechat: filtruj nick "toto" na kanale IRC #weechat:
/filter add toto irc.freenode.#weechat nick_toto * /filter add toto irc.freenode.#weechat nick_toto *
filter IRC join/action messages from nick "toto": filtruj wejścia/akcje IRC od użytkownika "toto":
/filter add toto * nick_toto+irc_join,nick_toto+irc_action * /filter add toto * nick_toto+irc_join,nick_toto+irc_action *
filter lines containing "weechat sucks" on IRC channel #weechat: filtruj linie zawierające fraze "weechat sucks" na kanale IRC #weechat:
/filter add sucks irc.freenode.#weechat * weechat sucks /filter add sucks irc.freenode.#weechat * weechat sucks
filter lines that are strictly equal to "WeeChat sucks" on all buffers: filtruj linie "WeeChat sucks" we wszystkich buforach:
/filter add sucks2 * * (?-i)^WeeChat sucks$ /filter add sucks2 * * (?-i)^WeeChat sucks$
---- ----
@@ -877,10 +879,10 @@ Jest możliwe przywrócenie sesji WeeChat na innej maszynie, jeśli skopiujemy z
---- ----
/version [-o | -ol] /version [-o | -ol]
-o: send version to current buffer as input (English string) -o: wysyła wersje jako wejście do obecnego bufora (po angielsku)
-ol: send version to current buffer as input (translated string) -ol: wysyła wersje jako wejście do obecnego bufora (przetłumaczony)
The default alias /v can be used to execute this command on all buffers (otherwise the irc command /version is used on irc buffers). Domyślny alias /v może zostać użyty do wykonania tej komendy we wszystkich buforach (w przeciwnym wypadku wykonywana jest komenda /version w buforach irc).
---- ----
[[command_weechat_wait]] [[command_weechat_wait]]
+5 -5
View File
@@ -828,17 +828,17 @@
** wartości: dowolny ciąg (domyślna wartość: `"|"`) ** wartości: dowolny ciąg (domyślna wartość: `"|"`)
* [[option_weechat.look.quote_nick_prefix]] *weechat.look.quote_nick_prefix* * [[option_weechat.look.quote_nick_prefix]] *weechat.look.quote_nick_prefix*
** opis: `text to display before nick when quoting a message (see /help cursor)` ** opis: `teks wyświetlany przed nickiem podczas cytowania wiadomości (zobacz /help cursor)`
** typ: ciąg ** typ: ciąg
** wartości: dowolny ciąg (domyślna wartość: `"<"`) ** wartości: dowolny ciąg (domyślna wartość: `"<"`)
* [[option_weechat.look.quote_nick_suffix]] *weechat.look.quote_nick_suffix* * [[option_weechat.look.quote_nick_suffix]] *weechat.look.quote_nick_suffix*
** opis: `text to display after nick when quoting a message (see /help cursor)` ** opis: `teks wyświetlany za nickiem podczas cytowania wiadomości (zobacz /help cursor)`
** typ: ciąg ** typ: ciąg
** wartości: dowolny ciąg (domyślna wartość: `">"`) ** wartości: dowolny ciąg (domyślna wartość: `">"`)
* [[option_weechat.look.quote_time_format]] *weechat.look.quote_time_format* * [[option_weechat.look.quote_time_format]] *weechat.look.quote_time_format*
** opis: `time format when quoting a message (see /help cursor)` ** opis: `format czasu podczas cytowania wiadomości (zobacz /help cursor)`
** typ: ciąg ** typ: ciąg
** wartości: dowolny ciąg (domyślna wartość: `"%H:%M:%S"`) ** wartości: dowolny ciąg (domyślna wartość: `"%H:%M:%S"`)
@@ -928,12 +928,12 @@
** wartości: dowolny ciąg (domyślna wartość: `"WeeChat ${info:version}"`) ** wartości: dowolny ciąg (domyślna wartość: `"WeeChat ${info:version}"`)
* [[option_weechat.look.word_chars_highlight]] *weechat.look.word_chars_highlight* * [[option_weechat.look.word_chars_highlight]] *weechat.look.word_chars_highlight*
** opis: `comma-separated list of chars (or range of chars) that are considered part or words for highlights; each item can be a single char, a range of chars (format: a-z), a class of wide character (for example "alnum", see man wctype); a "!" before the item makes it negative (ie the char is NOT considered part of words); the value "*" matches any char; unicode chars are allowed with the format \u1234, for example \u00A0 for unbreakable space (see /help print for supported formats)` ** opis: `oddzielona przecinkami lista znaków (lub zakres znaków) rozważanych jako część słowa podświetlenia; każdy element może być pojedynczym znakiem, zakresem znaków (format: a-z), klasą znaków (przykład "alnum", zobacz man wctype); znak "!" przed elementem neguje go (znak NIE jest uznawany za część słowa); wartość "*" pasuje do dowolnego znaku; znaki unikodu są dozwolone w formacie \u1234, na przykład \u00A0 dla niełamliwej spacji (wspierane formaty można znaleźć w /help print)`
** typ: ciąg ** typ: ciąg
** wartości: dowolny ciąg (domyślna wartość: `"!\u00A0,-,_,|,alnum"`) ** wartości: dowolny ciąg (domyślna wartość: `"!\u00A0,-,_,|,alnum"`)
* [[option_weechat.look.word_chars_input]] *weechat.look.word_chars_input* * [[option_weechat.look.word_chars_input]] *weechat.look.word_chars_input*
** opis: `comma-separated list of chars (or range of chars) that are considered part or words for command line; each item can be a single char, a range of chars (format: a-z), a class of wide character (for example "alnum", see man wctype); a "!" before the item makes it negative (ie the char is NOT considered part of words); the value "*" matches any char; unicode chars are allowed with the format \u1234, for example \u00A0 for unbreakable space (see /help print for supported formats)` ** opis: `oddzielona przecinkami lista znaków (lub zakres znaków) rozważanych jako część słowa linii poleceń; każdy element może być pojedynczym znakiem, zakresem znaków (format: a-z), klasą znaków (przykład "alnum", zobacz man wctype); znak "!" przed elementem neguje go (znak NIE jest uznawany za część słowa); wartość "*" pasuje do dowolnego znaku; znaki unikodu są dozwolone w formacie \u1234, na przykład \u00A0 dla niełamliwej spacji (wspierane formaty można znaleźć w /help print)`
** typ: ciąg ** typ: ciąg
** wartości: dowolny ciąg (domyślna wartość: `"!\u00A0,-,_,|,alnum"`) ** wartości: dowolny ciąg (domyślna wartość: `"!\u00A0,-,_,|,alnum"`)
+2
View File
@@ -8,6 +8,8 @@
Ustawia ścieżkę jako katalog domowy WeeChat (używany dla plików Ustawia ścieżkę jako katalog domowy WeeChat (używany dla plików
konfiguracyjnych, logów, wtyczek użytkownika i skryptów), domyślna wartość konfiguracyjnych, logów, wtyczek użytkownika i skryptów), domyślna wartość
to '~/.weechat' (katalog zostanie utworzony jeśli nie istnieje). to '~/.weechat' (katalog zostanie utworzony jeśli nie istnieje).
Jeśli ta opcja nie zostanie podada, użyta zostanie zawartość zmiennej
WEECHAT_HOME (jeśli została ustawiona).
*-h*, *--help*:: *-h*, *--help*::
Wyświetla pomoc. Wyświetla pomoc.
+4 -8
View File
@@ -16,10 +16,9 @@ weechat - rozszerzalny klient rozmów
== OPIS == OPIS
// TRANSLATION MISSING
WeeChat (Wee Enhanced Environment for Chat) to darmowy klient rozmów, szybki WeeChat (Wee Enhanced Environment for Chat) to darmowy klient rozmów, szybki
i lekki, przeznaczony dla wielu systemów operacyjnych. i lekki, przeznaczony dla wielu systemów operacyjnych.
It is highly customizable and extensible with scripts. Posiada dużo opcji konfiguracyjnych i dodatkowych wtyczek.
== OPCJE == OPCJE
@@ -90,14 +89,11 @@ $HOME/.weechat/weechat.log::
== AUTORZY == AUTORZY
// TRANSLATION MISSING Autorem tej strony pomocy Sébastien Helleu <flashcode@flashtux.org>.
This manpage was written by Sébastien Helleu <flashcode@flashtux.org>.
// TRANSLATION MISSING Tłumaczenie Krzysztof Korościk <soltys@szluug.org>.
Translated by Krzysztof Korościk <soltys@szluug.org>.
// TRANSLATION MISSING == PRAWA AUTORSKIE
== COPYRIGHT
WeeChat jest tworzony przez Sébastien Helleu i społeczność (pełna lista dostępna WeeChat jest tworzony przez Sébastien Helleu i społeczność (pełna lista dostępna
jest w pliku AUTHORS). jest w pliku AUTHORS).
+2 -3
View File
@@ -6,10 +6,9 @@
:toc-placement: manual :toc-placement: manual
// TRANSLATION MISSING Tłumaczenie:
Translators:
* Krzysztof Korościk <soltys@szluug.org>, 2009-2014 * Krzysztof Korościk <soltys@szluug.org>, 2009-2015
[NOTE] [NOTE]
Ten dokument jest napisany dla WeeChat w wersji ≥ 0.3.0, ale powinien być używany Ten dokument jest napisany dla WeeChat w wersji ≥ 0.3.0, ale powinien być używany
+8 -14
View File
@@ -6,10 +6,9 @@
:max-width: 100% :max-width: 100%
// TRANSLATION MISSING Tłumaczenie:
Translators:
* Krzysztof Korościk <soltys@szluug.org>, 2009-2014 * Krzysztof Korościk <soltys@szluug.org>, 2009-2015
[[start]] [[start]]
@@ -101,8 +100,7 @@ na liście "irc" oraz inne wtyczki.
[[create_irc_server]] [[create_irc_server]]
== Tworzenie serwera IRC == Tworzenie serwera IRC
// TRANSLATION MISSING Możesz dodać serwer IRC za pomocą komendy `/server`, na przykład:
You can add an IRC server with `/server` command, for example:
---- ----
/server add freenode chat.freenode.net /server add freenode chat.freenode.net
@@ -319,21 +317,17 @@ Wtyczki są automatycznie ładowane, kiedy zostaną wykryte (proszę spojrzeć d
dokumentacji WeeChat, aby się dowiedzieć jak ładować/wyładowywać wtyczki lub dokumentacji WeeChat, aby się dowiedzieć jak ładować/wyładowywać wtyczki lub
skrypty). skrypty).
// TRANSLATION MISSING Dostępne jest wiele zewnętrznych skryptów (od społeczności), możesz je pobrać
Many external scripts (from contributors) are available for WeeChat, you can i zainstalować za pomocą komendy `/script`, na przykład:
download and install scripts from the repository with the `/script` command,
for example:
---- ----
/script install iset.pl /script install iset.pl
---- ----
// TRANSLATION MISSING Więcej informacji można uzyskać wykonując komendę `/help script`.
See `/help script` for more info.
// TRANSLATION MISSING Listę skryptów dostepnych dla WeeChat można uzyskać wywołując komendę `/script`
A list of scripts is available in WeeChat with `/script` or at this URL: lub pod adresem https://weechat.org/scripts
https://weechat.org/scripts
[[more_doc]] [[more_doc]]
== Więcej dokumentacji == Więcej dokumentacji
+2 -3
View File
@@ -7,10 +7,9 @@
:max-width: 100% :max-width: 100%
// TRANSLATION MISSING Tłumaczenie:
Translators:
* Krzysztof Korościk <soltys@szluug.org>, 2011-2014 * Krzysztof Korościk <soltys@szluug.org>, 2009-2015
Ten dokument opisuje klienta rozmów WeeChat, który jest częścią WeeChat. Ten dokument opisuje klienta rozmów WeeChat, który jest częścią WeeChat.
+2 -3
View File
@@ -6,10 +6,9 @@
:max-width: 100% :max-width: 100%
// TRANSLATION MISSING Tłumaczenie:
Translators:
* Krzysztof Korościk <soltys@szluug.org>, 2009-2014 * Krzysztof Korościk <soltys@szluug.org>, 2009-2015
[[purpose]] [[purpose]]
+79 -86
View File
@@ -7,10 +7,9 @@
:max-width: 100% :max-width: 100%
// TRANSLATION MISSING Tłumaczenie:
Translators:
* Krzysztof Korościk <soltys@szluug.org>, 2013-2014 * Krzysztof Korościk <soltys@szluug.org>, 2009-2015
Ten dokument opisuje klienta rozmów WeeChat, będącego częścią WeeChat. Ten dokument opisuje klienta rozmów WeeChat, będącego częścią WeeChat.
@@ -92,88 +91,86 @@ Na OS X możesz użyć http://brew.sh/[Homebrew]:
Poniższa tabela przedstawia pakiety wymagane i opcjonalne do skompilowania Poniższa tabela przedstawia pakiety wymagane i opcjonalne do skompilowania
WeeChat. WeeChat.
// TRANSLATION MISSING [width="100%",cols="5,^3,^3,.^13",options="header"]
[width="100%",cols="5,^3,^3,^3,.^13",options="header"]
|=== |===
| Pakiet ^(1)^ | Min version | Max version | Wymagany | Opis | Pakiet ^(1)^ | Wersja | Wymagany | Opis
| cmake | | | *tak* | | cmake | | *tak* |
Kompilacja (możliwe jest użycie autotools, jednak cmake jest zalecany) Kompilacja (możliwe jest użycie autotools, jednak cmake jest zalecany)
| pkg-config | | | *tak* | | pkg-config | | *tak* |
Wykrywa zainstalowane biblioteki Wykrywa zainstalowane biblioteki
| libncursesw5-dev ^(2)^ | | | *tak* | | libncursesw5-dev ^(2)^ | | *tak* |
Interfejs ncurses Interfejs ncurses
| libcurl4-gnutls-dev | | | *tak* | | libcurl4-gnutls-dev | | *tak* |
Transfer URL Transfer URL
| zlib1g-dev | | | *tak* | | zlib1g-dev | | *tak* |
Kompresja pakietów we wtyczce relay (protokół weechat), wtyczka script Kompresja pakietów we wtyczce relay (protokół weechat), wtyczka script
| libgcrypt20-dev | | | *tak* | | libgcrypt20-dev | | *tak* |
Zabezpieczone dane, uwierzytelnianie IRC SASL (DH-BLOWFISH/DH-AES), wtyczka Zabezpieczone dane, uwierzytelnianie IRC SASL (DH-BLOWFISH/DH-AES), wtyczka
script script
| libgnutls28-dev | 2.2.0 ^(3)^ | | | | libgnutls28-dev | 2.2.0 ^(3)^ | |
Połączenia SSL z serwerami IRC, wsparcie dla SSL we wtyczce relay, Połączenia SSL z serwerami IRC, wsparcie dla SSL we wtyczce relay,
uwierzytelnianie IRC SASL (ECDSA-NIST256P-CHALLENGE) uwierzytelnianie IRC SASL (ECDSA-NIST256P-CHALLENGE)
| gettext | | | | | gettext | | |
Internacjonalizacja (tłumaczenie wiadomości; język bazowy to Angielski) Internacjonalizacja (tłumaczenie wiadomości; język bazowy to Angielski)
| ca-certificates | | | | | ca-certificates | | |
Certyfikaty dla połączeń SSL Certyfikaty dla połączeń SSL
| libaspell-dev or libenchant-dev | | | | | libaspell-dev or libenchant-dev | | |
Wtyczka aspell Wtyczka aspell
| python-dev | 2.5 ^(4)^ | | | | python-dev | 2.5 ^(4)^ | |
Wtyczka python Wtyczka python
| libperl-dev | | | | | libperl-dev | | |
Wtyczka perl Wtyczka perl
| ruby2.1-dev | 1.8 | | | | ruby2.1-dev | 1.8 | |
Wtyczka ruby Wtyczka ruby
| liblua5.2-dev | | | | | liblua5.2-dev | | |
Wtyczka lua Wtyczka lua
| tcl-dev | 8.5 | | | | tcl-dev | 8.5 | |
Wtyczka tcl Wtyczka tcl
| guile-2.0-dev | 2.0 | | | | guile-2.0-dev | 2.0 | |
Wtyczka guile (scheme) Wtyczka guile (scheme)
| libv8-dev | | 3.24.3 | | | libv8-dev | 3.24.3 | |
Wtyczka javascript Wtyczka javascript
| asciidoc | 8.5.0 | | | | asciidoc | 8.5.0 | |
Tworzenie strony man i dokumentacji Tworzenie strony man i dokumentacji
| source-highlight | | | | | source-highlight | | |
Podświetlanie składni dla kodów źródłowych w dokumentacji Podświetlanie składni dla kodów źródłowych w dokumentacji
| xsltproc, docbook-xml, docbook-xsl | | | | | xsltproc, docbook-xml, docbook-xsl | | |
Tworzenie strony man Tworzenie strony man
| libcpputest-dev | 3.4 | | | | libcpputest-dev | 3.4 | |
Uruchamianie testów Uruchamianie testów
| C++ compiler | | | | | C++ compiler | | |
Uruchamianie testów, wtyczka javascript Uruchamianie testów, wtyczka javascript
|=== |===
// TRANSLATION MISSING (note 3)
[NOTE] [NOTE]
^(1)^ Nazwy pochodzą z dystrybucji Debian GNU/Linux, wersje i nazwy pakietów ^(1)^ Nazwy pochodzą z dystrybucji Debian GNU/Linux, wersje i nazwy pakietów
mogą być inne w innych dystrybucjach. + mogą być inne w innych dystrybucjach. +
^(2)^ WeeChat może być skompilowany z libncurses5-dev, ale jest to *NIE* ^(2)^ WeeChat może być skompilowany z libncurses5-dev, ale jest to *NIE*
zalecane (spowoduje to błędy w wyświetlaniu szerokich znaków). + zalecane (spowoduje to błędy w wyświetlaniu szerokich znaków). +
^(3)^ Gnutls ≥ 3.0.21 is required for IRC SASL authentication with mechanism ^(3)^ Gnutls ≥ 3.0.21 jest wymagany dla uwierzytelnienia IRC SASL za pomocą
ECDSA-NIST256P-CHALLENGE. + mechanizmu ECDSA-NIST256P-CHALLENGE. +
^(4)^ Zalecana wersja Pythona to 2.7 (wszystkie skrypty działają z wersją 2.7, ^(4)^ Zalecana wersja Pythona to 2.7 (wszystkie skrypty działają z wersją 2.7,
ale nie w wersjami ≤ 2.6 lub ≥ 3.0). ale nie w wersjami ≤ 2.6 lub ≥ 3.0).
@@ -855,45 +852,45 @@ domyślny pasek 'nicklist' ma wypełnienie 'vertical'.
Przykłady wypełnień paska 'nicklist': Przykłady wypełnień paska 'nicklist':
.... ....
┌──────────────────────────────────────────────────┐ ┌───────────────────────────────────────────────────────────────────────
│Welcome to #test, this is a test channel │ │Welcome to #test, this is a test channel
│12:54:15 peter | hey! │@carl │ │12:54:15 peter | hey! │@carl │
│12:55:01 +Max | hello │@jessika│ │12:55:01 +Max | hello │@jessika│
│ │@maddy │ │@maddy │
│ │%Diego │ │%Diego │
│ │%Melody │ │%Melody │
│ │+Max │ │+Max │
│ │ celia │ │ celia │
│ │ Eva │ │ Eva │
│ │ freddy │ │ freddy │
│ │ Harold^│ │ Harold^│
│ │ henry4 │ │ henry4 │
│ │ jimmy17│ │ jimmy17│
│ │ jodie ▼│ │ jodie ▼│
│[12:55] [6] [irc/freenode] 3:#test(+n){24} │ │[12:55] [6] [irc/freenode] 3:#test(+n){24}
│[@carl] █ │ │[@carl] █
└──────────────────────────────────────────────────┘ └───────────────────────────────────────────────────────────────────────
filling_left_right = vertical ▲ filling_left_right = vertical ▲
┌──────────────────────────────────────────────────┐ ┌───────────────────────────────────────────────────────────────────────
│Welcome to #test, this is a test channel │ │Welcome to #test, this is a test channel
│12:54:15 peter | hey! │@carl lee │ │12:54:15 peter | hey! │@carl lee │
│12:55:01 +Max | hello │@jessika louise │ │12:55:01 +Max | hello │@jessika louise │
│ │@maddy mario │ │@maddy mario │
│ │%Diego mark │ │%Diego mark │
│ │%Melody peter │ │%Melody peter │
│ │+Max Rachel │ │+Max Rachel │
│ │ celia richard│ │ celia richard│
│ │ Eva sheryl │ │ Eva sheryl │
│ │ freddy Vince │ │ freddy Vince │
│ │ Harold^ warren │ │ Harold^ warren │
│ │ henry4 zack │ │ henry4 zack │
│ │ jimmy17 │ │ jimmy17 │
│ │ jodie │ │ jodie │
│[12:55] [6] [irc/freenode] 3:#test(+n){24} │ │[12:55] [6] [irc/freenode] 3:#test(+n){24}
│[@carl] █ │ │[@carl] █
└──────────────────────────────────────────────────┘ └───────────────────────────────────────────────────────────────────────
filling_left_right = columns_vertical ▲ filling_left_right = columns_vertical ▲
┌───────────────────────────────────────────────────────────────────────┐ ┌───────────────────────────────────────────────────────────────────────┐
│@carl %Diego celia Harold^ jodie mario Rachel Vince │ │@carl %Diego celia Harold^ jodie mario Rachel Vince │
@@ -2238,8 +2235,7 @@ Więcej informacji można znaleźć pod adresem: http://www.oftc.net/oftc/NickSe
WeeChat wspiera uwierzytelnianie SASL, używając różnych mechanizmów: WeeChat wspiera uwierzytelnianie SASL, używając różnych mechanizmów:
* 'plain': hasło w czystym tekście (domyślne) * 'plain': hasło w czystym tekście (domyślne)
// TRANSLATION MISSING * 'ecdsa-nist256p-challenge': klucz prywatny/publiczny
* 'ecdsa-nist256p-challenge': challenge with public/private key
* 'external': certyfikat SSL po stronie klienta * 'external': certyfikat SSL po stronie klienta
* 'dh-blowfish': hasło zaszyfrowane algorytmem blowfish * 'dh-blowfish': hasło zaszyfrowane algorytmem blowfish
* 'dh-aes': hasło zaszyfrowane algorytmem AES * 'dh-aes': hasło zaszyfrowane algorytmem AES
@@ -2252,36 +2248,33 @@ Opcje dla serwerów to:
* 'sasl_mechanism': mechanizm do użycia (zobacz wyżej) * 'sasl_mechanism': mechanizm do użycia (zobacz wyżej)
* 'sasl_timeout': limit czasu (w sekundach) na uwierzytelnienie * 'sasl_timeout': limit czasu (w sekundach) na uwierzytelnienie
// TRANSLATION MISSING * 'sasl_fail': akcja wykonywana jeśli uwierzytelnienie się nie powiedzie
* 'sasl_fail': action to perform if authentication fails
* 'sasl_username': nazwa użytkownika (nick) * 'sasl_username': nazwa użytkownika (nick)
* 'sasl_password': hasło * 'sasl_password': hasło
// TRANSLATION MISSING * 'sasl_key': plik z kluczem prywatnym ECc (dla mechanizmu
* 'sasl_key': file with ECc private key (for mechanism
'ecdsa-nist256p-challenge') 'ecdsa-nist256p-challenge')
// TRANSLATION MISSING
[[irc_sasl_ecdsa_nist256p_challenge]] [[irc_sasl_ecdsa_nist256p_challenge]]
===== SASL ECDSA-NIST256P-CHALLENGE ===== SASL ECDSA-NIST256P-CHALLENGE
You must generate a private key in order to authentify with the Musisz wygenerować klucz prywatny w celu uwierzytelnienia za pomocą mechanizmu
ECDSA-NIST256P-CHALLENGE mechanism (no password is required on connection). ECDSA-NIST256P-CHALLENGE (hasło nie potrzebne do połączenia).
You can generate the key with this command: Klucz można wygenerować za pomocą komendy:
---- ----
$ openssl ecparam -genkey -name prime256v1 >~/.weechat/ecdsa.pem $ openssl ecparam -genkey -name prime256v1 >~/.weechat/ecdsa.pem
---- ----
Get the public key (encoded as base64) with this command: Klucz publiczny (zakodowany za pomocą base64) uzyskujemy wywołując komendę:
---- ----
$ openssl ec -noout -text -conv_form compressed -in ~/.weechat/ecdsa.pem | grep '^pub:' -A 3 | tail -n 3 | tr -d ' \n:' | xxd -r -p | base64 $ openssl ec -noout -text -conv_form compressed -in ~/.weechat/ecdsa.pem | grep '^pub:' -A 3 | tail -n 3 | tr -d ' \n:' | xxd -r -p | base64
---- ----
Connect to the server, identify (for example with "nickserv identify") and set Połącz się do serwera, zidentyfikuj (na przykład za pomocą "nickserv identify")
your public key in your account, using nickserv (replace the base64 value with i ustaw swój klucz publiczny dla swojego konta, za pomocą nickserva (zamień
your public key): wartość base64 wartościa dla swojego klucza):
---- ----
/connect freenode /connect freenode
@@ -2289,15 +2282,15 @@ your public key):
/msg nickserv set pubkey Av8k1FOGetUDq7sPMBfufSIZ5c2I/QYWgiwHtNXkVe/q /msg nickserv set pubkey Av8k1FOGetUDq7sPMBfufSIZ5c2I/QYWgiwHtNXkVe/q
---- ----
Configure the SASL options in the server: Konfiguracja opcji SASL dla serwera:
---- ----
/set irc.server.freenode.sasl_mechanism ecdsa-nist256p-challenge /set irc.server.freenode.sasl_mechanism ecdsa-nist256p-challenge
/set irc.server.freenode.sasl_username "your_nickname" /set irc.server.freenode.sasl_username "twój_nick"
/set irc.server.freenode.sasl_key "%h/ecdsa.pem" /set irc.server.freenode.sasl_key "%h/ecdsa.pem"
---- ----
Reconnect to the server: Ponowne połączenie z serwerem:
---- ----
/reconnect freenode /reconnect freenode
+3
View File
@@ -4,11 +4,14 @@
*-c*, *--colors*:: *-c*, *--colors*::
Вывести в терминал умолчальные цвета. Вывести в терминал умолчальные цвета.
// TRANSLATION MISSING
*-d*, *--dir* '<путь>':: *-d*, *--dir* '<путь>'::
Установить <путь> как домашнюю директорию для WeeChat (используется для Установить <путь> как домашнюю директорию для WeeChat (используется для
конфигурационных файлов, логов, пользовательских плагинов и скриптов). конфигурационных файлов, логов, пользовательских плагинов и скриптов).
Значение по-умолчанию: '~/.weechat' (замечание: директория будет создана, Значение по-умолчанию: '~/.weechat' (замечание: директория будет создана,
если WeeChat не найдет ее). если WeeChat не найдет ее).
If this option is not given, the environment variable WEECHAT_HOME is used
(if not empty).
*-h*, *--help*:: *-h*, *--help*::
Вывести справку. Вывести справку.
+5 -5
View File
@@ -18,16 +18,16 @@
# #
set(PO_FILES set(PO_FILES
fr.po
es.po
cs.po cs.po
hu.po
de.po de.po
ru.po es.po
pl.po fr.po
hu.po
it.po it.po
ja.po ja.po
pl.po
pt_BR.po pt_BR.po
ru.po
tr.po tr.po
) )
+35 -25
View File
@@ -20,7 +20,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: WeeChat\n" "Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2015-04-19 11:28+0200\n" "POT-Creation-Date: 2015-05-07 07:02+0200\n"
"PO-Revision-Date: 2015-03-21 08:41+0100\n" "PO-Revision-Date: 2015-03-21 08:41+0100\n"
"Last-Translator: Jiri Golembiovsky <golemj@gmail.com>\n" "Last-Translator: Jiri Golembiovsky <golemj@gmail.com>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n" "Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -140,6 +140,8 @@ msgid ""
" -a, --no-connect disable auto-connect to servers at startup\n" " -a, --no-connect disable auto-connect to servers at startup\n"
" -c, --colors display default colors in terminal\n" " -c, --colors display default colors in terminal\n"
" -d, --dir <path> set WeeChat home directory (default: ~/.weechat)\n" " -d, --dir <path> set WeeChat home directory (default: ~/.weechat)\n"
" (environment variable WEECHAT_HOME is read if "
"this option is not given)\n"
" -h, --help display this help\n" " -h, --help display this help\n"
" -l, --license display WeeChat license\n" " -l, --license display WeeChat license\n"
" -p, --no-plugin don't load any plugin at startup\n" " -p, --no-plugin don't load any plugin at startup\n"
@@ -173,15 +175,15 @@ msgstr ""
msgid "Error: missing argument for \"%s\" option\n" msgid "Error: missing argument for \"%s\" option\n"
msgstr "Chyba: chybí argument pro volbu \"%s\"\n" msgstr "Chyba: chybí argument pro volbu \"%s\"\n"
msgid "Error: WEECHAT_HOME is undefined, check build options\n"
msgstr ""
msgid "Error: unable to get HOME directory\n" msgid "Error: unable to get HOME directory\n"
msgstr "Chyba: nemohu získat HOME adresář\n" msgstr "Chyba: nemohu získat HOME adresář\n"
msgid "Error: not enough memory for home directory\n" msgid "Error: not enough memory for home directory\n"
msgstr "Chyba: nedostatek paměti pro domácí adresář\n" msgstr "Chyba: nedostatek paměti pro domácí adresář\n"
msgid "Error: WEECHAT_HOME is undefined, check build options\n"
msgstr ""
#, c-format #, c-format
msgid "Error: home (%s) is not a directory\n" msgid "Error: home (%s) is not a directory\n"
msgstr "Chyba: domovský adresář (%s) není adresářem\n" msgstr "Chyba: domovský adresář (%s) není adresářem\n"
@@ -190,6 +192,23 @@ msgstr "Chyba: domovský adresář (%s) není adresářem\n"
msgid "Error: cannot create directory \"%s\"\n" msgid "Error: cannot create directory \"%s\"\n"
msgstr "Chyba: nemohu vytvořit adresář \"%s\"\n" msgstr "Chyba: nemohu vytvořit adresář \"%s\"\n"
msgid ""
"Welcome to WeeChat!\n"
"\n"
"If you are discovering WeeChat, it is recommended to read at least the "
"quickstart guide, and the user's guide if you have some time; they explain "
"main WeeChat concepts.\n"
"All WeeChat docs are available at: https://weechat.org/doc\n"
"\n"
"Moreover, there is inline help with /help on all commands and options (use "
"Tab key to complete the name).\n"
"The command /iset (script iset.pl) can help to customize WeeChat: /script "
"install iset.pl\n"
"\n"
"You can create and connect to an IRC server with /server and /connect "
"commands (see /help server)."
msgstr ""
#. TRANSLATORS: the "under %s" can be "under screen" or "under tmux" #. TRANSLATORS: the "under %s" can be "under screen" or "under tmux"
#, c-format #, c-format
msgid "" msgid ""
@@ -1453,9 +1472,10 @@ msgid ""
" 2. a string with chars to hide (format: \"hide:char,string\")\n" " 2. a string with chars to hide (format: \"hide:char,string\")\n"
" 3. a color (format: \"color:xxx\")\n" " 3. a color (format: \"color:xxx\")\n"
" 4. an info (format: \"info:name,arguments\", arguments are optional)\n" " 4. an info (format: \"info:name,arguments\", arguments are optional)\n"
" 5. an option (format: \"file.section.option\")\n" " 5. an environment variable (format: \"env:XXX\")\n"
" 6. a local variable in buffer\n" " 6. an option (format: \"file.section.option\")\n"
" 7. a hdata name/variable (the value is automatically converted to string), " " 7. a local variable in buffer\n"
" 8. a hdata name/variable (the value is automatically converted to string), "
"by default \"window\" and \"buffer\" point to current window/buffer.\n" "by default \"window\" and \"buffer\" point to current window/buffer.\n"
"Format for hdata can be one of following:\n" "Format for hdata can be one of following:\n"
" hdata.var1.var2...: start with a hdata (pointer must be known), and ask " " hdata.var1.var2...: start with a hdata (pointer must be known), and ask "
@@ -1470,6 +1490,7 @@ msgid ""
"\n" "\n"
"Examples (simple strings):\n" "Examples (simple strings):\n"
" /eval -n ${info:version} ==> 0.4.3\n" " /eval -n ${info:version} ==> 0.4.3\n"
" /eval -n ${env:HOME} ==> /home/user\n"
" /eval -n ${weechat.look.scroll_amount} ==> 3\n" " /eval -n ${weechat.look.scroll_amount} ==> 3\n"
" /eval -n ${window} ==> 0x2549aa0\n" " /eval -n ${window} ==> 0x2549aa0\n"
" /eval -n ${window.buffer} ==> 0x2549320\n" " /eval -n ${window.buffer} ==> 0x2549320\n"
@@ -4181,24 +4202,6 @@ msgstr "Barvy Weechat (použité: %d, zbývá: %d):"
msgid "Terminal lost, exiting WeeChat..." msgid "Terminal lost, exiting WeeChat..."
msgstr "Terminál ztracen, ukončuji WeeChat..." msgstr "Terminál ztracen, ukončuji WeeChat..."
msgid ""
"\n"
"Welcome to WeeChat!\n"
"\n"
"If you are discovering WeeChat, it is recommended to read at least the "
"quickstart guide, and the user's guide if you have some time; they explain "
"main WeeChat concepts.\n"
"All WeeChat docs are available at: https://weechat.org/doc\n"
"\n"
"Moreover, there is inline help with /help on all commands and options (use "
"Tab key to complete the name).\n"
"The command /iset (script iset.pl) can help to customize WeeChat: /script "
"install iset.pl\n"
"\n"
"You can create and connect to an IRC server with /server and /connect "
"commands (see /help server)."
msgstr ""
#, fuzzy #, fuzzy
msgid "Mouse is enabled" msgid "Mouse is enabled"
msgstr "1 pokud jsou filtry povoleny" msgstr "1 pokud jsou filtry povoleny"
@@ -6658,6 +6661,13 @@ msgstr "čísla pro definované ignorování"
msgid "nicks in notify list" msgid "nicks in notify list"
msgstr "přezdívky v seznamu notifikací" msgstr "přezdívky v seznamu notifikací"
#, c-format
msgid ""
"%sWARNING: the value \"channel\" for option \"irc.look.display_away\" will "
"send all your away changes to the channels, which is often considered as "
"spam; therefore you could be banned from channels, you are warned!"
msgstr ""
#, c-format #, c-format
msgid "" msgid ""
"%s%s: warning: proxy \"%s\" does not exist (you can create it with command /" "%s%s: warning: proxy \"%s\" does not exist (you can create it with command /"
+79 -62
View File
@@ -24,8 +24,8 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: WeeChat\n" "Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2015-04-19 11:28+0200\n" "POT-Creation-Date: 2015-05-07 07:02+0200\n"
"PO-Revision-Date: 2015-04-20 20:34+0100\n" "PO-Revision-Date: 2015-05-09 09:25+0100\n"
"Last-Translator: Nils Görs <weechatter@arcor.de>\n" "Last-Translator: Nils Görs <weechatter@arcor.de>\n"
"Language-Team: German <>\n" "Language-Team: German <>\n"
"Language: de_DE\n" "Language: de_DE\n"
@@ -33,7 +33,7 @@ msgstr ""
"Content-Type: text/plain; charset=UTF-8\n" "Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n" "Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=n != 1;\n" "Plural-Forms: nplurals=2; plural=n != 1;\n"
"X-Generator: Poedit 1.5.4\n" "X-Generator: Poedit 1.7.5\n"
"X-Poedit-Bookmarks: -1,-1,180,-1,-1,-1,-1,-1,-1,-1\n" "X-Poedit-Bookmarks: -1,-1,180,-1,-1,-1,-1,-1,-1,-1\n"
"X-Poedit-SourceCharset: utf-8\n" "X-Poedit-SourceCharset: utf-8\n"
@@ -141,6 +141,8 @@ msgid ""
" -a, --no-connect disable auto-connect to servers at startup\n" " -a, --no-connect disable auto-connect to servers at startup\n"
" -c, --colors display default colors in terminal\n" " -c, --colors display default colors in terminal\n"
" -d, --dir <path> set WeeChat home directory (default: ~/.weechat)\n" " -d, --dir <path> set WeeChat home directory (default: ~/.weechat)\n"
" (environment variable WEECHAT_HOME is read if "
"this option is not given)\n"
" -h, --help display this help\n" " -h, --help display this help\n"
" -l, --license display WeeChat license\n" " -l, --license display WeeChat license\n"
" -p, --no-plugin don't load any plugin at startup\n" " -p, --no-plugin don't load any plugin at startup\n"
@@ -157,36 +159,38 @@ msgstr ""
" -c, --colors zeigt die Standardfarben des Terminals an\n" " -c, --colors zeigt die Standardfarben des Terminals an\n"
" -d, --dir <Pfad> legt den Konfigurationsordner für WeeChat fest " " -d, --dir <Pfad> legt den Konfigurationsordner für WeeChat fest "
"(Voreinstellung: ~/.weechat)\n" "(Voreinstellung: ~/.weechat)\n"
" (Umgebungsvariable WEECHAT_HOME wird überprüft "
"falls diese Option nicht übergeben wird)\n"
" -h, --help zeigt diese Hilfe an\n" " -h, --help zeigt diese Hilfe an\n"
" -l, --license zeigt die Lizenz von WeeChat an\n" " -l, --license zeigt die Lizenz von WeeChat an\n"
" -p, --no-plugin unterbindet beim Programmstart das Laden von " " -p, --no-plugin unterbindet beim Programmstart das Laden von "
"Erweiterungen\n" "Erweiterungen\n"
" -r, --run-command <cmd> führt einen oder mehrere Befehle nach dem Start " " -r, --run-command <cmd> führt einen oder mehrere Befehle nach dem Start "
"aus\n" "aus\n"
" (mehrere Befehle werden durch ein Semikolon " " (mehrere Befehle können durch ein Semikolon "
"getrennt)\n" "getrennt werden)\n"
" -s, --no-script Skripten werden beim Programmstart nicht geladen\n" " -s, --no-script Skripten werden beim Programmstart nicht geladen\n"
" --upgrade führt ein WeeChat-Upgrade mittels " " --upgrade führt ein WeeChat-Upgrade mittels Sitzungsdateien "
"Sitzungsdateien, die mit dem Befehl `/upgrade -quit` erstellt wurden, durch\n" "die mit dem Befehl `/upgrade -quit` erstellt wurden durch\n"
" -v, --version zeigt die Version von WeeChat an\n" " -v, --version zeigt die Version von WeeChat an\n"
" plugin:option Einstellungen für Erweiterungen (siehe man " " plugin:option Einstellungen für Erweiterungen (siehe man "
"weechat-curses)\n" "weechat)\n"
#, c-format #, c-format
msgid "Error: missing argument for \"%s\" option\n" msgid "Error: missing argument for \"%s\" option\n"
msgstr "Fehler: fehlendes Argument für die Einstellung \"%s\"\n" msgstr "Fehler: fehlendes Argument für die Einstellung \"%s\"\n"
msgid "Error: WEECHAT_HOME is undefined, check build options\n"
msgstr ""
"Fehler: WEECHAT_HOME ist nicht definiert, bitte überprüfen Sie die build-"
"Einstellungen\n"
msgid "Error: unable to get HOME directory\n" msgid "Error: unable to get HOME directory\n"
msgstr "Fehler: Das HOME-Verzeichnis kann nicht ermittelt werden\n" msgstr "Fehler: Das HOME-Verzeichnis kann nicht ermittelt werden\n"
msgid "Error: not enough memory for home directory\n" msgid "Error: not enough memory for home directory\n"
msgstr "Fehler: nicht genug Speicher für das HOME-Verzeichnis\n" msgstr "Fehler: nicht genug Speicher für das HOME-Verzeichnis\n"
msgid "Error: WEECHAT_HOME is undefined, check build options\n"
msgstr ""
"Fehler: WEECHAT_HOME ist nicht definiert, bitte überprüfen Sie die build-"
"Einstellungen\n"
#, c-format #, c-format
msgid "Error: home (%s) is not a directory\n" msgid "Error: home (%s) is not a directory\n"
msgstr "Fehler: HOME (%s) ist kein Verzeichnis\n" msgstr "Fehler: HOME (%s) ist kein Verzeichnis\n"
@@ -195,6 +199,40 @@ msgstr "Fehler: HOME (%s) ist kein Verzeichnis\n"
msgid "Error: cannot create directory \"%s\"\n" msgid "Error: cannot create directory \"%s\"\n"
msgstr "Fehler: Das Verzeichnis \"%s\" kann nicht anlegt werden\n" msgstr "Fehler: Das Verzeichnis \"%s\" kann nicht anlegt werden\n"
msgid ""
"Welcome to WeeChat!\n"
"\n"
"If you are discovering WeeChat, it is recommended to read at least the "
"quickstart guide, and the user's guide if you have some time; they explain "
"main WeeChat concepts.\n"
"All WeeChat docs are available at: https://weechat.org/doc\n"
"\n"
"Moreover, there is inline help with /help on all commands and options (use "
"Tab key to complete the name).\n"
"The command /iset (script iset.pl) can help to customize WeeChat: /script "
"install iset.pl\n"
"\n"
"You can create and connect to an IRC server with /server and /connect "
"commands (see /help server)."
msgstr ""
"Willkommen zu WeeChat!\n"
"\n"
"Wenn Du WeeChat nutzen möchtest dann solltest Du zumindest einen Blick in "
"die Quickstart-Anleitung werfen. Wir empfehlen aber, um den vollen "
"Funktionsumfang und das Konzept hinter WeeChat kennen zu lernen, die "
"Benutzeranleitung zu lesen.\n"
"Die Komplette Dokumentation findet man unter: https://weechat.org/doc\n"
"\n"
"Darüber hinaus ist in WeeChat eine interne Hilfe integriert die man mit /"
"help auf alle Befehle und Optionen anwenden kann (mittels der TAB-Taste kann "
"eine Namensvervollständigung durchgeführt werden).\n"
"Der /iset Befehl (Skript iset.pl) kann genutzt werden um WeeChat sehr "
"einfach und übersichtlich den eigenen Bedürfnissen anzupassen: /script "
"install iset.pl\n"
"\n"
"Um einen IRC Server zu erstellen und sich mit selbigen zu Verbinden müssen "
"die Befehle /server und /connect verwendet werden (siehe /help server)."
#. TRANSLATORS: the "under %s" can be "under screen" or "under tmux" #. TRANSLATORS: the "under %s" can be "under screen" or "under tmux"
#, c-format #, c-format
msgid "" msgid ""
@@ -1543,9 +1581,10 @@ msgid ""
" 2. a string with chars to hide (format: \"hide:char,string\")\n" " 2. a string with chars to hide (format: \"hide:char,string\")\n"
" 3. a color (format: \"color:xxx\")\n" " 3. a color (format: \"color:xxx\")\n"
" 4. an info (format: \"info:name,arguments\", arguments are optional)\n" " 4. an info (format: \"info:name,arguments\", arguments are optional)\n"
" 5. an option (format: \"file.section.option\")\n" " 5. an environment variable (format: \"env:XXX\")\n"
" 6. a local variable in buffer\n" " 6. an option (format: \"file.section.option\")\n"
" 7. a hdata name/variable (the value is automatically converted to string), " " 7. a local variable in buffer\n"
" 8. a hdata name/variable (the value is automatically converted to string), "
"by default \"window\" and \"buffer\" point to current window/buffer.\n" "by default \"window\" and \"buffer\" point to current window/buffer.\n"
"Format for hdata can be one of following:\n" "Format for hdata can be one of following:\n"
" hdata.var1.var2...: start with a hdata (pointer must be known), and ask " " hdata.var1.var2...: start with a hdata (pointer must be known), and ask "
@@ -1560,6 +1599,7 @@ msgid ""
"\n" "\n"
"Examples (simple strings):\n" "Examples (simple strings):\n"
" /eval -n ${info:version} ==> 0.4.3\n" " /eval -n ${info:version} ==> 0.4.3\n"
" /eval -n ${env:HOME} ==> /home/user\n"
" /eval -n ${weechat.look.scroll_amount} ==> 3\n" " /eval -n ${weechat.look.scroll_amount} ==> 3\n"
" /eval -n ${window} ==> 0x2549aa0\n" " /eval -n ${window} ==> 0x2549aa0\n"
" /eval -n ${window.buffer} ==> 0x2549320\n" " /eval -n ${window.buffer} ==> 0x2549320\n"
@@ -1618,9 +1658,10 @@ msgstr ""
"(Format: \"hide:Zeichen,Zeichenkette\")\n" "(Format: \"hide:Zeichen,Zeichenkette\")\n"
" 3. eine Farbe (Format: color:xxx)\n" " 3. eine Farbe (Format: color:xxx)\n"
" 4. eine Info (Format: \"info:name,arguments\", Argumente sind optional)\n" " 4. eine Info (Format: \"info:name,arguments\", Argumente sind optional)\n"
" 5. der Name einer Einstellung (Format: file.section.option)\n" " 5. eine Umgebungsvariable (Format: \"env:XXX\")\n"
" 6. der Name einer lokalen Variablen eines Buffer\n" " 6. der Name einer Programmoption (Format: file.section.option)\n"
" 7. ein hdata Name/Variable (der Wert wird automatisch als Zeichenkette " " 7. der Name einer lokalen Variablen eines Buffer\n"
" 8. ein hdata Name/Variable (der Wert wird automatisch als Zeichenkette "
"konvertiert), standardmäßig wird für \"window\" und \"buffer\" das aktuelle " "konvertiert), standardmäßig wird für \"window\" und \"buffer\" das aktuelle "
"Fenster/Buffer verwendet.\n" "Fenster/Buffer verwendet.\n"
"Das Format für hdata kann wie folgt aufgebaut sein:\n" "Das Format für hdata kann wie folgt aufgebaut sein:\n"
@@ -1636,13 +1677,14 @@ msgstr ""
"API Erweiterung\", Bereich \"weechat_hdata_get\". beschrieben\n" "API Erweiterung\", Bereich \"weechat_hdata_get\". beschrieben\n"
"\n" "\n"
"Beispiele (einfache Zeichenketten):\n" "Beispiele (einfache Zeichenketten):\n"
" /eval -n ${info:version} ==> 0.4.3\n" " /eval -n ${info:version} ==> 0.4.3\n"
" /eval -n ${weechat.look.scroll_amount} ==> 3\n" " /eval -n ${env:HOME} ==> /home/user\n"
" /eval -n ${window} ==> 0x2549aa0\n" " /eval -n ${weechat.look.scroll_amount} ==> 3\n"
" /eval -n ${window.buffer} ==> 0x2549320\n" " /eval -n ${window} ==> 0x2549aa0\n"
" /eval -n ${window.buffer.full_name} ==> core.weechat\n" " /eval -n ${window.buffer} ==> 0x2549320\n"
" /eval -n ${window.buffer.number} ==> 1\n" " /eval -n ${window.buffer.full_name} ==> core.weechat\n"
" /eval -n ${\\t} ==> <tab>\n" " /eval -n ${window.buffer.number} ==> 1\n"
" /eval -n ${\\t} ==> <tab>\n"
" /eval -n ${hide:-,${relay.network.password}} ==> --------\n" " /eval -n ${hide:-,${relay.network.password}} ==> --------\n"
"\n" "\n"
"Beispiele (Bedingungen):\n" "Beispiele (Bedingungen):\n"
@@ -4936,42 +4978,6 @@ msgstr "WeeChat Farben (in Benutzung: %d; noch frei verfügbar: %d):"
msgid "Terminal lost, exiting WeeChat..." msgid "Terminal lost, exiting WeeChat..."
msgstr "Terminal verloren, beende WeeChat..." msgstr "Terminal verloren, beende WeeChat..."
msgid ""
"\n"
"Welcome to WeeChat!\n"
"\n"
"If you are discovering WeeChat, it is recommended to read at least the "
"quickstart guide, and the user's guide if you have some time; they explain "
"main WeeChat concepts.\n"
"All WeeChat docs are available at: https://weechat.org/doc\n"
"\n"
"Moreover, there is inline help with /help on all commands and options (use "
"Tab key to complete the name).\n"
"The command /iset (script iset.pl) can help to customize WeeChat: /script "
"install iset.pl\n"
"\n"
"You can create and connect to an IRC server with /server and /connect "
"commands (see /help server)."
msgstr ""
"\n"
"Willkommen zu WeeChat!\n"
"\n"
"Wenn Du WeeChat nutzen möchtest dann solltest Du zumindest einen Blick in "
"die Quickstart-Anleitung werfen. Wir empfehlen aber, um den vollen "
"Funktionsumfang und das Konzept hinter WeeChat kennen zu lernen, die "
"Benutzeranleitung zu lesen.\n"
"Die Komplette Dokumentation findet man unter: https://weechat.org/doc\n"
"\n"
"Darüber hinaus ist in WeeChat eine interne Hilfe integriert die man mit /"
"help auf alle Befehle und Optionen anwenden kann (mittels der TAB-Taste kann "
"eine Namensvervollständigung durchgeführt werden).\n"
"Der /iset Befehl (Skript iset.pl) kann genutzt werden um WeeChat sehr "
"einfach und übersichtlich den eigenen Bedürfnissen anzupassen: /script "
"install iset.pl\n"
"\n"
"Um einen IRC Server zu erstellen und sich mit selbigen zu Verbinden müssen "
"die Befehle /server und /connect verwendet werden (siehe /help server)."
msgid "Mouse is enabled" msgid "Mouse is enabled"
msgstr "Maus ist aktiv" msgstr "Maus ist aktiv"
@@ -7637,6 +7643,17 @@ msgstr "Anzahl für festgelegte Ignorierungen"
msgid "nicks in notify list" msgid "nicks in notify list"
msgstr "Nicks für die eine Benachrichtigung existiert" msgstr "Nicks für die eine Benachrichtigung existiert"
#, c-format
msgid ""
"%sWARNING: the value \"channel\" for option \"irc.look.display_away\" will "
"send all your away changes to the channels, which is often considered as "
"spam; therefore you could be banned from channels, you are warned!"
msgstr ""
"%sWARNUNG: der Wert \"channel\" für die Option \"irc.look.display_away\" "
"sendet alle away Mitteilungen in die besuchten Channels. Dies wird häufig "
"als SPAM interpretiert und kann dazu führen, dass man aus den besuchten "
"Channels verbannt wird. Du bist gewarnt!"
#, c-format #, c-format
msgid "" msgid ""
"%s%s: warning: proxy \"%s\" does not exist (you can create it with command /" "%s%s: warning: proxy \"%s\" does not exist (you can create it with command /"
+36 -26
View File
@@ -22,7 +22,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: WeeChat\n" "Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2015-04-19 11:28+0200\n" "POT-Creation-Date: 2015-05-07 07:02+0200\n"
"PO-Revision-Date: 2015-03-21 08:41+0100\n" "PO-Revision-Date: 2015-03-21 08:41+0100\n"
"Last-Translator: Elián Hanisch <lambdae2@gmail.com>\n" "Last-Translator: Elián Hanisch <lambdae2@gmail.com>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n" "Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -142,6 +142,8 @@ msgid ""
" -a, --no-connect disable auto-connect to servers at startup\n" " -a, --no-connect disable auto-connect to servers at startup\n"
" -c, --colors display default colors in terminal\n" " -c, --colors display default colors in terminal\n"
" -d, --dir <path> set WeeChat home directory (default: ~/.weechat)\n" " -d, --dir <path> set WeeChat home directory (default: ~/.weechat)\n"
" (environment variable WEECHAT_HOME is read if "
"this option is not given)\n"
" -h, --help display this help\n" " -h, --help display this help\n"
" -l, --license display WeeChat license\n" " -l, --license display WeeChat license\n"
" -p, --no-plugin don't load any plugin at startup\n" " -p, --no-plugin don't load any plugin at startup\n"
@@ -178,16 +180,16 @@ msgstr ""
msgid "Error: missing argument for \"%s\" option\n" msgid "Error: missing argument for \"%s\" option\n"
msgstr "Error: falta un argumento para la opción \"%s\"\n" msgstr "Error: falta un argumento para la opción \"%s\"\n"
msgid "Error: WEECHAT_HOME is undefined, check build options\n"
msgstr ""
"Error: WEECHAT_HOME no está definido, verifica las opciones de compilación\n"
msgid "Error: unable to get HOME directory\n" msgid "Error: unable to get HOME directory\n"
msgstr "Error: no ha sido posible obtener el directorio HOME\n" msgstr "Error: no ha sido posible obtener el directorio HOME\n"
msgid "Error: not enough memory for home directory\n" msgid "Error: not enough memory for home directory\n"
msgstr "Error: no hay suficiente memoria para el directorio home\n" msgstr "Error: no hay suficiente memoria para el directorio home\n"
msgid "Error: WEECHAT_HOME is undefined, check build options\n"
msgstr ""
"Error: WEECHAT_HOME no está definido, verifica las opciones de compilación\n"
#, c-format #, c-format
msgid "Error: home (%s) is not a directory\n" msgid "Error: home (%s) is not a directory\n"
msgstr "Error: home (%s) no es un directorio\n" msgstr "Error: home (%s) no es un directorio\n"
@@ -196,6 +198,23 @@ msgstr "Error: home (%s) no es un directorio\n"
msgid "Error: cannot create directory \"%s\"\n" msgid "Error: cannot create directory \"%s\"\n"
msgstr "Error: no es posible crear el directorio \"%s\"\n" msgstr "Error: no es posible crear el directorio \"%s\"\n"
msgid ""
"Welcome to WeeChat!\n"
"\n"
"If you are discovering WeeChat, it is recommended to read at least the "
"quickstart guide, and the user's guide if you have some time; they explain "
"main WeeChat concepts.\n"
"All WeeChat docs are available at: https://weechat.org/doc\n"
"\n"
"Moreover, there is inline help with /help on all commands and options (use "
"Tab key to complete the name).\n"
"The command /iset (script iset.pl) can help to customize WeeChat: /script "
"install iset.pl\n"
"\n"
"You can create and connect to an IRC server with /server and /connect "
"commands (see /help server)."
msgstr ""
#. TRANSLATORS: the "under %s" can be "under screen" or "under tmux" #. TRANSLATORS: the "under %s" can be "under screen" or "under tmux"
#, c-format #, c-format
msgid "" msgid ""
@@ -1492,9 +1511,10 @@ msgid ""
" 2. a string with chars to hide (format: \"hide:char,string\")\n" " 2. a string with chars to hide (format: \"hide:char,string\")\n"
" 3. a color (format: \"color:xxx\")\n" " 3. a color (format: \"color:xxx\")\n"
" 4. an info (format: \"info:name,arguments\", arguments are optional)\n" " 4. an info (format: \"info:name,arguments\", arguments are optional)\n"
" 5. an option (format: \"file.section.option\")\n" " 5. an environment variable (format: \"env:XXX\")\n"
" 6. a local variable in buffer\n" " 6. an option (format: \"file.section.option\")\n"
" 7. a hdata name/variable (the value is automatically converted to string), " " 7. a local variable in buffer\n"
" 8. a hdata name/variable (the value is automatically converted to string), "
"by default \"window\" and \"buffer\" point to current window/buffer.\n" "by default \"window\" and \"buffer\" point to current window/buffer.\n"
"Format for hdata can be one of following:\n" "Format for hdata can be one of following:\n"
" hdata.var1.var2...: start with a hdata (pointer must be known), and ask " " hdata.var1.var2...: start with a hdata (pointer must be known), and ask "
@@ -1509,6 +1529,7 @@ msgid ""
"\n" "\n"
"Examples (simple strings):\n" "Examples (simple strings):\n"
" /eval -n ${info:version} ==> 0.4.3\n" " /eval -n ${info:version} ==> 0.4.3\n"
" /eval -n ${env:HOME} ==> /home/user\n"
" /eval -n ${weechat.look.scroll_amount} ==> 3\n" " /eval -n ${weechat.look.scroll_amount} ==> 3\n"
" /eval -n ${window} ==> 0x2549aa0\n" " /eval -n ${window} ==> 0x2549aa0\n"
" /eval -n ${window.buffer} ==> 0x2549320\n" " /eval -n ${window.buffer} ==> 0x2549320\n"
@@ -4401,24 +4422,6 @@ msgstr "Colores de WeeChat (en uso: %d, disponibles: %d):"
msgid "Terminal lost, exiting WeeChat..." msgid "Terminal lost, exiting WeeChat..."
msgstr "Se perdió la terminal, cerrando WeeChat..." msgstr "Se perdió la terminal, cerrando WeeChat..."
msgid ""
"\n"
"Welcome to WeeChat!\n"
"\n"
"If you are discovering WeeChat, it is recommended to read at least the "
"quickstart guide, and the user's guide if you have some time; they explain "
"main WeeChat concepts.\n"
"All WeeChat docs are available at: https://weechat.org/doc\n"
"\n"
"Moreover, there is inline help with /help on all commands and options (use "
"Tab key to complete the name).\n"
"The command /iset (script iset.pl) can help to customize WeeChat: /script "
"install iset.pl\n"
"\n"
"You can create and connect to an IRC server with /server and /connect "
"commands (see /help server)."
msgstr ""
msgid "Mouse is enabled" msgid "Mouse is enabled"
msgstr "Ratón activado" msgstr "Ratón activado"
@@ -6901,6 +6904,13 @@ msgstr "números para los ignores definidos"
msgid "nicks in notify list" msgid "nicks in notify list"
msgstr "apodos en la lista de notificación" msgstr "apodos en la lista de notificación"
#, c-format
msgid ""
"%sWARNING: the value \"channel\" for option \"irc.look.display_away\" will "
"send all your away changes to the channels, which is often considered as "
"spam; therefore you could be banned from channels, you are warned!"
msgstr ""
#, c-format #, c-format
msgid "" msgid ""
"%s%s: warning: proxy \"%s\" does not exist (you can create it with command /" "%s%s: warning: proxy \"%s\" does not exist (you can create it with command /"
+63 -46
View File
@@ -21,8 +21,8 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: WeeChat\n" "Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2015-04-19 11:28+0200\n" "POT-Creation-Date: 2015-05-07 07:02+0200\n"
"PO-Revision-Date: 2015-04-19 11:30+0200\n" "PO-Revision-Date: 2015-05-07 07:03+0200\n"
"Last-Translator: Sébastien Helleu <flashcode@flashtux.org>\n" "Last-Translator: Sébastien Helleu <flashcode@flashtux.org>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n" "Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
"Language: fr\n" "Language: fr\n"
@@ -135,6 +135,8 @@ msgid ""
" -a, --no-connect disable auto-connect to servers at startup\n" " -a, --no-connect disable auto-connect to servers at startup\n"
" -c, --colors display default colors in terminal\n" " -c, --colors display default colors in terminal\n"
" -d, --dir <path> set WeeChat home directory (default: ~/.weechat)\n" " -d, --dir <path> set WeeChat home directory (default: ~/.weechat)\n"
" (environment variable WEECHAT_HOME is read if "
"this option is not given)\n"
" -h, --help display this help\n" " -h, --help display this help\n"
" -l, --license display WeeChat license\n" " -l, --license display WeeChat license\n"
" -p, --no-plugin don't load any plugin at startup\n" " -p, --no-plugin don't load any plugin at startup\n"
@@ -151,6 +153,8 @@ msgstr ""
" -c, --colors afficher les couleurs par défaut du terminal\n" " -c, --colors afficher les couleurs par défaut du terminal\n"
" -d, --dir <rep> définir le répertoire de base pour WeeChat " " -d, --dir <rep> définir le répertoire de base pour WeeChat "
"(défaut : ~/.weechat)\n" "(défaut : ~/.weechat)\n"
" (la variable d'environnement WEECHAT_HOME est lue "
"si cette option n'est pas donnée)\n"
" -h, --help afficher cette aide\n" " -h, --help afficher cette aide\n"
" -l, --license afficher la licence WeeChat\n" " -l, --license afficher la licence WeeChat\n"
" -p, --no-plugin ne charger aucune extension au démarrage\n" " -p, --no-plugin ne charger aucune extension au démarrage\n"
@@ -167,17 +171,17 @@ msgstr ""
msgid "Error: missing argument for \"%s\" option\n" msgid "Error: missing argument for \"%s\" option\n"
msgstr "Erreur : paramètre manquant pour l'option \"%s\"\n" msgstr "Erreur : paramètre manquant pour l'option \"%s\"\n"
msgid "Error: WEECHAT_HOME is undefined, check build options\n"
msgstr ""
"Erreur : WEECHAT_HOME n'est pas défini, vérifiez les options de "
"construction\n"
msgid "Error: unable to get HOME directory\n" msgid "Error: unable to get HOME directory\n"
msgstr "Erreur : impossible de lire le répertoire personnel\n" msgstr "Erreur : impossible de lire le répertoire personnel\n"
msgid "Error: not enough memory for home directory\n" msgid "Error: not enough memory for home directory\n"
msgstr "Erreur : pas assez de mémoire pour le répertoire personnel\n" msgstr "Erreur : pas assez de mémoire pour le répertoire personnel\n"
msgid "Error: WEECHAT_HOME is undefined, check build options\n"
msgstr ""
"Erreur : WEECHAT_HOME n'est pas défini, vérifiez les options de "
"construction\n"
#, c-format #, c-format
msgid "Error: home (%s) is not a directory\n" msgid "Error: home (%s) is not a directory\n"
msgstr "Erreur : la base (%s) n'est pas un répertoire\n" msgstr "Erreur : la base (%s) n'est pas un répertoire\n"
@@ -186,6 +190,37 @@ msgstr "Erreur : la base (%s) n'est pas un répertoire\n"
msgid "Error: cannot create directory \"%s\"\n" msgid "Error: cannot create directory \"%s\"\n"
msgstr "Erreur : impossible de créer le répertoire \"%s\"\n" msgstr "Erreur : impossible de créer le répertoire \"%s\"\n"
msgid ""
"Welcome to WeeChat!\n"
"\n"
"If you are discovering WeeChat, it is recommended to read at least the "
"quickstart guide, and the user's guide if you have some time; they explain "
"main WeeChat concepts.\n"
"All WeeChat docs are available at: https://weechat.org/doc\n"
"\n"
"Moreover, there is inline help with /help on all commands and options (use "
"Tab key to complete the name).\n"
"The command /iset (script iset.pl) can help to customize WeeChat: /script "
"install iset.pl\n"
"\n"
"You can create and connect to an IRC server with /server and /connect "
"commands (see /help server)."
msgstr ""
"Bienvenue dans WeeChat !\n"
"\n"
"Si vous découvrez WeeChat, il est recommandé de lire au moins le guide de "
"démarrage rapide, et le guide utilisateur si vous avez le temps ; ils "
"expliquent les concepts principaux de WeeChat.\n"
"Toutes les documentations sont disponibles ici : https://weechat.org/doc\n"
"\n"
"De plus, il y a de l'aide en ligne avec /help sur toutes les commandes et "
"options (utilisez la touche Tab pour compléter le nom).\n"
"La commande /iset (script iset.pl) peut aider à paramétrer WeeChat : /script "
"install iset.pl\n"
"\n"
"Vous pouvez créer et vous connecter à un serveur IRC avec les commandes /"
"server et /connect (voir /help server)."
#. TRANSLATORS: the "under %s" can be "under screen" or "under tmux" #. TRANSLATORS: the "under %s" can be "under screen" or "under tmux"
#, c-format #, c-format
msgid "" msgid ""
@@ -1518,9 +1553,10 @@ msgid ""
" 2. a string with chars to hide (format: \"hide:char,string\")\n" " 2. a string with chars to hide (format: \"hide:char,string\")\n"
" 3. a color (format: \"color:xxx\")\n" " 3. a color (format: \"color:xxx\")\n"
" 4. an info (format: \"info:name,arguments\", arguments are optional)\n" " 4. an info (format: \"info:name,arguments\", arguments are optional)\n"
" 5. an option (format: \"file.section.option\")\n" " 5. an environment variable (format: \"env:XXX\")\n"
" 6. a local variable in buffer\n" " 6. an option (format: \"file.section.option\")\n"
" 7. a hdata name/variable (the value is automatically converted to string), " " 7. a local variable in buffer\n"
" 8. a hdata name/variable (the value is automatically converted to string), "
"by default \"window\" and \"buffer\" point to current window/buffer.\n" "by default \"window\" and \"buffer\" point to current window/buffer.\n"
"Format for hdata can be one of following:\n" "Format for hdata can be one of following:\n"
" hdata.var1.var2...: start with a hdata (pointer must be known), and ask " " hdata.var1.var2...: start with a hdata (pointer must be known), and ask "
@@ -1535,6 +1571,7 @@ msgid ""
"\n" "\n"
"Examples (simple strings):\n" "Examples (simple strings):\n"
" /eval -n ${info:version} ==> 0.4.3\n" " /eval -n ${info:version} ==> 0.4.3\n"
" /eval -n ${env:HOME} ==> /home/user\n"
" /eval -n ${weechat.look.scroll_amount} ==> 3\n" " /eval -n ${weechat.look.scroll_amount} ==> 3\n"
" /eval -n ${window} ==> 0x2549aa0\n" " /eval -n ${window} ==> 0x2549aa0\n"
" /eval -n ${window.buffer} ==> 0x2549320\n" " /eval -n ${window.buffer} ==> 0x2549320\n"
@@ -1594,9 +1631,10 @@ msgstr ""
" 3. une couleur (format : \"color:xxx\")\n" " 3. une couleur (format : \"color:xxx\")\n"
" 4. une info (format : \"info:nom,paramètres\", les paramètres sont " " 4. une info (format : \"info:nom,paramètres\", les paramètres sont "
"optionnels)\n" "optionnels)\n"
" 5. une option (format : \"fichier.section.option\")\n" " 5. une variable d'environnement (format : \"env:XXX\")\n"
" 6. une variable locale du tampon\n" " 6. une option (format : \"fichier.section.option\")\n"
" 7. un hdata/variable (la valeur est automatiquement convertie en chaîne), " " 7. une variable locale du tampon\n"
" 8. un hdata/variable (la valeur est automatiquement convertie en chaîne), "
"par défaut \"window\" et \"buffer\" pointent vers la fenêtre et le tampon " "par défaut \"window\" et \"buffer\" pointent vers la fenêtre et le tampon "
"courants.\n" "courants.\n"
"Le format du hdata peut être le suivant :\n" "Le format du hdata peut être le suivant :\n"
@@ -1614,6 +1652,7 @@ msgstr ""
"\n" "\n"
"Exemples (chaînes simples) :\n" "Exemples (chaînes simples) :\n"
" /eval -n ${info:version} ==> 0.4.3\n" " /eval -n ${info:version} ==> 0.4.3\n"
" /eval -n ${env:HOME} ==> /home/user\n"
" /eval -n ${weechat.look.scroll_amount} ==> 3\n" " /eval -n ${weechat.look.scroll_amount} ==> 3\n"
" /eval -n ${window} ==> 0x2549aa0\n" " /eval -n ${window} ==> 0x2549aa0\n"
" /eval -n ${window.buffer} ==> 0x2549320\n" " /eval -n ${window.buffer} ==> 0x2549320\n"
@@ -4829,39 +4868,6 @@ msgstr "Couleurs WeeChat (en utilisation : %d, libres : %d) :"
msgid "Terminal lost, exiting WeeChat..." msgid "Terminal lost, exiting WeeChat..."
msgstr "Terminal perdu, sortie de WeeChat..." msgstr "Terminal perdu, sortie de WeeChat..."
msgid ""
"\n"
"Welcome to WeeChat!\n"
"\n"
"If you are discovering WeeChat, it is recommended to read at least the "
"quickstart guide, and the user's guide if you have some time; they explain "
"main WeeChat concepts.\n"
"All WeeChat docs are available at: https://weechat.org/doc\n"
"\n"
"Moreover, there is inline help with /help on all commands and options (use "
"Tab key to complete the name).\n"
"The command /iset (script iset.pl) can help to customize WeeChat: /script "
"install iset.pl\n"
"\n"
"You can create and connect to an IRC server with /server and /connect "
"commands (see /help server)."
msgstr ""
"\n"
"Bienvenue dans WeeChat !\n"
"\n"
"Si vous découvrez WeeChat, il est recommandé de lire au moins le guide de "
"démarrage rapide, et le guide utilisateur si vous avez le temps ; ils "
"expliquent les concepts principaux de WeeChat.\n"
"Toutes les documentations sont disponibles ici : https://weechat.org/doc\n"
"\n"
"De plus, il y a de l'aide en ligne avec /help sur toutes les commandes et "
"options (utilisez la touche Tab pour compléter le nom).\n"
"La commande /iset (script iset.pl) peut aider à paramétrer WeeChat : /script "
"install iset.pl\n"
"\n"
"Vous pouvez créer et vous connecter à un serveur IRC avec les commandes /"
"server et /connect (voir /help server)."
msgid "Mouse is enabled" msgid "Mouse is enabled"
msgstr "La souris est activée" msgstr "La souris est activée"
@@ -7478,6 +7484,17 @@ msgstr "numéros pour les ignores définis"
msgid "nicks in notify list" msgid "nicks in notify list"
msgstr "pseudos dans la liste de notifications" msgstr "pseudos dans la liste de notifications"
#, c-format
msgid ""
"%sWARNING: the value \"channel\" for option \"irc.look.display_away\" will "
"send all your away changes to the channels, which is often considered as "
"spam; therefore you could be banned from channels, you are warned!"
msgstr ""
"%sATTENTION : la valeur \"channel\" pour l'option \"irc.look.display_away\" "
"enverra tous vos statuts d'absence aux canaux, ce qui est souvent considéré "
"comme du spam ; par conséquent vous pourriez être bannis de canaux, vous "
"êtes prévenus !"
#, c-format #, c-format
msgid "" msgid ""
"%s%s: warning: proxy \"%s\" does not exist (you can create it with command /" "%s%s: warning: proxy \"%s\" does not exist (you can create it with command /"
+35 -25
View File
@@ -20,7 +20,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: WeeChat\n" "Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2015-04-19 11:28+0200\n" "POT-Creation-Date: 2015-05-07 07:02+0200\n"
"PO-Revision-Date: 2015-03-21 08:41+0100\n" "PO-Revision-Date: 2015-03-21 08:41+0100\n"
"Last-Translator: Andras Voroskoi <voroskoi@frugalware.org>\n" "Last-Translator: Andras Voroskoi <voroskoi@frugalware.org>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n" "Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -144,6 +144,8 @@ msgid ""
" -a, --no-connect disable auto-connect to servers at startup\n" " -a, --no-connect disable auto-connect to servers at startup\n"
" -c, --colors display default colors in terminal\n" " -c, --colors display default colors in terminal\n"
" -d, --dir <path> set WeeChat home directory (default: ~/.weechat)\n" " -d, --dir <path> set WeeChat home directory (default: ~/.weechat)\n"
" (environment variable WEECHAT_HOME is read if "
"this option is not given)\n"
" -h, --help display this help\n" " -h, --help display this help\n"
" -l, --license display WeeChat license\n" " -l, --license display WeeChat license\n"
" -p, --no-plugin don't load any plugin at startup\n" " -p, --no-plugin don't load any plugin at startup\n"
@@ -172,9 +174,6 @@ msgstr ""
msgid "Error: missing argument for \"%s\" option\n" msgid "Error: missing argument for \"%s\" option\n"
msgstr "%s hiányzó argumentum a(z) \"%s\" opciónak\n" msgstr "%s hiányzó argumentum a(z) \"%s\" opciónak\n"
msgid "Error: WEECHAT_HOME is undefined, check build options\n"
msgstr ""
#, fuzzy #, fuzzy
msgid "Error: unable to get HOME directory\n" msgid "Error: unable to get HOME directory\n"
msgstr "%s nem sikerült a HOME könyvtárat beállítani\n" msgstr "%s nem sikerült a HOME könyvtárat beállítani\n"
@@ -183,6 +182,9 @@ msgstr "%s nem sikerült a HOME könyvtárat beállítani\n"
msgid "Error: not enough memory for home directory\n" msgid "Error: not enough memory for home directory\n"
msgstr "%s nincs elég memória a HOME könyvtárhoz\n" msgstr "%s nincs elég memória a HOME könyvtárhoz\n"
msgid "Error: WEECHAT_HOME is undefined, check build options\n"
msgstr ""
#, c-format #, c-format
msgid "Error: home (%s) is not a directory\n" msgid "Error: home (%s) is not a directory\n"
msgstr "" msgstr ""
@@ -191,6 +193,23 @@ msgstr ""
msgid "Error: cannot create directory \"%s\"\n" msgid "Error: cannot create directory \"%s\"\n"
msgstr "%s nem sikerült a \"%s\" könyvtárat létrehozni\n" msgstr "%s nem sikerült a \"%s\" könyvtárat létrehozni\n"
msgid ""
"Welcome to WeeChat!\n"
"\n"
"If you are discovering WeeChat, it is recommended to read at least the "
"quickstart guide, and the user's guide if you have some time; they explain "
"main WeeChat concepts.\n"
"All WeeChat docs are available at: https://weechat.org/doc\n"
"\n"
"Moreover, there is inline help with /help on all commands and options (use "
"Tab key to complete the name).\n"
"The command /iset (script iset.pl) can help to customize WeeChat: /script "
"install iset.pl\n"
"\n"
"You can create and connect to an IRC server with /server and /connect "
"commands (see /help server)."
msgstr ""
#. TRANSLATORS: the "under %s" can be "under screen" or "under tmux" #. TRANSLATORS: the "under %s" can be "under screen" or "under tmux"
#, c-format #, c-format
msgid "" msgid ""
@@ -1384,9 +1403,10 @@ msgid ""
" 2. a string with chars to hide (format: \"hide:char,string\")\n" " 2. a string with chars to hide (format: \"hide:char,string\")\n"
" 3. a color (format: \"color:xxx\")\n" " 3. a color (format: \"color:xxx\")\n"
" 4. an info (format: \"info:name,arguments\", arguments are optional)\n" " 4. an info (format: \"info:name,arguments\", arguments are optional)\n"
" 5. an option (format: \"file.section.option\")\n" " 5. an environment variable (format: \"env:XXX\")\n"
" 6. a local variable in buffer\n" " 6. an option (format: \"file.section.option\")\n"
" 7. a hdata name/variable (the value is automatically converted to string), " " 7. a local variable in buffer\n"
" 8. a hdata name/variable (the value is automatically converted to string), "
"by default \"window\" and \"buffer\" point to current window/buffer.\n" "by default \"window\" and \"buffer\" point to current window/buffer.\n"
"Format for hdata can be one of following:\n" "Format for hdata can be one of following:\n"
" hdata.var1.var2...: start with a hdata (pointer must be known), and ask " " hdata.var1.var2...: start with a hdata (pointer must be known), and ask "
@@ -1401,6 +1421,7 @@ msgid ""
"\n" "\n"
"Examples (simple strings):\n" "Examples (simple strings):\n"
" /eval -n ${info:version} ==> 0.4.3\n" " /eval -n ${info:version} ==> 0.4.3\n"
" /eval -n ${env:HOME} ==> /home/user\n"
" /eval -n ${weechat.look.scroll_amount} ==> 3\n" " /eval -n ${weechat.look.scroll_amount} ==> 3\n"
" /eval -n ${window} ==> 0x2549aa0\n" " /eval -n ${window} ==> 0x2549aa0\n"
" /eval -n ${window.buffer} ==> 0x2549320\n" " /eval -n ${window.buffer} ==> 0x2549320\n"
@@ -3804,24 +3825,6 @@ msgstr ""
msgid "Terminal lost, exiting WeeChat..." msgid "Terminal lost, exiting WeeChat..."
msgstr "" msgstr ""
msgid ""
"\n"
"Welcome to WeeChat!\n"
"\n"
"If you are discovering WeeChat, it is recommended to read at least the "
"quickstart guide, and the user's guide if you have some time; they explain "
"main WeeChat concepts.\n"
"All WeeChat docs are available at: https://weechat.org/doc\n"
"\n"
"Moreover, there is inline help with /help on all commands and options (use "
"Tab key to complete the name).\n"
"The command /iset (script iset.pl) can help to customize WeeChat: /script "
"install iset.pl\n"
"\n"
"You can create and connect to an IRC server with /server and /connect "
"commands (see /help server)."
msgstr ""
#, fuzzy #, fuzzy
msgid "Mouse is enabled" msgid "Mouse is enabled"
msgstr "a felhasználók le lettek tiltva" msgstr "a felhasználók le lettek tiltva"
@@ -6164,6 +6167,13 @@ msgstr ""
msgid "nicks in notify list" msgid "nicks in notify list"
msgstr "%s nem található ilyen mellőzés\n" msgstr "%s nem található ilyen mellőzés\n"
#, c-format
msgid ""
"%sWARNING: the value \"channel\" for option \"irc.look.display_away\" will "
"send all your away changes to the channels, which is often considered as "
"spam; therefore you could be banned from channels, you are warned!"
msgstr ""
#, c-format #, c-format
msgid "" msgid ""
"%s%s: warning: proxy \"%s\" does not exist (you can create it with command /" "%s%s: warning: proxy \"%s\" does not exist (you can create it with command /"
+37 -26
View File
@@ -20,7 +20,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: WeeChat\n" "Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2015-04-19 11:28+0200\n" "POT-Creation-Date: 2015-05-07 07:02+0200\n"
"PO-Revision-Date: 2015-03-21 08:41+0100\n" "PO-Revision-Date: 2015-03-21 08:41+0100\n"
"Last-Translator: Esteban I. Ruiz Moreno <exio4.com@gmail.com>\n" "Last-Translator: Esteban I. Ruiz Moreno <exio4.com@gmail.com>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n" "Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -135,10 +135,13 @@ msgstr ""
msgid "Usage: %s [option...] [plugin:option...]\n" msgid "Usage: %s [option...] [plugin:option...]\n"
msgstr "Uso: %s [opzione...] [plugin:opzione...]\n" msgstr "Uso: %s [opzione...] [plugin:opzione...]\n"
#, fuzzy
msgid "" msgid ""
" -a, --no-connect disable auto-connect to servers at startup\n" " -a, --no-connect disable auto-connect to servers at startup\n"
" -c, --colors display default colors in terminal\n" " -c, --colors display default colors in terminal\n"
" -d, --dir <path> set WeeChat home directory (default: ~/.weechat)\n" " -d, --dir <path> set WeeChat home directory (default: ~/.weechat)\n"
" (environment variable WEECHAT_HOME is read if "
"this option is not given)\n"
" -h, --help display this help\n" " -h, --help display this help\n"
" -l, --license display WeeChat license\n" " -l, --license display WeeChat license\n"
" -p, --no-plugin don't load any plugin at startup\n" " -p, --no-plugin don't load any plugin at startup\n"
@@ -169,16 +172,16 @@ msgstr ""
msgid "Error: missing argument for \"%s\" option\n" msgid "Error: missing argument for \"%s\" option\n"
msgstr "Errore: argomento mancante per l'opzione \"%s\"\n" msgstr "Errore: argomento mancante per l'opzione \"%s\"\n"
msgid "Error: WEECHAT_HOME is undefined, check build options\n"
msgstr ""
"Errore: WEECHAT_HOME non è definito, verificare le opzioni di compilazione\n"
msgid "Error: unable to get HOME directory\n" msgid "Error: unable to get HOME directory\n"
msgstr "Errore: impossibile aprire la directory HOME\n" msgstr "Errore: impossibile aprire la directory HOME\n"
msgid "Error: not enough memory for home directory\n" msgid "Error: not enough memory for home directory\n"
msgstr "Errore: spazio insufficiente per la directory home\n" msgstr "Errore: spazio insufficiente per la directory home\n"
msgid "Error: WEECHAT_HOME is undefined, check build options\n"
msgstr ""
"Errore: WEECHAT_HOME non è definito, verificare le opzioni di compilazione\n"
#, c-format #, c-format
msgid "Error: home (%s) is not a directory\n" msgid "Error: home (%s) is not a directory\n"
msgstr "Errore: home (%s) non è una directory\n" msgstr "Errore: home (%s) non è una directory\n"
@@ -187,6 +190,23 @@ msgstr "Errore: home (%s) non è una directory\n"
msgid "Error: cannot create directory \"%s\"\n" msgid "Error: cannot create directory \"%s\"\n"
msgstr "Errore: impossibile creare la directory \"%s\"\n" msgstr "Errore: impossibile creare la directory \"%s\"\n"
msgid ""
"Welcome to WeeChat!\n"
"\n"
"If you are discovering WeeChat, it is recommended to read at least the "
"quickstart guide, and the user's guide if you have some time; they explain "
"main WeeChat concepts.\n"
"All WeeChat docs are available at: https://weechat.org/doc\n"
"\n"
"Moreover, there is inline help with /help on all commands and options (use "
"Tab key to complete the name).\n"
"The command /iset (script iset.pl) can help to customize WeeChat: /script "
"install iset.pl\n"
"\n"
"You can create and connect to an IRC server with /server and /connect "
"commands (see /help server)."
msgstr ""
#. TRANSLATORS: the "under %s" can be "under screen" or "under tmux" #. TRANSLATORS: the "under %s" can be "under screen" or "under tmux"
#, c-format #, c-format
msgid "" msgid ""
@@ -1474,9 +1494,10 @@ msgid ""
" 2. a string with chars to hide (format: \"hide:char,string\")\n" " 2. a string with chars to hide (format: \"hide:char,string\")\n"
" 3. a color (format: \"color:xxx\")\n" " 3. a color (format: \"color:xxx\")\n"
" 4. an info (format: \"info:name,arguments\", arguments are optional)\n" " 4. an info (format: \"info:name,arguments\", arguments are optional)\n"
" 5. an option (format: \"file.section.option\")\n" " 5. an environment variable (format: \"env:XXX\")\n"
" 6. a local variable in buffer\n" " 6. an option (format: \"file.section.option\")\n"
" 7. a hdata name/variable (the value is automatically converted to string), " " 7. a local variable in buffer\n"
" 8. a hdata name/variable (the value is automatically converted to string), "
"by default \"window\" and \"buffer\" point to current window/buffer.\n" "by default \"window\" and \"buffer\" point to current window/buffer.\n"
"Format for hdata can be one of following:\n" "Format for hdata can be one of following:\n"
" hdata.var1.var2...: start with a hdata (pointer must be known), and ask " " hdata.var1.var2...: start with a hdata (pointer must be known), and ask "
@@ -1491,6 +1512,7 @@ msgid ""
"\n" "\n"
"Examples (simple strings):\n" "Examples (simple strings):\n"
" /eval -n ${info:version} ==> 0.4.3\n" " /eval -n ${info:version} ==> 0.4.3\n"
" /eval -n ${env:HOME} ==> /home/user\n"
" /eval -n ${weechat.look.scroll_amount} ==> 3\n" " /eval -n ${weechat.look.scroll_amount} ==> 3\n"
" /eval -n ${window} ==> 0x2549aa0\n" " /eval -n ${window} ==> 0x2549aa0\n"
" /eval -n ${window.buffer} ==> 0x2549320\n" " /eval -n ${window.buffer} ==> 0x2549320\n"
@@ -4532,24 +4554,6 @@ msgstr "Colori di WeeChat (in uso: %d, rimaste: %d):"
msgid "Terminal lost, exiting WeeChat..." msgid "Terminal lost, exiting WeeChat..."
msgstr "Terminale perduto, chiusura di WeeChat..." msgstr "Terminale perduto, chiusura di WeeChat..."
msgid ""
"\n"
"Welcome to WeeChat!\n"
"\n"
"If you are discovering WeeChat, it is recommended to read at least the "
"quickstart guide, and the user's guide if you have some time; they explain "
"main WeeChat concepts.\n"
"All WeeChat docs are available at: https://weechat.org/doc\n"
"\n"
"Moreover, there is inline help with /help on all commands and options (use "
"Tab key to complete the name).\n"
"The command /iset (script iset.pl) can help to customize WeeChat: /script "
"install iset.pl\n"
"\n"
"You can create and connect to an IRC server with /server and /connect "
"commands (see /help server)."
msgstr ""
msgid "Mouse is enabled" msgid "Mouse is enabled"
msgstr "Mouse abilitato" msgstr "Mouse abilitato"
@@ -7046,6 +7050,13 @@ msgstr "numero di ignore definiti"
msgid "nicks in notify list" msgid "nicks in notify list"
msgstr "nick nella lista notifiche" msgstr "nick nella lista notifiche"
#, c-format
msgid ""
"%sWARNING: the value \"channel\" for option \"irc.look.display_away\" will "
"send all your away changes to the channels, which is often considered as "
"spam; therefore you could be banned from channels, you are warned!"
msgstr ""
#, c-format #, c-format
msgid "" msgid ""
"%s%s: warning: proxy \"%s\" does not exist (you can create it with command /" "%s%s: warning: proxy \"%s\" does not exist (you can create it with command /"
+70 -57
View File
@@ -20,8 +20,8 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: WeeChat\n" "Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2015-04-19 11:28+0200\n" "POT-Creation-Date: 2015-05-07 07:02+0200\n"
"PO-Revision-Date: 2015-04-22 21:28+0900\n" "PO-Revision-Date: 2015-04-29 02:38+0900\n"
"Last-Translator: AYANOKOUZI, Ryuunosuke <i38w7i3@yahoo.co.jp>\n" "Last-Translator: AYANOKOUZI, Ryuunosuke <i38w7i3@yahoo.co.jp>\n"
"Language-Team: Japanese <https://github.com/l/weechat/tree/translation_ja>\n" "Language-Team: Japanese <https://github.com/l/weechat/tree/translation_ja>\n"
"Language: ja\n" "Language: ja\n"
@@ -40,11 +40,11 @@ msgid "max chars"
msgstr "最大文字数" msgstr "最大文字数"
msgid "" msgid ""
"a WeeChat color name (default, black, (dark)gray, white, (light)red, (light)" "a WeeChat color name (default, black, (dark)gray, white, (light)red, "
"green, brown, yellow, (light)blue, (light)magenta, (light)cyan), a terminal " "(light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), a "
"color number or an alias; attributes are allowed before color (for text " "terminal color number or an alias; attributes are allowed before color (for "
"color only, not background): \"*\" for bold, \"!\" for reverse, \"/\" for " "text color only, not background): \"*\" for bold, \"!\" for reverse, \"/\" "
"italic, \"_\" for underline" "for italic, \"_\" for underline"
msgstr "" msgstr ""
"WeeChat の色名 (default、black、(dark)gray、white、(light)red、(light)green、" "WeeChat の色名 (default、black、(dark)gray、white、(light)red、(light)green、"
"brown、yellow、(light)blue、(light)magenta、(light)cyan) 、ターミナル色番号ま" "brown、yellow、(light)blue、(light)magenta、(light)cyan) 、ターミナル色番号ま"
@@ -132,6 +132,8 @@ msgid ""
" -a, --no-connect disable auto-connect to servers at startup\n" " -a, --no-connect disable auto-connect to servers at startup\n"
" -c, --colors display default colors in terminal\n" " -c, --colors display default colors in terminal\n"
" -d, --dir <path> set WeeChat home directory (default: ~/.weechat)\n" " -d, --dir <path> set WeeChat home directory (default: ~/.weechat)\n"
" (environment variable WEECHAT_HOME is read if "
"this option is not given)\n"
" -h, --help display this help\n" " -h, --help display this help\n"
" -l, --license display WeeChat license\n" " -l, --license display WeeChat license\n"
" -p, --no-plugin don't load any plugin at startup\n" " -p, --no-plugin don't load any plugin at startup\n"
@@ -147,6 +149,8 @@ msgstr ""
" -c, --colors ターミナルにデフォルトの色を表示\n" " -c, --colors ターミナルにデフォルトの色を表示\n"
" -d, --dir <path> WeeChat ホームディレクトリを設定 (デフォルト: ~/." " -d, --dir <path> WeeChat ホームディレクトリを設定 (デフォルト: ~/."
"weechat)\n" "weechat)\n"
" (このオプションが設定されていない場合、"
"WEECHAT_HOME 環境変数を読みます)\n"
" -h, --help このヘルプを表示\n" " -h, --help このヘルプを表示\n"
" -l, --license WeeChat ライセンスを表示\n" " -l, --license WeeChat ライセンスを表示\n"
" -p, --no-plugin 起動時にプラグインをロードしない\n" " -p, --no-plugin 起動時にプラグインをロードしない\n"
@@ -164,17 +168,17 @@ msgstr ""
msgid "Error: missing argument for \"%s\" option\n" msgid "Error: missing argument for \"%s\" option\n"
msgstr "エラー: \"%s\" オプションの引数がありません\n" msgstr "エラー: \"%s\" オプションの引数がありません\n"
msgid "Error: WEECHAT_HOME is undefined, check build options\n"
msgstr ""
"エラー: WEECHAT_HOME が定義されていません、ビルドオプションを確認してくださ"
"い\n"
msgid "Error: unable to get HOME directory\n" msgid "Error: unable to get HOME directory\n"
msgstr "エラー: HOME ディレクトリが不明です\n" msgstr "エラー: HOME ディレクトリが不明です\n"
msgid "Error: not enough memory for home directory\n" msgid "Error: not enough memory for home directory\n"
msgstr "エラー: ホームディレクトリ用のメモリが不足しています\n" msgstr "エラー: ホームディレクトリ用のメモリが不足しています\n"
msgid "Error: WEECHAT_HOME is undefined, check build options\n"
msgstr ""
"エラー: WEECHAT_HOME が定義されていません、ビルドオプションを確認してくださ"
"い\n"
#, c-format #, c-format
msgid "Error: home (%s) is not a directory\n" msgid "Error: home (%s) is not a directory\n"
msgstr "エラー: ホーム (%s) はディレクトリではありません\n" msgstr "エラー: ホーム (%s) はディレクトリではありません\n"
@@ -183,6 +187,37 @@ msgstr "エラー: ホーム (%s) はディレクトリではありません\n"
msgid "Error: cannot create directory \"%s\"\n" msgid "Error: cannot create directory \"%s\"\n"
msgstr "エラー: ディレクトリ \"%s\" の作成に失敗しました\n" msgstr "エラー: ディレクトリ \"%s\" の作成に失敗しました\n"
msgid ""
"Welcome to WeeChat!\n"
"\n"
"If you are discovering WeeChat, it is recommended to read at least the "
"quickstart guide, and the user's guide if you have some time; they explain "
"main WeeChat concepts.\n"
"All WeeChat docs are available at: https://weechat.org/doc\n"
"\n"
"Moreover, there is inline help with /help on all commands and options (use "
"Tab key to complete the name).\n"
"The command /iset (script iset.pl) can help to customize WeeChat: /script "
"install iset.pl\n"
"\n"
"You can create and connect to an IRC server with /server and /connect "
"commands (see /help server)."
msgstr ""
"WeeChat にようこそ!\n"
"\n"
"WeeChat を初めて使うのなら、少なくともクイックスタートガイドを、時間があるな"
"らユーザガイドを読むことをお勧めします。これらは WeeChat の主な構想を説明して"
"います。\n"
"WeeChat の文書は全てこのサイトから利用可能です: https://weechat.org/doc\n"
"\n"
"さらに、すべてのコマンドとオプションには /help から見れるインラインヘルプが用"
"意されています (Tab キーで名前補完できます)。\n"
"(iset.pl スクリプトの提供する) コマンド /iset は WeeChat をカスタマイズするの"
"に便利です。このスクリプトを使えるようにするには: /script install iset.pl\n"
"\n"
"IRC サーバの設定を作って、サーバに接続するには /server と /connect コマンドを"
"使ってください (/help server 参照)。"
#. TRANSLATORS: the "under %s" can be "under screen" or "under tmux" #. TRANSLATORS: the "under %s" can be "under screen" or "under tmux"
#, c-format #, c-format
msgid "" msgid ""
@@ -1482,9 +1517,10 @@ msgid ""
" 2. a string with chars to hide (format: \"hide:char,string\")\n" " 2. a string with chars to hide (format: \"hide:char,string\")\n"
" 3. a color (format: \"color:xxx\")\n" " 3. a color (format: \"color:xxx\")\n"
" 4. an info (format: \"info:name,arguments\", arguments are optional)\n" " 4. an info (format: \"info:name,arguments\", arguments are optional)\n"
" 5. an option (format: \"file.section.option\")\n" " 5. an environment variable (format: \"env:XXX\")\n"
" 6. a local variable in buffer\n" " 6. an option (format: \"file.section.option\")\n"
" 7. a hdata name/variable (the value is automatically converted to string), " " 7. a local variable in buffer\n"
" 8. a hdata name/variable (the value is automatically converted to string), "
"by default \"window\" and \"buffer\" point to current window/buffer.\n" "by default \"window\" and \"buffer\" point to current window/buffer.\n"
"Format for hdata can be one of following:\n" "Format for hdata can be one of following:\n"
" hdata.var1.var2...: start with a hdata (pointer must be known), and ask " " hdata.var1.var2...: start with a hdata (pointer must be known), and ask "
@@ -1499,6 +1535,7 @@ msgid ""
"\n" "\n"
"Examples (simple strings):\n" "Examples (simple strings):\n"
" /eval -n ${info:version} ==> 0.4.3\n" " /eval -n ${info:version} ==> 0.4.3\n"
" /eval -n ${env:HOME} ==> /home/user\n"
" /eval -n ${weechat.look.scroll_amount} ==> 3\n" " /eval -n ${weechat.look.scroll_amount} ==> 3\n"
" /eval -n ${window} ==> 0x2549aa0\n" " /eval -n ${window} ==> 0x2549aa0\n"
" /eval -n ${window.buffer} ==> 0x2549320\n" " /eval -n ${window.buffer} ==> 0x2549320\n"
@@ -1553,9 +1590,10 @@ msgstr ""
" 2. 隠す文字を含む文字列 (フォーマット: \"hide:char,string\")\n" " 2. 隠す文字を含む文字列 (フォーマット: \"hide:char,string\")\n"
" 3. 色 (フォーマット: \"color:xxx\")\n" " 3. 色 (フォーマット: \"color:xxx\")\n"
" 4. 情報 (フォーマット: \"info:name,arguments\"、arguments は任意)\n" " 4. 情報 (フォーマット: \"info:name,arguments\"、arguments は任意)\n"
" 5. オプション (フォーマット: \"file.section.option\")\n" " 5. 環境変数 (フォーマット: \"env:XXX\")\n"
" 6. バッファのローカル変数\n" " 6. オプション (フォーマット: \"file.section.option\")\n"
" 7. hdata の名前/変数 (値は自動的に文字列に変換されます)、デフォルトでは " " 7. バッファのローカル変数\n"
" 8. hdata の名前/変数 (値は自動的に文字列に変換されます)、デフォルトでは "
"\"window\" と \"buffer\" は現在のウィンドウ/バッファを指します。\n" "\"window\" と \"buffer\" は現在のウィンドウ/バッファを指します。\n"
"hdata のフォーマットは以下の 1 つです:\n" "hdata のフォーマットは以下の 1 つです:\n"
" hdata.var1.var2...: hdata (ポインタは既知) で始まり、1 個ずつ変数を続ける " " hdata.var1.var2...: hdata (ポインタは既知) で始まり、1 個ずつ変数を続ける "
@@ -1570,6 +1608,7 @@ msgstr ""
"\n" "\n"
"例 (単純な文字列):\n" "例 (単純な文字列):\n"
" /eval -n ${info:version} ==> 0.4.3\n" " /eval -n ${info:version} ==> 0.4.3\n"
" /eval -n ${env:HOME} ==> /home/user\n"
" /eval -n ${weechat.look.scroll_amount} ==> 3\n" " /eval -n ${weechat.look.scroll_amount} ==> 3\n"
" /eval -n ${window} ==> 0x2549aa0\n" " /eval -n ${window} ==> 0x2549aa0\n"
" /eval -n ${window.buffer} ==> 0x2549320\n" " /eval -n ${window.buffer} ==> 0x2549320\n"
@@ -4618,39 +4657,6 @@ msgstr "WeeChat 色 (使用中: %d、残り: %d):"
msgid "Terminal lost, exiting WeeChat..." msgid "Terminal lost, exiting WeeChat..."
msgstr "ターミナルが見つかりません、WeeChat の終了中..." msgstr "ターミナルが見つかりません、WeeChat の終了中..."
msgid ""
"\n"
"Welcome to WeeChat!\n"
"\n"
"If you are discovering WeeChat, it is recommended to read at least the "
"quickstart guide, and the user's guide if you have some time; they explain "
"main WeeChat concepts.\n"
"All WeeChat docs are available at: https://weechat.org/doc\n"
"\n"
"Moreover, there is inline help with /help on all commands and options (use "
"Tab key to complete the name).\n"
"The command /iset (script iset.pl) can help to customize WeeChat: /script "
"install iset.pl\n"
"\n"
"You can create and connect to an IRC server with /server and /connect "
"commands (see /help server)."
msgstr ""
"\n"
"WeeChat にようこそ!\n"
"\n"
"WeeChat を初めて使うのなら、少なくともクイックスタートガイドを、時間があるな"
"らユーザガイドを読むことをお勧めします。これらは WeeChat の主な構想を説明して"
"います。\n"
"WeeChat の文書は全てこのサイトから利用可能です: https://weechat.org/doc\n"
"\n"
"さらに、すべてのコマンドとオプションには /help から見れるインラインヘルプが用"
"意されています (Tab キーで名前補完できます)。\n"
"(iset.pl スクリプトの提供する) コマンド /iset は WeeChat をカスタマイズするの"
"に便利です。このスクリプトを使えるようにするには: /script install iset.pl\n"
"\n"
"IRC サーバの設定を作って、サーバに接続するには /server と /connect コマンドを"
"使ってください (/help server 参照)。"
msgid "Mouse is enabled" msgid "Mouse is enabled"
msgstr "マウスを有効化しました" msgstr "マウスを有効化しました"
@@ -6091,8 +6097,8 @@ msgstr ""
" - 内部サーバ名 (/server add で作成されたもの、利用推奨)\n" " - 内部サーバ名 (/server add で作成されたもの、利用推奨)\n"
" - ホスト名/ポート番号又は IP アドレス/ポート番号、デフォルトの" " - ホスト名/ポート番号又は IP アドレス/ポート番号、デフォルトの"
"ポート番号は 6667\n" "ポート番号は 6667\n"
" - 次のフォーマットに従う URL: irc[6][s]://[nickname[:password]@]" " - 次のフォーマットに従う URL: irc[6][s]://[nickname[:"
"irc.example.org[:port][/#channel1][,#channel2[...]]\n" "password]@]irc.example.org[:port][/#channel1][,#channel2[...]]\n"
" 注意: アドレス/IP/URL を指定した場合、サーバを一時的に作ります " " 注意: アドレス/IP/URL を指定した場合、サーバを一時的に作ります "
"(保存しません)、/help irc.look.temporary_servers を参照してください。\n" "(保存しません)、/help irc.look.temporary_servers を参照してください。\n"
" option: サーバに関するオプション (ブール型オプションでは、value は無視さ" " option: サーバに関するオプション (ブール型オプションでは、value は無視さ"
@@ -7182,6 +7188,13 @@ msgstr "無視エントリの数"
msgid "nicks in notify list" msgid "nicks in notify list"
msgstr "通知エントリのニックネーム" msgstr "通知エントリのニックネーム"
#, c-format
msgid ""
"%sWARNING: the value \"channel\" for option \"irc.look.display_away\" will "
"send all your away changes to the channels, which is often considered as "
"spam; therefore you could be banned from channels, you are warned!"
msgstr ""
#, c-format #, c-format
msgid "" msgid ""
"%s%s: warning: proxy \"%s\" does not exist (you can create it with command /" "%s%s: warning: proxy \"%s\" does not exist (you can create it with command /"
@@ -11147,8 +11160,8 @@ msgid ""
"Examples (you can also look at default triggers with /trigger listdefault):\n" "Examples (you can also look at default triggers with /trigger listdefault):\n"
" add text attributes *bold*, _underline_ and /italic/ (only in user " " add text attributes *bold*, _underline_ and /italic/ (only in user "
"messages):\n" "messages):\n"
" /trigger add effects modifier weechat_print \"${tg_tag_nick}\" \"==\\*" " /trigger add effects modifier weechat_print \"${tg_tag_nick}\" \"=="
"(\\S+)\\*==*${color:bold}${re:1}${color:-bold}*== ==_(\\S+)_==_${color:" "\\*(\\S+)\\*==*${color:bold}${re:1}${color:-bold}*== ==_(\\S+)_==_${color:"
"underline}${re:1}${color:-underline}_== ==/(\\S+)/==/${color:" "underline}${re:1}${color:-underline}_== ==/(\\S+)/==/${color:"
"italic}${re:1}${color:-italic}/\"\n" "italic}${re:1}${color:-italic}/\"\n"
" hide nicklist bar on small terminals:\n" " hide nicklist bar on small terminals:\n"
@@ -11224,8 +11237,8 @@ msgstr ""
"\n" "\n"
"例 (/trigger listdefault でデフォルトトリガを見ることができます):\n" "例 (/trigger listdefault でデフォルトトリガを見ることができます):\n"
" テキスト属性 *太字*、_下線_、/イタリック/ を追加 (ユーザメッセージのみ):\n" " テキスト属性 *太字*、_下線_、/イタリック/ を追加 (ユーザメッセージのみ):\n"
" /trigger add effects modifier weechat_print \"${tg_tag_nick}\" \"==\\*" " /trigger add effects modifier weechat_print \"${tg_tag_nick}\" \"=="
"(\\S+)\\*==*${color:bold}${re:1}${color:-bold}*== ==_(\\S+)_==_${color:" "\\*(\\S+)\\*==*${color:bold}${re:1}${color:-bold}*== ==_(\\S+)_==_${color:"
"underline}${re:1}${color:-underline}_== ==/(\\S+)/==/${color:" "underline}${re:1}${color:-underline}_== ==/(\\S+)/==/${color:"
"italic}${re:1}${color:-italic}/\"\n" "italic}${re:1}${color:-italic}/\"\n"
" 狭い端末ではニックネームリストバーを隠す:\n" " 狭い端末ではニックネームリストバーを隠す:\n"
+201 -138
View File
@@ -21,8 +21,8 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: WeeChat\n" "Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2015-04-19 11:28+0200\n" "POT-Creation-Date: 2015-05-07 07:02+0200\n"
"PO-Revision-Date: 2015-03-21 08:41+0100\n" "PO-Revision-Date: 2015-05-09 14:00+0100\n"
"Last-Translator: Krzysztof Korościk <soltys@szluug.org>\n" "Last-Translator: Krzysztof Korościk <soltys@szluug.org>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n" "Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
"Language: pl\n" "Language: pl\n"
@@ -136,6 +136,8 @@ msgid ""
" -a, --no-connect disable auto-connect to servers at startup\n" " -a, --no-connect disable auto-connect to servers at startup\n"
" -c, --colors display default colors in terminal\n" " -c, --colors display default colors in terminal\n"
" -d, --dir <path> set WeeChat home directory (default: ~/.weechat)\n" " -d, --dir <path> set WeeChat home directory (default: ~/.weechat)\n"
" (environment variable WEECHAT_HOME is read if "
"this option is not given)\n"
" -h, --help display this help\n" " -h, --help display this help\n"
" -l, --license display WeeChat license\n" " -l, --license display WeeChat license\n"
" -p, --no-plugin don't load any plugin at startup\n" " -p, --no-plugin don't load any plugin at startup\n"
@@ -152,6 +154,8 @@ msgstr ""
" -c, --colors wyświetla domyślne kolory w terminalu\n" " -c, --colors wyświetla domyślne kolory w terminalu\n"
" -d, --dir <ścieżka> ustawia katalog domowy WeeChat (domyślnie: ~/." " -d, --dir <ścieżka> ustawia katalog domowy WeeChat (domyślnie: ~/."
"weechat)\n" "weechat)\n"
" (zmienna środowiskowa WEECHAT_HOME jest używana "
"jeśli ta opcja nie jest podana)\n"
" -h, --help wyświetla tą wiadomość\n" " -h, --help wyświetla tą wiadomość\n"
" -l, --license wyświetla licencje WeeChat\n" " -l, --license wyświetla licencje WeeChat\n"
" -p, --no-plugin nie ładuj wtyczek przy starcie\n" " -p, --no-plugin nie ładuj wtyczek przy starcie\n"
@@ -167,16 +171,16 @@ msgstr ""
msgid "Error: missing argument for \"%s\" option\n" msgid "Error: missing argument for \"%s\" option\n"
msgstr "Błąd: brak argumentu dla opcji \"%s\"\n" msgstr "Błąd: brak argumentu dla opcji \"%s\"\n"
msgid "Error: WEECHAT_HOME is undefined, check build options\n"
msgstr ""
"Błąd: WEECHAT_HOME nie ma zdefiniowanej wartości , sprawdź opcje kompilacji\n"
msgid "Error: unable to get HOME directory\n" msgid "Error: unable to get HOME directory\n"
msgstr "Błąd: nie można pozyskać katalogu domowego\n" msgstr "Błąd: nie można pozyskać katalogu domowego\n"
msgid "Error: not enough memory for home directory\n" msgid "Error: not enough memory for home directory\n"
msgstr "Błąd: za mało miejsca dla katalogu domowego\n" msgstr "Błąd: za mało miejsca dla katalogu domowego\n"
msgid "Error: WEECHAT_HOME is undefined, check build options\n"
msgstr ""
"Błąd: WEECHAT_HOME nie ma zdefiniowanej wartości , sprawdź opcje kompilacji\n"
#, c-format #, c-format
msgid "Error: home (%s) is not a directory\n" msgid "Error: home (%s) is not a directory\n"
msgstr "Błąd: %s nie jest katalogiem\n" msgstr "Błąd: %s nie jest katalogiem\n"
@@ -185,6 +189,37 @@ msgstr "Błąd: %s nie jest katalogiem\n"
msgid "Error: cannot create directory \"%s\"\n" msgid "Error: cannot create directory \"%s\"\n"
msgstr "Błąd: nie można utworzyć katalogu \"%s\"\n" msgstr "Błąd: nie można utworzyć katalogu \"%s\"\n"
msgid ""
"Welcome to WeeChat!\n"
"\n"
"If you are discovering WeeChat, it is recommended to read at least the "
"quickstart guide, and the user's guide if you have some time; they explain "
"main WeeChat concepts.\n"
"All WeeChat docs are available at: https://weechat.org/doc\n"
"\n"
"Moreover, there is inline help with /help on all commands and options (use "
"Tab key to complete the name).\n"
"The command /iset (script iset.pl) can help to customize WeeChat: /script "
"install iset.pl\n"
"\n"
"You can create and connect to an IRC server with /server and /connect "
"commands (see /help server)."
msgstr ""
"Witaj w WeeChat!\n"
"\n"
"Jeśli dopiero poznajesz WeeChat, zaleca się abyś przeczytał przynajmniej "
"szybki start i poradnik użytkownika; wyjaśnią one główne założenia WeeChat.\n"
"Wszystkie dokumenty dotyczące WeeChat dostępne są pod adresem: https://"
"weechat.org/doc\n"
"\n"
"Ponadto, dostępna jest wbudowana pomoc (komenda /help) dla wszysstkich "
"komend i opcji (klawisz Tab dopełnia nazwy).\n"
"Komenda /iset (skrypt iset.pl) pomaga w dostosowaniu WeeChat do swoich "
"preferencji: /script install iset.pl\n"
"\n"
"Możesz dodać i połączyć się z serwerem IRC za pomocą komend /server i /"
"connect (zobacz /help server)."
#. TRANSLATORS: the "under %s" can be "under screen" or "under tmux" #. TRANSLATORS: the "under %s" can be "under screen" or "under tmux"
#, c-format #, c-format
msgid "" msgid ""
@@ -204,6 +239,8 @@ msgid ""
"%sWarning: cannot set the locale; make sure $LANG and $LC_* variables are " "%sWarning: cannot set the locale; make sure $LANG and $LC_* variables are "
"correct" "correct"
msgstr "" msgstr ""
"%sUwaga: nie można ustawić języka; upewnij się, że zmienne $LANG i $LC_* są "
"ustawione poprawnie"
#, c-format #, c-format
msgid "Signal %s received, exiting WeeChat..." msgid "Signal %s received, exiting WeeChat..."
@@ -1024,7 +1061,6 @@ msgstr ""
msgid "manage bars" msgid "manage bars"
msgstr "zarządzaj paskami" msgstr "zarządzaj paskami"
#, fuzzy
msgid "" msgid ""
"list|listfull|listitems || add <name> <type>[,<conditions>] <position> " "list|listfull|listitems || add <name> <type>[,<conditions>] <position> "
"<size> <separator> <item1>[,<item2>...] || default [input|title|status|" "<size> <separator> <item1>[,<item2>...] || default [input|title|status|"
@@ -1036,7 +1072,6 @@ msgstr ""
"nicklist] || del <nazwa>|-all || set <nazwa> <opcja> <wartość> || hide|show|" "nicklist] || del <nazwa>|-all || set <nazwa> <opcja> <wartość> || hide|show|"
"toggle <nazwa> || scroll <nazwa> <okno> <wartość_przewinięcia>" "toggle <nazwa> || scroll <nazwa> <okno> <wartość_przewinięcia>"
#, fuzzy
msgid "" msgid ""
" list: list all bars\n" " list: list all bars\n"
" listfull: list all bars (verbose)\n" " listfull: list all bars (verbose)\n"
@@ -1363,7 +1398,6 @@ msgstr ""
"go chat|<pasek>|<x>,<y> || move up|down|left|right|area_up|area_down|" "go chat|<pasek>|<x>,<y> || move up|down|left|right|area_up|area_down|"
"area_left|area_right || stop" "area_left|area_right || stop"
#, fuzzy
msgid "" msgid ""
" go: move cursor to chat area, a bar (using bar name) or coordinates \"x,y" " go: move cursor to chat area, a bar (using bar name) or coordinates \"x,y"
"\"\n" "\"\n"
@@ -1403,6 +1437,18 @@ msgstr ""
"Kiedy obsługa myszy jest włączona (zobacz /help mouse), domyślnie wciśnięcie " "Kiedy obsługa myszy jest włączona (zobacz /help mouse), domyślnie wciśnięcie "
"środkowego przycisku włącza tryb kursora we wskazanym punkcie.\n" "środkowego przycisku włącza tryb kursora we wskazanym punkcie.\n"
"\n" "\n"
"Domyślne skróty dla trybu kursora w oknie rozmowy:\n"
" m cytuj wiadomość\n"
" q cytuj prefiks + wiadomość\n"
" Q cytuj czas + prefiks + wiadomość\n"
"\n"
"Domyślne skróty dla trybu kursora na liście nicków:\n"
" b zbanuj nick (/ban)\n"
" k wykop nick (/kick)\n"
" K wykop i zbanuj nick (/kickban)\n"
" q otworz okno prywatnej rozmowy (/query)\n"
" w zapytaj o informacje o użytkowniku (/whois)\n"
"\n"
"Przykłady:\n" "Przykłady:\n"
" przejdź do listy nicków:\n" " przejdź do listy nicków:\n"
" /cursor go nicklist\n" " /cursor go nicklist\n"
@@ -1466,11 +1512,9 @@ msgstr ""
msgid "evaluate expression" msgid "evaluate expression"
msgstr "przetwórz wyrażenie" msgstr "przetwórz wyrażenie"
#, fuzzy
msgid "[-n|-s] <expression> || [-n] -c <expression1> <operator> <expression2>" msgid "[-n|-s] <expression> || [-n] -c <expression1> <operator> <expression2>"
msgstr "[-n] <wyrażenie> || [-n] -c <wyrażenie1> <operator> <wyrażenie2>" msgstr "[-n|-s] <wyrażenie> || [-n] -c <wyrażenie1> <operator> <wyrażenie2>"
#, fuzzy
msgid "" msgid ""
" -n: display result without sending it to buffer (debug mode)\n" " -n: display result without sending it to buffer (debug mode)\n"
" -s: split expression before evaluating it (many commands can be " " -s: split expression before evaluating it (many commands can be "
@@ -1508,9 +1552,10 @@ msgid ""
" 2. a string with chars to hide (format: \"hide:char,string\")\n" " 2. a string with chars to hide (format: \"hide:char,string\")\n"
" 3. a color (format: \"color:xxx\")\n" " 3. a color (format: \"color:xxx\")\n"
" 4. an info (format: \"info:name,arguments\", arguments are optional)\n" " 4. an info (format: \"info:name,arguments\", arguments are optional)\n"
" 5. an option (format: \"file.section.option\")\n" " 5. an environment variable (format: \"env:XXX\")\n"
" 6. a local variable in buffer\n" " 6. an option (format: \"file.section.option\")\n"
" 7. a hdata name/variable (the value is automatically converted to string), " " 7. a local variable in buffer\n"
" 8. a hdata name/variable (the value is automatically converted to string), "
"by default \"window\" and \"buffer\" point to current window/buffer.\n" "by default \"window\" and \"buffer\" point to current window/buffer.\n"
"Format for hdata can be one of following:\n" "Format for hdata can be one of following:\n"
" hdata.var1.var2...: start with a hdata (pointer must be known), and ask " " hdata.var1.var2...: start with a hdata (pointer must be known), and ask "
@@ -1525,6 +1570,7 @@ msgid ""
"\n" "\n"
"Examples (simple strings):\n" "Examples (simple strings):\n"
" /eval -n ${info:version} ==> 0.4.3\n" " /eval -n ${info:version} ==> 0.4.3\n"
" /eval -n ${env:HOME} ==> /home/user\n"
" /eval -n ${weechat.look.scroll_amount} ==> 3\n" " /eval -n ${weechat.look.scroll_amount} ==> 3\n"
" /eval -n ${window} ==> 0x2549aa0\n" " /eval -n ${window} ==> 0x2549aa0\n"
" /eval -n ${window.buffer} ==> 0x2549320\n" " /eval -n ${window.buffer} ==> 0x2549320\n"
@@ -1544,6 +1590,8 @@ msgid ""
" /eval -n -c abcd !~ abc ==> 0" " /eval -n -c abcd !~ abc ==> 0"
msgstr "" msgstr ""
" -n: wyświetla wynik bez wysyłania go do buforu (tryb debugowania)\n" " -n: wyświetla wynik bez wysyłania go do buforu (tryb debugowania)\n"
" -s: podziel wyażenie przed przetworzeniem go (wiele komend może być "
"oddzielonych średnikami)\n"
" -c: przetwarza jako warunek: użyj operatorów i nawiasów, zwraca " " -c: przetwarza jako warunek: użyj operatorów i nawiasów, zwraca "
"wartość logiczną (\"0\" lub \"1\")\n" "wartość logiczną (\"0\" lub \"1\")\n"
"wyrażenie: wyrażenie do przetworzenia, zmienne o formacie ${zmienna} są " "wyrażenie: wyrażenie do przetworzenia, zmienne o formacie ${zmienna} są "
@@ -1577,9 +1625,10 @@ msgstr ""
" 2. ciąg ze znakami do ukrycia (format: \"hide:char,string\")\n" " 2. ciąg ze znakami do ukrycia (format: \"hide:char,string\")\n"
" 3. kolor (format color:xxx)\n" " 3. kolor (format color:xxx)\n"
" 4. informacja (format: \"info:nazwa,argumenty\", argumenty są opcjonalne)\n" " 4. informacja (format: \"info:nazwa,argumenty\", argumenty są opcjonalne)\n"
" 5. opcja (format: plik.sekcja.opcja)\n" " 5. zmienna środowiskowa (format: \"env:XXX\")\n"
" 6. zmienna lokalna w buforze\n" " 6. opcja (format: plik.sekcja.opcja)\n"
" 7. nazwa hdatay/zmiennej (wartość jest automatycznie konwertowana na ciąg " " 7. zmienna lokalna w buforze\n"
" 8. nazwa hdatay/zmiennej (wartość jest automatycznie konwertowana na ciąg "
"znaków), domyślnie \"window\" i \"buffer\" wskazują na aktualne okno/bufor.\n" "znaków), domyślnie \"window\" i \"buffer\" wskazują na aktualne okno/bufor.\n"
"Format dla hdata może być jednym z poniższych:\n" "Format dla hdata może być jednym z poniższych:\n"
" hdata.zmienna1.zmienna2...: inicjuje hdata (wskaźnik musi być znany), " " hdata.zmienna1.zmienna2...: inicjuje hdata (wskaźnik musi być znany), "
@@ -1594,24 +1643,25 @@ msgstr ""
"\"weechat_hdata_get\".\n" "\"weechat_hdata_get\".\n"
"\n" "\n"
"Przykłady (proste ciągi):\n" "Przykłady (proste ciągi):\n"
" /eval -n ${info:version} ==> 0.4.3\n" " /eval -n ${info:version} ==> 0.4.3\n"
" /eval -n ${weechat.look.scroll_amount} ==> 3\n" " /eval -n ${env:HOME} ==> /home/user\n"
" /eval -n ${window} ==> 0x2549aa0\n" " /eval -n ${weechat.look.scroll_amount} ==> 3\n"
" /eval -n ${window.buffer} ==> 0x2549320\n" " /eval -n ${window} ==> 0x2549aa0\n"
" /eval -n ${window.buffer.full_name} ==> core.weechat\n" " /eval -n ${window.buffer} ==> 0x2549320\n"
" /eval -n ${window.buffer.number} ==> 1\n" " /eval -n ${window.buffer.full_name} ==> core.weechat\n"
" /eval -n ${\\t} ==> <tab>\n" " /eval -n ${window.buffer.number} ==> 1\n"
" /eval -n ${\\t} ==> <tab>\n"
" /eval -n ${hide:-,${relay.network.password}} ==> --------\n" " /eval -n ${hide:-,${relay.network.password}} ==> --------\n"
"\n" "\n"
"Przykłady (warunki):\n" "Przykłady (warunki):\n"
" /eval -n -c ${window.buffer.number} > 2 ==> 0\n" " /eval -n -c ${window.buffer.number} > 2 ==> 0\n"
" /eval -n -c ${window.win_width} > 100 ==> 1\n" " /eval -n -c ${window.win_width} > 100 ==> 1\n"
" /eval -n -c (8 > 12) || (5 > 2) ==> 1\n" " /eval -n -c (8 > 12) || (5 > 2) ==> 1\n"
" /eval -n -c (8 > 12) && (5 > 2) ==> 0\n" " /eval -n -c (8 > 12) && (5 > 2) ==> 0\n"
" /eval -n -c abcd =~ ^ABC ==> 1\n" " /eval -n -c abcd =~ ^ABC ==> 1\n"
" /eval -n -c abcd =~ (?-i)^ABC ==> 0\n" " /eval -n -c abcd =~ (?-i)^ABC ==> 0\n"
" /eval -n -c abcd =~ (?-i)^abc ==> 1\n" " /eval -n -c abcd =~ (?-i)^abc ==> 1\n"
" /eval -n -c abcd !~ abc ==> 0" " /eval -n -c abcd !~ abc ==> 0"
msgid "" msgid ""
"filter messages in buffers, to hide/show them according to tags or regex" "filter messages in buffers, to hide/show them according to tags or regex"
@@ -1626,7 +1676,6 @@ msgstr ""
"list || enable|disable|toggle [<nazwa>|@] || add <nazwa> <bufor>[," "list || enable|disable|toggle [<nazwa>|@] || add <nazwa> <bufor>[,"
"<bufor>...] <tagi> <regex> || rename <nazwa> <nowa_nazwa> || del <nazwa>|-all" "<bufor>...] <tagi> <regex> || rename <nazwa> <nowa_nazwa> || del <nazwa>|-all"
#, fuzzy
msgid "" msgid ""
" list: list all filters\n" " list: list all filters\n"
" enable: enable filters (filters are enabled by default)\n" " enable: enable filters (filters are enabled by default)\n"
@@ -1705,11 +1754,10 @@ msgstr ""
" bufor: oddzielona przecinkami lisa buforów, dla których filtr jest " " bufor: oddzielona przecinkami lisa buforów, dla których filtr jest "
"aktywny:\n" "aktywny:\n"
" - jest to pełna nazwa zawierająca wtyczkę (przykład: \"irc.freenode." " - jest to pełna nazwa zawierająca wtyczkę (przykład: \"irc.freenode."
"#weechat\")\n" "#weechat\" lub \"irc.server.freenode\")\n"
" - \"*\" oznacza wszystkie bufory\n" " - \"*\" oznacza wszystkie bufory\n"
" - nazwa zaczynająca się od '!' jest wykluczana\n" " - nazwa zaczynająca się od '!' jest wykluczana\n"
" - nazwa może zaczynać się lub kończyć '*', aby dopasować wiele " " - dozwolony jest znak \"*\"\n"
"buforów\n"
" tagi: lista tagów oddzielona przecinkiem, np: \"irc_join,irc_part,irc_quit" " tagi: lista tagów oddzielona przecinkiem, np: \"irc_join,irc_part,irc_quit"
"\"\n" "\"\n"
" - logiczne \"i\": użyj \"+\" pomiędzy tagami (na przykład: " " - logiczne \"i\": użyj \"+\" pomiędzy tagami (na przykład: "
@@ -1730,13 +1778,12 @@ msgstr ""
"Domyślny skrót klawiszowy alt+'=' włącza/wyłącza filtrowanie.\n" "Domyślny skrót klawiszowy alt+'=' włącza/wyłącza filtrowanie.\n"
"\n" "\n"
"Najczęściej używane tagi:\n" "Najczęściej używane tagi:\n"
" no_filter, no_highlight, no_log, log0..log9 (poziom logowania),\n" " no_filter, no_highlight, no_log, log0..log9 (log level),\n"
" notify_none, notify_message, notify_private, notify_highlight,\n" " notify_none, notify_message, notify_private, notify_highlight,\n"
" nick_xxx (xxx to nick w wiadomości), prefix_nick_ccc (ccc to kolor " " nick_xxx (xxx is nick in message), prefix_nick_ccc (ccc is color of "
"nicka),\n" "nick),\n"
" host_xxx (xxx to nazwa użytkownika + host w wiadomości),\n" " host_xxx (xxx is username + host in message),\n"
" irc_xxx (xxx ito nazwa komendy lub numer, zobacz /server raw lub /debug " " irc_xxx (xxx is command name or number, see /server raw or /debug tags),\n"
"tags),\n"
" irc_numeric, irc_error, irc_action, irc_ctcp, irc_ctcp_reply, " " irc_numeric, irc_error, irc_action, irc_ctcp, irc_ctcp_reply, "
"irc_smart_filter, away_info.\n" "irc_smart_filter, away_info.\n"
"Aby zobaczyć listę tagów w liniach buforów wykonaj: /debug tags\n" "Aby zobaczyć listę tagów w liniach buforów wykonaj: /debug tags\n"
@@ -1756,7 +1803,9 @@ msgstr ""
" filtruj wejścia/akcje IRC od użytkownika \"toto\":\n" " filtruj wejścia/akcje IRC od użytkownika \"toto\":\n"
" /filter add toto * nick_toto+irc_join,nick_toto+irc_action *\n" " /filter add toto * nick_toto+irc_join,nick_toto+irc_action *\n"
" filtruj linie zawierające fraze \"weechat sucks\" na kanale IRC #weechat:\n" " filtruj linie zawierające fraze \"weechat sucks\" na kanale IRC #weechat:\n"
" /filter add sucks irc.freenode.#weechat * weechat sucks" " /filter add sucks irc.freenode.#weechat * weechat sucks\n"
" filtruj linie \"WeeChat sucks\" we wszystkich buforach:\n"
" /filter add sucks2 * * (?-i)^WeeChat sucks$"
msgid "display help about commands and options" msgid "display help about commands and options"
msgstr "wyświetl pomoc na temat komend i opcji" msgstr "wyświetl pomoc na temat komend i opcji"
@@ -2715,7 +2764,6 @@ msgstr ""
msgid "show WeeChat version and compilation date" msgid "show WeeChat version and compilation date"
msgstr "pokazuje wersję i datę, kiedy skompilowano WeeChat" msgstr "pokazuje wersję i datę, kiedy skompilowano WeeChat"
#, fuzzy
msgid "" msgid ""
" -o: send version to current buffer as input (English string)\n" " -o: send version to current buffer as input (English string)\n"
"-ol: send version to current buffer as input (translated string)\n" "-ol: send version to current buffer as input (translated string)\n"
@@ -2724,7 +2772,11 @@ msgid ""
"(otherwise the irc command /version is used on irc buffers)." "(otherwise the irc command /version is used on irc buffers)."
msgstr "" msgstr ""
" -o: wysyła wersje jako wejście do obecnego bufora (po angielsku)\n" " -o: wysyła wersje jako wejście do obecnego bufora (po angielsku)\n"
"-ol: wysyła wersje jako wejście do obecnego bufora (przetłumaczony)" "-ol: wysyła wersje jako wejście do obecnego bufora (przetłumaczony)\n"
"\n"
"Domyślny alias /v może zostać użyty do wykonania tej komendy we wszystkich "
"buforach (w przeciwnym wypadku wykonywana jest komenda /version w buforach "
"irc)."
msgid "schedule a command execution in future" msgid "schedule a command execution in future"
msgstr "planuje komendę do wykonania w przyszłości" msgstr "planuje komendę do wykonania w przyszłości"
@@ -3707,17 +3759,18 @@ msgstr ""
msgid "string displayed after prefix" msgid "string displayed after prefix"
msgstr "ciąg wyświetlany po przedrostku" msgstr "ciąg wyświetlany po przedrostku"
#, fuzzy
msgid "text to display before nick when quoting a message (see /help cursor)" msgid "text to display before nick when quoting a message (see /help cursor)"
msgstr "teks wyświetlany przed nickiem w prefiksie wiadomości, przykład: \"<\"" msgstr ""
"teks wyświetlany przed nickiem podczas cytowania wiadomości (zobacz /help "
"cursor)"
#, fuzzy
msgid "text to display after nick when quoting a message (see /help cursor)" msgid "text to display after nick when quoting a message (see /help cursor)"
msgstr "" msgstr ""
"teks wyświetlany za nickiem w prefiksie wiadomości, przykład: przykład: \">\"" "teks wyświetlany za nickiem podczas cytowania wiadomości (zobacz /help "
"cursor)"
msgid "time format when quoting a message (see /help cursor)" msgid "time format when quoting a message (see /help cursor)"
msgstr "" msgstr "format czasu podczas cytowania wiadomości (zobacz /help cursor)"
msgid "use a marker (line or char) on buffers to show first unread line" msgid "use a marker (line or char) on buffers to show first unread line"
msgstr "" msgstr ""
@@ -3824,6 +3877,13 @@ msgid ""
"are allowed with the format \\u1234, for example \\u00A0 for unbreakable " "are allowed with the format \\u1234, for example \\u00A0 for unbreakable "
"space (see /help print for supported formats)" "space (see /help print for supported formats)"
msgstr "" msgstr ""
"oddzielona przecinkami lista znaków (lub zakres znaków) rozważanych jako "
"część słowa podświetlenia; każdy element może być pojedynczym znakiem, "
"zakresem znaków (format: a-z), klasą znaków (przykład \"alnum\", zobacz man "
"wctype); znak \"!\" przed elementem neguje go (znak NIE jest uznawany za "
"część słowa); wartość \"*\" pasuje do dowolnego znaku; znaki unikodu są "
"dozwolone w formacie \\u1234, na przykład \\u00A0 dla niełamliwej spacji "
"(wspierane formaty można znaleźć w /help print)"
msgid "" msgid ""
"comma-separated list of chars (or range of chars) that are considered part " "comma-separated list of chars (or range of chars) that are considered part "
@@ -3834,6 +3894,13 @@ msgid ""
"are allowed with the format \\u1234, for example \\u00A0 for unbreakable " "are allowed with the format \\u1234, for example \\u00A0 for unbreakable "
"space (see /help print for supported formats)" "space (see /help print for supported formats)"
msgstr "" msgstr ""
"oddzielona przecinkami lista znaków (lub zakres znaków) rozważanych jako "
"część słowa linii poleceń; każdy element może być pojedynczym znakiem, "
"zakresem znaków (format: a-z), klasą znaków (przykład \"alnum\", zobacz man "
"wctype); znak \"!\" przed elementem neguje go (znak NIE jest uznawany za "
"część słowa); wartość \"*\" pasuje do dowolnego znaku; znaki unikodu są "
"dozwolone w formacie \\u1234, na przykład \\u00A0 dla niełamliwej spacji "
"(wspierane formaty można znaleźć w /help print)"
msgid "text color for '+' when scrolling bars" msgid "text color for '+' when scrolling bars"
msgstr "kolor '+' przy przewijaniu pasków" msgstr "kolor '+' przy przewijaniu pasków"
@@ -4696,24 +4763,6 @@ msgstr "Kolory WeeChat (w użyciu: %d, zostało: %d):"
msgid "Terminal lost, exiting WeeChat..." msgid "Terminal lost, exiting WeeChat..."
msgstr "Utracono terminal, wychodzę z WeeChat..." msgstr "Utracono terminal, wychodzę z WeeChat..."
msgid ""
"\n"
"Welcome to WeeChat!\n"
"\n"
"If you are discovering WeeChat, it is recommended to read at least the "
"quickstart guide, and the user's guide if you have some time; they explain "
"main WeeChat concepts.\n"
"All WeeChat docs are available at: https://weechat.org/doc\n"
"\n"
"Moreover, there is inline help with /help on all commands and options (use "
"Tab key to complete the name).\n"
"The command /iset (script iset.pl) can help to customize WeeChat: /script "
"install iset.pl\n"
"\n"
"You can create and connect to an IRC server with /server and /connect "
"commands (see /help server)."
msgstr ""
msgid "Mouse is enabled" msgid "Mouse is enabled"
msgstr "Obsługa myszy włączona" msgstr "Obsługa myszy włączona"
@@ -4743,7 +4792,6 @@ msgstr ""
msgid "bar type (root, window, window_active, window_inactive)" msgid "bar type (root, window, window_active, window_inactive)"
msgstr "typ paska (root, window, window_active, window_inactive)" msgstr "typ paska (root, window, window_active, window_inactive)"
#, fuzzy
msgid "" msgid ""
"conditions to display the bar: a simple condition: \"active\", \"inactive\", " "conditions to display the bar: a simple condition: \"active\", \"inactive\", "
"\"nicklist\" (window must be active/inactive, buffer must have a nicklist), " "\"nicklist\" (window must be active/inactive, buffer must have a nicklist), "
@@ -4751,12 +4799,11 @@ msgid ""
"${window.win_width} > 100\" (local variables for expression are ${active}, " "${window.win_width} > 100\" (local variables for expression are ${active}, "
"${inactive} and ${nicklist})" "${inactive} and ${nicklist})"
msgstr "" msgstr ""
"warunek(i) dla wyświetlania paska (dla pasków o typie \"window\"): prosty " "warunek(i) dla wyświetlania paska: prosty warunek: \"active\", \"inactive\", "
"warunek: \"active\", \"inactive\", \"nicklist\" (okna muszą być aktywne/" "\"nicklist\" (okna muszą być aktywne/nieaktywne, bufor musi posiadać listę "
"nieaktywne, bufor musi posiadać listę nicków), lub wyrażenie z " "nicków), lub wyrażenie z warunkiem(ami) (zobacz /help eval), jak: "
"warunkiem(ami) (zobacz /help eval), jak: \"${nicklist} && ${window." "\"${nicklist} && ${window.win_width} > 100\" (lokalne zmienne dla wyrażenia "
"win_width} > 100\" (lokalne zmienne dla wyrażenia to ${active}, ${inactive} " "to ${active}, ${inactive} i ${nicklist})"
"i ${nicklist})"
msgid "bar position (bottom, top, left, right)" msgid "bar position (bottom, top, left, right)"
msgstr "pozycja paska (bottom (dół), top (góra), left (lewo), right (prawo))" msgstr "pozycja paska (bottom (dół), top (góra), left (lewo), right (prawo))"
@@ -5091,7 +5138,6 @@ msgstr ""
"enable|disable|toggle || listdict || setdict <język>[,<język>...] || deldict " "enable|disable|toggle || listdict || setdict <język>[,<język>...] || deldict "
"|| addword [<język>] <słowo>" "|| addword [<język>] <słowo>"
#, fuzzy
msgid "" msgid ""
" enable: enable aspell\n" " enable: enable aspell\n"
" disable: disable aspell\n" " disable: disable aspell\n"
@@ -5131,6 +5177,9 @@ msgstr ""
" /set aspell.check.default_dict \"en\"\n" " /set aspell.check.default_dict \"en\"\n"
" /aspell enable\n" " /aspell enable\n"
"\n" "\n"
"W celu wyświetlenia listy sugestii na pasku, użyj elementu \"aspell_suggest"
"\".\n"
"\n"
"Domyślny skrót klawiszowy przełączający aspell to alt-s." "Domyślny skrót klawiszowy przełączający aspell to alt-s."
msgid "list of all languages supported by aspell" msgid "list of all languages supported by aspell"
@@ -6807,20 +6856,19 @@ msgstr ""
msgid "send a private message to a nick" msgid "send a private message to a nick"
msgstr "wysyła prywatną wiadomość do użytkownika" msgstr "wysyła prywatną wiadomość do użytkownika"
#, fuzzy
msgid "[-noswitch] [-server <server>] <nick>[,<nick>...] [<text>]" msgid "[-noswitch] [-server <server>] <nick>[,<nick>...] [<text>]"
msgstr "[-server <serwer>] <nick>[,<nick>...] [<tekst>]" msgstr "[-noswitch] [-server <serwer>] <nick>[,<nick>...] [<tekst>]"
#, fuzzy
msgid "" msgid ""
"-noswitch: do not switch to new buffer\n" "-noswitch: do not switch to new buffer\n"
" server: send to this server (internal name)\n" " server: send to this server (internal name)\n"
" nick: nick\n" " nick: nick\n"
" text: text to send" " text: text to send"
msgstr "" msgstr ""
"serwer: wyślij do tego serwera (nazwa wewnętrzna)\n" "-noswitch: nie przełączaj do nowego bufora\n"
" nick: nick\n" " serwer: wyślij do tego serwera (nazwa wewnętrzna)\n"
" tekst: wiadomość do wysłania" " nick: nick\n"
" tekst: wiadomość do wysłania"
msgid "quiet nicks or hosts" msgid "quiet nicks or hosts"
msgstr "ucisza nicki albo hosty" msgstr "ucisza nicki albo hosty"
@@ -6948,7 +6996,6 @@ msgstr ""
"<opcja>[=<wartość>]] [-no<opcja>]|| copy|rename <serwer> <nowa_nazwa> || " "<opcja>[=<wartość>]] [-no<opcja>]|| copy|rename <serwer> <nowa_nazwa> || "
"reorder <serwer> [<serwer>...] || del|keep <serwer>] || deloutq|jump|raw" "reorder <serwer> [<serwer>...] || del|keep <serwer>] || deloutq|jump|raw"
#, fuzzy
msgid "" msgid ""
" list: list servers (without argument, this list is displayed)\n" " list: list servers (without argument, this list is displayed)\n"
"listfull: list servers with detailed info for each server\n" "listfull: list servers with detailed info for each server\n"
@@ -7005,13 +7052,12 @@ msgstr ""
"\n" "\n"
"Przykłady:\n" "Przykłady:\n"
" /server listfull\n" " /server listfull\n"
" /server add oftc irc.oftc.net/6697 -ssl -autoconnect\n" " /server add freenode chat.freenode.net\n"
" /server add oftc6 irc6.oftc.net/6697 -ipv6 -ssl\n" " /server add freenode chat.freenode.net/6697 -ssl -autoconnect\n"
" /server add freenode2 chat.eu.freenode.net/6667,chat.us.freenode.net/6667\n" " /server add chatspike irc.chatspike.net/6667,irc.duckspike.net/6667\n"
" /server add freenode3 chat.freenode.net -password=moje_hasło\n" " /server copy freenode freenode-test\n"
" /server copy oftc oftcbis\n" " /server rename freenode-test freenode2\n"
" /server rename oftc newoftc\n" " /server reorder freenode2 freenode\n"
" /server reorder oftc freenode\n"
" /server del freenode\n" " /server del freenode\n"
" /server deloutq" " /server deloutq"
@@ -7290,6 +7336,16 @@ msgstr "numery zdefiniowanych ignorów"
msgid "nicks in notify list" msgid "nicks in notify list"
msgstr "nicki na liście powiadomień" msgstr "nicki na liście powiadomień"
#, c-format
msgid ""
"%sWARNING: the value \"channel\" for option \"irc.look.display_away\" will "
"send all your away changes to the channels, which is often considered as "
"spam; therefore you could be banned from channels, you are warned!"
msgstr ""
"%sUWAGA: wartość \"channel\" (kanał) dla opcji \"irc.look.display_away\" "
"wyśle wszystkie zmiany stanu nieobecności na kanały, jest to często uznawane "
"za spam; przez to możesz zostać zbanowany na kanale!"
#, c-format #, c-format
msgid "" msgid ""
"%s%s: warning: proxy \"%s\" does not exist (you can create it with command /" "%s%s: warning: proxy \"%s\" does not exist (you can create it with command /"
@@ -7303,16 +7359,20 @@ msgid ""
"%s%s: invalid priorities string, error at this position in string: \"%s\"" "%s%s: invalid priorities string, error at this position in string: \"%s\""
msgstr "%s%s: nieprawidłowy ciąg priorytetów, błąd na pozycji: \"%s\"" msgstr "%s%s: nieprawidłowy ciąg priorytetów, błąd na pozycji: \"%s\""
#, fuzzy, c-format #, c-format
msgid "" msgid ""
"%s%s: invalid fingerprint size, the number of hexadecimal digits must be one " "%s%s: invalid fingerprint size, the number of hexadecimal digits must be one "
"of: %s" "of: %s"
msgstr "%s%s: skrót musi mieć dokładnie 40 znaków heksadecymalnych" msgstr ""
"%s%s: niewłaściwy rozmiar skrótu, ilość znaków heksadecymalnych musi być "
"jedną z: %s"
#, fuzzy, c-format #, c-format
msgid "" msgid ""
"%s%s: invalid fingerprint, it must contain only hexadecimal digits (0-9, a-f)" "%s%s: invalid fingerprint, it must contain only hexadecimal digits (0-9, a-f)"
msgstr "%s%s: skrót musi mieć dokładnie 40 znaków heksadecymalnych" msgstr ""
"%s%s: niepoprawny skrót, może on zawierać tylko znaki heksadecymalne (0-9, a-"
"f)"
#, c-format #, c-format
msgid "" msgid ""
@@ -7387,7 +7447,6 @@ msgid "size of the key used during the Diffie-Hellman Key Exchange"
msgstr "" msgstr ""
"rozmiar klucza używanego podczas połączenia Wymiany Kluczy Diffie-Hellmana" "rozmiar klucza używanego podczas połączenia Wymiany Kluczy Diffie-Hellmana"
#, fuzzy
msgid "" msgid ""
"fingerprint of certificate which is trusted and accepted for the server; " "fingerprint of certificate which is trusted and accepted for the server; "
"only hexadecimal digits are allowed (0-9, a-f): 64 chars for SHA-512, 32 " "only hexadecimal digits are allowed (0-9, a-f): 64 chars for SHA-512, 32 "
@@ -7395,10 +7454,11 @@ msgid ""
"fingerprints can be separated by commas; if this option is set, the other " "fingerprints can be separated by commas; if this option is set, the other "
"checks on certificates are NOT performed (option \"ssl_verify\")" "checks on certificates are NOT performed (option \"ssl_verify\")"
msgstr "" msgstr ""
"skrót SHA1 certyfikatu, który jest zaufany i akceptowany dla serwera " "skrót certyfikatu, który jest zaufany i akceptowany dla serwera; tylko cyfry "
"(dokładnie 40 znaków heksadecymalnych bez separatorów); wiele skrótów można " "heksadecymalne są dozwolone (0-9, a-f): 64 znaki dla SHA-512, 32 znaki dla "
"oddzielić przecinkami; jeśli ta opcja jest ustawiona, certyfikat NIE jest " "SHA-256, 20 znaków dla SHA-1 (mało bezpieczne, nie zalecane); wiele skrótów "
"dalej sprawdzany (opcja \"ssl_verify\")" "można oddzielić przecinkami; jeśli ta opcja jest ustawiona, certyfikat NIE "
"jest dalej sprawdzany (opcja \"ssl_verify\")"
msgid "check that the SSL connection is fully trusted" msgid "check that the SSL connection is fully trusted"
msgstr "sprawdź czy połączenie ssl jest w pełni zaufane" msgstr "sprawdź czy połączenie ssl jest w pełni zaufane"
@@ -7407,7 +7467,6 @@ msgid "password for server (note: content is evaluated, see /help eval)"
msgstr "hasło dla serwera ( zawartość jest przetwarzana, zobacz /help eval)" msgstr "hasło dla serwera ( zawartość jest przetwarzana, zobacz /help eval)"
#. TRANSLATORS: please keep words "client capabilities" between brackets if translation is different (see fr.po) #. TRANSLATORS: please keep words "client capabilities" between brackets if translation is different (see fr.po)
#, fuzzy
msgid "" msgid ""
"comma-separated list of client capabilities to enable for server if they are " "comma-separated list of client capabilities to enable for server if they are "
"available; capabilities supported by WeeChat are: account-notify, away-" "available; capabilities supported by WeeChat are: account-notify, away-"
@@ -7415,11 +7474,10 @@ msgid ""
"(example: \"away-notify,multi-prefix\")" "(example: \"away-notify,multi-prefix\")"
msgstr "" msgstr ""
"oddzielona przecinkami lista opcji klienta do włączenia dla serwera, jeśli " "oddzielona przecinkami lista opcji klienta do włączenia dla serwera, jeśli "
"są dostępne; opcje wspierane przez WeeChat: away-notify, extended-join, " "są dostępne; opcje wspierane przez WeeChat: account-notify, away-notify, "
"multi-prefix, server-time, userhost-in-names (przykład: \"away-notify,multi-" "extended-join, multi-prefix, server-time, userhost-in-names (przykład: "
"prefix\")" "\"away-notify,multi-prefix\")"
#, fuzzy
msgid "" msgid ""
"mechanism for SASL authentication: \"plain\" for plain text password, " "mechanism for SASL authentication: \"plain\" for plain text password, "
"\"ecdsa-nist256p-challenge\" for key-based challenge authentication, " "\"ecdsa-nist256p-challenge\" for key-based challenge authentication, "
@@ -7427,35 +7485,37 @@ msgid ""
"for blowfish crypted password (insecure, not recommended), \"dh-aes\" for " "for blowfish crypted password (insecure, not recommended), \"dh-aes\" for "
"AES crypted password (insecure, not recommended)" "AES crypted password (insecure, not recommended)"
msgstr "" msgstr ""
"mechanizm autentykacji SASL: \"plain\" dla hasła w czystym tekście, \"dh-" "mechanizm autentykacji SASL: \"plain\" dla hasła w czystym tekście, \"ecdsa-"
"blowfish\" dla hasła szyfrowanego za pomocą blowfish, \"dh-aes\" dla hasła " "nist256p-challenge\" uwierzytelnianie na podstawie pary kluczy, \"external\" "
"szyfrowanego za pomocą AES, \"external\" dla uwierzytelnienia za pomocą " "dla uwierzytelnienia za pomocą certyfikatu SSL po stronie klienta\", \"dh-"
"certyfikatu SSL po stronie klienta" "blowfish\" dla hasła szyfrowanego za pomocą blowfish (mało bezpieczne, "
"niepolecane), \"dh-aes\" dla hasła szyfrowanego za pomocą AES (mało "
"bezpieczne, niepolecane)"
#, fuzzy
msgid "" msgid ""
"username for SASL authentication; this option is not used for mechanism " "username for SASL authentication; this option is not used for mechanism "
"\"external\" (note: content is evaluated, see /help eval)" "\"external\" (note: content is evaluated, see /help eval)"
msgstr "" msgstr ""
"hasło dla uwierzytelniania SASL (uwaga: zawartość jest przetwarzana, zobacz /" "nazwa użytkownika dla uwierzytelniania SASL; ta opcja nie jest używana dla "
"help eval)" "mechanizmów \"ecdsa-nist256p-challenge\" oraz \"external\" (uwaga: "
"zawartość jest przetwarzana, zobacz /help eval)"
#, fuzzy
msgid "" msgid ""
"password for SASL authentication; this option is not used for mechanisms " "password for SASL authentication; this option is not used for mechanisms "
"\"ecdsa-nist256p-challenge\" and \"external\" (note: content is evaluated, " "\"ecdsa-nist256p-challenge\" and \"external\" (note: content is evaluated, "
"see /help eval)" "see /help eval)"
msgstr "" msgstr ""
"hasło dla uwierzytelniania SASL (uwaga: zawartość jest przetwarzana, zobacz /" "hasło dla uwierzytelniania SASL; ta opcja nie jest używana dla mechanizmów "
"help eval)" "\"ecdsa-nist256p-challenge\" oraz \"external\" (uwaga: zawartość jest "
"przetwarzana, zobacz /help eval)"
#, fuzzy
msgid "" msgid ""
"file with ECC private key for mechanism \"ecdsa-nist256p-challenge\" (\"%h\" " "file with ECC private key for mechanism \"ecdsa-nist256p-challenge\" (\"%h\" "
"will be replaced by WeeChat home, \"~/.weechat\" by default)" "will be replaced by WeeChat home, \"~/.weechat\" by default)"
msgstr "" msgstr ""
"ścieżka wyszukiwania wtyczek (\"%h\" zostanie zastąpione katalogiem domowym " "plik z kluczem prywatnym ECC dla mechanizmu \"ecdsa-nist256p-challenge"
"WeeChat - domyślnie \"~/.weechat\")" "\" (\"%h\" zostanie zastąpione katalogiem domowym WeeChat, domyślnie \"~/."
"weechat\")"
msgid "timeout (in seconds) before giving up SASL authentication" msgid "timeout (in seconds) before giving up SASL authentication"
msgstr "" msgstr ""
@@ -8558,9 +8618,9 @@ msgstr "%s%s%s%s usunął temat %s%s%s"
msgid "%sWallops from %s: %s" msgid "%sWallops from %s: %s"
msgstr "%sWallopy od %s: %s" msgstr "%sWallopy od %s: %s"
#, fuzzy, c-format #, c-format
msgid "%sServer notice mask for %s%s%s is %s[%s%s%s]" msgid "%sServer notice mask for %s%s%s is %s[%s%s%s]"
msgstr "%sAtrybut użytkownika %s%s%s to %s[%s%s%s]" msgstr "%sMaska powiadomień serwera dla %s%s%s to %s[%s%s%s]"
#, c-format #, c-format
msgid "%sUser mode for %s%s%s is %s[%s%s%s]" msgid "%sUser mode for %s%s%s is %s[%s%s%s]"
@@ -8828,30 +8888,32 @@ msgstr ""
msgid "%s%s: server \"%s\" not found for redirect" msgid "%s%s: server \"%s\" not found for redirect"
msgstr "%s%s: serwer \"%s\" nie został znaleziony dla przekierowania" msgstr "%s%s: serwer \"%s\" nie został znaleziony dla przekierowania"
#, fuzzy, c-format #, c-format
msgid "%s%s: unable to read private key in file \"%s\"" msgid "%s%s: unable to read private key in file \"%s\""
msgstr "%s%s: nie można odczytać pliku \"%s\"" msgstr "%s%s: nie można odczytać klucza prywatnego z pliku \"%s\""
#, fuzzy, c-format #, c-format
msgid "%sgnutls: invalid private key file: error %d %s" msgid "%sgnutls: invalid private key file: error %d %s"
msgstr "%sgnutls: błędny certyfikat \"%s\", błąd: %s" msgstr "%sgnutls: niepoprawny plik klucza prywatnego: błąd %d %s"
#, c-format #, c-format
msgid "%s%s: signing the challenge with ECC public key: %s" msgid "%s%s: signing the challenge with ECC public key: %s"
msgstr "" msgstr "%s%s: podpisuje wyzwanie za pomocą klucza publicnzego ECC: %s"
#, fuzzy, c-format #, c-format
msgid "%sgnutls: unable to import the private key: error %d %s" msgid "%sgnutls: unable to import the private key: error %d %s"
msgstr "%s%s: nie można utworzyć strumienia: błąd %d %s" msgstr "%sgnutls: nie można zaimportować klucza prywatnego: błąd %d %s"
#, fuzzy, c-format #, c-format
msgid "%sgnutls: unable to sign the hashed data: error %d %s" msgid "%sgnutls: unable to sign the hashed data: error %d %s"
msgstr "%s%s: nie można zinterpretować adresu: błąd %d %s" msgstr "%sgnutls: nie można podpisać zakodowanych danych: błąd %d %s"
#, c-format #, c-format
msgid "" msgid ""
"%sgnutls: version >= 3.0.21 is required for SASL \"ecdsa-nist256p-challenge\"" "%sgnutls: version >= 3.0.21 is required for SASL \"ecdsa-nist256p-challenge\""
msgstr "" msgstr ""
"%sgnutls: wersja >= 3.0.21 jest wymagana dla SASL \"ecdsa-nist256p-challenge"
"\""
#, c-format #, c-format
msgid "%s%s: error when allocating new server" msgid "%s%s: error when allocating new server"
@@ -8988,9 +9050,9 @@ msgstr "%s%s: timeout"
msgid "%s%s: unable to create socket" msgid "%s%s: unable to create socket"
msgstr "%s%s: nie można utworzyć gniazda" msgstr "%s%s: nie można utworzyć gniazda"
#, fuzzy, c-format #, c-format
msgid "%sgnutls: failed to calculate certificate fingerprint (%s)" msgid "%sgnutls: failed to calculate certificate fingerprint (%s)"
msgstr "%sgnutls: nie udało się wyliczyć odcisku certyfikatu" msgstr "%sgnutls: nie udało się wyliczyć odcisku certyfikatu (%s)"
#, c-format #, c-format
msgid "%sgnutls: connected using %d-bit Diffie-Hellman shared secret exchange" msgid "%sgnutls: connected using %d-bit Diffie-Hellman shared secret exchange"
@@ -9120,9 +9182,9 @@ msgstr "%s%s: ponownie łączę się z serwerem..."
msgid "%s%s: disconnected from server" msgid "%s%s: disconnected from server"
msgstr "%s%s: rozłączono z serwerem" msgstr "%s%s: rozłączono z serwerem"
#, fuzzy, c-format #, c-format
msgid "%s%s: exception: %s" msgid "%s%s: exception: %s"
msgstr "%s%s[%s%s%s]%s wyjątek %s%s" msgstr "%s%s: wyjątek %s"
#, c-format #, c-format
msgid "%s%s: unable to run function \"%s\"" msgid "%s%s: unable to run function \"%s\""
@@ -9666,7 +9728,7 @@ msgstr "drzewo okien"
#, c-format #, c-format
msgid "Initializing plugin \"%s\" (priority: %d)" msgid "Initializing plugin \"%s\" (priority: %d)"
msgstr "" msgstr "Inicjalizuję wtyczkę \"%s\" (priorytet: %d)"
#, c-format #, c-format
msgid "%sError: unable to initialize plugin \"%s\"" msgid "%sError: unable to initialize plugin \"%s\""
@@ -10224,16 +10286,15 @@ msgstr "kolor tła w buforze pośrednika"
msgid "text color of selected line in relay buffer" msgid "text color of selected line in relay buffer"
msgstr "kolor tekstu zaznaczonej linii w buforze pośrednika" msgstr "kolor tekstu zaznaczonej linii w buforze pośrednika"
#, fuzzy
msgid "" msgid ""
"POSIX extended regular expression with IPs allowed to use relay (case " "POSIX extended regular expression with IPs allowed to use relay (case "
"insensitive, use \"(?-i)\" at beginning to make it case sensitive), example: " "insensitive, use \"(?-i)\" at beginning to make it case sensitive), example: "
"\"^(123.45.67.89|192.160.*)$\"" "\"^(123.45.67.89|192.160.*)$\""
msgstr "" msgstr ""
"rozszerzone wyrażenia regularne POSIX ze źródłami dozwolonymi dla gniazd " "rozszerzone wyrażenia regularne POSIX z adresami IP dozwolonymi dla "
"webowych (nie wrażliwe na wielkość znaków, umieszczenie \"(?-i)\" na " "pośrednika (nie wrażliwe na wielkość znaków, umieszczenie \"(?-i)\" na "
"początku sprawi, że wielość znaków będzie miała znaczenie), przykład: " "początku sprawi, że wielość znaków będzie miała znaczenie), przykład: "
"\"^http://(www\\.)?przykład\\.(com|org)\"" "\"^(123.45.67.89|192.160.*)$\""
msgid "" msgid ""
"address for bind (if empty, connection is possible on all interfaces, use " "address for bind (if empty, connection is possible on all interfaces, use "
@@ -10965,6 +11026,8 @@ msgid ""
"URL for file with list of scripts; by default HTTPS is forced, see option " "URL for file with list of scripts; by default HTTPS is forced, see option "
"script.scripts.url_force_https" "script.scripts.url_force_https"
msgstr "" msgstr ""
"adres pliku z listą skryptów; domyśłnie wymuszany jest protokół HTTPS, "
"zobacz opcje script.scripts.url_force_https"
msgid "" msgid ""
"force use of HTTPS for downloads (index and scripts); you should disable " "force use of HTTPS for downloads (index and scripts); you should disable "
+37 -26
View File
@@ -21,7 +21,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: WeeChat\n" "Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2015-04-19 11:28+0200\n" "POT-Creation-Date: 2015-05-07 07:02+0200\n"
"PO-Revision-Date: 2015-03-21 08:41+0100\n" "PO-Revision-Date: 2015-03-21 08:41+0100\n"
"Last-Translator: Eduardo Elias <camponez@gmail.com>\n" "Last-Translator: Eduardo Elias <camponez@gmail.com>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n" "Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -163,10 +163,13 @@ msgstr ""
msgid "Usage: %s [option...] [plugin:option...]\n" msgid "Usage: %s [option...] [plugin:option...]\n"
msgstr "Uso: %s [opção...] [plugin:opção...]\n" msgstr "Uso: %s [opção...] [plugin:opção...]\n"
#, fuzzy
msgid "" msgid ""
" -a, --no-connect disable auto-connect to servers at startup\n" " -a, --no-connect disable auto-connect to servers at startup\n"
" -c, --colors display default colors in terminal\n" " -c, --colors display default colors in terminal\n"
" -d, --dir <path> set WeeChat home directory (default: ~/.weechat)\n" " -d, --dir <path> set WeeChat home directory (default: ~/.weechat)\n"
" (environment variable WEECHAT_HOME is read if "
"this option is not given)\n"
" -h, --help display this help\n" " -h, --help display this help\n"
" -l, --license display WeeChat license\n" " -l, --license display WeeChat license\n"
" -p, --no-plugin don't load any plugin at startup\n" " -p, --no-plugin don't load any plugin at startup\n"
@@ -201,16 +204,16 @@ msgstr ""
msgid "Error: missing argument for \"%s\" option\n" msgid "Error: missing argument for \"%s\" option\n"
msgstr "Erro: faltando argumento para opção \"%s\"\n" msgstr "Erro: faltando argumento para opção \"%s\"\n"
msgid "Error: WEECHAT_HOME is undefined, check build options\n"
msgstr ""
"Erro: WEECHAT_HOME não está definida, verifique as opções de compilação\n"
msgid "Error: unable to get HOME directory\n" msgid "Error: unable to get HOME directory\n"
msgstr "Erro: não foi possível obter o diretório do usuário (HOME)\n" msgstr "Erro: não foi possível obter o diretório do usuário (HOME)\n"
msgid "Error: not enough memory for home directory\n" msgid "Error: not enough memory for home directory\n"
msgstr "Erro: não há memória suficiente para o diretório do usuário (HOME)\n" msgstr "Erro: não há memória suficiente para o diretório do usuário (HOME)\n"
msgid "Error: WEECHAT_HOME is undefined, check build options\n"
msgstr ""
"Erro: WEECHAT_HOME não está definida, verifique as opções de compilação\n"
#, c-format #, c-format
msgid "Error: home (%s) is not a directory\n" msgid "Error: home (%s) is not a directory\n"
msgstr "Erro: (%s) não é um diretório\n" msgstr "Erro: (%s) não é um diretório\n"
@@ -219,6 +222,23 @@ msgstr "Erro: (%s) não é um diretório\n"
msgid "Error: cannot create directory \"%s\"\n" msgid "Error: cannot create directory \"%s\"\n"
msgstr "Erro: não foi possível criar o diretório \"%s\"\n" msgstr "Erro: não foi possível criar o diretório \"%s\"\n"
msgid ""
"Welcome to WeeChat!\n"
"\n"
"If you are discovering WeeChat, it is recommended to read at least the "
"quickstart guide, and the user's guide if you have some time; they explain "
"main WeeChat concepts.\n"
"All WeeChat docs are available at: https://weechat.org/doc\n"
"\n"
"Moreover, there is inline help with /help on all commands and options (use "
"Tab key to complete the name).\n"
"The command /iset (script iset.pl) can help to customize WeeChat: /script "
"install iset.pl\n"
"\n"
"You can create and connect to an IRC server with /server and /connect "
"commands (see /help server)."
msgstr ""
#. TRANSLATORS: the "under %s" can be "under screen" or "under tmux" #. TRANSLATORS: the "under %s" can be "under screen" or "under tmux"
#, c-format #, c-format
msgid "" msgid ""
@@ -1536,9 +1556,10 @@ msgid ""
" 2. a string with chars to hide (format: \"hide:char,string\")\n" " 2. a string with chars to hide (format: \"hide:char,string\")\n"
" 3. a color (format: \"color:xxx\")\n" " 3. a color (format: \"color:xxx\")\n"
" 4. an info (format: \"info:name,arguments\", arguments are optional)\n" " 4. an info (format: \"info:name,arguments\", arguments are optional)\n"
" 5. an option (format: \"file.section.option\")\n" " 5. an environment variable (format: \"env:XXX\")\n"
" 6. a local variable in buffer\n" " 6. an option (format: \"file.section.option\")\n"
" 7. a hdata name/variable (the value is automatically converted to string), " " 7. a local variable in buffer\n"
" 8. a hdata name/variable (the value is automatically converted to string), "
"by default \"window\" and \"buffer\" point to current window/buffer.\n" "by default \"window\" and \"buffer\" point to current window/buffer.\n"
"Format for hdata can be one of following:\n" "Format for hdata can be one of following:\n"
" hdata.var1.var2...: start with a hdata (pointer must be known), and ask " " hdata.var1.var2...: start with a hdata (pointer must be known), and ask "
@@ -1553,6 +1574,7 @@ msgid ""
"\n" "\n"
"Examples (simple strings):\n" "Examples (simple strings):\n"
" /eval -n ${info:version} ==> 0.4.3\n" " /eval -n ${info:version} ==> 0.4.3\n"
" /eval -n ${env:HOME} ==> /home/user\n"
" /eval -n ${weechat.look.scroll_amount} ==> 3\n" " /eval -n ${weechat.look.scroll_amount} ==> 3\n"
" /eval -n ${window} ==> 0x2549aa0\n" " /eval -n ${window} ==> 0x2549aa0\n"
" /eval -n ${window.buffer} ==> 0x2549320\n" " /eval -n ${window.buffer} ==> 0x2549320\n"
@@ -4384,24 +4406,6 @@ msgstr "Cores do WeeChat (em uso: %d, sobram: %d):"
msgid "Terminal lost, exiting WeeChat..." msgid "Terminal lost, exiting WeeChat..."
msgstr "Terminal perdido, saindo do WeeChat..." msgstr "Terminal perdido, saindo do WeeChat..."
msgid ""
"\n"
"Welcome to WeeChat!\n"
"\n"
"If you are discovering WeeChat, it is recommended to read at least the "
"quickstart guide, and the user's guide if you have some time; they explain "
"main WeeChat concepts.\n"
"All WeeChat docs are available at: https://weechat.org/doc\n"
"\n"
"Moreover, there is inline help with /help on all commands and options (use "
"Tab key to complete the name).\n"
"The command /iset (script iset.pl) can help to customize WeeChat: /script "
"install iset.pl\n"
"\n"
"You can create and connect to an IRC server with /server and /connect "
"commands (see /help server)."
msgstr ""
msgid "Mouse is enabled" msgid "Mouse is enabled"
msgstr "Mouse está habilitado" msgstr "Mouse está habilitado"
@@ -6518,6 +6522,13 @@ msgstr "numéros para ignores definidos"
msgid "nicks in notify list" msgid "nicks in notify list"
msgstr "apelidos na lista de notificação" msgstr "apelidos na lista de notificação"
#, c-format
msgid ""
"%sWARNING: the value \"channel\" for option \"irc.look.display_away\" will "
"send all your away changes to the channels, which is often considered as "
"spam; therefore you could be banned from channels, you are warned!"
msgstr ""
#, c-format #, c-format
msgid "" msgid ""
"%s%s: warning: proxy \"%s\" does not exist (you can create it with command /" "%s%s: warning: proxy \"%s\" does not exist (you can create it with command /"
+35 -25
View File
@@ -21,7 +21,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: WeeChat\n" "Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2015-04-19 11:28+0200\n" "POT-Creation-Date: 2015-05-07 07:02+0200\n"
"PO-Revision-Date: 2015-03-21 08:41+0100\n" "PO-Revision-Date: 2015-03-21 08:41+0100\n"
"Last-Translator: Aleksey V Zapparov AKA ixti <ixti@member.fsf.org>\n" "Last-Translator: Aleksey V Zapparov AKA ixti <ixti@member.fsf.org>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n" "Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -152,6 +152,8 @@ msgid ""
" -a, --no-connect disable auto-connect to servers at startup\n" " -a, --no-connect disable auto-connect to servers at startup\n"
" -c, --colors display default colors in terminal\n" " -c, --colors display default colors in terminal\n"
" -d, --dir <path> set WeeChat home directory (default: ~/.weechat)\n" " -d, --dir <path> set WeeChat home directory (default: ~/.weechat)\n"
" (environment variable WEECHAT_HOME is read if "
"this option is not given)\n"
" -h, --help display this help\n" " -h, --help display this help\n"
" -l, --license display WeeChat license\n" " -l, --license display WeeChat license\n"
" -p, --no-plugin don't load any plugin at startup\n" " -p, --no-plugin don't load any plugin at startup\n"
@@ -181,9 +183,6 @@ msgstr ""
msgid "Error: missing argument for \"%s\" option\n" msgid "Error: missing argument for \"%s\" option\n"
msgstr "%s нет аргумента для параметра \"%s\"\n" msgstr "%s нет аргумента для параметра \"%s\"\n"
msgid "Error: WEECHAT_HOME is undefined, check build options\n"
msgstr "Ошибка: WEECHAT_HOME не определена, проверьте опции сборки\n"
#, fuzzy #, fuzzy
msgid "Error: unable to get HOME directory\n" msgid "Error: unable to get HOME directory\n"
msgstr "%s не могу получить домашний каталог\n" msgstr "%s не могу получить домашний каталог\n"
@@ -192,6 +191,9 @@ msgstr "%s не могу получить домашний каталог\n"
msgid "Error: not enough memory for home directory\n" msgid "Error: not enough memory for home directory\n"
msgstr "%s недостаточно памяти для домашней директории\n" msgstr "%s недостаточно памяти для домашней директории\n"
msgid "Error: WEECHAT_HOME is undefined, check build options\n"
msgstr "Ошибка: WEECHAT_HOME не определена, проверьте опции сборки\n"
#, fuzzy, c-format #, fuzzy, c-format
msgid "Error: home (%s) is not a directory\n" msgid "Error: home (%s) is not a directory\n"
msgstr "%s домашний каталог (%s) не является директорией\n" msgstr "%s домашний каталог (%s) не является директорией\n"
@@ -200,6 +202,23 @@ msgstr "%s домашний каталог (%s) не является дирек
msgid "Error: cannot create directory \"%s\"\n" msgid "Error: cannot create directory \"%s\"\n"
msgstr "%s не могу создать директорию \"%s\"\n" msgstr "%s не могу создать директорию \"%s\"\n"
msgid ""
"Welcome to WeeChat!\n"
"\n"
"If you are discovering WeeChat, it is recommended to read at least the "
"quickstart guide, and the user's guide if you have some time; they explain "
"main WeeChat concepts.\n"
"All WeeChat docs are available at: https://weechat.org/doc\n"
"\n"
"Moreover, there is inline help with /help on all commands and options (use "
"Tab key to complete the name).\n"
"The command /iset (script iset.pl) can help to customize WeeChat: /script "
"install iset.pl\n"
"\n"
"You can create and connect to an IRC server with /server and /connect "
"commands (see /help server)."
msgstr ""
#. TRANSLATORS: the "under %s" can be "under screen" or "under tmux" #. TRANSLATORS: the "under %s" can be "under screen" or "under tmux"
#, c-format #, c-format
msgid "" msgid ""
@@ -1406,9 +1425,10 @@ msgid ""
" 2. a string with chars to hide (format: \"hide:char,string\")\n" " 2. a string with chars to hide (format: \"hide:char,string\")\n"
" 3. a color (format: \"color:xxx\")\n" " 3. a color (format: \"color:xxx\")\n"
" 4. an info (format: \"info:name,arguments\", arguments are optional)\n" " 4. an info (format: \"info:name,arguments\", arguments are optional)\n"
" 5. an option (format: \"file.section.option\")\n" " 5. an environment variable (format: \"env:XXX\")\n"
" 6. a local variable in buffer\n" " 6. an option (format: \"file.section.option\")\n"
" 7. a hdata name/variable (the value is automatically converted to string), " " 7. a local variable in buffer\n"
" 8. a hdata name/variable (the value is automatically converted to string), "
"by default \"window\" and \"buffer\" point to current window/buffer.\n" "by default \"window\" and \"buffer\" point to current window/buffer.\n"
"Format for hdata can be one of following:\n" "Format for hdata can be one of following:\n"
" hdata.var1.var2...: start with a hdata (pointer must be known), and ask " " hdata.var1.var2...: start with a hdata (pointer must be known), and ask "
@@ -1423,6 +1443,7 @@ msgid ""
"\n" "\n"
"Examples (simple strings):\n" "Examples (simple strings):\n"
" /eval -n ${info:version} ==> 0.4.3\n" " /eval -n ${info:version} ==> 0.4.3\n"
" /eval -n ${env:HOME} ==> /home/user\n"
" /eval -n ${weechat.look.scroll_amount} ==> 3\n" " /eval -n ${weechat.look.scroll_amount} ==> 3\n"
" /eval -n ${window} ==> 0x2549aa0\n" " /eval -n ${window} ==> 0x2549aa0\n"
" /eval -n ${window.buffer} ==> 0x2549320\n" " /eval -n ${window.buffer} ==> 0x2549320\n"
@@ -3834,24 +3855,6 @@ msgstr ""
msgid "Terminal lost, exiting WeeChat..." msgid "Terminal lost, exiting WeeChat..."
msgstr "" msgstr ""
msgid ""
"\n"
"Welcome to WeeChat!\n"
"\n"
"If you are discovering WeeChat, it is recommended to read at least the "
"quickstart guide, and the user's guide if you have some time; they explain "
"main WeeChat concepts.\n"
"All WeeChat docs are available at: https://weechat.org/doc\n"
"\n"
"Moreover, there is inline help with /help on all commands and options (use "
"Tab key to complete the name).\n"
"The command /iset (script iset.pl) can help to customize WeeChat: /script "
"install iset.pl\n"
"\n"
"You can create and connect to an IRC server with /server and /connect "
"commands (see /help server)."
msgstr ""
#, fuzzy #, fuzzy
msgid "Mouse is enabled" msgid "Mouse is enabled"
msgstr "команда users отключена" msgstr "команда users отключена"
@@ -6190,6 +6193,13 @@ msgstr ""
msgid "nicks in notify list" msgid "nicks in notify list"
msgstr "%s игнорирования не найдены\n" msgstr "%s игнорирования не найдены\n"
#, c-format
msgid ""
"%sWARNING: the value \"channel\" for option \"irc.look.display_away\" will "
"send all your away changes to the channels, which is often considered as "
"spam; therefore you could be banned from channels, you are warned!"
msgstr ""
#, c-format #, c-format
msgid "" msgid ""
"%s%s: warning: proxy \"%s\" does not exist (you can create it with command /" "%s%s: warning: proxy \"%s\" does not exist (you can create it with command /"
+35 -25
View File
@@ -20,7 +20,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: WeeChat\n" "Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2015-04-19 11:28+0200\n" "POT-Creation-Date: 2015-05-07 07:02+0200\n"
"PO-Revision-Date: 2015-03-10 21:33+0100\n" "PO-Revision-Date: 2015-03-10 21:33+0100\n"
"Last-Translator: Hasan Kiran <sunder67@hotmail.com>\n" "Last-Translator: Hasan Kiran <sunder67@hotmail.com>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n" "Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -129,6 +129,8 @@ msgid ""
" -a, --no-connect disable auto-connect to servers at startup\n" " -a, --no-connect disable auto-connect to servers at startup\n"
" -c, --colors display default colors in terminal\n" " -c, --colors display default colors in terminal\n"
" -d, --dir <path> set WeeChat home directory (default: ~/.weechat)\n" " -d, --dir <path> set WeeChat home directory (default: ~/.weechat)\n"
" (environment variable WEECHAT_HOME is read if "
"this option is not given)\n"
" -h, --help display this help\n" " -h, --help display this help\n"
" -l, --license display WeeChat license\n" " -l, --license display WeeChat license\n"
" -p, --no-plugin don't load any plugin at startup\n" " -p, --no-plugin don't load any plugin at startup\n"
@@ -145,15 +147,15 @@ msgstr ""
msgid "Error: missing argument for \"%s\" option\n" msgid "Error: missing argument for \"%s\" option\n"
msgstr "" msgstr ""
msgid "Error: WEECHAT_HOME is undefined, check build options\n"
msgstr ""
msgid "Error: unable to get HOME directory\n" msgid "Error: unable to get HOME directory\n"
msgstr "" msgstr ""
msgid "Error: not enough memory for home directory\n" msgid "Error: not enough memory for home directory\n"
msgstr "Hata: ev dizini için bellek yeterli değil\n" msgstr "Hata: ev dizini için bellek yeterli değil\n"
msgid "Error: WEECHAT_HOME is undefined, check build options\n"
msgstr ""
#, c-format #, c-format
msgid "Error: home (%s) is not a directory\n" msgid "Error: home (%s) is not a directory\n"
msgstr "" msgstr ""
@@ -162,6 +164,23 @@ msgstr ""
msgid "Error: cannot create directory \"%s\"\n" msgid "Error: cannot create directory \"%s\"\n"
msgstr "Hata: \"%s\" dizini oluşturulamaz\n" msgstr "Hata: \"%s\" dizini oluşturulamaz\n"
msgid ""
"Welcome to WeeChat!\n"
"\n"
"If you are discovering WeeChat, it is recommended to read at least the "
"quickstart guide, and the user's guide if you have some time; they explain "
"main WeeChat concepts.\n"
"All WeeChat docs are available at: https://weechat.org/doc\n"
"\n"
"Moreover, there is inline help with /help on all commands and options (use "
"Tab key to complete the name).\n"
"The command /iset (script iset.pl) can help to customize WeeChat: /script "
"install iset.pl\n"
"\n"
"You can create and connect to an IRC server with /server and /connect "
"commands (see /help server)."
msgstr ""
#. TRANSLATORS: the "under %s" can be "under screen" or "under tmux" #. TRANSLATORS: the "under %s" can be "under screen" or "under tmux"
#, c-format #, c-format
msgid "" msgid ""
@@ -1241,9 +1260,10 @@ msgid ""
" 2. a string with chars to hide (format: \"hide:char,string\")\n" " 2. a string with chars to hide (format: \"hide:char,string\")\n"
" 3. a color (format: \"color:xxx\")\n" " 3. a color (format: \"color:xxx\")\n"
" 4. an info (format: \"info:name,arguments\", arguments are optional)\n" " 4. an info (format: \"info:name,arguments\", arguments are optional)\n"
" 5. an option (format: \"file.section.option\")\n" " 5. an environment variable (format: \"env:XXX\")\n"
" 6. a local variable in buffer\n" " 6. an option (format: \"file.section.option\")\n"
" 7. a hdata name/variable (the value is automatically converted to string), " " 7. a local variable in buffer\n"
" 8. a hdata name/variable (the value is automatically converted to string), "
"by default \"window\" and \"buffer\" point to current window/buffer.\n" "by default \"window\" and \"buffer\" point to current window/buffer.\n"
"Format for hdata can be one of following:\n" "Format for hdata can be one of following:\n"
" hdata.var1.var2...: start with a hdata (pointer must be known), and ask " " hdata.var1.var2...: start with a hdata (pointer must be known), and ask "
@@ -1258,6 +1278,7 @@ msgid ""
"\n" "\n"
"Examples (simple strings):\n" "Examples (simple strings):\n"
" /eval -n ${info:version} ==> 0.4.3\n" " /eval -n ${info:version} ==> 0.4.3\n"
" /eval -n ${env:HOME} ==> /home/user\n"
" /eval -n ${weechat.look.scroll_amount} ==> 3\n" " /eval -n ${weechat.look.scroll_amount} ==> 3\n"
" /eval -n ${window} ==> 0x2549aa0\n" " /eval -n ${window} ==> 0x2549aa0\n"
" /eval -n ${window.buffer} ==> 0x2549320\n" " /eval -n ${window.buffer} ==> 0x2549320\n"
@@ -3436,24 +3457,6 @@ msgstr ""
msgid "Terminal lost, exiting WeeChat..." msgid "Terminal lost, exiting WeeChat..."
msgstr "" msgstr ""
msgid ""
"\n"
"Welcome to WeeChat!\n"
"\n"
"If you are discovering WeeChat, it is recommended to read at least the "
"quickstart guide, and the user's guide if you have some time; they explain "
"main WeeChat concepts.\n"
"All WeeChat docs are available at: https://weechat.org/doc\n"
"\n"
"Moreover, there is inline help with /help on all commands and options (use "
"Tab key to complete the name).\n"
"The command /iset (script iset.pl) can help to customize WeeChat: /script "
"install iset.pl\n"
"\n"
"You can create and connect to an IRC server with /server and /connect "
"commands (see /help server)."
msgstr ""
msgid "Mouse is enabled" msgid "Mouse is enabled"
msgstr "" msgstr ""
@@ -5516,6 +5519,13 @@ msgstr ""
msgid "nicks in notify list" msgid "nicks in notify list"
msgstr "" msgstr ""
#, c-format
msgid ""
"%sWARNING: the value \"channel\" for option \"irc.look.display_away\" will "
"send all your away changes to the channels, which is often considered as "
"spam; therefore you could be banned from channels, you are warned!"
msgstr ""
#, c-format #, c-format
msgid "" msgid ""
"%s%s: warning: proxy \"%s\" does not exist (you can create it with command /" "%s%s: warning: proxy \"%s\" does not exist (you can create it with command /"
+35 -25
View File
@@ -21,7 +21,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: WeeChat\n" "Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2015-04-19 11:28+0200\n" "POT-Creation-Date: 2015-05-07 07:02+0200\n"
"PO-Revision-Date: 2014-08-16 10:27+0200\n" "PO-Revision-Date: 2014-08-16 10:27+0200\n"
"Last-Translator: Sébastien Helleu <flashcode@flashtux.org>\n" "Last-Translator: Sébastien Helleu <flashcode@flashtux.org>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n" "Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -126,6 +126,8 @@ msgid ""
" -a, --no-connect disable auto-connect to servers at startup\n" " -a, --no-connect disable auto-connect to servers at startup\n"
" -c, --colors display default colors in terminal\n" " -c, --colors display default colors in terminal\n"
" -d, --dir <path> set WeeChat home directory (default: ~/.weechat)\n" " -d, --dir <path> set WeeChat home directory (default: ~/.weechat)\n"
" (environment variable WEECHAT_HOME is read if "
"this option is not given)\n"
" -h, --help display this help\n" " -h, --help display this help\n"
" -l, --license display WeeChat license\n" " -l, --license display WeeChat license\n"
" -p, --no-plugin don't load any plugin at startup\n" " -p, --no-plugin don't load any plugin at startup\n"
@@ -142,15 +144,15 @@ msgstr ""
msgid "Error: missing argument for \"%s\" option\n" msgid "Error: missing argument for \"%s\" option\n"
msgstr "" msgstr ""
msgid "Error: WEECHAT_HOME is undefined, check build options\n"
msgstr ""
msgid "Error: unable to get HOME directory\n" msgid "Error: unable to get HOME directory\n"
msgstr "" msgstr ""
msgid "Error: not enough memory for home directory\n" msgid "Error: not enough memory for home directory\n"
msgstr "" msgstr ""
msgid "Error: WEECHAT_HOME is undefined, check build options\n"
msgstr ""
#, c-format #, c-format
msgid "Error: home (%s) is not a directory\n" msgid "Error: home (%s) is not a directory\n"
msgstr "" msgstr ""
@@ -159,6 +161,23 @@ msgstr ""
msgid "Error: cannot create directory \"%s\"\n" msgid "Error: cannot create directory \"%s\"\n"
msgstr "" msgstr ""
msgid ""
"Welcome to WeeChat!\n"
"\n"
"If you are discovering WeeChat, it is recommended to read at least the "
"quickstart guide, and the user's guide if you have some time; they explain "
"main WeeChat concepts.\n"
"All WeeChat docs are available at: https://weechat.org/doc\n"
"\n"
"Moreover, there is inline help with /help on all commands and options (use "
"Tab key to complete the name).\n"
"The command /iset (script iset.pl) can help to customize WeeChat: /script "
"install iset.pl\n"
"\n"
"You can create and connect to an IRC server with /server and /connect "
"commands (see /help server)."
msgstr ""
#. TRANSLATORS: the "under %s" can be "under screen" or "under tmux" #. TRANSLATORS: the "under %s" can be "under screen" or "under tmux"
#, c-format #, c-format
msgid "" msgid ""
@@ -1243,9 +1262,10 @@ msgid ""
" 2. a string with chars to hide (format: \"hide:char,string\")\n" " 2. a string with chars to hide (format: \"hide:char,string\")\n"
" 3. a color (format: \"color:xxx\")\n" " 3. a color (format: \"color:xxx\")\n"
" 4. an info (format: \"info:name,arguments\", arguments are optional)\n" " 4. an info (format: \"info:name,arguments\", arguments are optional)\n"
" 5. an option (format: \"file.section.option\")\n" " 5. an environment variable (format: \"env:XXX\")\n"
" 6. a local variable in buffer\n" " 6. an option (format: \"file.section.option\")\n"
" 7. a hdata name/variable (the value is automatically converted to string), " " 7. a local variable in buffer\n"
" 8. a hdata name/variable (the value is automatically converted to string), "
"by default \"window\" and \"buffer\" point to current window/buffer.\n" "by default \"window\" and \"buffer\" point to current window/buffer.\n"
"Format for hdata can be one of following:\n" "Format for hdata can be one of following:\n"
" hdata.var1.var2...: start with a hdata (pointer must be known), and ask " " hdata.var1.var2...: start with a hdata (pointer must be known), and ask "
@@ -1260,6 +1280,7 @@ msgid ""
"\n" "\n"
"Examples (simple strings):\n" "Examples (simple strings):\n"
" /eval -n ${info:version} ==> 0.4.3\n" " /eval -n ${info:version} ==> 0.4.3\n"
" /eval -n ${env:HOME} ==> /home/user\n"
" /eval -n ${weechat.look.scroll_amount} ==> 3\n" " /eval -n ${weechat.look.scroll_amount} ==> 3\n"
" /eval -n ${window} ==> 0x2549aa0\n" " /eval -n ${window} ==> 0x2549aa0\n"
" /eval -n ${window.buffer} ==> 0x2549320\n" " /eval -n ${window.buffer} ==> 0x2549320\n"
@@ -3431,24 +3452,6 @@ msgstr ""
msgid "Terminal lost, exiting WeeChat..." msgid "Terminal lost, exiting WeeChat..."
msgstr "" msgstr ""
msgid ""
"\n"
"Welcome to WeeChat!\n"
"\n"
"If you are discovering WeeChat, it is recommended to read at least the "
"quickstart guide, and the user's guide if you have some time; they explain "
"main WeeChat concepts.\n"
"All WeeChat docs are available at: https://weechat.org/doc\n"
"\n"
"Moreover, there is inline help with /help on all commands and options (use "
"Tab key to complete the name).\n"
"The command /iset (script iset.pl) can help to customize WeeChat: /script "
"install iset.pl\n"
"\n"
"You can create and connect to an IRC server with /server and /connect "
"commands (see /help server)."
msgstr ""
msgid "Mouse is enabled" msgid "Mouse is enabled"
msgstr "" msgstr ""
@@ -5451,6 +5454,13 @@ msgstr ""
msgid "nicks in notify list" msgid "nicks in notify list"
msgstr "" msgstr ""
#, c-format
msgid ""
"%sWARNING: the value \"channel\" for option \"irc.look.display_away\" will "
"send all your away changes to the channels, which is often considered as "
"spam; therefore you could be banned from channels, you are warned!"
msgstr ""
#, c-format #, c-format
msgid "" msgid ""
"%s%s: warning: proxy \"%s\" does not exist (you can create it with command /" "%s%s: warning: proxy \"%s\" does not exist (you can create it with command /"
+3 -3
View File
@@ -140,7 +140,7 @@ weechat_backtrace_addr2line (int number, void *address, const char *symbol)
(void) symbol; (void) symbol;
/* no backtrace possible, we display nothing */ /* no backtrace possible, we display nothing */
#endif #endif /* HAVE_BACKTRACE */
} }
/* /*
@@ -154,7 +154,7 @@ weechat_backtrace ()
void *trace[BACKTRACE_MAX]; void *trace[BACKTRACE_MAX];
int trace_size, i; int trace_size, i;
char **symbols; char **symbols;
#endif #endif /* HAVE_BACKTRACE */
weechat_backtrace_printf ("======= WeeChat backtrace ======="); weechat_backtrace_printf ("======= WeeChat backtrace =======");
weechat_backtrace_printf ("(written by WeeChat %s, compiled on %s %s)", weechat_backtrace_printf ("(written by WeeChat %s, compiled on %s %s)",
@@ -173,7 +173,7 @@ weechat_backtrace ()
#else #else
weechat_backtrace_printf (" No backtrace info (no debug info available " weechat_backtrace_printf (" No backtrace info (no debug info available "
"or no backtrace possible on your system)."); "or no backtrace possible on your system).");
#endif #endif /* HAVE_BACKTRACE */
weechat_backtrace_printf ("======= End of backtrace ======="); weechat_backtrace_printf ("======= End of backtrace =======");
} }
+13 -9
View File
@@ -7195,9 +7195,10 @@ command_init ()
" 3. a color (format: \"color:xxx\")\n" " 3. a color (format: \"color:xxx\")\n"
" 4. an info (format: \"info:name,arguments\", arguments are " " 4. an info (format: \"info:name,arguments\", arguments are "
"optional)\n" "optional)\n"
" 5. an option (format: \"file.section.option\")\n" " 5. an environment variable (format: \"env:XXX\")\n"
" 6. a local variable in buffer\n" " 6. an option (format: \"file.section.option\")\n"
" 7. a hdata name/variable (the value is automatically converted " " 7. a local variable in buffer\n"
" 8. a hdata name/variable (the value is automatically converted "
"to string), by default \"window\" and \"buffer\" point to current " "to string), by default \"window\" and \"buffer\" point to current "
"window/buffer.\n" "window/buffer.\n"
"Format for hdata can be one of following:\n" "Format for hdata can be one of following:\n"
@@ -7214,6 +7215,7 @@ command_init ()
"\n" "\n"
"Examples (simple strings):\n" "Examples (simple strings):\n"
" /eval -n ${info:version} ==> 0.4.3\n" " /eval -n ${info:version} ==> 0.4.3\n"
" /eval -n ${env:HOME} ==> /home/user\n"
" /eval -n ${weechat.look.scroll_amount} ==> 3\n" " /eval -n ${weechat.look.scroll_amount} ==> 3\n"
" /eval -n ${window} ==> 0x2549aa0\n" " /eval -n ${window} ==> 0x2549aa0\n"
" /eval -n ${window.buffer} ==> 0x2549320\n" " /eval -n ${window.buffer} ==> 0x2549320\n"
@@ -7404,18 +7406,20 @@ command_init ()
" paste_stop: stop paste (bracketed paste mode)\n" " paste_stop: stop paste (bracketed paste mode)\n"
"\n" "\n"
"This command is used by key bindings or plugins."), "This command is used by key bindings or plugins."),
"return|complete_next|complete_previous|search_text|search_switch_case|" "return|complete_next|complete_previous|search_text|"
"search_switch_case|search_switch_regex|search_switch_where|"
"search_previous|search_next|search_stop|delete_previous_char|" "search_previous|search_next|search_stop|delete_previous_char|"
"delete_next_char|delete_previous_word|delete_next_word|" "delete_next_char|delete_previous_word|delete_next_word|"
"delete_beginning_of_line|delete_end_of_line|delete_line|" "delete_beginning_of_line|delete_end_of_line|delete_line|"
"clipboard_paste|transpose_chars|undo|redo|move_beginning_of_line|" "clipboard_paste|transpose_chars|undo|redo|move_beginning_of_line|"
"move_end_of_line|move_previous_char|move_next_char|move_previous_word|" "move_end_of_line|move_previous_char|move_next_char|"
"move_next_word|history_previous|history_next|history_global_previous|" "move_previous_word|move_next_word|history_previous|history_next|"
"history_global_next|jump_smart|jump_previously_visited_buffer|" "history_global_previous|history_global_next|jump_smart|"
"jump_last_buffer_displayed|jump_previously_visited_buffer|"
"jump_next_visited_buffer|hotlist_clear|grab_key|grab_key_command|" "jump_next_visited_buffer|hotlist_clear|grab_key|grab_key_command|"
"grab_mouse|grab_mouse_area|set_unread|set_unread_current_buffer|" "grab_mouse|grab_mouse_area|set_unread|set_unread_current_buffer|"
"switch_active_buffer|switch_active_buffer_previous|zoom_merged_buffer|" "switch_active_buffer|switch_active_buffer_previous|"
"insert|send|paste_start|paste_stop", "zoom_merged_buffer|insert|send|paste_start|paste_stop",
&command_input, NULL); &command_input, NULL);
hook_command ( hook_command (
NULL, "key", NULL, "key",
+6 -6
View File
@@ -267,7 +267,7 @@ debug_memory ()
gui_chat_printf (NULL, gui_chat_printf (NULL,
_("Memory usage not available (function \"mallinfo\" not " _("Memory usage not available (function \"mallinfo\" not "
"found)")); "found)"));
#endif #endif /* HAVE_MALLINFO */
} }
/* /*
@@ -533,7 +533,7 @@ debug_libs_cb (void *data, const char *signal, const char *type_data,
#else #else
gui_chat_printf (NULL, " gcrypt: (?)%s", gui_chat_printf (NULL, " gcrypt: (?)%s",
(weechat_no_gcrypt) ? " (not initialized)" : ""); (weechat_no_gcrypt) ? " (not initialized)" : "");
#endif #endif /* GCRYPT_VERSION */
/* display gnutls version */ /* display gnutls version */
#ifdef HAVE_GNUTLS #ifdef HAVE_GNUTLS
@@ -544,24 +544,24 @@ debug_libs_cb (void *data, const char *signal, const char *type_data,
#else #else
gui_chat_printf (NULL, " gnutls: (?)%s", gui_chat_printf (NULL, " gnutls: (?)%s",
(weechat_no_gnutls) ? " (not initialized)" : ""); (weechat_no_gnutls) ? " (not initialized)" : "");
#endif #endif /* GNUTLS_VERSION */
#else #else
gui_chat_printf (NULL, " gnutls: (not available)"); gui_chat_printf (NULL, " gnutls: (not available)");
#endif #endif /* HAVE_GNUTLS */
/* display curl version */ /* display curl version */
#ifdef LIBCURL_VERSION #ifdef LIBCURL_VERSION
gui_chat_printf (NULL, " curl: %s", LIBCURL_VERSION); gui_chat_printf (NULL, " curl: %s", LIBCURL_VERSION);
#else #else
gui_chat_printf (NULL, " curl: (?)"); gui_chat_printf (NULL, " curl: (?)");
#endif #endif /* LIBCURL_VERSION */
/* display zlib version */ /* display zlib version */
#ifdef ZLIB_VERSION #ifdef ZLIB_VERSION
gui_chat_printf (NULL, " zlib: %s", ZLIB_VERSION); gui_chat_printf (NULL, " zlib: %s", ZLIB_VERSION);
#else #else
gui_chat_printf (NULL, " zlib: (?)"); gui_chat_printf (NULL, " zlib: (?)");
#endif #endif /* ZLIB_VERSION */
return WEECHAT_RC_OK; return WEECHAT_RC_OK;
} }
+14 -3
View File
@@ -325,6 +325,9 @@ eval_replace_vars_cb (void *data, const char *text)
/* 5. color code */ /* 5. color code */
if (strncmp (text, "color:", 6) == 0) if (strncmp (text, "color:", 6) == 0)
{ {
ptr_value = gui_color_search_config (text + 6);
if (ptr_value)
return strdup (ptr_value);
ptr_value = gui_color_get_custom (text + 6); ptr_value = gui_color_get_custom (text + 6);
return strdup ((ptr_value) ? ptr_value : ""); return strdup ((ptr_value) ? ptr_value : "");
} }
@@ -349,7 +352,15 @@ eval_replace_vars_cb (void *data, const char *text)
return strdup ((ptr_value) ? ptr_value : ""); return strdup ((ptr_value) ? ptr_value : "");
} }
/* 7. option: if found, return this value */ /* 7. environment variable */
if (strncmp (text, "env:", 4) == 0)
{
ptr_value = getenv (text + 4);
if (ptr_value)
return strdup (ptr_value);
}
/* 8. option: if found, return this value */
if (strncmp (text, "sec.data.", 9) == 0) if (strncmp (text, "sec.data.", 9) == 0)
{ {
ptr_value = hashtable_get (secure_hashtable_data, text + 9); ptr_value = hashtable_get (secure_hashtable_data, text + 9);
@@ -382,7 +393,7 @@ eval_replace_vars_cb (void *data, const char *text)
} }
} }
/* 8. local variable in buffer */ /* 9. local variable in buffer */
ptr_buffer = hashtable_get (pointers, "buffer"); ptr_buffer = hashtable_get (pointers, "buffer");
if (ptr_buffer) if (ptr_buffer)
{ {
@@ -391,7 +402,7 @@ eval_replace_vars_cb (void *data, const char *text)
return strdup (ptr_value); return strdup (ptr_value);
} }
/* 9. hdata */ /* 10. hdata */
value = NULL; value = NULL;
hdata_name = NULL; hdata_name = NULL;
list_name = NULL; list_name = NULL;
+13 -12
View File
@@ -32,6 +32,7 @@
#include <time.h> #include <time.h>
#include <sys/types.h> #include <sys/types.h>
#include <sys/wait.h> #include <sys/wait.h>
#include <sys/select.h>
#include <signal.h> #include <signal.h>
#include <fcntl.h> #include <fcntl.h>
#include <errno.h> #include <errno.h>
@@ -2055,7 +2056,7 @@ hook_connect (struct t_weechat_plugin *plugin, const char *proxy,
struct t_hook_connect *new_hook_connect; struct t_hook_connect *new_hook_connect;
#ifdef HOOK_CONNECT_MAX_SOCKETS #ifdef HOOK_CONNECT_MAX_SOCKETS
int i; int i;
#endif #endif /* HOOK_CONNECT_MAX_SOCKETS */
#ifndef HAVE_GNUTLS #ifndef HAVE_GNUTLS
/* make C compiler happy */ /* make C compiler happy */
@@ -2063,7 +2064,7 @@ hook_connect (struct t_weechat_plugin *plugin, const char *proxy,
(void) gnutls_cb; (void) gnutls_cb;
(void) gnutls_dhkey_size; (void) gnutls_dhkey_size;
(void) gnutls_priorities; (void) gnutls_priorities;
#endif #endif /* HAVE_GNUTLS */
if (!address || (port <= 0) || !callback) if (!address || (port <= 0) || !callback)
return NULL; return NULL;
@@ -2095,7 +2096,7 @@ hook_connect (struct t_weechat_plugin *plugin, const char *proxy,
new_hook_connect->gnutls_dhkey_size = gnutls_dhkey_size; new_hook_connect->gnutls_dhkey_size = gnutls_dhkey_size;
new_hook_connect->gnutls_priorities = (gnutls_priorities) ? new_hook_connect->gnutls_priorities = (gnutls_priorities) ?
strdup (gnutls_priorities) : NULL; strdup (gnutls_priorities) : NULL;
#endif #endif /* HAVE_GNUTLS */
new_hook_connect->local_hostname = (local_hostname) ? new_hook_connect->local_hostname = (local_hostname) ?
strdup (local_hostname) : NULL; strdup (local_hostname) : NULL;
new_hook_connect->child_read = -1; new_hook_connect->child_read = -1;
@@ -2115,7 +2116,7 @@ hook_connect (struct t_weechat_plugin *plugin, const char *proxy,
new_hook_connect->sock_v4[i] = -1; new_hook_connect->sock_v4[i] = -1;
new_hook_connect->sock_v6[i] = -1; new_hook_connect->sock_v6[i] = -1;
} }
#endif #endif /* HOOK_CONNECT_MAX_SOCKETS */
hook_add_to_list (new_hook); hook_add_to_list (new_hook);
@@ -2155,7 +2156,7 @@ hook_connect_gnutls_verify_certificates (gnutls_session_t tls_session)
return rc; return rc;
} }
#endif #endif /* HAVE_GNUTLS */
/* /*
* Sets certificates. * Sets certificates.
@@ -2171,7 +2172,7 @@ hook_connect_gnutls_set_certificates (gnutls_session_t tls_session,
gnutls_retr2_st *answer) gnutls_retr2_st *answer)
#else #else
gnutls_retr_st *answer) gnutls_retr_st *answer)
#endif #endif /* LIBGNUTLS_VERSION_NUMBER >= 0x020b00 */
{ {
struct t_hook *ptr_hook; struct t_hook *ptr_hook;
int rc; int rc;
@@ -2196,7 +2197,7 @@ hook_connect_gnutls_set_certificates (gnutls_session_t tls_session,
return rc; return rc;
} }
#endif #endif /* HAVE_GNUTLS */
/* /*
* Hooks a message printed by WeeChat. * Hooks a message printed by WeeChat.
@@ -3579,7 +3580,7 @@ unhook (struct t_hook *hook)
#ifdef HAVE_GNUTLS #ifdef HAVE_GNUTLS
if (HOOK_CONNECT(hook, gnutls_priorities)) if (HOOK_CONNECT(hook, gnutls_priorities))
free (HOOK_CONNECT(hook, gnutls_priorities)); free (HOOK_CONNECT(hook, gnutls_priorities));
#endif #endif /* HAVE_GNUTLS */
if (HOOK_CONNECT(hook, local_hostname)) if (HOOK_CONNECT(hook, local_hostname))
free (HOOK_CONNECT(hook, local_hostname)); free (HOOK_CONNECT(hook, local_hostname));
if (HOOK_CONNECT(hook, hook_child_timer)) if (HOOK_CONNECT(hook, hook_child_timer))
@@ -3613,7 +3614,7 @@ unhook (struct t_hook *hook)
if (HOOK_CONNECT(hook, sock_v6[i]) != -1) if (HOOK_CONNECT(hook, sock_v6[i]) != -1)
close (HOOK_CONNECT(hook, sock_v6[i])); close (HOOK_CONNECT(hook, sock_v6[i]));
} }
#endif #endif /* HOOK_CONNECT_MAX_SOCKETS */
break; break;
case HOOK_TYPE_PRINT: case HOOK_TYPE_PRINT:
if (HOOK_PRINT(hook, tags_array)) if (HOOK_PRINT(hook, tags_array))
@@ -3932,7 +3933,7 @@ hook_add_to_infolist_pointer (struct t_infolist *infolist, struct t_hook *hook)
return 0; return 0;
if (!infolist_new_var_integer (ptr_item, "gnutls_dhkey_size", HOOK_CONNECT(hook, gnutls_dhkey_size))) if (!infolist_new_var_integer (ptr_item, "gnutls_dhkey_size", HOOK_CONNECT(hook, gnutls_dhkey_size)))
return 0; return 0;
#endif #endif /* HAVE_GNUTLS */
if (!infolist_new_var_string (ptr_item, "local_hostname", HOOK_CONNECT(hook, local_hostname))) if (!infolist_new_var_string (ptr_item, "local_hostname", HOOK_CONNECT(hook, local_hostname)))
return 0; return 0;
if (!infolist_new_var_integer (ptr_item, "child_read", HOOK_CONNECT(hook, child_read))) if (!infolist_new_var_integer (ptr_item, "child_read", HOOK_CONNECT(hook, child_read)))
@@ -4396,7 +4397,7 @@ hook_print_log ()
log_printf (" gnutls_cb . . . . . . : 0x%lx", HOOK_CONNECT(ptr_hook, gnutls_cb)); log_printf (" gnutls_cb . . . . . . : 0x%lx", HOOK_CONNECT(ptr_hook, gnutls_cb));
log_printf (" gnutls_dhkey_size . . : %d", HOOK_CONNECT(ptr_hook, gnutls_dhkey_size)); log_printf (" gnutls_dhkey_size . . : %d", HOOK_CONNECT(ptr_hook, gnutls_dhkey_size));
log_printf (" gnutls_priorities . . : '%s'", HOOK_CONNECT(ptr_hook, gnutls_priorities)); log_printf (" gnutls_priorities . . : '%s'", HOOK_CONNECT(ptr_hook, gnutls_priorities));
#endif #endif /* HAVE_GNUTLS */
log_printf (" local_hostname. . . . : '%s'", HOOK_CONNECT(ptr_hook, local_hostname)); log_printf (" local_hostname. . . . : '%s'", HOOK_CONNECT(ptr_hook, local_hostname));
log_printf (" child_read. . . . . . : %d", HOOK_CONNECT(ptr_hook, child_read)); log_printf (" child_read. . . . . . : %d", HOOK_CONNECT(ptr_hook, child_read));
log_printf (" child_write . . . . . : %d", HOOK_CONNECT(ptr_hook, child_write)); log_printf (" child_write . . . . . : %d", HOOK_CONNECT(ptr_hook, child_write));
@@ -4415,7 +4416,7 @@ hook_print_log ()
log_printf (" sock_v4[%d]. . . . . . : '%d'", HOOK_CONNECT(ptr_hook, sock_v4[i])); log_printf (" sock_v4[%d]. . . . . . : '%d'", HOOK_CONNECT(ptr_hook, sock_v4[i]));
log_printf (" sock_v6[%d]. . . . . . : '%d'", HOOK_CONNECT(ptr_hook, sock_v6[i])); log_printf (" sock_v6[%d]. . . . . . : '%d'", HOOK_CONNECT(ptr_hook, sock_v6[i]));
} }
#endif #endif /* HOOK_CONNECT_MAX_SOCKETS */
} }
break; break;
case HOOK_TYPE_PRINT: case HOOK_TYPE_PRINT:
+6 -6
View File
@@ -249,9 +249,9 @@ typedef int (gnutls_callback_t)(void *data, gnutls_session_t tls_session,
gnutls_retr2_st *answer, gnutls_retr2_st *answer,
#else #else
gnutls_retr_st *answer, gnutls_retr_st *answer,
#endif #endif /* LIBGNUTLS_VERSION_NUMBER >= 0x020b00 */
int action); int action);
#endif #endif /* HAVE_GNUTLS */
struct t_hook_connect struct t_hook_connect
{ {
@@ -267,7 +267,7 @@ struct t_hook_connect
gnutls_callback_t *gnutls_cb; /* GnuTLS callback during handshake */ gnutls_callback_t *gnutls_cb; /* GnuTLS callback during handshake */
int gnutls_dhkey_size; /* Diffie Hellman Key Exchange size */ int gnutls_dhkey_size; /* Diffie Hellman Key Exchange size */
char *gnutls_priorities; /* GnuTLS priorities */ char *gnutls_priorities; /* GnuTLS priorities */
#endif #endif /* HAVE_GNUTLS */
char *local_hostname; /* force local hostname (optional) */ char *local_hostname; /* force local hostname (optional) */
int child_read; /* to read data in pipe from child */ int child_read; /* to read data in pipe from child */
int child_write; /* to write data in pipe for child */ int child_write; /* to write data in pipe for child */
@@ -283,7 +283,7 @@ struct t_hook_connect
#ifdef HOOK_CONNECT_MAX_SOCKETS #ifdef HOOK_CONNECT_MAX_SOCKETS
int sock_v4[HOOK_CONNECT_MAX_SOCKETS]; /* IPv4 sockets for connecting */ int sock_v4[HOOK_CONNECT_MAX_SOCKETS]; /* IPv4 sockets for connecting */
int sock_v6[HOOK_CONNECT_MAX_SOCKETS]; /* IPv6 sockets for connecting */ int sock_v6[HOOK_CONNECT_MAX_SOCKETS]; /* IPv6 sockets for connecting */
#endif #endif /* HOOK_CONNECT_MAX_SOCKETS */
}; };
/* hook print */ /* hook print */
@@ -506,8 +506,8 @@ extern int hook_connect_gnutls_set_certificates (gnutls_session_t tls_session,
gnutls_retr2_st *answer); gnutls_retr2_st *answer);
#else #else
gnutls_retr_st *answer); gnutls_retr_st *answer);
#endif #endif /* LIBGNUTLS_VERSION_NUMBER >= 0x020b00 */
#endif #endif /* HAVE_GNUTLS */
extern struct t_hook *hook_print (struct t_weechat_plugin *plugin, extern struct t_hook *hook_print (struct t_weechat_plugin *plugin,
struct t_gui_buffer *buffer, struct t_gui_buffer *buffer,
const char *tags, const char *message, const char *tags, const char *message,
+2 -2
View File
@@ -98,7 +98,7 @@ log_open (const char *filename, const char *mode)
return 0; return 0;
} }
} }
#endif #endif /* HAVE_FLOCK */
return 1; return 1;
} }
@@ -224,7 +224,7 @@ log_close ()
{ {
#ifdef HAVE_FLOCK #ifdef HAVE_FLOCK
flock (fileno (weechat_log_file), LOCK_UN); flock (fileno (weechat_log_file), LOCK_UN);
#endif #endif /* HAVE_FLOCK */
fclose (weechat_log_file); fclose (weechat_log_file);
weechat_log_file = NULL; weechat_log_file = NULL;
} }
+25 -24
View File
@@ -39,6 +39,7 @@
#include <string.h> #include <string.h>
#include <sys/types.h> #include <sys/types.h>
#include <sys/socket.h> #include <sys/socket.h>
#include <sys/select.h>
#include <netinet/in.h> #include <netinet/in.h>
#include <arpa/inet.h> #include <arpa/inet.h>
#include <netdb.h> #include <netdb.h>
@@ -67,7 +68,7 @@ int network_init_gnutls_ok = 0;
#ifdef HAVE_GNUTLS #ifdef HAVE_GNUTLS
gnutls_certificate_credentials_t gnutls_xcred; /* GnuTLS client credentials */ gnutls_certificate_credentials_t gnutls_xcred; /* GnuTLS client credentials */
#endif #endif /* HAVE_GNUTLS */
/* /*
@@ -110,7 +111,7 @@ network_set_gnutls_ca_file ()
} }
free (ca_path); free (ca_path);
} }
#endif #endif /* HAVE_GNUTLS */
} }
/* /*
@@ -130,14 +131,14 @@ network_init_gnutls ()
#if LIBGNUTLS_VERSION_NUMBER >= 0x02090a /* 2.9.10 */ #if LIBGNUTLS_VERSION_NUMBER >= 0x02090a /* 2.9.10 */
gnutls_certificate_set_verify_function (gnutls_xcred, gnutls_certificate_set_verify_function (gnutls_xcred,
&hook_connect_gnutls_verify_certificates); &hook_connect_gnutls_verify_certificates);
#endif #endif /* LIBGNUTLS_VERSION_NUMBER >= 0x02090a */
#if LIBGNUTLS_VERSION_NUMBER >= 0x020b00 /* 2.11.0 */ #if LIBGNUTLS_VERSION_NUMBER >= 0x020b00 /* 2.11.0 */
gnutls_certificate_set_retrieve_function (gnutls_xcred, gnutls_certificate_set_retrieve_function (gnutls_xcred,
&hook_connect_gnutls_set_certificates); &hook_connect_gnutls_set_certificates);
#else #else
gnutls_certificate_client_set_retrieve_function (gnutls_xcred, gnutls_certificate_client_set_retrieve_function (gnutls_xcred,
&hook_connect_gnutls_set_certificates); &hook_connect_gnutls_set_certificates);
#endif #endif /* LIBGNUTLS_VERSION_NUMBER >= 0x020b00 */
} }
#endif /* HAVE_GNUTLS */ #endif /* HAVE_GNUTLS */
@@ -159,7 +160,7 @@ network_end ()
gnutls_certificate_free_credentials (gnutls_xcred); gnutls_certificate_free_credentials (gnutls_xcred);
gnutls_global_deinit(); gnutls_global_deinit();
} }
#endif #endif /* HAVE_GNUTLS */
network_init_gnutls_ok = 0; network_init_gnutls_ok = 0;
} }
} }
@@ -753,7 +754,7 @@ network_connect_child (struct t_hook *hook_connect)
char msg_buf[CMSG_SPACE(sizeof (sock))]; char msg_buf[CMSG_SPACE(sizeof (sock))];
struct iovec iov[1]; struct iovec iov[1];
char iov_data[1] = { 0 }; char iov_data[1] = { 0 };
#endif #endif /* HOOK_CONNECT_MAX_SOCKETS */
/* /*
* indicates that something is wrong with whichever group of * indicates that something is wrong with whichever group of
* servers is being tried first after connecting, so start at * servers is being tried first after connecting, so start at
@@ -800,7 +801,7 @@ network_connect_child (struct t_hook *hook_connect)
hints.ai_socktype = SOCK_STREAM; hints.ai_socktype = SOCK_STREAM;
#ifdef AI_ADDRCONFIG #ifdef AI_ADDRCONFIG
hints.ai_flags = AI_ADDRCONFIG; hints.ai_flags = AI_ADDRCONFIG;
#endif #endif /* AI_ADDRCONFIG */
if (ptr_proxy) if (ptr_proxy)
{ {
hints.ai_family = (CONFIG_BOOLEAN(ptr_proxy->options[PROXY_OPTION_IPV6])) ? hints.ai_family = (CONFIG_BOOLEAN(ptr_proxy->options[PROXY_OPTION_IPV6])) ?
@@ -868,7 +869,7 @@ network_connect_child (struct t_hook *hook_connect)
hints.ai_socktype = SOCK_STREAM; hints.ai_socktype = SOCK_STREAM;
#ifdef AI_ADDRCONFIG #ifdef AI_ADDRCONFIG
hints.ai_flags = AI_ADDRCONFIG; hints.ai_flags = AI_ADDRCONFIG;
#endif #endif /* AI_ADDRCONFIG */
rc = getaddrinfo (HOOK_CONNECT(hook_connect, local_hostname), rc = getaddrinfo (HOOK_CONNECT(hook_connect, local_hostname),
NULL, &hints, &res_local); NULL, &hints, &res_local);
if (rc != 0) if (rc != 0)
@@ -1070,7 +1071,7 @@ network_connect_child (struct t_hook *hook_connect)
sock = socket (ptr_res->ai_family, sock = socket (ptr_res->ai_family,
ptr_res->ai_socktype, ptr_res->ai_socktype,
ptr_res->ai_protocol); ptr_res->ai_protocol);
#endif #endif /* HOOK_CONNECT_MAX_SOCKETS */
if (sock < 0) if (sock < 0)
{ {
status_str[0] = '0' + WEECHAT_HOOK_CONNECT_SOCKET_ERROR; status_str[0] = '0' + WEECHAT_HOOK_CONNECT_SOCKET_ERROR;
@@ -1201,7 +1202,7 @@ network_connect_child (struct t_hook *hook_connect)
#else #else
num_written = write (HOOK_CONNECT(hook_connect, child_write), &sock, sizeof (sock)); num_written = write (HOOK_CONNECT(hook_connect, child_write), &sock, sizeof (sock));
(void) num_written; (void) num_written;
#endif #endif /* HOOK_CONNECT_MAX_SOCKETS */
} }
else else
{ {
@@ -1313,7 +1314,7 @@ network_connect_gnutls_handshake_fd_cb (void *arg_hook_connect, int fd)
unhook (hook_connect); unhook (hook_connect);
return WEECHAT_RC_OK; return WEECHAT_RC_OK;
} }
#endif #endif /* LIBGNUTLS_VERSION_NUMBER < 0x02090a */
unhook (HOOK_CONNECT(hook_connect, handshake_hook_fd)); unhook (HOOK_CONNECT(hook_connect, handshake_hook_fd));
(void) (HOOK_CONNECT(hook_connect, callback)) (void) (HOOK_CONNECT(hook_connect, callback))
(hook_connect->callback_data, (hook_connect->callback_data,
@@ -1325,7 +1326,7 @@ network_connect_gnutls_handshake_fd_cb (void *arg_hook_connect, int fd)
return WEECHAT_RC_OK; return WEECHAT_RC_OK;
} }
#endif #endif /* HAVE_GNUTLS */
/* /*
* Timer callback for timeout of handshake. * Timer callback for timeout of handshake.
@@ -1356,7 +1357,7 @@ network_connect_gnutls_handshake_timer_cb (void *arg_hook_connect,
return WEECHAT_RC_OK; return WEECHAT_RC_OK;
} }
#endif #endif /* HAVE_GNUTLS */
/* /*
* Reads connection progress from child process. * Reads connection progress from child process.
@@ -1371,7 +1372,7 @@ network_connect_child_read_cb (void *arg_hook_connect, int fd)
long size_msg; long size_msg;
#ifdef HAVE_GNUTLS #ifdef HAVE_GNUTLS
int rc, direction; int rc, direction;
#endif #endif /* HAVE_GNUTLS */
int sock; int sock;
#ifdef HOOK_CONNECT_MAX_SOCKETS #ifdef HOOK_CONNECT_MAX_SOCKETS
int i; int i;
@@ -1381,7 +1382,7 @@ network_connect_child_read_cb (void *arg_hook_connect, int fd)
char msg_buf[CMSG_SPACE(sizeof (sock))]; char msg_buf[CMSG_SPACE(sizeof (sock))];
struct iovec iov[1]; struct iovec iov[1];
char iov_data[1]; char iov_data[1];
#endif #endif /* HOOK_CONNECT_MAX_SOCKETS */
/* make C compiler happy */ /* make C compiler happy */
(void) fd; (void) fd;
@@ -1461,7 +1462,7 @@ network_connect_child_read_cb (void *arg_hook_connect, int fd)
if (HOOK_CONNECT(hook_connect, sock_v6[i]) == sock) if (HOOK_CONNECT(hook_connect, sock_v6[i]) == sock)
HOOK_CONNECT(hook_connect, sock_v6[i]) = -1; HOOK_CONNECT(hook_connect, sock_v6[i]) = -1;
} }
#endif #endif /* HOOK_CONNECT_MAX_SOCKETS */
HOOK_CONNECT(hook_connect, sock) = sock; HOOK_CONNECT(hook_connect, sock) = sock;
@@ -1545,9 +1546,9 @@ network_connect_child_read_cb (void *arg_hook_connect, int fd)
free (cb_ip_address); free (cb_ip_address);
return WEECHAT_RC_OK; return WEECHAT_RC_OK;
} }
#endif #endif /* LIBGNUTLS_VERSION_NUMBER < 0x02090a */
} }
#endif #endif /* HAVE_GNUTLS */
} }
else else
{ {
@@ -1610,10 +1611,10 @@ network_connect_with_fork (struct t_hook *hook_connect)
int i; int i;
#else #else
int child_socket[2]; int child_socket[2];
#endif #endif /* HOOK_CONNECT_MAX_SOCKETS */
#ifdef HAVE_GNUTLS #ifdef HAVE_GNUTLS
const char *pos_error; const char *pos_error;
#endif #endif /* HAVE_GNUTLS */
pid_t pid; pid_t pid;
#ifdef HAVE_GNUTLS #ifdef HAVE_GNUTLS
@@ -1647,7 +1648,7 @@ network_connect_with_fork (struct t_hook *hook_connect)
gnutls_transport_set_ptr (*HOOK_CONNECT(hook_connect, gnutls_sess), gnutls_transport_set_ptr (*HOOK_CONNECT(hook_connect, gnutls_sess),
(gnutls_transport_ptr_t) ((unsigned long) HOOK_CONNECT(hook_connect, sock))); (gnutls_transport_ptr_t) ((unsigned long) HOOK_CONNECT(hook_connect, sock)));
} }
#endif #endif /* HAVE_GNUTLS */
/* create pipe for child process */ /* create pipe for child process */
if (pipe (child_pipe) < 0) if (pipe (child_pipe) < 0)
@@ -1681,7 +1682,7 @@ network_connect_with_fork (struct t_hook *hook_connect)
HOOK_CONNECT(hook_connect, sock_v4[i]) = socket (AF_INET, SOCK_STREAM, 0); HOOK_CONNECT(hook_connect, sock_v4[i]) = socket (AF_INET, SOCK_STREAM, 0);
HOOK_CONNECT(hook_connect, sock_v6[i]) = socket (AF_INET6, SOCK_STREAM, 0); HOOK_CONNECT(hook_connect, sock_v6[i]) = socket (AF_INET6, SOCK_STREAM, 0);
} }
#endif #endif /* HOOK_CONNECT_MAX_SOCKETS */
switch (pid = fork ()) switch (pid = fork ())
{ {
@@ -1700,7 +1701,7 @@ network_connect_with_fork (struct t_hook *hook_connect)
close (HOOK_CONNECT(hook_connect, child_read)); close (HOOK_CONNECT(hook_connect, child_read));
#ifndef HOOK_CONNECT_MAX_SOCKETS #ifndef HOOK_CONNECT_MAX_SOCKETS
close (HOOK_CONNECT(hook_connect, child_recv)); close (HOOK_CONNECT(hook_connect, child_recv));
#endif #endif /* HOOK_CONNECT_MAX_SOCKETS */
network_connect_child (hook_connect); network_connect_child (hook_connect);
_exit (EXIT_SUCCESS); _exit (EXIT_SUCCESS);
} }
@@ -1711,7 +1712,7 @@ network_connect_with_fork (struct t_hook *hook_connect)
#ifndef HOOK_CONNECT_MAX_SOCKETS #ifndef HOOK_CONNECT_MAX_SOCKETS
close (HOOK_CONNECT(hook_connect, child_send)); close (HOOK_CONNECT(hook_connect, child_send));
HOOK_CONNECT(hook_connect, child_send) = -1; HOOK_CONNECT(hook_connect, child_send) = -1;
#endif #endif /* HOOK_CONNECT_MAX_SOCKETS */
HOOK_CONNECT(hook_connect, hook_child_timer) = hook_timer (hook_connect->plugin, HOOK_CONNECT(hook_connect, hook_child_timer) = hook_timer (hook_connect->plugin,
CONFIG_INTEGER(config_network_connection_timeout) * 1000, CONFIG_INTEGER(config_network_connection_timeout) * 1000,
0, 1, 0, 1,
+2 -2
View File
@@ -43,7 +43,7 @@
#else #else
#define ICONV_CONST #define ICONV_CONST
#endif #endif
#endif #endif /* ICONV_CONST */
#include "weechat.h" #include "weechat.h"
#include "wee-string.h" #include "wee-string.h"
@@ -2123,7 +2123,7 @@ string_iconv (int from_utf8, const char *from_code, const char *to_code,
char *ptr_inbuf_shift; char *ptr_inbuf_shift;
int done; int done;
size_t err, inbytesleft, outbytesleft; size_t err, inbytesleft, outbytesleft;
#endif #endif /* HAVE_ICONV */
if (!string) if (!string)
return NULL; return NULL;
+6 -6
View File
@@ -938,23 +938,23 @@ weeurl_set_proxy (CURL *curl, struct t_proxy *proxy)
curl_easy_setopt (curl, CURLOPT_PROXYTYPE, CURLPROXY_HTTP); curl_easy_setopt (curl, CURLOPT_PROXYTYPE, CURLPROXY_HTTP);
break; break;
case PROXY_TYPE_SOCKS4: case PROXY_TYPE_SOCKS4:
#if LIBCURL_VERSION_NUM < 0x070A00 #if LIBCURL_VERSION_NUM < 0x070A00 /* 7.10.0 */
/* proxy socks4 not supported in Curl < 7.10 */ /* proxy socks4 not supported in Curl < 7.10 */
return; return;
#endif #endif /* LIBCURL_VERSION_NUM < 0x070A00 */
curl_easy_setopt (curl, CURLOPT_PROXYTYPE, CURLPROXY_SOCKS4); curl_easy_setopt (curl, CURLOPT_PROXYTYPE, CURLPROXY_SOCKS4);
break; break;
case PROXY_TYPE_SOCKS5: case PROXY_TYPE_SOCKS5:
#if LIBCURL_VERSION_NUM < 0x070A00 #if LIBCURL_VERSION_NUM < 0x070A00 /* 7.10.0 */
/* proxy socks5 not supported in Curl < 7.10 */ /* proxy socks5 not supported in Curl < 7.10 */
return; return;
#endif #endif /* LIBCURL_VERSION_NUM < 0x070A00 */
#if LIBCURL_VERSION_NUM >= 0x071200 /* 7.18.0 */ #if LIBCURL_VERSION_NUM >= 0x071200 /* 7.18.0 */
curl_easy_setopt (curl, CURLOPT_PROXYTYPE, curl_easy_setopt (curl, CURLOPT_PROXYTYPE,
CURLPROXY_SOCKS5_HOSTNAME); CURLPROXY_SOCKS5_HOSTNAME);
#else #else
curl_easy_setopt (curl, CURLOPT_PROXYTYPE, CURLPROXY_SOCKS5); curl_easy_setopt (curl, CURLOPT_PROXYTYPE, CURLPROXY_SOCKS5);
#endif #endif /* LIBCURL_VERSION_NUM >= 0x071200 */
break; break;
} }
@@ -980,7 +980,7 @@ weeurl_set_proxy (CURL *curl, struct t_proxy *proxy)
curl_easy_setopt (curl, CURLOPT_PROXYPASSWORD, curl_easy_setopt (curl, CURLOPT_PROXYPASSWORD,
CONFIG_STRING(proxy->options[PROXY_OPTION_PASSWORD])); CONFIG_STRING(proxy->options[PROXY_OPTION_PASSWORD]));
} }
#endif #endif /* LIBCURL_VERSION_NUM >= 0x071301 */
} }
/* /*
+2 -2
View File
@@ -180,7 +180,7 @@ util_setrlimit_resource (const char *resource_name, long limit)
gui_chat_prefix[GUI_CHAT_PREFIX_ERROR], gui_chat_prefix[GUI_CHAT_PREFIX_ERROR],
resource_name); resource_name);
} }
#endif #endif /* HAVE_SYS_RESOURCE_H */
/* /*
* Sets resource limits using value of option "weechat.startup.sys_rlimit". * Sets resource limits using value of option "weechat.startup.sys_rlimit".
@@ -222,7 +222,7 @@ util_setrlimit ()
} }
string_free_split (items); string_free_split (items);
} }
#endif #endif /* HAVE_SYS_RESOURCE_H */
} }
/* /*
+130 -62
View File
@@ -137,19 +137,21 @@ weechat_display_usage (char *exec_name)
_("Usage: %s [option...] [plugin:option...]\n"), _("Usage: %s [option...] [plugin:option...]\n"),
exec_name, exec_name); exec_name, exec_name);
string_iconv_fprintf (stdout, "\n"); string_iconv_fprintf (stdout, "\n");
string_iconv_fprintf (stdout, string_iconv_fprintf (
_(" -a, --no-connect disable auto-connect to servers at startup\n" stdout,
" -c, --colors display default colors in terminal\n" _(" -a, --no-connect disable auto-connect to servers at startup\n"
" -d, --dir <path> set WeeChat home directory (default: ~/.weechat)\n" " -c, --colors display default colors in terminal\n"
" -h, --help display this help\n" " -d, --dir <path> set WeeChat home directory (default: ~/.weechat)\n"
" -l, --license display WeeChat license\n" " (environment variable WEECHAT_HOME is read if this option is not given)\n"
" -p, --no-plugin don't load any plugin at startup\n" " -h, --help display this help\n"
" -r, --run-command <cmd> run command(s) after startup\n" " -l, --license display WeeChat license\n"
" (many commands can be separated by semicolons)\n" " -p, --no-plugin don't load any plugin at startup\n"
" -s, --no-script don't load any script at startup\n" " -r, --run-command <cmd> run command(s) after startup\n"
" --upgrade upgrade WeeChat using session files (see /help upgrade in WeeChat)\n" " (many commands can be separated by semicolons)\n"
" -v, --version display WeeChat version\n" " -s, --no-script don't load any script at startup\n"
" plugin:option option for plugin (see man weechat)\n")); " --upgrade upgrade WeeChat using session files (see /help upgrade in WeeChat)\n"
" -v, --version display WeeChat version\n"
" plugin:option option for plugin (see man weechat)\n"));
string_iconv_fprintf(stdout, "\n"); string_iconv_fprintf(stdout, "\n");
} }
@@ -270,6 +272,52 @@ weechat_parse_args (int argc, char *argv[])
} }
} }
/*
* Expands and assigns given path to "weechat_home".
*/
void
weechat_set_home_path (char *home_path)
{
char *ptr_home;
int dir_length;
if (home_path[0] == '~')
{
/* replace leading '~' by $HOME */
ptr_home = getenv ("HOME");
if (!ptr_home)
{
string_iconv_fprintf (stderr,
_("Error: unable to get HOME directory\n"));
weechat_shutdown (EXIT_FAILURE, 0);
/* make C static analyzer happy (never executed) */
return;
}
dir_length = strlen (ptr_home) + strlen (home_path + 1) + 1;
weechat_home = malloc (dir_length);
if (weechat_home)
{
snprintf (weechat_home, dir_length,
"%s%s", ptr_home, home_path + 1);
}
}
else
{
weechat_home = strdup (home_path);
}
if (!weechat_home)
{
string_iconv_fprintf (stderr,
_("Error: not enough memory for home "
"directory\n"));
weechat_shutdown (EXIT_FAILURE, 0);
/* make C static analyzer happy (never executed) */
return;
}
}
/* /*
* Creates WeeChat home directory (by default ~/.weechat). * Creates WeeChat home directory (by default ~/.weechat).
* *
@@ -280,13 +328,25 @@ weechat_parse_args (int argc, char *argv[])
void void
weechat_create_home_dir () weechat_create_home_dir ()
{ {
char *ptr_home, *config_weechat_home = WEECHAT_HOME; char *ptr_weechat_home, *config_weechat_home;
int dir_length;
struct stat statinfo; struct stat statinfo;
/*
* weechat_home is not set yet: look for environment variable
* "WEECHAT_HOME"
*/
if (!weechat_home) if (!weechat_home)
{ {
if (strlen (config_weechat_home) == 0) ptr_weechat_home = getenv ("WEECHAT_HOME");
if (ptr_weechat_home && ptr_weechat_home[0])
weechat_set_home_path (ptr_weechat_home);
}
/* weechat_home is still not set: try to use compile time default */
if (!weechat_home)
{
config_weechat_home = WEECHAT_HOME;
if (!config_weechat_home[0])
{ {
string_iconv_fprintf (stderr, string_iconv_fprintf (stderr,
_("Error: WEECHAT_HOME is undefined, check " _("Error: WEECHAT_HOME is undefined, check "
@@ -295,41 +355,7 @@ weechat_create_home_dir ()
/* make C static analyzer happy (never executed) */ /* make C static analyzer happy (never executed) */
return; return;
} }
weechat_set_home_path (config_weechat_home);
if (config_weechat_home[0] == '~')
{
/* replace leading '~' by $HOME */
ptr_home = getenv ("HOME");
if (!ptr_home)
{
string_iconv_fprintf (stderr,
_("Error: unable to get HOME directory\n"));
weechat_shutdown (EXIT_FAILURE, 0);
/* make C static analyzer happy (never executed) */
return;
}
dir_length = strlen (ptr_home) + strlen (config_weechat_home + 1) + 1;
weechat_home = malloc (dir_length);
if (weechat_home)
{
snprintf (weechat_home, dir_length,
"%s%s", ptr_home, config_weechat_home + 1);
}
}
else
{
weechat_home = strdup (config_weechat_home);
}
if (!weechat_home)
{
string_iconv_fprintf (stderr,
_("Error: not enough memory for home "
"directory\n"));
weechat_shutdown (EXIT_FAILURE, 0);
/* make C static analyzer happy (never executed) */
return;
}
} }
/* if home already exists, it has to be a directory */ /* if home already exists, it has to be a directory */
@@ -341,6 +367,8 @@ weechat_create_home_dir ()
_("Error: home (%s) is not a directory\n"), _("Error: home (%s) is not a directory\n"),
weechat_home); weechat_home);
weechat_shutdown (EXIT_FAILURE, 0); weechat_shutdown (EXIT_FAILURE, 0);
/* make C static analyzer happy (never executed) */
return;
} }
} }
@@ -351,15 +379,17 @@ weechat_create_home_dir ()
_("Error: cannot create directory \"%s\"\n"), _("Error: cannot create directory \"%s\"\n"),
weechat_home); weechat_home);
weechat_shutdown (EXIT_FAILURE, 0); weechat_shutdown (EXIT_FAILURE, 0);
/* make C static analyzer happy (never executed) */
return;
} }
} }
/* /*
* Displays WeeChat welcome message. * Displays WeeChat startup message.
*/ */
void void
weechat_welcome_message () weechat_startup_message ()
{ {
if (CONFIG_BOOLEAN(config_startup_display_logo)) if (CONFIG_BOOLEAN(config_startup_display_logo))
{ {
@@ -385,6 +415,30 @@ weechat_welcome_message ()
gui_chat_printf (NULL, gui_chat_printf (NULL,
"- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -"); "- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -");
} }
if (weechat_first_start)
{
/* message on first run (when weechat.conf is created) */
gui_chat_printf (NULL, "");
gui_chat_printf (
NULL,
_("Welcome to WeeChat!\n"
"\n"
"If you are discovering WeeChat, it is recommended to read at "
"least the quickstart guide, and the user's guide if you have "
"some time; they explain main WeeChat concepts.\n"
"All WeeChat docs are available at: https://weechat.org/doc\n"
"\n"
"Moreover, there is inline help with /help on all commands and "
"options (use Tab key to complete the name).\n"
"The command /iset (script iset.pl) can help to customize "
"WeeChat: /script install iset.pl\n"
"\n"
"You can create and connect to an IRC server with /server and "
"/connect commands (see /help server)."));
gui_chat_printf (NULL, "---");
gui_chat_printf (NULL, "");
}
} }
/* /*
@@ -467,9 +521,16 @@ weechat_sighup ()
void void
weechat_sigquit () weechat_sigquit ()
{ {
log_printf (_("Signal %s received, exiting WeeChat..."), "SIGQUIT"); int rc;
(void) hook_signal_send ("quit", WEECHAT_HOOK_SIGNAL_STRING, NULL);
weechat_quit = 1; rc = hook_signal_send ("signal_sigquit",
WEECHAT_HOOK_SIGNAL_STRING, NULL);
if (rc != WEECHAT_RC_OK_EAT)
{
log_printf (_("Signal %s received, exiting WeeChat..."), "SIGQUIT");
(void) hook_signal_send ("quit", WEECHAT_HOOK_SIGNAL_STRING, NULL);
weechat_quit = 1;
}
} }
/* /*
@@ -479,9 +540,16 @@ weechat_sigquit ()
void void
weechat_sigterm () weechat_sigterm ()
{ {
log_printf (_("Signal %s received, exiting WeeChat..."), "SIGTERM"); int rc;
(void) hook_signal_send ("quit", WEECHAT_HOOK_SIGNAL_STRING, NULL);
weechat_quit = 1; rc = hook_signal_send ("signal_sigterm",
WEECHAT_HOOK_SIGNAL_STRING, NULL);
if (rc != WEECHAT_RC_OK_EAT)
{
log_printf (_("Signal %s received, exiting WeeChat..."), "SIGTERM");
(void) hook_signal_send ("quit", WEECHAT_HOOK_SIGNAL_STRING, NULL);
weechat_quit = 1;
}
} }
/* /*
@@ -526,13 +594,13 @@ weechat_init (int argc, char *argv[], void (*gui_init_cb)())
bindtextdomain (PACKAGE, LOCALEDIR); bindtextdomain (PACKAGE, LOCALEDIR);
bind_textdomain_codeset (PACKAGE, "UTF-8"); bind_textdomain_codeset (PACKAGE, "UTF-8");
textdomain (PACKAGE); textdomain (PACKAGE);
#endif #endif /* ENABLE_NLS */
#ifdef HAVE_LANGINFO_CODESET #ifdef HAVE_LANGINFO_CODESET
weechat_local_charset = strdup (nl_langinfo (CODESET)); weechat_local_charset = strdup (nl_langinfo (CODESET));
#else #else
weechat_local_charset = strdup (""); weechat_local_charset = strdup ("");
#endif #endif /* HAVE_LANGINFO_CODESET */
utf8_init (); utf8_init ();
/* catch signals */ /* catch signals */
@@ -573,7 +641,7 @@ weechat_init (int argc, char *argv[], void (*gui_init_cb)())
upgrade_weechat_load (); /* upgrade with session file */ upgrade_weechat_load (); /* upgrade with session file */
weechat_upgrade_count++; /* increase /upgrade count */ weechat_upgrade_count++; /* increase /upgrade count */
} }
weechat_welcome_message (); /* display WeeChat welcome message */ weechat_startup_message (); /* display WeeChat startup message */
gui_chat_print_lines_waiting_buffer (NULL); /* display lines waiting */ gui_chat_print_lines_waiting_buffer (NULL); /* display lines waiting */
weechat_term_check (); /* warnings about $TERM (if wrong) */ weechat_term_check (); /* warnings about $TERM (if wrong) */
weechat_locale_check (); /* warning about wrong locale */ weechat_locale_check (); /* warning about wrong locale */
+6 -6
View File
@@ -35,20 +35,20 @@
#include <libintl.h> #include <libintl.h>
#else #else
#include "../../intl/libintl.h" #include "../../intl/libintl.h"
#endif #endif /* HAVE_LIBINTL_H */
#define _(string) gettext(string) #define _(string) gettext(string)
#define NG_(single,plural,number) ngettext(single,plural,number) #define NG_(single,plural,number) ngettext(single,plural,number)
#ifdef gettext_noop #ifdef gettext_noop
#define N_(string) gettext_noop(string) #define N_(string) gettext_noop(string)
#else #else
#define N_(string) (string) #define N_(string) (string)
#endif #endif /* gettext_noop */
#endif #endif /* defined(ENABLE_NLS) && !defined(_) */
#if !defined(_) #if !defined(_)
#define _(string) (string) #define _(string) (string)
#define NG_(single,plural,number) (plural) #define NG_(single,plural,number) (plural)
#define N_(string) (string) #define N_(string) (string)
#endif #endif /* !defined(_) */
#define WEECHAT_COPYRIGHT_DATE "(C) 2003-2015" #define WEECHAT_COPYRIGHT_DATE "(C) 2003-2015"
@@ -81,12 +81,12 @@
#else #else
#define DIR_SEPARATOR "/" #define DIR_SEPARATOR "/"
#define DIR_SEPARATOR_CHAR '/' #define DIR_SEPARATOR_CHAR '/'
#endif #endif /* _WIN32 */
/* some systems like GNU/Hurd do not define PATH_MAX */ /* some systems like GNU/Hurd do not define PATH_MAX */
#ifndef PATH_MAX #ifndef PATH_MAX
#define PATH_MAX 4096 #define PATH_MAX 4096
#endif #endif /* PATH_MAX */
/* internal charset */ /* internal charset */
#define WEECHAT_INTERNAL_CHARSET "UTF-8" #define WEECHAT_INTERNAL_CHARSET "UTF-8"
+2 -31
View File
@@ -29,6 +29,7 @@
#include <string.h> #include <string.h>
#include <signal.h> #include <signal.h>
#include <time.h> #include <time.h>
#include <sys/select.h>
#include "../../core/weechat.h" #include "../../core/weechat.h"
#include "../../core/wee-command.h" #include "../../core/wee-command.h"
@@ -228,32 +229,6 @@ gui_main_init ()
gui_window_set_bracketed_paste_mode (CONFIG_BOOLEAN(config_look_paste_bracketed)); gui_window_set_bracketed_paste_mode (CONFIG_BOOLEAN(config_look_paste_bracketed));
} }
/*
* Displays a message on first WeeChat run (when weechat.conf is created).
*/
void
gui_main_welcome_message ()
{
gui_chat_printf (
NULL,
_("\n"
"Welcome to WeeChat!\n"
"\n"
"If you are discovering WeeChat, it is recommended to read at least "
"the quickstart guide, and the user's guide if you have some time; "
"they explain main WeeChat concepts.\n"
"All WeeChat docs are available at: https://weechat.org/doc\n"
"\n"
"Moreover, there is inline help with /help on all commands and "
"options (use Tab key to complete the name).\n"
"The command /iset (script iset.pl) can help to customize WeeChat: "
"/script install iset.pl\n"
"\n"
"You can create and connect to an IRC server with /server and "
"/connect commands (see /help server)."));
}
/* /*
* Callback for system signal SIGWINCH: refreshes screen. * Callback for system signal SIGWINCH: refreshes screen.
*/ */
@@ -278,7 +253,7 @@ gui_main_debug_libs ()
NCURSES_VERSION, NCURSES_VERSION_PATCH); NCURSES_VERSION, NCURSES_VERSION_PATCH);
#else #else
gui_chat_printf (NULL, " ncurses: (?)"); gui_chat_printf (NULL, " ncurses: (?)");
#endif #endif /* defined(NCURSES_VERSION) && defined(NCURSES_VERSION_PATCH) */
} }
/* /*
@@ -401,10 +376,6 @@ gui_main_loop ()
int max_fd; int max_fd;
int ready; int ready;
/* message on first run of WeeChat */
if (weechat_first_start)
gui_main_welcome_message ();
/* catch SIGWINCH signal: redraw screen */ /* catch SIGWINCH signal: redraw screen */
util_catch_signal (SIGWINCH, &gui_main_signal_sigwinch); util_catch_signal (SIGWINCH, &gui_main_signal_sigwinch);
+3 -3
View File
@@ -28,10 +28,10 @@
#include <ncurses/term.h> #include <ncurses/term.h>
#else #else
#include <ncursesw/term.h> #include <ncursesw/term.h>
#endif #endif /* __sun */
#else #else
#include <term.h> #include <term.h>
#endif #endif /* HAVE_NCURSESW_CURSES_H */
/* /*
@@ -50,5 +50,5 @@ gui_term_set_eat_newline_glitch (int value)
#else #else
/* make C compiler happy */ /* make C compiler happy */
(void) value; (void) value;
#endif #endif /* HAVE_EAT_NEWLINE_GLITCH */
} }
+2 -2
View File
@@ -28,7 +28,7 @@
#include <ncurses.h> #include <ncurses.h>
#else #else
#include <curses.h> #include <curses.h>
#endif #endif /* HAVE_NCURSESW_CURSES_H */
struct t_gui_buffer; struct t_gui_buffer;
struct t_gui_line; struct t_gui_line;
@@ -39,7 +39,7 @@ struct t_gui_bar_window;
#ifndef A_ITALIC /* A_ITALIC is defined in ncurses >= 5.9 patch 20130831 */ #ifndef A_ITALIC /* A_ITALIC is defined in ncurses >= 5.9 patch 20130831 */
#define A_ITALIC 0 #define A_ITALIC 0
#endif #endif /* A_ITALIC */
#define A_ALL_ATTR A_BOLD | A_UNDERLINE | A_REVERSE | A_ITALIC #define A_ALL_ATTR A_BOLD | A_UNDERLINE | A_REVERSE | A_ITALIC
+4 -4
View File
@@ -1784,10 +1784,10 @@ gui_bar_item_default_window_number (void *data, struct t_gui_bar_item *item,
*/ */
char * char *
gui_bar_item_default_mouse_status (void *data, struct t_gui_bar_item *item, gui_bar_item_default_mouse_status (void *data, struct t_gui_bar_item *item,
struct t_gui_window *window, struct t_gui_window *window,
struct t_gui_buffer *buffer, struct t_gui_buffer *buffer,
struct t_hashtable *extra_info) struct t_hashtable *extra_info)
{ {
char str_mouse[512]; char str_mouse[512];
+48 -14
View File
@@ -112,6 +112,37 @@ char *gui_color_ansi[16] =
}; };
/*
* Returns a color code from an option, which can be a color or a string.
*
* Returns NULL if the option has a wrong type.
*/
const char *
gui_color_from_option (struct t_config_option *option)
{
if (!option)
return NULL;
switch (option->type)
{
case CONFIG_OPTION_TYPE_COLOR:
if (option->min < 0)
{
return gui_color_get_custom (
gui_color_get_name (CONFIG_COLOR(option)));
}
return GUI_COLOR(option->min);
case CONFIG_OPTION_TYPE_STRING:
return gui_color_get_custom (CONFIG_STRING(option));
default:
return NULL;
}
/* never executed */
return NULL;
}
/* /*
* Searches for a color with configuration option name. * Searches for a color with configuration option name.
* *
@@ -123,21 +154,24 @@ gui_color_search_config (const char *color_name)
{ {
struct t_config_option *ptr_option; struct t_config_option *ptr_option;
if (color_name) if (!color_name)
return NULL;
/* search in weechat.conf colors (example: "chat_delimiters") */
for (ptr_option = weechat_config_section_color->options;
ptr_option; ptr_option = ptr_option->next_option)
{ {
for (ptr_option = weechat_config_section_color->options; if (string_strcasecmp (ptr_option->name, color_name) == 0)
ptr_option; ptr_option = ptr_option->next_option) return gui_color_from_option (ptr_option);
{ }
if (string_strcasecmp (ptr_option->name, color_name) == 0)
{ /* search in any configuration file (example: "irc.color.message_quit") */
if (ptr_option->min < 0) if (strchr (color_name, '.'))
{ {
return gui_color_get_custom ( config_file_search_with_string (color_name, NULL, NULL, &ptr_option,
gui_color_get_name (CONFIG_COLOR(ptr_option))); NULL);
} if (ptr_option)
return GUI_COLOR(ptr_option->min); return gui_color_from_option (ptr_option);
}
}
} }
/* color not found */ /* color not found */
+3
View File
@@ -22,6 +22,8 @@
#include <regex.h> #include <regex.h>
struct t_config_option;
/* /*
* Color from configuration options. * Color from configuration options.
* When changing some colors below: * When changing some colors below:
@@ -173,6 +175,7 @@ extern struct t_weelist *gui_color_list_with_alias;
/* color functions */ /* color functions */
extern const char *gui_color_from_option (struct t_config_option *option);
extern const char *gui_color_search_config (const char *color_name); extern const char *gui_color_search_config (const char *color_name);
extern int gui_color_attr_get_flag (char c); extern int gui_color_attr_get_flag (char c);
extern void gui_color_attr_build_string (int color, char *str_attr); extern void gui_color_attr_build_string (int color, char *str_attr);
+6 -6
View File
@@ -130,7 +130,7 @@ weechat_aspell_enchant_dict_describe_cb (const char *lang_tag,
if (country) if (country)
free (country); free (country);
} }
#endif #endif /* USE_ENCHANT */
/* /*
* Displays list of aspell dictionaries installed on system. * Displays list of aspell dictionaries installed on system.
@@ -146,7 +146,7 @@ weechat_aspell_command_speller_list_dicts ()
AspellDictInfoList *list; AspellDictInfoList *list;
AspellDictInfoEnumeration *elements; AspellDictInfoEnumeration *elements;
const AspellDictInfo *dict; const AspellDictInfo *dict;
#endif #endif /* USE_ENCHANT */
weechat_printf (NULL, ""); weechat_printf (NULL, "");
weechat_printf (NULL, weechat_printf (NULL,
@@ -203,7 +203,7 @@ weechat_aspell_command_speller_list_dicts ()
delete_aspell_dict_info_enumeration (elements); delete_aspell_dict_info_enumeration (elements);
delete_aspell_config (config); delete_aspell_config (config);
#endif #endif /* USE_ENCHANT */
} }
/* /*
@@ -245,7 +245,7 @@ weechat_aspell_command_add_word (struct t_gui_buffer *buffer, const char *dict,
EnchantDict *new_speller, *ptr_speller; EnchantDict *new_speller, *ptr_speller;
#else #else
AspellSpeller *new_speller, *ptr_speller; AspellSpeller *new_speller, *ptr_speller;
#endif #endif /* USE_ENCHANT */
new_speller = NULL; new_speller = NULL;
@@ -310,7 +310,7 @@ weechat_aspell_command_add_word (struct t_gui_buffer *buffer, const char *dict,
} }
else else
goto error; goto error;
#endif #endif /* USE_ENCHANT */
goto end; goto end;
@@ -353,7 +353,7 @@ weechat_aspell_command_cb (void *data, struct t_gui_buffer *buffer,
"enchant" "enchant"
#else #else
"aspell" "aspell"
#endif #endif /* USE_ENCHANT */
); );
default_dict = weechat_config_string (weechat_aspell_config_check_default_dict); default_dict = weechat_config_string (weechat_aspell_config_check_default_dict);
weechat_printf (NULL, weechat_printf (NULL,
@@ -74,7 +74,7 @@ weechat_aspell_completion_enchant_add_dict_cb (const char *lang_tag,
weechat_hook_completion_list_add ((struct t_gui_completion *)user_data, weechat_hook_completion_list_add ((struct t_gui_completion *)user_data,
lang_tag, 0, WEECHAT_LIST_POS_SORT); lang_tag, 0, WEECHAT_LIST_POS_SORT);
} }
#endif #endif /* USE_ENCHANT */
/* /*
* Adds aspell dictionaries (only installed dictionaries) to completion list. * Adds aspell dictionaries (only installed dictionaries) to completion list.
@@ -91,7 +91,7 @@ weechat_aspell_completion_dicts_cb (void *data,
AspellDictInfoList *list; AspellDictInfoList *list;
AspellDictInfoEnumeration *elements; AspellDictInfoEnumeration *elements;
const AspellDictInfo *dict; const AspellDictInfo *dict;
#endif #endif /* USE_ENCHANT */
/* make C compiler happy */ /* make C compiler happy */
(void) data; (void) data;
@@ -115,7 +115,7 @@ weechat_aspell_completion_dicts_cb (void *data,
delete_aspell_dict_info_enumeration (elements); delete_aspell_dict_info_enumeration (elements);
delete_aspell_config (config); delete_aspell_config (config);
#endif #endif /* USE_ENCHANT */
return WEECHAT_RC_OK; return WEECHAT_RC_OK;
} }
+11 -11
View File
@@ -81,7 +81,7 @@ weechat_aspell_speller_dict_supported (const char *lang)
delete_aspell_config (config); delete_aspell_config (config);
return rc; return rc;
#endif #endif /* USE_ENCHANT */
} }
/* /*
@@ -127,7 +127,7 @@ weechat_aspell_speller_check_dictionaries (const char *dict_list)
EnchantDict * EnchantDict *
#else #else
AspellSpeller * AspellSpeller *
#endif #endif /* USE_ENCHANT */
weechat_aspell_speller_new (const char *lang) weechat_aspell_speller_new (const char *lang)
{ {
#ifdef USE_ENCHANT #ifdef USE_ENCHANT
@@ -136,7 +136,7 @@ weechat_aspell_speller_new (const char *lang)
AspellConfig *config; AspellConfig *config;
AspellCanHaveError *ret; AspellCanHaveError *ret;
AspellSpeller *new_speller; AspellSpeller *new_speller;
#endif #endif /* USE_ENCHANT */
struct t_infolist *infolist; struct t_infolist *infolist;
if (!lang) if (!lang)
@@ -163,7 +163,7 @@ weechat_aspell_speller_new (const char *lang)
/* create a speller instance for the newly created cell */ /* create a speller instance for the newly created cell */
config = new_aspell_config(); config = new_aspell_config();
aspell_config_replace (config, "lang", lang); aspell_config_replace (config, "lang", lang);
#endif #endif /* USE_ENCHANT */
/* apply all options */ /* apply all options */
infolist = weechat_infolist_get ("option", NULL, "aspell.option.*"); infolist = weechat_infolist_get ("option", NULL, "aspell.option.*");
@@ -177,7 +177,7 @@ weechat_aspell_speller_new (const char *lang)
aspell_config_replace (config, aspell_config_replace (config,
weechat_infolist_string (infolist, "option_name"), weechat_infolist_string (infolist, "option_name"),
weechat_infolist_string (infolist, "value")); weechat_infolist_string (infolist, "value"));
#endif #endif /* USE_ENCHANT */
} }
weechat_infolist_free (infolist); weechat_infolist_free (infolist);
} }
@@ -197,14 +197,14 @@ weechat_aspell_speller_new (const char *lang)
} }
new_speller = to_aspell_speller (ret); new_speller = to_aspell_speller (ret);
#endif #endif /* USE_ENCHANT */
weechat_hashtable_set (weechat_aspell_spellers, lang, new_speller); weechat_hashtable_set (weechat_aspell_spellers, lang, new_speller);
#ifndef USE_ENCHANT #ifndef USE_ENCHANT
/* free configuration */ /* free configuration */
delete_aspell_config (config); delete_aspell_config (config);
#endif #endif /* USE_ENCHANT */
return new_speller; return new_speller;
} }
@@ -314,7 +314,7 @@ weechat_aspell_speller_free_value_cb (struct t_hashtable *hashtable,
EnchantDict *ptr_speller; EnchantDict *ptr_speller;
#else #else
AspellSpeller *ptr_speller; AspellSpeller *ptr_speller;
#endif #endif /* USE_ENCHANT */
/* make C compiler happy */ /* make C compiler happy */
(void) hashtable; (void) hashtable;
@@ -334,7 +334,7 @@ weechat_aspell_speller_free_value_cb (struct t_hashtable *hashtable,
ptr_speller = (AspellSpeller *)value; ptr_speller = (AspellSpeller *)value;
aspell_speller_save_all_word_lists (ptr_speller); aspell_speller_save_all_word_lists (ptr_speller);
delete_aspell_speller (ptr_speller); delete_aspell_speller (ptr_speller);
#endif #endif /* USE_ENCHANT */
} }
/* /*
@@ -353,7 +353,7 @@ weechat_aspell_speller_buffer_new (struct t_gui_buffer *buffer)
EnchantDict *ptr_speller; EnchantDict *ptr_speller;
#else #else
AspellSpeller *ptr_speller; AspellSpeller *ptr_speller;
#endif #endif /* USE_ENCHANT */
if (!buffer) if (!buffer)
return NULL; return NULL;
@@ -380,7 +380,7 @@ weechat_aspell_speller_buffer_new (struct t_gui_buffer *buffer)
malloc ((num_dicts + 1) * sizeof (EnchantDict *)); malloc ((num_dicts + 1) * sizeof (EnchantDict *));
#else #else
malloc ((num_dicts + 1) * sizeof (AspellSpeller *)); malloc ((num_dicts + 1) * sizeof (AspellSpeller *));
#endif #endif /* USE_ENCHANT */
if (new_speller_buffer->spellers) if (new_speller_buffer->spellers)
{ {
for (i = 0; i < num_dicts; i++) for (i = 0; i < num_dicts; i++)
+2 -2
View File
@@ -27,7 +27,7 @@ struct t_aspell_speller_buffer
EnchantDict **spellers; /* enchant spellers for buffer */ EnchantDict **spellers; /* enchant spellers for buffer */
#else #else
AspellSpeller **spellers; /* aspell spellers for buffer */ AspellSpeller **spellers; /* aspell spellers for buffer */
#endif #endif /* USE_ENCHANT */
char *modifier_string; /* last modifier string */ char *modifier_string; /* last modifier string */
int input_pos; /* position of cursor in input */ int input_pos; /* position of cursor in input */
char *modifier_result; /* last modifier result */ char *modifier_result; /* last modifier result */
@@ -42,7 +42,7 @@ extern void weechat_aspell_speller_check_dictionaries (const char *dict_list);
extern EnchantDict *weechat_aspell_speller_new (const char *lang); extern EnchantDict *weechat_aspell_speller_new (const char *lang);
#else #else
extern AspellSpeller *weechat_aspell_speller_new (const char *lang); extern AspellSpeller *weechat_aspell_speller_new (const char *lang);
#endif #endif /* USE_ENCHANT */
extern void weechat_aspell_speller_remove_unused (); extern void weechat_aspell_speller_remove_unused ();
extern struct t_aspell_speller_buffer *weechat_aspell_speller_buffer_new (struct t_gui_buffer *buffer); extern struct t_aspell_speller_buffer *weechat_aspell_speller_buffer_new (struct t_gui_buffer *buffer);
extern int weechat_aspell_speller_init (); extern int weechat_aspell_speller_init ();
+6 -6
View File
@@ -54,7 +54,7 @@ int aspell_enabled = 0;
#ifdef USE_ENCHANT #ifdef USE_ENCHANT
EnchantBroker *broker = NULL; EnchantBroker *broker = NULL;
#endif #endif /* USE_ENCHANT */
/* /*
* aspell supported languages, updated on 2012-07-05 * aspell supported languages, updated on 2012-07-05
@@ -483,7 +483,7 @@ weechat_aspell_check_word (struct t_aspell_speller_buffer *speller_buffer,
if (enchant_dict_check (speller_buffer->spellers[i], word, strlen (word)) == 0) if (enchant_dict_check (speller_buffer->spellers[i], word, strlen (word)) == 0)
#else #else
if (aspell_speller_check (speller_buffer->spellers[i], word, -1) == 1) if (aspell_speller_check (speller_buffer->spellers[i], word, -1) == 1)
#endif #endif /* USE_ENCHANT */
return 1; return 1;
} }
} }
@@ -513,7 +513,7 @@ weechat_aspell_get_suggestions (struct t_aspell_speller_buffer *speller_buffer,
#else #else
const AspellWordList *list; const AspellWordList *list;
AspellStringEnumeration *elements; AspellStringEnumeration *elements;
#endif #endif /* USE_ENCHANT */
max_suggestions = weechat_config_integer (weechat_aspell_config_check_suggestions); max_suggestions = weechat_config_integer (weechat_aspell_config_check_suggestions);
if (max_suggestions < 0) if (max_suggestions < 0)
@@ -585,7 +585,7 @@ weechat_aspell_get_suggestions (struct t_aspell_speller_buffer *speller_buffer,
} }
delete_aspell_string_enumeration (elements); delete_aspell_string_enumeration (elements);
} }
#endif #endif /* USE_ENCHANT */
} }
} }
@@ -1039,7 +1039,7 @@ weechat_plugin_init (struct t_weechat_plugin *plugin, int argc, char *argv[])
broker = enchant_broker_init (); broker = enchant_broker_init ();
if (!broker) if (!broker)
return WEECHAT_RC_ERROR; return WEECHAT_RC_ERROR;
#endif #endif /* USE_ENCHANT */
if (!weechat_aspell_speller_init ()) if (!weechat_aspell_speller_init ())
return WEECHAT_RC_ERROR; return WEECHAT_RC_ERROR;
@@ -1095,7 +1095,7 @@ weechat_plugin_end (struct t_weechat_plugin *plugin)
#ifdef USE_ENCHANT #ifdef USE_ENCHANT
/* release enchant broker */ /* release enchant broker */
enchant_broker_free (broker); enchant_broker_free (broker);
#endif #endif /* USE_ENCHANT */
return WEECHAT_RC_OK; return WEECHAT_RC_OK;
} }
+2 -2
View File
@@ -25,7 +25,7 @@
#include <enchant.h> #include <enchant.h>
#else #else
#include <aspell.h> #include <aspell.h>
#endif #endif /* USE_ENCHANT */
#define weechat_plugin weechat_aspell_plugin #define weechat_plugin weechat_aspell_plugin
#define ASPELL_PLUGIN_NAME "aspell" #define ASPELL_PLUGIN_NAME "aspell"
@@ -38,7 +38,7 @@ struct t_aspell_code
#ifdef USE_ENCHANT #ifdef USE_ENCHANT
extern EnchantBroker *broker; extern EnchantBroker *broker;
#endif #endif /* USE_ENCHANT */
extern struct t_weechat_plugin *weechat_aspell_plugin; extern struct t_weechat_plugin *weechat_aspell_plugin;
extern int aspell_enabled; extern int aspell_enabled;
+2 -2
View File
@@ -797,7 +797,7 @@ weechat_guile_signal_debug_libs_cb (void *data, const char *signal,
SCM_MICRO_VERSION); SCM_MICRO_VERSION);
#else #else
weechat_printf (NULL, " %s: (?)", GUILE_PLUGIN_NAME); weechat_printf (NULL, " %s: (?)", GUILE_PLUGIN_NAME);
#endif #endif /* defined(SCM_MAJOR_VERSION) && defined(SCM_MINOR_VERSION) && defined(SCM_MICRO_VERSION) */
return WEECHAT_RC_OK; return WEECHAT_RC_OK;
} }
@@ -980,7 +980,7 @@ weechat_plugin_init (struct t_weechat_plugin *plugin, int argc, char *argv[])
* on unload (or exit) * on unload (or exit)
*/ */
scm_install_gmp_memory_functions = 0; scm_install_gmp_memory_functions = 0;
#endif #endif /* HAVE_GUILE_GMP_MEMORY_FUNCTIONS */
scm_init_guile (); scm_init_guile ();
+14 -4
View File
@@ -180,12 +180,22 @@ irc_buffer_nickcmp_cb (void *data,
const char *nick1, const char *nick1,
const char *nick2) const char *nick2)
{ {
IRC_BUFFER_GET_SERVER(buffer); struct t_irc_server *server;
/* make C compiler happy */ if (data)
(void) data; server = (struct t_irc_server *)data;
else
irc_buffer_get_server_and_channel (buffer, &server, NULL);
return irc_server_strcasecmp (ptr_server, nick1, nick2); if (server)
{
return irc_server_strcasecmp (server, nick1, nick2);
}
else
{
/* default is RFC 1459 casemapping comparison */
return weechat_strcasecmp_range (nick1, nick2, 29);
}
} }
/* /*
+2
View File
@@ -351,6 +351,8 @@ irc_channel_create_buffer (struct t_irc_server *server,
weechat_buffer_set (ptr_buffer, "nicklist_display_groups", "0"); weechat_buffer_set (ptr_buffer, "nicklist_display_groups", "0");
weechat_buffer_set_pointer (ptr_buffer, "nickcmp_callback", weechat_buffer_set_pointer (ptr_buffer, "nickcmp_callback",
&irc_buffer_nickcmp_cb); &irc_buffer_nickcmp_cb);
weechat_buffer_set_pointer (ptr_buffer, "nickcmp_callback_data",
server);
} }
/* set highlights settings on channel buffer */ /* set highlights settings on channel buffer */
+2
View File
@@ -2722,6 +2722,8 @@ irc_command_list (void *data, struct t_gui_buffer *buffer, int argc,
"(%s)"), "(%s)"),
weechat_prefix ("error"), IRC_PLUGIN_NAME, weechat_prefix ("error"), IRC_PLUGIN_NAME,
argv_eol[1], buf); argv_eol[1], buf);
free (ptr_server->cmd_list_regexp);
ptr_server->cmd_list_regexp = NULL;
return WEECHAT_RC_OK; return WEECHAT_RC_OK;
} }
} }
+40 -6
View File
@@ -47,6 +47,8 @@ struct t_config_section *irc_config_section_ctcp = NULL;
struct t_config_section *irc_config_section_server_default = NULL; struct t_config_section *irc_config_section_server_default = NULL;
struct t_config_section *irc_config_section_server = NULL; struct t_config_section *irc_config_section_server = NULL;
int irc_config_loading = 0;
/* IRC config, look section */ /* IRC config, look section */
struct t_config_option *irc_config_look_buffer_open_before_autojoin; struct t_config_option *irc_config_look_buffer_open_before_autojoin;
@@ -326,6 +328,31 @@ irc_config_change_look_color_nicks_in_nicklist (void *data,
irc_nick_nicklist_set_color_all (); irc_nick_nicklist_set_color_all ();
} }
/*
* Callback for changes on option "irc.look.display_away".
*/
void
irc_config_change_look_display_away (void *data,
struct t_config_option *option)
{
/* make C compiler happy */
(void) data;
(void) option;
if (!irc_config_loading
&& (weechat_config_integer (irc_config_look_display_away) == IRC_CONFIG_DISPLAY_AWAY_CHANNEL))
{
weechat_printf (
NULL,
_("%sWARNING: the value \"channel\" for option "
"\"irc.look.display_away\" will send all your away changes to "
"the channels, which is often considered as spam; therefore you "
"could be banned from channels, you are warned!"),
weechat_prefix ("error"));
}
}
/* /*
* Callback for changes on option "irc.look.display_join_message". * Callback for changes on option "irc.look.display_join_message".
*/ */
@@ -1049,7 +1076,7 @@ irc_config_check_gnutls_priorities (const char *priorities)
(void) priorities; (void) priorities;
return NULL; return NULL;
#endif #endif /* HAVE_GNUTLS */
} }
/* /*
@@ -1064,10 +1091,10 @@ irc_config_server_check_value_cb (void *data,
int index_option, proxy_found; int index_option, proxy_found;
const char *pos_error, *proxy_name; const char *pos_error, *proxy_name;
struct t_infolist *infolist; struct t_infolist *infolist;
#ifdef HAVE_GNUTLS #ifdef HAVE_GNUTLS
char **fingerprints, *str_sizes; char **fingerprints, *str_sizes;
int i, j, rc, algo, length; int i, j, rc, algo, length;
#endif #endif /* HAVE_GNUTLS */
/* make C compiler happy */ /* make C compiler happy */
(void) option; (void) option;
@@ -1119,7 +1146,7 @@ irc_config_server_check_value_cb (void *data,
} }
break; break;
case IRC_SERVER_OPTION_SSL_FINGERPRINT: case IRC_SERVER_OPTION_SSL_FINGERPRINT:
#ifdef HAVE_GNUTLS #ifdef HAVE_GNUTLS
if (value && value[0]) if (value && value[0])
{ {
fingerprints = weechat_string_split (value, ",", 0, 0, fingerprints = weechat_string_split (value, ",", 0, 0,
@@ -1175,7 +1202,7 @@ irc_config_server_check_value_cb (void *data,
} }
} }
} }
#endif #endif /* HAVE_GNUTLS */
break; break;
} }
} }
@@ -1279,7 +1306,9 @@ irc_config_reload (void *data, struct t_config_file *config_file)
irc_ignore_free_all (); irc_ignore_free_all ();
irc_config_loading = 1;
rc = weechat_config_reload (config_file); rc = weechat_config_reload (config_file);
irc_config_loading = 0;
ptr_server = irc_servers; ptr_server = irc_servers;
while (ptr_server) while (ptr_server)
@@ -2409,7 +2438,8 @@ irc_config_init ()
"display_away", "integer", "display_away", "integer",
N_("display message when (un)marking as away (off: do not display/send " N_("display message when (un)marking as away (off: do not display/send "
"anything, local: display locally, channel: send action to channels)"), "anything, local: display locally, channel: send action to channels)"),
"off|local|channel", 0, 0, "local", NULL, 0, NULL, NULL, NULL, NULL, "off|local|channel", 0, 0, "local", NULL, 0, NULL, NULL,
&irc_config_change_look_display_away, NULL,
NULL, NULL); NULL, NULL);
irc_config_look_display_ctcp_blocked = weechat_config_new_option ( irc_config_look_display_ctcp_blocked = weechat_config_new_option (
irc_config_file, ptr_section, irc_config_file, ptr_section,
@@ -3094,7 +3124,10 @@ irc_config_read ()
{ {
int rc; int rc;
irc_config_loading = 1;
rc = weechat_config_read (irc_config_file); rc = weechat_config_read (irc_config_file);
irc_config_loading = 0;
if (rc == WEECHAT_CONFIG_READ_OK) if (rc == WEECHAT_CONFIG_READ_OK)
{ {
irc_notify_new_for_all_servers (); irc_notify_new_for_all_servers ();
@@ -3106,6 +3139,7 @@ irc_config_read ()
irc_config_change_network_notify_check_ison (NULL, NULL); irc_config_change_network_notify_check_ison (NULL, NULL);
irc_config_change_network_notify_check_whois (NULL, NULL); irc_config_change_network_notify_check_whois (NULL, NULL);
} }
return rc; return rc;
} }
+1 -1
View File
@@ -1231,7 +1231,7 @@ IRC_PROTOCOL_CALLBACK(nick)
old_color : IRC_COLOR_CHAT_NICK, old_color : IRC_COLOR_CHAT_NICK,
nick, nick,
IRC_COLOR_RESET, IRC_COLOR_RESET,
irc_nick_color_for_msg (server, 0, ptr_nick, irc_nick_color_for_msg (server, 1, ptr_nick,
new_nick), new_nick),
new_nick, new_nick,
IRC_COLOR_RESET); IRC_COLOR_RESET);
+5 -5
View File
@@ -29,8 +29,8 @@
#include <gnutls/gnutls.h> #include <gnutls/gnutls.h>
#if LIBGNUTLS_VERSION_NUMBER >= 0x020a01 /* 2.10.1 */ #if LIBGNUTLS_VERSION_NUMBER >= 0x020a01 /* 2.10.1 */
#include <gnutls/abstract.h> #include <gnutls/abstract.h>
#endif #endif /* LIBGNUTLS_VERSION_NUMBER >= 0x020a01 */
#endif #endif /* HAVE_GNUTLS */
#include "../weechat-plugin.h" #include "../weechat-plugin.h"
#include "irc.h" #include "irc.h"
@@ -146,7 +146,7 @@ irc_sasl_mechanism_ecdsa_nist256p_challenge (struct t_irc_server *server,
gnutls_ecc_curve_t curve; gnutls_ecc_curve_t curve;
gnutls_datum_t x, y, k; gnutls_datum_t x, y, k;
char *pubkey, *pubkey_base64; char *pubkey, *pubkey_base64;
#endif #endif /* LIBGNUTLS_VERSION_NUMBER >= 0x030300 */
answer_base64 = NULL; answer_base64 = NULL;
string = NULL; string = NULL;
@@ -236,7 +236,7 @@ irc_sasl_mechanism_ecdsa_nist256p_challenge (struct t_irc_server *server,
gnutls_free (y.data); gnutls_free (y.data);
gnutls_free (k.data); gnutls_free (k.data);
} }
#endif #endif /* LIBGNUTLS_VERSION_NUMBER >= 0x030300 */
/* import private key in an abstract key structure */ /* import private key in an abstract key structure */
ret = gnutls_privkey_import_x509 (privkey, x509_privkey, 0); /* gnutls >= 2.11.0 */ ret = gnutls_privkey_import_x509 (privkey, x509_privkey, 0); /* gnutls >= 2.11.0 */
@@ -308,7 +308,7 @@ irc_sasl_mechanism_ecdsa_nist256p_challenge (struct t_irc_server *server,
weechat_prefix ("error")); weechat_prefix ("error"));
return NULL; return NULL;
#endif #endif /* defined(HAVE_GNUTLS) && (LIBGNUTLS_VERSION_NUMBER >= 0x030015) */
} }
/* /*
+25 -25
View File
@@ -35,7 +35,7 @@
#else #else
#include <sys/socket.h> #include <sys/socket.h>
#include <sys/time.h> #include <sys/time.h>
#endif #endif /* _WIN32 */
#include <sys/types.h> #include <sys/types.h>
#include <netdb.h> #include <netdb.h>
#include <arpa/inet.h> #include <arpa/inet.h>
@@ -44,7 +44,7 @@
#ifdef HAVE_GNUTLS #ifdef HAVE_GNUTLS
#include <gnutls/gnutls.h> #include <gnutls/gnutls.h>
#include <gnutls/x509.h> #include <gnutls/x509.h>
#endif #endif /* HAVE_GNUTLS */
#include "../weechat-plugin.h" #include "../weechat-plugin.h"
#include "irc.h" #include "irc.h"
@@ -132,7 +132,7 @@ char *irc_fingerprint_digest_algos_name[IRC_FINGERPRINT_NUM_ALGOS] =
{ "SHA-1", "SHA-256", "SHA-512" }; { "SHA-1", "SHA-256", "SHA-512" };
int irc_fingerprint_digest_algos_size[IRC_FINGERPRINT_NUM_ALGOS] = int irc_fingerprint_digest_algos_size[IRC_FINGERPRINT_NUM_ALGOS] =
{ 160, 256, 512 }; { 160, 256, 512 };
#endif #endif /* HAVE_GNUTLS */
void irc_server_reconnect (struct t_irc_server *server); void irc_server_reconnect (struct t_irc_server *server);
@@ -1866,7 +1866,7 @@ irc_server_send (struct t_irc_server *server, const char *buffer, int size_buf)
if (server->ssl_connected) if (server->ssl_connected)
rc = gnutls_record_send (server->gnutls_sess, buffer, size_buf); rc = gnutls_record_send (server->gnutls_sess, buffer, size_buf);
else else
#endif #endif /* HAVE_GNUTLS */
rc = send (server->sock, buffer, size_buf, 0); rc = send (server->sock, buffer, size_buf, 0);
if (rc < 0) if (rc < 0)
@@ -1881,7 +1881,7 @@ irc_server_send (struct t_irc_server *server, const char *buffer, int size_buf)
rc, gnutls_strerror (rc)); rc, gnutls_strerror (rc));
} }
else else
#endif #endif /* HAVE_GNUTLS */
{ {
weechat_printf ( weechat_printf (
server->buffer, server->buffer,
@@ -2744,7 +2744,7 @@ irc_server_recv_cb (void *data, int fd)
num_read = gnutls_record_recv (server->gnutls_sess, buffer, num_read = gnutls_record_recv (server->gnutls_sess, buffer,
sizeof (buffer) - 2); sizeof (buffer) - 2);
else else
#endif #endif /* HAVE_GNUTLS */
num_read = recv (server->sock, buffer, sizeof (buffer) - 2, 0); num_read = recv (server->sock, buffer, sizeof (buffer) - 2, 0);
if (num_read > 0) if (num_read > 0)
@@ -2762,7 +2762,7 @@ irc_server_recv_cb (void *data, int fd)
*/ */
end_recv = 0; end_recv = 0;
} }
#endif #endif /* HAVE_GNUTLS */
} }
else else
{ {
@@ -2788,7 +2788,7 @@ irc_server_recv_cb (void *data, int fd)
} }
} }
else else
#endif #endif /* HAVE_GNUTLS */
{ {
if ((num_read == 0) if ((num_read == 0)
|| ((errno != EAGAIN) && (errno != EWOULDBLOCK))) || ((errno != EAGAIN) && (errno != EWOULDBLOCK)))
@@ -3159,7 +3159,7 @@ irc_server_close_connection (struct t_irc_server *server)
gnutls_bye (server->gnutls_sess, GNUTLS_SHUT_WR); gnutls_bye (server->gnutls_sess, GNUTLS_SHUT_WR);
gnutls_deinit (server->gnutls_sess); gnutls_deinit (server->gnutls_sess);
} }
#endif #endif /* HAVE_GNUTLS */
} }
if (server->sock != -1) if (server->sock != -1)
{ {
@@ -3167,7 +3167,7 @@ irc_server_close_connection (struct t_irc_server *server)
closesocket (server->sock); closesocket (server->sock);
#else #else
close (server->sock); close (server->sock);
#endif #endif /* _WIN32 */
server->sock = -1; server->sock = -1;
} }
@@ -3542,7 +3542,7 @@ irc_server_connect_cb (void *data, int status, int gnutls_rc, int sock,
} }
#else #else
(void) gnutls_rc; (void) gnutls_rc;
#endif #endif /* HAVE_GNUTLS */
irc_server_close_connection (server); irc_server_close_connection (server);
server->current_retry++; server->current_retry++;
irc_server_switch_address (server, 1); irc_server_switch_address (server, 1);
@@ -3737,7 +3737,7 @@ irc_server_fingerprint_search_algo_with_size (int size)
/* digest algorithm not found */ /* digest algorithm not found */
return -1; return -1;
} }
#endif #endif /* HAVE_GNUTLS */
/* /*
* Returns a string with sizes of allowed fingerprint, * Returns a string with sizes of allowed fingerprint,
@@ -3769,7 +3769,7 @@ irc_server_fingerprint_str_sizes ()
return strdup (str_sizes); return strdup (str_sizes);
} }
#endif #endif /* HAVE_GNUTLS */
/* /*
* Compares two fingerprints: one hexadecimal (given by user), the second binary * Compares two fingerprints: one hexadecimal (given by user), the second binary
@@ -3919,7 +3919,7 @@ irc_server_gnutls_callback (void *data, gnutls_session_t tls_session,
gnutls_retr2_st *answer, gnutls_retr2_st *answer,
#else #else
gnutls_retr_st *answer, gnutls_retr_st *answer,
#endif #endif /* LIBGNUTLS_VERSION_NUMBER >= 0x020b00 */
int action) int action)
{ {
struct t_irc_server *server; struct t_irc_server *server;
@@ -3927,7 +3927,7 @@ irc_server_gnutls_callback (void *data, gnutls_session_t tls_session,
gnutls_retr2_st tls_struct; gnutls_retr2_st tls_struct;
#else #else
gnutls_retr_st tls_struct; gnutls_retr_st tls_struct;
#endif #endif /* LIBGNUTLS_VERSION_NUMBER >= 0x020b00 */
gnutls_x509_crt_t cert_temp; gnutls_x509_crt_t cert_temp;
const gnutls_datum_t *cert_list; const gnutls_datum_t *cert_list;
gnutls_datum_t filedatum; gnutls_datum_t filedatum;
@@ -3939,7 +3939,7 @@ irc_server_gnutls_callback (void *data, gnutls_session_t tls_session,
#if LIBGNUTLS_VERSION_NUMBER >= 0x010706 /* 1.7.6 */ #if LIBGNUTLS_VERSION_NUMBER >= 0x010706 /* 1.7.6 */
gnutls_datum_t cinfo; gnutls_datum_t cinfo;
int rinfo; int rinfo;
#endif #endif /* LIBGNUTLS_VERSION_NUMBER >= 0x010706 */
/* make C compiler happy */ /* make C compiler happy */
(void) req_ca; (void) req_ca;
@@ -4039,7 +4039,7 @@ irc_server_gnutls_callback (void *data, gnutls_session_t tls_session,
#else #else
rinfo = gnutls_x509_crt_print (cert_temp, rinfo = gnutls_x509_crt_print (cert_temp,
GNUTLS_CRT_PRINT_ONELINE, &cinfo); GNUTLS_CRT_PRINT_ONELINE, &cinfo);
#endif #endif /* LIBGNUTLS_VERSION_NUMBER < 0x020400 */
if (rinfo == 0) if (rinfo == 0)
{ {
weechat_printf ( weechat_printf (
@@ -4052,7 +4052,7 @@ irc_server_gnutls_callback (void *data, gnutls_session_t tls_session,
weechat_prefix ("network"), cinfo.data); weechat_prefix ("network"), cinfo.data);
gnutls_free (cinfo.data); gnutls_free (cinfo.data);
} }
#endif #endif /* LIBGNUTLS_VERSION_NUMBER >= 0x010706 */
/* check dates, only if fingerprint is not set */ /* check dates, only if fingerprint is not set */
if (!fingerprint || !fingerprint[0]) if (!fingerprint || !fingerprint[0])
{ {
@@ -4226,7 +4226,7 @@ irc_server_gnutls_callback (void *data, gnutls_session_t tls_session,
tls_struct.key_type = GNUTLS_PRIVKEY_X509; tls_struct.key_type = GNUTLS_PRIVKEY_X509;
#else #else
tls_struct.type = GNUTLS_CRT_X509; tls_struct.type = GNUTLS_CRT_X509;
#endif #endif /* LIBGNUTLS_VERSION_NUMBER >= 0x020b00 */
tls_struct.ncerts = 1; tls_struct.ncerts = 1;
tls_struct.deinit_all = 0; tls_struct.deinit_all = 0;
tls_struct.cert.x509 = &server->tls_cert; tls_struct.cert.x509 = &server->tls_cert;
@@ -4241,7 +4241,7 @@ irc_server_gnutls_callback (void *data, gnutls_session_t tls_session,
rinfo = gnutls_x509_crt_print (server->tls_cert, rinfo = gnutls_x509_crt_print (server->tls_cert,
GNUTLS_CRT_PRINT_ONELINE, GNUTLS_CRT_PRINT_ONELINE,
&cinfo); &cinfo);
#endif #endif /* LIBGNUTLS_VERSION_NUMBER < 0x020400 */
if (rinfo == 0) if (rinfo == 0)
{ {
weechat_printf ( weechat_printf (
@@ -4253,7 +4253,7 @@ irc_server_gnutls_callback (void *data, gnutls_session_t tls_session,
weechat_prefix ("network"), cinfo.data); weechat_prefix ("network"), cinfo.data);
gnutls_free (cinfo.data); gnutls_free (cinfo.data);
} }
#endif #endif /* LIBGNUTLS_VERSION_NUMBER >= 0x010706 */
memcpy (answer, &tls_struct, sizeof (tls_struct)); memcpy (answer, &tls_struct, sizeof (tls_struct));
free (cert_str); free (cert_str);
} }
@@ -4417,7 +4417,7 @@ irc_server_connect (struct t_irc_server *server)
weechat_prefix ("error"), IRC_PLUGIN_NAME); weechat_prefix ("error"), IRC_PLUGIN_NAME);
return 0; return 0;
} }
#endif #endif /* HAVE_GNUTLS */
if (proxy_type) if (proxy_type)
{ {
weechat_printf ( weechat_printf (
@@ -4501,7 +4501,7 @@ irc_server_connect (struct t_irc_server *server)
IRC_SERVER_OPTION_STRING(server, IRC_SERVER_OPTION_LOCAL_HOSTNAME), IRC_SERVER_OPTION_STRING(server, IRC_SERVER_OPTION_LOCAL_HOSTNAME),
&irc_server_connect_cb, &irc_server_connect_cb,
server); server);
#endif #endif /* HAVE_GNUTLS */
/* send signal "irc_server_connecting" with server name */ /* send signal "irc_server_connecting" with server name */
(void) weechat_hook_signal_send ("irc_server_connecting", (void) weechat_hook_signal_send ("irc_server_connecting",
@@ -5206,7 +5206,7 @@ irc_server_hdata_server_cb (void *data, const char *hdata_name)
WEECHAT_HDATA_VAR(struct t_irc_server, gnutls_sess, OTHER, 0, NULL, NULL); WEECHAT_HDATA_VAR(struct t_irc_server, gnutls_sess, OTHER, 0, NULL, NULL);
WEECHAT_HDATA_VAR(struct t_irc_server, tls_cert, OTHER, 0, NULL, NULL); WEECHAT_HDATA_VAR(struct t_irc_server, tls_cert, OTHER, 0, NULL, NULL);
WEECHAT_HDATA_VAR(struct t_irc_server, tls_cert_key, OTHER, 0, NULL, NULL); WEECHAT_HDATA_VAR(struct t_irc_server, tls_cert_key, OTHER, 0, NULL, NULL);
#endif #endif /* HAVE_GNUTLS */
WEECHAT_HDATA_VAR(struct t_irc_server, unterminated_message, STRING, 0, NULL, NULL); WEECHAT_HDATA_VAR(struct t_irc_server, unterminated_message, STRING, 0, NULL, NULL);
WEECHAT_HDATA_VAR(struct t_irc_server, nicks_count, INTEGER, 0, NULL, NULL); WEECHAT_HDATA_VAR(struct t_irc_server, nicks_count, INTEGER, 0, NULL, NULL);
WEECHAT_HDATA_VAR(struct t_irc_server, nicks_array, STRING, 0, "nicks_count", NULL); WEECHAT_HDATA_VAR(struct t_irc_server, nicks_array, STRING, 0, "nicks_count", NULL);
@@ -5785,7 +5785,7 @@ irc_server_print_log ()
weechat_log_printf (" disconnected . . . . : %d", ptr_server->disconnected); weechat_log_printf (" disconnected . . . . : %d", ptr_server->disconnected);
#ifdef HAVE_GNUTLS #ifdef HAVE_GNUTLS
weechat_log_printf (" gnutls_sess. . . . . : 0x%lx", ptr_server->gnutls_sess); weechat_log_printf (" gnutls_sess. . . . . : 0x%lx", ptr_server->gnutls_sess);
#endif #endif /* HAVE_GNUTLS */
weechat_log_printf (" unterminated_message : '%s'", ptr_server->unterminated_message); weechat_log_printf (" unterminated_message : '%s'", ptr_server->unterminated_message);
weechat_log_printf (" nicks_count. . . . . : %d", ptr_server->nicks_count); weechat_log_printf (" nicks_count. . . . . : %d", ptr_server->nicks_count);
weechat_log_printf (" nicks_array. . . . . : 0x%lx", ptr_server->nicks_array); weechat_log_printf (" nicks_array. . . . . : 0x%lx", ptr_server->nicks_array);
+6 -6
View File
@@ -26,11 +26,11 @@
#ifdef HAVE_GNUTLS #ifdef HAVE_GNUTLS
#include <gnutls/gnutls.h> #include <gnutls/gnutls.h>
#endif #endif /* HAVE_GNUTLS */
#ifndef NI_MAXHOST #ifndef NI_MAXHOST
#define NI_MAXHOST 256 #define NI_MAXHOST 256
#endif #endif /* NI_MAXHOST */
enum t_irc_server_sasl_fail enum t_irc_server_sasl_fail
{ {
@@ -174,7 +174,7 @@ struct t_irc_server
gnutls_session_t gnutls_sess; /* gnutls session (only if SSL is used) */ gnutls_session_t gnutls_sess; /* gnutls session (only if SSL is used) */
gnutls_x509_crt_t tls_cert; /* certificate used if ssl_cert is set */ gnutls_x509_crt_t tls_cert; /* certificate used if ssl_cert is set */
gnutls_x509_privkey_t tls_cert_key; /* key used if ssl_cert is set */ gnutls_x509_privkey_t tls_cert_key; /* key used if ssl_cert is set */
#endif #endif /* HAVE_GNUTLS */
char *unterminated_message; /* beginning of a message in input buf */ char *unterminated_message; /* beginning of a message in input buf */
int nicks_count; /* number of nicknames */ int nicks_count; /* number of nicknames */
char **nicks_array; /* nicknames (after split) */ char **nicks_array; /* nicknames (after split) */
@@ -252,13 +252,13 @@ enum t_irc_fingerprint_digest_algo
/* number of digest algorithms */ /* number of digest algorithms */
IRC_FINGERPRINT_NUM_ALGOS, IRC_FINGERPRINT_NUM_ALGOS,
}; };
#endif #endif /* HAVE_GNUTLS */
extern struct t_irc_server *irc_servers; extern struct t_irc_server *irc_servers;
#ifdef HAVE_GNUTLS #ifdef HAVE_GNUTLS
extern const int gnutls_cert_type_prio[]; extern const int gnutls_cert_type_prio[];
extern const int gnutls_prot_prio[]; extern const int gnutls_prot_prio[];
#endif #endif /* HAVE_GNUTLS */
extern struct t_irc_message *irc_recv_msgq, *irc_msgq_last_msg; extern struct t_irc_message *irc_recv_msgq, *irc_msgq_last_msg;
extern char *irc_server_sasl_fail_string[]; extern char *irc_server_sasl_fail_string[];
extern char *irc_server_options[][2]; extern char *irc_server_options[][2];
@@ -323,7 +323,7 @@ extern struct t_gui_buffer *irc_server_create_buffer (struct t_irc_server *serve
#ifdef HAVE_GNUTLS #ifdef HAVE_GNUTLS
int irc_server_fingerprint_search_algo_with_size (int size); int irc_server_fingerprint_search_algo_with_size (int size);
char *irc_server_fingerprint_str_sizes (); char *irc_server_fingerprint_str_sizes ();
#endif #endif /* HAVE_GNUTLS */
extern int irc_server_connect (struct t_irc_server *server); extern int irc_server_connect (struct t_irc_server *server);
extern void irc_server_auto_connect (int auto_connect); extern void irc_server_auto_connect (int auto_connect);
extern void irc_server_autojoin_channels (); extern void irc_server_autojoin_channels ();
+10
View File
@@ -245,6 +245,7 @@ irc_upgrade_set_buffer_callbacks ()
{ {
struct t_infolist *infolist; struct t_infolist *infolist;
struct t_gui_buffer *ptr_buffer; struct t_gui_buffer *ptr_buffer;
struct t_irc_server *ptr_server;
const char *type; const char *type;
infolist = weechat_infolist_get ("buffer", NULL, NULL); infolist = weechat_infolist_get ("buffer", NULL, NULL);
@@ -260,8 +261,17 @@ irc_upgrade_set_buffer_callbacks ()
type = weechat_buffer_get_string (ptr_buffer, "localvar_type"); type = weechat_buffer_get_string (ptr_buffer, "localvar_type");
if (type && (strcmp (type, "channel") == 0)) if (type && (strcmp (type, "channel") == 0))
{ {
ptr_server = irc_server_search (
weechat_buffer_get_string (ptr_buffer,
"localvar_server"));
weechat_buffer_set_pointer (ptr_buffer, "nickcmp_callback", weechat_buffer_set_pointer (ptr_buffer, "nickcmp_callback",
&irc_buffer_nickcmp_cb); &irc_buffer_nickcmp_cb);
if (ptr_server)
{
weechat_buffer_set_pointer (ptr_buffer,
"nickcmp_callback_data",
ptr_server);
}
} }
if (strcmp (weechat_infolist_string (infolist, "name"), if (strcmp (weechat_infolist_string (infolist, "name"),
IRC_RAW_BUFFER_NAME) == 0) IRC_RAW_BUFFER_NAME) == 0)
+2 -2
View File
@@ -28,10 +28,10 @@
#define EXPORT extern "C" __declspec (dllexport) #define EXPORT extern "C" __declspec (dllexport)
#else #else
#define EXPORT extern "C" #define EXPORT extern "C"
#endif #endif /* _WIN32 */
#else #else
#define EXPORT #define EXPORT
#endif #endif /* __cplusplus */
#define weechat_plugin weechat_js_plugin #define weechat_plugin weechat_js_plugin
#define JS_PLUGIN_NAME "javascript" #define JS_PLUGIN_NAME "javascript"
+1 -1
View File
@@ -359,7 +359,7 @@ logger_get_mask_expanded (struct t_gui_buffer *buffer, const char *mask)
weechat_config_string (logger_config_file_replacement_char)); weechat_config_string (logger_config_file_replacement_char));
#else #else
mask_decoded3 = strdup (mask_decoded2); mask_decoded3 = strdup (mask_decoded2);
#endif #endif /* __CYGWIN__ */
if (!mask_decoded3) if (!mask_decoded3)
goto end; goto end;
+4 -4
View File
@@ -294,7 +294,7 @@ weechat_lua_register_lib (lua_State *L, const char *libname,
luaL_setfuncs (L, lua_api_funcs, 0); luaL_setfuncs (L, lua_api_funcs, 0);
#else #else
luaL_register (L, libname, lua_api_funcs); luaL_register (L, libname, lua_api_funcs);
#endif #endif /* LUA_VERSION_NUM >= 502 */
luaL_newmetatable (L, "weechat"); luaL_newmetatable (L, "weechat");
lua_pushliteral (L, "__index"); lua_pushliteral (L, "__index");
@@ -375,7 +375,7 @@ weechat_lua_load (const char *filename)
luaopen_math (lua_current_interpreter); luaopen_math (lua_current_interpreter);
luaopen_io (lua_current_interpreter); luaopen_io (lua_current_interpreter);
luaopen_debug (lua_current_interpreter); luaopen_debug (lua_current_interpreter);
#endif #endif /* LUA_VERSION_NUM */
weechat_lua_register_lib (lua_current_interpreter, "weechat", weechat_lua_register_lib (lua_current_interpreter, "weechat",
weechat_lua_api_funcs, weechat_lua_api_funcs,
@@ -385,7 +385,7 @@ weechat_lua_load (const char *filename)
if (luaL_dostring (lua_current_interpreter, weechat_lua_code) != 0) if (luaL_dostring (lua_current_interpreter, weechat_lua_code) != 0)
#else #else
if (lua_dostring (lua_current_interpreter, weechat_lua_code) != 0) if (lua_dostring (lua_current_interpreter, weechat_lua_code) != 0)
#endif #endif /* LUA_VERSION_NUM */
{ {
weechat_printf (NULL, weechat_printf (NULL,
weechat_gettext ("%s%s: unable to redirect stdout " weechat_gettext ("%s%s: unable to redirect stdout "
@@ -800,7 +800,7 @@ weechat_lua_signal_debug_libs_cb (void *data, const char *signal,
weechat_printf (NULL, " %s: %s", LUA_PLUGIN_NAME, LUA_VERSION); weechat_printf (NULL, " %s: %s", LUA_PLUGIN_NAME, LUA_VERSION);
#else #else
weechat_printf (NULL, " %s: (?)", LUA_PLUGIN_NAME); weechat_printf (NULL, " %s: (?)", LUA_PLUGIN_NAME);
#endif #endif /* LUA_VERSION */
return WEECHAT_RC_OK; return WEECHAT_RC_OK;
} }
+2 -2
View File
@@ -94,7 +94,7 @@
#ifdef NO_PERL_MULTIPLICITY #ifdef NO_PERL_MULTIPLICITY
#undef MULTIPLICITY #undef MULTIPLICITY
#endif #endif /* NO_PERL_MULTIPLICITY */
extern void boot_DynaLoader (pTHX_ CV* cv); extern void boot_DynaLoader (pTHX_ CV* cv);
@@ -169,7 +169,7 @@ API_FUNC(register)
perl_current_script->interpreter = perl_current_interpreter; perl_current_script->interpreter = perl_current_interpreter;
#else #else
perl_current_script->interpreter = SvPV_nolen (eval_pv ("__PACKAGE__", TRUE)); perl_current_script->interpreter = SvPV_nolen (eval_pv ("__PACKAGE__", TRUE));
#endif #endif /* MULTIPLICITY */
} }
else else
{ {
+18 -20
View File
@@ -49,7 +49,7 @@ struct t_plugin_script *perl_registered_script = NULL;
const char *perl_current_script_filename = NULL; const char *perl_current_script_filename = NULL;
#ifdef MULTIPLICITY #ifdef MULTIPLICITY
PerlInterpreter *perl_current_interpreter = NULL; PerlInterpreter *perl_current_interpreter = NULL;
#endif #endif /* MULTIPLICITY */
int perl_quit_or_upgrade = 0; int perl_quit_or_upgrade = 0;
/* /*
@@ -78,13 +78,13 @@ char *perl_action_autoload_list = NULL;
#ifdef NO_PERL_MULTIPLICITY #ifdef NO_PERL_MULTIPLICITY
#undef MULTIPLICITY #undef MULTIPLICITY
#endif #endif /* NO_PERL_MULTIPLICITY */
#ifndef MULTIPLICITY #ifndef MULTIPLICITY
#define PKG_NAME_PREFIX "WeechatPerlPackage" #define PKG_NAME_PREFIX "WeechatPerlPackage"
static PerlInterpreter *perl_main = NULL; static PerlInterpreter *perl_main = NULL;
int perl_num = 0; int perl_num = 0;
#endif #endif /* MULTIPLICITY */
char *perl_args[] = { "", "-e", "0", "-w", NULL }; char *perl_args[] = { "", "-e", "0", "-w", NULL };
int perl_args_count = 4; int perl_args_count = 4;
@@ -93,7 +93,7 @@ char *perl_weechat_code =
{ {
#ifndef MULTIPLICITY #ifndef MULTIPLICITY
"package %s;" "package %s;"
#endif #endif /* MULTIPLICITY */
"$SIG{__WARN__} = sub { weechat::print('', 'perl\twarning: '.$_[0]) };" "$SIG{__WARN__} = sub { weechat::print('', 'perl\twarning: '.$_[0]) };"
"$SIG{__DIE__} = sub { weechat::print('', 'perl\terror: '.$_[0]) };" "$SIG{__DIE__} = sub { weechat::print('', 'perl\terror: '.$_[0]) };"
"do '%s';" "do '%s';"
@@ -204,7 +204,7 @@ weechat_perl_exec (struct t_plugin_script *script,
struct t_plugin_script *old_perl_current_script; struct t_plugin_script *old_perl_current_script;
#ifdef MULTIPLICITY #ifdef MULTIPLICITY
void *old_context; void *old_context;
#endif #endif /* MULTIPLICITY */
old_perl_current_script = perl_current_script; old_perl_current_script = perl_current_script;
perl_current_script = script; perl_current_script = script;
@@ -224,7 +224,7 @@ weechat_perl_exec (struct t_plugin_script *script,
snprintf (func, length, "%s::%s", snprintf (func, length, "%s::%s",
(char *) ((script->interpreter) ? script->interpreter : perl_main), (char *) ((script->interpreter) ? script->interpreter : perl_main),
function); function);
#endif #endif /* MULTIPLICITY */
dSP; dSP;
ENTER; ENTER;
@@ -322,7 +322,7 @@ weechat_perl_exec (struct t_plugin_script *script,
PERL_SET_CONTEXT (old_context); PERL_SET_CONTEXT (old_context);
#else #else
free (func); free (func);
#endif #endif /* MULTIPLICITY */
if (!ret_value && (mem_err == 1)) if (!ret_value && (mem_err == 1))
{ {
@@ -353,7 +353,7 @@ weechat_perl_load (const char *filename)
int length; int length;
#ifndef MULTIPLICITY #ifndef MULTIPLICITY
char pkgname[64]; char pkgname[64];
#endif #endif /* MULTIPLICITY */
temp_script.filename = NULL; temp_script.filename = NULL;
temp_script.interpreter = NULL; temp_script.interpreter = NULL;
@@ -414,7 +414,7 @@ weechat_perl_load (const char *filename)
if (!perl_code) if (!perl_code)
return 0; return 0;
snprintf (perl_code, length, perl_weechat_code, pkgname, filename); snprintf (perl_code, length, perl_weechat_code, pkgname, filename);
#endif #endif /* MULTIPLICITY */
eval_pv (perl_code, TRUE); eval_pv (perl_code, TRUE);
free (perl_code); free (perl_code);
@@ -432,7 +432,7 @@ weechat_perl_load (const char *filename)
#ifdef MULTIPLICITY #ifdef MULTIPLICITY
perl_destruct (perl_current_interpreter); perl_destruct (perl_current_interpreter);
perl_free (perl_current_interpreter); perl_free (perl_current_interpreter);
#endif #endif /* MULTIPLICITY */
if (perl_current_script && (perl_current_script != &temp_script)) if (perl_current_script && (perl_current_script != &temp_script))
{ {
plugin_script_remove (weechat_perl_plugin, plugin_script_remove (weechat_perl_plugin,
@@ -453,14 +453,14 @@ weechat_perl_load (const char *filename)
#ifdef MULTIPLICITY #ifdef MULTIPLICITY
perl_destruct (perl_current_interpreter); perl_destruct (perl_current_interpreter);
perl_free (perl_current_interpreter); perl_free (perl_current_interpreter);
#endif #endif /* MULTIPLICITY */
return 0; return 0;
} }
perl_current_script = perl_registered_script; perl_current_script = perl_registered_script;
#ifndef MULTIPLICITY #ifndef MULTIPLICITY
perl_current_script->interpreter = strdup (pkgname); perl_current_script->interpreter = strdup (pkgname);
#endif #endif /* MULTIPLICITY */
/* /*
* set input/close callbacks for buffers created by this script * set input/close callbacks for buffers created by this script
@@ -512,7 +512,7 @@ weechat_perl_unload (struct t_plugin_script *script)
#ifdef MULTIPLICITY #ifdef MULTIPLICITY
PERL_SET_CONTEXT (script->interpreter); PERL_SET_CONTEXT (script->interpreter);
#endif #endif /* MULTIPLICITY */
if (script->shutdown_func && script->shutdown_func[0]) if (script->shutdown_func && script->shutdown_func[0])
{ {
@@ -549,7 +549,7 @@ weechat_perl_unload (struct t_plugin_script *script)
#else #else
if (interpreter) if (interpreter)
free (interpreter); free (interpreter);
#endif #endif /* MULTIPLICITY */
(void) weechat_hook_signal_send ("perl_script_unloaded", (void) weechat_hook_signal_send ("perl_script_unloaded",
WEECHAT_HOOK_SIGNAL_STRING, filename); WEECHAT_HOOK_SIGNAL_STRING, filename);
@@ -832,7 +832,7 @@ weechat_perl_signal_debug_libs_cb (void *data, const char *signal,
weechat_printf (NULL, " %s: %s", PERL_PLUGIN_NAME, PERL_VERSION_STRING); weechat_printf (NULL, " %s: %s", PERL_PLUGIN_NAME, PERL_VERSION_STRING);
#else #else
weechat_printf (NULL, " %s: (?)", PERL_PLUGIN_NAME); weechat_printf (NULL, " %s: (?)", PERL_PLUGIN_NAME);
#endif #endif /* PERL_VERSION_STRING */
return WEECHAT_RC_OK; return WEECHAT_RC_OK;
} }
@@ -971,13 +971,11 @@ weechat_plugin_init (struct t_weechat_plugin *plugin, int argc, char *argv[])
int a; int a;
char **perl_args_local; char **perl_args_local;
char *perl_env[] = {}; char *perl_env[] = {};
#endif
#ifdef PERL_SYS_INIT3
a = perl_args_count; a = perl_args_count;
perl_args_local = perl_args; perl_args_local = perl_args;
(void) perl_env; (void) perl_env;
PERL_SYS_INIT3 (&a, (char ***)&perl_args_local, (char ***)&perl_env); PERL_SYS_INIT3 (&a, (char ***)&perl_args_local, (char ***)&perl_env);
#endif #endif /* PERL_SYS_INIT3 */
weechat_perl_plugin = plugin; weechat_perl_plugin = plugin;
@@ -996,7 +994,7 @@ weechat_plugin_init (struct t_weechat_plugin *plugin, int argc, char *argv[])
perl_construct (perl_main); perl_construct (perl_main);
perl_parse (perl_main, weechat_perl_api_init, perl_args_count, perl_parse (perl_main, weechat_perl_api_init, perl_args_count,
perl_args, NULL); perl_args, NULL);
#endif #endif /* MULTIPLICITY */
init.callback_command = &weechat_perl_command_cb; init.callback_command = &weechat_perl_command_cb;
init.callback_completion = &weechat_perl_completion_cb; init.callback_completion = &weechat_perl_completion_cb;
@@ -1042,7 +1040,7 @@ weechat_plugin_end (struct t_weechat_plugin *plugin)
perl_free (perl_main); perl_free (perl_main);
perl_main = NULL; perl_main = NULL;
} }
#endif #endif /* MULTIPLICITY */
#if defined(PERL_SYS_TERM) && !defined(__FreeBSD__) && !defined(WIN32) && !defined(__CYGWIN__) && !(defined(__APPLE__) && defined(__MACH__)) #if defined(PERL_SYS_TERM) && !defined(__FreeBSD__) && !defined(WIN32) && !defined(__CYGWIN__) && !(defined(__APPLE__) && defined(__MACH__))
/* /*
+1 -1
View File
@@ -35,7 +35,7 @@ extern struct t_plugin_script *perl_registered_script;
extern const char *perl_current_script_filename; extern const char *perl_current_script_filename;
#ifdef MULTIPLICITY #ifdef MULTIPLICITY
extern PerlInterpreter *perl_current_interpreter; extern PerlInterpreter *perl_current_interpreter;
#endif #endif /* MULTIPLICITY */
extern HV *weechat_perl_hashtable_to_hash (struct t_hashtable *hashtable); extern HV *weechat_perl_hashtable_to_hash (struct t_hashtable *hashtable);
extern struct t_hashtable *weechat_perl_hash_to_hashtable (SV *hash, int size, extern struct t_hashtable *weechat_perl_hash_to_hashtable (SV *hash, int size,
+10 -10
View File
@@ -84,7 +84,7 @@ static struct PyModuleDef moduleDefOutputs = {
NULL, NULL,
NULL NULL
}; };
#endif #endif /* PY_MAJOR_VERSION >= 3 */
/* /*
* string used to execute action "install": * string used to execute action "install":
@@ -498,7 +498,7 @@ weechat_python_output (PyObject *self, PyObject *args)
static PyObject *weechat_python_init_module_weechat () static PyObject *weechat_python_init_module_weechat ()
#else #else
void weechat_python_init_module_weechat () void weechat_python_init_module_weechat ()
#endif #endif /* PY_MAJOR_VERSION >= 3 */
{ {
PyObject *weechat_module, *weechat_dict; PyObject *weechat_module, *weechat_dict;
@@ -508,7 +508,7 @@ void weechat_python_init_module_weechat ()
#else #else
/* python <= 2.x */ /* python <= 2.x */
weechat_module = Py_InitModule ("weechat", weechat_python_funcs); weechat_module = Py_InitModule ("weechat", weechat_python_funcs);
#endif #endif /* PY_MAJOR_VERSION >= 3 */
if (!weechat_module) if (!weechat_module)
{ {
@@ -520,7 +520,7 @@ void weechat_python_init_module_weechat ()
return NULL; return NULL;
#else #else
return; return;
#endif #endif /* PY_MAJOR_VERSION >= 3 */
} }
/* define some constants */ /* define some constants */
@@ -574,7 +574,7 @@ void weechat_python_init_module_weechat ()
#if PY_MAJOR_VERSION >= 3 #if PY_MAJOR_VERSION >= 3
return weechat_module; return weechat_module;
#endif #endif /* PY_MAJOR_VERSION >= 3 */
} }
/* /*
@@ -591,7 +591,7 @@ weechat_python_load (const char *filename)
char *argv[] = { "__weechat_plugin__" , NULL }; char *argv[] = { "__weechat_plugin__" , NULL };
#if PY_MAJOR_VERSION >= 3 #if PY_MAJOR_VERSION >= 3
wchar_t *wargv[] = { NULL, NULL }; wchar_t *wargv[] = { NULL, NULL };
#endif #endif /* PY_MAJOR_VERSION >= 3 */
FILE *fp; FILE *fp;
PyObject *weechat_outputs, *python_path, *path; PyObject *weechat_outputs, *python_path, *path;
const char *weechat_home; const char *weechat_home;
@@ -636,7 +636,7 @@ weechat_python_load (const char *filename)
#else #else
/* python <= 2.x */ /* python <= 2.x */
PySys_SetArgv(1, argv); PySys_SetArgv(1, argv);
#endif #endif /* PY_MAJOR_VERSION >= 3 */
if (!python_current_interpreter) if (!python_current_interpreter)
{ {
@@ -667,7 +667,7 @@ weechat_python_load (const char *filename)
#else #else
/* python <= 2.x */ /* python <= 2.x */
path = PyBytes_FromString (str_home); path = PyBytes_FromString (str_home);
#endif #endif /* PY_MAJOR_VERSION >= 3 */
if (path != NULL) if (path != NULL)
{ {
PyList_Insert (python_path, 0, path); PyList_Insert (python_path, 0, path);
@@ -684,7 +684,7 @@ weechat_python_load (const char *filename)
/* python <= 2.x */ /* python <= 2.x */
weechat_outputs = Py_InitModule("weechatOutputs", weechat_outputs = Py_InitModule("weechatOutputs",
weechat_python_output_funcs); weechat_python_output_funcs);
#endif #endif /* PY_MAJOR_VERSION >= 3 */
if (!weechat_outputs) if (!weechat_outputs)
{ {
@@ -1149,7 +1149,7 @@ weechat_python_signal_debug_libs_cb (void *data, const char *signal,
weechat_printf (NULL, " %s: %s", PYTHON_PLUGIN_NAME, PY_VERSION); weechat_printf (NULL, " %s: %s", PYTHON_PLUGIN_NAME, PY_VERSION);
#else #else
weechat_printf (NULL, " %s: (?)", PYTHON_PLUGIN_NAME); weechat_printf (NULL, " %s: (?)", PYTHON_PLUGIN_NAME);
#endif #endif /* PY_VERSION */
return WEECHAT_RC_OK; return WEECHAT_RC_OK;
} }
+2 -2
View File
@@ -32,7 +32,7 @@
#define PyBytes_Check PyString_Check #define PyBytes_Check PyString_Check
#define PyBytes_FromString PyString_FromString #define PyBytes_FromString PyString_FromString
#define PyUnicode_FromString PyString_FromString #define PyUnicode_FromString PyString_FromString
#endif #endif /* PY_VERSION_HEX < 0x02060000 */
#if PY_MAJOR_VERSION >= 3 #if PY_MAJOR_VERSION >= 3
/* check of integer with Python >= 3.x */ /* check of integer with Python >= 3.x */
@@ -40,7 +40,7 @@
#else #else
/* check of integer with Python <= 2.x */ /* check of integer with Python <= 2.x */
#define PY_INTEGER_CHECK(x) (PyInt_Check(x) || PyLong_Check(x)) #define PY_INTEGER_CHECK(x) (PyInt_Check(x) || PyLong_Check(x))
#endif #endif /* PY_MAJOR_VERSION >= 3 */
extern struct t_weechat_plugin *weechat_python_plugin; extern struct t_weechat_plugin *weechat_python_plugin;
+18 -18
View File
@@ -260,7 +260,7 @@ relay_client_handshake_timer_cb (void *data, int remaining_calls)
/* handshake in progress, we will try again on next call to timer */ /* handshake in progress, we will try again on next call to timer */
return WEECHAT_RC_OK; return WEECHAT_RC_OK;
} }
#endif #endif /* HAVE_GNUTLS */
/* /*
* Reads text data from a client: splits data on '\n' and keep a partial message * Reads text data from a client: splits data on '\n' and keep a partial message
@@ -451,7 +451,7 @@ relay_client_recv_cb (void *arg_client, int fd)
num_read = gnutls_record_recv (client->gnutls_sess, buffer, num_read = gnutls_record_recv (client->gnutls_sess, buffer,
sizeof (buffer) - 1); sizeof (buffer) - 1);
else else
#endif #endif /* HAVE_GNUTLS */
num_read = recv (client->sock, buffer, sizeof (buffer) - 1, 0); num_read = recv (client->sock, buffer, sizeof (buffer) - 1, 0);
if (num_read > 0) if (num_read > 0)
@@ -555,7 +555,7 @@ relay_client_recv_cb (void *arg_client, int fd)
} }
} }
else else
#endif #endif /* HAVE_GNUTLS */
{ {
if ((num_read == 0) if ((num_read == 0)
|| ((errno != EAGAIN) && (errno != EWOULDBLOCK))) || ((errno != EAGAIN) && (errno != EWOULDBLOCK)))
@@ -785,7 +785,7 @@ relay_client_send (struct t_relay_client *client, const char *data,
if (client->ssl) if (client->ssl)
num_sent = gnutls_record_send (client->gnutls_sess, ptr_data, data_size); num_sent = gnutls_record_send (client->gnutls_sess, ptr_data, data_size);
else else
#endif #endif /* HAVE_GNUTLS */
num_sent = send (client->sock, ptr_data, data_size, 0); num_sent = send (client->sock, ptr_data, data_size, 0);
if (num_sent >= 0) if (num_sent >= 0)
@@ -839,7 +839,7 @@ relay_client_send (struct t_relay_client *client, const char *data,
} }
} }
else else
#endif #endif /* HAVE_GNUTLS */
{ {
if ((errno == EAGAIN) || (errno == EWOULDBLOCK)) if ((errno == EAGAIN) || (errno == EWOULDBLOCK))
{ {
@@ -917,7 +917,7 @@ relay_client_timer_cb (void *data, int remaining_calls)
ptr_client->outqueue->data_size); ptr_client->outqueue->data_size);
} }
else else
#endif #endif /* HAVE_GNUTLS */
{ {
num_sent = send (ptr_client->sock, num_sent = send (ptr_client->sock,
ptr_client->outqueue->data, ptr_client->outqueue->data,
@@ -1006,7 +1006,7 @@ relay_client_timer_cb (void *data, int remaining_calls)
} }
} }
else else
#endif #endif /* HAVE_GNUTLS */
{ {
if ((errno == EAGAIN) || (errno == EWOULDBLOCK)) if ((errno == EAGAIN) || (errno == EWOULDBLOCK))
{ {
@@ -1052,7 +1052,7 @@ relay_client_new (int sock, const char *address, struct t_relay_server *server)
#ifdef HAVE_GNUTLS #ifdef HAVE_GNUTLS
int bits; int bits;
struct t_config_option *ptr_option; struct t_config_option *ptr_option;
#endif #endif /* HAVE_GNUTLS */
new_client = malloc (sizeof (*new_client)); new_client = malloc (sizeof (*new_client));
if (new_client) if (new_client)
@@ -1064,7 +1064,7 @@ relay_client_new (int sock, const char *address, struct t_relay_server *server)
#ifdef HAVE_GNUTLS #ifdef HAVE_GNUTLS
new_client->hook_timer_handshake = NULL; new_client->hook_timer_handshake = NULL;
new_client->gnutls_handshake_ok = 0; new_client->gnutls_handshake_ok = 0;
#endif #endif /* HAVE_GNUTLS */
new_client->websocket = 0; new_client->websocket = 0;
new_client->http_headers = NULL; new_client->http_headers = NULL;
new_client->address = strdup ((address) ? address : "?"); new_client->address = strdup ((address) ? address : "?");
@@ -1127,7 +1127,7 @@ relay_client_new (int sock, const char *address, struct t_relay_server *server)
#else #else
/* default for old gnutls */ /* default for old gnutls */
bits = 1024; bits = 1024;
#endif #endif /* LIBGNUTLS_VERSION_NUMBER >= 0x020c00 */
gnutls_dh_params_generate2 (*relay_gnutls_dh_params, bits); gnutls_dh_params_generate2 (*relay_gnutls_dh_params, bits);
gnutls_certificate_set_dh_params (relay_gnutls_x509_cred, gnutls_certificate_set_dh_params (relay_gnutls_x509_cred,
*relay_gnutls_dh_params); *relay_gnutls_dh_params);
@@ -1148,7 +1148,7 @@ relay_client_new (int sock, const char *address, struct t_relay_server *server)
&relay_client_handshake_timer_cb, &relay_client_handshake_timer_cb,
new_client); new_client);
} }
#endif #endif /* HAVE_GNUTLS */
new_client->protocol_data = NULL; new_client->protocol_data = NULL;
switch (new_client->protocol) switch (new_client->protocol)
@@ -1232,7 +1232,7 @@ relay_client_new_with_infolist (struct t_infolist *infolist)
new_client->gnutls_sess = NULL; new_client->gnutls_sess = NULL;
new_client->hook_timer_handshake = NULL; new_client->hook_timer_handshake = NULL;
new_client->gnutls_handshake_ok = 0; new_client->gnutls_handshake_ok = 0;
#endif #endif /* HAVE_GNUTLS */
new_client->websocket = weechat_infolist_integer (infolist, "websocket"); new_client->websocket = weechat_infolist_integer (infolist, "websocket");
new_client->http_headers = NULL; new_client->http_headers = NULL;
new_client->address = strdup (weechat_infolist_string (infolist, "address")); new_client->address = strdup (weechat_infolist_string (infolist, "address"));
@@ -1330,7 +1330,7 @@ relay_client_set_status (struct t_relay_client *client,
client->hook_timer_handshake = NULL; client->hook_timer_handshake = NULL;
} }
client->gnutls_handshake_ok = 0; client->gnutls_handshake_ok = 0;
#endif #endif /* HAVE_GNUTLS */
if (client->hook_fd) if (client->hook_fd)
{ {
weechat_unhook (client->hook_fd); weechat_unhook (client->hook_fd);
@@ -1376,13 +1376,13 @@ relay_client_set_status (struct t_relay_client *client,
#ifdef HAVE_GNUTLS #ifdef HAVE_GNUTLS
if (client->ssl && client->gnutls_handshake_ok) if (client->ssl && client->gnutls_handshake_ok)
gnutls_bye (client->gnutls_sess, GNUTLS_SHUT_WR); gnutls_bye (client->gnutls_sess, GNUTLS_SHUT_WR);
#endif #endif /* HAVE_GNUTLS */
close (client->sock); close (client->sock);
client->sock = -1; client->sock = -1;
#ifdef HAVE_GNUTLS #ifdef HAVE_GNUTLS
if (client->ssl) if (client->ssl)
gnutls_deinit (client->gnutls_sess); gnutls_deinit (client->gnutls_sess);
#endif #endif /* HAVE_GNUTLS */
} }
} }
@@ -1428,7 +1428,7 @@ relay_client_free (struct t_relay_client *client)
#ifdef HAVE_GNUTLS #ifdef HAVE_GNUTLS
if (client->hook_timer_handshake) if (client->hook_timer_handshake)
weechat_unhook (client->hook_timer_handshake); weechat_unhook (client->hook_timer_handshake);
#endif #endif /* HAVE_GNUTLS */
if (client->http_headers) if (client->http_headers)
weechat_hashtable_free (client->http_headers); weechat_hashtable_free (client->http_headers);
if (client->hook_fd) if (client->hook_fd)
@@ -1540,7 +1540,7 @@ relay_client_add_to_infolist (struct t_infolist *infolist,
return 0; return 0;
if (!weechat_infolist_new_var_integer (ptr_item, "gnutls_handshake_ok", client->gnutls_handshake_ok)) if (!weechat_infolist_new_var_integer (ptr_item, "gnutls_handshake_ok", client->gnutls_handshake_ok))
return 0; return 0;
#endif #endif /* HAVE_GNUTLS */
if (!weechat_infolist_new_var_integer (ptr_item, "websocket", client->websocket)) if (!weechat_infolist_new_var_integer (ptr_item, "websocket", client->websocket))
return 0; return 0;
if (!weechat_infolist_new_var_string (ptr_item, "address", client->address)) if (!weechat_infolist_new_var_string (ptr_item, "address", client->address))
@@ -1617,7 +1617,7 @@ relay_client_print_log ()
weechat_log_printf (" gnutls_sess . . . . . : 0x%lx", ptr_client->gnutls_sess); weechat_log_printf (" gnutls_sess . . . . . : 0x%lx", ptr_client->gnutls_sess);
weechat_log_printf (" hook_timer_handshake. : 0x%lx", ptr_client->hook_timer_handshake); weechat_log_printf (" hook_timer_handshake. : 0x%lx", ptr_client->hook_timer_handshake);
weechat_log_printf (" gnutls_handshake_ok . : 0x%lx", ptr_client->gnutls_handshake_ok); weechat_log_printf (" gnutls_handshake_ok . : 0x%lx", ptr_client->gnutls_handshake_ok);
#endif #endif /* HAVE_GNUTLS */
weechat_log_printf (" websocket . . . . . . : %d", ptr_client->websocket); weechat_log_printf (" websocket . . . . . . : %d", ptr_client->websocket);
weechat_log_printf (" http_headers. . . . . : 0x%lx (hashtable: '%s')", weechat_log_printf (" http_headers. . . . . : 0x%lx (hashtable: '%s')",
ptr_client->http_headers, ptr_client->http_headers,
+2 -2
View File
@@ -22,7 +22,7 @@
#ifdef HAVE_GNUTLS #ifdef HAVE_GNUTLS
#include <gnutls/gnutls.h> #include <gnutls/gnutls.h>
#endif #endif /* HAVE_GNUTLS */
struct t_relay_server; struct t_relay_server;
@@ -80,7 +80,7 @@ struct t_relay_client
gnutls_session_t gnutls_sess; /* gnutls session (only if SSL used) */ gnutls_session_t gnutls_sess; /* gnutls session (only if SSL used) */
struct t_hook *hook_timer_handshake; /* timer for doing gnutls handshake*/ struct t_hook *hook_timer_handshake; /* timer for doing gnutls handshake*/
int gnutls_handshake_ok; /* 1 if handshake was done and OK */ int gnutls_handshake_ok; /* 1 if handshake was done and OK */
#endif #endif /* HAVE_GNUTLS */
int websocket; /* 0=not a ws, 1=init ws, 2=ws ready */ int websocket; /* 0=not a ws, 1=init ws, 2=ws ready */
struct t_hashtable *http_headers; /* HTTP headers for websocket */ struct t_hashtable *http_headers; /* HTTP headers for websocket */
char *address; /* string with IP address */ char *address; /* string with IP address */
+3 -3
View File
@@ -237,7 +237,7 @@ relay_config_check_network_ssl_priorities (void *data,
(void) value; (void) value;
return 1; return 1;
#endif #endif /* HAVE_GNUTLS */
} }
/* /*
@@ -258,7 +258,7 @@ relay_config_change_network_ssl_priorities (void *data,
gnutls_priority_deinit (*relay_gnutls_priority_cache); gnutls_priority_deinit (*relay_gnutls_priority_cache);
relay_network_set_priority (); relay_network_set_priority ();
} }
#endif #endif /* HAVE_GNUTLS */
} }
/* /*
@@ -490,7 +490,7 @@ relay_config_create_option_port (void *data,
weechat_prefix ("error"), RELAY_PLUGIN_NAME); weechat_prefix ("error"), RELAY_PLUGIN_NAME);
rc = WEECHAT_CONFIG_OPTION_SET_ERROR; rc = WEECHAT_CONFIG_OPTION_SET_ERROR;
} }
#endif #endif /* HAVE_GNUTLS */
if (rc != WEECHAT_CONFIG_OPTION_SET_ERROR) if (rc != WEECHAT_CONFIG_OPTION_SET_ERROR)
{ {
+6 -6
View File
@@ -23,7 +23,7 @@
#ifdef HAVE_GNUTLS #ifdef HAVE_GNUTLS
#include <gnutls/gnutls.h> #include <gnutls/gnutls.h>
#endif #endif /* HAVE_GNUTLS */
#include "../weechat-plugin.h" #include "../weechat-plugin.h"
#include "relay.h" #include "relay.h"
@@ -38,7 +38,7 @@ int relay_network_init_ssl_cert_key_ok = 0;
gnutls_certificate_credentials_t relay_gnutls_x509_cred; gnutls_certificate_credentials_t relay_gnutls_x509_cred;
gnutls_priority_t *relay_gnutls_priority_cache = NULL; gnutls_priority_t *relay_gnutls_priority_cache = NULL;
gnutls_dh_params_t *relay_gnutls_dh_params = NULL; gnutls_dh_params_t *relay_gnutls_dh_params = NULL;
#endif #endif /* HAVE_GNUTLS */
/* /*
@@ -100,7 +100,7 @@ relay_network_set_ssl_cert_key (int verbose)
#else #else
/* make C compiler happy */ /* make C compiler happy */
(void) verbose; (void) verbose;
#endif #endif /* HAVE_GNUTLS */
} }
/* /*
@@ -122,7 +122,7 @@ relay_network_set_priority ()
free (relay_gnutls_priority_cache); free (relay_gnutls_priority_cache);
relay_gnutls_priority_cache = NULL; relay_gnutls_priority_cache = NULL;
} }
#endif #endif /* HAVE_GNUTLS */
} }
/* /*
@@ -142,7 +142,7 @@ relay_network_init ()
relay_gnutls_priority_cache = malloc (sizeof (*relay_gnutls_priority_cache)); relay_gnutls_priority_cache = malloc (sizeof (*relay_gnutls_priority_cache));
if (relay_gnutls_priority_cache) if (relay_gnutls_priority_cache)
relay_network_set_priority (); relay_network_set_priority ();
#endif #endif /* HAVE_GNUTLS */
relay_network_init_ok = 1; relay_network_init_ok = 1;
} }
@@ -169,7 +169,7 @@ relay_network_end ()
relay_gnutls_dh_params = NULL; relay_gnutls_dh_params = NULL;
} }
gnutls_certificate_free_credentials (relay_gnutls_x509_cred); gnutls_certificate_free_credentials (relay_gnutls_x509_cred);
#endif #endif /* HAVE_GNUTLS */
relay_network_init_ok = 0; relay_network_init_ok = 0;
} }
} }

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